Skip to contentSkip to conversation

man-db: replace the outdated man implementation

PATCH New Ross Burton 1 participant 1 message Feb 22, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 man-db: replace the outdated man implementation

From: Alexander Kanavin <[email protected]>

Until now oe-core has been using a well obsolete implementation of man.

Man-db on the other hand is used by all modern Linux distros, is actively maintained, has a standard build system, and does not require 30 patches to build.

---
 meta/recipes-extended/man-db/man-db_2.8.1.bb       |  42 ++++++
 meta/recipes-extended/man/man/configure_sed.patch  |  32 -----
 .../man/man/man-1.5g-nonrootbuild.patch            |  16 ---
 .../man/man/man-1.5h1-gencat.patch                 |  14 --
 meta/recipes-extended/man/man/man-1.5h1-make.patch |  17 ---
 .../man/man/man-1.5i2-initial.patch                |  19 ---
 .../man/man/man-1.5i2-newline.patch                |  15 --
 .../man/man/man-1.5i2-overflow.patch               |  16 ---
 meta/recipes-extended/man/man/man-1.5j-i18n.patch  |  16 ---
 .../man/man/man-1.5j-nocache.patch                 |  16 ---
 meta/recipes-extended/man/man/man-1.5j-utf8.patch  |  61 --------
 .../man/man/man-1.5k-confpath.patch                |  15 --
 .../man/man/man-1.5k-nonascii.patch                |  18 ---
 meta/recipes-extended/man/man/man-1.5k-sofix.patch |  24 ----
 .../man/man/man-1.5m2-bug11621.patch               |  15 --
 .../man/man/man-1.5m2-buildroot.patch              |  52 -------
 .../man/man/man-1.5m2-no-color-for-printing.patch  |  15 --
 .../man/man/man-1.5m2-sigpipe.patch                |  30 ----
 .../man/man/man-1.6e-i18n_whatis.patch             | 145 -------------------
 .../man/man/man-1.6e-mandirs.patch                 |  31 ----
 .../man/man/man-1.6e-new_sections.patch            |  15 --
 .../recipes-extended/man/man/man-1.6e-ro_usr.patch |  33 -----
 .../man/man/man-1.6e-security.patch                |  62 --------
 .../man/man-1.6e-use_i18n_vars_in_a_std_way.patch  | 160 ---------------------
 .../man/man/man-1.6e-whatis2.patch                 |  59 --------
 .../man/man/man-1.6g-compile-warnings.patch        | 105 --------------
 .../man/man/man-1.6g-configure.patch               |  68 ---------
 .../man/man/man-1.6g-parallel.patch                |  30 ----
 .../man/man/man-1.6g-whatis3.patch                 |  20 ---
 meta/recipes-extended/man/man/man.1.gz             | Bin 12323 -> 0 bytes
 meta/recipes-extended/man/man/man.7.gz             | Bin 6192 -> 0 bytes
 meta/recipes-extended/man/man/man.conf             | 141 ------------------
 meta/recipes-extended/man/man/manpath.5.gz         | Bin 2133 -> 0 bytes
 meta/recipes-extended/man/man_1.6g.bb              |  86 -----------
 34 files changed, 42 insertions(+), 1346 deletions(-)
 create mode 100644 meta/recipes-extended/man-db/man-db_2.8.1.bb
 delete mode 100644 meta/recipes-extended/man/man/configure_sed.patch
 delete mode 100644 meta/recipes-extended/man/man/man-1.5g-nonrootbuild.patch
 delete mode 100644 meta/recipes-extended/man/man/man-1.5h1-gencat.patch
 delete mode 100644 meta/recipes-extended/man/man/man-1.5h1-make.patch
 delete mode 100644 meta/recipes-extended/man/man/man-1.5i2-initial.patch
 delete mode 100644 meta/recipes-extended/man/man/man-1.5i2-newline.patch
 delete mode 100644 meta/recipes-extended/man/man/man-1.5i2-overflow.patch
 delete mode 100644 meta/recipes-extended/man/man/man-1.5j-i18n.patch
 delete mode 100644 meta/recipes-extended/man/man/man-1.5j-nocache.patch
 delete mode 100644 meta/recipes-extended/man/man/man-1.5j-utf8.patch
 delete mode 100644 meta/recipes-extended/man/man/man-1.5k-confpath.patch
 delete mode 100644 meta/recipes-extended/man/man/man-1.5k-nonascii.patch
 delete mode 100644 meta/recipes-extended/man/man/man-1.5k-sofix.patch
 delete mode 100644 meta/recipes-extended/man/man/man-1.5m2-bug11621.patch
 delete mode 100644 meta/recipes-extended/man/man/man-1.5m2-buildroot.patch
 delete mode 100644 meta/recipes-extended/man/man/man-1.5m2-no-color-for-printing.patch
 delete mode 100644 meta/recipes-extended/man/man/man-1.5m2-sigpipe.patch
 delete mode 100644 meta/recipes-extended/man/man/man-1.6e-i18n_whatis.patch
 delete mode 100644 meta/recipes-extended/man/man/man-1.6e-mandirs.patch
 delete mode 100644 meta/recipes-extended/man/man/man-1.6e-new_sections.patch
 delete mode 100644 meta/recipes-extended/man/man/man-1.6e-ro_usr.patch
 delete mode 100644 meta/recipes-extended/man/man/man-1.6e-security.patch
 delete mode 100644 meta/recipes-extended/man/man/man-1.6e-use_i18n_vars_in_a_std_way.patch
 delete mode 100644 meta/recipes-extended/man/man/man-1.6e-whatis2.patch
 delete mode 100644 meta/recipes-extended/man/man/man-1.6g-compile-warnings.patch
 delete mode 100644 meta/recipes-extended/man/man/man-1.6g-configure.patch
 delete mode 100644 meta/recipes-extended/man/man/man-1.6g-parallel.patch
 delete mode 100644 meta/recipes-extended/man/man/man-1.6g-whatis3.patch
 delete mode 100644 meta/recipes-extended/man/man/man.1.gz
 delete mode 100644 meta/recipes-extended/man/man/man.7.gz
 delete mode 100644 meta/recipes-extended/man/man/man.conf
 delete mode 100644 meta/recipes-extended/man/man/manpath.5.gz
 delete mode 100644 meta/recipes-extended/man/man_1.6g.bb
