Changeset a8ecc5a
- Timestamp:
- Sep 12, 2009, 3:31:42 PM (15 years ago)
- Branches:
- master, debian, mac, no-cups, nodebathena, web
- Children:
- 1bdadfb
- Parents:
- 10c2c36
- git-author:
- Jessica B. Hamrick <jhamrick@…> (09/12/09 15:31:42)
- git-committer:
- Jessica B. Hamrick <jhamrick@…> (09/12/09 15:31:42)
- Location:
- debian
- Files:
-
- 8 edited
- 13 moved
Legend:
- Unmodified
- Added
- Removed
-
debian/changelog
rc7b9feb ra8ecc5a 1 debathena-lprmp3 (1.0) unstable; urgency=low1 sipbmp3 (1.0) unstable; urgency=low 2 2 3 3 * Initial release. -
debian/control.in
r10c2c36 ra8ecc5a 1 1 Source: sipbmp3 2 Section: debathena/sound2 Section: sound 3 3 Priority: extra 4 4 Maintainer: Jessica Hamrick <jhamrick@mit.edu> 5 5 Build-Depends: @cdbs@ 6 Standards-Version: 3.8. 36 Standards-Version: 3.8.0 7 7 8 8 Package: sipbmp3 … … 10 10 Depends: ${shlibs:Depends}, ${misc:Depends}, mplayer, libimage-exiftool-perl, debathena-lprng, sysv-rc 11 11 Recommends: debathena-zephyr-config, libzephyr3-krb, zephyr-clients 12 Description: Server for playing music files from a remote machine .12 Description: Server for playing music files from a remote machine 13 13 Allows remote machines to play music files on this machine 14 14 by "printing" them with debathena-lprng. -
debian/copyright
rc7b9feb ra8ecc5a 1 Copyright 2009 Jessica Hamrick -
debian/lib/sipbmp3-filter
rc7b9feb ra8ecc5a 1 #!/usr/ athena/bin/perl1 #!/usr/bin/perl 2 2 # Play the data on STDIN as an audio file 3 3 # -
debian/rules
rc7b9feb ra8ecc5a 2 2 3 3 include /usr/share/cdbs/1/rules/debhelper.mk 4 5 binary-fixup/debathena-counterlog::6 chmod +x $(DEB_DESTDIR)/usr/lib/debathena-counterlog/athena-counterlog -
debian/sipbmp3.dirs
rc7b9feb ra8ecc5a 1 var/lib/debathena-counterlog 1 usr/lib/sipbmp3 2 etc/ -
debian/sipbmp3.init
rc7b9feb ra8ecc5a 1 1 #!/bin/sh 2 ### BEGIN INIT INFO 3 # Provides: sipbmp3 4 # Required-Start: $remote_fs $syslog 5 # Required-Stop: $remote_fs $syslog 6 # Default-Start: 2 3 4 5 7 # Default-Stop: 0 1 6 8 # Short-Description: Starts lpd for sipbmp3. 9 # Description: Starts lpd for sipbmp3 and creates 10 # files for use by sipbmp3. 11 ### END INIT INFO 2 12 3 13 case "$1" in … … 6 16 touch /var/run/sipbmp3/status 7 17 chmod 0777 /var/run/sipbmp3/status 18 if which invoke-rc.d >/dev/null 2>&1; then 19 invoke-rc.d lprng start 20 else 21 /etc/init.d/lprng start 22 fi 8 23 ;; 9 24 stop) 10 25 rm -r /var/run/sipbmp3 26 if which invoke-rc.d >/dev/null 2>&1; then 27 invoke-rc.d lprng stop 28 else 29 /etc/init.d/lprng stop 30 fi 11 31 ;; 12 32 restart) 13 33 rm -r /var/run/sipbmp3 34 if which invoke-rc.d >/dev/null 2>&1; then 35 invoke-rc.d lprng stop 36 else 37 /etc/init.d/lprng stop 38 fi 14 39 mkdir /var/run/sipbmp3 15 40 touch /var/run/sipbmp3/status 16 41 chmod 0777 /var/run/sipbmp3/status 42 if which invoke-rc.d >/dev/null 2>&1; then 43 invoke-rc.d lprng start 44 else 45 /etc/init.d/lprng start 46 fi 47 ;; 48 reload|force-reload|status) 17 49 ;; 18 50 *) -
debian/sipbmp3.install
rc7b9feb ra8ecc5a 1 debian/ root/* /root/sipbmp3/1 debian/lib/* /usr/lib/sipbmp3/ 2 2 debian/sipbmp3-filter-config.pl /etc/ -
debian/sipbmp3.postinst
r10c2c36 ra8ecc5a 21 21 case "$1" in 22 22 configure) 23 # make sure init symlinks for debathena-lprng exist, so that lpd starts24 # up with the computer25 if [ -x /etc/init.d/debathena-lprng ]; then26 symlinkexists=$(ls /etc/rc*.d/*debathena-lprng)27 if [ ! -n "$symlinkexists" ]; then28 echo "Creating init symlinks for debathena-lprng..."29 ln -s ../etc/init.d/debathena-lprng /etc/rc2.d/S60debathena-lprng30 ln -s ../etc/init.d/debathena-lprng /etc/rc3.d/S60debathena-lprng31 ln -s ../etc/init.d/debathena-lprng /etc/rc4.d/S60debathena-lprng32 ln -s ../etc/init.d/debathena-lprng /etc/rc5.d/S60debathena-lprng33 ln -s ../etc/init.d/debathena-lprng /etc/rc0.d/K40debathena-lprng34 ln -s ../etc/init.d/debathena-lprng /etc/rc1.d/K40debathena-lprng35 ln -s ../etc/init.d/debathena-lprng /etc/rc6.d/K40debathena-lprng36 fi37 else38 echo "debathena-lprng init script does not exist!"39 exit 140 fi41 42 23 if [ ! -e /etc/printcap ]; then 43 24 echo "/etc/printcap does not exist, creating it..." … … 55 36 echo " :cm=sipbmp3 music spooler" >> /etc/printcap 56 37 echo " :lp=/dev/null" >> /etc/printcap 57 echo " :if=|/ root/sipbmp3-filter" >> /etc/printcap38 echo " :if=|/usr/lib/sipbmp3/sipbmp3-filter" >> /etc/printcap 58 39 echo " :sd=/var/spool/lpd/sipbmp3" >> /etc/printcap 59 40 echo " :ml=0:mx=0:sh:sf" >> /etc/printcap
Note: See TracChangeset
for help on using the changeset viewer.