summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorLars Thegler <lth@FreeBSD.org>2008-02-26 09:27:23 +0000
committerLars Thegler <lth@FreeBSD.org>2008-02-26 09:27:23 +0000
commit6aa0ed3920fbf5043b6311cdec7ea40618376965 (patch)
treee9d080cf7eaeed226286282b6c58b249e64c3930 /audio
parent- Chase libopenraw update (diff)
- Removed audio/daapd (expired)
2007-11-04 audio/daapd: Development stalled, outdated. Does not support newer versions of DAAP protocol.
Notes
Notes: svn path=/head/; revision=207926
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/daapd/Makefile88
-rw-r--r--audio/daapd/distinfo3
-rw-r--r--audio/daapd/files/daapd.in41
-rw-r--r--audio/daapd/files/patch-README11
-rw-r--r--audio/daapd/files/patch-daapd-example.conf15
-rw-r--r--audio/daapd/files/patch-daapd.811
-rw-r--r--audio/daapd/files/patch-makefile61
-rw-r--r--audio/daapd/pkg-deinstall27
-rw-r--r--audio/daapd/pkg-descr6
-rw-r--r--audio/daapd/pkg-install31
-rw-r--r--audio/daapd/pkg-message46
-rw-r--r--audio/daapd/pkg-plist5
13 files changed, 0 insertions, 346 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 1c3987567afb..04a30f0cac94 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -104,7 +104,6 @@
SUBDIR += cuetools
SUBDIR += cymbaline
SUBDIR += cynthiune
- SUBDIR += daapd
SUBDIR += daaplib
SUBDIR += dagrab
SUBDIR += dap
diff --git a/audio/daapd/Makefile b/audio/daapd/Makefile
deleted file mode 100644
index b92cf79385af..000000000000
--- a/audio/daapd/Makefile
+++ /dev/null
@@ -1,88 +0,0 @@
-# New ports collection makefile for: daapd
-# Date created: 19 October 2003
-# Whom: Lars Thegler <lars@thegler.dk>
-#
-# $FreeBSD$
-#
-
-PORTNAME= daapd
-PORTVERSION= 0.2.4b
-PORTREVISION= 1
-CATEGORIES= audio
-MASTER_SITES= http://www.deleet.de/projekte/daap/daapd/
-EXTRACT_SUFX= .tgz
-
-MAINTAINER= lth@FreeBSD.org
-COMMENT= Server for Digital Audio Access Protocol
-
-DEPRECATED= Development stalled, outdated. Does not support newer versions of DAAP protocol.
-EXPIRATION_DATE= 2007-11-04
-
-BUILD_DEPENDS= daaplib>=0.1.1a_2:${PORTSDIR}/audio/daaplib \
- libhttpd-persistent>=1.3h_1:${PORTSDIR}/www/libhttpd-persistent
-RUN_DEPENDS= ${BUILD_DEPENDS}
-LIB_DEPENDS= id3tag:${PORTSDIR}/audio/libid3tag
-
-USE_GCC= 3.4+
-USE_GMAKE= yes
-MAKEFILE= makefile
-USE_RC_SUBR= daapd
-
-MAN8= daapd.8
-
-PKGMESSAGE= ${WRKDIR}/pkg-message
-PKGINSTALL= ${WRKDIR}/pkg-install
-PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
-
-DAAPD_USER= daapd
-DAAPD_GROUP= daapd
-
-LOGDIR= /var/log
-CACHE= /var/db/daapd.cache
-SUB_LIST+= USER=${DAAPD_USER} GROUP=${DAAPD_GROUP} \
- LOGDIR=${LOGDIR} CACHE=${CACHE}
-MAKE_ENV+= PTHREAD_CFLAGS=${PTHREAD_CFLAGS} PTHREAD_LIBS=${PTHREAD_LIBS}
-
-OPTIONS+= HOWL "Use howl for Zeroconf/Rendezvous" on
-OPTIONS+= MPEG4IP "Use mpeg4ip for AAC metadata" on
-
-.include <bsd.port.pre.mk>
-
-.ifdef(WITH_HOWL)
-LIB_DEPENDS+= howl:${PORTSDIR}/net/howl
-MAKE_ENV+= HOWL_ENABLE=1
-.endif
-
-.ifdef(WITH_MPEG4IP)
-LIB_DEPENDS+= mp4v2:${PORTSDIR}/multimedia/mpeg4ip-libmp4v2
-MAKE_ENV+= MPEG4_ENABLE=1
-.endif
-
-post-patch:
- @${REINPLACE_CMD} ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
- ${WRKSRC}/${MAKEFILE} \
- ${WRKSRC}/README \
- ${WRKSRC}/daapd.cc \
- ${WRKSRC}/daapd.8
-
-pre-install:
- @${SED} ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
- ${PKGDIR}/pkg-install > ${PKGINSTALL}
- @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
-
-post-install:
- @${INSTALL_DATA} ${WRKSRC}/daapd-example.conf ${PREFIX}/etc/daapd.conf.sample
- @${SED} ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
- ${PKGDIR}/pkg-deinstall > ${PKGDEINSTALL}
- @${SED} ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
- ${PKGDIR}/pkg-message > ${PKGMESSAGE}
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
- @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-.if !defined(BATCH)
- @${CAT} ${PKGMESSAGE}
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/audio/daapd/distinfo b/audio/daapd/distinfo
deleted file mode 100644
index bd14f016bc75..000000000000
--- a/audio/daapd/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (daapd-0.2.4b.tgz) = 3a83294a9eb88b27bae7f5dd06394c49
-SHA256 (daapd-0.2.4b.tgz) = 80e552ae393dc230e4e18b0d906657a0a0166e14bf9150ac43ca54a02e1d4e4c
-SIZE (daapd-0.2.4b.tgz) = 205476
diff --git a/audio/daapd/files/daapd.in b/audio/daapd/files/daapd.in
deleted file mode 100644
index 26b5f3b58f6b..000000000000
--- a/audio/daapd/files/daapd.in
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/sh
-# $FreeBSD$
-
-# PROVIDE: daapd
-# REQUIRE: DAEMON
-# KEYWORD: shutdown
-
-# Define these daapd_* variables in one of these files:
-# /etc/rc.conf
-# /etc/rc.conf.local
-# /etc/rc.conf.d/daapd
-#
-# DO NOT CHANGE THESE DEFAULT VALUES HERE
-#
-daapd_enable=${daapd_enable-"NO"}
-daapd_flags=""
-
-. %%RC_SUBR%%
-
-name="daapd"
-rcvar=`set_rcvar`
-
-daapd_user="%%USER%%"
-daapd_group="%%USER%%"
-prefix="%%PREFIX%%"
-logdir="%%LOGDIR%%"
-cache="%%CACHE%%"
-
-daapdBin="${prefix}/sbin/daapd"
-daapdCfg="${prefix}/etc/daapd.conf"
-daapdLog="${logdir}/daapd.log"
-
-required_files="${daapdCfg}"
-
-start_precmd="touch ${daapdLog}; chown ${daapd_user} ${daapdLog}; touch ${cache}; chown ${daapd_user} ${cache};"
-
-command="${daapdBin}"
-command_args="${daapd_flags} >>${daapdLog} 2>&1 &"
-
-load_rc_config $name
-run_rc_command "$1"
diff --git a/audio/daapd/files/patch-README b/audio/daapd/files/patch-README
deleted file mode 100644
index d5c7b2cdc34a..000000000000
--- a/audio/daapd/files/patch-README
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./README.orig Sun Mar 5 14:39:37 2006
-+++ ./README Thu Jul 20 14:04:13 2006
-@@ -65,7 +65,7 @@
-
- daapd [-dhqvz] [-c config-file] [-C cache-file] [-n name] [-p port] [-t vbr-limit] [file/directory]...
-
--When called without command line arguments, daapd looks for a configuration file called /etc/daapd.conf. Failing that, it runs with the following default options:
-+When called without command line arguments, daapd looks for a configuration file called %%PREFIX%%/etc/daapd.conf. Failing that, it runs with the following default options:
-
- - current directory is scanned for music files
- - port is 3689 (port registered for DAAP with IANA)
diff --git a/audio/daapd/files/patch-daapd-example.conf b/audio/daapd/files/patch-daapd-example.conf
deleted file mode 100644
index 5298d4dcd7a9..000000000000
--- a/audio/daapd/files/patch-daapd-example.conf
+++ /dev/null
@@ -1,15 +0,0 @@
---- ./daapd-example.conf.orig Sun Mar 5 14:39:37 2006
-+++ ./daapd-example.conf Thu Jul 20 14:04:13 2006
-@@ -1,8 +1,8 @@
- Port 3689
- ServerName daapd server
--DBName daapd music
--Password
--Root .
--Cache
-+DBName daapd server
-+Password s0mep4ssw0rd
-+Root /path/to/my/music
-+Cache /var/db/daapd.cache
- Timescan 2
- RescanInterval 60
diff --git a/audio/daapd/files/patch-daapd.8 b/audio/daapd/files/patch-daapd.8
deleted file mode 100644
index 008324f28026..000000000000
--- a/audio/daapd/files/patch-daapd.8
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./daapd.8.orig Sun Mar 5 14:39:37 2006
-+++ ./daapd.8 Thu Jul 20 14:04:13 2006
-@@ -53,7 +53,7 @@
- .It Fl c Ar config-file
- Read configuration options from
- .Ar config-file .
--If this option is not given, the default location of the configuration file is /etc/daapd.conf.
-+If this option is not given, the default location of the configuration file is %%PREFIX%%/etc/daapd.conf.
- .It Fl C Ar cache-file
- Save and recover database of audio files to/from
- .Ar cache-file .
diff --git a/audio/daapd/files/patch-makefile b/audio/daapd/files/patch-makefile
deleted file mode 100644
index 1601d47f2e46..000000000000
--- a/audio/daapd/files/patch-makefile
+++ /dev/null
@@ -1,61 +0,0 @@
---- ./makefile.orig Sun Mar 5 14:39:37 2006
-+++ ./makefile Thu Jul 20 14:04:28 2006
-@@ -1,21 +1,18 @@
- # configure daapd here
-
--HOWL_ENABLE = 1
- ZLIB_ENABLE = 1
--MPEG4_ENABLE = 0
-
-
- # no need to touch anything below this line
- # -----------------------------------------
-
--CC = g++
-+CC = ${CXX}
- MAKE = $(MAKE_COMMAND)
- TARGET = daapd
--DEPS = daaplib_ libhttpd_
- OBJS = daapd.o db.o dboutput.o songcache.o parsemp3.o util.o
- LIBS = -ldaaplib -lhttpd-persistent -lid3tag -lz
--LIBPATH = -L. -L./daaplib/src -L./libhttpd/src -L/usr/local/lib
--INCPATH = -I. -I./daaplib/include -I./libhttpd/src -I/usr/local/include
-+LIBPATH = -L. -L%%LOCALBASE%%/lib
-+INCPATH = -I. -I%%LOCALBASE%%/include
--DEPLOY = /usr/local
-+DEPLOY = %%PREFIX%%
- CFLAGS = -Wall -Wno-multichar
-
-@@ -60,28 +57,17 @@
- .cc.o:
- $(CC) $(CFLAGS) $(INCPATH) -c $<
-
--all: $(DEPS) $(TARGET)
-+all: $(TARGET)
-
- $(TARGET): $(OBJS)
- $(CC) $(CFLAGS) $(LIBPATH) -o $(TARGET) $(OBJS) $(LIBS)
-
- $(OBJS): types.h dboutput.h songcache.h parsemp3.h
-
--daaplib_:
-- cd daaplib/src && $(MAKE)
--
--libhttpd_:
-- if test ! -e libhttpd/Site.mm; then cd libhttpd && ./configure; fi
-- cd libhttpd && $(MAKE)
--
- clean:
-- if test -e libhttpd/Site.mm; then cd libhttpd && $(MAKE) very-clean; fi
-- cd daaplib/src && $(MAKE) clean
- rm $(OBJS) $(TARGET)
-
--install: $(DEPS) $(TARGET)
-- cd libhttpd && $(MAKE) install
-- cd daaplib/src && $(MAKE) install
-- cp $(TARGET) $(DEPLOY)/bin
-- chmod a+rx $(DEPLOY)/bin/$(TARGET)
-+install: $(TARGET)
-+ cp $(TARGET) $(DEPLOY)/sbin
-+ chmod a+rx $(DEPLOY)/sbin/$(TARGET)
- cp $(TARGET).8 $(DEPLOY)/man/man8
diff --git a/audio/daapd/pkg-deinstall b/audio/daapd/pkg-deinstall
deleted file mode 100644
index a0ca6d0332b2..000000000000
--- a/audio/daapd/pkg-deinstall
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-PATH=/bin:/usr/bin:/usr/sbin
-
-case $2 in
-
-POST-DEINSTALL)
- echo '---> Starting post-deinstall script:'
-
- if [ -f %%PREFIX%%/etc/daapd.conf ]; then
- echo '---> You seem to have made some custom daapd configuration.'
- echo '---> The "%%USER%%" user and "%%GROUP%%" group were therefore not deleted.'
- echo '---> You may delete them with "pw groupdel %%GROUP%%; pw userdel %%USER%%".'
-
- else
- echo '---> Removing group "%%GROUP%%"'
- /usr/sbin/pw groupdel -n %%GROUP%%
- echo '---> Removing user "%%USER%%"'
- echo 'y' | /usr/sbin/pw userdel -n %%USER%%
- fi
-
- ;;
-
-esac
diff --git a/audio/daapd/pkg-descr b/audio/daapd/pkg-descr
deleted file mode 100644
index c098e1c2c705..000000000000
--- a/audio/daapd/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-daapd scans a directory for music files and makes them available via
-the Apple proprietary protocol DAAP. DAAP clients can browse the
-directory and retrieve individual files, either by streaming or by
-downloading them.
-
-WWW: http://www.deleet.de/projekte/daap/daapd/
diff --git a/audio/daapd/pkg-install b/audio/daapd/pkg-install
deleted file mode 100644
index dc09fedcd663..000000000000
--- a/audio/daapd/pkg-install
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-PATH=/bin:/usr/bin:/usr/sbin
-
-case $2 in
-
-PRE-INSTALL)
- echo "---> Starting pre-install script:"
-
- if pw showgroup "%%GROUP%%" 2>/dev/null; then
- echo "---> Using existing group \"%%GROUP%%\""
- else
- echo "---> Adding group \"%%GROUP%%\""
- pw addgroup %%GROUP%% -h - || exit 1
- fi
-
- # Create user if required
- if pw showuser "%%USER%%" 2>/dev/null; then
- echo "---> Using existing user \"%%USER%%\""
- else
- echo "---> Adding user \"%%USER%%\""
- pw adduser %%USER%% -g %%GROUP%% -h - \
- -d "/nonexistent" -s "/sbin/nologin" -c "daapd User" || exit 1
- fi
-
- ;;
-
-esac
diff --git a/audio/daapd/pkg-message b/audio/daapd/pkg-message
deleted file mode 100644
index d82e55a3d18a..000000000000
--- a/audio/daapd/pkg-message
+++ /dev/null
@@ -1,46 +0,0 @@
-=================================================================
-
-daapd has now been installed.
-
-A sample configuration file has been placed at:
-
- %%PREFIX%%/etc/daapd.conf.sample
-
-You need to copy this to
-
- %%PREFIX%%/etc/daapd.conf
-
-and edit it to suit your requirements. You must also add:
-
- daapd_enable="YES"
-
-to /etc/rc.conf.
-
-Documentation is installed at:
-
- %%DOCSDIR%%/README
-
-Once configured, you can start daapd by running:
-
- %%PREFIX%%/etc/rc.d/daapd.sh start
-
-daapd keeps its logfile in
-
- %%LOGDIR%%/daapd.log
-
-To advertise the daapd service via ZeroConf/Rendezvous on your local
-network, you've got two options:
-
-1) if you selected the HOWL build option (or set WITH_HOWL), daapd
-will automatically register its services on startup with the Howl
-responder daemon (mDNSResponder). Note, that the Howl responder
-daemon must be running.
-
-2) otherwise, you can install the net/mDNSResponder port, and use
-that with a command line like:
-
- mDNSResponderPosix -p 3689 -t _daap._tcp. -n `hostname`
-
-Enjoy!
-
-=================================================================
diff --git a/audio/daapd/pkg-plist b/audio/daapd/pkg-plist
deleted file mode 100644
index d50942ac4c09..000000000000
--- a/audio/daapd/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-@comment $FreeBSD$
-etc/daapd.conf.sample
-sbin/daapd
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%