meta/recipes-extended/man-db/man-db_2.8.1.bb new file +42 -0
new file mode 100644
index 00000000000..528903d6fab
@@ -0,0 +1,42 @@
+SUMMARY = "An implementation of the standard Unix documentation system accessed using the man command"
+HOMEPAGE = "http://man-db.nongnu.org/"
+LICENSE = "LGPLv2.1 & GPLv2"
+LIC_FILES_CHKSUM = "file://docs/COPYING.LIB;md5=a6f89e2100d9b6cdffcea4f398e37343 \
+                    file://docs/COPYING;md5=eb723b61539feef013de476e68b5c50a"
+
+SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/man-db/man-db-${PV}.tar.xz"
+SRC_URI[md5sum] = "51842978e06686286421f9498d1009b7"
+SRC_URI[sha256sum] = "a6aec641ca3d9942b054cc0e9c3f05cb46a3a992bc0006795755e2fed1357f3e"
+
+DEPENDS = "libpipeline gdbm groff-native"
+
+# | /usr/src/debug/man-db/2.8.0-r0/man-db-2.8.0/src/whatis.c:939: undefined reference to `_nl_msg_cat_cntr'
+USE_NLS_libc-musl = "no"
+
+inherit gettext pkgconfig autotools
+
+EXTRA_OECONF = "--with-pager=less --disable-cache-owner"
+
+do_install_append_libc-musl() {
+        rm -f ${D}${libdir}/charset.alias
+}
+
+FILES_${PN} += "${prefix}/lib/tmpfiles.d"
+
+FILES_${PN}-dev += "${libdir}/man-db/libman.so ${libdir}/${BPN}/libmandb.so"
+
+RRECOMMENDS_${PN} += "less"
+RPROVIDES_${PN} += " man"
+
+def compress_pkg(d):
+    if bb.utils.contains("INHERIT", "compress_doc", True, False, d):
+         compress = d.getVar("DOC_COMPRESS")
+         if compress == "gz":
+             return "gzip"
+         elif compress == "bz2":
+             return "bzip2"
+         elif compress == "xz":
+             return "xz"
+    return ""
+
+RDEPENDS_${PN} += "${@compress_pkg(d)}"
meta/recipes-extended/man/man/configure_sed.patch deleted +0 -32
deleted file mode 100644
index d49e6831d9a..00000000000
@@ -1,32 +0,0 @@
-man: replace ',' with '#'
-
-Sometimes, the parameters of CC/BUILD_CC contains the ',', which
-cause the sed command failed, so replace the ',' with '#'
-
-Upstream-Status: Pending
-
-Signed-off-by: Yue Tao <[email protected]>
-Signed-off-by: Wenzong Fan <[email protected]>
----
- configure | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/configure b/configure
-index 9f62cf9..9a565ae 100755
---- a/configure
-+++ b/configure
-@@ -1321,9 +1321,9 @@ do
-   echo "Creating $infile from $infile.in"
-   sed -e '
- s,@version@,$version,
--s,@CC@,$CC,
-+s#@CC@#$CC#
- s,@EXEEXT@,$EXEEXT,
--s,@BUILD_CC@,$BUILD_CC,
-+s#@BUILD_CC@#$BUILD_CC#
- s,@INSTALL@,$INSTALL,
- s,@DEFS@,$DEFS,
- s,@LIBS@,$LIBS,
--- 
-1.9.1
-
meta/recipes-extended/man/man/man-1.5g-nonrootbuild.patch deleted +0 -16
deleted file mode 100644
index 6f834bd01bd..00000000000
@@ -1,16 +0,0 @@
-Upstream-Status: Pending
-
-Signed-off-by: Scott Garman <[email protected]>
-
-diff -u -r man-1.5g.old/configure man-1.5g/configure
---- man-1.5g.old/configure	Wed Apr  7 04:16:05 1999
-+++ man-1.5g/configure	Mon May 15 15:22:44 2000
-@@ -791,7 +791,7 @@
-     read mode
-     if test "$mode" != ""; then man_mode=$mode; fi
-   fi
--  man_install_flags="-m $man_mode -o $man_user -g $man_group"
-+  man_install_flags=""
- fi
- 
- # What sections do we anticipate?
meta/recipes-extended/man/man/man-1.5h1-gencat.patch deleted +0 -14
deleted file mode 100644
index 044b14c5099..00000000000
@@ -1,14 +0,0 @@
-Upstream-Status: Pending
-
-Signed-off-by: Scott Garman <[email protected]>
-
---- gencat/genlib.c	2006-08-02 20:11:44.000000000 +0200
-+++ gencat/genlib.c.oden	2008-12-21 19:18:50.000000000 +0100
-@@ -47,6 +47,7 @@ up-to-date.  Many thanks.
- 01/14/91   4 nazgul	Off by one on number specified entries
- */
- 
-+#undef _GNU_SOURCE
- #include <stdio.h>
- #include <stdlib.h>
- #ifdef SYSV
meta/recipes-extended/man/man/man-1.5h1-make.patch deleted +0 -17
deleted file mode 100644
index 8631eb2c539..00000000000
@@ -1,17 +0,0 @@
-Upstream-Status: Pending
-
-Signed-off-by: Scott Garman <[email protected]>
-
---- man-1.5g/man/Makefile.in.mike	Fri Apr  9 13:35:54 1999
-+++ man-1.5g/man/Makefile.in	Fri Apr  9 13:36:45 1999
-@@ -1,8 +1,8 @@
- # only executed from a subdir
- MAN1 = man whatis apropos
--MAN5 = man.conf
-+MAN5 = man.config
- MAN8 = makewhatis
--ALL = man.1 whatis.1 apropos.1 man.conf.5
-+ALL = man.1 whatis.1 apropos.1 man.config.5
- MAYBE8 = makewhatis
- 
- .SUFFIXES: .man .1 .5 .8
meta/recipes-extended/man/man/man-1.5i2-initial.patch deleted +0 -19
deleted file mode 100644
index fe56c0706ca..00000000000
@@ -1,19 +0,0 @@
-Upstream-Status: Pending
-
-Signed-off-by: Scott Garman <[email protected]>
-
---- man-1.5i2/src/makewhatis.sh.initial	Tue Jul  3 15:38:39 2001
-+++ man-1.5i2/src/makewhatis.sh	Tue Jul  3 15:39:39 2001
-@@ -81,8 +81,10 @@
- 	continue;;
-     -s) setsections=1
- 	continue;;
--    -u) findarg="-newer /var/cache/man/whatis"
--	update=1
-+    -u) if [ -e /var/cache/man/whatis ]; then
-+	  findarg="-newer /var/cache/man/whatis"
-+	  update=1
-+	fi
- 	continue;;
-     -v) verbose=1
- 	continue;;
meta/recipes-extended/man/man/man-1.5i2-newline.patch deleted +0 -15
deleted file mode 100644
index 611df5d2594..00000000000
@@ -1,15 +0,0 @@
-Upstream-Status: Pending
-
-Signed-off-by: Scott Garman <[email protected]>
-
---- src/man.c	2008-12-21 19:17:31.000000000 +0100
-+++ src/man.c.oden	2008-12-21 19:17:38.000000000 +0100
-@@ -391,7 +391,7 @@ again:
- 	  beg++;
- 
-      end = beg;
--     while (*end != ' ' && *end != '\t' && *end != '\n' && *end != '\0')
-+     while (*end != ' ' && *end != '\t' && *end != '\n' && *end != '\0' && (end-buf)<BUFSIZE)
- 	  end++;		/* note that buf is NUL-terminated */
-      *end = '\0';
- 
meta/recipes-extended/man/man/man-1.5i2-overflow.patch deleted +0 -16
deleted file mode 100644
index 52d2881a893..00000000000
@@ -1,16 +0,0 @@
-Upstream-Status: Pending
-
-Signed-off-by: Scott Garman <[email protected]>
-
---- man-1.5i2/src/man.c.overflow	Mon Jun 25 00:01:45 2001
-+++ man-1.5i2/src/man.c	Mon Jun 25 00:01:45 2001
-@@ -381,6 +381,9 @@
- 	  strcat(name, "/");
- 	  strcat(name, beg);
-      }
-+     /* If this is too long, bad things have already happened. *
-+      * we should quit IMMEDIATELY.                            */
-+     if(strlen(name)>sizeof(ultname)) _exit(1);
- 
-      goto again;
- }
meta/recipes-extended/man/man/man-1.5j-i18n.patch deleted +0 -16
deleted file mode 100644
index 2ae09c0ea49..00000000000
@@ -1,16 +0,0 @@
-Upstream-Status: Pending
-
-Signed-off-by: Scott Garman <[email protected]>
-
---- man-1.5j/msgs/inst.sh.i18n	Wed Apr 25 10:40:50 2001
-+++ man-1.5j/msgs/inst.sh	Wed Apr 25 10:41:17 2001
-@@ -27,8 +27,7 @@
- for j in $M; do
-   if [ -f $j ]; then
-     i=`echo $j | sed -e 's/mess.//; s/.cat//'`
--    dest=`echo $locdir | sed -e "s/%N/man/; s/%L/$i/"`
--    dest=${PREFIX}$dest
-+    dest=${PREFIX}/`echo $locdir | sed -e "s/%N/man/; s/%L/$i/"`
-     echo "mkdir -p `dirname $dest`"
-     mkdir -p `dirname $dest`;
-     echo "install -c -m 644 $j $dest"
meta/recipes-extended/man/man/man-1.5j-nocache.patch deleted +0 -16
deleted file mode 100644
index 751dddd53b5..00000000000
@@ -1,16 +0,0 @@
-Upstream-Status: Pending
-
-Signed-off-by: Scott Garman <[email protected]>
-
---- man-1.5j/src/man.conf.in.nocache	Thu Nov 22 15:07:12 2001
-+++ man-1.5j/src/man.conf.in	Thu Nov 22 15:07:12 2001
-@@ -81,6 +81,9 @@
- # 
- #NOCACHE
- #
-+# NOCACHE keeps man from creating cache pages
-+NOCACHE
-+#
- # Useful paths - note that COL should not be defined when
- # NROFF is defined as "groff -Tascii" or "groff -Tlatin1";
- # not only is it superfluous, but it actually damages the output.
meta/recipes-extended/man/man/man-1.5j-utf8.patch deleted +0 -61

