man-db 2.7.1
authorYaakov Selkowitz <yselkowi@redhat.com>
Fri, 17 Apr 2015 21:59:25 +0000 (16:59 -0500)
committerYaakov Selkowitz <yselkowi@redhat.com>
Fri, 17 Apr 2015 21:59:29 +0000 (16:59 -0500)
Also, add SECTIONs 0p, 1p, and 3p for man-pages-posix.

2.6.7-shared-libman.patch [deleted file]
2.6.7-shared-libmandb.patch
man-db.cygport

diff --git a/2.6.7-shared-libman.patch b/2.6.7-shared-libman.patch
deleted file mode 100644 (file)
index 980f182..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-Shared libmandb is a bit more complicated
-
---- origsrc/man-db-2.6.7/lib/Makefile.am       2013-12-08 18:43:01.000000000 -0600
-+++ src/man-db-2.6.7/lib/Makefile.am   2014-05-30 11:56:02.650041800 -0500
-@@ -62,4 +62,5 @@ libman_la_LIBADD = ../gnulib/lib/libgnu.
- libman_la_LDFLAGS = \
-       -avoid-version -release $(VERSION) -rpath $(pkglibdir) \
-+      -no-undefined \
-       $(libpipeline_LIBS)
index f6947385b5c75b85a40672a9deadfcecf0d4cc0f..e2a2a7384658ee40996f9828a898ec27272918d3 100644 (file)
@@ -1,14 +1,6 @@
 These global symbols are used within libmandb, so if we want to make it
 shared, they need to be moved from each of the executables into the library
 
---- origsrc/man-db-2.6.7/libdb/Makefile.am     2013-12-08 18:43:01.000000000 -0600
-+++ src/man-db-2.6.7/libdb/Makefile.am 2014-05-30 12:02:03.758696100 -0500
-@@ -43,4 +43,4 @@ libmandb_la_SOURCES = \
- libmandb_la_LIBADD = ../lib/libman.la $(DBLIBS)
--libmandb_la_LDFLAGS = -avoid-version -release $(VERSION) -rpath $(pkglibdir)
-+libmandb_la_LDFLAGS = -avoid-version -release $(VERSION) -rpath $(pkglibdir) -no-undefined
 --- origsrc/man-db-2.6.7/libdb/db_ver.c        2013-12-08 18:38:13.000000000 -0600
 +++ src/man-db-2.6.7/libdb/db_ver.c    2014-05-30 12:03:48.648695400 -0500
 @@ -37,6 +37,10 @@
index 453af88075c895584b3501875d853c1846261414..55a9269e3a0fdf9c497eb54b825410a7a1f7d36b 100644 (file)
@@ -1,6 +1,6 @@
 NAME="man-db"
-VERSION=2.6.7
-RELEASE=2
+VERSION=2.7.1
+RELEASE=1
 CATEGORY="Base"
 SUMMARY="Man page viewer"
 DESCRIPTION="man-db is an implementation of the standard Unix documentation
@@ -9,7 +9,7 @@ of the traditional flat-text whatis databases."
 HOMEPAGE="http://www.nongnu.org/man-db/"
 SRC_URI="mirror://savannah/man-db/man-db-${VERSION}.tar.xz"
 PATCH_URI="
-       2.6.7-shared-libman.patch
+       2.6.7-shared-libmandb.patch
 "
 
 PKG_NAMES=${NAME}
@@ -17,17 +17,23 @@ man_db_OBSOLETES="man"
 man_db_REQUIRES="groff gzip less libiconv lynx util-linux"
 man_db_CONTENTS="etc/defaults/ etc/p* usr/bin/ usr/libexec/ usr/sbin/
        usr/share/doc/ usr/share/locale/ usr/share/man/ var/cache/man/"
-PKG_IGNORE="usr/lib/man-db/libman*"
+PKG_IGNORE="usr/lib/man-db/libman* usr/lib/tmpfiles.d/"
 
 # Build dependencies only
 DEPEND="groff libgdbm-devel libpipeline-devel check po4a"
 
-CYGCONF_ARGS="
-       --disable-setuid
-       --with-browser=lynx
-       --with-pager=less
-       --with-db=gdbm
-"
+src_compile() {
+       cd ${S}
+       cygautoreconf
+       cd ${B}
+       cygconf \
+               "--with-sections=1 1p 8 2 3 3p 4 5 6 7 9 0p n" \
+               --disable-setuid \
+               --with-browser=lynx \
+               --with-pager=less \
+               --with-db=gdbm
+       cygmake
+}
 
 src_test() {
        cd ${B}
This page took 0.025695 seconds and 5 git commands to generate.