diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-08-13 10:48:57 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-08-13 10:48:57 +0000 |
commit | e202ea40d0b3bfb480bba1f03c8204ede088ebf2 (patch) | |
tree | fd6bbfaf601be2e52f66cf338312ce0ebe621ce6 /net-misc/icecast/icecast-2.3.2.ebuild | |
parent | Fix ffmpeg use mask for gnash to be <0.8.3. (diff) | |
download | gentoo-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/icecast-2.3.2.ebuild')
-rw-r--r-- | net-misc/icecast/icecast-2.3.2.ebuild | 10 |
1 files changed, 5 insertions, 5 deletions
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 |