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
commit0fa728c684ff06ae3790130b05c31ccd4a69160a (patch)
treefc1e6485bda541066d7e9d5aa62be808a4398a5e /app-mobilephone/kannel
parentCleanup for bug #92745. (diff)
downloadgentoo-2-0fa728c684ff06ae3790130b05c31ccd4a69160a.tar.gz
gentoo-2-0fa728c684ff06ae3790130b05c31ccd4a69160a.tar.bz2
gentoo-2-0fa728c684ff06ae3790130b05c31ccd4a69160a.zip
fix user&group creation (#30749)
(Portage version: 2.0.51.19)
Diffstat (limited to 'app-mobilephone/kannel')
-rw-r--r--app-mobilephone/kannel/Manifest12
-rw-r--r--app-mobilephone/kannel/kannel-1.4.0.ebuild16
2 files changed, 11 insertions, 17 deletions
diff --git a/app-mobilephone/kannel/Manifest b/app-mobilephone/kannel/Manifest
index 63ea8b5da350..87276cac3ba3 100644
--- a/app-mobilephone/kannel/Manifest
+++ b/app-mobilephone/kannel/Manifest
@@ -1,16 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 94e6880a88f56716d3c772ca69322077 ChangeLog 409
MD5 8e6557d777542beebd0e35c01bdc156c metadata.xml 389
-MD5 6039426f433e1f8486dc90a24275306a kannel-1.4.0.ebuild 2195
+MD5 c4f44e0a861a268dfc879a5cda0e5ba4 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
------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
}