summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2005-05-17 18:57:34 +0000
committerAlin Năstac <mrness@gentoo.org>2005-05-17 18:57:34 +0000
commit11cbce88cb5705f9dfcdddcdf38189a0eaa82f68 (patch)
tree70a07a36c9707bc2822543bf8f73fb3e8c57407c /app-mobilephone
parentCleanup for bug #92745. (diff)
downloadhistorical-11cbce88cb5705f9dfcdddcdf38189a0eaa82f68.tar.gz
historical-11cbce88cb5705f9dfcdddcdf38189a0eaa82f68.tar.bz2
historical-11cbce88cb5705f9dfcdddcdf38189a0eaa82f68.zip
fix user&group creation (#30749)
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'app-mobilephone')
-rw-r--r--app-mobilephone/kannel/Manifest8
-rw-r--r--app-mobilephone/kannel/kannel-1.4.0.ebuild16
2 files changed, 14 insertions, 10 deletions
diff --git a/app-mobilephone/kannel/Manifest b/app-mobilephone/kannel/Manifest
index 63ea8b5da350..52184eaf82ac 100644
--- a/app-mobilephone/kannel/Manifest
+++ b/app-mobilephone/kannel/Manifest
@@ -3,14 +3,14 @@ Hash: SHA1
MD5 94e6880a88f56716d3c772ca69322077 ChangeLog 409
MD5 8e6557d777542beebd0e35c01bdc156c metadata.xml 389
-MD5 6039426f433e1f8486dc90a24275306a kannel-1.4.0.ebuild 2195
+MD5 7a975cf1b57407913d3fc4425fde409b kannel-1.4.0.ebuild 2223
MD5 a7c05f05df99dd759d119b393cbe59e0 files/digest-kannel-1.4.0 66
MD5 b77f55cded4c364d155c302e81eb07c6 files/kannel-confd 366
MD5 0b79d37344165b8743061f68a18959ce files/kannel-initd 1529
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
-iD8DBQFCiR2qjiC39V7gKu0RAroFAJ9QGRyQOA6ERps+Uwa6aj7+48CGGwCgiS1s
-APso5YJgXBC2YtHyoWwC2ck=
-=v+m4
+iD8DBQFCij65jiC39V7gKu0RAsK9AJ9qNL/fqvyGZeR9K4j682dQbzGHNQCgssff
+bgb8molSKEoG1T5Z/isqZK4=
+=eJmH
-----END PGP SIGNATURE-----
diff --git a/app-mobilephone/kannel/kannel-1.4.0.ebuild b/app-mobilephone/kannel/kannel-1.4.0.ebuild
index 26d19df97c0e..5baa2c37d147 100644
--- a/app-mobilephone/kannel/kannel-1.4.0.ebuild
+++ b/app-mobilephone/kannel/kannel-1.4.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/kannel/kannel-1.4.0.ebuild,v 1.2 2005/05/16 22:24:31 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/kannel/kannel-1.4.0.ebuild,v 1.3 2005/05/17 18:57:34 mrness Exp $
inherit eutils
DESCRIPTION="Powerful SMS and WAP gateway"
@@ -30,6 +30,11 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/gateway-${PV}
+pkg_setup() {
+ enewgroup kannel
+ enewuser kannel -1 /bin/false /var/log/kannel kannel
+}
+
src_unpack() {
unpack ${A}
@@ -57,9 +62,8 @@ src_compile() {
emake || die "emake failed"
}
-pkg_preinst() {
- enewgroup kannel
- enewuser kannel -1 /bin/false /var/log/kannel kannel
+src_test() {
+ make check || die "make check failed"
}
src_install() {
@@ -84,6 +88,6 @@ src_install() {
newins ${FILESDIR}/kannel-confd kannel
}
-src_test() {
- make check || die "make check failed"
+pkg_preinst() {
+ pkg_setup
}