python-pam: Upgraded to 1.8.3 + switch to new project.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
Willy Sudiarto Raharjo 2018-04-26 09:33:13 +07:00
parent 2460da2520
commit 721bdd2c14
2 changed files with 9 additions and 9 deletions

View file

@ -23,8 +23,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=python-pam PRGNAM=python-pam
VERSION=${VERSION:-0.1.4} VERSION=${VERSION:-1.8.3}
BUILD=${BUILD:-2} COMMITVER=7f71db2c4e63e317cb607cd5353b4ec176d7a137
BUILD=${BUILD:-1}
TAG=${TAG:-_csb} TAG=${TAG:-_csb}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
@ -35,7 +36,7 @@ if [ -z "$ARCH" ]; then
esac esac
fi fi
wget -c https://pypi.python.org/packages/source/p/pam/pam-$VERSION.tar.gz wget -c https://github.com/FirefighterBlu3/python-pam/archive/$COMMITVER/python-pam-$COMMITVER.zip
CWD=$(pwd) CWD=$(pwd)
TMP=${TMP:-/tmp/csb} TMP=${TMP:-/tmp/csb}
@ -56,17 +57,16 @@ else
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
fi fi
DOCS="PKG-INFO" DOCS="ChangeLog LICENSE README*"
set -e set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf pam-$VERSION rm -rf python-pam-$COMMITVER
tar xvf $CWD/pam-$VERSION.tar.gz unzip $CWD/$PRGNAM-$COMMITVER.zip
cd pam-$VERSION cd python-pam-$COMMITVER
chown -R root:root . chown -R root:root .
find -L . \ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \

View file

@ -8,5 +8,5 @@ python-pam:
python-pam: python-pam:
python-pam: python-pam:
python-pam: python-pam:
python-pam: Project URL: http://atlee.ca/software/pam/ python-pam: Project URL: https://github.com/FirefighterBlu3/python-pam
python-pam: python-pam: