diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/fcron/fcron.SlackBuild | 33 | ||||
-rw-r--r-- | system/fcron/fcron.info | 6 |
2 files changed, 30 insertions, 9 deletions
diff --git a/system/fcron/fcron.SlackBuild b/system/fcron/fcron.SlackBuild index 965ad2583f..b4dd416245 100644 --- a/system/fcron/fcron.SlackBuild +++ b/system/fcron/fcron.SlackBuild @@ -2,27 +2,48 @@ # Slackware build script for fcron -# Written by Richard Narron (richard@aaazen.com) +# Copyright 2014, 2015, 2016 Richard Narron, California +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=fcron -VERSION=${VERSION:-3.2.0} -BUILD=${BUILD:-3} +VERSION=${VERSION:-3.2.1} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} # Select fcron's default user/group FCRON_USER=${FCRON_USER:-fcron} +FCRON_UID=${FCRON_UID:-289} FCRON_GROUP=${FCRON_GROUP:-fcron} +FCRON_GID=${FCRON_GID:-289} if ! getent group $FCRON_GROUP >/dev/null; then echo "Error, the group $FCRON_GROUP does not exist." - echo "Create the group like this:" - echo " groupadd -g 289 $FCRON_GROUP" + echo "Create the group and user like this:" + echo " groupadd -g $FCRON_GID $FCRON_GROUP" + echo " useradd -u $FCRON_UID -g $FCRON_GROUP -d /var/spool/fcron -M -s /bin/false $FCRON_USER" exit 1 fi if ! getent passwd $FCRON_USER >/dev/null; then echo "Error, the userid $FCRON_USER does not exist." echo "Create the user like this:" - echo " useradd -u 289 -g $FCRON_GROUP -d /var/spool/fcron -M -s /bin/false $FCRON_USER" + echo " useradd -u $FCRON_UID -g $FCRON_GROUP -d /var/spool/fcron -M -s /bin/false $FCRON_USER" exit 1 fi diff --git a/system/fcron/fcron.info b/system/fcron/fcron.info index 276cbe5ff8..e2c41caf59 100644 --- a/system/fcron/fcron.info +++ b/system/fcron/fcron.info @@ -1,8 +1,8 @@ PRGNAM="fcron" -VERSION="3.2.0" +VERSION="3.2.1" HOMEPAGE="http://fcron.free.fr/" -DOWNLOAD="http://fcron.free.fr/archives/fcron-3.2.0.src.tar.gz" -MD5SUM="4b031c2fba32a98fa814d1557158b0e9" +DOWNLOAD="http://fcron.free.fr/archives/fcron-3.2.1.src.tar.gz" +MD5SUM="bd4996e941a40327d11efc5e3fd1f839" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |