aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-07-05 15:07:27 +0800
committerijliao <ijliao@FreeBSD.org>2001-07-05 15:07:27 +0800
commit8163a3b9fc9d64fa96a41561452e652b73b68fca (patch)
tree2ae8253bcb81296baed562c0ecd7304d278cefca
parent6665d14a021a5c762fe43cfb576d501967d0f7b3 (diff)
downloadfreebsd-ports-gnome-8163a3b9fc9d64fa96a41561452e652b73b68fca.tar.gz
freebsd-ports-gnome-8163a3b9fc9d64fa96a41561452e652b73b68fca.tar.zst
freebsd-ports-gnome-8163a3b9fc9d64fa96a41561452e652b73b68fca.zip
add py-fchksum
find the checksum of files
-rw-r--r--security/Makefile1
-rw-r--r--security/py-fchksum/Makefile21
-rw-r--r--security/py-fchksum/distinfo1
-rw-r--r--security/py-fchksum/pkg-comment1
-rw-r--r--security/py-fchksum/pkg-descr10
-rw-r--r--security/py-fchksum/pkg-plist1
6 files changed, 35 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 8df0a9095c41..b5478cb6ba54 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -136,6 +136,7 @@
SUBDIR += portsentry
SUBDIR += pscan
SUBDIR += py-amkCrypto
+ SUBDIR += py-fchksum
SUBDIR += py-m2crypto
SUBDIR += racoon
SUBDIR += radiusniff
diff --git a/security/py-fchksum/Makefile b/security/py-fchksum/Makefile
new file mode 100644
index 000000000000..bc83990ab6a8
--- /dev/null
+++ b/security/py-fchksum/Makefile
@@ -0,0 +1,21 @@
+# ex:ts=8
+# New ports collection makefile for: py-fckhsum
+# Date created: Jul 5, 2001
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= fchksum
+PORTVERSION= 1.3
+CATEGORIES= security python
+MASTER_SITES= http://www.azstarnet.com/~donut/programs/fchksum/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= python-${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= ijliao@FreeBSD.org
+
+USE_PYTHON= yes
+GNU_CONFIGURE= yes
+
+.include <bsd.port.mk>
diff --git a/security/py-fchksum/distinfo b/security/py-fchksum/distinfo
new file mode 100644
index 000000000000..d1c64b047c31
--- /dev/null
+++ b/security/py-fchksum/distinfo
@@ -0,0 +1 @@
+MD5 (python-fchksum-1.3.tar.gz) = f8d6c27f04d88a92ee3c5aa5ce07aed1
diff --git a/security/py-fchksum/pkg-comment b/security/py-fchksum/pkg-comment
new file mode 100644
index 000000000000..bbe489d91cc7
--- /dev/null
+++ b/security/py-fchksum/pkg-comment
@@ -0,0 +1 @@
+find the checksum of files
diff --git a/security/py-fchksum/pkg-descr b/security/py-fchksum/pkg-descr
new file mode 100644
index 000000000000..544057e88693
--- /dev/null
+++ b/security/py-fchksum/pkg-descr
@@ -0,0 +1,10 @@
+fchksum is a Python module to find the checksum of files. Currently it
+supports crc32 and md5 checksums.
+
+The advantage of using fchksum over the python md5 and zlib(.crc32) modules
+is both ease of use and speed. You only need to tell it the filename and the
+actual work is done by C code. Compared to the implementing a read loop in
+python with the standard python modules, fchksum is approximatly 2.0x faster
+in md5 and 1.1x faster in crc32.
+
+WWW: http://www.azstarnet.com/~donut/programs/fchksum.html
diff --git a/security/py-fchksum/pkg-plist b/security/py-fchksum/pkg-plist
new file mode 100644
index 000000000000..8d677e4add82
--- /dev/null
+++ b/security/py-fchksum/pkg-plist
@@ -0,0 +1 @@
+lib/%%PYTHON_VERSION%%/site-packages/fchksum.so