Browse Source

ap/pwgen: Upgraded to pwgen-2.08.

current-20191101
parent
commit
49ec8c6ffd
3 changed files with 7 additions and 6 deletions
  1. +0
    -1
      ap/pwgen/pwgen-2.07.tar.gz.sha1
  2. +1
    -0
      ap/pwgen/pwgen-2.08.tar.gz.sha256
  3. +6
    -5
      ap/pwgen/pwgen.SlackBuild

+ 0
- 1
ap/pwgen/pwgen-2.07.tar.gz.sha1 View File

@ -1 +0,0 @@
51180f9cd5530d79eea18b2443780dec4ec5ea43 pwgen-2.07.tar.gz

+ 1
- 0
ap/pwgen/pwgen-2.08.tar.gz.sha256 View File

@ -0,0 +1 @@
dab03dd30ad5a58e578c5581241a6e87e184a18eb2c3b2e0fffa8a9cf105c97b pwgen-2.08.tar.gz

+ 6
- 5
ap/pwgen/pwgen.SlackBuild View File

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2010,2011,2015 Damien Goutte-Gattat
# Copyright (C) 2010,2011,2015,2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -27,7 +27,7 @@
# Source package infos
NAMESRC=${NAMESRC:-pwgen}
VERSION=${VERSION:-2.07}
VERSION=${VERSION:-2.08}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-http://downloads.sourceforge.net/pwgen/$ARCHIVE}
@ -35,6 +35,7 @@ WGET=${WGET:-http://downloads.sourceforge.net/pwgen/$ARCHIVE}
NAMEPKG=${NAMEPKG:-pwgen}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
# Directories
@ -73,7 +74,7 @@ if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
@ -82,8 +83,8 @@ echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
CFLAGS=$CPUOPT \
./configure --prefix=/usr
make
./configure --prefix=/usr --mandir=/usr/man
make -j $JOBS
install -D -s -m 755 pwgen $PKG/usr/bin/pwgen
install -D -m 644 pwgen.1 $PKG/usr/man/man1/pwgen.1
gzip -9 $PKG/usr/man/man1/pwgen.1


Loading…
Cancel
Save