1
0
forked from ports/contrib

pycrypto: new maintainer, fix install path, remove junk file

This commit is contained in:
Lucas Hazel 2008-03-07 01:10:27 +11:00
parent 1f71ada3a1
commit f8fbd95af6
2 changed files with 70 additions and 73 deletions

View File

@ -1,67 +1,67 @@
drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/ drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/python/ drwxr-xr-x root/root usr/lib/python2.5/
drwxr-xr-x root/root usr/lib/python/Crypto/ drwxr-xr-x root/root usr/lib/python2.5/site-packages/
drwxr-xr-x root/root usr/lib/python/Crypto/Cipher/ drwxr-xr-x root/root usr/lib/python2.5/site-packages/Crypto/
-rwxr-xr-x root/root usr/lib/python/Crypto/Cipher/AES.so drwxr-xr-x root/root usr/lib/python2.5/site-packages/Crypto/Cipher/
-rwxr-xr-x root/root usr/lib/python/Crypto/Cipher/ARC2.so -rwxr-xr-x root/root usr/lib/python2.5/site-packages/Crypto/Cipher/AES.so
-rwxr-xr-x root/root usr/lib/python/Crypto/Cipher/ARC4.so -rwxr-xr-x root/root usr/lib/python2.5/site-packages/Crypto/Cipher/ARC2.so
-rwxr-xr-x root/root usr/lib/python/Crypto/Cipher/Blowfish.so -rwxr-xr-x root/root usr/lib/python2.5/site-packages/Crypto/Cipher/ARC4.so
-rwxr-xr-x root/root usr/lib/python/Crypto/Cipher/CAST.so -rwxr-xr-x root/root usr/lib/python2.5/site-packages/Crypto/Cipher/Blowfish.so
-rwxr-xr-x root/root usr/lib/python/Crypto/Cipher/DES.so -rwxr-xr-x root/root usr/lib/python2.5/site-packages/Crypto/Cipher/CAST.so
-rwxr-xr-x root/root usr/lib/python/Crypto/Cipher/DES3.so -rwxr-xr-x root/root usr/lib/python2.5/site-packages/Crypto/Cipher/DES.so
-rwxr-xr-x root/root usr/lib/python/Crypto/Cipher/IDEA.so -rwxr-xr-x root/root usr/lib/python2.5/site-packages/Crypto/Cipher/DES3.so
-rwxr-xr-x root/root usr/lib/python/Crypto/Cipher/RC5.so -rwxr-xr-x root/root usr/lib/python2.5/site-packages/Crypto/Cipher/IDEA.so
-rwxr-xr-x root/root usr/lib/python/Crypto/Cipher/XOR.so -rwxr-xr-x root/root usr/lib/python2.5/site-packages/Crypto/Cipher/RC5.so
-rw-r--r-- root/root usr/lib/python/Crypto/Cipher/__init__.py -rwxr-xr-x root/root usr/lib/python2.5/site-packages/Crypto/Cipher/XOR.so
-rw-r--r-- root/root usr/lib/python/Crypto/Cipher/__init__.pyc -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/Cipher/__init__.py
drwxr-xr-x root/root usr/lib/python/Crypto/Hash/ -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/Cipher/__init__.pyc
-rw-r--r-- root/root usr/lib/python/Crypto/Hash/HMAC.py drwxr-xr-x root/root usr/lib/python2.5/site-packages/Crypto/Hash/
-rw-r--r-- root/root usr/lib/python/Crypto/Hash/HMAC.pyc -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/Hash/HMAC.py
-rwxr-xr-x root/root usr/lib/python/Crypto/Hash/MD2.so -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/Hash/HMAC.pyc
-rwxr-xr-x root/root usr/lib/python/Crypto/Hash/MD4.so -rwxr-xr-x root/root usr/lib/python2.5/site-packages/Crypto/Hash/MD2.so
-rw-r--r-- root/root usr/lib/python/Crypto/Hash/MD5.py -rwxr-xr-x root/root usr/lib/python2.5/site-packages/Crypto/Hash/MD4.so
-rw-r--r-- root/root usr/lib/python/Crypto/Hash/MD5.pyc -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/Hash/MD5.py
-rwxr-xr-x root/root usr/lib/python/Crypto/Hash/RIPEMD.so -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/Hash/MD5.pyc
-rw-r--r-- root/root usr/lib/python/Crypto/Hash/SHA.py -rwxr-xr-x root/root usr/lib/python2.5/site-packages/Crypto/Hash/RIPEMD.so
-rw-r--r-- root/root usr/lib/python/Crypto/Hash/SHA.pyc -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/Hash/SHA.py
-rwxr-xr-x root/root usr/lib/python/Crypto/Hash/SHA256.so -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/Hash/SHA.pyc
-rw-r--r-- root/root usr/lib/python/Crypto/Hash/__init__.py -rwxr-xr-x root/root usr/lib/python2.5/site-packages/Crypto/Hash/SHA256.so
-rw-r--r-- root/root usr/lib/python/Crypto/Hash/__init__.pyc -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/Hash/__init__.py
drwxr-xr-x root/root usr/lib/python/Crypto/Protocol/ -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/Hash/__init__.pyc
-rw-r--r-- root/root usr/lib/python/Crypto/Protocol/AllOrNothing.py drwxr-xr-x root/root usr/lib/python2.5/site-packages/Crypto/Protocol/
-rw-r--r-- root/root usr/lib/python/Crypto/Protocol/AllOrNothing.pyc -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/Protocol/AllOrNothing.py
-rw-r--r-- root/root usr/lib/python/Crypto/Protocol/Chaffing.py -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/Protocol/AllOrNothing.pyc
-rw-r--r-- root/root usr/lib/python/Crypto/Protocol/Chaffing.pyc -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/Protocol/Chaffing.py
-rw-r--r-- root/root usr/lib/python/Crypto/Protocol/__init__.py -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/Protocol/Chaffing.pyc
-rw-r--r-- root/root usr/lib/python/Crypto/Protocol/__init__.pyc -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/Protocol/__init__.py
drwxr-xr-x root/root usr/lib/python/Crypto/PublicKey/ -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/Protocol/__init__.pyc
-rw-r--r-- root/root usr/lib/python/Crypto/PublicKey/DSA.py drwxr-xr-x root/root usr/lib/python2.5/site-packages/Crypto/PublicKey/
-rw-r--r-- root/root usr/lib/python/Crypto/PublicKey/DSA.pyc -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/PublicKey/DSA.py
-rw-r--r-- root/root usr/lib/python/Crypto/PublicKey/ElGamal.py -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/PublicKey/DSA.pyc
-rw-r--r-- root/root usr/lib/python/Crypto/PublicKey/ElGamal.pyc -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/PublicKey/ElGamal.py
-rw-r--r-- root/root usr/lib/python/Crypto/PublicKey/RSA.py -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/PublicKey/ElGamal.pyc
-rw-r--r-- root/root usr/lib/python/Crypto/PublicKey/RSA.pyc -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/PublicKey/RSA.py
-rw-r--r-- root/root usr/lib/python/Crypto/PublicKey/__init__.py -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/PublicKey/RSA.pyc
-rw-r--r-- root/root usr/lib/python/Crypto/PublicKey/__init__.pyc -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/PublicKey/__init__.py
-rwxr-xr-x root/root usr/lib/python/Crypto/PublicKey/_fastmath.so -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/PublicKey/__init__.pyc
-rw-r--r-- root/root usr/lib/python/Crypto/PublicKey/pubkey.py -rwxr-xr-x root/root usr/lib/python2.5/site-packages/Crypto/PublicKey/_fastmath.so
-rw-r--r-- root/root usr/lib/python/Crypto/PublicKey/pubkey.pyc -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/PublicKey/pubkey.py
-rw-r--r-- root/root usr/lib/python/Crypto/PublicKey/qNEW.py -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/PublicKey/pubkey.pyc
-rw-r--r-- root/root usr/lib/python/Crypto/PublicKey/qNEW.pyc -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/PublicKey/qNEW.py
drwxr-xr-x root/root usr/lib/python/Crypto/Util/ -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/PublicKey/qNEW.pyc
-rw-r--r-- root/root usr/lib/python/Crypto/Util/RFC1751.py drwxr-xr-x root/root usr/lib/python2.5/site-packages/Crypto/Util/
-rw-r--r-- root/root usr/lib/python/Crypto/Util/RFC1751.pyc -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/Util/RFC1751.py
-rw-r--r-- root/root usr/lib/python/Crypto/Util/__init__.py -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/Util/RFC1751.pyc
-rw-r--r-- root/root usr/lib/python/Crypto/Util/__init__.pyc -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/Util/__init__.py
-rw-r--r-- root/root usr/lib/python/Crypto/Util/number.py -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/Util/__init__.pyc
-rw-r--r-- root/root usr/lib/python/Crypto/Util/number.pyc -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/Util/number.py
-rw-r--r-- root/root usr/lib/python/Crypto/Util/randpool.py -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/Util/number.pyc
-rw-r--r-- root/root usr/lib/python/Crypto/Util/randpool.pyc -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/Util/randpool.py
-rw-r--r-- root/root usr/lib/python/Crypto/Util/test.py -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/Util/randpool.pyc
-rw-r--r-- root/root usr/lib/python/Crypto/Util/test.pyc -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/Util/test.py
-rw-r--r-- root/root usr/lib/python/Crypto/__init__.py -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/Util/test.pyc
-rw-r--r-- root/root usr/lib/python/Crypto/__init__.pyc -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/__init__.py
-rw-r--r-- root/root usr/lib/python/Crypto/test.py -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/__init__.pyc
-rw-r--r-- root/root usr/lib/python/Crypto/test.pyc -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/test.py
-rw-r--r-- root/root usr/lib/python/pycrypto-2.0.1-py2.5.egg-info -rw-r--r-- root/root usr/lib/python2.5/site-packages/Crypto/test.pyc

View File

@ -1,19 +1,16 @@
# Description: Python collection of cryptographic algorithms and protocols. # Description: Python collection of cryptographic algorithms and protocols.
# URL: http://www.amk.ca/python/code/crypto.html # URL: http://www.amk.ca/python/code/crypto.html
# Maintainer: James Mills, prologic at shortcircuit dot net dot au # Maintainer: Lucas Hazel, lucas at die dot net dot au
# Packager: Younès Hafri <ycrux@club-internet.fr> # Packager: Younès Hafri, ycrux at club-internet dot fr>
#
# Depends on: python # Depends on: python
name=pycrypto name=pycrypto
version=2.0.1 version=2.0.1
release=2 release=3
source=(http://www.amk.ca/files/python/crypto/$name-$version.tar.gz) source=(http://www.amk.ca/files/python/crypto/$name-$version.tar.gz)
build () { build () {
mkdir -p $PKG/usr
cd $name-$version cd $name-$version
python setup.py build python setup.py install --root=$PKG
python setup.py install --home=$PKG/usr rm $PKG/usr/lib/python2.5/site-packages/*.egg-info
chown -R root:root $PKG
} }