diff options
Diffstat (limited to 'source/n/procmail/procmail.SlackBuild')
-rwxr-xr-x | source/n/procmail/procmail.SlackBuild | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/source/n/procmail/procmail.SlackBuild b/source/n/procmail/procmail.SlackBuild index 41dd27304..ab6ce8440 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:-2} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -55,10 +55,12 @@ 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 +zcat $CWD/procmail.gcc14.diff.gz | patch -p1 --verbose || exit 1 + chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -66,7 +68,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 +91,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 |