diff options
author | Cédric Krier <cedk@gentoo.org> | 2008-09-28 13:26:02 +0000 |
---|---|---|
committer | Cédric Krier <cedk@gentoo.org> | 2008-09-28 13:26:02 +0000 |
commit | 45038b3778b9966aeb407c0d9ebc2a756ba1d65b (patch) | |
tree | 3995f407e3633f942dd4a54e0b995e76d750f5b2 /net-analyzer/tcpdump | |
parent | amd64/x86 stable, bug #238437 (diff) | |
download | historical-45038b3778b9966aeb407c0d9ebc2a756ba1d65b.tar.gz historical-45038b3778b9966aeb407c0d9ebc2a756ba1d65b.tar.bz2 historical-45038b3778b9966aeb407c0d9ebc2a756ba1d65b.zip |
Call enewuser/enewgroup in both pkg_setup and pkg_preinst for bug #231917
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'net-analyzer/tcpdump')
-rw-r--r-- | net-analyzer/tcpdump/ChangeLog | 5 | ||||
-rw-r--r-- | net-analyzer/tcpdump/Manifest | 4 | ||||
-rw-r--r-- | net-analyzer/tcpdump/tcpdump-3.9.8-r1.ebuild | 13 |
3 files changed, 16 insertions, 6 deletions
diff --git a/net-analyzer/tcpdump/ChangeLog b/net-analyzer/tcpdump/ChangeLog index dfc6a3a26c89..e6b04b585886 100644 --- a/net-analyzer/tcpdump/ChangeLog +++ b/net-analyzer/tcpdump/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-analyzer/tcpdump # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/ChangeLog,v 1.131 2008/09/10 10:47:13 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/ChangeLog,v 1.132 2008/09/28 13:26:02 cedk Exp $ + + 28 Sep 2008; Cédric Krier <cedk@gentoo.org> tcpdump-3.9.8-r1.ebuild: + Call enewuser/enewgroup in both pkg_setup and pkg_preinst for bug #231917 10 Sep 2008; Peter Volkov <pva@gentoo.org> tcpdump-3.9.5-r3.ebuild, tcpdump-3.9.6-r1.ebuild, tcpdump-3.9.7-r1.ebuild, tcpdump-3.9.8.ebuild, diff --git a/net-analyzer/tcpdump/Manifest b/net-analyzer/tcpdump/Manifest index 7fd61037a9b3..296f940df064 100644 --- a/net-analyzer/tcpdump/Manifest +++ b/net-analyzer/tcpdump/Manifest @@ -7,7 +7,7 @@ DIST tcpdump-3.9.8.tar.gz 938054 RMD160 76b17d131f4d89342c2bcdc27c40d23d29ecb1f1 EBUILD tcpdump-3.9.5-r3.ebuild 2155 RMD160 718b67b7e2b0bc1d58a05eeebed2456d0d060da1 SHA1 23acea216ee9a517ccab25196b798a5fa3471842 SHA256 79049b6ef274c96a22c40070d1109ace3d5982ab1122ccdf8c2a21832d072d65 EBUILD tcpdump-3.9.6-r1.ebuild 2161 RMD160 a7961a714f00f4cebc3c1179370c82e78ca09160 SHA1 f286f8d5c9614d72aa29504e34a079c1b9ff56c6 SHA256 c9a9f9d86440adae35975c5c590f14ba1f8a8c331fc97fdec229d769bad90896 EBUILD tcpdump-3.9.7-r1.ebuild 1892 RMD160 3961a6a3278544166e0162029d3e4c3a40af5d11 SHA1 6d7cd37062c371fd1b49f06e923dcdd4fa3d6a32 SHA256 e5eb96fa322d3d7d47fb6011e50c730511354de09eba76f6e39fbcb00e879b84 -EBUILD tcpdump-3.9.8-r1.ebuild 2080 RMD160 340f03ee55f66506b08350d2876fdbb5c305fe23 SHA1 520410fa63e6b3a19bc5f22e26ff8046debda1c5 SHA256 ace61bc4dd2d7cecfb37d9968542cbc628749ae0a5ce449a1946749b9c1d918a +EBUILD tcpdump-3.9.8-r1.ebuild 2220 RMD160 f07aa16110d90292fcfc37f17184f0f20fd0b9e8 SHA1 b0c205395e1eab6c953d940afa69f35b9e877266 SHA256 8e88f51397b0ef031dd31cb11a3753e07171df1ce6ca9468b73bb7e25b684c2c EBUILD tcpdump-3.9.8.ebuild 1888 RMD160 1c212ef2a1bab2c31cab7b0ac40588757a4d70c4 SHA1 68fba63f9e15a12d6f3adc8d80593c4cdd477966 SHA256 6e89cffeced6843245846b4dc9f200307b251597d20110bb9a5bdf372fb73211 -MISC ChangeLog 17040 RMD160 ee49cd3e2aeb4a01fbe0560a6de770f840255071 SHA1 5384cdab35c5281ae37fbd89c6a0b5155ffffedf SHA256 0d69f5174116543ec53ba3c3d9e16d9980a15874243812c10cf6fd6b98d0c4b7 +MISC ChangeLog 17190 RMD160 f372413f8352e83b12c271eb91f6bd288276372c SHA1 7e5b6c2b70c5671b67cdd357132c021ed7ac4104 SHA256 3faece4dc1d65baf1e93f33c5ad2c94e9af3e71e1600d47d69c470e68ff552e0 MISC metadata.xml 349 RMD160 1acfd9c02bf79abc279ff8a9b9be3ce77200a335 SHA1 db22be5fafb6632bfbb0697a983de6f549f53992 SHA256 aa4ccc95bd196b9cc5d8e45e64361003ee10d4acdea56deaf88a2f9310732c19 diff --git a/net-analyzer/tcpdump/tcpdump-3.9.8-r1.ebuild b/net-analyzer/tcpdump/tcpdump-3.9.8-r1.ebuild index ea3f4bd1e422..6f246ab7940f 100644 --- a/net-analyzer/tcpdump/tcpdump-3.9.8-r1.ebuild +++ b/net-analyzer/tcpdump/tcpdump-3.9.8-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/tcpdump-3.9.8-r1.ebuild,v 1.4 2008/09/10 10:47:13 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/tcpdump-3.9.8-r1.ebuild,v 1.5 2008/09/28 13:26:02 cedk Exp $ inherit flag-o-matic toolchain-funcs eutils @@ -17,6 +17,13 @@ IUSE="chroot ssl ipv6 samba" DEPEND="net-libs/libpcap ssl? ( >=dev-libs/openssl-0.9.6m )" +group_user_check() { + einfo "Checking for tcpdump group ..." + enewgroup tcpdump + einfo "Checking for tcpdump user ..." + enewuser tcpdump -1 -1 -1 tcpdump +} + pkg_setup() { if use samba ; then ewarn @@ -33,6 +40,7 @@ pkg_setup() { ebeep 5 epause 5 fi + group_user_check } src_compile() { @@ -68,8 +76,7 @@ src_compile() { } pkg_preinst() { - enewgroup tcpdump - enewuser tcpdump -1 -1 -1 tcpdump + group_user_check } src_install() { |