Changeset a8ecc5a


Ignore:
Timestamp:
Sep 12, 2009, 3:31:42 PM (15 years ago)
Author:
Jessica B. Hamrick <jhamrick@…>
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)
Message:

Package compiles with only one error - there is a problem with the bash script in sipbmp3.postinst, this still needs to be fixed

Location:
debian
Files:
8 edited
13 moved

Legend:

Unmodified
Added
Removed
  • debian/changelog

    rc7b9feb ra8ecc5a  
    1 debathena-lprmp3 (1.0) unstable; urgency=low
     1sipbmp3 (1.0) unstable; urgency=low
    22
    33  * Initial release.
  • debian/control.in

    r10c2c36 ra8ecc5a  
    11Source: sipbmp3
    2 Section: debathena/sound
     2Section: sound
    33Priority: extra
    44Maintainer: Jessica Hamrick <jhamrick@mit.edu>
    55Build-Depends: @cdbs@
    6 Standards-Version: 3.8.3
     6Standards-Version: 3.8.0
    77
    88Package: sipbmp3
     
    1010Depends: ${shlibs:Depends}, ${misc:Depends}, mplayer, libimage-exiftool-perl, debathena-lprng, sysv-rc
    1111Recommends: debathena-zephyr-config, libzephyr3-krb, zephyr-clients
    12 Description: Server for playing music files from a remote machine.
     12Description: Server for playing music files from a remote machine
    1313 Allows remote machines to play music files on this machine
    1414 by "printing" them with debathena-lprng.
  • debian/copyright

    rc7b9feb ra8ecc5a  
     1Copyright 2009 Jessica Hamrick
  • debian/lib/sipbmp3-filter

    rc7b9feb ra8ecc5a  
    1 #!/usr/athena/bin/perl
     1#!/usr/bin/perl
    22# Play the data on STDIN as an audio file
    33#
  • debian/rules

    rc7b9feb ra8ecc5a  
    22
    33include /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
     1usr/lib/sipbmp3
     2etc/
  • debian/sipbmp3.init

    rc7b9feb ra8ecc5a  
    11#!/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
    212
    313case "$1" in
     
    616    touch /var/run/sipbmp3/status
    717    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
    823    ;;
    924  stop)
    1025    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
    1131    ;;
    1232  restart)
    1333    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
    1439    mkdir /var/run/sipbmp3
    1540    touch /var/run/sipbmp3/status
    1641    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)
    1749    ;;
    1850  *)
  • debian/sipbmp3.install

    rc7b9feb ra8ecc5a  
    1 debian/root/* /root/sipbmp3/
     1debian/lib/* /usr/lib/sipbmp3/
    22debian/sipbmp3-filter-config.pl /etc/
  • debian/sipbmp3.postinst

    r10c2c36 ra8ecc5a  
    2121case "$1" in
    2222    configure)
    23         # make sure init symlinks for debathena-lprng exist, so that lpd starts
    24         # up with the computer
    25         if [ -x /etc/init.d/debathena-lprng ]; then
    26             symlinkexists=$(ls /etc/rc*.d/*debathena-lprng)
    27             if [ ! -n "$symlinkexists" ]; then
    28                 echo "Creating init symlinks for debathena-lprng..."
    29                 ln -s ../etc/init.d/debathena-lprng /etc/rc2.d/S60debathena-lprng
    30                 ln -s ../etc/init.d/debathena-lprng /etc/rc3.d/S60debathena-lprng
    31                 ln -s ../etc/init.d/debathena-lprng /etc/rc4.d/S60debathena-lprng
    32                 ln -s ../etc/init.d/debathena-lprng /etc/rc5.d/S60debathena-lprng
    33                 ln -s ../etc/init.d/debathena-lprng /etc/rc0.d/K40debathena-lprng
    34                 ln -s ../etc/init.d/debathena-lprng /etc/rc1.d/K40debathena-lprng
    35                 ln -s ../etc/init.d/debathena-lprng /etc/rc6.d/K40debathena-lprng
    36             fi
    37         else
    38             echo "debathena-lprng init script does not exist!"
    39             exit 1
    40         fi
    41 
    4223        if [ ! -e /etc/printcap ]; then
    4324            echo "/etc/printcap does not exist, creating it..."
     
    5536        echo "  :cm=sipbmp3 music spooler" >> /etc/printcap
    5637        echo "  :lp=/dev/null" >> /etc/printcap
    57         echo "  :if=|/root/sipbmp3-filter" >> /etc/printcap
     38        echo "  :if=|/usr/lib/sipbmp3/sipbmp3-filter" >> /etc/printcap
    5839        echo "  :sd=/var/spool/lpd/sipbmp3" >> /etc/printcap
    5940        echo "  :ml=0:mx=0:sh:sf" >> /etc/printcap
Note: See TracChangeset for help on using the changeset viewer.