From 721bdd2c145a9e5bb49f6627e32ca4d123ded3b3 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Thu, 26 Apr 2018 09:33:13 +0700 Subject: [PATCH] python-pam: Upgraded to 1.8.3 + switch to new project. Signed-off-by: Willy Sudiarto Raharjo --- python-pam/python-pam.SlackBuild | 16 ++++++++-------- python-pam/slack-desc | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/python-pam/python-pam.SlackBuild b/python-pam/python-pam.SlackBuild index 282e3ce..484af12 100644 --- a/python-pam/python-pam.SlackBuild +++ b/python-pam/python-pam.SlackBuild @@ -23,8 +23,9 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=python-pam -VERSION=${VERSION:-0.1.4} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.8.3} +COMMITVER=7f71db2c4e63e317cb607cd5353b4ec176d7a137 +BUILD=${BUILD:-1} TAG=${TAG:-_csb} if [ -z "$ARCH" ]; then @@ -35,7 +36,7 @@ if [ -z "$ARCH" ]; then esac 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) TMP=${TMP:-/tmp/csb} @@ -56,17 +57,16 @@ else LIBDIRSUFFIX="" fi -DOCS="PKG-INFO" +DOCS="ChangeLog LICENSE README*" set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf pam-$VERSION -tar xvf $CWD/pam-$VERSION.tar.gz -cd pam-$VERSION - +rm -rf python-pam-$COMMITVER +unzip $CWD/$PRGNAM-$COMMITVER.zip +cd python-pam-$COMMITVER chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/python-pam/slack-desc b/python-pam/slack-desc index faf9dfc..a84d22f 100644 --- a/python-pam/slack-desc +++ b/python-pam/slack-desc @@ -8,5 +8,5 @@ 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: