* No longer symlink docs from dbg package (this simplifies
packaging).
* Manage the ossp slave via update-alternatives.
+ * Add a systemd service file (taken from Arch).
-- Ralf Jung <post@ralfj.de> Mon, 09 Sep 2013 18:29:12 +0200
Section: sound
Priority: optional
Maintainer: Ralf Jung <post@ralfj.de>
-Build-Depends: debhelper (>= 9), libasound2-dev, libfuse-dev, libpulse-dev
+Build-Depends: debhelper (>= 9),
+ dh-systemd,
+ libasound2-dev,
+ libfuse-dev,
+ libpulse-dev
Standards-Version: 3.9.4
Homepage: http://sourceforge.net/projects/osspd/
Vcs-Browser: http://www.ralfj.de/git/osspd.git
License: GPL-2
Files: debian/*
-Copyright: 2012 Ralf Jung <post@ralfj.de>
+Copyright: 2012-2013 Ralf Jung <post@ralfj.de>
License: GPL-2+
+Files: debian/osspd.service
+Copyright: 2013 Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+ 2013 Ralf Jung <post@ralfj.de>
+License: GPL-2
+
License: GPL-2
This package is free software; you can redistribute it and/or modify
-usr/sbin/osspd
lib/udev/rules.d/98-osscuse.rules
+usr/sbin/osspd
--- /dev/null
+[Unit]
+Description=OSS Proxy Daemon
+
+[Service]
+ExecStart=/usr/bin/osspd -f --dsp-slave=/usr/lib/osspd/ossp-slave
+
+[Install]
+WantedBy=multi-user.target
UDEVDIR=/lib/udev/rules.d
%:
- dh $@ --parallel
+ dh $@ --parallel --with=systemd
override_dh_auto_build:
dh_auto_build -- SLAVESDIR=$(SLAVESDIR) UDEVDIR=$(UDEVDIR)