Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=0b5d5317b25cbb4a7a2d650f9b4e2006b945bcf7

commit 0b5d5317b25cbb4a7a2d650f9b4e2006b945bcf7
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Thu Mar 10 10:28:10 2011 +0100

man-1.6g-1-i686

- bin, replaced by man-db

diff --git a/source/base/man/FrugalBuild b/source/base/man/FrugalBuild
deleted file mode 100644
index 844fb55..0000000
--- a/source/base/man/FrugalBuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Compiling Time: 0.10 SBU
-# Maintainer: Miklos Vajna <vmik...@frugalware.org>
-
-pkgname=man
-pkgver=1.6g
-pkgrel=1
-pkgdesc="A utility for reading man pages"
-url="http://primates.ximian.com/~flucifredi/man/";
-depends=('groff>=1.19.2-4' 'less>=418-3' 'gzip>=1.3.12-4' 'gawk>=3.1.6-3' 
'coreutils>=6.12-2' 'bash')
-backup=(etc/profile.d/man-colors.sh)
-groups=('base')
-archs=('i686' 'x86_64' 'ppc')
-up2date="lynx -dump $url |grep tar.gz$|sed 's/.*-\(.*\)\.t.*/\1/;q'"
-source=($url/$pkgname-$pkgver.tar.gz \
-       whatis $pkgname-1.6a-groff.diff \
-       man-1.6c-cut-duplicate-manpaths.patch \
-       man.sh man-colors.sh README.Frugalware)
-sha1sums=('ef9e1f36a1a536a31112d52c3f39340900b0d3cb' \
-          '4119a2bd3b403fc0dd323c2e8b6ae2ff844b2cc5' \
-          '1153b05a81fa91d91250aea069457ed8e139faac' \
-          '82a9347fc6b9eead15ebba5365040eccf62cc902' \
-          '33ed8d61d09f8711176fd18b7ae4e3a2d3354cf6' \
-          'b51fd2d450c7a0982e605e74010256a40a3fa05e' \
-          '3a1e22acd8931537d5c2694a536913c02e0d448e')
-
-build()
-{
-       unset MAKEFLAGS
-       Fpatchall
-       ./configure -confdir=/etc +lang all +fhs || Fdie
-
-       make || return 1
-
-       Fmkdir /usr/{bin,sbin}
-       (cd src; make PREFIX=$Fdestdir install)
-       (cd man2html; make PREFIX=$Fdestdir install)
-       (cd man; make PREFIX=$Fdestdir installsubdirs)
-       Finstall 744 /etc/cron.daily/whatis
-       Fexe /etc/profile.d/man.sh
-       Ffile /etc/profile.d/man-colors.sh
-       Fdoc README.Frugalware
-}
-
-# optimization ok
diff --git a/source/base/man/README.Frugalware 
b/source/base/man/README.Frugalware
deleted file mode 100644
index d4d059a..0000000
--- a/source/base/man/README.Frugalware
+++ /dev/null
@@ -1,8 +0,0 @@
-If you like coloured man-pages then you can enable that feature by issuing
-
-----
-# chmod +x /etc/profile.d/man-colors.sh
-----
-
-It is handled as a configuration file, so feel free to edit the colors in that
-file if you want.
diff --git a/source/base/man/man-1.6a-groff.diff 
b/source/base/man/man-1.6a-groff.diff
deleted file mode 100644
index 89ca413..0000000
--- a/source/base/man/man-1.6a-groff.diff
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -Naur man-1.5n.orig/src/man.conf.in man-1.5n/src/man.conf.in
---- man-1.5n.orig/src/man.conf.in      2003-03-11 16:53:29.000000000 +0100
-+++ man-1.5n/src/man.conf.in   2004-08-08 19:36:22.000000000 +0200
-@@ -88,12 +88,9 @@
- # For use with utf-8, NROFF should be "nroff -mandoc" without -T option.
- # (Maybe - but today I need -Tlatin1 to prevent double conversion to utf8.)
- #
--# If you have a new troff (version 1.18.1?) and its colored output
--# causes problems, add the -c option to TROFF, NROFF, JNROFF.
--#
--TROFF         @troff@
--NROFF         @nroff@
--JNROFF                @jnroff@
-+TROFF         @troff@ -c
-+NROFF         @nroff@ -c
-+JNROFF                @jnroff@ -c
- EQN           @eqn@
- NEQN          @neqn@
- JNEQN         @jneqn@
diff --git a/source/base/man/man-1.6c-cut-duplicate-manpaths.patch 
b/source/base/man/man-1.6c-cut-duplicate-manpaths.patch
deleted file mode 100644
index e2d6e19..0000000
--- a/source/base/man/man-1.6c-cut-duplicate-manpaths.patch
+++ /dev/null
@@ -1,83 +0,0 @@
-No need to submit this patch - from Gentoo.
-
-If we have entries in MANPATH that are really symlinks to other entries,
-then many man functions will yield duplicate entries.
-
-Without this patch, we see this behavior:
-$ echo $MANPATH
-/usr/share/man:/usr/man
-$ man --path
-/usr/share/man:/usr/man
-$ ls -ld /usr/share/man /usr/man
-lrwxrwxrwx  1 /usr/man -> /usr/share/man
-drwxr-xr-x 36 /usr/share/man
-$ man -k passwd
-passwd               (1)  - change user password
-passwd               (1)  - change user password
-
-With this patch, we get:
-$ echo $MANPATH
-/usr/share/man:/usr/man
-$ man --path
-/usr/share/man
-$ ls -ld /usr/share/man /usr/man
-lrwxrwxrwx  1 /usr/man -> /usr/share/man
-drwxr-xr-x 36 /usr/share/man
-$ man -k passwd
-passwd               (1)  - change user password
-
---- man-1.6c/src/manpath.c
-+++ man-1.6c/src/manpath.c
-@@ -380,6 +380,44 @@
-      }
- }
-
-+void trim_symlinked_manpaths (void);
-+void
-+trim_symlinked_manpaths () {
-+      /*
-+       * Skip symlinks to other entries in path.
-+       * Do this after we've built the entire list.
-+       */
-+      struct stat *stat_cache;
-+      size_t i, j, size;
-+
-+      if (!mandirlist)
-+              return;
-+
-+      for (size = 0; mandirlist[size]; ++size)
-+              /* count # of elements */;
-+      if (size == 0)
-+              return;
-+      /* cache stat information for every element */
-+      stat_cache = (struct stat *) my_malloc (size * sizeof(*stat_cache));
-+      for (i = 0; i < size; ++i)
-+              stat(mandirlist[i], &stat_cache[i]);
-+
-+#define EQU_STAT(s,d) ((s).st_dev == (d).st_dev && (s).st_ino == (d).st_ino)
-+      for (i = 0; i < size; ++i) {
-+              for (j = i+1; j < size; ++j) {
-+                      if (EQU_STAT(stat_cache[i], stat_cache[j])) {
-+                              /* these two entries are the same, so cut out 
the second one */
-+                              memmove(mandirlist+j, mandirlist+j+1, 
(size-j)*sizeof(*mandirlist));
-+                              memmove(stat_cache+j, stat_cache+j+1, 
(size-j)*sizeof(*stat_cache));
-+                              mandirlist[--size] = NULL;
-+                              --j;
-+                      }
-+              }
-+      }
-+
-+      free(stat_cache);
-+}
-+
- void
- init_manpath () {
-      static int done = 0;
-@@ -391,6 +431,7 @@
-               (manp = getenv ("MANPATH")) == NULL)
-              manp = "";               /* default path */
-         split (manp, to_mandirlist, 0);
-+        trim_symlinked_manpaths ();
-         done = 1;
-      }
- }
diff --git a/source/base/man/man-colors.sh b/source/base/man/man-colors.sh
deleted file mode 100644
index 6b2635c..0000000
--- a/source/base/man/man-colors.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-# colored manpages in less
-
-export LESS_TERMCAP_mb=$'\E[01;32m'
-export LESS_TERMCAP_md=$'\E[01;32m'
-export LESS_TERMCAP_me=$'\E[0m'
-export LESS_TERMCAP_ue=$'\E[0m'
-export LESS_TERMCAP_us=$'\E[01;34m'
diff --git a/source/base/man/man.sh b/source/base/man/man.sh
deleted file mode 100644
index d010920..0000000
--- a/source/base/man/man.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-if [ -z "$MANPATH" ]; then
-       export 
MANPATH=/usr/share/man:/usr/man:/usr/local/man:/usr/local/share/man
-else
-       export 
MANPATH=$MANPATH:/usr/share/man:/usr/man:/usr/local/man:/usr/local/share/man
-fi
diff --git a/source/base/man/whatis b/source/base/man/whatis
deleted file mode 100644
index 67a262f..0000000
--- a/source/base/man/whatis
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-# update the "whatis" database
-/usr/sbin/makewhatis -u -w
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to