CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
New port man-db 2.6.7
authorVictor Martinez <pitillo@ono.com>
Wed, 1 Oct 2014 10:28:45 +0000 (10:28 +0000)
committerVictor Martinez <pitillo@ono.com>
Wed, 1 Oct 2014 10:28:45 +0000 (10:28 +0000)
man-db/.footprint [new file with mode: 0644]
man-db/.md5sum [new file with mode: 0644]
man-db/Pkgfile [new file with mode: 0644]
man-db/mandb.cron [new file with mode: 0644]

diff --git a/man-db/.footprint b/man-db/.footprint
new file mode 100644 (file)
index 0000000..f56f211
--- /dev/null
@@ -0,0 +1,45 @@
+drwxr-xr-x     root/root       etc/
+drwxr-xr-x     root/root       etc/cron/
+drwxr-xr-x     root/root       etc/cron/daily/
+-rwxr-xr-x     root/root       etc/cron/daily/mandb
+drwxr-xr-x     root/root       usr/
+drwxr-xr-x     root/root       usr/bin/
+lrwxrwxrwx     root/root       usr/bin/apropos -> whatis
+-rwxr-xr-x     root/root       usr/bin/catman
+-rwxr-xr-x     root/root       usr/bin/lexgrog
+-rwxr-xr-x     root/root       usr/bin/man
+-rwxr-xr-x     root/root       usr/bin/mandb
+-rwxr-xr-x     root/root       usr/bin/manpath
+-rwxr-xr-x     root/root       usr/bin/whatis
+drwxr-xr-x     root/root       usr/etc/
+-rw-r--r--     root/root       usr/etc/man_db.conf
+drwxr-xr-x     root/root       usr/lib/
+drwxr-xr-x     root/root       usr/lib/man-db/
+-rwxr-xr-x     root/root       usr/lib/man-db/libman-2.6.7.so
+-rwxr-xr-x     root/root       usr/lib/man-db/libman.la
+lrwxrwxrwx     root/root       usr/lib/man-db/libman.so -> libman-2.6.7.so
+-rwxr-xr-x     root/root       usr/lib/man-db/libmandb-2.6.7.so
+-rwxr-xr-x     root/root       usr/lib/man-db/libmandb.la
+lrwxrwxrwx     root/root       usr/lib/man-db/libmandb.so -> libmandb-2.6.7.so
+drwxr-xr-x     root/root       usr/lib/man-db/man-db/
+-rwxr-xr-x     root/root       usr/lib/man-db/man-db/globbing
+-rwxr-xr-x     root/root       usr/lib/man-db/man-db/manconv
+drwxr-xr-x     root/root       usr/man/
+drwxr-xr-x     root/root       usr/man/man1/
+-rw-r--r--     root/root       usr/man/man1/apropos.1.gz
+-rw-r--r--     root/root       usr/man/man1/lexgrog.1.gz
+-rw-r--r--     root/root       usr/man/man1/man.1.gz
+-rw-r--r--     root/root       usr/man/man1/manconv.1.gz
+-rw-r--r--     root/root       usr/man/man1/manpath.1.gz
+-rw-r--r--     root/root       usr/man/man1/whatis.1.gz
+drwxr-xr-x     root/root       usr/man/man5/
+-rw-r--r--     root/root       usr/man/man5/manpath.5.gz
+drwxr-xr-x     root/root       usr/man/man8/
+-rw-r--r--     root/root       usr/man/man8/accessdb.8.gz
+-rw-r--r--     root/root       usr/man/man8/catman.8.gz
+-rw-r--r--     root/root       usr/man/man8/mandb.8.gz
+drwxr-xr-x     root/root       usr/sbin/
+-rwxr-xr-x     root/root       usr/sbin/accessdb
+drwxr-xr-x     root/root       var/
+drwxr-xr-x     root/root       var/cache/
+drwxr-xr-x     root/root       var/cache/man/
diff --git a/man-db/.md5sum b/man-db/.md5sum
new file mode 100644 (file)
index 0000000..edaf387
--- /dev/null
@@ -0,0 +1,2 @@
+68010e84597651ed673ff1b93beb83b1  man-db-2.6.7.tar.xz
+43dcb76783c4b2f0578b43a43124f9e9  mandb.cron
diff --git a/man-db/Pkgfile b/man-db/Pkgfile
new file mode 100644 (file)
index 0000000..6fb2a84
--- /dev/null
@@ -0,0 +1,39 @@
+# Description: An implementation of the standard Unix documentation system accessed using the man command
+# URL: http://man-db.nongnu.org/
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on: libpipeline
+
+name=man-db
+version=2.6.7
+release=1
+source=(http://download.savannah.gnu.org/releases/$name/$name-$version.tar.xz \
+        mandb.cron)
+
+build() {
+  cd $name-$version
+
+  export libpipeline_CFLAGS="$CFLAGSi -I$CLFS/usr/include"
+  export libpipeline_LIBS="$LIBS -L$CLFS/urs/lib -lpipeline"
+
+  ./configure --build=$CHOST \
+              --host=$CTARGET \
+              --prefix=/usr \
+              --mandir=/usr/man \
+              --libexecdir=/usr/lib/$name \
+              --disable-setuid \
+              --disable-nls
+
+  make
+  make DESTDIR=$PKG install
+  rm -r $PKG/usr/share
+
+  # zsoelim conflicts with groff
+  rm $PKG/usr/bin/zsoelim \
+    $PKG/usr/man/man1/zsoelim.1
+
+  mkdir -p $PKG/var/cache/man
+
+  install -D -o root -g root -m 0755 $SRC/mandb.cron \
+    $PKG/etc/cron/daily/mandb
+}
diff --git a/man-db/mandb.cron b/man-db/mandb.cron
new file mode 100644 (file)
index 0000000..c68a1f5
--- /dev/null
@@ -0,0 +1,7 @@
+#
+# /etc/cron/daily/mandb: update man database caches
+#
+
+/usr/bin/mandb -q
+
+# End of file