|
|
|
@ -2,7 +2,7 @@ |
|
|
|
|
|
|
|
# Slackware build script for mailfromd |
|
|
|
|
|
|
|
# Copyright 2021 Sergey Poznyakoff <gray@gnu.org> |
|
|
|
# Copyright 2021-2024 Sergey Poznyakoff <gray@gnu.org> |
|
|
|
# All rights reserved. |
|
|
|
# |
|
|
|
# Redistribution and use of this script, with or without modification, is |
|
|
|
@ -25,7 +25,7 @@ |
|
|
|
cd $(dirname $0) ; CWD=$(pwd) |
|
|
|
|
|
|
|
PRGNAM=mailfromd |
|
|
|
VERSION=${VERSION:-8.9} |
|
|
|
VERSION=${VERSION:-9.0} |
|
|
|
BUILD=${BUILD:-1} |
|
|
|
TAG=${TAG:-_SBo} |
|
|
|
PKGTYPE=${PKGTYPE:-tgz} |
|
|
|
@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then |
|
|
|
esac |
|
|
|
fi |
|
|
|
|
|
|
|
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what |
|
|
|
# the name of the created package would be, and then exit. This information |
|
|
|
# could be useful to other scripts. |
|
|
|
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then |
|
|
|
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" |
|
|
|
exit 0 |
|
|
|
@ -101,12 +98,12 @@ rm -f $PKG/usr/info/dir |
|
|
|
gzip -9 $PKG/usr/info/*.info* |
|
|
|
|
|
|
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |
|
|
|
cp -a AUTHORS COPYING ChangeLog NEWS README THANKS TODO $PKG/usr/doc/$PRGNAM-$VERSION |
|
|
|
cp AUTHORS COPYING ChangeLog NEWS README THANKS TODO $PKG/usr/doc/$PRGNAM-$VERSION |
|
|
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |
|
|
|
mkdir $PKG/etc/rc.d |
|
|
|
cat etc/rc.mailfromd > $PKG/etc/rc.d/rc.mailfromd.new |
|
|
|
chmod +x $PKG/etc/rc.d/rc.mailfromd.new |
|
|
|
mv $PKG/etc/mailfromd/mailfromd.mf $PKG/etc/mailfromd/mailfromd.mf.new |
|
|
|
mv $PKG/etc/mailfromd/mailfromd.mfl $PKG/etc/mailfromd/mailfromd.mfl.new |
|
|
|
|
|
|
|
mkdir -p $PKG/install |
|
|
|
cat $CWD/slack-desc > $PKG/install/slack-desc |
|
|
|
|