mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
system/fcron: Updated for version 3.2.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
bb59acab43
commit
71b23c9449
2 changed files with 30 additions and 9 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue