1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

- Removed audio/daapd (expired)

2007-11-04 audio/daapd: Development stalled, outdated. Does not support newer versions of DAAP protocol.
This commit is contained in:
Lars Thegler 2008-02-26 09:27:23 +00:00
parent e895da04a6
commit 6aa0ed3920
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=207926
14 changed files with 1 additions and 346 deletions

1
MOVED
View File

@ -3363,3 +3363,4 @@ devel/wxGlade-devel||2008-02-11|Has expired: has been the same version as wxGlad
sysutils/sge|sysutils/sge60|2008-02-12|Splitting into 6.0 and 6.1 versions
mail/linux-netscape-messenger|mail/thunderbird|2008-02-13|Abandoned by AOL
www/linux-netscape-navigator|www/firefox|2008-02-13|Abandoned by AOL
audio/daapd||2008-02-26|Has expired: Development stalled, outdated. Does not support newer versions of DAAP protocol.

View File

@ -104,7 +104,6 @@
SUBDIR += cuetools
SUBDIR += cymbaline
SUBDIR += cynthiune
SUBDIR += daapd
SUBDIR += daaplib
SUBDIR += dagrab
SUBDIR += dap

View File

@ -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>

View File

@ -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

View File

@ -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"

View File

@ -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)

View File

@ -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

View File

@ -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 .

View File

@ -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

View File

@ -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

View File

@ -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/

View File

@ -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

View File

@ -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!
=================================================================

View File

@ -1,5 +0,0 @@
@comment $FreeBSD$
etc/daapd.conf.sample
sbin/daapd
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%