diff options
23 files changed, 1453 insertions, 546 deletions
@@ -1,29 +1,30 @@ -*.tgz -*.tgz.* -*.debian.tar.xz -*.dsc -*.build -*.buildinfo -*.changes -*.orig.tar.gz -*.deb -fehqlibs-deb/BUILD -fehqlibs-deb/CHANGELOG -fehqlibs-deb/CONTENT.md -fehqlibs-deb/FILES -fehqlibs-deb/INSTALL.md -fehqlibs-deb/LICENSE -fehqlibs-deb/README.md -fehqlibs-deb/TARGETS -fehqlibs-deb/VERSION -fehqlibs-deb/compile -fehqlibs-deb/conf-build -fehqlibs-deb/configure -fehqlibs-deb/include/ -fehqlibs-deb/install -fehqlibs-deb/makelib -fehqlibs-deb/man/ -fehqlibs-deb/sharedlib -fehqlibs-deb/src/ -ucspi-tcp6-deb/ucspi-tcp6/ -ucspi-ssl-deb/superscript.com/ +/*.tgz +/*.tgz.* +/*.debian.tar.xz +/*.dsc +/*.build +/*.buildinfo +/*.changes +/*.orig.tar.gz +/*.deb +/fehqlibs-deb/BUILD +/fehqlibs-deb/CHANGELOG +/fehqlibs-deb/CONTENT.md +/fehqlibs-deb/FILES +/fehqlibs-deb/INSTALL.md +/fehqlibs-deb/LICENSE +/fehqlibs-deb/README.md +/fehqlibs-deb/TARGETS +/fehqlibs-deb/VERSION +/fehqlibs-deb/compile +/fehqlibs-deb/conf-build +/fehqlibs-deb/configure +/fehqlibs-deb/include/ +/fehqlibs-deb/install +/fehqlibs-deb/makelib +/fehqlibs-deb/man/ +/fehqlibs-deb/sharedlib +/fehqlibs-deb/src/ +/ucspi-tcp6-deb/ucspi-tcp6/ +/ucspi-ssl-deb/superscript.com/ +/sqmail-deb/sqmail/ diff --git a/build-sqmail b/build-sqmail deleted file mode 100755 index e41ce56..0000000 --- a/build-sqmail +++ /dev/null @@ -1,517 +0,0 @@ -#!/bin/sh - -set -eu - -name=sqmail -version=4.3.16 -upname=${name}_$version.orig.tar.gz -srcname=$name-$version -rel_project_root=$name/$name-$version -abs_project_root=$name-$version/$rel_project_root -orig_project_root=$name-$version.orig/$rel_project_root -qmail_home=etc/qmail -qmail_queue=var/lib/qmail/queue - -if ! [ -e $name-$version.tgz ] -then - wget https://www.fehcom.de/$name/$name-$version.tgz - ln -sf $name-$version.tgz $upname -fi -tar -xf $upname -mv mail $srcname -cd $srcname -debmake --email jannis@fehcom.de --fullname 'Jannis M. Hoffmann' -b sqmail,sqmail-users - -patch debian/control <<'END' -2c2 -< Section: unknown ---- -> Section: mail -5c5 -< Build-Depends: debhelper-compat (= 13) ---- -> Build-Depends: debhelper-compat (= 13), dh-exec, libqlibs, libucspissl-dev -7c7 -< Homepage: <insert the upstream URL, if relevant> ---- -> Homepage: https://www.fehcom.de/sqmail/sqmail.html -15c15 -< Depends: ${misc:Depends}, ${shlibs:Depends} ---- -> Depends: ${misc:Depends}, ${shlibs:Depends}, sqmail-users, ucspissl -15a16,18 -> Provides: mail-transport-agent -> Conflicts: mail-transport-agent -> Replaces: mail-transport-agent -END - -cat <<END >debian/rules -#!/usr/bin/make -f -# You must remove unused comment lines for the released package. -export DH_VERBOSE = 1 -#export DEB_BUILD_MAINT_OPTIONS = hardening=+all -export DEB_CFLAGS_MAINT_APPEND = -g -#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed - -%: - dh \$@ --buildsystem=none - -override_dh_auto_clean: - rm -f $rel_project_root/src/ssl.lib - rm -f $rel_project_root/conf-cc - \$(MAKE) -C $rel_project_root/src clean - -override_dh_auto_configure: - echo "-lssl -lcrypto" >$rel_project_root/src/ssl.lib - echo "\$(CC) -Iinclude $(pkg-config -cflags qlibs) \$(CFLAGS)" >$rel_project_root/conf-cc - \$(MAKE) -C $rel_project_root/src auto-uid - \$(MAKE) -C $rel_project_root/src auto-gid - cp debian/contrib/auto_uids.c $rel_project_root/src/ - -override_dh_auto_build: - \$(MAKE) -C $rel_project_root/src default - -override_dh_auto_install: - dh_installsysusers -END - -# tcp-environ.5 conflicts with ucspitcp6 package -cat <<END >debian/sqmail.manpages -$rel_project_root/man/*.[13789] -$rel_project_root/man/addresses.5 -$rel_project_root/man/envelopes.5 -$rel_project_root/man/maildir.5 -$rel_project_root/man/mbox.5 -$rel_project_root/man/qmail-header.5 -$rel_project_root/man/qmail-log.5 -$rel_project_root/man/tai64nfrac.5 -END - -cat <<END >debian/sqmail.install -# base -$rel_project_root/src/qmail-clean usr/bin -$rel_project_root/src/qmail-inject usr/bin -$rel_project_root/src/qmail-local usr/bin -$rel_project_root/src/qmail-lspawn usr/bin -$rel_project_root/src/qmail-send usr/bin -$rel_project_root/src/qmail-queue usr/bin -$rel_project_root/src/qmail-rspawn usr/bin -$rel_project_root/src/qmail-start usr/bin -$rel_project_root/src/qmail-todo usr/bin - -# clients -$rel_project_root/src/mailsubj usr/bin -$rel_project_root/src/qmail-remote usr/bin -$rel_project_root/src/qmail-qmqpc usr/bin -$rel_project_root/src/sendmail usr/bin - -# control -$rel_project_root/src/qmail-mfrules usr/bin -$rel_project_root/src/qmail-showctl usr/bin -$rel_project_root/src/qmail-badloadertypes usr/bin -$rel_project_root/src/qmail-badmimetypes usr/bin -$rel_project_root/src/qmail-recipients usr/bin - -# dkim -$rel_project_root/src/qmail-dkim usr/bin -$rel_project_root/src/qmail-dksign usr/bin - -# dns -$rel_project_root/src/dnscname usr/bin -$rel_project_root/src/dnsfq usr/bin -$rel_project_root/src/dnsip usr/bin -$rel_project_root/src/dnsmxip usr/bin -$rel_project_root/src/dnsptr usr/bin -$rel_project_root/src/dnstlsa usr/bin -$rel_project_root/src/dnstxt usr/bin -$rel_project_root/src/hostname usr/bin -$rel_project_root/src/ipmeprint usr/bin -$rel_project_root/src/spfquery usr/bin - -# forward -$rel_project_root/src/fastforward usr/bin -$rel_project_root/src/forward usr/bin -$rel_project_root/src/setforward usr/bin -$rel_project_root/src/newaliases usr/bin -$rel_project_root/src/newinclude usr/bin -$rel_project_root/src/printforward usr/bin -$rel_project_root/src/printmaillist usr/bin -$rel_project_root/src/setmaillist usr/bin - -# log -$rel_project_root/src/qmail-mrtg usr/bin -$rel_project_root/src/qmail-mrtg-queue usr/bin -$rel_project_root/src/splogger usr/bin -$rel_project_root/src/tai64nfrac usr/bin - -# mbox -$rel_project_root/src/condredirect usr/bin -$rel_project_root/src/bouncesaying usr/bin -$rel_project_root/src/except usr/bin -$rel_project_root/src/maildirmake usr/bin -$rel_project_root/src/maildir2mbox usr/bin -$rel_project_root/src/maildirwatch usr/bin -$rel_project_root/src/preline usr/bin -$rel_project_root/src/qbiff usr/bin -$rel_project_root/src/qreceipt usr/bin - -# pam -$rel_project_root/src/qmail-authuser usr/bin -$rel_project_root/src/qmail-smtpam usr/bin -$rel_project_root/src/qmail-vmailuser usr/bin -$rel_project_root/src/qmail-postgrey usr/bin - -# pop -$rel_project_root/src/qmail-pop3d usr/bin -$rel_project_root/src/qmail-popup usr/bin - -# queue -$rel_project_root/src/qmail-qread usr/bin -$rel_project_root/src/qmail-qstat usr/bin -$rel_project_root/src/qmail-tcpok usr/bin -$rel_project_root/src/qmail-tcpto usr/bin -$rel_project_root/src/qmail-qmaint usr/bin - -# recipients -#$rel_project_root/src/qmail-alias2recipients usr/bin - -# scan -#$rel_project_root/src/qmail-queue-scan usr/bin - -# server -$rel_project_root/src/qmail-qmtpd usr/bin -$rel_project_root/src/qmail-qmqpd usr/bin -$rel_project_root/src/qmail-smtpd usr/bin - -# srs -$rel_project_root/src/srsforward usr/bin -$rel_project_root/src/srsreverse usr/bin - -# user -$rel_project_root/src/qmail-getpw usr/bin -$rel_project_root/src/qmail-newu usr/bin -$rel_project_root/src/qmail-newmrh usr/bin -$rel_project_root/src/qmail-pw2u usr/bin - -# x509 -#$rel_project_root/src/x509fingerprint usr/bin -#$rel_project_root/src/mkdkimkey usr/bin - -# analog -$rel_project_root/src/columnt usr/bin -$rel_project_root/src/ddist usr/bin -$rel_project_root/src/deferrals usr/bin -$rel_project_root/src/failures usr/bin -$rel_project_root/src/matchup usr/bin -$rel_project_root/src/recipients usr/bin -$rel_project_root/src/rhosts usr/bin -$rel_project_root/src/rxdelay usr/bin -$rel_project_root/src/senders usr/bin -$rel_project_root/src/successes usr/bin -$rel_project_root/src/suids usr/bin -$rel_project_root/src/xqp usr/bin -$rel_project_root/src/xrecipient usr/bin -$rel_project_root/src/xsender usr/bin -$rel_project_root/src/zddist usr/bin -$rel_project_root/src/zdeferrals usr/bin -$rel_project_root/src/zfailures usr/bin -$rel_project_root/src/zoverall usr/bin -$rel_project_root/src/zrecipients usr/bin -$rel_project_root/src/zrhosts usr/bin -$rel_project_root/src/zrxdelay usr/bin -$rel_project_root/src/zsenders usr/bin -$rel_project_root/src/zsendmail usr/bin -$rel_project_root/src/zsuccesses usr/bin -$rel_project_root/src/zsuids usr/bin - -# other -$rel_project_root/src/qmail-dkverify usr/bin - -$rel_project_root/ctl/* etc/qmail/control - -debian/contrib/sqmail-send.service usr/lib/systemd/system -debian/contrib/sqmail-smtpd.service usr/lib/systemd/system -END - -mkdir debian/contrib -cat <<END >debian/contrib/convert_ids.awk -# Format of sqmail/$srcname/conf-ids is 'uid:name:description:group:home' -BEGIN { FS = ":"; OFS = "\t"; print "# Generated by 'convert_ids.awk'; DO NOT EDIT!" } -/^#/ { next } -\$3 ~ /group/ { print "g", \$2, \$1; next } -\$3 ~ /user/ { - if (\$5) print "u", \$2, \$1":"\$4, "\""\$3"\"", "/$qmail_home/"\$5 - else print "u", \$2, \$1":"\$4, "\""\$3"\"" - next -} -{ exit 1 } -END -awk -f debian/contrib/convert_ids.awk sqmail/$srcname/conf-ids | expand -t 3,12,26,50 >debian/sqmail-users.sysusers - -cat <<'END' >debian/contrib/sqmail-send.service -[Unit] -Description=qmail delivery daemon -After=network-online.target - -[Service] -ExecStart=qmail-start ./Maildir/ - -[Install] -WantedBy=multi-user.target -END - -cat <<'END' >debian/contrib/sqmail-smtpd.service -[Unit] -Description=qmail delivery daemon -After=network-online.target - -[Service] -User=qmaild -AmbientCapabilities=cap_net_bind_service -Environment=UCSPITLS="" SPF="1" DHFILE="/usr/share/ucspi-ssl/dh2048.pem" -ExecStart=sslserver -seVn -Rp -l %H -Xx /etc/qmail/control/rules.smtpd.cdb :0 smtp qmail-smtpd -ExecReload=qmail-tcpok -ExecReload=/bin/kill -ALRM $MAINPID - -[Install] -WantedBy=multi-user.target -END - -cat <<'END' >debian/contrib/auto_uids.c -int auto_uida = 7790; -int auto_uidd = 7791; -int auto_uidl = 7792; -int auto_uido = 0; -int auto_uidp = 7793; -int auto_uidq = 7794; -int auto_uidr = 7795; -int auto_uids = 7796; -int auto_gidq = 2109; -int auto_gidn = 2108; -END - -cat <<END >debian/clean -$rel_project_root/src/auto_break.c -$rel_project_root/src/install -$rel_project_root/src/instcheck -$rel_project_root/src/libqdkim.a -$rel_project_root/src/predate -$rel_project_root/src/qmail-dksign -$rel_project_root/src/qmail-dkverify -$rel_project_root/src/srsforward -$rel_project_root/src/srsreverse -$rel_project_root/src/auto_usera.c -$rel_project_root/src/config -$rel_project_root/src/config-fast -$rel_project_root/src/datemail -$rel_project_root/src/hasspnam.h -$rel_project_root/src/hasutmp.h -END - -cat <<END >debian/sqmail.links -/usr/bin/ $qmail_home/bin -END - -cat <<END >debian/sqmail.postinst -#!/bin/sh -# postinst script for #PACKAGE# -# -# 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> -# * <postinst> 'abort-remove' -# * <deconfigured's-postinst> 'abort-deconfigure' 'in-favour' -# <failed-install-package> <version> 'removing' -# <conflicting-package> <version> -# for details, see https://www.debian.org/doc/debian-policy/ or -# the debian-policy package. - - -case "\$1" in - configure) - install -d -g sqmail $qmail_home - install -d -g sqmail $qmail_home/control - install -d -o alias -g sqmail $qmail_home/alias - install -d -o sqmtls -g nofiles $qmail_home/ssl - install -d -g sqmail $qmail_home/users - - hostname >$qmail_home/control/me - hostname >$qmail_home/control/rcpthosts - - chown :sqmail usr/bin/qmail-authuser - chmod ug+s usr/bin/qmail-authuser - chown qmailq:sqmail usr/bin/qmail-dksign - chmod u+s usr/bin/qmail-dksign - chown qmailq:sqmail usr/bin/qmail-dkverify - chmod u+s usr/bin/qmail-dkverify - chown :sqmail usr/bin/qmail-postgrey - chmod ug+s usr/bin/qmail-postgrey - chown qmailq:sqmail usr/bin/qmail-queue - chmod ug+s usr/bin/qmail-queue - chown :sqmail usr/bin/qmail-vmailuser - chmod ug+s usr/bin/qmail-vmailuser - - install -d -o qmailq -g sqmail -m 750 $qmail_queue - install -d -o qmails -g sqmail -m 700 $qmail_queue/bounce - install -d -o qmailq -g sqmail -m 750 $qmail_queue/dkim - install -d -o qmails -g sqmail -m 700 $qmail_queue/info - install -d -o qmailq -g sqmail -m 700 $qmail_queue/intd - install -d -o qmails -g sqmail -m 700 $qmail_queue/local - install -d -o qmailq -g sqmail -m 750 $qmail_queue/lock - install -d -o qmailq -g sqmail -m 750 $qmail_queue/mess - install -d -o qmailq -g sqmail -m 700 $qmail_queue/pid - - for i in \$(seq 0 22) - do - install -d -o qmailq -g sqmail $qmail_queue/dkim/\$i - install -d -o qmails -g sqmail $qmail_queue/info/\$i - install -d -o qmailq -g sqmail $qmail_queue/intd/\$i - install -d -o qmails -g sqmail $qmail_queue/local/\$i - install -d -o qmailq -g sqmail $qmail_queue/mess/\$i - install -d -o qmails -g sqmail $qmail_queue/remote/\$i - install -d -o qmailq -g sqmail $qmail_queue/todo/\$i - done - - touch $qmail_queue/lock/sendmutex - chown qmails:sqmail $qmail_queue/lock/sendmutex - chmod 600 $qmail_queue/lock/sendmutex - - touch $qmail_queue/lock/tcpto - chown qmailr:sqmail $qmail_queue/lock/tcpto - chmod 644 $qmail_queue/lock/tcpto - fallocate -l 1024 $qmail_queue/lock/tcpto - - [ -p $qmail_queue/lock/trigger ] || mkfifo $qmail_queue/lock/trigger - chown qmails:sqmail $qmail_queue/lock/trigger - chmod 622 $qmail_queue/lock/trigger - ;; - - 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 -END - -cat <<END >debian/sqmail.postrm -#!/bin/sh -# postrm script for #PACKAGE#. -# -# 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' <overwriter> -# <overwriter-version> -# for details, see https://www.debian.org/doc/debian-policy/ or -# the debian-policy package. - - -case "\$1" in - remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - ;; - - purge) - rm -rf $qmail_home - rm -rf ${qmail_queue%/queue} - ;; - - *) - 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 -END - -cat <<END >debian/patches/000-config.patch -Author: Jannis M. Hoffmann -Description: change queue directory - ---- $orig_project_root/conf-queue -+++ $abs_project_root/conf-queue -@@ -1,3 +1,3 @@ --/var/qmail -+/var/lib/qmail - - # Note: ./queue/ is added automatically! - ---- $orig_project_root/conf-home -+++ $abs_project_root/conf-home -@@ -1,4 +1,4 @@ --/var/qmail -+/etc/qmail - - # This is the sqmail home directory. It must be a local directory, not - # shared among machines. The mail queue may reside at a different directory. e.g.: - -END - -cat <<END >debian/patches/000-make-ucspissl.patch -Author: Jannis M. Hoffmann -Description: replace direct ucspissl.a with libucspissl - ---- $orig_project_root/src/Makefile -+++ $abs_project_root/src/Makefile -@@ -1051,11 +1051,11 @@ qmail-remote: \\ - load qmail-remote.o control.o tcpto.o now.o dns.o ipalloc.o ipme.o \\ - quote.o tls_timeoutio.o tls_errors.o tls_remote.o dns_tlsa.o \\ - base64.o constmap.o md5c.o hmac_md5.o auto_qmail.o auto_queue.o \\ --ssl.lib dns.lib socket.lib qlibs.lib idn2.lib ucspissl.a -+ssl.lib dns.lib socket.lib qlibs.lib idn2.lib - ./load qmail-remote control.o tcpto.o now.o \\ - base64.o constmap.o hmac_md5.o md5c.o ipalloc.o ipme.o \\ - quote.o dns.o auto_qmail.o auto_queue.o dns_tlsa.o \\ -- tls_errors.o tls_remote.o tls_timeoutio.o ucspissl.a \\ -+ tls_errors.o tls_remote.o tls_timeoutio.o -lucspissl \\ - \`cat ssl.lib\` \`cat dns.lib\` \`cat socket.lib\` \`cat qlibs.lib\` \`cat idn2.lib\` - - qmail-remote.o: \\ -@@ -1098,10 +1098,10 @@ qmail-smtpam: \\ - load qmail-smtpam.o control.o now.o dns.o constmap.o \\ - ipalloc.o ipme.o quote.o auto_qmail.o auto_queue.o tcpto.o \\ - tls_timeoutio.o tls_errors.o tls_remote.o dns_tlsa.o \\ --ssl.lib dns.lib socket.lib qlibs.lib ucspissl.a -+ssl.lib dns.lib socket.lib qlibs.lib - ./load qmail-smtpam constmap.o control.o dns_tlsa.o \\ - tcpto.o now.o dns.o ipalloc.o ipme.o quote.o auto_qmail.o \\ -- auto_queue.o tls_errors.o tls_remote.o tls_timeoutio.o ucspissl.a \\ -+ auto_queue.o tls_errors.o tls_remote.o tls_timeoutio.o -lucspissl \\ - \`cat ssl.lib\` \`cat dns.lib\` \`cat socket.lib\` \`cat qlibs.lib\` - - qmail-smtpam.o: \\ -END - -printf "000-config.patch\n000-make-ucspissl.patch\n" >>debian/patches/series - -rm debian/source/control debian/tests/control diff --git a/sqmail-deb/debian/README.Debian b/sqmail-deb/debian/README.Debian new file mode 100644 index 0000000..9b40231 --- /dev/null +++ b/sqmail-deb/debian/README.Debian @@ -0,0 +1,8 @@ +sqmail for Debian + +Please edit this to provide information specific to +this sqmail Debian package. + + (Automatically generated by debmake Version 4.4.0) + + -- Jannis M. Hoffmann <jannis@fehcom.de> Mon, 23 Sep 2024 21:48:40 +0200 diff --git a/sqmail-deb/debian/changelog b/sqmail-deb/debian/changelog new file mode 100644 index 0000000..bca38dc --- /dev/null +++ b/sqmail-deb/debian/changelog @@ -0,0 +1,6 @@ +sqmail (4.3.16-1) UNRELEASED; urgency=low + + * Initial release. Closes: #nnnn + <nnnn is the bug number of your ITP> + + -- Jannis M. Hoffmann <jannis@fehcom.de> Mon, 23 Sep 2024 21:48:40 +0200 diff --git a/sqmail-deb/debian/clean b/sqmail-deb/debian/clean new file mode 100644 index 0000000..3416eff --- /dev/null +++ b/sqmail-deb/debian/clean @@ -0,0 +1,16 @@ +sqmail/sqmail-4.3.16/src/auto_break.c +sqmail/sqmail-4.3.16/src/install +sqmail/sqmail-4.3.16/src/instcheck +sqmail/sqmail-4.3.16/src/libqdkim.a +sqmail/sqmail-4.3.16/src/predate +sqmail/sqmail-4.3.16/src/qmail-dksign +sqmail/sqmail-4.3.16/src/qmail-dkverify +sqmail/sqmail-4.3.16/src/srsforward +sqmail/sqmail-4.3.16/src/srsreverse +sqmail/sqmail-4.3.16/src/auto_usera.c +sqmail/sqmail-4.3.16/src/config +sqmail/sqmail-4.3.16/src/config-fast +sqmail/sqmail-4.3.16/src/datemail +sqmail/sqmail-4.3.16/src/hasspnam.h +sqmail/sqmail-4.3.16/src/hasutmp.h +sqmail/sqmail-4.3.16/src/hassalen.h diff --git a/sqmail-deb/debian/contrib/auto_uids.c b/sqmail-deb/debian/contrib/auto_uids.c new file mode 100644 index 0000000..02ac97d --- /dev/null +++ b/sqmail-deb/debian/contrib/auto_uids.c @@ -0,0 +1,10 @@ +int auto_uida = 7790; +int auto_uidd = 7791; +int auto_uidl = 7792; +int auto_uido = 0; +int auto_uidp = 7793; +int auto_uidq = 7794; +int auto_uidr = 7795; +int auto_uids = 7796; +int auto_gidq = 2109; +int auto_gidn = 2108; diff --git a/sqmail-deb/debian/contrib/convert_ids.awk b/sqmail-deb/debian/contrib/convert_ids.awk new file mode 100644 index 0000000..e538371 --- /dev/null +++ b/sqmail-deb/debian/contrib/convert_ids.awk @@ -0,0 +1,10 @@ +# Format of sqmail/sqmail-4.3.16/conf-ids is 'uid:name:description:group:home' +BEGIN { FS = ":"; OFS = "\t"; print "# Generated by 'convert_ids.awk'; DO NOT EDIT!" } +/^#/ { next } +$3 ~ /group/ { print "g", $2, $1; next } +$3 ~ /user/ { + if ($5) print "u", $2, $1":"$4, "\""$3"\"", "/etc/qmail/"$5 + else print "u", $2, $1":"$4, "\""$3"\"" + next +} +{ exit 1 } diff --git a/sqmail-deb/debian/contrib/sqmail-send.service b/sqmail-deb/debian/contrib/sqmail-send.service new file mode 100644 index 0000000..a6df99b --- /dev/null +++ b/sqmail-deb/debian/contrib/sqmail-send.service @@ -0,0 +1,9 @@ +[Unit] +Description=qmail delivery daemon +After=network-online.target + +[Service] +ExecStart=qmail-start ./Maildir/ + +[Install] +WantedBy=multi-user.target diff --git a/sqmail-deb/debian/contrib/sqmail-smtpd.service b/sqmail-deb/debian/contrib/sqmail-smtpd.service new file mode 100644 index 0000000..0468b25 --- /dev/null +++ b/sqmail-deb/debian/contrib/sqmail-smtpd.service @@ -0,0 +1,14 @@ +[Unit] +Description=qmail delivery daemon +After=network-online.target + +[Service] +User=qmaild +AmbientCapabilities=cap_net_bind_service +Environment=UCSPITLS="" SPF="1" DHFILE="/usr/share/ucspi-ssl/dh2048.pem" +ExecStart=sslserver -seVn -Rp -l %H -Xx /etc/qmail/control/rules.smtpd.cdb :0 smtp qmail-smtpd +ExecReload=qmail-tcpok +ExecReload=/bin/kill -ALRM $MAINPID + +[Install] +WantedBy=multi-user.target diff --git a/sqmail-deb/debian/control b/sqmail-deb/debian/control new file mode 100644 index 0000000..edd7f11 --- /dev/null +++ b/sqmail-deb/debian/control @@ -0,0 +1,30 @@ +Source: sqmail +Section: mail +Priority: optional +Maintainer: Jannis M. Hoffmann <jannis@fehcom.de> +Build-Depends: debhelper-compat (= 13), dh-exec, libqlibs, libucspissl-dev +Standards-Version: 4.5.1 +Homepage: https://www.fehcom.de/sqmail/sqmail.html +Rules-Requires-Root: no +#Vcs-Git: https://salsa.debian.org/debian/sqmail.git +#Vcs-Browser: https://salsa.debian.org/debian/sqmail + +Package: sqmail +Architecture: any +Multi-Arch: foreign +Depends: ${misc:Depends}, ${shlibs:Depends}, sqmail-users, ucspissl +Provides: mail-transport-agent +Conflicts: mail-transport-agent +Replaces: mail-transport-agent +Description: auto-generated package by debmake: bin #0 + This package contains the compiled binary executable.: #0 + . + This Debian binary package was auto-generated by the + debmake(1) command provided by the debmake package. + +Package: sqmail-users +Architecture: any +Multi-Arch: foreign +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: auto-generated package by debmake: bin #1 + This package contains the compiled binary executable.: #1 diff --git a/sqmail-deb/debian/copyright b/sqmail-deb/debian/copyright new file mode 100644 index 0000000..50d6782 --- /dev/null +++ b/sqmail-deb/debian/copyright @@ -0,0 +1,923 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: sqmail +Upstream-Contact: <preferred name and address to reach the upstream project> +Source: <url://example.com> +# +# Please double check copyright with the licensecheck(1) command. + +Files: sqmail/sqmail-4.3.16/INSTALL.md + sqmail/sqmail-4.3.16/README.md + sqmail/sqmail-4.3.16/addons/clamav-0.90.1_output.patch + sqmail/sqmail-4.3.16/conf-break + sqmail/sqmail-4.3.16/conf-cc + sqmail/sqmail-4.3.16/conf-delivery + sqmail/sqmail-4.3.16/conf-groups + sqmail/sqmail-4.3.16/conf-home + sqmail/sqmail-4.3.16/conf-idn2 + sqmail/sqmail-4.3.16/conf-ids + sqmail/sqmail-4.3.16/conf-instances + sqmail/sqmail-4.3.16/conf-ld + sqmail/sqmail-4.3.16/conf-ldap + sqmail/sqmail-4.3.16/conf-log + sqmail/sqmail-4.3.16/conf-man + sqmail/sqmail-4.3.16/conf-patrn + sqmail/sqmail-4.3.16/conf-qlibs + sqmail/sqmail-4.3.16/conf-qmq + sqmail/sqmail-4.3.16/conf-queue + sqmail/sqmail-4.3.16/conf-spawn + sqmail/sqmail-4.3.16/conf-split + sqmail/sqmail-4.3.16/conf-svcdir + sqmail/sqmail-4.3.16/conf-ucspissl + sqmail/sqmail-4.3.16/conf-users + sqmail/sqmail-4.3.16/ctl/badloadertypes + sqmail/sqmail-4.3.16/ctl/badmailfrom + sqmail/sqmail-4.3.16/ctl/badmimetypes + sqmail/sqmail-4.3.16/ctl/badrcptto + sqmail/sqmail-4.3.16/ctl/locals + sqmail/sqmail-4.3.16/ctl/rules.qmtpd.cdb + sqmail/sqmail-4.3.16/ctl/rules.qmtpd.txt + sqmail/sqmail-4.3.16/ctl/rules.smtpd.cdb + sqmail/sqmail-4.3.16/ctl/rules.smtpd.txt + sqmail/sqmail-4.3.16/doc/BLURB + sqmail/sqmail-4.3.16/doc/CHANGELOG + sqmail/sqmail-4.3.16/doc/CHANGELOG_V3 + sqmail/sqmail-4.3.16/doc/CONTRIBUTERS + sqmail/sqmail-4.3.16/doc/LOGGING + sqmail/sqmail-4.3.16/doc/Old/README.djbdns + sqmail/sqmail-4.3.16/doc/Old/README.mav + sqmail/sqmail-4.3.16/doc/Old/README.qmq + sqmail/sqmail-4.3.16/doc/Old/README.recipients + sqmail/sqmail-4.3.16/doc/Old/README.wildmat + sqmail/sqmail-4.3.16/doc/Qmail/BLURB + sqmail/sqmail-4.3.16/doc/Qmail/FAQ + sqmail/sqmail-4.3.16/doc/Qmail/INSTALL.alias + sqmail/sqmail-4.3.16/doc/Qmail/INSTALL.ctl + sqmail/sqmail-4.3.16/doc/Qmail/INSTALL.ids + sqmail/sqmail-4.3.16/doc/Qmail/INSTALL.maildir + sqmail/sqmail-4.3.16/doc/Qmail/INSTALL.mbox + sqmail/sqmail-4.3.16/doc/Qmail/INSTALL.qmail + sqmail/sqmail-4.3.16/doc/Qmail/INTERNALS + sqmail/sqmail-4.3.16/doc/Qmail/PIC.local2alias + sqmail/sqmail-4.3.16/doc/Qmail/PIC.local2ext + sqmail/sqmail-4.3.16/doc/Qmail/PIC.local2local + sqmail/sqmail-4.3.16/doc/Qmail/PIC.local2rem + sqmail/sqmail-4.3.16/doc/Qmail/PIC.local2virt + sqmail/sqmail-4.3.16/doc/Qmail/PIC.nullclient + sqmail/sqmail-4.3.16/doc/Qmail/PIC.relaybad + sqmail/sqmail-4.3.16/doc/Qmail/PIC.relaygood + sqmail/sqmail-4.3.16/doc/Qmail/PIC.rem2local + sqmail/sqmail-4.3.16/doc/Qmail/REMOVE.binmail + sqmail/sqmail-4.3.16/doc/Qmail/REMOVE.sendmail + sqmail/sqmail-4.3.16/doc/Qmail/SYSDEPS + sqmail/sqmail-4.3.16/doc/Qmail/TEST.deliver + sqmail/sqmail-4.3.16/doc/Qmail/TEST.receive + sqmail/sqmail-4.3.16/doc/Qmail/THANKS + sqmail/sqmail-4.3.16/doc/Qmail/TODO.djb + sqmail/sqmail-4.3.16/doc/Qmail/TODO.done + sqmail/sqmail-4.3.16/doc/README.clamav + sqmail/sqmail-4.3.16/doc/README.integrators + sqmail/sqmail-4.3.16/doc/README.smtpreply + sqmail/sqmail-4.3.16/doc/TODO + sqmail/sqmail-4.3.16/doc/smtpreplies + sqmail/sqmail-4.3.16/etc/qmail-mrtg.pop3d.sample + sqmail/sqmail-4.3.16/etc/qmail-mrtg.send.sample + sqmail/sqmail-4.3.16/etc/qmail-mrtg.smtpd.sample + sqmail/sqmail-4.3.16/man/Makefile + sqmail/sqmail-4.3.16/man/Makefile.mandoc + sqmail/sqmail-4.3.16/man/TARGETS + sqmail/sqmail-4.3.16/man/addresses.5 + sqmail/sqmail-4.3.16/man/bouncesaying.1 + sqmail/sqmail-4.3.16/man/columnt.1 + sqmail/sqmail-4.3.16/man/condredirect.1 + sqmail/sqmail-4.3.16/man/datetime.3 + sqmail/sqmail-4.3.16/man/dnscname.8 + sqmail/sqmail-4.3.16/man/dnsfq.8 + sqmail/sqmail-4.3.16/man/dnsip.8 + sqmail/sqmail-4.3.16/man/dnsmxip.8 + sqmail/sqmail-4.3.16/man/dnsptr.8 + sqmail/sqmail-4.3.16/man/dnstlsa.8 + sqmail/sqmail-4.3.16/man/dnstxt.8 + sqmail/sqmail-4.3.16/man/dot-qmail.9 + sqmail/sqmail-4.3.16/man/envelopes.5 + sqmail/sqmail-4.3.16/man/except.1 + sqmail/sqmail-4.3.16/man/fastforward.1 + sqmail/sqmail-4.3.16/man/forgeries.7 + sqmail/sqmail-4.3.16/man/forward.1 + sqmail/sqmail-4.3.16/man/hostname.8 + sqmail/sqmail-4.3.16/man/ipmeprint.8 + sqmail/sqmail-4.3.16/man/maildir.5 + sqmail/sqmail-4.3.16/man/maildir2mbox.1 + sqmail/sqmail-4.3.16/man/maildirmake.1 + sqmail/sqmail-4.3.16/man/maildirwatch.1 + sqmail/sqmail-4.3.16/man/mailsubj.1 + sqmail/sqmail-4.3.16/man/matchup.1 + sqmail/sqmail-4.3.16/man/mbox.5 + sqmail/sqmail-4.3.16/man/newaliases.1 + sqmail/sqmail-4.3.16/man/newinclude.1 + sqmail/sqmail-4.3.16/man/preline.1 + sqmail/sqmail-4.3.16/man/printforward.1 + sqmail/sqmail-4.3.16/man/printmaillist.1 + sqmail/sqmail-4.3.16/man/qbiff.1 + sqmail/sqmail-4.3.16/man/qmail-authuser.9 + sqmail/sqmail-4.3.16/man/qmail-badloadertypes.9 + sqmail/sqmail-4.3.16/man/qmail-badmimetypes.9 + sqmail/sqmail-4.3.16/man/qmail-clean.8 + sqmail/sqmail-4.3.16/man/qmail-command.8 + sqmail/sqmail-4.3.16/man/qmail-control.9 + sqmail/sqmail-4.3.16/man/qmail-dkim.8 + sqmail/sqmail-4.3.16/man/qmail-dksign.9 + sqmail/sqmail-4.3.16/man/qmail-dkverify.8 + sqmail/sqmail-4.3.16/man/qmail-getpw.9 + sqmail/sqmail-4.3.16/man/qmail-header.5 + sqmail/sqmail-4.3.16/man/qmail-inject.8 + sqmail/sqmail-4.3.16/man/qmail-limits.9 + sqmail/sqmail-4.3.16/man/qmail-local.8 + sqmail/sqmail-4.3.16/man/qmail-log.5 + sqmail/sqmail-4.3.16/man/qmail-lspawn.8 + sqmail/sqmail-4.3.16/man/qmail-mfrules.9 + sqmail/sqmail-4.3.16/man/qmail-mrtg.8 + sqmail/sqmail-4.3.16/man/qmail-newmrh.9 + sqmail/sqmail-4.3.16/man/qmail-newu.9 + sqmail/sqmail-4.3.16/man/qmail-pop3d.8 + sqmail/sqmail-4.3.16/man/qmail-popup.8 + sqmail/sqmail-4.3.16/man/qmail-postgrey.8 + sqmail/sqmail-4.3.16/man/qmail-pw2u.9 + sqmail/sqmail-4.3.16/man/qmail-qmaint.8 + sqmail/sqmail-4.3.16/man/qmail-qmqpc.8 + sqmail/sqmail-4.3.16/man/qmail-qmqpd.8 + sqmail/sqmail-4.3.16/man/qmail-qmtpd.8 + sqmail/sqmail-4.3.16/man/qmail-qread.8 + sqmail/sqmail-4.3.16/man/qmail-qstat.8 + sqmail/sqmail-4.3.16/man/qmail-queue.8 + sqmail/sqmail-4.3.16/man/qmail-recipients.9 + sqmail/sqmail-4.3.16/man/qmail-remote.8 + sqmail/sqmail-4.3.16/man/qmail-rspawn.8 + sqmail/sqmail-4.3.16/man/qmail-send.9 + sqmail/sqmail-4.3.16/man/qmail-showctl.8 + sqmail/sqmail-4.3.16/man/qmail-smtpam.8 + sqmail/sqmail-4.3.16/man/qmail-smtpd.8 + sqmail/sqmail-4.3.16/man/qmail-start.9 + sqmail/sqmail-4.3.16/man/qmail-tcpok.8 + sqmail/sqmail-4.3.16/man/qmail-tcpto.8 + sqmail/sqmail-4.3.16/man/qmail-todo.8 + sqmail/sqmail-4.3.16/man/qmail-users.9 + sqmail/sqmail-4.3.16/man/qmail-vmailuser.9 + sqmail/sqmail-4.3.16/man/qreceipt.1 + sqmail/sqmail-4.3.16/man/setforward.1 + sqmail/sqmail-4.3.16/man/setmaillist.1 + sqmail/sqmail-4.3.16/man/spfquery.8 + sqmail/sqmail-4.3.16/man/splogger.8 + sqmail/sqmail-4.3.16/man/sqmail.9 + sqmail/sqmail-4.3.16/man/srsforward.1 + sqmail/sqmail-4.3.16/man/srsreverse.9 + sqmail/sqmail-4.3.16/man/tai64nfrac.5 + sqmail/sqmail-4.3.16/man/tcp-environ.5 + sqmail/sqmail-4.3.16/man/xqp.1 + sqmail/sqmail-4.3.16/man/xrecipient.1 + sqmail/sqmail-4.3.16/man/xsender.1 + sqmail/sqmail-4.3.16/package/build + sqmail/sqmail-4.3.16/package/command-cp + sqmail/sqmail-4.3.16/package/command-ln + sqmail/sqmail-4.3.16/package/commands-analog + sqmail/sqmail-4.3.16/package/commands-base + sqmail/sqmail-4.3.16/package/commands-clients + sqmail/sqmail-4.3.16/package/commands-control + sqmail/sqmail-4.3.16/package/commands-dkim + sqmail/sqmail-4.3.16/package/commands-dns + sqmail/sqmail-4.3.16/package/commands-forward + sqmail/sqmail-4.3.16/package/commands-log + sqmail/sqmail-4.3.16/package/commands-mbox + sqmail/sqmail-4.3.16/package/commands-pam + sqmail/sqmail-4.3.16/package/commands-pop + sqmail/sqmail-4.3.16/package/commands-queue + sqmail/sqmail-4.3.16/package/commands-recipients + sqmail/sqmail-4.3.16/package/commands-scan + sqmail/sqmail-4.3.16/package/commands-server + sqmail/sqmail-4.3.16/package/commands-setup + sqmail/sqmail-4.3.16/package/commands-srs + sqmail/sqmail-4.3.16/package/commands-user + sqmail/sqmail-4.3.16/package/commands-x509 + sqmail/sqmail-4.3.16/package/compile + sqmail/sqmail-4.3.16/package/control + sqmail/sqmail-4.3.16/package/dir + sqmail/sqmail-4.3.16/package/files + sqmail/sqmail-4.3.16/package/ids + sqmail/sqmail-4.3.16/package/install + sqmail/sqmail-4.3.16/package/legacy + sqmail/sqmail-4.3.16/package/man + sqmail/sqmail-4.3.16/package/path + sqmail/sqmail-4.3.16/package/qmq + sqmail/sqmail-4.3.16/package/report + sqmail/sqmail-4.3.16/package/rts + sqmail/sqmail-4.3.16/package/run + sqmail/sqmail-4.3.16/package/scripts + sqmail/sqmail-4.3.16/package/service + sqmail/sqmail-4.3.16/package/services=d + sqmail/sqmail-4.3.16/package/sslenv + sqmail/sqmail-4.3.16/package/ucspissl + sqmail/sqmail-4.3.16/package/upgrade + sqmail/sqmail-4.3.16/package/version + sqmail/sqmail-4.3.16/scripts/Makefile + sqmail/sqmail-4.3.16/scripts/README.md + sqmail/sqmail-4.3.16/scripts/TARGETS + sqmail/sqmail-4.3.16/scripts/it-pam=d + sqmail/sqmail-4.3.16/scripts/it-recipients=d + sqmail/sqmail-4.3.16/scripts/it-scan=d + sqmail/sqmail-4.3.16/scripts/it-x509=d + sqmail/sqmail-4.3.16/scripts/it=d + sqmail/sqmail-4.3.16/scripts/ksh-auto.sh + sqmail/sqmail-4.3.16/scripts/ldap-pam.pl + sqmail/sqmail-4.3.16/scripts/multiple-queues.sh + sqmail/sqmail-4.3.16/scripts/perl-auto.sh + sqmail/sqmail-4.3.16/scripts/qmail-alias2recipients.sh + sqmail/sqmail-4.3.16/scripts/qmail-queue-scan.sh + sqmail/sqmail-4.3.16/scripts/warn-auto.sh + sqmail/sqmail-4.3.16/scripts/x509fingerprint.sh + sqmail/sqmail-4.3.16/service/run_log + sqmail/sqmail-4.3.16/service/run_pop3d + sqmail/sqmail-4.3.16/service/run_pop3sd + sqmail/sqmail-4.3.16/service/run_postgrey + sqmail/sqmail-4.3.16/service/run_qmqpd + sqmail/sqmail-4.3.16/service/run_qmtpd + sqmail/sqmail-4.3.16/service/run_qmtpsd + sqmail/sqmail-4.3.16/service/run_send + sqmail/sqmail-4.3.16/service/run_smtpd + sqmail/sqmail-4.3.16/service/run_smtpsd + sqmail/sqmail-4.3.16/service/run_smtpsub + sqmail/sqmail-4.3.16/service/ssl.env + sqmail/sqmail-4.3.16/src/Makefile + sqmail/sqmail-4.3.16/src/TARGETS + sqmail/sqmail-4.3.16/src/auto-gid.c + sqmail/sqmail-4.3.16/src/auto-int.c + sqmail/sqmail-4.3.16/src/auto-int8.c + sqmail/sqmail-4.3.16/src/auto-str.c + sqmail/sqmail-4.3.16/src/auto-uid.c + sqmail/sqmail-4.3.16/src/base64.c + sqmail/sqmail-4.3.16/src/bouncesaying.c + sqmail/sqmail-4.3.16/src/chkshsgr.c + sqmail/sqmail-4.3.16/src/chkspawn.c + sqmail/sqmail-4.3.16/src/columnt.c + sqmail/sqmail-4.3.16/src/commands.c + sqmail/sqmail-4.3.16/src/condredirect.c + sqmail/sqmail-4.3.16/src/config-fast.sh + sqmail/sqmail-4.3.16/src/config.sh + sqmail/sqmail-4.3.16/src/constmap.c + sqmail/sqmail-4.3.16/src/control.c + sqmail/sqmail-4.3.16/src/crypt.lib + sqmail/sqmail-4.3.16/src/date822fmt.c + sqmail/sqmail-4.3.16/src/datemail.sh + sqmail/sqmail-4.3.16/src/datetime.c + sqmail/sqmail-4.3.16/src/ddist.sh + sqmail/sqmail-4.3.16/src/deferrals.sh + sqmail/sqmail-4.3.16/src/direntry.h1 + sqmail/sqmail-4.3.16/src/direntry.h2 + sqmail/sqmail-4.3.16/src/dns.c + sqmail/sqmail-4.3.16/src/dns_tlsa.c + sqmail/sqmail-4.3.16/src/dnscname.c + sqmail/sqmail-4.3.16/src/dnsdoe.c + sqmail/sqmail-4.3.16/src/dnsfq.c + sqmail/sqmail-4.3.16/src/dnsip.c + sqmail/sqmail-4.3.16/src/dnsmxip.c + sqmail/sqmail-4.3.16/src/dnsptr.c + sqmail/sqmail-4.3.16/src/dnstlsa.c + sqmail/sqmail-4.3.16/src/dnstxt.c + sqmail/sqmail-4.3.16/src/except.c + sqmail/sqmail-4.3.16/src/failures.sh + sqmail/sqmail-4.3.16/src/fastforward.c + sqmail/sqmail-4.3.16/src/fifo.c + sqmail/sqmail-4.3.16/src/find-systype.sh + sqmail/sqmail-4.3.16/src/fmtqfn.c + sqmail/sqmail-4.3.16/src/fork.h1 + sqmail/sqmail-4.3.16/src/fork.h2 + sqmail/sqmail-4.3.16/src/forward.c + sqmail/sqmail-4.3.16/src/gfrom.c + sqmail/sqmail-4.3.16/src/headerbody.c + sqmail/sqmail-4.3.16/src/hfield.c + sqmail/sqmail-4.3.16/src/hier.c + sqmail/sqmail-4.3.16/src/hmac_md5.c + sqmail/sqmail-4.3.16/src/hostname.c + sqmail/sqmail-4.3.16/src/include/auto_break.h + sqmail/sqmail-4.3.16/src/include/auto_patrn.h + sqmail/sqmail-4.3.16/src/include/auto_qmail.h + sqmail/sqmail-4.3.16/src/include/auto_queue.h + sqmail/sqmail-4.3.16/src/include/auto_spawn.h + sqmail/sqmail-4.3.16/src/include/auto_split.h + sqmail/sqmail-4.3.16/src/include/auto_uids.h + sqmail/sqmail-4.3.16/src/include/auto_usera.h + sqmail/sqmail-4.3.16/src/include/base64.h + sqmail/sqmail-4.3.16/src/include/commands.h + sqmail/sqmail-4.3.16/src/include/constmap.h + sqmail/sqmail-4.3.16/src/include/control.h + sqmail/sqmail-4.3.16/src/include/date822fmt.h + sqmail/sqmail-4.3.16/src/include/datetime.h + sqmail/sqmail-4.3.16/src/include/dns.h + sqmail/sqmail-4.3.16/src/include/dnsdoe.h + sqmail/sqmail-4.3.16/src/include/dnsgettxt.h + sqmail/sqmail-4.3.16/src/include/exit.h + sqmail/sqmail-4.3.16/src/include/extra.h + sqmail/sqmail-4.3.16/src/include/fifo.h + sqmail/sqmail-4.3.16/src/include/fmtqfn.h + sqmail/sqmail-4.3.16/src/include/gfrom.h + sqmail/sqmail-4.3.16/src/include/headerbody.h + sqmail/sqmail-4.3.16/src/include/hfield.h + sqmail/sqmail-4.3.16/src/include/hier.h + sqmail/sqmail-4.3.16/src/include/hmac_md5.h + sqmail/sqmail-4.3.16/src/include/ipalloc.h + sqmail/sqmail-4.3.16/src/include/ipme.h + sqmail/sqmail-4.3.16/src/include/maildir.h + sqmail/sqmail-4.3.16/src/include/mfrules.h + sqmail/sqmail-4.3.16/src/include/myctime.h + sqmail/sqmail-4.3.16/src/include/newfield.h + sqmail/sqmail-4.3.16/src/include/now.h + sqmail/sqmail-4.3.16/src/include/prioq.h + sqmail/sqmail-4.3.16/src/include/prot.h + sqmail/sqmail-4.3.16/src/include/qlx.h + sqmail/sqmail-4.3.16/src/include/qmail.h + sqmail/sqmail-4.3.16/src/include/qsutil.h + sqmail/sqmail-4.3.16/src/include/quote.h + sqmail/sqmail-4.3.16/src/include/rcpthosts.h + sqmail/sqmail-4.3.16/src/include/readsubdir.h + sqmail/sqmail-4.3.16/src/include/readwrite.h + sqmail/sqmail-4.3.16/src/include/received.h + sqmail/sqmail-4.3.16/src/include/recipients.h + sqmail/sqmail-4.3.16/src/include/sendtodo.h + sqmail/sqmail-4.3.16/src/include/sha1.h + sqmail/sqmail-4.3.16/src/include/sha256.h + sqmail/sqmail-4.3.16/src/include/smtpdlog.h + sqmail/sqmail-4.3.16/src/include/spf.h + sqmail/sqmail-4.3.16/src/include/strset.h + sqmail/sqmail-4.3.16/src/include/tcpto.h + sqmail/sqmail-4.3.16/src/include/tls_errors.h + sqmail/sqmail-4.3.16/src/include/tls_remote.h + sqmail/sqmail-4.3.16/src/include/tls_start.h + sqmail/sqmail-4.3.16/src/include/tls_timeoutio.h + sqmail/sqmail-4.3.16/src/include/token822.h + sqmail/sqmail-4.3.16/src/include/trigger.h + sqmail/sqmail-4.3.16/src/include/triggerpull.h + sqmail/sqmail-4.3.16/src/include/ucspitls.h + sqmail/sqmail-4.3.16/src/include/wildmat.h + sqmail/sqmail-4.3.16/src/install.c + sqmail/sqmail-4.3.16/src/instcheck.c + sqmail/sqmail-4.3.16/src/ipalloc.c + sqmail/sqmail-4.3.16/src/ipme.c + sqmail/sqmail-4.3.16/src/ipmeprint.c + sqmail/sqmail-4.3.16/src/it-analog=d + sqmail/sqmail-4.3.16/src/it-base=d + sqmail/sqmail-4.3.16/src/it-clients=d + sqmail/sqmail-4.3.16/src/it-control=d + sqmail/sqmail-4.3.16/src/it-dkim=d + sqmail/sqmail-4.3.16/src/it-dns=d + sqmail/sqmail-4.3.16/src/it-forward=d + sqmail/sqmail-4.3.16/src/it-log=d + sqmail/sqmail-4.3.16/src/it-mbox=d + sqmail/sqmail-4.3.16/src/it-pam=d + sqmail/sqmail-4.3.16/src/it-pop=d + sqmail/sqmail-4.3.16/src/it-queue=d + sqmail/sqmail-4.3.16/src/it-server=d + sqmail/sqmail-4.3.16/src/it-setup=d + sqmail/sqmail-4.3.16/src/it-srs=d + sqmail/sqmail-4.3.16/src/it-user=d + sqmail/sqmail-4.3.16/src/it=d + sqmail/sqmail-4.3.16/src/maildir.c + sqmail/sqmail-4.3.16/src/maildir2mbox.c + sqmail/sqmail-4.3.16/src/maildirmake.c + sqmail/sqmail-4.3.16/src/maildirwatch.c + sqmail/sqmail-4.3.16/src/mailsubj.sh + sqmail/sqmail-4.3.16/src/make-compile.sh + sqmail/sqmail-4.3.16/src/make-load.sh + sqmail/sqmail-4.3.16/src/make-makelib.sh + sqmail/sqmail-4.3.16/src/matchup.c + sqmail/sqmail-4.3.16/src/mfrules.c + sqmail/sqmail-4.3.16/src/migrate.sh + sqmail/sqmail-4.3.16/src/myctime.c + sqmail/sqmail-4.3.16/src/newaliases.c + sqmail/sqmail-4.3.16/src/newfield.c + sqmail/sqmail-4.3.16/src/newinclude.c + sqmail/sqmail-4.3.16/src/now.c + sqmail/sqmail-4.3.16/src/predate.c + sqmail/sqmail-4.3.16/src/preline.c + sqmail/sqmail-4.3.16/src/printforward.c + sqmail/sqmail-4.3.16/src/printmaillist.c + sqmail/sqmail-4.3.16/src/prioq.c + sqmail/sqmail-4.3.16/src/prot.c + sqmail/sqmail-4.3.16/src/qbiff.c + sqmail/sqmail-4.3.16/src/qmail-authuser.c + sqmail/sqmail-4.3.16/src/qmail-badloadertypes.c + sqmail/sqmail-4.3.16/src/qmail-badmimetypes.c + sqmail/sqmail-4.3.16/src/qmail-clean.c + sqmail/sqmail-4.3.16/src/qmail-dksign.c + sqmail/sqmail-4.3.16/src/qmail-dkverify.c + sqmail/sqmail-4.3.16/src/qmail-getpw.c + sqmail/sqmail-4.3.16/src/qmail-inject.c + sqmail/sqmail-4.3.16/src/qmail-ldapam.c + sqmail/sqmail-4.3.16/src/qmail-local.c + sqmail/sqmail-4.3.16/src/qmail-lspawn.c + sqmail/sqmail-4.3.16/src/qmail-mfrules.c + sqmail/sqmail-4.3.16/src/qmail-mrtg-queue.sh + sqmail/sqmail-4.3.16/src/qmail-mrtg.c + sqmail/sqmail-4.3.16/src/qmail-newmrh.c + sqmail/sqmail-4.3.16/src/qmail-newu.c + sqmail/sqmail-4.3.16/src/qmail-pop3d.c + sqmail/sqmail-4.3.16/src/qmail-popup.c + sqmail/sqmail-4.3.16/src/qmail-postgrey.c + sqmail/sqmail-4.3.16/src/qmail-pw2u.c + sqmail/sqmail-4.3.16/src/qmail-qmaint.c + sqmail/sqmail-4.3.16/src/qmail-qmqpc.c + sqmail/sqmail-4.3.16/src/qmail-qmqpd.c + sqmail/sqmail-4.3.16/src/qmail-qmtpd.c + sqmail/sqmail-4.3.16/src/qmail-qread.c + sqmail/sqmail-4.3.16/src/qmail-qstat.sh + sqmail/sqmail-4.3.16/src/qmail-queue.c + sqmail/sqmail-4.3.16/src/qmail-recipients.c + sqmail/sqmail-4.3.16/src/qmail-remote.c + sqmail/sqmail-4.3.16/src/qmail-rspawn.c + sqmail/sqmail-4.3.16/src/qmail-send.c + sqmail/sqmail-4.3.16/src/qmail-showctl.c + sqmail/sqmail-4.3.16/src/qmail-smtpam.c + sqmail/sqmail-4.3.16/src/qmail-smtpd.c + sqmail/sqmail-4.3.16/src/qmail-start.c + sqmail/sqmail-4.3.16/src/qmail-tcpok.c + sqmail/sqmail-4.3.16/src/qmail-tcpto.c + sqmail/sqmail-4.3.16/src/qmail-todo.c + sqmail/sqmail-4.3.16/src/qmail-upq.sh + sqmail/sqmail-4.3.16/src/qmail-vmailuser.c + sqmail/sqmail-4.3.16/src/qmail.c + sqmail/sqmail-4.3.16/src/qreceipt.c + sqmail/sqmail-4.3.16/src/qsutil.c + sqmail/sqmail-4.3.16/src/quote.c + sqmail/sqmail-4.3.16/src/rcpthosts.c + sqmail/sqmail-4.3.16/src/readsubdir.c + sqmail/sqmail-4.3.16/src/received.c + sqmail/sqmail-4.3.16/src/recipients.c + sqmail/sqmail-4.3.16/src/recipients.sh + sqmail/sqmail-4.3.16/src/rhosts.sh + sqmail/sqmail-4.3.16/src/rxdelay.sh + sqmail/sqmail-4.3.16/src/select.h1 + sqmail/sqmail-4.3.16/src/select.h2 + sqmail/sqmail-4.3.16/src/senders.sh + sqmail/sqmail-4.3.16/src/sendmail.c + sqmail/sqmail-4.3.16/src/setforward.c + sqmail/sqmail-4.3.16/src/setmaillist.c + sqmail/sqmail-4.3.16/src/sha1.c + sqmail/sqmail-4.3.16/src/sha256.c + sqmail/sqmail-4.3.16/src/smtpdlog.c + sqmail/sqmail-4.3.16/src/spawn.c + sqmail/sqmail-4.3.16/src/spf.c + sqmail/sqmail-4.3.16/src/spfdnsip.c + sqmail/sqmail-4.3.16/src/spfquery.c + sqmail/sqmail-4.3.16/src/splogger.c + sqmail/sqmail-4.3.16/src/srsforward.c + sqmail/sqmail-4.3.16/src/srsreverse.c + sqmail/sqmail-4.3.16/src/strset.c + sqmail/sqmail-4.3.16/src/successes.sh + sqmail/sqmail-4.3.16/src/suids.sh + sqmail/sqmail-4.3.16/src/tai64nfrac.c + sqmail/sqmail-4.3.16/src/tcpto.c + sqmail/sqmail-4.3.16/src/tcpto_clean.c + sqmail/sqmail-4.3.16/src/tls_errors.c + sqmail/sqmail-4.3.16/src/tls_remote.c + sqmail/sqmail-4.3.16/src/tls_start.c + sqmail/sqmail-4.3.16/src/tls_timeoutio.c + sqmail/sqmail-4.3.16/src/token822.c + sqmail/sqmail-4.3.16/src/trigger.c + sqmail/sqmail-4.3.16/src/triggerpull.c + sqmail/sqmail-4.3.16/src/trycpp.c + sqmail/sqmail-4.3.16/src/trydnsresolv.c + sqmail/sqmail-4.3.16/src/trydrent.c + sqmail/sqmail-4.3.16/src/tryflock.c + sqmail/sqmail-4.3.16/src/tryidn2.c + sqmail/sqmail-4.3.16/src/tryldap.c + sqmail/sqmail-4.3.16/src/trylsock.c + sqmail/sqmail-4.3.16/src/trymkffo.c + sqmail/sqmail-4.3.16/src/trynpbg1.c + sqmail/sqmail-4.3.16/src/tryqlibs.c + sqmail/sqmail-4.3.16/src/tryrsolv.c + sqmail/sqmail-4.3.16/src/trysalen.c + sqmail/sqmail-4.3.16/src/trysgact.c + sqmail/sqmail-4.3.16/src/trysgprm.c + sqmail/sqmail-4.3.16/src/tryshadow.c + sqmail/sqmail-4.3.16/src/tryshsgr.c + sqmail/sqmail-4.3.16/src/tryslib.c + sqmail/sqmail-4.3.16/src/tryspnam.c + sqmail/sqmail-4.3.16/src/trysysel.c + sqmail/sqmail-4.3.16/src/trysyslog.c + sqmail/sqmail-4.3.16/src/tryulong32.c + sqmail/sqmail-4.3.16/src/tryuserpw.c + sqmail/sqmail-4.3.16/src/tryutmp.c + sqmail/sqmail-4.3.16/src/tryvfork.c + sqmail/sqmail-4.3.16/src/trywaitp.c + sqmail/sqmail-4.3.16/src/warn-auto.sh + sqmail/sqmail-4.3.16/src/warn-shsgr + sqmail/sqmail-4.3.16/src/wildmat.c + sqmail/sqmail-4.3.16/src/xqp.sh + sqmail/sqmail-4.3.16/src/xrecipient.sh + sqmail/sqmail-4.3.16/src/xsender.sh + sqmail/sqmail-4.3.16/src/zddist.sh + sqmail/sqmail-4.3.16/src/zdeferrals.sh + sqmail/sqmail-4.3.16/src/zfailures.sh + sqmail/sqmail-4.3.16/src/zoverall.sh + sqmail/sqmail-4.3.16/src/zrecipients.sh + sqmail/sqmail-4.3.16/src/zrhosts.sh + sqmail/sqmail-4.3.16/src/zrxdelay.sh + sqmail/sqmail-4.3.16/src/zsenders.sh + sqmail/sqmail-4.3.16/src/zsendmail.sh + sqmail/sqmail-4.3.16/src/zsuccesses.sh + sqmail/sqmail-4.3.16/src/zsuids.sh +Copyright: __NO_COPYRIGHT_NOR_LICENSE__ +License: __NO_COPYRIGHT_NOR_LICENSE__ + +Files: sqmail/sqmail-4.3.16/src/dkim.cpp + sqmail/sqmail-4.3.16/src/dkimbase.cpp + sqmail/sqmail-4.3.16/src/dkimsign.cpp + sqmail/sqmail-4.3.16/src/dkimverify.cpp + sqmail/sqmail-4.3.16/src/include/dkim.h + sqmail/sqmail-4.3.16/src/include/dkimbase.h + sqmail/sqmail-4.3.16/src/include/dkimsign.h + sqmail/sqmail-4.3.16/src/include/dkimverify.h +Copyright: 2005 Alt-N Technologies, Ltd. + __NO_COPYRIGHT__ in: sqmail/sqmail-4.3.16/src/dkimverify.cpp +License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + This code incorporates intellectual property owned by Yahoo! and licensed + pursuant to the Yahoo! DomainKeys Patent License Agreement. + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + Changes done by ¢feh@fehcom.de obeying the above license + . + On Debian systems, the complete text of the Apache License Version 2.0 + can be found in `/usr/share/common-licenses/Apache-2.0'. + +Files: sqmail/sqmail-4.3.16/src/srs2.c +Copyright: 2004 Shevek (srs@anarres.org) +License: GPL-2.0 + This file is a part of libsrs2 from http://www.libsrs2.org/ + . + Redistribution and use in source and binary forms, with or without + modification, under the terms of either the GNU General Public + License version 2 or the BSD license, at the discretion of the + user. Copies of these licenses have been included in the libsrs2 + distribution. See the the file called LICENSE for more + information. + . + This is a minimal adapted s/qmail version; it requires complete + refactoring: + . + a) Use stralloc for addresses + b) Replace stdio, str*, and mem* functions + c) Use tai64 for timestamp function + d) Remove va args + e) Reduce code by 50% + . + On Debian systems, the complete text of the GNU General Public License + Version 2 can be found in `/usr/share/common-licenses/GPL-2'. + +Files: sqmail/sqmail-4.3.16/src/include/srs2.h +Copyright: 2004 Shevek (srs@anarres.org) +License: GPL-2.0 + This file is a part of libsrs2 from http://www.libsrs2.org/ + . + Redistribution and use in source and binary forms, with or without + modification, under the terms of either the GNU General Public + License version 2 or the BSD license, at the discretion of the + user. Copies of these licenses have been included in the libsrs2 + distribution. See the the file called LICENSE for more + information. + . + This is ugly, but reasonably safe. + . + On Debian systems, the complete text of the GNU General Public License + Version 2 can be found in `/usr/share/common-licenses/GPL-2'. + +Files: sqmail/sqmail-4.3.16/scripts/mkdkimkey.sh +Copyright: __NO_COPYRIGHT__ in: sqmail/sqmail-4.3.16/scripts/mkdkimkey.sh +License: GPL-2.0 + Licence: This program is Copyright(C) C2015 Kai Peter. It can be copied and # + modified according to the GNU GENERAL PUBLIC LICENSE (GPL) Version 2 # + or a later version. This software comes without any warranty. # + # + Description: Creation of domain keys and DNS TXT records for bind # + # + Addendum for s/qmail: # + # + a) This version is modified for s/qmail (etc/dkimkey -> ssl/domainkeys) # + b) RSA and Ed25519 private/public keys are considered (-> RFC 8463) # + c) tinydns supports DKIM records while just providing the public key; # + beware of the 'selector'; it is set to 'default' # + d) Unlike previous versions, the new private key is *not* automatically # + linked to a file named 'default'; but rather to # + . + On Debian systems, the complete text of the GNU General Public License + Version 2 can be found in `/usr/share/common-licenses/GPL-2'. + +Files: sqmail/sqmail-4.3.16/doc/Postgrey.txt +Copyright: 2007 Open Systems AG. +License: GPL-2.0+ + LICENSE + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version 2 of the License, or (at your + option) any later version. + . + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + . + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 675 Mass Ave, Cambridge, MA 02139, USA. + . + AUTHOR + David Schweikert <david@schweikert.ch> + . + perl v5.32.0 2015-09-01 POSTGREY(1) + . + The FSF address in the above text is the old one. + . + On Debian systems, the complete text of the GNU General Public License + Version 2 can be found in `/usr/share/common-licenses/GPL-2'. + +Files: sqmail/sqmail-4.3.16/src/qmail-dkim.cpp +Copyright: 2005 Alt-N Technologies, Ltd. +License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + This code incorporates intellectual property owned by Yahoo! and licensed + pursuant to the Yahoo! DomainKeys Patent License Agreement. + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + Changes done by ¢feh@fehcom.de obeying the above license + . + Comment: Awful mixture of C and C++ making use of the worst parts of it. + Style: Partial Hungarian notation (see Torvalds comments) + C++: Obsolete classes, allocators, virtual constructors w/o destructors + C: Stdio interface routines + . + On Debian systems, the complete text of the Apache License Version 2.0 + can be found in `/usr/share/common-licenses/Apache-2.0'. + +Files: sqmail/sqmail-4.3.16/doc/Old/PROPOSAL.mav +Copyright: __NO_COPYRIGHT__ in: sqmail/sqmail-4.3.16/doc/Old/PROPOSAL.mav +License: __UNKNOWN__ + Erwin Hoffmann, feh@fehcom.de + . + 1. Scope + . + SMTP is a protocol with very few commands. Only 'Helo'/'Ehlo', + 'Mail From:', 'Rcpt To:', 'Data' and 'Quit' are necessary + to initiate, perform, and terminate a SMTP session. Here, + the 'Helo'/'Ehlo' provides information about the sending MTA, + which in current MTA implementations is not always required, + while the 'Mail From:' and 'Rcpt To:' is used to build the + SMTP envelope. + . + Apart from the 'Rcpt To:' information, the recipient MTA can + not verify any other information. Both the 'Helo'/'Ehlo' and the + 'Mail From:' is often forged or faked, thus not reliable in + particular in case of Spam emails. + . + The proposed 'Mail From:' Address Verification (MAV) implements + a scheme, how the associated information can be verified at the + responsible sending email gateway and perhaps can be promoted to the + recipient MTA. In this scheme, the provided 'Mail From:' information + is authoritive. + . + 2. Responsible Email Gateway + . + MAV takes place at the responsible email gateway. The responsible + email gateway acts as relaying gateway for those networks and users + solely transmitting (and receiving) SMTP emails through this gateway. + . + Though SMTP is a Host-to-Host protocol, SMTP Authentication yields + a User-to-Host mechanism. Thus, the responsible gateway has to take + care about the following senders: + . + (1) networks/hosts, identified by there IP or FQDN (available by + DNS lookup), + (2) users/senders, identified by means of SMTP Authentication or other + mechanisms like POP-before-SMTP. + . + With MAV, it is possible to check and verify the integrity of the + provided 'Mail From:' envelope address + . + (a) domain-based, by means of the provided IP-address/FQDN of the + sending MTA, + (b) user-based, in case SMTP Authentication (or another user-based + method) is in place. + . + Typically in the first case, only the domain-part of the 'Mail From:' + SMTP envelope address can be verified (the part right from the '@', + i.e. user@domain), while in the second case the full qualified + address may be subject of the MAV, providing a mapping between the + userid for SMTP Authentication and the chosen 'Mail From:' address. + . + 3. Comparision with other verification schemes + . + Today, it is common to reject emails in case it fails certain + authorization/verification criteria: + . + (1) Testing the IP address of the sending MTA against Realtime Blacklists + (RBL) available on the Internet, + (2) verification of the domain-part of the provided 'Mail From:' address + doing a DNS lookup (reverse Return-Path must exist) or SMTP lookups, + (3) employing the Sender Policy Framework (SPF), thus checking whether + the domain-part of the 'Mail From:' address is authoritive with + respect to the sending MTA, + (4) verifying (locally) the existance of the forseen recipient ('Rcpt To:'), + (5) checking the contents of the email by means of baysean approaches + or by checksums. + . + In any case, the receiving MTA is responsible to realize more or less + complex checks to accept or reject emails applying those means. + . + Opposite to this, MAV adds a qualification to the responsible email + gateway; comparable with SMTP Authentication. + . + 4. MAV enabled responsibe email gateway + . + The tasks of a MAV enabled responsibe gateway are the following: + . + (1) The gateway is knowledgeable about those emails to be allowed + for unrestricted relaying. Typically this is facilitated due + to the knowledge to the sender's IP/FQDN or by means of SMTP + Authentication, Pop-before-SMTP, or any other. + (2) The gateway has access to a list which maps the sender + qualification information with a list of allowed domains as + part of the 'Mail From:' address or particular 'Mail From:' + addresses. + (3) Emails failing this test will be rejected initially during + the SMTP session. + (4) Emails passing the test are allowed to relay. + (5) The gateway adds the keyword 'ESMTPM' into the receiving + email header. Thus, the next hop email system is able to + verify the authoritive usage of the 'Mail From:' address. + . + 5. Dependencies on other email RFCs + . + - RFC 2821: Service extensions: None. + - RFC 1893: Enhanced Mail System Status Codes: None. + - RFC 3848: ESMTP and LMTP Transmission Types Registration: Yes. + MAV adds a new keyword 'ESMTPM' which complements the keywords + 'ESMTPA' and 'ESMTPS'; thus in addition the combinations + 'ESMTPAM', 'ESMTPSM', and 'ESMTPSAM' are valid. + . + 6. Security considerations + . + Information in the email header is easy to forge or manipulate. + . + 7. History + . + Parts of the MAV approach was first introduced in the SPAMCONTROL + patch for Qmail 1.03, based on ideas initiated by the LDI, Mainz, Germany. + +Files: sqmail/sqmail-4.3.16/doc/Qmail/README +Copyright: 1998 D. J. Bernstein, qmail@pobox.com +License: __UNKNOWN__ + qmail is a secure, reliable, efficient, simple message transfer agent. + It is meant as a replacement for the entire sendmail-binmail system on + typical Internet-connected UNIX hosts. See BLURB, BLURB2, BLURB3, and + BLURB4 for more detailed advertisements. + . + INSTALL says how to set up and test qmail. If you're upgrading from a + previous version, read UPGRADE instead. + . + See PIC.* for some ``end-to-end'' pictures of mail flowing through the + qmail system. + . + See http://pobox.com/~djb/qmail.html for other qmail-related software + and a pointer to the qmail mailing list. + . + Other documentation: http://pobox.com/~djb/proto.html shows solutions to + several Internet mail problems; many of these solutions are implemented + in qmail. CHANGES and THANKS show how qmail has changed since it was + first released. SECURITY, INTERNALS, THOUGHTS, and TODO record many of + the qmail design decisions. + . + The rest of this file is a list of systypes where various versions of + qmail have been reported to work. 0.96 was the final gamma version; 1.00 + had exactly the same code as 0.96. To see your systype, make systype; + cat systype. + . + 1.00: a.ux-3.0-svr2-:-:-:mc68030-:- (tnx RF) + 1.01: aix-3-2-:-:-:000000406300-:- (tnx DG) + 1.01: aix-3-2-:-:-:000011216700-:- (tnx JLB) + 1.01: aix-4-1-:-:-:000041574c00-:- (tnx M2H) + 1.01: aix-4-1-:-:-:000088581000-:- (tnx HJB) + 1.01: aix-4-1-:-:-:002b51134c00-:- (tnx MP) + 1.00: aix-4-1-:-:-:00910033a000-:- (tnx KJJ) + 1.01: aix-4-2-:-:-:000055247900-:- (tnx JLB) + 1.01: aix-4-2-:-:-:000062295800-:- (tnx TD) + 1.01: aix-4-2-:-:-:000136094c00-:- (tnx T2U) + 1.00: aix-4-2-:-:-:000205254600-:- (tnx MGM) + 1.01: aix-4-2-:-:-:005255bc4c00-:- (tnx DS) + 1.01: aix-4-2-:-:-:006030944c00-:- + 1.01: bsd.386-1.1-0-:i386-:-:i386-:- (tnx T2M) + 1.01: bsd.os-2.0-:i386-:-:pentium-:- (tnx MSS) + 1.01: bsd.os-2.0.1-:i386-:-:i486-:- (tnx KR) + 0.96: bsd.os-2.1-:i386-:-:-:- (tnx DAR) + 1.00: bsd.os-2.1-:i386-:-:i486-:- (tnx RJC) + 0.96: bsd.os-2.1-:i386-:-:pentium-:- (tnx UO) + 1.01: bsd.os-3.0-:i386-:-:-:- (tnx VU) + 1.01: bsd.os-3.0-:i386-:-:pentium-:- (tnx RJO) + 1.01: bsd.os-3.1-:i386-:-:pentium-:- (tnx ABC) + 1.01: bsd.os-3.1-:i386-:-:pentium.ii-:- (tnx UO) + 0.96: dgux-5.4r2.01-generic-:-:-:aviion-:- (tnx HWM) + 1.01: freebsd-2.1.0-release-:i386-:-:i486-dx-:- (tnx VV) + 1.01: freebsd-2.1.0-release-:i386-:-:i486.dx2-:- (tnx JLB) + +Files: sqmail/sqmail-4.3.16/doc/EXTTODO +Copyright: 1998-2002 Internet Business Solutions Ltd. +License: __UNKNOWN__ + The EXTTODO patch is a part of the qmail-ldap patch. + This patches for qmail come with NO WARRANTY. + . + These patches are under the BSD license. + . + RELEASE: 5. Jan. 2003 + . + EXTTODO: + +Files: sqmail/sqmail-4.3.16/src/md5c.c +Copyright: 1991 RSA Data Security, Inc. Created 1991. All rights reserved. +License: __UNKNOWN__ + License to copy and use this software is granted provided that it + is identified as the "RSA Data Security, Inc. MD5 Message-Digest + Algorithm" in all material mentioning or referencing this software + or this function. + . + License is also granted to make and use derivative works provided + that such works are identified as "derived from the RSA Data + Security, Inc. MD5 Message-Digest Algorithm" in all material + mentioning or referencing the derived work. + . + RSA Data Security, Inc. makes no representations concerning either + the merchantability of this software or the suitability of this + software for any particular purpose. It is provided "as is" + without express or implied warranty of any kind. + . + These notices must be retained in any copies of any part of this + documentation and/or software. + . + Redone with current POSIX integer data types -- feh, Aug 2024 + +Files: sqmail/sqmail-4.3.16/doc/Qmail/THOUGHTS +Copyright: __NO_COPYRIGHT__ in: sqmail/sqmail-4.3.16/doc/Qmail/THOUGHTS +License: __UNKNOWN__ + NFS is the primary enemy of security partitioning under UNIX. Here's the + story. Sun knew from the start that NFS was completely insecure. It + tried to hide that fact by disallowing root access over NFS. Intruders + nevertheless broke into system after system, first obtaining bin access + and then obtaining root access. Various people thus decided to compound + Sun's error and build a wall between root and all other users: if all + system files are owned by root, and if there are no security holes other + than NFS, someone who breaks in via NFS won't be able to wipe out the + operating system---he'll merely be able to wipe out all user files. This + clueless policy means that, for example, all the qmail users have to be + +Files: sqmail/sqmail-4.3.16/src/include/md5.h +Copyright: 1991 RSA Data Security, Inc. Created 1991. All rights reserved. +License: __UNKNOWN__ + License to copy and use this software is granted provided that it + is identified as the "RSA Data Security, Inc. MD5 Message-Digest + Algorithm" in all material mentioning or referencing this software + or this function. + . + License is also granted to make and use derivative works provided + that such works are identified as "derived from the RSA Data + Security, Inc. MD5 Message-Digest Algorithm" in all material + mentioning or referencing the derived work. + . + RSA Data Security, Inc. makes no representations concerning either + the merchantability of this software or the suitability of this + software for any particular purpose. It is provided "as is" + without express or implied warranty of any kind. + . + These notices must be retained in any copies of any part of this + documentation and/or software. + +Files: sqmail/sqmail-4.3.16/src/include/global.h +Copyright: 1991 RSA Laboratories, a division of RSA Data Security, Inc., created +License: __NO_LICENSE__ + +#---------------------------------------------------------------------------- +# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following +# license/copyright files. diff --git a/sqmail-deb/debian/patches/000-config.patch b/sqmail-deb/debian/patches/000-config.patch new file mode 100644 index 0000000..4cddde2 --- /dev/null +++ b/sqmail-deb/debian/patches/000-config.patch @@ -0,0 +1,20 @@ +Author: Jannis M. Hoffmann +Description: change queue directory + +--- sqmail-4.3.16.orig/sqmail/sqmail-4.3.16/conf-queue ++++ sqmail-4.3.16/sqmail/sqmail-4.3.16/conf-queue +@@ -1,3 +1,3 @@ +-/var/qmail ++/var/lib/qmail + + # Note: ./queue/ is added automatically! + +--- sqmail-4.3.16.orig/sqmail/sqmail-4.3.16/conf-home ++++ sqmail-4.3.16/sqmail/sqmail-4.3.16/conf-home +@@ -1,4 +1,4 @@ +-/var/qmail ++/etc/qmail + + # This is the sqmail home directory. It must be a local directory, not + # shared among machines. The mail queue may reside at a different directory. e.g.: + diff --git a/sqmail-deb/debian/patches/000-make-ucspissl.patch b/sqmail-deb/debian/patches/000-make-ucspissl.patch new file mode 100644 index 0000000..8c99d83 --- /dev/null +++ b/sqmail-deb/debian/patches/000-make-ucspissl.patch @@ -0,0 +1,32 @@ +Author: Jannis M. Hoffmann +Description: replace direct ucspissl.a with libucspissl + +--- sqmail-4.3.16.orig/sqmail/sqmail-4.3.16/src/Makefile ++++ sqmail-4.3.16/sqmail/sqmail-4.3.16/src/Makefile +@@ -1051,11 +1051,11 @@ qmail-remote: \ + load qmail-remote.o control.o tcpto.o now.o dns.o ipalloc.o ipme.o \ + quote.o tls_timeoutio.o tls_errors.o tls_remote.o dns_tlsa.o \ + base64.o constmap.o md5c.o hmac_md5.o auto_qmail.o auto_queue.o \ +-ssl.lib dns.lib socket.lib qlibs.lib idn2.lib ucspissl.a ++ssl.lib dns.lib socket.lib qlibs.lib idn2.lib + ./load qmail-remote control.o tcpto.o now.o \ + base64.o constmap.o hmac_md5.o md5c.o ipalloc.o ipme.o \ + quote.o dns.o auto_qmail.o auto_queue.o dns_tlsa.o \ +- tls_errors.o tls_remote.o tls_timeoutio.o ucspissl.a \ ++ tls_errors.o tls_remote.o tls_timeoutio.o -lucspissl \ + `cat ssl.lib` `cat dns.lib` `cat socket.lib` `cat qlibs.lib` `cat idn2.lib` + + qmail-remote.o: \ +@@ -1098,10 +1098,10 @@ qmail-smtpam: \ + load qmail-smtpam.o control.o now.o dns.o constmap.o \ + ipalloc.o ipme.o quote.o auto_qmail.o auto_queue.o tcpto.o \ + tls_timeoutio.o tls_errors.o tls_remote.o dns_tlsa.o \ +-ssl.lib dns.lib socket.lib qlibs.lib ucspissl.a ++ssl.lib dns.lib socket.lib qlibs.lib + ./load qmail-smtpam constmap.o control.o dns_tlsa.o \ + tcpto.o now.o dns.o ipalloc.o ipme.o quote.o auto_qmail.o \ +- auto_queue.o tls_errors.o tls_remote.o tls_timeoutio.o ucspissl.a \ ++ auto_queue.o tls_errors.o tls_remote.o tls_timeoutio.o -lucspissl \ + `cat ssl.lib` `cat dns.lib` `cat socket.lib` `cat qlibs.lib` + + qmail-smtpam.o: \ diff --git a/sqmail-deb/debian/patches/series b/sqmail-deb/debian/patches/series new file mode 100644 index 0000000..bb8dbf3 --- /dev/null +++ b/sqmail-deb/debian/patches/series @@ -0,0 +1,3 @@ +# You must remove unused comment lines for the released package. +000-config.patch +000-make-ucspissl.patch diff --git a/sqmail-deb/debian/rules b/sqmail-deb/debian/rules new file mode 100755 index 0000000..f079c3f --- /dev/null +++ b/sqmail-deb/debian/rules @@ -0,0 +1,34 @@ +#!/usr/bin/make -f +# You must remove unused comment lines for the released package. +export DH_VERBOSE = 1 +#export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export DEB_CFLAGS_MAINT_APPEND = -g +#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + +UPSTREAM_VERSION := $(shell dpkg-parsechangelog --show-field Version | cut -d- -f1) + +get-orig-source: + uscan --download-current-version + +%: + dh $@ --buildsystem=none + +override_dh_auto_clean: + -tar -xf ../sqmail_$(UPSTREAM_VERSION).orig.tar.gz --strip-components=1 --keep-newer-files + rm -f sqmail/sqmail-$(UPSTREAM_VERSION)/src/ssl.lib + rm -f sqmail/sqmail-$(UPSTREAM_VERSION)/conf-cc + $(MAKE) -C sqmail/sqmail-$(UPSTREAM_VERSION)/src clean + +override_dh_auto_configure: + awk -f debian/contrib/convert_ids.awk sqmail/sqmail-$(UPSTREAM_VERSION)/conf-ids | expand -t 3,12,26,50 >debian/sqmail-users.sysusers + echo "-lssl -lcrypto" >sqmail/sqmail-$(UPSTREAM_VERSION)/src/ssl.lib + echo "$(CC) -Iinclude -I/usr/include/qlibs $(CFLAGS)" >sqmail/sqmail-$(UPSTREAM_VERSION)/conf-cc + $(MAKE) -C sqmail/sqmail-$(UPSTREAM_VERSION)/src auto-uid + $(MAKE) -C sqmail/sqmail-$(UPSTREAM_VERSION)/src auto-gid + cp debian/contrib/auto_uids.c sqmail/sqmail-$(UPSTREAM_VERSION)/src/ + +override_dh_auto_build: + $(MAKE) -C sqmail/sqmail-$(UPSTREAM_VERSION)/src default + +override_dh_auto_install: + dh_installsysusers diff --git a/sqmail-deb/debian/source/format b/sqmail-deb/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/sqmail-deb/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/sqmail-deb/debian/sqmail.install b/sqmail-deb/debian/sqmail.install new file mode 100644 index 0000000..35e3208 --- /dev/null +++ b/sqmail-deb/debian/sqmail.install @@ -0,0 +1,143 @@ +# base +sqmail/sqmail-4.3.16/src/qmail-clean usr/bin +sqmail/sqmail-4.3.16/src/qmail-inject usr/bin +sqmail/sqmail-4.3.16/src/qmail-local usr/bin +sqmail/sqmail-4.3.16/src/qmail-lspawn usr/bin +sqmail/sqmail-4.3.16/src/qmail-send usr/bin +sqmail/sqmail-4.3.16/src/qmail-queue usr/bin +sqmail/sqmail-4.3.16/src/qmail-rspawn usr/bin +sqmail/sqmail-4.3.16/src/qmail-start usr/bin +sqmail/sqmail-4.3.16/src/qmail-todo usr/bin + +# clients +sqmail/sqmail-4.3.16/src/mailsubj usr/bin +sqmail/sqmail-4.3.16/src/qmail-remote usr/bin +sqmail/sqmail-4.3.16/src/qmail-qmqpc usr/bin +sqmail/sqmail-4.3.16/src/sendmail usr/bin + +# control +sqmail/sqmail-4.3.16/src/qmail-mfrules usr/bin +sqmail/sqmail-4.3.16/src/qmail-showctl usr/bin +sqmail/sqmail-4.3.16/src/qmail-badloadertypes usr/bin +sqmail/sqmail-4.3.16/src/qmail-badmimetypes usr/bin +sqmail/sqmail-4.3.16/src/qmail-recipients usr/bin + +# dkim +sqmail/sqmail-4.3.16/src/qmail-dkim usr/bin +sqmail/sqmail-4.3.16/src/qmail-dksign usr/bin + +# dns +sqmail/sqmail-4.3.16/src/dnscname usr/bin +sqmail/sqmail-4.3.16/src/dnsfq usr/bin +sqmail/sqmail-4.3.16/src/dnsip usr/bin +sqmail/sqmail-4.3.16/src/dnsmxip usr/bin +sqmail/sqmail-4.3.16/src/dnsptr usr/bin +sqmail/sqmail-4.3.16/src/dnstlsa usr/bin +sqmail/sqmail-4.3.16/src/dnstxt usr/bin +sqmail/sqmail-4.3.16/src/hostname usr/bin +sqmail/sqmail-4.3.16/src/ipmeprint usr/bin +sqmail/sqmail-4.3.16/src/spfquery usr/bin + +# forward +sqmail/sqmail-4.3.16/src/fastforward usr/bin +sqmail/sqmail-4.3.16/src/forward usr/bin +sqmail/sqmail-4.3.16/src/setforward usr/bin +sqmail/sqmail-4.3.16/src/newaliases usr/bin +sqmail/sqmail-4.3.16/src/newinclude usr/bin +sqmail/sqmail-4.3.16/src/printforward usr/bin +sqmail/sqmail-4.3.16/src/printmaillist usr/bin +sqmail/sqmail-4.3.16/src/setmaillist usr/bin + +# log +sqmail/sqmail-4.3.16/src/qmail-mrtg usr/bin +sqmail/sqmail-4.3.16/src/qmail-mrtg-queue usr/bin +sqmail/sqmail-4.3.16/src/splogger usr/bin +sqmail/sqmail-4.3.16/src/tai64nfrac usr/bin + +# mbox +sqmail/sqmail-4.3.16/src/condredirect usr/bin +sqmail/sqmail-4.3.16/src/bouncesaying usr/bin +sqmail/sqmail-4.3.16/src/except usr/bin +sqmail/sqmail-4.3.16/src/maildirmake usr/bin +sqmail/sqmail-4.3.16/src/maildir2mbox usr/bin +sqmail/sqmail-4.3.16/src/maildirwatch usr/bin +sqmail/sqmail-4.3.16/src/preline usr/bin +sqmail/sqmail-4.3.16/src/qbiff usr/bin +sqmail/sqmail-4.3.16/src/qreceipt usr/bin + +# pam +sqmail/sqmail-4.3.16/src/qmail-authuser usr/bin +sqmail/sqmail-4.3.16/src/qmail-smtpam usr/bin +sqmail/sqmail-4.3.16/src/qmail-vmailuser usr/bin +sqmail/sqmail-4.3.16/src/qmail-postgrey usr/bin + +# pop +sqmail/sqmail-4.3.16/src/qmail-pop3d usr/bin +sqmail/sqmail-4.3.16/src/qmail-popup usr/bin + +# queue +sqmail/sqmail-4.3.16/src/qmail-qread usr/bin +sqmail/sqmail-4.3.16/src/qmail-qstat usr/bin +sqmail/sqmail-4.3.16/src/qmail-tcpok usr/bin +sqmail/sqmail-4.3.16/src/qmail-tcpto usr/bin +sqmail/sqmail-4.3.16/src/qmail-qmaint usr/bin + +# recipients +#sqmail/sqmail-4.3.16/src/qmail-alias2recipients usr/bin + +# scan +#sqmail/sqmail-4.3.16/src/qmail-queue-scan usr/bin + +# server +sqmail/sqmail-4.3.16/src/qmail-qmtpd usr/bin +sqmail/sqmail-4.3.16/src/qmail-qmqpd usr/bin +sqmail/sqmail-4.3.16/src/qmail-smtpd usr/bin + +# srs +sqmail/sqmail-4.3.16/src/srsforward usr/bin +sqmail/sqmail-4.3.16/src/srsreverse usr/bin + +# user +sqmail/sqmail-4.3.16/src/qmail-getpw usr/bin +sqmail/sqmail-4.3.16/src/qmail-newu usr/bin +sqmail/sqmail-4.3.16/src/qmail-newmrh usr/bin +sqmail/sqmail-4.3.16/src/qmail-pw2u usr/bin + +# x509 +#sqmail/sqmail-4.3.16/src/x509fingerprint usr/bin +#sqmail/sqmail-4.3.16/src/mkdkimkey usr/bin + +# analog +sqmail/sqmail-4.3.16/src/columnt usr/bin +sqmail/sqmail-4.3.16/src/ddist usr/bin +sqmail/sqmail-4.3.16/src/deferrals usr/bin +sqmail/sqmail-4.3.16/src/failures usr/bin +sqmail/sqmail-4.3.16/src/matchup usr/bin +sqmail/sqmail-4.3.16/src/recipients usr/bin +sqmail/sqmail-4.3.16/src/rhosts usr/bin +sqmail/sqmail-4.3.16/src/rxdelay usr/bin +sqmail/sqmail-4.3.16/src/senders usr/bin +sqmail/sqmail-4.3.16/src/successes usr/bin +sqmail/sqmail-4.3.16/src/suids usr/bin +sqmail/sqmail-4.3.16/src/xqp usr/bin +sqmail/sqmail-4.3.16/src/xrecipient usr/bin +sqmail/sqmail-4.3.16/src/xsender usr/bin +sqmail/sqmail-4.3.16/src/zddist usr/bin +sqmail/sqmail-4.3.16/src/zdeferrals usr/bin +sqmail/sqmail-4.3.16/src/zfailures usr/bin +sqmail/sqmail-4.3.16/src/zoverall usr/bin +sqmail/sqmail-4.3.16/src/zrecipients usr/bin +sqmail/sqmail-4.3.16/src/zrhosts usr/bin +sqmail/sqmail-4.3.16/src/zrxdelay usr/bin +sqmail/sqmail-4.3.16/src/zsenders usr/bin +sqmail/sqmail-4.3.16/src/zsendmail usr/bin +sqmail/sqmail-4.3.16/src/zsuccesses usr/bin +sqmail/sqmail-4.3.16/src/zsuids usr/bin + +# other +sqmail/sqmail-4.3.16/src/qmail-dkverify usr/bin + +sqmail/sqmail-4.3.16/ctl/* etc/qmail/control + +debian/contrib/sqmail-send.service usr/lib/systemd/system +debian/contrib/sqmail-smtpd.service usr/lib/systemd/system diff --git a/sqmail-deb/debian/sqmail.links b/sqmail-deb/debian/sqmail.links new file mode 100644 index 0000000..666be0a --- /dev/null +++ b/sqmail-deb/debian/sqmail.links @@ -0,0 +1 @@ +/usr/bin/ etc/qmail/bin diff --git a/sqmail-deb/debian/sqmail.manpages b/sqmail-deb/debian/sqmail.manpages new file mode 100644 index 0000000..3ce82c3 --- /dev/null +++ b/sqmail-deb/debian/sqmail.manpages @@ -0,0 +1,8 @@ +sqmail/sqmail-4.3.16/man/*.[13789] +sqmail/sqmail-4.3.16/man/addresses.5 +sqmail/sqmail-4.3.16/man/envelopes.5 +sqmail/sqmail-4.3.16/man/maildir.5 +sqmail/sqmail-4.3.16/man/mbox.5 +sqmail/sqmail-4.3.16/man/qmail-header.5 +sqmail/sqmail-4.3.16/man/qmail-log.5 +sqmail/sqmail-4.3.16/man/tai64nfrac.5 diff --git a/sqmail-deb/debian/sqmail.postinst b/sqmail-deb/debian/sqmail.postinst new file mode 100644 index 0000000..2152e6a --- /dev/null +++ b/sqmail-deb/debian/sqmail.postinst @@ -0,0 +1,94 @@ +#!/bin/sh +# postinst script for #PACKAGE# +# +# 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> +# * <postinst> 'abort-remove' +# * <deconfigured's-postinst> 'abort-deconfigure' 'in-favour' +# <failed-install-package> <version> 'removing' +# <conflicting-package> <version> +# for details, see https://www.debian.org/doc/debian-policy/ or +# the debian-policy package. + + +case "$1" in + configure) + install -d -g sqmail etc/qmail + install -d -g sqmail etc/qmail/control + install -d -o alias -g sqmail etc/qmail/alias + install -d -o sqmtls -g nofiles etc/qmail/ssl + install -d -g sqmail etc/qmail/users + + hostname >etc/qmail/control/me + hostname >etc/qmail/control/rcpthosts + + chown :sqmail usr/bin/qmail-authuser + chmod ug+s usr/bin/qmail-authuser + chown qmailq:sqmail usr/bin/qmail-dksign + chmod u+s usr/bin/qmail-dksign + chown qmailq:sqmail usr/bin/qmail-dkverify + chmod u+s usr/bin/qmail-dkverify + chown :sqmail usr/bin/qmail-postgrey + chmod ug+s usr/bin/qmail-postgrey + chown qmailq:sqmail usr/bin/qmail-queue + chmod ug+s usr/bin/qmail-queue + chown :sqmail usr/bin/qmail-vmailuser + chmod ug+s usr/bin/qmail-vmailuser + + install -d -o qmailq -g sqmail -m 750 var/lib/qmail/queue + install -d -o qmails -g sqmail -m 700 var/lib/qmail/queue/bounce + install -d -o qmailq -g sqmail -m 750 var/lib/qmail/queue/dkim + install -d -o qmails -g sqmail -m 700 var/lib/qmail/queue/info + install -d -o qmailq -g sqmail -m 700 var/lib/qmail/queue/intd + install -d -o qmails -g sqmail -m 700 var/lib/qmail/queue/local + install -d -o qmailq -g sqmail -m 750 var/lib/qmail/queue/lock + install -d -o qmailq -g sqmail -m 750 var/lib/qmail/queue/mess + install -d -o qmailq -g sqmail -m 700 var/lib/qmail/queue/pid + + for i in $(seq 0 22) + do + install -d -o qmailq -g sqmail var/lib/qmail/queue/dkim/$i + install -d -o qmails -g sqmail var/lib/qmail/queue/info/$i + install -d -o qmailq -g sqmail var/lib/qmail/queue/intd/$i + install -d -o qmails -g sqmail var/lib/qmail/queue/local/$i + install -d -o qmailq -g sqmail var/lib/qmail/queue/mess/$i + install -d -o qmails -g sqmail var/lib/qmail/queue/remote/$i + install -d -o qmailq -g sqmail var/lib/qmail/queue/todo/$i + done + + touch var/lib/qmail/queue/lock/sendmutex + chown qmails:sqmail var/lib/qmail/queue/lock/sendmutex + chmod 600 var/lib/qmail/queue/lock/sendmutex + + touch var/lib/qmail/queue/lock/tcpto + chown qmailr:sqmail var/lib/qmail/queue/lock/tcpto + chmod 644 var/lib/qmail/queue/lock/tcpto + fallocate -l 1024 var/lib/qmail/queue/lock/tcpto + + [ -p var/lib/qmail/queue/lock/trigger ] || mkfifo var/lib/qmail/queue/lock/trigger + chown qmails:sqmail var/lib/qmail/queue/lock/trigger + chmod 622 var/lib/qmail/queue/lock/trigger + ;; + + 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 diff --git a/sqmail-deb/debian/sqmail.postrm b/sqmail-deb/debian/sqmail.postrm new file mode 100644 index 0000000..0af68ec --- /dev/null +++ b/sqmail-deb/debian/sqmail.postrm @@ -0,0 +1,42 @@ +#!/bin/sh +# postrm script for #PACKAGE#. +# +# 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' <overwriter> +# <overwriter-version> +# for details, see https://www.debian.org/doc/debian-policy/ or +# the debian-policy package. + + +case "$1" in + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + purge) + rm -rf etc/qmail + rm -rf var/lib/qmail + ;; + + *) + 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 diff --git a/sqmail-deb/debian/upstream/metadata b/sqmail-deb/debian/upstream/metadata new file mode 100644 index 0000000..dc2feb0 --- /dev/null +++ b/sqmail-deb/debian/upstream/metadata @@ -0,0 +1,16 @@ +# +# DEP-12: Per-package machine-readable metadata about Upstream +# Please check * https://dep-team.pages.debian.net/deps/dep12/ +# * https://wiki.debian.org/UpstreamMetadata +Reference: + Author: <please use full names and separate multiple author by the keyword "and"> + Title: + Journal: + Year: + Volume: + Number: + Pages: + DOI: + PMID: + URL: + eprint: diff --git a/sqmail-deb/debian/watch b/sqmail-deb/debian/watch new file mode 100644 index 0000000..2aafaf3 --- /dev/null +++ b/sqmail-deb/debian/watch @@ -0,0 +1,3 @@ +# You must remove unused comment lines for the released package. +version=4 +https://www.fehcom.de/sqmail/sqmail-(\d\.\d+(?:\.\d+)?[a-z]?).tgz |