summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-08-13 10:48:57 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-08-13 10:48:57 +0000
commite202ea40d0b3bfb480bba1f03c8204ede088ebf2 (patch)
treefd6bbfaf601be2e52f66cf338312ce0ebe621ce6 /net-misc/icecast
parentFix ffmpeg use mask for gnash to be <0.8.3. (diff)
downloadgentoo-2-e202ea40d0b3bfb480bba1f03c8204ede088ebf2.tar.gz
gentoo-2-e202ea40d0b3bfb480bba1f03c8204ede088ebf2.tar.bz2
gentoo-2-e202ea40d0b3bfb480bba1f03c8204ede088ebf2.zip
create icecast user at pkg_setup, by Kiko <status@sexmagnet.com>, bug #230695
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo x86_64)
Diffstat (limited to 'net-misc/icecast')
-rw-r--r--net-misc/icecast/ChangeLog6
-rw-r--r--net-misc/icecast/icecast-2.3.2.ebuild10
2 files changed, 10 insertions, 6 deletions
diff --git a/net-misc/icecast/ChangeLog b/net-misc/icecast/ChangeLog
index 6dbfba820d24..2c27fd0579ce 100644
--- a/net-misc/icecast/ChangeLog
+++ b/net-misc/icecast/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/icecast
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/icecast/ChangeLog,v 1.77 2008/06/08 21:20:38 loki_val Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/icecast/ChangeLog,v 1.78 2008/08/13 10:48:57 aballier Exp $
+
+ 13 Aug 2008; Alexis Ballier <aballier@gentoo.org> icecast-2.3.2.ebuild:
+ create icecast user at pkg_setup, by Kiko <status@sexmagnet.com>, bug
+ #230695
08 Jun 2008; Peter Alfredsen <loki_val@gentoo.org>
-files/1.3.12-errno.patch, -files/2.2.0-gentoo.patch:
diff --git a/net-misc/icecast/icecast-2.3.2.ebuild b/net-misc/icecast/icecast-2.3.2.ebuild
index 81f907f1c2f6..fb0672a5f18a 100644
--- a/net-misc/icecast/icecast-2.3.2.ebuild
+++ b/net-misc/icecast/icecast-2.3.2.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-misc/icecast/icecast-2.3.2.ebuild,v 1.2 2008/06/09 02:13:29 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/icecast/icecast-2.3.2.ebuild,v 1.3 2008/08/13 10:48:57 aballier Exp $
EAPI=1
@@ -26,6 +26,10 @@ DEPEND="dev-libs/libxslt
yp? ( net-misc/curl )
ssl? ( dev-libs/openssl )"
+pkg_setup() {
+ enewuser icecast -1 -1 -1 nogroup || die "Problem adding icecast user"
+}
+
src_unpack() {
base_src_unpack
elibtoolize
@@ -43,10 +47,6 @@ src_compile() {
emake || die "make failed"
}
-pkg_preinst() {
- enewuser icecast -1 "-1" -1 nogroup || die "Problem adding icecast user"
-}
-
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS README TODO HACKING NEWS conf/icecast.xml.dist || die