move debian from contrib... Thanks, cvs

This commit is contained in:
Ron Pedde 2004-04-05 18:30:48 +00:00
parent fca2f5ffd9
commit 6eeae1a2a1
8 changed files with 233 additions and 0 deletions

15
debian/changelog vendored Normal file
View File

@ -0,0 +1,15 @@
mt-daapd (0.1.1-1) unstable; urgency=low
* Add track information
* Support for Solaris
* Format string fixes
* Support for Howl 0.9 or better
-- Ron Pedde <ron@pedde.com> Thu, 29 Jan 2004 11:37:14 -0600
mt-daapd (0.1.0-1) unstable; urgency=low
* Initial Release.
-- Aubin Paul <debian@outlyer.org> Tue, 6 Jan 2004 08:16:53 -0500

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
4

13
debian/control vendored Normal file
View File

@ -0,0 +1,13 @@
Source: mt-daapd
Section: sound
Priority: optional
Maintainer: Aubin Paul <debian@outlyer.org>
Build-Depends: debhelper (>= 4.0.0), libid3tag0-dev, zlib1g-dev
Standards-Version: 3.6.0
Package: mt-daapd
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: iTunes-compatible DAAP server
An iTunes server for Linux, Solaris, OSX, and other POSIX Unix machines.

13
debian/copyright vendored Normal file
View File

@ -0,0 +1,13 @@
This package was debianized by Aubin Paul <debian@outlyer.org> on
Tue, 6 Jan 2004 08:16:53 -0500.
It was downloaded from http://mt-daapd.sourceforge.net/
Upstream Author(s): Ron Pedde <ron@pedde.com>
Copyright:
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License Version 2, found on Debian systems
in the file /usr/share/common-licenses/GPL

2
debian/dirs vendored Normal file
View File

@ -0,0 +1,2 @@
usr/bin
usr/sbin

6
debian/docs vendored Normal file
View File

@ -0,0 +1,6 @@
CREDITS
NEWS
README
TODO
contrib/mt-daapd.conf
contrib/mt-daapd.playlist

76
debian/init.d vendored Normal file
View File

@ -0,0 +1,76 @@
#! /bin/sh
#
# skeleton example file to build /etc/init.d/ scripts.
# This file should be used to construct scripts for /etc/init.d.
#
# Written by Miquel van Smoorenburg <miquels@cistron.nl>.
# Modified for Debian
# by Ian Murdock <imurdock@gnu.ai.mit.edu>.
#
# Version: @(#)skeleton 1.9 26-Feb-2001 miquels@cistron.nl
#
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/mt-daapd
NAME=mt-daapd
DESC=mt-daapd
test -x $DAEMON || exit 0
# Include mt-daapd defaults if available
if [ -f /etc/default/mt-daapd ] ; then
. /etc/default/mt-daapd
fi
set -e
case "$1" in
start)
echo -n "Starting $DESC: "
start-stop-daemon --start --quiet -m --pidfile /var/run/$NAME.pid \
--exec $DAEMON -- $DAEMON_OPTS 2>/dev/null
echo "$NAME."
;;
stop)
echo -n "Stopping $DESC: "
#start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
# --exec $DAEMON
# XXX FIXME This shouldn't be a killall!
killall mt-daapd || true
echo "$NAME."
;;
#reload)
#
# If the daemon can reload its config files on the fly
# for example by sending it SIGHUP, do it here.
#
# If the daemon responds to changes in its config file
# directly anyway, make this a do-nothing entry.
#
# echo "Reloading $DESC configuration files."
# start-stop-daemon --stop --signal 1 --quiet --pidfile \
# /var/run/$NAME.pid --exec $DAEMON
#;;
restart|force-reload)
#
# If the "reload" option is implemented, move the "force-reload"
# option to the "reload" entry above. If not, "force-reload" is
# just the same as "restart".
#
echo -n "Restarting $DESC: "
start-stop-daemon --stop --quiet --pidfile \
/var/run/$NAME.pid --exec $DAEMON
sleep 1
start-stop-daemon --start --quiet --pidfile \
/var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS
echo "$NAME."
;;
*)
N=/etc/init.d/$NAME
# echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
echo "Usage: $N {start|stop|restart|force-reload}" >&2
exit 1
;;
esac
exit 0

107
debian/rules vendored Executable file
View File

@ -0,0 +1,107 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
endif
config.status: configure
dh_testdir
# Add here commands to configure the package.
CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
build: build-stamp
build-stamp: config.status
dh_testdir
# Add here commands to compile the package.
$(MAKE)
#/usr/bin/docbook-to-man debian/mt-daapd.sgml > mt-daapd.1
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp
# Add here commands to clean up after the build process.
-$(MAKE) distclean
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
cp -f /usr/share/misc/config.sub config.sub
endif
ifneq "$(wildcard /usr/share/misc/config.guess)" ""
cp -f /usr/share/misc/config.guess config.guess
endif
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/mt-daapd.
$(MAKE) install DESTDIR=$(CURDIR)/debian/mt-daapd
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
# Build architecture-dependent files here.
binary-arch: build install
dh_testdir
dh_testroot
dh_installchangelogs ChangeLog
dh_installdocs
dh_installexamples
# dh_install
# dh_installmenu
# dh_installdebconf
# dh_installlogrotate
# dh_installemacsen
# dh_installpam
# dh_installmime
dh_installinit --init-script=daap
# dh_installcron
# dh_installinfo
dh_installman
dh_link
dh_strip
dh_compress
dh_fixperms
# dh_perl
# dh_python
# dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install