From: Stefan Schweizer Date: Tue, 20 Jun 2006 19:55:48 +0000 (+0000) Subject: QA: Move enew{user,group} to pkg_setup, bug 137213 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4d2f742a4c598de47f578d861f3884669843c8ce;p=gentoo.git QA: Move enew{user,group} to pkg_setup, bug 137213 Package-Manager: portage-2.1.1_pre1-r1 --- diff --git a/net-misc/ser/ChangeLog b/net-misc/ser/ChangeLog index 1cae0b3ff4a9..5827b1bc5095 100644 --- a/net-misc/ser/ChangeLog +++ b/net-misc/ser/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-misc/ser -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ser/ChangeLog,v 1.19 2005/09/16 14:21:56 stkn Exp $ +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/ser/ChangeLog,v 1.20 2006/06/20 19:55:48 genstef Exp $ + + 20 Jun 2006; Stefan Schweizer ser-0.9.0.ebuild, + ser-0.9.4.ebuild: + QA: Move enew{user,group} to pkg_setup, bug 137213 16 Sep 2005; Stefan Knoblich ser-0.9.0.ebuild, ser-0.9.4.ebuild: diff --git a/net-misc/ser/Manifest b/net-misc/ser/Manifest index baa6aa9caa31..fcc91e72e0ee 100644 --- a/net-misc/ser/Manifest +++ b/net-misc/ser/Manifest @@ -1,11 +1,48 @@ -MD5 d79189a7036267826e04b6706eafa666 ser-0.9.4.ebuild 3705 -MD5 f58ea218fa5eba027a15efe335ee5990 ChangeLog 3140 -MD5 c3eb4ae44cc1157de9922752ba2cfdaa ser-0.9.0.ebuild 3669 -MD5 731bfb3fccee7dbf639442d29948484c files/silomail-1.0-ser-0.9.0.diff 309 -MD5 f8bde4c96ce030c3857fcb596af4ef74 files/ser.confd 379 -MD5 2bb82ce57ef2641deb39ddc9f0792389 files/digest-ser-0.9.4 343 +AUX ethz-1.0-ser-0.9.0.diff 378 RMD160 6eaf1b30f909bc6385a6d9b1ba03f8e007b668b8 SHA1 5619918bdff96e5e36788c6e8aa21f25ec5c37db SHA256 232a7853be7d7c01170e75472ef671c30963b9651238ca06455233c49b4d04a7 +MD5 13df81c549263be3a93c93095cac54c2 files/ethz-1.0-ser-0.9.0.diff 378 +RMD160 6eaf1b30f909bc6385a6d9b1ba03f8e007b668b8 files/ethz-1.0-ser-0.9.0.diff 378 +SHA256 232a7853be7d7c01170e75472ef671c30963b9651238ca06455233c49b4d04a7 files/ethz-1.0-ser-0.9.0.diff 378 +AUX ldap-1.0-ser-0.9.0.diff 301 RMD160 3c68d75f7044caffa2c8794aa11cfda78c86f82e SHA1 b1dc7a4f1659d4f70d52a5d0411e2b7374a41de0 SHA256 fdf2367d1497f8954872730e79814d5f1d82639ab89573a86515a617c965fa76 MD5 6e319943ee713a85093870eb1c28a0d6 files/ldap-1.0-ser-0.9.0.diff 301 -MD5 16fc6b4f457162a12869d1ac72dc86f5 files/ser.rc6 549 +RMD160 3c68d75f7044caffa2c8794aa11cfda78c86f82e files/ldap-1.0-ser-0.9.0.diff 301 +SHA256 fdf2367d1497f8954872730e79814d5f1d82639ab89573a86515a617c965fa76 files/ldap-1.0-ser-0.9.0.diff 301 +AUX ldaps-1.0-ser-0.9.0.diff 342 RMD160 e02341b9891bf15085a2444a5737f103c8b1d6a8 SHA1 82090421f7c154760f9e58b1ec6a5c144cb54b71 SHA256 5ca75d91eecfd568edf3df1f17ab3223a5897f5c559d14d461d4119440cfae4d MD5 60e8a72a005fd298e920e6746c788980 files/ldaps-1.0-ser-0.9.0.diff 342 -MD5 08495f4d275d4340fcb21b69cac7d38c files/digest-ser-0.9.0 343 -MD5 13df81c549263be3a93c93095cac54c2 files/ethz-1.0-ser-0.9.0.diff 378 +RMD160 e02341b9891bf15085a2444a5737f103c8b1d6a8 files/ldaps-1.0-ser-0.9.0.diff 342 +SHA256 5ca75d91eecfd568edf3df1f17ab3223a5897f5c559d14d461d4119440cfae4d files/ldaps-1.0-ser-0.9.0.diff 342 +AUX ser.confd 379 RMD160 8d90a9f2e9d645b8da2d2778c5a2bc2375a4f4b7 SHA1 d35ff15c990725f7be5ae3260c67c427138cc5b5 SHA256 6c9d5766025ce9be63d29c8db741ae2ea8906743bf397914241ff22a9545af7e +MD5 f8bde4c96ce030c3857fcb596af4ef74 files/ser.confd 379 +RMD160 8d90a9f2e9d645b8da2d2778c5a2bc2375a4f4b7 files/ser.confd 379 +SHA256 6c9d5766025ce9be63d29c8db741ae2ea8906743bf397914241ff22a9545af7e files/ser.confd 379 +AUX ser.rc6 549 RMD160 c2f9699759311433c582b1bac53dfcdb2c0c9b90 SHA1 b13bfa95e50adabbeadd278e6f753090607535ae SHA256 db5ff433af434d0bd2f433bc36137749ecf27cae09333a50f697f45a4f35ea5d +MD5 16fc6b4f457162a12869d1ac72dc86f5 files/ser.rc6 549 +RMD160 c2f9699759311433c582b1bac53dfcdb2c0c9b90 files/ser.rc6 549 +SHA256 db5ff433af434d0bd2f433bc36137749ecf27cae09333a50f697f45a4f35ea5d files/ser.rc6 549 +AUX silomail-1.0-ser-0.9.0.diff 309 RMD160 d12d6c8a0816f0341ebab2a6ccf97c2ec5f73dc5 SHA1 089a4ea64479d387612c8e6167176b6410f3f27a SHA256 61ef9275b08191310956381a48ed163c5a431e57fcd8ee92f9c64f4bfe03427e +MD5 731bfb3fccee7dbf639442d29948484c files/silomail-1.0-ser-0.9.0.diff 309 +RMD160 d12d6c8a0816f0341ebab2a6ccf97c2ec5f73dc5 files/silomail-1.0-ser-0.9.0.diff 309 +SHA256 61ef9275b08191310956381a48ed163c5a431e57fcd8ee92f9c64f4bfe03427e files/silomail-1.0-ser-0.9.0.diff 309 +DIST ethz-1.0-ser-0.9.0.tar.gz 5266 RMD160 fe7bf58ecde23af103f6dba9571e2278d5415406 SHA1 fced2575da4bef39117470e1e4e4cb6b65eeed0f SHA256 0d019caf9e19a51387f95dd511c1930ca8b521a8e9df4fdc042caa8678c371ea +DIST ldap-1.0-ser-0.9.0.tar.gz 5069 RMD160 346b50b309f5e172d9cc71a526c6179b414f9825 SHA1 dd21d56b5dadc4ef3a415b69a33c321645fa33d6 SHA256 244817715cf26411820a45c5197346fe4d39407f64b2d05d81bfcf4117ca02b2 +DIST ldaps-1.0-ser-0.9.0.tar.gz 5051 RMD160 e31495405b518107a57a34b0e771188a6a1712c7 SHA1 fe06c3fab3c354233c38cbf93edfdc14b309f3d4 SHA256 83e8e54423969dc72a71c71a22c59d4a1e4fe29aa1b886e68acf98d45a8c5126 +DIST ser-0.9.0_src.tar.gz 1853730 +DIST ser-0.9.4_src.tar.gz 1888783 RMD160 9d2f58ab1ee49b96fb426de00c3ffefb848d4e67 SHA1 e9507fd074fcabd8c47ec932ac898c294cda5342 SHA256 cdfdd2d9b6591feec5d7d6d4ab65d5032b00a08de568a370e02909f8322e8609 +DIST silomail-1.0-ser-0.9.0.tar.gz 4762 RMD160 999d127a3ebad42cb207e2d2519e485588595f9a SHA1 4e07175aabaa153e01e5da16090261fe3ebc5ad1 SHA256 18d60d987246d4b188e8c2b78d721a43e61eb8c50402b19352edada2d2f98826 +EBUILD ser-0.9.0.ebuild 3671 RMD160 1df58837a5e8a23ba61b14056974b4364ec71a12 SHA1 bd410f37a18f64c3c068643cb49bbc19251196e1 SHA256 eee3d908c641762133919d7e975a82b42a984489a63165310640514c07f137e9 +MD5 b1f32d1b510f9c3c931cbdc3eda26341 ser-0.9.0.ebuild 3671 +RMD160 1df58837a5e8a23ba61b14056974b4364ec71a12 ser-0.9.0.ebuild 3671 +SHA256 eee3d908c641762133919d7e975a82b42a984489a63165310640514c07f137e9 ser-0.9.0.ebuild 3671 +EBUILD ser-0.9.4.ebuild 3706 RMD160 49b5a7bdfdf77a28817190cf31047ac603daff50 SHA1 f291c64c14ec8ccd57875e0655747dcf9f35355a SHA256 e0ad914042be7cf1d2c63fa3c7800cb1c590b2e95a3d11eec62454758e72fe6c +MD5 3bd331b27211f017e1cfc4329662ff8f ser-0.9.4.ebuild 3706 +RMD160 49b5a7bdfdf77a28817190cf31047ac603daff50 ser-0.9.4.ebuild 3706 +SHA256 e0ad914042be7cf1d2c63fa3c7800cb1c590b2e95a3d11eec62454758e72fe6c ser-0.9.4.ebuild 3706 +MISC ChangeLog 3288 RMD160 1cfbbdb30d026d4806a4d63f1a6dcd710cf0d73f SHA1 59b523c9c75d9006ebed5331cdbc32da408ac8d8 SHA256 8577910fa905a3c0139f54e7170740a711734569ba9a046d2d531eb626a12749 +MD5 f05f8eb4fa9cf9b0fe9225836d326938 ChangeLog 3288 +RMD160 1cfbbdb30d026d4806a4d63f1a6dcd710cf0d73f ChangeLog 3288 +SHA256 8577910fa905a3c0139f54e7170740a711734569ba9a046d2d531eb626a12749 ChangeLog 3288 +MD5 04f2874ff3bf92a15eb09df067220aa4 files/digest-ser-0.9.0 1081 +RMD160 24138eee5a8a30de8fc67b57ed2795d7dae6c02d files/digest-ser-0.9.0 1081 +SHA256 9719098d7877e70066569487090e41faee22671d2fcb2b456d554cddbda7450a files/digest-ser-0.9.0 1081 +MD5 a80e12c31d35efc5589684e0ff3c2c96 files/digest-ser-0.9.4 1259 +RMD160 fa8e4af1d00d5c3bce47befa77c5633d068360d0 files/digest-ser-0.9.4 1259 +SHA256 cd70f983387e638c90752bf6d822be16a00aad3330dba9b5851ec640330ace5a files/digest-ser-0.9.4 1259 diff --git a/net-misc/ser/files/digest-ser-0.9.0 b/net-misc/ser/files/digest-ser-0.9.0 index df2e4133460a..13a6b85582fc 100644 --- a/net-misc/ser/files/digest-ser-0.9.0 +++ b/net-misc/ser/files/digest-ser-0.9.0 @@ -1,5 +1,13 @@ -MD5 ae1f9b237f0006785ff22eafa1470ac4 ser-0.9.0_src.tar.gz 1853730 -MD5 4acc4f68df2894da79cbc4d697f22c8f silomail-1.0-ser-0.9.0.tar.gz 4762 MD5 72ab86bde9715f4f712c5b6fb8909dd0 ethz-1.0-ser-0.9.0.tar.gz 5266 +RMD160 fe7bf58ecde23af103f6dba9571e2278d5415406 ethz-1.0-ser-0.9.0.tar.gz 5266 +SHA256 0d019caf9e19a51387f95dd511c1930ca8b521a8e9df4fdc042caa8678c371ea ethz-1.0-ser-0.9.0.tar.gz 5266 MD5 f5741e12d060323eed40f1af978a1310 ldap-1.0-ser-0.9.0.tar.gz 5069 +RMD160 346b50b309f5e172d9cc71a526c6179b414f9825 ldap-1.0-ser-0.9.0.tar.gz 5069 +SHA256 244817715cf26411820a45c5197346fe4d39407f64b2d05d81bfcf4117ca02b2 ldap-1.0-ser-0.9.0.tar.gz 5069 MD5 b5500e4b2156eed20df1284e85190ae4 ldaps-1.0-ser-0.9.0.tar.gz 5051 +RMD160 e31495405b518107a57a34b0e771188a6a1712c7 ldaps-1.0-ser-0.9.0.tar.gz 5051 +SHA256 83e8e54423969dc72a71c71a22c59d4a1e4fe29aa1b886e68acf98d45a8c5126 ldaps-1.0-ser-0.9.0.tar.gz 5051 +MD5 ae1f9b237f0006785ff22eafa1470ac4 ser-0.9.0_src.tar.gz 1853730 +MD5 4acc4f68df2894da79cbc4d697f22c8f silomail-1.0-ser-0.9.0.tar.gz 4762 +RMD160 999d127a3ebad42cb207e2d2519e485588595f9a silomail-1.0-ser-0.9.0.tar.gz 4762 +SHA256 18d60d987246d4b188e8c2b78d721a43e61eb8c50402b19352edada2d2f98826 silomail-1.0-ser-0.9.0.tar.gz 4762 diff --git a/net-misc/ser/files/digest-ser-0.9.4 b/net-misc/ser/files/digest-ser-0.9.4 index b9eeb2f464d0..c39b14600132 100644 --- a/net-misc/ser/files/digest-ser-0.9.4 +++ b/net-misc/ser/files/digest-ser-0.9.4 @@ -1,5 +1,15 @@ -MD5 d12d56d76c86b59dd51a43b3251b7d3a ser-0.9.4_src.tar.gz 1888783 -MD5 4acc4f68df2894da79cbc4d697f22c8f silomail-1.0-ser-0.9.0.tar.gz 4762 MD5 72ab86bde9715f4f712c5b6fb8909dd0 ethz-1.0-ser-0.9.0.tar.gz 5266 +RMD160 fe7bf58ecde23af103f6dba9571e2278d5415406 ethz-1.0-ser-0.9.0.tar.gz 5266 +SHA256 0d019caf9e19a51387f95dd511c1930ca8b521a8e9df4fdc042caa8678c371ea ethz-1.0-ser-0.9.0.tar.gz 5266 MD5 f5741e12d060323eed40f1af978a1310 ldap-1.0-ser-0.9.0.tar.gz 5069 +RMD160 346b50b309f5e172d9cc71a526c6179b414f9825 ldap-1.0-ser-0.9.0.tar.gz 5069 +SHA256 244817715cf26411820a45c5197346fe4d39407f64b2d05d81bfcf4117ca02b2 ldap-1.0-ser-0.9.0.tar.gz 5069 MD5 b5500e4b2156eed20df1284e85190ae4 ldaps-1.0-ser-0.9.0.tar.gz 5051 +RMD160 e31495405b518107a57a34b0e771188a6a1712c7 ldaps-1.0-ser-0.9.0.tar.gz 5051 +SHA256 83e8e54423969dc72a71c71a22c59d4a1e4fe29aa1b886e68acf98d45a8c5126 ldaps-1.0-ser-0.9.0.tar.gz 5051 +MD5 d12d56d76c86b59dd51a43b3251b7d3a ser-0.9.4_src.tar.gz 1888783 +RMD160 9d2f58ab1ee49b96fb426de00c3ffefb848d4e67 ser-0.9.4_src.tar.gz 1888783 +SHA256 cdfdd2d9b6591feec5d7d6d4ab65d5032b00a08de568a370e02909f8322e8609 ser-0.9.4_src.tar.gz 1888783 +MD5 4acc4f68df2894da79cbc4d697f22c8f silomail-1.0-ser-0.9.0.tar.gz 4762 +RMD160 999d127a3ebad42cb207e2d2519e485588595f9a silomail-1.0-ser-0.9.0.tar.gz 4762 +SHA256 18d60d987246d4b188e8c2b78d721a43e61eb8c50402b19352edada2d2f98826 silomail-1.0-ser-0.9.0.tar.gz 4762 diff --git a/net-misc/ser/ser-0.9.0.ebuild b/net-misc/ser/ser-0.9.0.ebuild index a35ed6f348ca..1e38816282b1 100644 --- a/net-misc/ser/ser-0.9.0.ebuild +++ b/net-misc/ser/ser-0.9.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ser/ser-0.9.0.ebuild,v 1.9 2005/09/16 14:21:56 stkn Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/ser/ser-0.9.0.ebuild,v 1.10 2006/06/20 19:55:48 genstef Exp $ inherit eutils flag-o-matic @@ -37,6 +37,11 @@ DEPEND="${RDEPEND} >=sys-devel/bison-1.35 >=sys-devel/flex-2.5.4a" +pkg_setup() { + enewgroup ser + enewuser ser -1 -1 /dev/null ser +} + src_unpack() { local modules extmodules MY_A @@ -136,12 +141,6 @@ src_install () { newexe scripts/sc serctl newexe scripts/ser_mysql.sh ser_mysql.sh - # - # non-root - # - enewgroup ser - enewuser ser -1 -1 /dev/null ser - chown -R root:ser ${D}/etc/ser chmod 750 ${D}/etc/ser chmod 640 ${D}/etc/ser/* diff --git a/net-misc/ser/ser-0.9.4.ebuild b/net-misc/ser/ser-0.9.4.ebuild index 12613b11c1c9..ca2ed27c7082 100644 --- a/net-misc/ser/ser-0.9.4.ebuild +++ b/net-misc/ser/ser-0.9.4.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ser/ser-0.9.4.ebuild,v 1.2 2005/09/16 14:21:56 stkn Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/ser/ser-0.9.4.ebuild,v 1.3 2006/06/20 19:55:48 genstef Exp $ inherit eutils flag-o-matic @@ -37,6 +37,11 @@ DEPEND="${RDEPEND} >=sys-devel/bison-1.35 >=sys-devel/flex-2.5.4a" +pkg_setup() { + enewgroup ser + enewuser ser -1 -1 /dev/null ser +} + src_unpack() { local modules extmodules MY_A @@ -136,12 +141,6 @@ src_install () { newexe scripts/sc serctl newexe scripts/ser_mysql.sh ser_mysql.sh - # - # non-root - # - enewgroup ser - enewuser ser -1 -1 /dev/null ser - chown -R root:ser ${D}/etc/ser chmod 750 ${D}/etc/ser chmod 640 ${D}/etc/ser/*