From: Roy Marples Date: Thu, 26 Oct 2006 11:29:10 +0000 (+0000) Subject: Rebuild login.conf.db after installing a new cap_mkdb, #152856. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3c61672bdc5600e642e806ff01f3c8decea76324;p=gentoo.git Rebuild login.conf.db after installing a new cap_mkdb, #152856. Package-Manager: portage-2.1.2_pre3-r9 --- diff --git a/sys-freebsd/freebsd-ubin/ChangeLog b/sys-freebsd/freebsd-ubin/ChangeLog index 1206d6324801..80c9177a3275 100644 --- a/sys-freebsd/freebsd-ubin/ChangeLog +++ b/sys-freebsd/freebsd-ubin/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-freebsd/freebsd-ubin # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-ubin/ChangeLog,v 1.31 2006/10/19 04:44:51 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-ubin/ChangeLog,v 1.32 2006/10/26 11:29:10 uberlord Exp $ + + 26 Oct 2006; Roy Marples + freebsd-ubin-6.2_beta2.ebuild: + Rebuild login.conf.db after installing a new cap_mkdb, #152856. 19 Oct 2006; Diego Pettenò ChangeLog: Remove 6.2_beta1 ebuild. diff --git a/sys-freebsd/freebsd-ubin/Manifest b/sys-freebsd/freebsd-ubin/Manifest index c60d39e97366..ecfd5d36212e 100644 --- a/sys-freebsd/freebsd-ubin/Manifest +++ b/sys-freebsd/freebsd-ubin/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX SA-06-02-ee.patch 2446 RMD160 9934e6ee6c0ebaa1998939163bf4f1e233d5eba0 SHA1 31d014af41aee818494acfc40fe5d392d772bd4b SHA256 1c27b3e1f5906da36a654409290e9ffb0493b70a1e83bed89704942f2a9c0d10 MD5 9256a421446d791cc6fbc17d4d8a9780 files/SA-06-02-ee.patch 2446 RMD160 9934e6ee6c0ebaa1998939163bf4f1e233d5eba0 files/SA-06-02-ee.patch 2446 @@ -75,14 +72,14 @@ EBUILD freebsd-ubin-6.1.ebuild 3035 RMD160 00f1357a8f928aeb249dbd17df4121da71716 MD5 0adfe59c63a7ff52da8c0b505e45e607 freebsd-ubin-6.1.ebuild 3035 RMD160 00f1357a8f928aeb249dbd17df4121da71716eae freebsd-ubin-6.1.ebuild 3035 SHA256 dbb4f8a53e5e2e8b4b77e1f69c44c7fd3258d57f22655329690c4e6af8f13485 freebsd-ubin-6.1.ebuild 3035 -EBUILD freebsd-ubin-6.2_beta2.ebuild 3116 RMD160 456fdc645221bf5613539a1011203a00f55ce4d6 SHA1 56af66e02348124a14737280852bd17d13b810f3 SHA256 a4de54c0479d509c0c09e82e02dbbbe07d9689ea1b84a894b3663294342baf90 -MD5 e84b5e33173f6e882d58c2e206357dcc freebsd-ubin-6.2_beta2.ebuild 3116 -RMD160 456fdc645221bf5613539a1011203a00f55ce4d6 freebsd-ubin-6.2_beta2.ebuild 3116 -SHA256 a4de54c0479d509c0c09e82e02dbbbe07d9689ea1b84a894b3663294342baf90 freebsd-ubin-6.2_beta2.ebuild 3116 -MISC ChangeLog 9048 RMD160 a911ba990a8cdce8336bdf44812a8416a40f7ce9 SHA1 b706c311d6506b32e4c89a0e24608aa8e8fa4f9d SHA256 8efaedb54705d2cc88f70a3654882a427e372cc4b0f81fa9c9bad3d42ddfded8 -MD5 d432cff9c62c805bdb27f4713eba473e ChangeLog 9048 -RMD160 a911ba990a8cdce8336bdf44812a8416a40f7ce9 ChangeLog 9048 -SHA256 8efaedb54705d2cc88f70a3654882a427e372cc4b0f81fa9c9bad3d42ddfded8 ChangeLog 9048 +EBUILD freebsd-ubin-6.2_beta2.ebuild 3432 RMD160 38e7cb689e7de1cee01732453776fb92833dce4b SHA1 a1a3048be2ba4c7babda7cc99dbeec73927819ef SHA256 ebfba5251e987fa2db4bbfe6bd0cc880a6013868481b4b11d5ead825f24c2cbc +MD5 3ae1da2c3d7cbf47cf87a894e4229b19 freebsd-ubin-6.2_beta2.ebuild 3432 +RMD160 38e7cb689e7de1cee01732453776fb92833dce4b freebsd-ubin-6.2_beta2.ebuild 3432 +SHA256 ebfba5251e987fa2db4bbfe6bd0cc880a6013868481b4b11d5ead825f24c2cbc freebsd-ubin-6.2_beta2.ebuild 3432 +MISC ChangeLog 9196 RMD160 03112eec528dd2c6b798967635ed1f6fd8797235 SHA1 6279f244769feb9bc2219695d5e245f1563590d1 SHA256 fac80ea3e4a2d511ebe7b161f38eb9f4f3a9d6222726e954767d9f896cb0d24a +MD5 e6e578ff657f79300184a18b6932ee3e ChangeLog 9196 +RMD160 03112eec528dd2c6b798967635ed1f6fd8797235 ChangeLog 9196 +SHA256 fac80ea3e4a2d511ebe7b161f38eb9f4f3a9d6222726e954767d9f896cb0d24a ChangeLog 9196 MISC metadata.xml 156 RMD160 60b5820a08275f307e5bd936d78f5afd1f141086 SHA1 d9d9d4f2b5afc58339ea3e562fca490156935f1f SHA256 30ab515d6ac492d3d6c36ac3c675511742c2149e56a6b3228c8d22ab8edb3ff7 MD5 2bd48a5ae413433cbb36110b219ce97c metadata.xml 156 RMD160 60b5820a08275f307e5bd936d78f5afd1f141086 metadata.xml 156 @@ -93,10 +90,3 @@ SHA256 b185465d2d3030a516bbb26199657b865cf9ed25cfdebb7bc6d5a6963948a240 files/di MD5 1dcb3ad14550329b03469315ea531669 files/digest-freebsd-ubin-6.2_beta2 1921 RMD160 159dc3ba117d543f0a6a45d82d1a3f90c8ed39cb files/digest-freebsd-ubin-6.2_beta2 1921 SHA256 8bb651675188698f5f01b46601a132f449cd2c7e1be7dbda7f1d9d79a2b8917a files/digest-freebsd-ubin-6.2_beta2 1921 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5 (GNU/Linux) - -iD8DBQFFNwLRAiZjviIA2XgRAn6jAKDsiI1cn7gpaCDjEDo5k3iByfGFRgCfYu+3 -lopGC6qOQ1d+HlK7tYp4OaQ= -=lGnC ------END PGP SIGNATURE----- diff --git a/sys-freebsd/freebsd-ubin/freebsd-ubin-6.2_beta2.ebuild b/sys-freebsd/freebsd-ubin/freebsd-ubin-6.2_beta2.ebuild index 9fdd0fd67521..e360c9a37713 100644 --- a/sys-freebsd/freebsd-ubin/freebsd-ubin-6.2_beta2.ebuild +++ b/sys-freebsd/freebsd-ubin/freebsd-ubin-6.2_beta2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-ubin/freebsd-ubin-6.2_beta2.ebuild,v 1.4 2006/10/17 10:30:38 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-ubin/freebsd-ubin-6.2_beta2.ebuild,v 1.5 2006/10/26 11:29:10 uberlord Exp $ inherit bsdmk freebsd flag-o-matic pam @@ -105,3 +105,12 @@ src_install() { exeinto /etc/cron.daily newexe "${FILESDIR}/locate-updatedb-cron" locate.updatedb } + +pkg_postinst() { + # We need to ensure that login.conf.db is up-to-date. + if [[ -e ${ROOT}etc/login.conf ]] ; then + einfo "Updating ${ROOT}etc/login.conf.db" + ${ROOT}usr/bin/cap_mkdb -f ${ROOT}etc/login.conf ${ROOT}etc/login.conf + einfo "Remember to run cap_mkdb /etc/login.conf after making changes to it" + fi +}