summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/ap/ghostscript/ef6bd6d61a3b5649dda077822d68de4e89133174.patch40
-rwxr-xr-xsource/ap/ghostscript/ghostscript.SlackBuild2
-rwxr-xr-xsource/e/emacs/emacs.SlackBuild4
-rw-r--r--source/e/emacs/emacs.glibc-2.34.patch40
-rw-r--r--source/l/netpbm/netpbm-security-scripts.patch267
-rwxr-xr-xsource/l/netpbm/netpbm.SlackBuild1
-rwxr-xr-xsource/n/procmail/procmail.SlackBuild15
-rw-r--r--source/n/procmail/procmail.url1
-rw-r--r--source/n/procmail/procmail_3.22-5.diff1026
-rw-r--r--source/x/x11/build/appres2
-rw-r--r--source/x/x11/build/editres2
-rw-r--r--source/x/x11/build/iceauth2
-rw-r--r--source/x/x11/build/listres2
-rw-r--r--source/x/x11/build/mkcomposecache2
-rw-r--r--source/x/x11/build/mkfontscale2
-rw-r--r--source/x/x11/build/setxkbmap2
-rw-r--r--source/x/x11/build/twm2
-rw-r--r--source/x/x11/build/xcalc2
-rw-r--r--source/x/x11/build/xclock2
-rw-r--r--source/x/x11/build/xedit2
-rw-r--r--source/x/x11/build/xload2
-rw-r--r--source/x/x11/build/xlsfonts2
-rw-r--r--source/x/x11/build/xorg-docs2
-rw-r--r--source/x/x11/build/xorg-sgml-doctools2
-rw-r--r--source/x/x11/build/xsm2
25 files changed, 26 insertions, 1402 deletions
diff --git a/source/ap/ghostscript/ef6bd6d61a3b5649dda077822d68de4e89133174.patch b/source/ap/ghostscript/ef6bd6d61a3b5649dda077822d68de4e89133174.patch
deleted file mode 100644
index 0e94bb9e9..000000000
--- a/source/ap/ghostscript/ef6bd6d61a3b5649dda077822d68de4e89133174.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From ef6bd6d61a3b5649dda077822d68de4e89133174 Mon Sep 17 00:00:00 2001
-From: Chris Liddell <chris.liddell@artifex.com>
-Date: Wed, 30 Mar 2022 10:22:12 +0100
-Subject: [PATCH] Fix broken .so build
-
-The earlier rejig was incorrect.
-
-Noted here:
-
-https://github.com/ArtifexSoftware/ghostpdl/commit/9aae213ff3ae971942b427062799b009c07ea713#commitcomment-69841178
----
- base/unix-dll.mak | 11 ++++++-----
- 1 file changed, 6 insertions(+), 5 deletions(-)
-
-diff --git a/base/unix-dll.mak b/base/unix-dll.mak
-index 0e4bbab4a..89dfa5a2e 100644
---- a/base/unix-dll.mak
-+++ b/base/unix-dll.mak
-@@ -193,15 +193,16 @@ gpdl-so-links-subtarget: $(GPDL_SO) $(UNIX_DLL_MAK) $(MAKEDIRS)
- $(NO_OP)
-
- # Build the small Ghostscript loaders, with Gtk+ and without
--$(GLOBJ)dxmainc.$(OBJ): $(PSSRC)dxmainc.c $(UNIX_DLL_MAK) $(MAKEDIRS)
-+$(GLO)dxmainc.$(OBJ): $(PSSRC)dxmainc.c $(UNIX_DLL_MAK) $(MAKEDIRS)
- $(GLCC) $(GLO_)dxmainc.$(OBJ) $(C_) $(PSSRC)dxmainc.c
-
--$(GSSOC_XE): gs-so-links-subtarget $(GLOBJ)dxmainc.$(OBJ) $(UNIX_DLL_MAK) $(MAKEDIRS)
-- $(GLCC) -L$(BINDIR) $(LDFLAGS) $(O_) $(GSSOC_XE) $(GLOBJ)dxmainc.$(OBJ) -l$(GS_SO_BASE)
-+$(GLO)dxmain.$(OBJ): $(PSSRC)dxmain.c $(UNIX_DLL_MAK) $(MAKEDIRS)
-+ $(GLCC) $(SOC_CFLAGS) $(GLO_)dxmain.$(OBJ) $(C_) $(PSSRC)dxmain.c
-
--$(GLO_)$(SOC_LOADER).$(OBJ): $(PSSRC)$(SOC_LOADER).c $(UNIX_DLL_MAK) $(MAKEDIRS)
-+$(GSSOC_XE): gs-so-links-subtarget $(GLO)dxmainc.$(OBJ) $(UNIX_DLL_MAK) $(MAKEDIRS)
-+ $(GLCC) -L$(BINDIR) $(LDFLAGS) $(O_) $(GSSOC_XE) $(GLOBJ)dxmainc.$(OBJ) -l$(GS_SO_BASE)
-
--$(GSSOX_XE): gs-so-links-subtarget $(GLO_)$(SOC_LOADER).$(OBJ) $(UNIX_DLL_MAK) $(MAKEDIRS)
-+$(GSSOX_XE): gs-so-links-subtarget $(GLO)$(SOC_LOADER).$(OBJ) $(UNIX_DLL_MAK) $(MAKEDIRS)
- $(GLCC) -L$(BINDIR) $(LDFLAGS) $(O_) $(GSSOX_XE) $(GLOBJ)$(SOC_LOADER).$(OBJ) -l$(GS_SO_BASE) $(SOC_LIBS)
-
- $(PCLSOC_XE): gpcl6-so-links-subtarget $(UNIX_DLL_MAK) $(PLOBJ)$(REALMAIN_SRC).$(OBJ) $(MAKEDIRS)
diff --git a/source/ap/ghostscript/ghostscript.SlackBuild b/source/ap/ghostscript/ghostscript.SlackBuild
index a08e3ccdd..485704b8b 100755
--- a/source/ap/ghostscript/ghostscript.SlackBuild
+++ b/source/ap/ghostscript/ghostscript.SlackBuild
@@ -89,8 +89,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
-zcat $CWD/ef6bd6d61a3b5649dda077822d68de4e89133174.patch.gz | patch -p1 --verbose || exit 1
-
# Build/install IJS:
( cd ijs
CFLAGS="$SLKCFLAGS" \
diff --git a/source/e/emacs/emacs.SlackBuild b/source/e/emacs/emacs.SlackBuild
index 33a31ceaa..0f96e352e 100755
--- a/source/e/emacs/emacs.SlackBuild
+++ b/source/e/emacs/emacs.SlackBuild
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=emacs
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
# Determine version number the tarball is labeled with:
TARBALLVER=${TARBALLVER:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
# OK, now what's being used as the source directory version number... account
@@ -99,8 +99,6 @@ find . \
# memory given the amount available on modern systems:
sed -i "s/#define SYSTEM_PURESIZE_EXTRA 0/#define SYSTEM_PURESIZE_EXTRA 100000/g" src/puresize.h
-zcat $CWD/emacs.glibc-2.34.patch.gz | patch -p1 --verbose || exit 1
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
diff --git a/source/e/emacs/emacs.glibc-2.34.patch b/source/e/emacs/emacs.glibc-2.34.patch
deleted file mode 100644
index 6d764aa26..000000000
--- a/source/e/emacs/emacs.glibc-2.34.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From f97e07ea807cc6d38774a3888a15091b20645ac6 Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 9 Mar 2021 11:22:59 -0800
-Subject: [PATCH] Port alternate signal stack to upcoming glibc 2.34
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-* src/sysdep.c (sigsegv_stack): Increase size to 64 KiB and align
-it to max_align_t. This copies from Gnulib’s c-stack.c, and works
-around a portability bug in draft glibc 2.34, which no longer
-defines SIGSTKSZ when _GNU_SOURCE is defined.
----
- src/sysdep.c | 10 +++++++++-
- 1 file changed, 9 insertions(+), 1 deletion(-)
-
-diff --git a/src/sysdep.c b/src/sysdep.c
-index 941b4e2fa2..24d8832b2f 100644
---- a/src/sysdep.c
-+++ b/src/sysdep.c
-@@ -1785,7 +1785,15 @@ handle_arith_signal (int sig)
-
- /* Alternate stack used by SIGSEGV handler below. */
-
--static unsigned char sigsegv_stack[SIGSTKSZ];
-+/* Storage for the alternate signal stack.
-+ 64 KiB is not too large for Emacs, and is large enough
-+ for all known platforms. Smaller sizes may run into trouble.
-+ For example, libsigsegv 2.6 through 2.8 have a bug where some
-+ architectures use more than the Linux default of an 8 KiB alternate
-+ stack when deciding if a fault was caused by stack overflow. */
-+static max_align_t sigsegv_stack[(64 * 1024
-+ + sizeof (max_align_t) - 1)
-+ / sizeof (max_align_t)];
-
-
- /* Return true if SIGINFO indicates a stack overflow. */
---
-2.29.2
-
diff --git a/source/l/netpbm/netpbm-security-scripts.patch b/source/l/netpbm/netpbm-security-scripts.patch
deleted file mode 100644
index 0ba822ad1..000000000
--- a/source/l/netpbm/netpbm-security-scripts.patch
+++ /dev/null
@@ -1,267 +0,0 @@
-diff --git a/editor/ppmfade b/editor/ppmfade
-index dcd7bf2..5091651 100755
---- a/editor/ppmfade
-+++ b/editor/ppmfade
-@@ -40,6 +40,7 @@ exec perl -w -x -S -- "$0" "$@"
- #
- ##############################################################################
- use strict;
-+use File::Temp "tempdir";
-
- sub doVersionHack($) {
- my ($argvR) = @_;
-@@ -149,20 +150,26 @@ if ($first_file ne "undefined") {
-
- print("Frames are " . $width . "W x " . $height . "H\n");
-
-+#
-+# We create a tmp-directory right here
-+#
-+my $tmpdir = tempdir("ppmfade.XXXXXX", CLEANUP => 1);
-+
-+
- if ($first_file eq "undefined") {
- print "Fading from black to ";
-- system("ppmmake \\#000 $width $height >junk1$$.ppm");
-+ system("ppmmake \\#000 $width $height >$tmpdir/junk1$$.ppm");
- } else {
- print "Fading from $first_file to ";
-- system("cp", $first_file, "junk1$$.ppm");
-+ system("cp", $first_file, "$tmpdir/junk1$$.ppm");
- }
-
- if ($last_file eq "undefined") {
- print "black.\n";
-- system("ppmmake \\#000 $width $height >junk2$$.ppm");
-+ system("ppmmake \\#000 $width $height >$tmpdir/junk2$$.ppm");
- } else {
- print "$last_file\n";
-- system("cp", $last_file, "junk2$$.ppm");
-+ system("cp", $last_file, "$tmpdir/junk2$$.ppm");
- }
-
- #
-@@ -170,14 +177,14 @@ if ($last_file eq "undefined") {
- #
-
- # Here's what our temporary files are:
--# junk1$$.ppm: The original (fade-from) image
--# junk2$$.ppm: The target (fade-from) image
--# junk3$$.ppm: The frame of the fade for the current iteration of the
--# the for loop.
--# junk1a$$.ppm: If the fade involves a ppmmix sequence from one intermediate
--# image to another, this is the first frame of that
--# sequence.
--# junk2a$$.ppm: This is the last frame of the above-mentioned ppmmix sequence
-+# $tmpdir/junk1$$.ppm: The original (fade-from) image
-+# $tmpdir/junk2$$.ppm: The target (fade-from) image
-+# $tmpdir/junk3$$.ppm: The frame of the fade for the current iteration of the
-+# the for loop.
-+# $tmpdir/junk1a$$.ppm: If the fade involves a ppmmix sequence from one intermediate
-+# image to another, this is the first frame of that
-+# sequence.
-+# $tmpdir/junk2a$$.ppm: This is the last frame of the above-mentioned ppmmix sequence
-
- my $i; # Frame number
- for ($i = 1; $i <= $nframes; $i++) {
-@@ -185,147 +192,147 @@ for ($i = 1; $i <= $nframes; $i++) {
- if ($mode eq $SPREAD) {
- if ($i <= 10) {
- my $n = $spline20[$i] * 100;
-- system("ppmspread $n junk1$$.ppm >junk3$$.ppm");
-+ system("ppmspread $n $tmpdir/junk1$$.ppm >$tmpdir/junk3$$.ppm");
- } elsif ($i <= 20) {
- my $n;
- $n = $spline20[$i] * 100;
-- system("ppmspread $n junk1$$.ppm >junk1a$$.ppm");
-+ system("ppmspread $n $tmpdir/junk1$$.ppm >$tmpdir/junk1a$$.ppm");
- $n = (1-$spline20[$i-10]) * 100;
-- system("ppmspread $n junk2$$.ppm >junk2a$$.ppm");
-+ system("ppmspread $n $tmpdir/junk2$$.ppm >$tmpdir/junk2a$$.ppm");
- $n = $spline10[$i-10];
-- system("ppmmix $n junk1a$$.ppm junk2a$$.ppm >junk3$$.ppm");
-+ system("ppmmix $n $tmpdir/junk1a$$.ppm $tmpdir/junk2a$$.ppm >$tmpdir/junk3$$.ppm");
- } else {
- my $n = (1-$spline20[$i-10])*100;
-- system("ppmspread $n junk2$$.ppm >junk3$$.ppm");
-+ system("ppmspread $n $tmpdir/junk2$$.ppm >$tmpdir/junk3$$.ppm");
- }
- } elsif ($mode eq $SHIFT) {
- if ($i <= 10) {
- my $n = $spline20[$i] * 100;
-- system("ppmshift $n junk1$$.ppm >junk3$$.ppm");
-+ system("ppmshift $n $tmpdir/junk1$$.ppm >$tmpdir/junk3$$.ppm");
- } elsif ($i <= 20) {
- my $n;
- $n = $spline20[$i] * 100;
-- system("ppmshift $n junk1$$.ppm >junk1a$$.ppm");
-+ system("ppmshift $n $tmpdir/junk1$$.ppm >$tmpdir/junk1a$$.ppm");
- $n = (1-$spline20[$i-10])*100;
-- system("ppmshift $n junk2$$.ppm >junk2a$$.ppm");
-+ system("ppmshift $n $tmpdir/junk2$$.ppm >$tmpdir/junk2a$$.ppm");
- $n = $spline10[$i-10];
-- system("ppmmix $n junk1a$$.ppm junk2a$$.ppm >junk3$$.ppm");
-+ system("ppmmix $n $tmpdir/junk1a$$.ppm $tmpdir/junk2a$$.ppm >$tmpdir/junk3$$.ppm");
- } else {
- my $n = (1-$spline20[$i-10]) * 100;
-- system("ppmshift $n junk2$$.ppm >junk3$$.ppm");
-+ system("ppmshift $n $tmpdir/junk2$$.ppm >$tmpdir/junk3$$.ppm");
- }
- } elsif ($mode eq $RELIEF) {
- if ($i == 1) {
-- system("ppmrelief junk1$$.ppm >junk1r$$.ppm");
-+ system("ppmrelief $tmpdir/junk1$$.ppm >$tmpdir/junk1r$$.ppm");
- }
- if ($i <= 10) {
- my $n = $spline10[$i];
-- system("ppmmix $n junk1$$.ppm junk1r$$.ppm >junk3$$.ppm");
-+ system("ppmmix $n $tmpdir/junk1$$.ppm $tmpdir/junk1r$$.ppm >$tmpdir/junk3$$.ppm");
- } elsif ($i <= 20) {
- my $n = $spline10[$i-10];
-- system("ppmmix $n junk1r$$.ppm junk2r$$.ppm >junk3$$.ppm");
-+ system("ppmmix $n $tmpdir/junk1r$$.ppm $tmpdir/junk2r$$.ppm >$tmpdir/junk3$$.ppm");
- } else {
- my $n = $spline10[$i-20];
-- system("ppmmix $n junk2r$$.ppm junk2$$.ppm >junk3$$.ppm");
-+ system("ppmmix $n $tmpdir/junk2r$$.ppm $tmpdir/junk2$$.ppm >$tmpdir/junk3$$.ppm");
- }
- if ($i == 10) {
-- system("ppmrelief junk2$$.ppm >junk2r$$.ppm");
-+ system("ppmrelief $tmpdir/junk2$$.ppm >$tmpdir/junk2r$$.ppm");
- }
- } elsif ($mode eq $OIL) {
- if ($i == 1) {
-- system("ppmtopgm junk1$$.ppm | pgmoil >junko$$.ppm");
-- system("rgb3toppm junko$$.ppm junko$$.ppm junko$$.ppm " .
-- ">junk1o$$.ppm");
-+ system("ppmtopgm $tmpdir/junk1$$.ppm | pgmoil >$tmpdir/junko$$.ppm");
-+ system("rgb3toppm $tmpdir/junko$$.ppm $tmpdir/junko$$.ppm $tmpdir/junko$$.ppm " .
-+ ">$tmpdir/junk1o$$.ppm");
- }
- if ($i <= 10) {
- my $n = $spline10[$i];
-- system("ppmmix $n junk1$$.ppm junk1o$$.ppm >junk3$$.ppm");
-+ system("ppmmix $n $tmpdir/junk1$$.ppm $tmpdir/junk1o$$.ppm >$tmpdir/junk3$$.ppm");
- } elsif ($i <= 20) {
- my $n = $spline10[$i-10];
-- system("ppmmix $n junk1o$$.ppm junk2o$$.ppm >junk3$$.ppm");
-+ system("ppmmix $n $tmpdir/junk1o$$.ppm $tmpdir/junk2o$$.ppm >$tmpdir/junk3$$.ppm");
- } else {
- my $n = $spline10[$i-20];
-- system("ppmmix $n junk2o$$.ppm junk2$$.ppm >junk3$$.ppm");
-+ system("ppmmix $n $tmpdir/junk2o$$.ppm $tmpdir/junk2$$.ppm >$tmpdir/junk3$$.ppm");
- }
- if ($i == 10) {
-- system("ppmtopgm junk2$$.ppm | pgmoil >junko$$.ppm");
-- system("rgb3toppm junko$$.ppm junko$$.ppm junko$$.ppm " .
-- ">junk2o$$.ppm");
-+ system("ppmtopgm $tmpdir/junk2$$.ppm | pgmoil >$tmpdir/junko$$.ppm");
-+ system("rgb3toppm $tmpdir/junko$$.ppm $tmpdir/junko$$.ppm $tmpdir/junko$$.ppm " .
-+ ">$tmpdir/junk2o$$.ppm");
- }
- } elsif ($mode eq $EDGE) {
- if ($i == 1) {
-- system("ppmtopgm junk1$$.ppm | pgmedge >junko$$.ppm");
-- system("rgb3toppm junko$$.ppm junko$$.ppm junko$$.ppm " .
-- ">junk1o$$.ppm");
-+ system("ppmtopgm $tmpdir/junk1$$.ppm | pgmedge >$tmpdir/junko$$.ppm");
-+ system("rgb3toppm $tmpdir/junko$$.ppm $tmpdir/junko$$.ppm $tmpdir/junko$$.ppm " .
-+ ">$tmpdir/junk1o$$.ppm");
- }
- if ($i <= 10) {
- my $n = $spline10[$i];
-- system("ppmmix $n junk1$$.ppm junk1o$$.ppm >junk3$$.ppm");
-+ system("ppmmix $n $tmpdir/junk1$$.ppm $tmpdir/junk1o$$.ppm >$tmpdir/junk3$$.ppm");
- } elsif ($i <= 20) {
- my $n = $spline10[$i-10];
-- system("ppmmix $n junk1o$$.ppm junk2o$$.ppm >junk3$$.ppm");
-+ system("ppmmix $n $tmpdir/junk1o$$.ppm $tmpdir/junk2o$$.ppm >$tmpdir/junk3$$.ppm");
- } else {
- my $n = $spline10[$i-20];
-- system("ppmmix $n junk2o$$.ppm junk2$$.ppm >junk3$$.ppm");
-+ system("ppmmix $n $tmpdir/junk2o$$.ppm $tmpdir/junk2$$.ppm >$tmpdir/junk3$$.ppm");
- }
- if ($i == 10) {
-- system("ppmtopgm junk2$$.ppm | pgmedge >junko$$.ppm");
-- system("rgb3toppm junko$$.ppm junko$$.ppm junko$$.ppm " .
-- ">junk2o$$.ppm");
-+ system("ppmtopgm $tmpdir/junk2$$.ppm | pgmedge >$tmpdir/junko$$.ppm");
-+ system("rgb3toppm $tmpdir/junko$$.ppm $tmpdir/junko$$.ppm $tmpdir/junko$$.ppm " .
-+ ">$tmpdir/junk2o$$.ppm");
- }
- } elsif ($mode eq $BENTLEY) {
- if ($i == 1) {
-- system("ppmtopgm junk1$$.ppm | pgmbentley >junko$$.ppm");
-- system("rgb3toppm junko$$.ppm junko$$.ppm junko$$.ppm " .
-- ">junk1o$$.ppm");
-+ system("ppmtopgm $tmpdir/junk1$$.ppm | pgmbentley >$tmpdir/junko$$.ppm");
-+ system("rgb3toppm $tmpdir/junko$$.ppm $tmpdir/junko$$.ppm $tmpdir/junko$$.ppm " .
-+ ">$tmpdir/junk1o$$.ppm");
- }
- if ($i <= 10) {
- my $n = $spline10[$i];
-- system("ppmmix $n junk1$$.ppm junk1o$$.ppm >junk3$$.ppm");
-+ system("ppmmix $n $tmpdir/junk1$$.ppm $tmpdir/junk1o$$.ppm >$tmpdir/junk3$$.ppm");
- } elsif ($i <= 20) {
- my $n = $spline10[$i-10];
-- system("ppmmix $n junk1o$$.ppm junk2o$$.ppm >junk3$$.ppm");
-+ system("ppmmix $n $tmpdir/junk1o$$.ppm $tmpdir/junk2o$$.ppm >$tmpdir/junk3$$.ppm");
- } else {
- my $n = $spline10[$i-20];
-- system("ppmmix $n junk2o$$.ppm junk2$$.ppm >junk3$$.ppm");
-+ system("ppmmix $n $tmpdir/junk2o$$.ppm $tmpdir/junk2$$.ppm >$tmpdir/junk3$$.ppm");
- }
- if ($i == 10) {
-- system("ppmtopgm junk2$$.ppm | pgmbentley >junko$$.ppm");
-- system("rgb3toppm junko$$.ppm junko$$.ppm junko$$.ppm " .
-- ">junk2o$$.ppm");
-+ system("ppmtopgm $tmpdir/junk2$$.ppm | pgmbentley >$tmpdir/junko$$.ppm");
-+ system("rgb3toppm $tmpdir/junko$$.ppm $tmpdir/junko$$.ppm $tmpdir/junko$$.ppm " .
-+ ">$tmpdir/junk2o$$.ppm");
- }
- } elsif ($mode eq $BLOCK) {
- if ($i <= 10) {
- my $n = 1 - 1.9*$spline20[$i];
-- system("pamscale $n junk1$$.ppm | " .
-- "pamscale -width $width -height $height >junk3$$.ppm");
-+ system("pamscale $n $tmpdir/junk1$$.ppm | " .
-+ "pamscale -width $width -height $height >$tmpdir/junk3$$.ppm");
- } elsif ($i <= 20) {
- my $n = $spline10[$i-10];
-- system("ppmmix $n junk1a$$.ppm junk2a$$.ppm >junk3$$.ppm");
-+ system("ppmmix $n $tmpdir/junk1a$$.ppm $tmpdir/junk2a$$.ppm >$tmpdir/junk3$$.ppm");
- } else {
- my $n = 1 - 1.9*$spline20[31-$i];
-- system("pamscale $n junk2$$.ppm | " .
-- "pamscale -width $width -height $height >junk3$$.ppm");
-+ system("pamscale $n $tmpdir/junk2$$.ppm | " .
-+ "pamscale -width $width -height $height >$tmpdir/junk3$$.ppm");
- }
- if ($i == 10) {
-- system("cp", "junk3$$.ppm", "junk1a$$.ppm");
-- system("pamscale $n junk2$$.ppm | " .
-- "pamscale -width $width -height $height >junk2a$$.ppm");
-+ system("cp", "$tmpdir/junk3$$.ppm", "$tmpdir/junk1a$$.ppm");
-+ system("pamscale $n $tmpdir/junk2$$.ppm | " .
-+ "pamscale -width $width -height $height >$tmpdir/junk2a$$.ppm");
- }
- } elsif ($mode eq $MIX) {
- my $fade_factor = sqrt(1/($nframes-$i+1));
-- system("ppmmix $fade_factor junk1$$.ppm junk2$$.ppm >junk3$$.ppm");
-+ system("ppmmix $fade_factor $tmpdir/junk1$$.ppm $tmpdir/junk2$$.ppm >$tmpdir/junk3$$.ppm");
- } else {
- print("Internal error: impossible mode value '$mode'\n");
- }
-
- my $outfile = sprintf("%s.%04d.ppm", $base_name, $i);
-- system("cp", "junk3$$.ppm", $outfile);
-+ system("cp", "$tmpdir/junk3$$.ppm", $outfile);
- }
-
- #
- # Clean up shop.
- #
--system("rm junk*$$.ppm");
-+system("rm $tmpdir/junk*$$.ppm");
-
- exit(0);
diff --git a/source/l/netpbm/netpbm.SlackBuild b/source/l/netpbm/netpbm.SlackBuild
index fd7fb4445..7004a028a 100755
--- a/source/l/netpbm/netpbm.SlackBuild
+++ b/source/l/netpbm/netpbm.SlackBuild
@@ -70,7 +70,6 @@ rm -rf ${PKGNAM}-${VERSION}
tar xvf $CWD/${PKGNAM}-$VERSION.tar.?z || exit 1
cd ${PKGNAM}-$VERSION
-zcat $CWD/netpbm-security-scripts.patch.gz | patch -p1 --verbose || exit 1
#zcat $CWD/netpbm-security-code.patch.gz | patch -p1 --verbose || exit 1
zcat $CWD/netpbm-ppmfadeusage.patch.gz | patch -p1 --verbose || exit 1
zcat $CWD/netpbm-noppmtompeg.patch.gz | patch -p1 --verbose || exit 1
diff --git a/source/n/procmail/procmail.SlackBuild b/source/n/procmail/procmail.SlackBuild
index 41dd27304..50174fc36 100755
--- a/source/n/procmail/procmail.SlackBuild
+++ b/source/n/procmail/procmail.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2010, 2018 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2010, 2018, 2022 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=procmail
-VERSION=3.22
-BUILD=${BUILD:-6}
+VERSION=3.24
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -55,9 +55,8 @@ explodepkg $CWD/_procmail.tar.gz
cd $TMP
rm -rf procmail-$VERSION
-tar xvf $CWD/procmail-$VERSION.tar.gz || exit 1
+tar xvf $CWD/procmail-$VERSION.tar.?z || exit 1
cd procmail-$VERSION || exit 1
-zcat $CWD/procmail_3.22-5.diff.gz | patch -p1 --verbose || exit 1
zcat $CWD/procmail.lfs.diff.gz | patch -p1 --verbose || exit 1
chown -R root:root .
find . \
@@ -66,7 +65,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
-sed -i "s/getline/procmail_getline/g" src/fields.c src/formail.c src/formisc.c src/formisc.h
+#sed -i "s/getline/procmail_getline/g" src/fields.c src/formail.c src/formisc.c src/formisc.h
+
+sed -i "s|#LOCKINGTEST=/tmp .|LOCKINGTEST=/tmp|g" Makefile
make || exit 1
@@ -87,7 +88,7 @@ cd ..
mkdir -p $PKG/usr/doc/procmail-$VERSION
cp -a \
- Artistic COPYING* FAQ FEATURES HISTORY INSTALL KNOWN_BUGS \
+ Artistic* COPYING* FAQ* FEATURES* HISTORY* INSTALL* KNOWN_BUGS* \
README* examples \
$PKG/usr/doc/procmail-$VERSION
diff --git a/source/n/procmail/procmail.url b/source/n/procmail/procmail.url
new file mode 100644
index 000000000..c3580f4ca
--- /dev/null
+++ b/source/n/procmail/procmail.url
@@ -0,0 +1 @@
+https://github.com/BuGlessRB/procmail
diff --git a/source/n/procmail/procmail_3.22-5.diff b/source/n/procmail/procmail_3.22-5.diff
deleted file mode 100644
index 8e6ba5f93..000000000
--- a/source/n/procmail/procmail_3.22-5.diff
+++ /dev/null
@@ -1,1026 +0,0 @@
---- procmail-3.22.orig/examples/advanced
-+++ procmail-3.22/examples/advanced
-@@ -251,14 +251,14 @@
- --------------------------------------------------------
-
- There are many different reasons why more and more sites decide not to
--store mail in /usr/spool/mail or /usr/mail anymore.
-+store mail in /var/spool/mail or /var/mail anymore.
- Some of the obvious advantages when storing mail in the recipient's home
- directory are:
- - Mail is automatically subject to the user's quota limitations.
- - Often there is more room on the home partition(s) than on that
-- one /usr/mail partition.
-+ one /var/mail partition.
-
--The quota limitations also apply to /usr/spool/mail or /usr/mail if procmail
-+The quota limitations also apply to /var/spool/mail or /var/mail if procmail
- does the delivery. These quota limitations often do not work with the
- regular /bin/mail since that usually writes the mailbox with root permissions
- (eluding the quota restrictions).
-@@ -276,7 +276,7 @@
- defined SYSTEM_MBOX to be. Some braindamaged mail programs
- do not pick up the MAIL environment variable, these either
- have to be patched/recompiled or you have to create symbolic
-- links in /usr/mail to every person's new mailbox.
-+ links in /var/mail to every person's new mailbox.
-
- ---
-
---- procmail-3.22.orig/man/procmail.man
-+++ procmail-3.22/man/procmail.man
-@@ -723,6 +723,15 @@
- .fi
- .ad
- .PP
-+Some mailers (notably exim) do not currently accept the above syntax.
-+In such case use this instead:
-+.PP
-+.na
-+.nf
-+|/usr/bin/procmail
-+.fi
-+.ad
-+.PP
- Procmail can also be invoked to postprocess an already filled system
- mailbox. This can be useful if you don't want to or can't use a
- $HOME/@DOT_FORWARD@ file (in which case the following script could
-@@ -754,7 +763,7 @@
- .SS "A sample small @PROCMAILRC@:"
- .na
- .nf
--PATH=/bin:/usr/bin:@BINDIR@
-+PATH=/usr/local/bin:/usr/bin:/bin
- MAILDIR=$HOME/Mail #you'd better make sure it exists
- DEFAULT=$MAILDIR/mbox #completely optional
- LOGFILE=$MAILDIR/from #recommended
---- procmail-3.22.orig/src/comsat.c
-+++ procmail-3.22/src/comsat.c
-@@ -92,7 +92,7 @@
- }
- if(newvalid) /* so far, so good */
- { int s;
-- if(!*chp) /* no service */
-+ if(!chad||!*chp) /* no service */
- chp=BIFF_serviceport; /* new balls please! */
- s=strtol(chp,&chad,10);
- if(chp!=chad) /* the service is not numeric */
-@@ -120,7 +120,7 @@
- { int s;const char*p;
- if(!csvalid||!buf) /* is comat on and set to a valid address? */
- return;
-- if(!*cslgname||strlen(cslgname)+2>linebuf) /* is $LOGNAME bogus? */
-+ if(!cslgname||!*cslgname||strlen(cslgname)+2>linebuf)/* is $LOGNAME bogus? */
- return;
- if(!(p=folder?folder:cslastf)) /* do we have a folder? */
- return;
---- procmail-3.22.orig/src/memblk.c
-+++ procmail-3.22/src/memblk.c
-@@ -51,11 +51,11 @@
- {
- #ifdef USE_MMAP
- if(mb->fd>=0)
-- { long len=mb->len+1;
-- if(munmap(mb->p,len))
-- mmapfailed(len); /* don't want to continue here */
-- if((mb->p=mmap(0,len,PROT_READ,MAP_PRIVATE,mb->fd,(off_t)0))==MAP_FAILED)
-- mmapfailed(len);
-+ { long mlen=mb->len+1;
-+ if(munmap(mb->p,mlen))
-+ mmapfailed(mlen); /* don't want to continue here */
-+ if((mb->p=mmap(0,mlen,PROT_READ,MAP_PRIVATE,mb->fd,(off_t)0))==MAP_FAILED)
-+ mmapfailed(mlen);
- close(mb->fd);
- mb->fd=ropen(devnull,O_RDWR,0); /* XXX Perhaps -1 is better? */
- }
-@@ -77,8 +77,8 @@
- strcpy(filename,MMAP_DIR);
- if(unique(filename,strchr(filename,'\0'),MMAP_FILE_LEN,MMAP_PERM,0,0)&&
- (mb->fd=ropen(filename,O_RDWR,MMAP_PERM),unlink(filename),mb->fd>=0))
-- { mb->filelen=len;
-- if(lseek(mb->fd,mb->filelen-1,SEEK_SET)<0||1!=rwrite(mb->fd,empty,1))
-+ { mb->filelen=len+1;
-+ if(lseek(mb->fd,len,SEEK_SET)<0||1!=rwrite(mb->fd,empty,1))
- dropf: { close(mb->fd);mb->fd= -1;
- if(verbose)nlog("Unable to extend or use tempfile");
- }
-@@ -98,9 +98,9 @@
- }
- }
- if(mb->fd>=0)
-- { if(len>mb->filelen) /* need to extend? */
-- { mb->filelen=len;
-- if(lseek(mb->fd,mb->filelen-1,SEEK_SET)<0||1!=rwrite(mb->fd,empty,1))
-+ { if(len>=mb->filelen) /* need to extend? */
-+ { mb->filelen=len+1;
-+ if(lseek(mb->fd,len,SEEK_SET)<0||1!=rwrite(mb->fd,empty,1))
- { char*p=malloc(len+1); /* can't extend, switch to malloc */
- tmemmove(p,mb->p,mb->len);
- munmap(mb->p,mb->len+1);
-@@ -124,9 +124,9 @@
- }
- else
- mb->p=realloc(mb->p,len+1);
-- mb->len=len+1;
-- mb->p[len]='\0';
-+ mb->len=len;
- ret1:
-+ mb->p[len]='\0';
- return 1;
- }
-
---- procmail-3.22.orig/src/authenticate.c
-+++ procmail-3.22/src/authenticate.c
-@@ -39,13 +39,13 @@
- #include "authenticate.h"
-
- #ifndef MAILSPOOLDIR
--#define MAILSPOOLDIR "/var/spool/mail/" /* watch the trailing / */
-+#define MAILSPOOLDIR "/var/mail/" /* watch the trailing / */
- #endif
- #ifndef MAILSPOOLSUFFIX
- #define MAILSPOOLSUFFIX "" /* suffix to force maildir or MH style */
- #endif
- #ifndef MAILSPOOLHASH
--#define MAILSPOOLHASH 0 /* 2 would deliver to /var/spool/mail/b/a/bar */
-+#define MAILSPOOLHASH 0 /* 2 would deliver to /var/mail/b/a/bar */
- #endif
- /*#define MAILSPOOLHOME "/.mail" /* watch the leading / */
- /* delivers to $HOME/.mail */
---- procmail-3.22.orig/src/autoconf
-+++ procmail-3.22/src/autoconf
-@@ -89,7 +89,7 @@
- # #define NOfcntl_lock
- #Ok #define USElockf
- #Ok #define USEflock
--#Ok #define MAILSPOOLDIR "/var/spool/mail/"
-+#Ok #define MAILSPOOLDIR "/var/mail/"
- #Ok #define SENDMAIL "/usr/sbin/sendmail"
- # #define buggy_SENDMAIL
- # #define DEFflagsendmail ""
-@@ -1416,14 +1416,14 @@
-
- found=no
-
--for a in /var/spool/mail /usr/spool/mail /var/mail /usr/mail /spool/mail
-+for a in /var/mail /var/spool/mail /usr/spool/mail /usr/mail /spool/mail
- do
- test -d $a -a $found != yes &&
- echo '#define MAILSPOOLDIR "'$a'/"' >>$ACONF && found=yes
- done
- if test $found != yes
- then
-- echo '#define MAILSPOOLDIR "/var/spool/mail/"' >>$ACONF
-+ echo '#define MAILSPOOLDIR "/var/mail/"' >>$ACONF
- echo Could not find the system-mailbox directory, supplied default.
- fi
-
-@@ -1470,15 +1470,14 @@
- grep 'Mlocal.*procmail' >$DEVNULL ||
- echo '#define CF_no_procmail_yet' >>$ACONF
-
--cat /usr/lib/sendmail.cf /etc/sendmail.cf /etc/mail/sendmail.cf 2>$DEVNULL |
-- grep '^V' >$DEVNULL ||
-- echo '#define buggy_SENDMAIL' >>$ACONF
-+# cat /usr/lib/sendmail.cf /etc/sendmail.cf /etc/mail/sendmail.cf 2>$DEVNULL |
-+# grep '^V' >$DEVNULL ||
-+# echo '#define buggy_SENDMAIL' >>$ACONF
-
- lpath='/bin'
- bins="/bin"
-
--for newd in /usr/bin /usr/ucb /usr/5bin $BINDIR /local/bin /usr/local/bin \
-- /global/bin /usr/bin/X11 /usr/X*/bin
-+for newd in /usr/bin $BINDIR /usr/bin/X11 /usr/X*/bin
- do
- if test -d $newd
- then
---- procmail-3.22.orig/src/procmail.c
-+++ procmail-3.22/src/procmail.c
-@@ -652,8 +652,7 @@
- nrcond= -1;
- if(tolock) /* clear temporary buffer for lockfile name */
- free(tolock);
-- for(i=maxindex(flags);i;i--) /* clear the flags */
-- flags[i]=0;
-+ bbzero(flags,sizeof(flags)); /* clear the flags */
- for(tolock=0,locknext=0;;)
- { chp=skpspace(chp);
- switch(i= *chp++)
---- procmail-3.22.orig/src/pipes.c
-+++ procmail-3.22/src/pipes.c
-@@ -145,7 +145,9 @@
- if(Stdout)
- { *(eq=strchr(Stdout,'\0')-1)='\0'; /* chop the '=' */
- if(!(backblock=getenv(Stdout))) /* no current value? */
-- PRDB=PWRB= -1;
-+ { PRDB=PWRB= -1;
-+ backlen=0;
-+ }
- else
- { backlen=strlen(backblock);
- goto pip;
-@@ -155,9 +157,7 @@
- pip: rpipe(pbackfd);
- rpipe(pinfd); /* main pipes setup */
- if(!(pidchild=sfork())) /* create a sending procmail */
-- { if(Stdout&&backblock)
-- backlen=strlen(backblock);
-- else
-+ { if(!Stdout)
- backblock=source,backlen=len;
- childsetup();rclose(PRDI);rclose(PRDB);
- rpipe(poutfd);rclose(STDOUT);
-@@ -194,7 +194,7 @@
- makeblock(&temp,Stdfilled);
- tmemmove(temp.p,Stdout,Stdfilled);
- readdyn(&temp,&Stdfilled,Stdfilled+backlen+1);
-- Stdout=realloc(Stdout,&Stdfilled+1);
-+ Stdout=realloc(Stdout,Stdfilled+1);
- tmemmove(Stdout,temp.p,Stdfilled+1);
- freeblock(&temp);
- retStdout(Stdout,pwait&&pipw,!backblock);
---- procmail-3.22.orig/src/memblk.h
-+++ procmail-3.22/src/memblk.h
-@@ -1,6 +1,6 @@
- typedef struct memblk {
- char*p; /* where it starts */
-- long len; /* currently allocated size */
-+ long len; /* current size, not including trailing NUL */
- #ifdef USE_MMAP
- off_t filelen; /* how long is the file */
- int fd; /* file which is mmap()ed */
---- procmail-3.22.orig/src/manconf.c
-+++ procmail-3.22/src/manconf.c
-@@ -233,7 +233,7 @@
- \2-@PRESERVOPT@\1and\1.BR \2-@FROMWHOPT@ .\1");
- pc("LMTPOPT",LMTPOPT);
- #else
-- ps("LMTPOPTdesc","");ps("LMTPusage","");
-+ ps("LMTPOPTdesc","");ps("LMTPusage","\1");
- #endif
- pname("INIT_UMASK",0);printf("0%lo/g\n",(unsigned long)INIT_UMASK);lines--;
- pn("DEFlinebuf",DEFlinebuf);
---- procmail-3.22.orig/src/recommend.c
-+++ procmail-3.22/src/recommend.c
-@@ -47,7 +47,7 @@
- printf("chmod %lo %s\n",(unsigned long)(sgid|PERMIS),argv[2]);
- else if(chmdir==1)
- goto nogchmod;
-- if(chmdir)
-+ if(0)
- printf("chmod %c+w %s/.\n",chmdir==1?'g':'a',mailspooldir);
- nogchmod:
- return EXIT_SUCCESS;
---- procmail-3.22.orig/src/foldinfo.h
-+++ procmail-3.22/src/foldinfo.h
-@@ -10,7 +10,7 @@
-
- #define ft_lock(type) ((type)>ft_MAILDIR) /* kernel lock fd */
- #define ft_atime(type) ((type)==ft_FILE) /* force atime < mtime */
--#define ft_dotlock(type) ((type)==ft_FILE) /* dotlock $DEFAULT */
-+#define ft_dotlock(type) ((type)>ft_MAILDIR) /* dotlock $DEFAULT */
- #define ft_delim(type) ((type)==ft_FILE) /* add MMDF delim */
- #define ft_checkcloser(type) ((type)>ft_MH)
- #define ft_forceblank(type) ((type)!=ft_MAILDIR) /* force blank line at end */
---- procmail-3.22.orig/src/mailfold.c
-+++ procmail-3.22/src/mailfold.c
-@@ -378,7 +378,8 @@
- dfilled=mailread=0;
- else if(rhead) /* only read in a new header */
- { memblk new;
-- dfilled=mailread=0;makeblock(&new,0);readdyn(&new,&dfilled,0);
-+ dfilled=mailread=0;makeblock(&new,0);
-+ readdyn(&new,&dfilled,thebody-themail.p);
- if(tobesent>dfilled&&isprivate) /* put it in place here */
- { tmemmove(themail.p+dfilled,thebody,filled-=tobesent);
- tmemmove(themail.p,new.p,dfilled);
---- procmail-3.22.orig/FAQ
-+++ procmail-3.22/FAQ
-@@ -57,8 +57,8 @@
- Forward to |/usr/bin/procmail
- or if that doesn't work, try:
- Pipe to /usr/bin/procmail
-- as the only line in your mail spool file (e.g. /usr/mail/$LOGNAME), as
-- well as doing a "chmod 06660 /usr/mail/$LOGNAME". For more information
-+ as the only line in your mail spool file (e.g. /var/mail/$LOGNAME), as
-+ well as doing a "chmod 06660 /var/mail/$LOGNAME". For more information
- on such systems, do a "man mail".
-
- If all of this doesn't work, procmail can be called on a periodical
-@@ -210,14 +210,14 @@
- procmail with both the fcntl() and lockf() locking method
- disabled (see config.h).
-
--17. I sometimes get these `Lock failure on "/usr/mail/$LOGNAME.lock"' errors
-+17. I sometimes get these `Lock failure on "/var/mail/$LOGNAME.lock"' errors
- from procmail. What do I do about it?
-
- The problem here is that as long as procmail has not read a
- $HOME/.procmailrc file, it can hang on to the sgid mail permission
-- (which it needs in order to create a lockfile in /usr/mail).
-+ (which it needs in order to create a lockfile in /var/mail).
- I.e. if procmail delivers mail to a user without a $HOME/.procmailrc
-- file, procmail *can* (and does) use the /usr/mail/$LOGNAME.lock file.
-+ file, procmail *can* (and does) use the /var/mail/$LOGNAME.lock file.
-
- If, however, it finds a $HOME/.procmailrc file, procmail has to let go
- of the sgid mail permission because otherwise any ordinary user could
-@@ -226,7 +226,7 @@
- There are several solutions to this problem:
- - Some systems support the sticky bit on directories (when set only
- allows the owner of a file in that directory to rename or remove
-- it). This enables you to make /usr/spool/mail drwxrwxrwt. It is
-+ it). This enables you to make /var/mail drwxrwxrwt. It is
- thus effectively world writable, but all the mailboxes in it are
- protected because only the mailbox owner can remove or rename it.
- - If your system did not exhibit the !@#$%^&* POSIX semantics for
-@@ -245,9 +245,9 @@
- :0
- $DEFAULT
-
-- - You could, instead of using /usr/mail/$LOGNAME, use a file below
-+ - You could, instead of using /var/mail/$LOGNAME, use a file below
- your home directory as your default mailbox.
-- - Or, you could still use /usr/mail/$LOGNAME as the mailbox, but
-+ - Or, you could still use /var/mail/$LOGNAME as the mailbox, but
- simply instruct procmail to use a different lockfile. This can
- be achieved by putting following recipe at the bottom of
- your .procmailrc file:
---- procmail-3.22.orig/FEATURES
-+++ procmail-3.22/FEATURES
-@@ -30,7 +30,7 @@
- per message, the similar MH directory folders (numbered files),
- and Maildir directory folders (a multi-directory format that requires
- no locking)
-- + Native support for /var/spool/mail/b/a/bar type mailspools
-+ + Native support for /var/mail/b/a/bar type mailspools
- + Variable assignment and substitution is an extremely complete subset
- of the standard /bin/sh syntax
- + Provides a mail log file, which logs all mail arrival, shows
---- procmail-3.22.orig/Makefile
-+++ procmail-3.22/Makefile
-@@ -65,7 +65,7 @@
- # Only edit below this line if you *think* you know what you are doing #
- ########################################################################
-
--#LOCKINGTEST=100 # Uncomment (and change) if you think you know
-+LOCKINGTEST=100 # Uncomment (and change) if you think you know
- # it better than the autoconf lockingtests.
- # This will cause the lockingtests to be hotwired.
- # 100 to enable fcntl()
-@@ -79,7 +79,7 @@
- # -lresolv # not really needed, is it?
-
- # Informal list of directories where we look for the libraries in SEARCHLIBS
--LIBPATHS=/lib /usr/lib /usr/local/lib
-+LIBPATHS=/lib /usr/lib
-
- GCC_WARNINGS = -O2 -pedantic -Wreturn-type -Wunused -Wformat -Wtraditional \
- -Wpointer-arith -Wconversion -Waggregate-return \
---- procmail-3.22.orig/config.h
-+++ procmail-3.22/config.h
-@@ -33,8 +33,8 @@
- * override those settings you should uncomment and possibly change the
- * DEFSPATH and DEFPATH defines below
- */
--/*#define DEFSPATH "PATH=/bin:/usr/bin" /* */
--/*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */
-+#define DEFSPATH "PATH=/usr/local/bin:/usr/bin:/bin" /* */
-+#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/usr/bin:/bin" /* */
-
- /* every environment variable appearing in PRESTENV will be set or wiped
- * out of the environment (variables without an '=' sign will be thrown
-@@ -46,7 +46,7 @@
- */
- #define PRESTENV {"IFS","ENV","PWD",0}
-
--/*#define GROUP_PER_USER /* uncomment this if each
-+#define GROUP_PER_USER /* uncomment this if each
- user has his or her own
- group and procmail can therefore trust a $HOME/.procmailrc that
- is group writable or contained in a group writable home directory
-@@ -98,7 +98,7 @@
- mail present. procmail automatically suppresses this when it isn't
- needed or under heavy load. */
-
--/*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if
-+#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if
- the autoconfigured default
- SENDMAIL is not suitable. This program should quack like a sendmail:
- it should accept the -oi flag (to tell it to _not_ treat a line
---- procmail-3.22.orig/debian/changelog
-+++ procmail-3.22/debian/changelog
-@@ -0,0 +1,278 @@
-+procmail (3.22-5) stable; urgency=medium
-+
-+ * Patched pipes.c to fix a memory allocation bug (Closes: #171514).
-+
-+ -- Santiago Vila <sanvila@debian.org> Thu, 26 Dec 2002 18:09:38 +0100
-+
-+procmail (3.22-4) unstable; urgency=low
-+
-+ * Fixed a typo in procmail(1). Patch by the author (Closes: #142983).
-+
-+ -- Santiago Vila <sanvila@debian.org> Tue, 16 Apr 2002 19:16:20 +0200
-+
-+procmail (3.22-3) unstable; urgency=medium
-+
-+ * Fixed off-by-one bug in procmail.c which made the raw flag not to be
-+ cleared properly. Thanks to Gregory Stark (Closes: #134341).
-+
-+ -- Santiago Vila <sanvila@debian.org> Sun, 17 Feb 2002 16:43:02 +0100
-+
-+procmail (3.22-2) unstable; urgency=medium
-+
-+ * Modified mailfold.c to fix a segfault problem. Patch by the author.
-+ * The system-wide mail directory is /var/mail as per policy.
-+
-+ -- Santiago Vila <sanvila@debian.org> Thu, 29 Nov 2001 09:39:04 +0100
-+
-+procmail (3.22-1) unstable; urgency=low
-+
-+ * New upstream release, which uses the `standard' format for Maildir
-+ filenames and retries on name collision. It also contains some
-+ bug fixes from the 3.23pre snapshot dated 2001-09-13.
-+ * Removed `sendmail' from the Recommends field, since we already
-+ have `exim' (the default Debian MTA) and `mail-transport-agent'.
-+ * Removed suidmanager support. Conflicts: suidmanager (<< 0.50).
-+ * Added support for DEB_BUILD_OPTIONS in the source package.
-+ * README.Maildir: Do not use locking on the example recipe,
-+ since it's wrong to do so in this case.
-+
-+ -- Santiago Vila <sanvila@debian.org> Wed, 21 Nov 2001 09:40:20 +0100
-+
-+procmail (3.15.2-1) stable; urgency=high
-+
-+ * New upstream release, with improved security and robustness involving
-+ signal handlers. Author recommends upgrading to this version on
-+ any system where it is installed setuid or setgid.
-+ * This release fixes also Bug #108417: procmail -p -m resets PATH.
-+
-+ -- Santiago Vila <sanvila@debian.org> Thu, 30 Aug 2001 20:05:06 +0200
-+
-+procmail (3.15.1-4) unstable; urgency=low
-+
-+ * Don't add an extra newline when delivering to a Maildir folder.
-+ Please note that the MTA may still add a newline on their own.
-+ Exim users should check the `suffix' variable, for example.
-+ Patch by the author. Closes: #78623.
-+
-+ -- Santiago Vila <sanvila@debian.org> Sat, 14 Apr 2001 17:18:29 +0200
-+
-+procmail (3.15.1-3) unstable; urgency=low
-+
-+ * Clarified formail -X behaviour, patch by the author (Closes: #77388).
-+ * Updated QuickStart.
-+
-+ -- Santiago Vila <sanvila@debian.org> Sun, 25 Mar 2001 10:45:56 +0200
-+
-+procmail (3.15.1-2) unstable; urgency=low
-+
-+ * Fixed lockfile -l endless loop (Closes: #82006). Patch by the author.
-+
-+ -- Santiago Vila <sanvila@debian.org> Sun, 28 Jan 2001 19:44:49 +0100
-+
-+procmail (3.15.1-1) unstable; urgency=low
-+
-+ * New upstream release. A race to create the mailspool would bounce one of
-+ the messages due to an internal error.
-+
-+ -- Santiago Vila <sanvila@debian.org> Mon, 8 Jan 2001 20:09:34 +0100
-+
-+procmail (3.15-3) unstable; urgency=low
-+
-+ * Fixed formatting error in procmailrc(5). Patch by the author.
-+ (Closes: #80437).
-+
-+ -- Santiago Vila <sanvila@debian.org> Sun, 31 Dec 2000 17:20:47 +0100
-+
-+procmail (3.15-2) unstable; urgency=low
-+
-+ * formail -l is now documented. Patch by the author (Closes: #72275).
-+
-+ -- Santiago Vila <sanvila@debian.org> Fri, 1 Dec 2000 19:54:22 +0100
-+
-+procmail (3.15-1) unstable; urgency=low
-+
-+ * New upstream release. Maildir support is now built-in.
-+ * Really change default PATH to "$HOME/bin:/usr/local/bin:/usr/bin:/bin".
-+ * Modified the note in QuickStart about refiltering an old mail folder.
-+ * Use SEARCHLIBS="" in debian/rules clean target to speed it up.
-+ * Modified ft_dotlock in src/foldinfo.h to be in compliance with
-+ locking policy, following a hint by the author.
-+ * Removed (versioned) dependency on debianutils, since mailstat
-+ does not use temporary files anymore.
-+ * Made the .forward example in procmail(1) not to depend on the build
-+ environment by modifying src/autoconf so that buggy_SENDMAIL is
-+ never defined.
-+
-+ -- Santiago Vila <sanvila@debian.org> Mon, 28 Aug 2000 12:51:05 +0200
-+
-+procmail (3.13.1-4) stable; urgency=high
-+
-+ * Fixed weird formail -rk behavior (patch from the author, backported
-+ from procmail-3.15). Thanks to Ben Collins for the report.
-+ * s/smail/exim/ in `Recommends:' field.
-+
-+ -- Santiago Vila <sanvila@debian.org> Tue, 22 Aug 2000 13:04:50 +0200
-+
-+procmail (3.13.1-3) unstable; urgency=medium
-+
-+ * Standards-Version: 3.1.1
-+ * Updated location of licenses in copyright file.
-+ * LOCKINGTEST=100 again, to use fcntl() and dot-locking, as required by
-+ latest policy.
-+
-+ -- Santiago Vila <sanvila@ctv.es> Wed, 1 Dec 1999 12:37:35 +0100
-+
-+procmail (3.13.1-2) unstable; urgency=low
-+
-+ * Modified procmail(1) and QuickStart to reflect the fact that exim does
-+ not accept the exec keyword in .forward files (Bugs #33460 and #37771).
-+ * Modified formail to recognize exim's Envelope-To: header (Bug#40718).
-+ Patch by Philip Guenther.
-+ * Standards-Version: 3.0.0.
-+
-+ -- Santiago Vila <sanvila@ctv.es> Mon, 19 Jul 1999 20:09:25 +0200
-+
-+procmail (3.13.1-1) stable unstable; urgency=high
-+
-+ * New upstream release, 3.13 missed a couple possible overflows.
-+ * Applied `procmail-locking.patch' from Bruce Guenter, since
-+ no directory delivery mechanism requires locking (Bug #35210).
-+
-+ -- Santiago Vila <sanvila@ctv.es> Thu, 8 Apr 1999 13:56:33 +0200
-+
-+procmail (3.13-1) stable unstable; urgency=high
-+
-+ * New upstream release. procmail 3.12 breaks smartlist (Bug #35115).
-+
-+ -- Santiago Vila <sanvila@ctv.es> Fri, 2 Apr 1999 14:24:24 +0200
-+
-+procmail (3.12-1) frozen unstable; urgency=high
-+
-+ * New upstream release. Fixes some security bugs.
-+ * #define GROUP_PER_USER in config.h to allow writeable rcfiles when
-+ the group is the user's default group.
-+ * Added KNOWN_BUGS to the doc directory.
-+ * suid procmail to avoid non-suidness window when upgrading.
-+
-+ -- Santiago Vila <sanvila@ctv.es> Thu, 4 Mar 1999 10:28:28 +0100
-+
-+procmail (3.10.7-7) frozen unstable; urgency=medium
-+
-+ * New Maildir patches from Bruce Guenter.
-+ Should fix Bug #30320: procmail: maildir does not use From_ lines.
-+
-+ -- Santiago Vila <sanvila@ctv.es> Thu, 31 Dec 1998 13:27:20 +0100
-+
-+procmail (3.10.7-6) frozen unstable; urgency=medium
-+
-+ * Patched mailfold.c to avoid the unnecessary one second wait when
-+ delivering to MH folders (patch by the author).
-+ * src/locking.c: Applied a bugfix patch from the author.
-+
-+ -- Santiago Vila <sanvila@ctv.es> Wed, 13 May 1998 21:50:19 +0200
-+
-+procmail (3.10.7-5) frozen unstable; urgency=medium
-+
-+ * Added a patch for Maildir support. The "new" procmail should be
-+ completely backwards compatible with the "previous" one, in the
-+ sense that its behaviour should be just the same for already
-+ existing .procmailrc files which do not use the new syntax for
-+ Maildir folders.
-+ * Added a small README.Maildir explaining how to use this feature.
-+
-+ -- Santiago Vila <sanvila@ctv.es> Mon, 4 May 1998 19:39:55 +0200
-+
-+procmail (3.10.7-4) frozen unstable; urgency=low
-+
-+ * Added a small note in QuickStart about refiltering an old mail folder.
-+ * mailstat(1): The log file is truncated to zero length (Bug #21022).
-+ * PATH=/usr/local/bin:/usr/bin:/bin for the example in procmail(1).
-+ * Standards-Version: 2.4.1.
-+
-+ -- Santiago Vila <sanvila@ctv.es> Fri, 17 Apr 1998 18:00:14 +0200
-+
-+procmail (3.10.7-3) frozen unstable; urgency=medium
-+
-+ * Patched src/recommend.c so that the mail spool directory is not
-+ touched. This will allow the package to be built using fakeroot.
-+ * Patched mailstat so that it uses tempfile.
-+
-+ -- Santiago Vila <sanvila@ctv.es> Tue, 24 Mar 1998 21:43:08 +0100
-+
-+procmail (3.10.7-2) unstable; urgency=low
-+
-+ * Default PATH is now "$HOME/bin:/usr/local/bin:/usr/bin:/bin".
-+ * Added "fetchmail" to the Recommends: line as one more option.
-+ * Added /usr/doc/procmail/QuickStart (experimental).
-+ * Compressed changelog.Debian.
-+ * Removed debstd dependency.
-+ * Pristine source.
-+
-+ -- Santiago Vila <sanvila@ctv.es> Sat, 31 Jan 1998 20:30:06 +0100
-+
-+procmail (3.10.7-1) unstable; urgency=low
-+
-+ * Upgraded to 3.11pre7. Sources are now GPLed, hurrah!
-+ * Added explicit SEARCHLIBS, to avoid unneeded dependency on libdl.
-+ * First libc6 release.
-+
-+ -- Santiago Vila <sanvila@ctv.es> Wed, 18 Jun 1997 20:43:28 +0200
-+
-+procmail (3.10.4-2) frozen unstable; urgency=low
-+
-+ * Rebuilt using latest debmake to avoid a problem with suidmanager.
-+
-+ -- Santiago Vila <sanvila@ctv.es> Sat, 17 May 1997 20:52:59 +0200
-+
-+procmail (3.10.4-1) frozen unstable; urgency=low
-+
-+ * Upgraded to 3.11pre4. Side effect: It can be built using libc6.
-+ * Removed NFS_ATIME_HACK patch, since it is no longer needed.
-+
-+ -- Santiago Vila <sanvila@ctv.es> Sat, 12 Apr 1997 19:06:46 +0200
-+
-+procmail (3.10-8) unstable; urgency=low
-+
-+ * Rewritten copyright file.
-+ * initmake unmodified (source).
-+ * Patched to recognize NFS_ATIME_HACK variable in .procmailrc or
-+ /etc/procmailrc. Default value is "yes" (i.e. wait a second).
-+ * Added a small note about this in /usr/doc/procmail/README.Debian.
-+
-+ -- Santiago Vila <sanvila@ctv.es> Sun, 23 Mar 1997 12:04:34 +0100
-+
-+procmail (3.10-7) unstable; urgency=low
-+
-+ * Put CFLAGS settings &c in ./Makefile, not in debian/rules.
-+ * Removed fix-substvars script, since it's no longer needed with
-+ new libc5-5.4.20.
-+ * Man page for mailstat changed slightly.
-+ * Some minor debian/rules changes.
-+ * Added MD5 sums.
-+
-+ -- Santiago Vila <sanvila@ctv.es> Fri, 21 Feb 1997 20:53:30 +0100
-+
-+procmail (3.10-6) unstable; urgency=low
-+
-+ * Use debmake.
-+ * suidmanager support.
-+ * Removed `mailstat' from examples, it's already in /usr/bin.
-+ * Removed also `dirname' (which was "for the deprived").
-+ * Added `fix-substvars' script to depend on libc5 >= 5.4.0.
-+
-+ -- Santiago Vila <sanvila@ctv.es> Mon, 23 Dec 1996 16:34:02 +0100
-+
-+procmail (3.10-5) unstable; urgency=low
-+
-+ * Updated to Standards-Version 2.1.2.2.
-+ * Changed "Depends: MTA" to "Recommends: MTA".
-+ * Added extended package description in control file.
-+ * Added the symlink changelog.gz -> HISTORY.gz.
-+ * Added an "experimental" man page for mailstat.
-+ * New maintainer.
-+
-+ -- Santiago Vila <sanvila@ctv.es> Sat, 21 Dec 1996 23:32:11 +0100
-+
-+Local variables:
-+mode: debian-changelog
-+End:
---- procmail-3.22.orig/debian/control
-+++ procmail-3.22/debian/control
-@@ -0,0 +1,18 @@
-+Source: procmail
-+Section: mail
-+Priority: standard
-+Maintainer: Santiago Vila <sanvila@debian.org>
-+Standards-Version: 3.5.6
-+
-+Package: procmail
-+Architecture: any
-+Depends: ${shlibs:Depends}
-+Conflicts: suidmanager (<< 0.50)
-+Recommends: exim | mail-transport-agent | fetchmail
-+Description: Versatile e-mail processor.
-+ Can be used to create mail-servers, mailing lists, sort your incoming
-+ mail into separate folders/files (real convenient when subscribing to one
-+ or more mailing lists or for prioritising your mail), preprocess your
-+ mail, start any programs upon mail arrival (e.g. to generate different
-+ chimes on your workstation for different types of mail) or selectively
-+ forward certain incoming mail automatically to someone.
---- procmail-3.22.orig/debian/copyright
-+++ procmail-3.22/debian/copyright
-@@ -0,0 +1,41 @@
-+This is the Debian prepackaged version of the "procmail" mail-processing
-+program written by Stephen van den Berg.
-+
-+This package is currently maintained by Santiago Vila <sanvila@debian.org>.
-+The source for this release was downloaded from:
-+
-+ftp://ftp.procmail.org/pub/procmail/procmail-3.22.tar.gz
-+
-+This package was first put together by Bruce Perens <bruce@hams.com>,
-+who added Debian package maintenance system files, and edited config.h
-+to configure for Debian.
-+
-+Copyright:
-+
-+Procmail & formail mail processing package.
-+Copyright (c) 1990-1999, S.R. van den Berg, The Netherlands.
-+Copyright (c) 1999-2001, Philip Guenther, The United States of America
-+
-+This package is open source software; you can redistribute it and/or
-+modify it under the terms of either:
-+- the GNU General Public License as published by the Free Software Foundation
-+ and can be found in the included file called "COPYING"; either version 2,
-+ or (at your option) any later version, or
-+- the "Artistic License" which can be found in the included file called
-+ "Artistic".
-+
-+This package 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 either the GNU General Public License or the
-+Artistic License for more details.
-+
-+For those of you that choose to use the GNU General Public License,
-+my interpretation of the GNU General Public License is that no procmailrc
-+script falls under the terms of the GPL unless you explicitly put
-+said script under the terms of the GPL yourself.
-+
-+
-+On Debian systems, the complete text of the GNU General Public License
-+can be found in `/usr/share/common-licenses/GPL', and the complete
-+text of the "Artistic License" can be found in
-+`/usr/share/common-licenses/Artistic'.
---- procmail-3.22.orig/debian/mailstat.1
-+++ procmail-3.22/debian/mailstat.1
-@@ -0,0 +1,40 @@
-+.TH MAILSTAT 1
-+.SH NAME
-+mailstat \- shows mail-arrival statistics
-+.SH SYNOPSIS
-+.B mailstat
-+[\-klmots] [logfile]
-+.SH DESCRIPTION
-+.B mailstat
-+parses a procmail-generated $LOGFILE and displays
-+a summary about the messages delivered to all folders
-+(total size, average size, nr of messages).
-+The $LOGFILE is truncated to zero length, unless the
-+.B -k
-+option is used.
-+Exit code 0 if mail arrived, 1 if no mail arrived.
-+.SH OPTIONS
-+.TP
-+.I \-k
-+keep logfile intact
-+.TP
-+.I \-l
-+long display format
-+.TP
-+.I \-m
-+merge any errors into one line
-+.TP
-+.I \-o
-+use the old logfile
-+.TP
-+.I \-t
-+terse display format
-+.TP
-+.I \-s
-+silent in case of no mail
-+.SH NOTES
-+Customise to your heart's content, this program is only provided as a
-+guideline.
-+.SH AUTHOR
-+This manual page was written by Santiago Vila <sanvila@debian.org>
-+for the Debian GNU/Linux distribution (but may be used by others).
---- procmail-3.22.orig/debian/mk-symlinks
-+++ procmail-3.22/debian/mk-symlinks
-@@ -0,0 +1,28 @@
-+#!/bin/sh
-+package=$1
-+debiandir=debian/tmp/DEBIAN
-+if [ "$2" != "" ]; then
-+ debiandir=debian/$2/DEBIAN
-+fi
-+if [ ! -f $debiandir/postinst ]; then
-+ echo "#!/bin/sh" > $debiandir/postinst
-+ echo "set -e" >> $debiandir/postinst
-+ chmod 755 $debiandir/postinst
-+fi
-+if [ ! -f $debiandir/prerm ]; then
-+ echo "#!/bin/sh" > $debiandir/prerm
-+ echo "set -e" >> $debiandir/prerm
-+ chmod 755 $debiandir/prerm
-+fi
-+cat << EOF >> $debiandir/postinst
-+if [ "\$1" = "configure" ]; then
-+ if [ -d /usr/doc -a ! -e /usr/doc/$package -a -d /usr/share/doc/$package ]; then
-+ ln -sf ../share/doc/$package /usr/doc/$package
-+ fi
-+fi
-+EOF
-+cat << EOF >> $debiandir/prerm
-+if [ \( "\$1" = "upgrade" -o "\$1" = "remove" \) -a -L /usr/doc/$package ]; then
-+ rm -f /usr/doc/$package
-+fi
-+EOF
---- procmail-3.22.orig/debian/QuickStart
-+++ procmail-3.22/debian/QuickStart
-@@ -0,0 +1,97 @@
-+procmail QuickStart
-+===================
-+
-+* procmail is not an `interactive' program. It has to run automatically
-+when the mail arrives. Therefore the first thing to do is to tell our MTA
-+that we want procmail to "eat" all our mail messages. The way of doing
-+this depends on the MTA we are using. For example, if we are using
-+sendmail, it will suffice to have a .forward file like this in our home
-+directory:
-+
-+"|exec /usr/bin/procmail"
-+
-+(don't forget the quotes, they are needed in this case).
-+
-+If you are using exim, use this instead as your .forward file:
-+
-+|/usr/bin/procmail
-+
-+The step of creating a .forward file is not needed if the MTA already
-+performs the delivery using procmail. For example, Debian sendmail will
-+automatically use procmail for mail delivering if the sendmail.cf is
-+generated from a sendmail.mc file containing this line:
-+
-+FEATURE(local_procmail)dnl
-+
-+
-+* If we have a stand-alone system with no permanent net connection (like
-+PPP), and we are using fetchmail to get mail from a server, we don't
-+really need a MTA. Just adding --mda "formail -s procmail" to the
-+fetchmail command line (or using the `mda' keyword) will tell it to
-+deliver through procmail.
-+
-+
-+* Next, we have to write a ~/.procmailrc file in our home directory. This
-+file is a set of filtering rules, based on regular expressions. The
-+complete syntax is explained in procmailrc(5). Let's see a real example
-+just to get started. Let's suppose you are subscribed to the following two
-+mailing lists:
-+
-+linux-kernel@vger.kernel.org
-+debian-user@lists.debian.org
-+
-+The first list is managed by Majordomo. Messages coming from a Majordomo
-+list often include a header field "Sender: " which allow easy filtering.
-+
-+The second list is managed my SmartList. Messages coming from a SmartList
-+list may include several headers that can be used to filter it. One of
-+them (in fact, the only that it is not X-whatever) is "Resent-Sender: ".
-+
-+So the following .procmailrc will first filter the mailing lists, and
-+any remaining message will go to the default folder:
-+
-+*--------------------------------->8------------------------------------
-+PATH=$HOME/bin:/usr/local/bin:/usr/bin:/bin
-+MAILDIR=$HOME/mail # you'd better make sure it exists
-+DEFAULT=$MAILDIR/mbox # completely optional
-+LOGFILE=$MAILDIR/procmail.log # recommended
-+
-+:0:
-+* ^Sender:.*linux-kernel-owner@vger.kernel.org
-+linux-kernel
-+
-+:0:
-+* ^Resent-Sender.*debian-user-request@lists.debian.org
-+debian-user
-+*--------------------------------->8------------------------------------
-+
-+From this example additional rules for mailing lists may be created
-+easily.
-+
-+
-+* Once you have received lots of messages you will want to know where
-+did they go. That's what the LOGFILE is for. There is a tool named
-+mailstat which parses this file and shows a summary:
-+
-+mailstat procmail.log
-+
-+The mailstat command that this package provides does really come from the
-+examples directory and it is installed by default. You may have your own
-+modified copy in $HOME/bin, if you like.
-+
-+
-+If you have to refilter an old mail folder according to your current
-+~/.procmailrc file, you may do the following:
-+
-+cat mbox | formail -s procmail
-+
-+But of course if your mbox file is the target of a procmail recipe you should
-+do this instead:
-+
-+mv mbox whatever
-+cat whatever | formail -s procmail
-+
-+See formail(1) for details.
-+
-+
-+Santiago Vila <sanvila@debian.org>
---- procmail-3.22.orig/debian/README.Maildir
-+++ procmail-3.22/debian/README.Maildir
-@@ -0,0 +1,12 @@
-+This version of procmail supports Maildir folders.
-+
-+To make procmail to deliver into a Maildir folder, just append
-+a slash (/) to the name of the maildir folder in your ~/.procmailrc file.
-+For example, the following rule:
-+
-+:0
-+* ^Resent-Sender.*debian-user-request@lists.debian.org
-+debian-user/
-+
-+will deliver all mail from the debian-user mailing list to the Maildir
-+folder "debian-user".
---- procmail-3.22.orig/debian/rules
-+++ procmail-3.22/debian/rules
-@@ -0,0 +1,77 @@
-+#!/usr/bin/make -f
-+
-+package = procmail
-+docdir = debian/tmp/usr/share/doc/$(package)
-+
-+CC = gcc
-+CFLAGS0 = -O2
-+LDFLAGS0 =
-+SEARCHLIBS = -lm
-+STRIP = true
-+
-+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
-+ CFLAGS0 += -g
-+endif
-+
-+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-+ STRIP = strip --remove-section=.comment --remove-section=.note
-+endif
-+
-+build:
-+ $(checkdir)
-+ $(MAKE) CC="$(CC)" CFLAGS0="$(CFLAGS0)" LDFLAGS0="$(LDFLAGS0)" \
-+ SEARCHLIBS="$(SEARCHLIBS)"
-+ touch build
-+
-+clean:
-+ $(checkdir)
-+ -rm -f build
-+ -$(MAKE) realclean SEARCHLIBS=""
-+ -rm -f `find . -name "*~"`
-+ -rm -rf debian/tmp debian/files* core debian/substvars
-+
-+binary-indep: checkroot build
-+ $(checkdir)
-+
-+binary-arch: checkroot build
-+ $(checkdir)
-+ -rm -rf debian/tmp
-+ install -d debian/tmp/DEBIAN $(docdir)/examples
-+ cd debian/tmp && install -d usr/bin
-+ $(MAKE) BASENAME=`pwd`/debian/tmp/usr install.man install-suid
-+ $(STRIP) debian/tmp/usr/bin/procmail
-+ $(STRIP) debian/tmp/usr/bin/lockfile
-+ $(STRIP) debian/tmp/usr/bin/formail
-+ cp -p debian/copyright $(docdir)
-+ cp -p debian/changelog $(docdir)/changelog.Debian
-+ install -m 644 debian/mailstat.1 debian/tmp/usr/man/man1
-+ cp -p FEATURES HISTORY README FAQ KNOWN_BUGS \
-+ debian/QuickStart debian/README.Maildir $(docdir)
-+ cp -p examples/* $(docdir)/examples
-+ cd $(docdir)/examples && rm -f dirname mailstat procmail-rpm.spec
-+ cd $(docdir) && gzip -9 HISTORY changelog.Debian
-+ ln -s HISTORY.gz $(docdir)/changelog.gz
-+ mv debian/tmp/usr/man debian/tmp/usr/share
-+ gzip -r9 debian/tmp/usr/share/man
-+ dpkg-shlibdeps debian/tmp/usr/bin/*
-+ sh debian/mk-symlinks $(package)
-+ dpkg-gencontrol -isp
-+ cd debian/tmp && md5sum `find * -type f ! -regex "DEBIAN/.*"` >DEBIAN/md5sums
-+ chown -R root.root debian/tmp
-+ chmod -R go=rX debian/tmp
-+ chgrp mail debian/tmp/usr/bin/procmail debian/tmp/usr/bin/lockfile
-+ chmod 6755 debian/tmp/usr/bin/procmail
-+ chmod 2755 debian/tmp/usr/bin/lockfile
-+ dpkg --build debian/tmp ..
-+
-+define checkdir
-+ test -f src/$(package).c -a -f debian/rules
-+endef
-+
-+binary: binary-indep binary-arch
-+
-+checkroot:
-+ $(checkdir)
-+ test root = "`whoami`"
-+
-+.PHONY: binary binary-arch binary-indep clean checkroot
diff --git a/source/x/x11/build/appres b/source/x/x11/build/appres
index b8626c4cf..d00491fd7 100644
--- a/source/x/x11/build/appres
+++ b/source/x/x11/build/appres
@@ -1 +1 @@
-4
+1
diff --git a/source/x/x11/build/editres b/source/x/x11/build/editres
index b8626c4cf..d00491fd7 100644
--- a/source/x/x11/build/editres
+++ b/source/x/x11/build/editres
@@ -1 +1 @@
-4
+1
diff --git a/source/x/x11/build/iceauth b/source/x/x11/build/iceauth
index b8626c4cf..d00491fd7 100644
--- a/source/x/x11/build/iceauth
+++ b/source/x/x11/build/iceauth
@@ -1 +1 @@
-4
+1
diff --git a/source/x/x11/build/listres b/source/x/x11/build/listres
index b8626c4cf..d00491fd7 100644
--- a/source/x/x11/build/listres
+++ b/source/x/x11/build/listres
@@ -1 +1 @@
-4
+1
diff --git a/source/x/x11/build/mkcomposecache b/source/x/x11/build/mkcomposecache
index 7ed6ff82d..d00491fd7 100644
--- a/source/x/x11/build/mkcomposecache
+++ b/source/x/x11/build/mkcomposecache
@@ -1 +1 @@
-5
+1
diff --git a/source/x/x11/build/mkfontscale b/source/x/x11/build/mkfontscale
index b8626c4cf..d00491fd7 100644
--- a/source/x/x11/build/mkfontscale
+++ b/source/x/x11/build/mkfontscale
@@ -1 +1 @@
-4
+1
diff --git a/source/x/x11/build/setxkbmap b/source/x/x11/build/setxkbmap
index 00750edc0..d00491fd7 100644
--- a/source/x/x11/build/setxkbmap
+++ b/source/x/x11/build/setxkbmap
@@ -1 +1 @@
-3
+1
diff --git a/source/x/x11/build/twm b/source/x/x11/build/twm
index 00750edc0..d00491fd7 100644
--- a/source/x/x11/build/twm
+++ b/source/x/x11/build/twm
@@ -1 +1 @@
-3
+1
diff --git a/source/x/x11/build/xcalc b/source/x/x11/build/xcalc
index 00750edc0..d00491fd7 100644
--- a/source/x/x11/build/xcalc
+++ b/source/x/x11/build/xcalc
@@ -1 +1 @@
-3
+1
diff --git a/source/x/x11/build/xclock b/source/x/x11/build/xclock
index 00750edc0..d00491fd7 100644
--- a/source/x/x11/build/xclock
+++ b/source/x/x11/build/xclock
@@ -1 +1 @@
-3
+1
diff --git a/source/x/x11/build/xedit b/source/x/x11/build/xedit
index 7ed6ff82d..d00491fd7 100644
--- a/source/x/x11/build/xedit
+++ b/source/x/x11/build/xedit
@@ -1 +1 @@
-5
+1
diff --git a/source/x/x11/build/xload b/source/x/x11/build/xload
index b8626c4cf..d00491fd7 100644
--- a/source/x/x11/build/xload
+++ b/source/x/x11/build/xload
@@ -1 +1 @@
-4
+1
diff --git a/source/x/x11/build/xlsfonts b/source/x/x11/build/xlsfonts
index b8626c4cf..d00491fd7 100644
--- a/source/x/x11/build/xlsfonts
+++ b/source/x/x11/build/xlsfonts
@@ -1 +1 @@
-4
+1
diff --git a/source/x/x11/build/xorg-docs b/source/x/x11/build/xorg-docs
index b8626c4cf..d00491fd7 100644
--- a/source/x/x11/build/xorg-docs
+++ b/source/x/x11/build/xorg-docs
@@ -1 +1 @@
-4
+1
diff --git a/source/x/x11/build/xorg-sgml-doctools b/source/x/x11/build/xorg-sgml-doctools
index 7ed6ff82d..d00491fd7 100644
--- a/source/x/x11/build/xorg-sgml-doctools
+++ b/source/x/x11/build/xorg-sgml-doctools
@@ -1 +1 @@
-5
+1
diff --git a/source/x/x11/build/xsm b/source/x/x11/build/xsm
index b8626c4cf..d00491fd7 100644
--- a/source/x/x11/build/xsm
+++ b/source/x/x11/build/xsm
@@ -1 +1 @@
-4
+1