aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/pycrypto/pycrypto.SlackBuild8
-rw-r--r--python/pycrypto/pycrypto.info10
2 files changed, 9 insertions, 9 deletions
diff --git a/python/pycrypto/pycrypto.SlackBuild b/python/pycrypto/pycrypto.SlackBuild
index 6486933b51d44..34b8b3e4fdfa7 100644
--- a/python/pycrypto/pycrypto.SlackBuild
+++ b/python/pycrypto/pycrypto.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pycrypto
-VERSION=2.6
+VERSION=${VERSION:-2.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -49,11 +49,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find . \
+find -L . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python setup.py install --root=$PKG
diff --git a/python/pycrypto/pycrypto.info b/python/pycrypto/pycrypto.info
index f019f35d7a09b..3553ba16571c3 100644
--- a/python/pycrypto/pycrypto.info
+++ b/python/pycrypto/pycrypto.info
@@ -1,8 +1,8 @@
-PRGNAM="pycrypto"
-VERSION="2.6"
-HOMEPAGE="http://www.pycrypto.org"
-DOWNLOAD="http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/pycrypto-2.6.tar.gz"
-MD5SUM="88dad0a270d1fe83a39e0467a66a22bb"
+PRGNAM="pcrypto"
+VERSION="2.6.1"
+HOMEPAGE="https://www.dlitz.net/software/pycrypto/"
+DOWNLOAD="http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/pycrypto-2.6.1.tar.gz"
+MD5SUM="55a61a054aa66812daf5161a0d5d7eda"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""