From cded822a2b83068941291b96881bb7dad03172ef Mon Sep 17 00:00:00 2001 From: Aaron Bauman Date: Wed, 20 Nov 2019 12:18:04 -0500 Subject: media-sound/mserv: drop last-rited pkg Signed-off-by: Aaron Bauman --- media-sound/mserv/Manifest | 1 - media-sound/mserv/files/mserv-0.35-acl | 2 - media-sound/mserv/files/mserv-0.35-confd | 7 -- media-sound/mserv/files/mserv-0.35-config | 49 --------- media-sound/mserv/files/mserv-0.35-initd | 22 ----- media-sound/mserv/files/mserv-0.35-mservplay.patch | 11 --- media-sound/mserv/files/mserv-0.35-paths.patch | 74 -------------- media-sound/mserv/files/mserv-0.35-webacl | 2 - media-sound/mserv/metadata.xml | 11 --- media-sound/mserv/mserv-0.35-r1.ebuild | 109 --------------------- 10 files changed, 288 deletions(-) delete mode 100644 media-sound/mserv/Manifest delete mode 100644 media-sound/mserv/files/mserv-0.35-acl delete mode 100644 media-sound/mserv/files/mserv-0.35-confd delete mode 100644 media-sound/mserv/files/mserv-0.35-config delete mode 100644 media-sound/mserv/files/mserv-0.35-initd delete mode 100644 media-sound/mserv/files/mserv-0.35-mservplay.patch delete mode 100644 media-sound/mserv/files/mserv-0.35-paths.patch delete mode 100644 media-sound/mserv/files/mserv-0.35-webacl delete mode 100644 media-sound/mserv/metadata.xml delete mode 100644 media-sound/mserv/mserv-0.35-r1.ebuild (limited to 'media-sound') diff --git a/media-sound/mserv/Manifest b/media-sound/mserv/Manifest deleted file mode 100644 index 0f025d3224c5..000000000000 --- a/media-sound/mserv/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST mserv-0.35.tar.gz 280299 BLAKE2B eb4ffe612b4373b1b381286b3f5e865393ac2a5a77c2026bace2fbde0caf8407c9750fb0d88d855cc56875df988ed7b54b91b67166e1cc890d8c0b6e4bb1ceec SHA512 a79340fc6ea02cf14dd0c223cf0d9feb5805b9e88d3dc1f4c854edbd9b8fe98c60b89c10555aa4214e153b17452c088dfde7700a5357a2c1a43c22af5d44255f diff --git a/media-sound/mserv/files/mserv-0.35-acl b/media-sound/mserv/files/mserv-0.35-acl deleted file mode 100644 index 201913ef2177..000000000000 --- a/media-sound/mserv/files/mserv-0.35-acl +++ /dev/null @@ -1,2 +0,0 @@ -root:a16aKMw/UDpfc:MASTER -guest:ax/jGzB/YyIVk:GUEST diff --git a/media-sound/mserv/files/mserv-0.35-confd b/media-sound/mserv/files/mserv-0.35-confd deleted file mode 100644 index 5d4feef5e05b..000000000000 --- a/media-sound/mserv/files/mserv-0.35-confd +++ /dev/null @@ -1,7 +0,0 @@ -# Set the port mserv listens on. By default, this is 4444, but -# Maya's document server uses this port also. -# -# If you change it here, make sure you change it in: -# /var/www/localhost/cgi-bin/mserv/mserv.cgi as well. - -PORT=4444 diff --git a/media-sound/mserv/files/mserv-0.35-config b/media-sound/mserv/files/mserv-0.35-config deleted file mode 100644 index 95afad8522d6..000000000000 --- a/media-sound/mserv/files/mserv-0.35-config +++ /dev/null @@ -1,49 +0,0 @@ -# Mserv configuration file for 0.33 and later - -# File locations, / at start is absolute, otherwise relative to mserv root -path_acl=/etc/mserv/acl -path_webacl=/etc/mserv/webacl -path_logfile=/var/log/mserv.log -path_tracks=/usr/local/share/tracks -path_trackinfo=/var/lib/mserv/trackinfo -path_playout=/var/spool/mserv/player.out -path_idea=idea -path_mixer=/dev/mixer -path_language=/usr/share/english.lang - -# Define player invokation methods -# mservplay is our special wrapper, the first parameter is a 'nice' level -# play is part of sox -prog_mpg123=/usr/bin/mpg123 -b 1024 -prog_freeamp=/usr/bin/freeamp -ui mpg123 -prog_mservplay=/usr/bin/mservplay 0 mpg123 -b 1024 -prog_play=/usr/bin/play -prog_ogg123=/usr/bin/ogg123 - -# Set players for each file extension we want to support, unknown extensions -# are ignored by mserv -player_mp3=prog_mpg123 -player_wav=prog_play -player_au=prog_play -player_ogg=prog_ogg - -# Set default random mode, either on or off. You must still tell mserv to -# start playing (PLAY). -random=off - -# Set whether or not you would like play to start as soon as mserv has loaded. -play=off - -# Set default random factor, 0.5 is completely random, 0.6 is less random -# and takes into account your ratings, 0.4 plays your worst tunes. 0.99 max. -factor=0.60 - -# Set default filter, leave blank for off. Example: "!classical" to -# not play classical genre, or "year>=1980&year<1990" to only play -# 80's songs. -filter= - -# Set gap between songs, in seconds. 0 to start the next song as quick as -# possible. -gap=1 - diff --git a/media-sound/mserv/files/mserv-0.35-initd b/media-sound/mserv/files/mserv-0.35-initd deleted file mode 100644 index 86a5a4049562..000000000000 --- a/media-sound/mserv/files/mserv-0.35-initd +++ /dev/null @@ -1,22 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License, v2 or later - -depend() { - need net - after apache - after apache2 -} - -start() { - ebegin "Starting Mserv" - start-stop-daemon --start -o -b --chuid mserv --exec /usr/bin/mserv -- \ - -r /var/spool/mserv -c /etc/mserv/config -p ${PORT} - eend $? -} - -stop() { - ebegin "Stopping Mserv" - start-stop-daemon --stop -o -q --exec /usr/bin/mserv - eend $? -} diff --git a/media-sound/mserv/files/mserv-0.35-mservplay.patch b/media-sound/mserv/files/mserv-0.35-mservplay.patch deleted file mode 100644 index 45beafe68551..000000000000 --- a/media-sound/mserv/files/mserv-0.35-mservplay.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- mserv-0.35.orig/support/mservplay.c 2003-08-28 20:10:17.000000000 -0700 -+++ mserv-0.35/support/mservplay.c 2003-08-29 15:16:13.000000000 -0700 -@@ -43,7 +43,7 @@ - fprintf(stderr, "%s: setuid: %s\n", argv[0], strerror(errno)); - exit(1); - } -- if (stricmp(argv[2], "mpg123")) { -+ if (strcasecmp(argv[2], "mpg123")) { - fprintf(stderr, "%s: Unrecognised player type, must be 'mpg123'", - argv[0]); - exit(1); diff --git a/media-sound/mserv/files/mserv-0.35-paths.patch b/media-sound/mserv/files/mserv-0.35-paths.patch deleted file mode 100644 index dca7560ddcb7..000000000000 --- a/media-sound/mserv/files/mserv-0.35-paths.patch +++ /dev/null @@ -1,74 +0,0 @@ ---- mserv-0.35.orig/mserv/defconf.c 2003-08-28 20:10:17.000000000 -0700 -+++ mserv-0.35/mserv/defconf.c 2003-08-28 23:04:14.000000000 -0700 -@@ -16,11 +16,11 @@ - # Define player invokation methods\n\ - # mservplay is our special wrapper, the first parameter is a 'nice' level\n\ - # play is part of sox\n\ --prog_mpg123=/usr/local/bin/mpg123 -b 1024\n\ --prog_freeamp=/usr/local/bin/freeamp -ui mpg123\n\ --prog_mservplay=/usr/local/bin/mservplay 0 mpg123 -b 1024\n\ --prog_play=/usr/local/bin/play\n\ --prog_ogg123=/usr/local/bin/ogg123\n\ -+prog_mpg123=/usr/bin/mpg123 -b 1024\n\ -+prog_freeamp=/usr/bin/freeamp -ui mpg123\n\ -+prog_mservplay=/usr/bin/mservplay 0 mpg123 -b 1024\n\ -+prog_play=/usr/bin/play\n\ -+prog_ogg123=/usr/bin/ogg123\n\ - \n\ - # Set players for each file extension we want to support, unknown extensions\n\ - # are ignored by mserv\n\ ---- mserv-0.35.orig/webclient/index.html 2003-08-28 20:10:17.000000000 -0700 -+++ mserv-0.35/webclient/index.html 2003-08-29 17:02:10.000000000 -0700 -@@ -9,7 +9,7 @@ - -
- -- -+ - - - -@@ -23,6 +23,6 @@ - - -
User
--

