summaryrefslogtreecommitdiffstats
path: root/source/n/proftpd/proftpd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/proftpd/proftpd.SlackBuild')
-rwxr-xr-xsource/n/proftpd/proftpd.SlackBuild13
1 files changed, 9 insertions, 4 deletions
diff --git a/source/n/proftpd/proftpd.SlackBuild b/source/n/proftpd/proftpd.SlackBuild
index 21c219962..2d436ceaf 100755
--- a/source/n/proftpd/proftpd.SlackBuild
+++ b/source/n/proftpd/proftpd.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2010, 2011, 2012, 2013, 2016, 2017, 2018 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2010, 2011, 2012, 2013, 2016, 2017, 2018, 2020 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=proftpd
-VERSION=1.3.6b
-DIRVER=1.3.6b
+VERSION=1.3.6c
+DIRVER=1.3.6c
BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -113,7 +113,12 @@ mkdir -p $PKG/home/ftp
mkdir -p $PKG/var/db/proftpd
chown nobody:nogroup $PKG/var/db/proftpd
-gzip -9 $PKG/usr/man/man?/*.?
+# Compress manual pages:
+find $PKG/usr/man -type f -exec gzip -9 {} \+
+for i in $( find $PKG/usr/man -type l ) ; do
+ ln -s $( readlink $i ).gz $i.gz
+ rm $i
+done
mkdir -p $PKG/usr/doc/proftpd-$VERSION
cp -a COPYING* CREDITS INSTALL NEWS README* \