diff options
author | Alexis Ballier <aballier@gentoo.org> | 2007-06-15 16:14:32 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2007-06-15 16:14:32 +0000 |
commit | 75472141c770224af478119e921d172b7a9a0687 (patch) | |
tree | db8bb1889b3607c18f2acb9cf990f33110a07945 /media-sound/mserv | |
parent | Stable on amd64 wrt bug 181966 (diff) | |
download | gentoo-2-75472141c770224af478119e921d172b7a9a0687.tar.gz gentoo-2-75472141c770224af478119e921d172b7a9a0687.tar.bz2 gentoo-2-75472141c770224af478119e921d172b7a9a0687.zip |
remove version using obsolete webapp-apache eclass, bug #182129
(Portage version: 2.1.3_rc1)
Diffstat (limited to 'media-sound/mserv')
-rw-r--r-- | media-sound/mserv/ChangeLog | 5 | ||||
-rw-r--r-- | media-sound/mserv/files/digest-mserv-0.35 | 3 | ||||
-rw-r--r-- | media-sound/mserv/mserv-0.35.ebuild | 103 |
3 files changed, 4 insertions, 107 deletions
diff --git a/media-sound/mserv/ChangeLog b/media-sound/mserv/ChangeLog index 148312ba9db2..899dd5b83976 100644 --- a/media-sound/mserv/ChangeLog +++ b/media-sound/mserv/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-sound/mserv # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mserv/ChangeLog,v 1.21 2007/02/10 04:17:31 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/mserv/ChangeLog,v 1.22 2007/06/15 16:14:32 aballier Exp $ + + 15 Jun 2007; Alexis Ballier <aballier@gentoo.org> -mserv-0.35.ebuild: + remove version using obsolete webapp-apache eclass, bug #182129 10 Feb 2007; Steve Dibb <beandog@gentoo.org> mserv-0.35-r1.ebuild: amd64 stable, bug 134758 diff --git a/media-sound/mserv/files/digest-mserv-0.35 b/media-sound/mserv/files/digest-mserv-0.35 deleted file mode 100644 index 3cf90ee5cc09..000000000000 --- a/media-sound/mserv/files/digest-mserv-0.35 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 8ba12b7b015f1262f00166b3db7b05d3 mserv-0.35.tar.gz 280299 -RMD160 0665c1b1807da675486b58013715b737b8de606e mserv-0.35.tar.gz 280299 -SHA256 7072ffbea66fd17e1ee0ab81de57eac612cbcb25587931602db85536158dd442 mserv-0.35.tar.gz 280299 diff --git a/media-sound/mserv/mserv-0.35.ebuild b/media-sound/mserv/mserv-0.35.ebuild deleted file mode 100644 index 7a2e9dc7a1d1..000000000000 --- a/media-sound/mserv/mserv-0.35.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mserv/mserv-0.35.ebuild,v 1.14 2007/01/05 17:39:09 flameeyes Exp $ - -inherit webapp-apache eutils toolchain-funcs - -DESCRIPTION="Jukebox-style music server" -HOMEPAGE="http://www.mserv.org" -SRC_URI="mirror://sourceforge/mserv/${P}.tar.gz" - -LICENSE="mserv" -SLOT="0" -KEYWORDS="amd64 ~ppc sparc x86" -IUSE="vorbis" - -RDEPEND=">=dev-lang/perl-5.6.1 - virtual/mpg123 - media-sound/sox - net-www/apache - vorbis? ( media-sound/vorbis-tools )" - -pkg_setup() { - enewgroup mserv - enewuser mserv -1 -1 /dev/null mserv -G audio -} - -src_unpack() { - unpack ${P}.tar.gz - cd ${S} - - # Adjust paths to match Gentoo - epatch ${FILESDIR}/${P}-paths.patch - # Mservplay uses stricmp - should be strcasecmp - epatch ${FILESDIR}/${P}-mservplay.patch -} - -src_compile() { - webapp-detect - - econf || die "configure failed" - emake || die "make failed" - - # Optional suid wrapper - cd ${S}/support - $(tc-getCC) -I.. -I../mserv ${CFLAGS} ${LDFLAGS} mservplay.c -o mservplay || die -} - -src_install() { - webapp-detect - - make DESTDIR=${D} install || die "make install failed" - - dobin support/mservedit support/mservripcd support/mservplay - dodoc AUTHORS ChangeLog docs/quick-start.txt - - # Web client - exeinto ${HTTPD_CGIBIN}/mserv - doexe webclient/*.cgi - insinto ${HTTPD_ROOT}/mserv - doins webclient/*.gif webclient/index.html - - # Configuration files - insopts -o mserv -g mserv -m0644 - insinto /etc/mserv - fowners mserv:mserv /etc/mserv - newins ${FILESDIR}/${P}-config config - newins ${FILESDIR}/${P}-webacl webacl - newins ${FILESDIR}/${P}-acl acl - fperms 0600 /etc/mserv/acl - - newinitd ${FILESDIR}/${P}-initd ${PN} - newconfd ${FILESDIR}/${P}-confd ${PN} - - # Log file - dodir /var/log - touch ${D}var/log/mserv.log - fowners mserv:mserv /var/log/mserv.log - - # Track and album info - keepdir /var/lib/mserv/trackinfo - fowners mserv:mserv /var/lib/mserv/trackinfo - - # Current track output - dodir /var/spool/mserv - touch ${D}var/spool/mserv/player.out - fowners mserv:mserv /var/spool/mserv /var/spool/mserv/player.out -} - -pkg_postinst() { - webapp-detect - - elog - elog "The wrapper program 'mservplay' is disabled for" - elog "security reasons. If you wish to use mservplay" - elog "to pass a 'nice' value to mpg123, you must make" - elog "/usr/bin/mservplay suid root." - elog - elog "The web client has been installed in" - elog "${HTTPD_ROOT}/mserv." - ewarn - ewarn "Please edit /etc/mserv/config and set path_tracks" - ewarn "to the location of your music files." -} |