aboutsummaryrefslogtreecommitdiff
path: root/security/hashish
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-11-17 20:45:37 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-11-17 20:45:37 +0000
commit407cd5c8745bc26b4418ed7741daecc2d4cbd26e (patch)
treed975caba38273a0f7e28fd046ce2702ec326f04f /security/hashish
parent1f93b36619d5f56a56153328d54b294db333c3df (diff)
downloadports-407cd5c8745bc26b4418ed7741daecc2d4cbd26e.tar.gz
ports-407cd5c8745bc26b4418ed7741daecc2d4cbd26e.zip
Notes
Diffstat (limited to 'security/hashish')
-rw-r--r--security/hashish/Makefile39
-rw-r--r--security/hashish/distinfo2
-rw-r--r--security/hashish/pkg-descr6
3 files changed, 17 insertions, 30 deletions
diff --git a/security/hashish/Makefile b/security/hashish/Makefile
index eb808880571d..a6d864650a64 100644
--- a/security/hashish/Makefile
+++ b/security/hashish/Makefile
@@ -7,41 +7,24 @@
#
PORTNAME= hashish
-PORTVERSION= 0.4b
-PORTREVISION= 1
+PORTVERSION= 1.1
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
- http://www4.ncsu.edu/~jllovela/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= ${PORTNAME}-beta-0.4-src
+DISTNAME= Hashish-1.1
-MAINTAINER= ports@FreeBSD.org
-COMMENT= A file and string hashing utility
-
-# Apparently out of sync with cryptopp
-BROKEN= "Compile fails: cannot find cryptopp/sapphire.h"
+MAINTAINER= jllovela@ncsu.edu
+COMMENT= GUI file and string hashing utility
BUILD_DEPENDS= ${LOCALBASE}/lib/libcryptopp.a:${PORTSDIR}/security/cryptopp
LIB_DEPENDS= wx_gtk-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk
-USE_REINPLACE= yes
-WRKSRC= ${WRKDIR}/Hashish
-CFLAGS+= -I${LOCALBASE}/include
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
USE_GMAKE= yes
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile (bad C++ code)"
-.endif
-
-post-patch:
- @${REINPLACE_CMD} -e "s,^CXXFLAGS =,CXXFLAGS+=${PTHREAD_CFLAGS},g ; \
- s,^LBLIBS =,LBLIBS = ${PTHREAD_LIBS} -L${LOCALBASE}/lib,g" \
- ${WRKSRC}/Makefile
- @${REINPLACE_CMD} -e "s,crypto/,cryptopp/,g" ${WRKSRC}/src/main.cpp
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/hashish ${PREFIX}/bin
+WRKSRC= ${WRKDIR}/Hashish-1.1
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/security/hashish/distinfo b/security/hashish/distinfo
index 2510b0493c6d..0a6acce37f1d 100644
--- a/security/hashish/distinfo
+++ b/security/hashish/distinfo
@@ -1 +1 @@
-MD5 (hashish-beta-0.4-src.tar.gz) = 318a2ee1490e2cb35a8420e574356159
+MD5 (Hashish-1.1.tar.gz) = 8cbdf7c0950c8df9132a395e90cf8f1b
diff --git a/security/hashish/pkg-descr b/security/hashish/pkg-descr
index 45887e5f7257..86ae35fbddb6 100644
--- a/security/hashish/pkg-descr
+++ b/security/hashish/pkg-descr
@@ -1,4 +1,8 @@
Hashish is a file and string hashing utility that computes cryptograhpic
-hashes. It is cross platform and includes a gui front end.
+hashes. It is cross platform and includes a gui front end. Supports drag
+and drop file hashing. Hex and Base64.
+
+Hashing algorithms: MD5, SHA-1, SHA-2 (256/384/512), RIPEMD-160,
+ HAVAL (3/4/5), Tiger, CRC32, Panama.
WWW: http://hashish.sourceforge.net/