[Pkg-sql-ledger-commit] r160 - ledger-smb/trunk/debian
pkg-sql-ledger-commit-owner at lists.alioth.debian.org
pkg-sql-ledger-commit-owner at lists.alioth.debian.org
Wed Feb 6 15:53:34 UTC 2008
Author: lyz-guest
Date: 2008-02-06 15:53:34 +0000 (Wed, 06 Feb 2008)
New Revision: 160
Removed:
ledger-smb/trunk/debian/postinst
ledger-smb/trunk/debian/postrm
Modified:
ledger-smb/trunk/debian/control
Log:
Removed postinst and postrm, they were used for configuring apache2 with
wwwconfig-common and were not properly configured and was not policy compliant.
Also removed wwwconfig-common dependancy.
Modified: ledger-smb/trunk/debian/control
===================================================================
--- ledger-smb/trunk/debian/control 2008-02-05 19:40:29 UTC (rev 159)
+++ ledger-smb/trunk/debian/control 2008-02-06 15:53:34 UTC (rev 160)
@@ -8,7 +8,7 @@
Package: ledgersmb
Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, perl (>= 5.8.0-1), libconfig-std-perl, libmime-lite-perl, liblocale-maketext-lexicon-perl (>= 0.56-1), libdbi-perl, libdbd-pg-perl, postgresql-client (>= 8.1), apache2, wwwconfig-common, libhtml-parser-perl
+Depends: ${shlibs:Depends}, ${misc:Depends}, perl (>= 5.8.0-1), libconfig-std-perl, libmime-lite-perl, liblocale-maketext-lexicon-perl (>= 0.56-1), libdbi-perl, libdbd-pg-perl, postgresql-client (>= 8.1), apache2, libhtml-parser-perl
Recommends: mail-transport-agent, texlive-latex-recommended | tetex-extra, lpr, libparse-recdescent-perl
Suggests: postgresql (>= 8.1), libnet-tclink-perl, latex-cjk-all
Conflicts: ledger-smb
Deleted: ledger-smb/trunk/debian/postinst
===================================================================
--- ledger-smb/trunk/debian/postinst 2008-02-05 19:40:29 UTC (rev 159)
+++ ledger-smb/trunk/debian/postinst 2008-02-06 15:53:34 UTC (rev 160)
@@ -1,55 +0,0 @@
-#!/bin/sh
-# postinst script for ledgersmb
-#
-# see: dh_installdeb(1)
-
-set -e
-# summary of how this script can be called:
-# * <postinst> `configure' <most-recently-configured-version>
-# * <old-postinst> `abort-upgrade' <new version>
-# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-# <new-version>
-# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-# <failed-install-package> <version> `removing'
-# <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-#
-
-case "$1" in
- configure)
- if [ -z "$2" ]; then
- chown -R www-data:www-data /var/lib/ledgersmb
- chmod -R 700 /var/lib/ledgersmb/spool
- fi
- includefile="/etc/ledgersmb/ledgersmb-httpd.conf"
- servers="apache2"
- server="apache2"
- . /usr/share/wwwconfig-common/apache-include_all.sh
- if [ -x /usr/sbin/a2enmod ]; then
- /usr/sbin/a2enmod cgi;
- fi
- servers="apache2"
- restart="apache2"
- ## . /usr/share/wwwconfig-common/restart.sh #XXX didn't work in tests
- /etc/init.d/apache2 restart
- ;;
-
- abort-upgrade|abort-remove|abort-deconfigure)
-
- ;;
-
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
Deleted: ledger-smb/trunk/debian/postrm
===================================================================
--- ledger-smb/trunk/debian/postrm 2008-02-05 19:40:29 UTC (rev 159)
+++ ledger-smb/trunk/debian/postrm 2008-02-06 15:53:34 UTC (rev 160)
@@ -1,44 +0,0 @@
-#!/bin/sh
-# postrm script for ledger-smb
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <postrm> `remove'
-# * <postrm> `purge'
-# * <old-postrm> `upgrade' <new-version>
-# * <new-postrm> `failed-upgrade' <old-version>
-# * <new-postrm> `abort-install'
-# * <new-postrm> `abort-install' <old-version>
-# * <new-postrm> `abort-upgrade' <old-version>
-# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
- purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
-
- server="apache2"
- includefile="/etc/ledgersmb/ledgersmb-httpd.conf"
- . /usr/share/wwwconfig-common/apache-uninclude.sh
- servers="apache2"
- #. /usr/share/wwwconfig-common/restart.sh #XXX Failed tests
- /etc/init.d/apache2 restart
-
- ;;
-
- *)
- echo "postrm called with unknown argument \`$1'" >&2
- exit 1
-
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
More information about the Pkg-sql-ledger-commit
mailing list