commit: 0145211c59dfee04e6952eb0141c0f4a3fcd0404
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 21 05:58:54 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jun 21 05:58:54 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=0145211c
media-sound/gnump3d: drop broken package
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-sound/gnump3d/Manifest | 1 -
media-sound/gnump3d/files/gnump3d-3.0-prefix.patch | 13 ----
media-sound/gnump3d/files/gnump3d.conf.d | 5 --
media-sound/gnump3d/files/gnump3d.init.d | 37 ---------
media-sound/gnump3d/gnump3d-3.0-r1.ebuild | 87 ----------------------
media-sound/gnump3d/gnump3d-3.0.ebuild | 79 --------------------
media-sound/gnump3d/metadata.xml | 8 --
7 files changed, 230 deletions(-)
diff --git a/media-sound/gnump3d/Manifest b/media-sound/gnump3d/Manifest
deleted file mode 100644
index abae458706..0000000000
--- a/media-sound/gnump3d/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST gnump3d-3.0.tar.bz2 633215 BLAKE2B
aec3e2e95ebcbf2b9465f8f7e5cf579fe64e9e48d3b1757f78d3102f3a02f92970cbccc5986741013505e1b2f0e54e0d7a7c3871837c6169898e763f23e7fcca
SHA512
23778604b557346e42f5cd2045cc394c7d6f7044479c74cd635dfdbbfd6835c8e3ad761d54c5cba239cc5e020b049ac11d64eb463272fc4134b7645226e2524b
diff --git a/media-sound/gnump3d/files/gnump3d-3.0-prefix.patch
b/media-sound/gnump3d/files/gnump3d-3.0-prefix.patch
deleted file mode 100644
index b8edb8c02d..0000000000
--- a/media-sound/gnump3d/files/gnump3d-3.0-prefix.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -ru gnump3d-3.0.orig/bin/getlibdir gnump3d-3.0/bin/getlibdir
---- gnump3d-3.0.orig/bin/getlibdir 2008-03-14 10:34:48 +0100
-+++ gnump3d-3.0/bin/getlibdir 2008-03-14 10:38:19 +0100
-@@ -41,7 +41,8 @@
- # Only examine directories beneath /usr or /Library
- # (The latter is for Mac OS X).
- #
--my @dirs = grep( /^\/usr|^\/Library/, @INC );
-+my $prefix="@GENTOO_PORTAGE_EPREFIX@";
-+my @dirs = grep( /^$prefix/, @INC );
-
-
- #
diff --git a/media-sound/gnump3d/files/gnump3d.conf.d
b/media-sound/gnump3d/files/gnump3d.conf.d
deleted file mode 100644
index 9fe7523c12..0000000000
--- a/media-sound/gnump3d/files/gnump3d.conf.d
+++ /dev/null
@@ -1,5 +0,0 @@
-# Set this to 0 to stop the init script from indexing your mp3s.
-# It takes the longest on the first time, but after that, it only does
-# updates.
-
-DO_INDEX=1
diff --git a/media-sound/gnump3d/files/gnump3d.init.d
b/media-sound/gnump3d/files/gnump3d.init.d
deleted file mode 100644
index 62c8eeb0a9..0000000000
--- a/media-sound/gnump3d/files/gnump3d.init.d
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/gnump3d/files/gnump3d.init.d,v
1.5 2011/12/13 23:11:35 radhermit Exp $
-
-extra_commands="index"
-
-depend() {
- need net
- after netmount nfsmount
-}
-
-start() {
- ebegin "Starting gnump3d"
-
- if [ ${DO_INDEX} -eq 1 ]; then
- ebegin "Updating index of music files (may take a while for the
first time)"
- /usr/bin/gnump3d-index
- eend $?
- fi
-
- start-stop-daemon --start --quiet --exec /usr/bin/gnump3d2
--make-pidfile \
- --pidfile /var/run/gnump3d.pid --background -- --quiet
- eend $?
-}
-
-stop() {
- ebegin "Stopping gnump3d"
- start-stop-daemon --stop --quiet --pidfile /var/run/gnump3d.pid
- eend $?
-}
-
-index() {
- ebegin "Indexing music files"
- /usr/bin/gnump3d-index
- eend $?
-}
diff --git a/media-sound/gnump3d/gnump3d-3.0-r1.ebuild
b/media-sound/gnump3d/gnump3d-3.0-r1.ebuild
deleted file mode 100644
index d0881a1e29..0000000000
--- a/media-sound/gnump3d/gnump3d-3.0-r1.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/gnump3d/gnump3d-3.0-r1.ebuild,v
1.6 2012/06/09 23:08:40 zmedico Exp $
-
-inherit eutils multilib user prefix
-
-MY_PV=${PV/9/9final}
-MY_P=${PN}-${MY_PV}
-
-DESCRIPTION="A streaming server for MP3, OGG vorbis and other streamable files"
-HOMEPAGE="http://www.gnu.org/software/gnump3d/"
-SRC_URI="http://savannah.gnu.org/download/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="sox"
-
-RDEPEND="dev-lang/perl
- sox? ( media-sound/sox )"
-DEPEND="dev-lang/perl
- sys-apps/sed"
-
-RESTRICT="test"
-
-S="${WORKDIR}"/${MY_P}
-
-pkg_setup() {
- enewuser gnump3d '' '' '' nogroup
- LIBDIR="${EPREFIX}"/usr/$(get_libdir)
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/${P}-prefix.patch
- eprefixify bin/getlibdir
-}
-
-src_compile() { :; }
-
-src_install() {
- PERLDIR="`perl bin/getlibdir`"
- PERLDIR=${PERLDIR#${EPREFIX}}
-
- insinto ${PERLDIR}/gnump3d
- doins lib/gnump3d/*.pm
- insinto ${PERLDIR}/gnump3d/plugins
- doins lib/gnump3d/plugins/*.pm
- insinto ${PERLDIR}/gnump3d/lang
- doins lib/gnump3d/lang/*.pm
-
- dobin bin/gnump3d2 bin/gnump3d-top bin/gnump3d-index
- dosym /usr/bin/gnump3d2 /usr/bin/gnump3d
- doman man/*.1
-
- insinto /usr/share/gnump3d
- doins -r templates/*
-
- insinto /etc/gnump3d
- doins etc/gnump3d.conf etc/mime.types etc/file.types
- dosed "s,PLUGINDIR,${PERLDIR},g" /etc/gnump3d/gnump3d.conf
- dosed 's,^user *= *\(.*\)$,user = gnump3d,g' /etc/gnump3d/gnump3d.conf
-
- dodoc AUTHORS ChangeLog DOWNSAMPLING PLUGINS README SUPPORT TODO
-
- newinitd "${FILESDIR}"/${PN}.init.d gnump3d
- newconfd "${FILESDIR}"/${PN}.conf.d gnump3d
-
- keepdir /var/log/gnump3d
- keepdir /var/cache/gnump3d/serving
-
- use prefix || fowners gnump3d:nogroup /var/log/gnump3d
/var/cache/gnump3d
-}
-
-pkg_postinst() {
- elog "Please edit your /etc/gnump3d/gnump3d.conf before running"
- elog "/etc/init.d/gnump3d start"
- elog ""
- elog "At the very least, you will need to change the root directory"
- elog "where music is found. By default, gnump3d will also listen"
- elog "to any address on port 8888"
- elog ""
- elog "You can optionally use sox to downmix the quality of streamed"
- elog "music in realtime for slow connections."
-}
diff --git a/media-sound/gnump3d/gnump3d-3.0.ebuild
b/media-sound/gnump3d/gnump3d-3.0.ebuild
deleted file mode 100644
index 4f677816fa..0000000000
--- a/media-sound/gnump3d/gnump3d-3.0.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/gnump3d/gnump3d-3.0.ebuild,v
1.10 2012/06/09 23:08:40 zmedico Exp $
-
-inherit eutils multilib user prefix
-
-MY_PV=${PV/9/9final}
-MY_P=${PN}-${MY_PV}
-
-DESCRIPTION="A streaming server for MP3, OGG vorbis and other streamable files"
-HOMEPAGE="http://www.gnu.org/software/gnump3d/"
-SRC_URI="http://savannah.gnu.org/download/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64-linux ~x86-linux ~ppc-macos"
-IUSE=""
-
-RDEPEND="dev-lang/perl"
-DEPEND="${RDEPEND}
- sys-apps/sed"
-
-RESTRICT="test"
-
-S="${WORKDIR}"/${MY_P}
-
-pkg_setup() {
- enewuser gnump3d '' '' '' nogroup
- LIBDIR="${EPREFIX}"/usr/$(get_libdir)
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/${P}-prefix.patch
- eprefixify bin/getlibdir
-}
-
-src_compile() { :; }
-
-src_install() {
- PERLDIR="`perl bin/getlibdir`"
- PERLDIR=${PERLDIR#${EPREFIX}}
-
- insinto ${PERLDIR}/gnump3d
- doins lib/gnump3d/*.pm
- insinto ${PERLDIR}/gnump3d/plugins
- doins lib/gnump3d/plugins/*.pm
- insinto ${PERLDIR}/gnump3d/lang
- doins lib/gnump3d/lang/*.pm
-
- dobin bin/gnump3d2 bin/gnump3d-top bin/gnump3d-index
- dosym /usr/bin/gnump3d2 /usr/bin/gnump3d
- doman man/*.1
-
- insinto /usr/share/gnump3d
- doins -r templates/*
-
- insinto /etc/gnump3d
- doins etc/gnump3d.conf etc/mime.types etc/file.types
- dosed "s,PLUGINDIR,${PERLDIR},g" /etc/gnump3d/gnump3d.conf
- dosed 's,^user *= *\(.*\)$,user = gnump3d,g' /etc/gnump3d/gnump3d.conf
-
- dodoc AUTHORS ChangeLog DOWNSAMPLING PLUGINS README SUPPORT TODO
-
- newinitd "${FILESDIR}"/${PN}.init.d gnump3d
- newconfd "${FILESDIR}"/${PN}.conf.d gnump3d
-
- keepdir /var/log/gnump3d
- keepdir /var/cache/gnump3d/serving
-
- use prefix || fowners gnump3d:nogroup /var/log/gnump3d
/var/cache/gnump3d
-}
-
-pkg_postinst() {
- elog "Please edit your /etc/gnump3d/gnump3d.conf before running"
- elog "/etc/init.d/gnump3d start"
-}
diff --git a/media-sound/gnump3d/metadata.xml b/media-sound/gnump3d/metadata.xml
deleted file mode 100644
index c870d0eef0..0000000000
--- a/media-sound/gnump3d/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="project">
- <email>[email protected]</email>
- <name>Gentoo Sound project</name>
-</maintainer>
-</pkgmetadata>