polynomial-c    14/12/22 10:16:44

  Modified:             ChangeLog
  Added:                man-db-2.7.1.ebuild
  Removed:              man-db-2.6.4.ebuild man-db-2.6.2.ebuild
                        man-db-2.6.3-r1.ebuild man-db-2.6.0.2.ebuild
                        man-db-2.6.5.ebuild man-db-2.6.1.ebuild
                        man-db-2.6.3.ebuild
  Log:
  Version bump. Removed old
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
0x981CA6FC)

Revision  Changes    Path
1.77                 sys-apps/man-db/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/man-db/ChangeLog?rev=1.77&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/man-db/ChangeLog?rev=1.77&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/man-db/ChangeLog?r1=1.76&r2=1.77

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/man-db/ChangeLog,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -r1.76 -r1.77
--- ChangeLog   2 Nov 2014 09:48:46 -0000       1.76
+++ ChangeLog   22 Dec 2014 10:16:44 -0000      1.77
@@ -1,6 +1,15 @@
 # ChangeLog for sys-apps/man-db
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/man-db/ChangeLog,v 1.76 2014/11/02 
09:48:46 swift Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/man-db/ChangeLog,v 1.77 2014/12/22 
10:16:44 polynomial-c Exp $
+
+*man-db-2.7.1 (22 Dec 2014)
+
+  22 Dec 2014; Lars Wendler <polynomia...@gentoo.org> -man-db-2.6.0.2.ebuild,
+  -man-db-2.6.1.ebuild, -man-db-2.6.2.ebuild, -man-db-2.6.3.ebuild,
+  -man-db-2.6.3-r1.ebuild, -man-db-2.6.4.ebuild, -man-db-2.6.5.ebuild,
+  +man-db-2.7.1.ebuild, -files/man-db-2.6.0.2-flock.h.patch,
+  -files/man-db-2.6.1-no-gets.patch:
+  Version bump. Removed old.
 
   02 Nov 2014; Sven Vermeulen <sw...@gentoo.org> man-db-2.6.6.ebuild,
   man-db-2.6.7.1.ebuild:



1.1                  sys-apps/man-db/man-db-2.7.1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/man-db/man-db-2.7.1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/man-db/man-db-2.7.1.ebuild?rev=1.1&content-type=text/plain

Index: man-db-2.7.1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/man-db/man-db-2.7.1.ebuild,v 1.1 
2014/12/22 10:16:44 polynomial-c Exp $

EAPI="4"

inherit eutils user versionator

DESCRIPTION="a man replacement that utilizes berkdb instead of flat files"
HOMEPAGE="http://www.nongnu.org/man-db/";
SRC_URI="mirror://nongnu/${PN}/${P}.tar.xz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~arm-linux ~x86-linux"
IUSE="berkdb +gdbm nls selinux static-libs zlib"

CDEPEND=">=dev-libs/libpipeline-1.4.0
        berkdb? ( sys-libs/db )
        gdbm? ( sys-libs/gdbm )
        !berkdb? ( !gdbm? ( sys-libs/gdbm ) )
        sys-apps/groff
        zlib? ( sys-libs/zlib )
        !sys-apps/man"
DEPEND="${CDEPEND}
        app-arch/xz-utils
        virtual/pkgconfig
        nls? (
                app-text/po4a
                sys-devel/gettext
        )"
RDEPEND="${CDEPEND}
        selinux? ( sec-policy/selinux-mandb )
"

pkg_setup() {
        # Create user now as Makefile in src_install does setuid/chown
        enewgroup man 15
        enewuser man 13 -1 /usr/share/man man

        if (use gdbm && use berkdb) || (use !gdbm && use !berkdb) ; then #496150
                ewarn "Defaulting to USE=gdbm due to ambiguous berkdb/gdbm USE 
flag settings"
        fi
}

src_configure() {
        export ac_cv_lib_z_gzopen=$(usex zlib)
        econf \
                --docdir='$(datarootdir)'/doc/${PF} \
                --enable-setuid \
                --with-sections="1 1p 8 2 3 3p 4 5 6 7 9 0p tcl n l p o 1x 2x 
3x 4x 5x 6x 7x 8x" \
                $(use_enable nls) \
                $(use_enable static-libs static) \
                --with-db=$(usex gdbm gdbm $(usex berkdb db gdbm))
}

src_install() {
        default
        dodoc docs/{HACKING,TODO}
        prune_libtool_files

        exeinto /etc/cron.daily
        newexe "${FILESDIR}"/man-db.cron man-db #289884

        keepdir /var/cache/man
        fowners man:0 /var/cache/man
        fperms 2755 /var/cache/man
}

pkg_preinst() {
        if [[ -f ${EROOT}var/cache/man/whatis ]] ; then
                einfo "Cleaning ${EROOT}var/cache/man from sys-apps/man"
                find "${EROOT}"var/cache/man -type f '!' '(' -name index.bt -o 
-name index.db ')' -delete
        fi
        if [[ ! -g ${EROOT}var/cache/man ]] ; then
                einfo "Resetting permissions on ${EROOT}var/cache/man" #447944
                mkdir -p "${EROOT}var/cache/man"
                chown -R man:0 "${EROOT}"var/cache/man
                find "${EROOT}"var/cache/man -type d '!' -perm /g=s -exec chmod 
2755 {} +
        fi
}

pkg_postinst() {
        if [[ $(get_version_component_range 2 ${REPLACING_VERSIONS}) -lt 7 ]] ; 
then
                einfo "Rebuilding man-db from scratch with new database format!"
                mandb --quiet --create
        fi
}




Reply via email to