diff options
author | Aaron Bauman <bman@gentoo.org> | 2019-11-20 12:18:04 -0500 |
---|---|---|
committer | Aaron Bauman <bman@gentoo.org> | 2019-11-20 12:27:47 -0500 |
commit | cded822a2b83068941291b96881bb7dad03172ef (patch) | |
tree | 6dba7e8aabad1cd6af837150866a2bea4b98bc68 /media-sound | |
parent | media-gfx/galleryadd: drop last-rited pkg (diff) | |
download | gentoo-cded822a2b83068941291b96881bb7dad03172ef.tar.gz gentoo-cded822a2b83068941291b96881bb7dad03172ef.tar.bz2 gentoo-cded822a2b83068941291b96881bb7dad03172ef.zip |
media-sound/mserv: drop last-rited pkg
Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/mserv/Manifest | 1 | ||||
-rw-r--r-- | media-sound/mserv/files/mserv-0.35-acl | 2 | ||||
-rw-r--r-- | media-sound/mserv/files/mserv-0.35-confd | 7 | ||||
-rw-r--r-- | media-sound/mserv/files/mserv-0.35-config | 49 | ||||
-rw-r--r-- | media-sound/mserv/files/mserv-0.35-initd | 22 | ||||
-rw-r--r-- | media-sound/mserv/files/mserv-0.35-mservplay.patch | 11 | ||||
-rw-r--r-- | media-sound/mserv/files/mserv-0.35-paths.patch | 74 | ||||
-rw-r--r-- | media-sound/mserv/files/mserv-0.35-webacl | 2 | ||||
-rw-r--r-- | media-sound/mserv/metadata.xml | 11 | ||||
-rw-r--r-- | media-sound/mserv/mserv-0.35-r1.ebuild | 109 |
10 files changed, 0 insertions, 288 deletions
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 @@ - <tr><td> - <center> - <table> --<form method=post action="main.cgi"> -+<form method=post action="/cgi-bin/mserv/main.cgi"> - <tr> - <td>User</td> - <td><input type=text name=user size=10 maxsize=10></td> -@@ -23,6 +23,6 @@ - </center> - </td></tr> - </table> --<p><a href="main.cgi">GUEST ACCESS</a></p> -+<p><a href="/cgi-bin/mserv/main.cgi">GUEST ACCESS</a></p> - </center> - </html> ---- 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 @@ - <head> - <title>Mserv web interface - margin</title> - </head> --<body bgcolor="#ffffff" background="back.gif"> -+<body bgcolor="#ffffff" background="/mserv/back.gif"> - <p align=center><center> - <table> - <tr><td> --<p align=center><img src="mserv7.gif" alt="Mserv"></p> -+<p align=center><img src="/mserv/mserv7.gif" alt="Mserv"></p> - <p><font size="2"><a target=main href="mserv.cgi?user=$user&pass=$pass&page=status">Status</a> - <br><a target=main href="mserv.cgi?user=$user&pass=$pass&page=albums">Albums</a> - <br><a target=main href="mserv.cgi?user=$user&pass=$pass&page=queue">Queue</a> ---- 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 @@ - <head> - <title>Mserv</title> - </head> --<body bgcolor="#ffffff" background="back.gif"> -+<body bgcolor="#ffffff" background="/mserv/back.gif"> - 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 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sound@gentoo.org</email> - <name>Gentoo Sound project</name> - </maintainer> - <upstream> - <remote-id type="sourceforge">mserv</remote-id> - </upstream> -</pkgmetadata> 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 -} |