diff options
Diffstat (limited to 'system/usermin')
-rw-r--r-- | system/usermin/README | 3 | ||||
-rw-r--r-- | system/usermin/usermin.SlackBuild | 19 | ||||
-rw-r--r-- | system/usermin/usermin.info | 6 |
3 files changed, 17 insertions, 11 deletions
diff --git a/system/usermin/README b/system/usermin/README index 7990fb53a0..6cc5ca85d2 100644 --- a/system/usermin/README +++ b/system/usermin/README @@ -18,8 +18,7 @@ login as normal user to use usermin. NOTES: If you want to use SSL/HTTPS support, change the ssl=0 into ssl=1 in -/etc/usermin/miniserv.conf. SSL/HTTPS support requires additional -dependency: Net-SSLeay. +/etc/usermin/miniserv.conf. By default, this script set usermin to be accessible only on localhost. If you want global/public access, comment or remove this line in diff --git a/system/usermin/usermin.SlackBuild b/system/usermin/usermin.SlackBuild index 10af330b0f..3bd8f88367 100644 --- a/system/usermin/usermin.SlackBuild +++ b/system/usermin/usermin.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for usermin -# Copyright 2014-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2014-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,14 +22,21 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=usermin -VERSION=${VERSION:-1.820} +VERSION=${VERSION:-2.005} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} ARCH=noarch -CWD=$(pwd) +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -107,7 +114,7 @@ find $PKG/etc/usermin -type f -exec sed -i "s:$PKG::g" {} \; # make it only accessible by localhost echo 'allow=127.0.0.1' >> $PKG/etc/usermin/miniserv.conf -CONFIG="postgresql telnet file fetchmail usermount forward schedule language filter theme cron \ +CONFIG="postgresql telnet fetchmail usermount forward schedule language filter theme cron \ ssh proc tunnel spam gnupg plan man commands chfn shell htaccess at mailcap mailbox \ htaccess-htpasswd changepass procmail cshrc mysql quota updown" for L in $CONFIG @@ -128,4 +135,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/system/usermin/usermin.info b/system/usermin/usermin.info index 6174ea579e..3757f0c8b6 100644 --- a/system/usermin/usermin.info +++ b/system/usermin/usermin.info @@ -1,8 +1,8 @@ PRGNAM="usermin" -VERSION="1.820" +VERSION="2.005" HOMEPAGE="http://webmin.com/usermin.html" -DOWNLOAD="http://jaist.dl.sourceforge.net/project/webadmin/usermin/1.820/usermin-1.820.tar.gz" -MD5SUM="8a30617fc90a4e08a36f17703f1d7239" +DOWNLOAD="http://jaist.dl.sourceforge.net/project/webadmin/usermin/2.005/usermin-2.005.tar.gz" +MD5SUM="cee4af2a4186dfc1e8b1a2ce7756a9de" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="webmin" |