GUEST ACCESS

-+

GUEST ACCESS

-
- ---- mserv-0.35.orig/webclient/margin.cgi 2003-08-28 20:10:17.000000000 -0700 -+++ mserv-0.35/webclient/margin.cgi 2003-08-30 16:14:27.000000000 -0700 -@@ -15,11 +15,11 @@ - - Mserv web interface - margin - -- -+ -

- -
--

Mserv

-+

Mserv

-

Status -
Albums -
Queue ---- mserv-0.35.orig/webclient/mserv.cgi 2003-08-28 20:10:17.000000000 -0700 -+++ mserv-0.35/webclient/mserv.cgi 2003-08-30 16:14:47.000000000 -0700 -@@ -3,7 +3,7 @@ - $guestuser = 'guest'; - $guestpass = 'guest'; - $host = 'localhost:4444'; --$mservcmd = '/usr/local/bin/mservcmd'; -+$mservcmd = '/usr/bin/mservcmd'; - - use POSIX; - use CGI; -@@ -34,7 +34,7 @@ - - Mserv - -- -+ - EOF - - if ($page eq 'status') { diff --git a/media-sound/mserv/files/mserv-0.35-webacl b/media-sound/mserv/files/mserv-0.35-webacl deleted file mode 100644 index 9e438c085d5c..000000000000 --- a/media-sound/mserv/files/mserv-0.35-webacl +++ /dev/null @@ -1,2 +0,0 @@ -root:a16aKMw/UDpfc -guest:ax/jGzB/YyIVk diff --git a/media-sound/mserv/metadata.xml b/media-sound/mserv/metadata.xml deleted file mode 100644 index f90a8229753f..000000000000 --- a/media-sound/mserv/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - sound@gentoo.org - Gentoo Sound project - - - mserv - - diff --git a/media-sound/mserv/mserv-0.35-r1.ebuild b/media-sound/mserv/mserv-0.35-r1.ebuild deleted file mode 100644 index 4c5deb1947b4..000000000000 --- a/media-sound/mserv/mserv-0.35-r1.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=0 - -inherit depend.apache webapp eutils toolchain-funcs user - -DESCRIPTION="Jukebox-style music server" -HOMEPAGE="http://www.mserv.org" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" -LICENSE="mserv" - -KEYWORDS="amd64 ~ppc sparc x86" -IUSE="vorbis" - -WEBAPP_MANUAL_SLOT="yes" -SLOT="0" - -RDEPEND=">=dev-lang/perl-5.6.1 - media-sound/mpg123 - media-sound/sox - vorbis? ( media-sound/vorbis-tools )" -DEPEND="" - -need_apache - -pkg_setup() { - webapp_pkg_setup - enewgroup mserv - enewuser mserv -1 -1 /dev/null mserv,audio -} - -src_unpack() { - unpack ${A} - 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() { - econf - emake || die "emake failed" - - # Optional suid wrapper - cd "${S}"/support - $(tc-getCC) -I.. -I../mserv ${CFLAGS} ${LDFLAGS} mservplay.c -o mservplay || die -} - -src_install() { - webapp_src_preinst - - emake DESTDIR="${D}" install || die "emake install failed" - - dobin support/mservedit support/mservripcd support/mservplay - dodoc AUTHORS ChangeLog docs/quick-start.txt - - # Web client - dodir ${MY_CGIBINDIR}/${PN} - cp webclient/*.cgi "${D}"/${MY_CGIBINDIR}/${PN} - cp webclient/*.gif webclient/index.html "${D}"/${MY_HTDOCSDIR} - - webapp_src_install - - # 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 - insinto ${MY_HOSTROOTDIR}/${PN} - fowners mserv:mserv ${MY_HOSTROOTDIR}/${PN} - newins "${FILESDIR}"/${P}-config config - newins "${FILESDIR}"/${P}-webacl webacl - newins "${FILESDIR}"/${P}-acl acl - fperms 0600 ${MY_HOSTROOTDIR}/${PN}/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() { - 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." - ewarn - ewarn "Please edit /etc/mserv/config and set path_tracks" - ewarn "to the location of your music files." - webapp_pkg_postinst -} -- cgit v1.2.3-65-gdbad