diff options
author | Johannes Schoepfer <slackbuilds@schoepfer.info> | 2022-02-19 11:15:42 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-19 11:15:54 +0700 |
commit | 4dd25e14adfc0964fee9fd0a4503f5a549d6123d (patch) | |
tree | 914dbd835b37add56f95b28c8d05f8ad1284e240 /system | |
parent | c288e3b528c448734367f535e84e9d17cee44a32 (diff) |
system/pwgen: Updated for version 2.08.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r-- | system/pwgen/pwgen.SlackBuild | 49 | ||||
-rw-r--r-- | system/pwgen/pwgen.info | 9 | ||||
-rw-r--r-- | system/pwgen/slack-desc | 8 |
3 files changed, 29 insertions, 37 deletions
diff --git a/system/pwgen/pwgen.SlackBuild b/system/pwgen/pwgen.SlackBuild index 3290c517fe15..0d34178e53bb 100644 --- a/system/pwgen/pwgen.SlackBuild +++ b/system/pwgen/pwgen.SlackBuild @@ -1,38 +1,32 @@ #!/bin/bash -# A slackbuild script for pwgen +# Slackware build script for pwgen -# Copyright (c) 2007, Timothy Pollard +# Copyright 2007, Timothy Pollard +# Copyright 2022 Johannes Schoepfer, Germany # All rights reserved. # -# Redistribution and use in source and binary forms, with or without modification, -# are permitted provided that the following conditions are met: +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: # -# * Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. +# 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 COPYRIGHT HOLDERS AND CONTRIBUTORS -# "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 COPYRIGHT -# OWNER OR CONTRIBUTORS 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. - -# Modified by the SlackBuilds.org project -# No additional license terms added +# 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. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pwgen -VERSION=${VERSION:-2.07} +VERSION=${VERSION:-2.08} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -45,9 +39,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 @@ -106,8 +97,8 @@ 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/$PRGNAM-$VERSION -cp $CWD/$PRGNAM.SlackBuild $PKG/usr/doc/$PRGNAM-$VERSION/ -find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \; +cp debian/{changelog,copyright} $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/system/pwgen/pwgen.info b/system/pwgen/pwgen.info index a6f58832a9e4..0ebbff2eba7b 100644 --- a/system/pwgen/pwgen.info +++ b/system/pwgen/pwgen.info @@ -1,10 +1,11 @@ PRGNAM="pwgen" -VERSION="2.07" +VERSION="2.08" HOMEPAGE="https://sourceforge.net/projects/pwgen/" +HOMEPAGE="https://github.com/tytso/pwgen" DOWNLOAD="https://downloads.sourceforge.net/pwgen/pwgen-2.07.tar.gz" -MD5SUM="910b1008cdd86445e9e01305d21ee4c5" +MD5SUM="6cfba450ac6ff72d11e88a6b0b049165" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Timothy Pollard" -EMAIL="sbo@timp.com.au" +MAINTAINER="Johannes Schoepfer" +EMAIL="slackbuilds@schoepfer.info" diff --git a/system/pwgen/slack-desc b/system/pwgen/slack-desc index 2b2d256d486d..9e19b8b6007c 100644 --- a/system/pwgen/slack-desc +++ b/system/pwgen/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -pwgen: pwgen (A small tool to generate semi-random passwords) +pwgen: pwgen (semi-random password generator) pwgen: pwgen: Pwgen is a small, GPL'ed password generator which creates passwords pwgen: which can be easily memorized by a human. pwgen: pwgen: Note: The passwords generated by this program aren't as secure as -pwgen: fully random passwords, but they are certainly better than -pwgen: "password1" or similar :-). +pwgen: fully random passwords. +pwgen: +pwgen: https://github.com/tytso/pwgen pwgen: -pwgen: https://sourceforge.net/projects/pwgen/ pwgen: |