61 lines not on this page · raw message

meta/recipes-extended/man/man/man-1.5k-confpath.patch deleted +0 -15
deleted file mode 100644
index b5746c2df80..00000000000
@@ -1,15 +0,0 @@
-Upstream-Status: Pending
-
-Signed-off-by: Scott Garman <[email protected]>
-
---- configure	2006-05-01 19:56:14.000000000 +0200
-+++ configure.oden	2008-12-21 19:16:50.000000000 +0100
-@@ -198,7 +198,7 @@
-     confdir="${confprefix}/share/misc"
-   fi
- fi
--conffilename="man.conf"
-+conffilename="man.config"
- 
- if test "$RANDOM" = "$RANDOM"; then
-   # Plain old Bourne shell.
meta/recipes-extended/man/man/man-1.5k-nonascii.patch deleted +0 -18
deleted file mode 100644
index d662d9b6a70..00000000000
@@ -1,18 +0,0 @@
-Upstream-Status: Pending
-
-Signed-off-by: Scott Garman <[email protected]>
-
---- ./src/apropos.sh.nonascii	2001-11-23 00:30:42.000000000 +0100
-+++ ./src/apropos.sh	2002-08-13 15:44:53.000000000 +0200
-@@ -18,9 +18,9 @@
- 
- # When man pages in your favorite locale look to grep like binary files
- # (and you use GNU grep) you may want to add the 'a' option to *grepopt1.
--aproposgrepopt1='i'
-+aproposgrepopt1='ia'
- aproposgrepopt2=''
--whatisgrepopt1='iw'
-+whatisgrepopt1='iwa'
- whatisgrepopt2='^'
- grepopt1=$%apropos_or_whatis%grepopt1
- grepopt2=$%apropos_or_whatis%grepopt2
meta/recipes-extended/man/man/man-1.5k-sofix.patch deleted +0 -24
deleted file mode 100644
index 50b925288ec..00000000000
@@ -1,24 +0,0 @@
-Upstream-Status: Pending
-
-Signed-off-by: Scott Garman <[email protected]>
-
---- man-1.5j/src/man.c.sofix	Thu Nov 22 14:51:44 2001
-+++ man-1.5j/src/man.c	Thu Nov 22 14:52:44 2001
-@@ -300,7 +300,7 @@
- 
-      if (strlen(name0) >= sizeof(ultname))
- 	     return name0;
--     strcpy(ultname, name0);
-+     strncpy(ultname, name0, BUFSIZE-32);
-      name = ultname;
- 
- again:
-@@ -332,7 +332,7 @@
- 	   * .so files - we could glob for all possible extensions,
- 	   * for now: only try .gz
- 	   */
--	  else if (fp == NULL && get_expander(".gz") &&
-+	  if (fp == NULL && get_expander(".gz") &&
- 		   strlen(name)+strlen(".gz") < BUFSIZE) {
- 	       strcat(name, ".gz");
- 	       fp = fopen (name, "r");
meta/recipes-extended/man/man/man-1.5m2-bug11621.patch deleted +0 -15
deleted file mode 100644
index 051299906b8..00000000000
@@ -1,15 +0,0 @@
-Upstream-Status: Pending
-
-Signed-off-by: Scott Garman <[email protected]>
-
---- ./configure.ad	2003-12-11 19:17:10.000000000 +0100
-+++ ./configure	2003-12-11 19:17:27.000000000 +0100
-@@ -26,7 +26,7 @@
- # (Indeed, -r may cause the terminal to get into funny states.
- # Very inconvenient. For viewing pages in strange locales, set LC_*.)
- #
--DEFAULTLESSOPT="-is"
-+DEFAULTLESSOPT="-isr"
- #
- # Note that not creating any cat directories (/var/cache/man or so)
- # and not making man suid or sgid is recommended.
meta/recipes-extended/man/man/man-1.5m2-buildroot.patch deleted +0 -52

52 lines not on this page · raw message

meta/recipes-extended/man/man/man-1.5m2-no-color-for-printing.patch deleted +0 -15
deleted file mode 100644
index c85ff1d8c72..00000000000
@@ -1,15 +0,0 @@
-Upstream-Status: Pending
-
-Signed-off-by: Scott Garman <[email protected]>
-
---- man-1.5m2/configure.color	2006-09-16 18:27:37.000000000 +0200
-+++ man-1.5m2/configure	2006-09-16 18:28:44.000000000 +0200
-@@ -539,6 +539,8 @@
-     troff="$troff -c"
-     nroff="$nroff -c"
-     jnroff="$jnroff -c"
-+else
-+    troff="$troff -c"
- fi
- 
- if [ x$default = x ]; then
meta/recipes-extended/man/man/man-1.5m2-sigpipe.patch deleted +0 -30
deleted file mode 100644
index 8af78eab7b1..00000000000
@@ -1,30 +0,0 @@
-Upstream-Status: Pending
-
-Signed-off-by: Scott Garman <[email protected]>
-
---- man-1.5m2/src/util.c_sigpipe	2006-12-09 13:43:21.000000000 +0100
-+++ man-1.5m2/src/util.c	2006-12-09 13:53:13.000000000 +0100
-@@ -116,11 +116,14 @@
- static int
- system1 (const char *command) {
- 	void (*prev_handler)(int) = signal (SIGINT,catch_int);
-+	signal (SIGPIPE,SIG_IGN);
- 	int ret = system(command);
- 
- 	/* child terminated with signal? */
- 	if (WIFSIGNALED(ret) &&
--	    (WTERMSIG(ret) == SIGINT || WTERMSIG(ret) == SIGQUIT))
-+	    (WTERMSIG(ret) == SIGINT ||
-+		 WTERMSIG(ret) == SIGPIPE ||
-+		 WTERMSIG(ret) == SIGQUIT))
- 		exit(1);
- 
- 	/* or we caught an interrupt? */
-@@ -128,6 +131,7 @@
- 		exit(1);
- 
- 	signal(SIGINT,prev_handler);
-+	signal(SIGPIPE,SIG_DFL);
- 	return ret;
- }
- 
meta/recipes-extended/man/man/man-1.6e-i18n_whatis.patch deleted +0 -145

145 lines not on this page · raw message

meta/recipes-extended/man/man/man-1.6e-mandirs.patch deleted +0 -31
deleted file mode 100644
index b240064c980..00000000000
@@ -1,31 +0,0 @@
-Upstream-Status: Pending
-
-Signed-off-by: Scott Garman <[email protected]>
-
---- man-1.6e.orig/src/man.conf.in	2005-08-20 20:26:06.000000000 -0300
-+++ man-1.6e/src/man.conf.in	2007-05-18 10:30:29.000000000 -0300
-@@ -36,11 +36,12 @@
- #
- # Every automatically generated MANPATH includes these fields
- #
--MANPATH	/usr/man
- MANPATH	/usr/share/man
-+MANPATH	/usr/X11R6/man
- MANPATH	/usr/local/man
- MANPATH	/usr/local/share/man
--MANPATH	/usr/X11R6/man
-+MANPATH	/usr/kerberos/man
-+MANPATH	/usr/man
- #
- # Uncomment if you want to include one of these by default
- #
-@@ -67,6 +68,9 @@
- MANPATH_MAP	/usr/X11R6/bin		/usr/X11R6/man
- MANPATH_MAP	/usr/bin/X11		/usr/X11R6/man
- MANPATH_MAP	/usr/bin/mh		/usr/share/man
-+MANPATH_MAP	/usr/kerberos/bin		/usr/kerberos/man
-+MANPATH_MAP	/usr/kerberos/sbin		/usr/kerberos/man
-+
- #
- # NOAUTOPATH keeps man from automatically adding directories that look like
- # manual page directories to the path.
meta/recipes-extended/man/man/man-1.6e-new_sections.patch deleted +0 -15
deleted file mode 100644
index fb9773c646e..00000000000
@@ -1,15 +0,0 @@
-Upstream-Status: Pending
-
-Signed-off-by: Scott Garman <[email protected]>
-
---- man-1.6e.orig/configure	2006-05-01 14:56:14.000000000 -0300
-+++ man-1.6e/configure	2007-05-18 14:35:43.000000000 -0300
-@@ -960,7 +960,7 @@
- 
- # What sections do we anticipate?
- 
--tmpsections="1 1p 8 2 3 3p 4 5 6 7 9 0p tcl n l p o"
-+tmpsections="1 1p 8 2 3 3p 3pm 4 5 6 7 9 0p tcl n l p o"
- 
- if [ x$default = x ]; then
-   echo ""
meta/recipes-extended/man/man/man-1.6e-ro_usr.patch deleted +0 -33
deleted file mode 100644
index 1d1cb0c724c..00000000000
@@ -1,33 +0,0 @@
-Upstream-Status: Pending
-
-Signed-off-by: Scott Garman <[email protected]>
-
-Index: man-1.6f/src/makewhatis.sh
-===================================================================
---- man-1.6f.orig/src/makewhatis.sh	2010-12-29 13:42:34.000000000 -0800
-+++ man-1.6f/src/makewhatis.sh	2010-12-29 13:42:35.667428347 -0800
-@@ -124,7 +124,7 @@
- 	continue;;
-     -s) setsections=1
- 	continue;;
--    -u) findarg="-ctime 0"
-+    -u) findarg="-newer /var/cache/man/whatis"
- 	update=1
- 	continue;;
-     -v) verbose=1
-@@ -165,14 +165,7 @@
- # first truncate all the whatis files that will be created new,
- # then only update - we might visit the same directory twice
- if [ x$update = x ]; then
--   for pages in man cat
--   do
--      eval path="\$$pages"path
--      for mandir in $path
--      do
--	 cp /dev/null $mandir/whatis
--      done
--   done
-+   cp /dev/null /var/cache/man/whatis
- fi
- 
- for pages in man cat
meta/recipes-extended/man/man/man-1.6e-security.patch deleted +0 -62

62 lines not on this page · raw message

meta/recipes-extended/man/man/man-1.6e-use_i18n_vars_in_a_std_way.patch deleted +0 -160

160 lines not on this page · raw message

meta/recipes-extended/man/man/man-1.6e-whatis2.patch deleted +0 -59

59 lines not on this page · raw message

meta/recipes-extended/man/man/man-1.6g-compile-warnings.patch deleted +0 -105

105 lines not on this page · raw message

meta/recipes-extended/man/man/man-1.6g-configure.patch deleted +0 -68

68 lines not on this page · raw message

meta/recipes-extended/man/man/man-1.6g-parallel.patch deleted +0 -30
deleted file mode 100644
index 72a88b898a1..00000000000
@@ -1,30 +0,0 @@
-The Makefile for man has a rule to create two generated targets with
-a program run from the shell. Because the rule was run twice, with
-parallel make, the generated files were being overwritten at the same
-time they were being compiled. This patch forces the rule to be run
-only once.
-
-Upstream-Status: Pending
-
-Signed-off-by: Bill Randle <william.c.randle at intel.com>
-
---- man-1.6g/src/Makefile.in.orig	2010-12-31 12:28:46.000000000 -0800
-+++ man-1.6g/src/Makefile.in	2016-03-28 09:09:16.845458798 -0700
-@@ -43,8 +43,10 @@
- makemsg:
- 	$(BUILD_CC) -o makemsg makemsg.c
- 
--msg.c gripedefs.h: ../msgs/mess.en makemsg
-+msg.c gripedefs.h: genfiles-stamp
-+genfiles-stamp: ../msgs/mess.en makemsg
- 	./makemsg ../msgs/mess.en gripedefs.h msg.c
-+	touch genfiles-stamp
- 
- # glob.c does not have prototypes
- glob.o: glob.c ndir.h
-@@ -117,4 +119,4 @@
- 
- spotless: clean
- 	rm -f Makefile config.status paths.h version.h man.conf
--	rm -f gripedefs.h msg.c mess.*.cat
-+	rm -f gripedefs.h msg.c mess.*.cat genfiles-stamp
meta/recipes-extended/man/man/man-1.6g-whatis3.patch deleted +0 -20
deleted file mode 100644
index 63344568575..00000000000
@@ -1,20 +0,0 @@
-Do not use absolute path for awk while getting the path of awk
-when running makewhatis.
-This can avoid errors if path of awk changes.
-
-Upstream-Status: Submitted [man-1.6g]
-
-Signed-off-by: Jian Liu <[email protected]>
-
-diff -Nur man-1.6g.orig/src/makewhatis.sh man-1.6g/src/makewhatis.sh
---- man-1.6g.orig/src/makewhatis.sh	2015-02-25 16:13:12.657611419 +0800
-+++ man-1.6g/src/makewhatis.sh	2015-02-25 16:14:49.334694815 +0800
-@@ -67,7 +67,7 @@
- # but that leads to problems and bugs.
-
- # AWK=/usr/bin/gawk
--AWK=@awk@
-+AWK=`which awk`
-
- # Find a place for our temporary files. If security is not a concern, use
- #	TMPFILE=/tmp/whatis$$; TMPFILEDIR=none
meta/recipes-extended/man/man/man.1.gz deleted binary +0 -0
deleted file mode 100644
index c368045153406ab730aad35bfc7ffd91238bd47d..0000000000000000000000000000000000000000
GIT binary patch
meta/recipes-extended/man/man/man.7.gz deleted binary +0 -0
deleted file mode 100644
index e85af82426507521badb6f5c425896385f469b5a..0000000000000000000000000000000000000000
GIT binary patch
meta/recipes-extended/man/man/man.conf deleted +0 -141

141 lines not on this page · raw message

meta/recipes-extended/man/man/manpath.5.gz deleted binary +0 -0
deleted file mode 100644
index c012ff89763bb057afaaaed3b616244748354fec..0000000000000000000000000000000000000000
GIT binary patch
meta/recipes-extended/man/man_1.6g.bb deleted +0 -86

86 lines not on this page · raw message

Signature · 1 line
2.11.0