removing old ebulds of forked-daapd, mt-daap and shairport.

This commit is contained in:
Micha Glave
2013-10-23 14:47:06 +02:00
parent e57ec6b5ed
commit b38b7b5a5c
16 changed files with 2 additions and 954 deletions

View File

@@ -1,7 +0,0 @@
AUX forked-daapd-0.12-configure.patch 1979 RMD160 16bbc89a5cc24707ef48d7c5f2d256c714229c6a SHA1 00446622462c2ee140ed4c105fcdaa9665566620 SHA256 7219d73fd80737c80d797f172787a85bc929ea31080a1fb943e9013ae66d1a67
AUX forked-daapd-0.12-libevent.patch 1920 RMD160 27954e9e44f7e4f846f68ee5556dbf78a1b236b1 SHA1 e1118ad1d752e06b76ce3225dd446044e09b4f97 SHA256 331873f0a4bc43b2201a952a9e8c60698c57c0cbe553947776a173ec2ff03259
AUX forked-daapd.init.d 1275 RMD160 62adf7e4d7ff84725d2f10cbcc140f80eb4095e7 SHA1 9326a2400f8ae76131a25246e396dd00662ca474 SHA256 6861f37fea94e8b36638a4c15856f449593e389dc4bff6aa1f65db7d1beea5de
DIST forked-daapd-0.16.tar.gz 625910 RMD160 ccd55c08b2857e39bb68bd28cefa92e5f7212527 SHA1 5478cce18cc0b3aad204f4bcbe1f58530d08fa1d SHA256 005ffa56ae15a6800bff8a8d7d5558d9b41e4503daef0338f242d7434b752d4c
DIST forked-daapd-0.19.tar.gz 631428 RMD160 42b8a8a2679d00217d7067e31cc7029ef9a13295 SHA1 ae886eb92630dafccfd694675641e60bd4367a89 SHA256 3ce25132e5d8408f665ed2cc82688796192989ff7949b32e797af028ad046bb6
EBUILD forked-daapd-0.16.ebuild 2029 RMD160 50c50a48c5e76cfbf14d056297a3692a5fcb86cf SHA1 1aeafadbb9ceb125d42059497ee926ad1c9c9dc6 SHA256 d09e1085801cbb4446d56c003b3156bae458334699d5c7b1d2614c55313c2ca6
EBUILD forked-daapd-0.19.ebuild 2029 RMD160 50c50a48c5e76cfbf14d056297a3692a5fcb86cf SHA1 1aeafadbb9ceb125d42059497ee926ad1c9c9dc6 SHA256 d09e1085801cbb4446d56c003b3156bae458334699d5c7b1d2614c55313c2ca6

View File

@@ -1,56 +0,0 @@
--- configure.in.orig 2010-05-02 11:21:07.000000000 +0200
+++ configure.in 2010-08-09 23:19:31.000000000 +0200
@@ -45,21 +45,15 @@
AC_SYS_LARGEFILE
AC_TYPE_OFF_T
-AC_ARG_ENABLE(flac, AC_HELP_STRING([--enable-flac], [Enable FLAC support]),
- use_flac=true;
- CPPFLAGS="${CPPFLAGS} -DFLAC")
-
-AC_ARG_ENABLE(musepack, AC_HELP_STRING([--enable-musepack], [Enable Musepack support]),
- use_musepack=true;
- CPPFLAGS="${CPPFLAGS} -DMUSEPACK")
-
-AC_ARG_ENABLE(itunes, AC_HELP_STRING([--enable-itunes], [Enable iTunes library support]),
- use_itunes=true;
- CPPFLAGS="${CPPFLAGS} -DITUNES")
-
-AM_CONDITIONAL(COND_FLAC, test x$use_flac = xtrue)
-AM_CONDITIONAL(COND_MUSEPACK, test x$use_musepack = xtrue)
-AM_CONDITIONAL(COND_ITUNES, test x$use_itunes = xtrue)
+AC_ARG_ENABLE(flac, AC_HELP_STRING([--enable-flac], [Enable FLAC support]))
+
+AC_ARG_ENABLE(musepack, AC_HELP_STRING([--enable-musepack], [Enable Musepack support]))
+
+AC_ARG_ENABLE(itunes, AC_HELP_STRING([--enable-itunes], [Enable iTunes library support]))
+
+AM_CONDITIONAL(COND_FLAC, test x$enable_flac = xtrue)
+AM_CONDITIONAL(COND_MUSEPACK, test x$enable_musepack = xtrue)
+AM_CONDITIONAL(COND_ITUNES, test x$enable_itunes = xtrue)
dnl Checks for libraries.
PKG_CHECK_MODULES(CONFUSE, [ libconfuse ])
@@ -108,16 +102,19 @@
AM_PATH_LIBGCRYPT([], , AC_MSG_ERROR([libgcrypt not found]))
-if test x$use_flac = xtrue; then
+if test x$enable_flac = xtrue; then
PKG_CHECK_MODULES(FLAC, [ flac ])
+ CPPFLAGS="${CPPFLAGS} -DFLAC"
fi
-if test x$use_musepack = xtrue; then
+if test x$enable_musepack = xtrue; then
PKG_CHECK_MODULES(TAGLIB, [ taglib_c ])
+ CPPFLAGS="${CPPFLAGS} -DMUSEPACK"
fi
-if test x$use_itunes = xtrue; then
+if test x$enable_itunes = xtrue; then
PKG_CHECK_MODULES(LIBPLIST, [ libplist >= 0.16 ])
+ CPPFLAGS="${CPPFLAGS} -DITUNES"
fi
case "$host" in

View File

@@ -1,100 +0,0 @@
diff --git a/src/evhttp/http.c b/src/evhttp/http.c
index 6774a32..09ac677 100644
--- a/src/evhttp/http.c
+++ b/src/evhttp/http.c
@@ -25,8 +25,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <event-config.h>
-
#ifdef _EVENT_HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
@@ -71,17 +69,17 @@
#endif
#include <signal.h>
#include <time.h>
+
+#undef timeout_pending
+#undef timeout_initialized
+
+#include <event.h>
#ifdef _EVENT_HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef _EVENT_HAVE_FCNTL_H
#include <fcntl.h>
#endif
-
-#undef timeout_pending
-#undef timeout_initialized
-
-#include <event.h>
#include "evhttp.h"
#include <evutil.h>
#include "log.h"
diff --git a/src/evrtsp/rtsp.c b/src/evrtsp/rtsp.c
index 242dbe4..dc6ef10 100644
--- a/src/evrtsp/rtsp.c
+++ b/src/evrtsp/rtsp.c
@@ -28,21 +28,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <event-config.h>
-
-#ifdef _EVENT_HAVE_SYS_PARAM_H
-#include <sys/param.h>
-#endif
-#ifdef _EVENT_HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
-
-#ifdef _EVENT_HAVE_SYS_TIME_H
-#include <sys/time.h>
-#endif
-#ifdef _EVENT_HAVE_SYS_IOCCOM_H
-#include <sys/ioccom.h>
-#endif
#ifndef WIN32
#include <sys/resource.h>
@@ -74,6 +59,26 @@
#endif
#include <signal.h>
#include <time.h>
+
+#undef timeout_pending
+#undef timeout_initialized
+
+#include <event.h>
+
+#ifdef _EVENT_HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
+#ifdef _EVENT_HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+
+#ifdef _EVENT_HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
+#ifdef _EVENT_HAVE_SYS_IOCCOM_H
+#include <sys/ioccom.h>
+#endif
+
#ifdef _EVENT_HAVE_UNISTD_H
#include <unistd.h>
#endif
@@ -81,10 +86,6 @@
#include <fcntl.h>
#endif
-#undef timeout_pending
-#undef timeout_initialized
-
-#include <event.h>
#include "evrtsp.h"
#include <evutil.h>
/* #define USE_DEBUG */

View File

@@ -1,46 +0,0 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# Based on mt-daapd init.d file created for gentoo
#
# You can run multiple copies of this service just symlinking them to
# forked-daapd.<name>, then it will load /etc/forked-daapd.d/<name>.conf as config
# file.
# Remember to give them different logs and cache directories.
#
# The main instance (with no <name>) uses /etc/forked-daapd.conf
# Check for OpenRC/Baselayout 2 -- see bug #230917
if [ -f /lib/librc.so -o -f /etc/init.d/sysfs -o -f /lib/rc/version ]; then
myservice=$RC_SVCNAME
fi
CONF="${myservice##*.}"
if [[ -n ${CONF} && ${myservice} != "forked-daapd" ]]; then
PIDFILE="/var/run/forked-daapd.${CONF}.pid"
CONFFILE="/etc/forked-daapd.d/${CONF}.conf"
else
PIDFILE="/var/run/forked-daapd.pid"
CONFFILE="/etc/forked-daapd.conf"
fi
depend() {
need net
#USEHOWL need mDNSResponderPosix
}
start() {
ebegin "Starting forked-daapd DAAP server"
start-stop-daemon --start --quiet --pidfile ${PIDFILE} \
--exec /usr/sbin/forked-daapd -- -P ${PIDFILE} -c ${CONFFILE}
eend $?
}
stop() {
ebegin "Stopping forked-daapd DAAP server"
start-stop-daemon --stop --quiet --pidfile ${PIDFILE} --signal 2
eend $?
rm -f ${PIDFILE}
}

View File

@@ -1,79 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit eutils autotools
DESCRIPTION="DAAP and RSP media server. It is a complete rewrite of mt-daapd (Firefly Media Server)."
HOMEPAGE="http://www.technologeek.org/projects/daapd/index.html"
SRC_URI="http://alioth.debian.org/~jblache/forked-daapd/${PN}-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="flac itunes musepack"
RDEPEND="itunes? ( >=app-pda/libplist-0.16 )
dev-db/sqlite:3[unlock-notify,threadsafe]
>=dev-libs/antlr-c-3.1.3
>=dev-libs/avl-0.3.5
dev-libs/confuse
dev-libs/libevent
dev-libs/libgcrypt
>=dev-libs/libunistring-0.9.3
dev-libs/mini-xml
media-libs/alsa-lib
flac? ( media-libs/flac )
musepack? ( media-libs/taglib )
>=net-dns/avahi-0.6.24
>=sys-libs/zlib-1.2.5-r2
virtual/ffmpeg"
DEPEND="${RDEPEND}
dev-java/antlr:3
dev-util/gperf
dev-util/pkgconfig"
RESTRICT="primaryuri"
src_prepare() {
epatch "${FILESDIR}"/${PN}-0.12-configure.patch
epatch "${FILESDIR}"/${PN}-0.12-libevent.patch
eautoreconf
}
src_configure() {
econf $(use_enable flac) \
$(use_enable itunes)\
$(use_enable musepack)
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed."
newinitd "${FILESDIR}/${PN}.init.d" ${PN} || die
keepdir /etc/forked.daapd.d /var/cache/forked-daapd || die
mv "${D}/etc/forked-daapd.conf" "${D}/etc/forked.daapd.d/" || die
dodoc AUTHORS ChangeLog README NEWS || die
}
pkg_preinst() {
enewgroup daapd
enewuser daapd -1 -1 /dev/null daapd
fowners -R daapd:daapd /etc/forked.daapd.d
fowners -R daapd:daapd /var/cache/forked-daapd
fperms -R 0700 /etc/forked.daapd.d
fperms -R 0700 /var/cache/forked-daapd
}
pkg_postinst() {
einfo
elog "If you want to start more than one ${PN} service, symlink"
elog "/etc/init.d/${PN} to /etc/init.d/${PN}.<name>, and it will"
elog "load the data from /etc/${PN}.d/<name>.conf."
elog "Make sure that you have different cache directories for them."
einfo
}

View File

@@ -1,79 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit eutils autotools
DESCRIPTION="DAAP and RSP media server. It is a complete rewrite of mt-daapd (Firefly Media Server)."
HOMEPAGE="http://www.technologeek.org/projects/daapd/index.html"
SRC_URI="http://alioth.debian.org/~jblache/forked-daapd/${PN}-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="flac itunes musepack"
RDEPEND="itunes? ( >=app-pda/libplist-0.16 )
dev-db/sqlite:3[unlock-notify,threadsafe]
>=dev-libs/antlr-c-3.1.3
>=dev-libs/avl-0.3.5
dev-libs/confuse
dev-libs/libevent
dev-libs/libgcrypt
>=dev-libs/libunistring-0.9.3
dev-libs/mini-xml
media-libs/alsa-lib
flac? ( media-libs/flac )
musepack? ( media-libs/taglib )
>=net-dns/avahi-0.6.24
>=sys-libs/zlib-1.2.5-r2
virtual/ffmpeg"
DEPEND="${RDEPEND}
dev-java/antlr:3
dev-util/gperf
dev-util/pkgconfig"
RESTRICT="primaryuri"
src_prepare() {
epatch "${FILESDIR}"/${PN}-0.12-configure.patch
epatch "${FILESDIR}"/${PN}-0.12-libevent.patch
eautoreconf
}
src_configure() {
econf $(use_enable flac) \
$(use_enable itunes)\
$(use_enable musepack)
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed."
newinitd "${FILESDIR}/${PN}.init.d" ${PN} || die
keepdir /etc/forked.daapd.d /var/cache/forked-daapd || die
mv "${D}/etc/forked-daapd.conf" "${D}/etc/forked.daapd.d/" || die
dodoc AUTHORS ChangeLog README NEWS || die
}
pkg_preinst() {
enewgroup daapd
enewuser daapd -1 -1 /dev/null daapd
fowners -R daapd:daapd /etc/forked.daapd.d
fowners -R daapd:daapd /var/cache/forked-daapd
fperms -R 0700 /etc/forked.daapd.d
fperms -R 0700 /var/cache/forked-daapd
}
pkg_postinst() {
einfo
elog "If you want to start more than one ${PN} service, symlink"
elog "/etc/init.d/${PN} to /etc/init.d/${PN}.<name>, and it will"
elog "load the data from /etc/${PN}.d/<name>.conf."
elog "Make sure that you have different cache directories for them."
einfo
}