Changeset 2636 for trunk/packages/invirt-dev
- Timestamp:
- Dec 17, 2009, 10:07:05 PM (15 years ago)
- Location:
- trunk/packages/invirt-dev/debian
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-dev/debian/control
r2570 r2636 8 8 Package: invirt-dev 9 9 Architecture: all 10 Depends: ${shlibs:Depends}, ${misc:Depends}, dpkg-dev-el, emacs21, reprepro, apache2, postfix, screen, dh-make, fakeroot, quilt, patchutils, config-package-dev, pbuilder, equivs, invirt-base, invirt-database, remctl-server 10 Depends: ${shlibs:Depends}, ${misc:Depends}, dpkg-dev-el, emacs21, reprepro, apache2, postfix, screen, dh-make, fakeroot, quilt, patchutils, config-package-dev, pbuilder, equivs, invirt-base, invirt-database, remctl-server, update-inetd, openbsd-inetd | inet-superserver 11 11 Description: Invirt build and apt server 12 12 This packages the build scripts and apt-repository configuration for Invirt. -
trunk/packages/invirt-dev/debian/invirt-dev.init
r2635 r2636 38 38 invirt-build-conf || ret=2 39 39 40 daemon -n invirt-dev-git-daemon -- git daemon \41 --user=git \42 --group=nogroup \43 --syslog \44 --verbose \45 --reuseaddr \46 --export-all \47 --base-path=/srv/git \48 /srv/git || ret=$?49 50 40 return $ret 51 41 } … … 53 43 do_stop() 54 44 { 55 daemon -n invirt-dev-git-daemon --stop 56 return $? 45 : 57 46 } 58 47 -
trunk/packages/invirt-dev/debian/invirt-dev.postinst
r2630 r2636 27 27 EOF 28 28 29 update-inetd --add \ 30 'git\tstream\ttcp\tnowait\tgit\t/usr/bin/git\tgit daemon --inetd --syslog --verbose --export-all --base-path=/srv/git /srv/git' 31 29 32 echo "-----" 30 33 echo "invirt-dev: run" -
trunk/packages/invirt-dev/debian/invirt-dev.prerm
r2630 r2636 20 20 case "$1" in 21 21 remove|upgrade|deconfigure) 22 perl -i.bak -ne 's%^### (BEGIN|END) invirt-dev\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers 22 [ "$1" = "remove" ] && update-inetd --disable git 23 24 perl -i.bak -ne 's%^### (BEGIN|END) invirt-dev\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers 23 25 ;; 24 26
Note: See TracChangeset
for help on using the changeset viewer.