[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
debian package files
hi,
I got the new adaptation to 2.99.56 from Debian.
http://ftp.debian.org/debian/pool/main/z/zmailer/zmailer_2.99.56-2.diff.gz
contains the complete patch with environment fixes.
more info -> http://packages.debian.org/zmailer
-thanks-
--
x86-64 GenuineIntel
--- zmailer-2.99.56.orig/debian/changelog
+++ zmailer-2.99.56/debian/changelog
@@ -1,3 +1,20 @@
+zmailer (2.99.56-2) unstable; urgency=low
+
+ * Added Build-depend con libssl-dev. (Closes: #225627)
+
+ -- Hector Garcia <hector@debian.org> Tue, 6 Jan 2004 22:59:56 +0100
+
+zmailer (2.99.56-1) unstable; urgency=low
+
+ * New upstream release.
+ * Intregration of encriptation into main.
+ * Created /etc/default/zmailer and moved vars into there as stated by
+ policy.
+ * Updated Standards-Version.
+ * Deleted texi2roff.1.gz manpage since it is not necesary. (Closes: #220943)
+
+ -- Hector Garcia <hector@debian.org> Sun, 28 Dec 2003 18:02:22 +0100
+
zmailer (2.99.55-3.1) unstable; urgency=low
* Non-Maintainer Upload
--- zmailer-2.99.56.orig/debian/control
+++ zmailer-2.99.56/debian/control
@@ -2,8 +2,9 @@
Section: mail
Priority: extra
Maintainer: Hector Garcia <hector@debian.org>
-Build-Depends: binutils, cpp, debhelper (>= 3), libdb2-dev, libgdbm-dev, libwrap0, libwrap0-dev, locales, libpam0g-dev, ed
-Standards-Version: 3.2.1
+Build-Depends: binutils, cpp, debhelper (>= 3), libgdbm-dev, libwrap0, libwrap0-dev, locales, libpam0g-dev, libldap2-dev, ed, libssl-dev
+Build-Conflicts: libdb2-dev, libdb3-dev, libdb4.0-dev, libdb4.1-dev
+Standards-Version: 3.6.0
Package: zmailer
Architecture: any
--- zmailer-2.99.56.orig/debian/init.d
+++ zmailer-2.99.56/debian/init.d
@@ -14,25 +14,11 @@
exit 0;
#
-test -e /etc/zmailer/zmailer.conf -a -e /var/spool/postoffice || exit 0
-test -e /usr/lib/zmailer -a -e /usr/lib/zmailer/zmailer || exit 0
-
-PATH=/bin:/usr/bin:/sbin:/usr/sbin
-#if [ -d /usr/ucb ]; then
-# PATH=$PATH:/usr/ucb
-#fi
-FLAGS="defaults 50"
-ZCONFIG=/etc/zmailer/zmailer.conf
-
-# Sense how the echo works, it is either, or..
-# There are POSIX echos, SysV echos, BSD echos...
-#case "`echo "foo\c"`" in
-#foo) eopt='' ; eeol='\c' ;;
-#*) eopt='-n' ; eeol='' ;;
-#esac
+# Reads config file (will override defaults above)
+[ -r /etc/default/zmailer ] && . /etc/default/zmailer
-eopt='-n'
-eeol=''
+test -e $ZCONFIG -a -e /var/spool/postoffice || exit 0
+test -e /usr/lib/zmailer -a -e /usr/lib/zmailer/zmailer || exit 0
. $ZCONFIG || exit 1
@@ -72,8 +58,8 @@
case $KILL in
-*) if [ -f $POSTOFFICE/.pid.$op ]; then
$MAILBIN/router -k > /dev/null
-# else
-# echo $eopt "(warning: no .pid.$op file) $eeol"
+ else
+ echo $eopt "(warning: no .pid.$op file) $eeol"
fi ;;
*)
if [ -f $POSTOFFICE/.freeze ]; then
@@ -100,8 +86,8 @@
if [ -f ../$PIDFILE ]; then
PID=`cat ../$PIDFILE`
kill -TERM -$PID 2>/dev/null
-# else
-# echo $eopt "(warning: no $PIDFILE file) $eeol"
+ else
+ echo $eopt "(warning: no $PIDFILE file) $eeol"
fi
$MAILBIN/scheduler-old
;;
@@ -122,8 +108,8 @@
if [ -f ../$PIDFILE ]; then
PID=`cat ../$PIDFILE`
kill -TERM -$PID 2>/dev/null
-# else
-# echo $eopt "(warning: no $PIDFILE file) $eeol"
+ else
+ echo $eopt "(warning: no $PIDFILE file) $eeol"
fi
$MAILBIN/scheduler $SCHEDULEROPTIONS
;;
@@ -133,8 +119,8 @@
case $KILL in
-*) if [ -f $POSTOFFICE/.pid.$op ]; then
kill $KILL `cat $POSTOFFICE/.pid.$op`
-# else
-# echo $eopt "(warning: no .pid.$op file) $eeol"
+ else
+ echo $eopt "(warning: no .pid.$op file) $eeol"
fi ;;
*)
if [ -f $POSTOFFICE/.freeze ]; then
--- zmailer-2.99.56.orig/debian/postrm
+++ zmailer-2.99.56/debian/postrm
@@ -34,8 +34,8 @@
#Diversion for bsdmainutils
if [ remove = "$1" ]; then
dpkg-divert --package zmailer --remove --rename \
- --divert /usr/man/man1/vacation.bsd.1.gz \
- /usr/man/man1/vacation.1.gz
+ --divert /usr/share/man/man1/vacation.bsd.1.gz \
+ /usr/share/man/man1/vacation.1.gz
dpkg-divert --package zmailer --remove --rename \
--divert /usr/bin/vacation.bsd \
/usr/bin/vacation
--- zmailer-2.99.56.orig/debian/preinst
+++ zmailer-2.99.56/debian/preinst
@@ -33,8 +33,8 @@
# Diversion for bsdmainutils
if [ install = "$1" ]; then
dpkg-divert --package zmailer --add --rename \
- --divert /usr/man/man1/vacation.bsd.1.gz \
- /usr/man/man1/vacation.1.gz
+ --divert /usr/share/man/man1/vacation.bsd.1.gz \
+ /usr/share/man/man1/vacation.1.gz
dpkg-divert --package zmailer --add --rename \
--divert /usr/bin/vacation.bsd \
/usr/bin/vacation
--- zmailer-2.99.56.orig/debian/README.Debian
+++ zmailer-2.99.56/debian/README.Debian
@@ -37,17 +37,13 @@
are about roughly:
zmailer.conf Sets overall working parameters especially of the Scheduler
and the SMTP Server and the number of routers active at the
- same time. Beware: ZCONFIG= parameter is compiled in into
- most binaries, but can be overrideen with runtime options,
- or in some cases with environment variable.
- See zmailer.conf(5) -manual page.
+ same time. Beware: Some of those parameters are compiled in
+ and cannot be changed!
router.cf Main configuration file of the ZMailer Router. In most cases
you don't need to change this one.
scheduler.conf Important setup for controlling deliveries. Checkout its
manual page for information on syntax and synopsis.
- See scheduler(8) manual page.
smtpserver.co* The file that defines the SMTP Server configuration.
- See smtpserver(8) manual page.
db/fqdnaliases Fully Qualified Domain Name Aliases: when an email addressed
to xxx@your.domain.com should be delivered to
yyy@anotger.domain.com, it should be listed in this file.
@@ -76,11 +72,9 @@
performance possible. The configuration supplied with this Debian package is
the more or less 'default' configuration. After a good optimization process,
you can tranfers loads of email through a simple machine; for instance,
-vger.rutgers.edu, handling quite a few lists, among them is linux-kernel, was
-just a simple SparcClassic running the ZMailer :) (Now vger.kernel.org
-is a PC, but that is another story - 2003.)
+vger.rutgers.edu, handling quite a few lists, among them is linux-kernel, is
+just a simple SparcClassic running the ZMailer :)
Remco van de Meent <remco@debian.org>, Tue, 22 Dec 1998 13:50:48 +0100
(with thanks to Christopher Lameter for some of the text)
-(some small editing: Matti Aarnio, 2003-Aug-29)
--- zmailer-2.99.56.orig/debian/rules
+++ zmailer-2.99.56/debian/rules
@@ -28,10 +28,10 @@
--includedir=/usr/lib/zmailer \
--with-sendmailpath=/usr/sbin/sendmail \
--with-logdir=/var/log/zmailer \
- --with-rmailpath=/usr/sbin/rmail
-
- # --with-openssl-include=/usr/include/openssl
- # --with-openssl-lib=/usr/lib
+ --with-rmailpath=/usr/sbin/rmail \
+ --with-perl-installdirs='INSTALLDIRS=vendor' \
+ --with-openssl-include=/usr/include/openssl \
+ --with-openssl-lib=/usr/lib
# Add here commands to compile the package.
$(MAKE)
@@ -57,8 +57,11 @@
dh_installdirs
# Add here commands to install the package into debian/zmailer.
- $(MAKE) install prefix=`pwd`/debian/zmailer
+ $(MAKE) install DESTDIR=`pwd`/debian/zmailer
+ find debian/zmailer -type f -name .packlist | xargs rm -f
+ find debian/zmailer -type f -name perllocal.pod | xargs rm -f
+ -find debian/zmailer/usr/lib/perl5 -type d -empty | xargs rmdir -p
touch install-stamp
# Build architecture-independent files here.
@@ -93,6 +96,7 @@
# rm -f debian/zmailer/usr/usr/lib/zmailer/rmail \
# debian/zmailer/usr/usr/sbin/rmail
rm -f debian/zmailer/etc/zmailer/config.status
+ rm -f debian/zmailer/usr/share/man/man1/texi2roff.1.gz
(cd debian/zmailer/usr/sbin && rm -f rmail ; \
ln -s ../lib/zmailer/rmail)
--- zmailer-2.99.56.orig/debian/zmailer.default
+++ zmailer-2.99.56/debian/zmailer.default
@@ -0,0 +1,12 @@
+# Defaults for zmailer initscript
+# sourced by /etc/init.d/zmailer
+# installed at /etc/default/zmailer by the maintainer scripts
+#
+
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
+FLAGS="defaults 50"
+ZCONFIG=/etc/zmailer/zmailer.conf
+
+eopt='-n'
+eeol=''
+