summaryrefslogtreecommitdiffstats
path: root/security/hashish
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-11-17 20:45:37 +0000
committerkrion <krion@FreeBSD.org>2003-11-17 20:45:37 +0000
commit96af4ba049a8a33c68dc5fc2b18de0ee452a26e3 (patch)
treea17328fc236857acd8eb527614bc66beafa94428 /security/hashish
parentcec676420137c9414b519e924f3b4afe0b11a349 (diff)
downloadFreeBSD-ports-96af4ba049a8a33c68dc5fc2b18de0ee452a26e3.zip
FreeBSD-ports-96af4ba049a8a33c68dc5fc2b18de0ee452a26e3.tar.gz
- Unbreak this port and fix compile error caused by update of
cryptopp - Update to version 1.1 - Give maintainership to submitter PR: 59377 Submitted by: Jesse Lovelace <jllovela@ncsu.edu>
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 eb80888..a6d8646 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 2510b04..0a6acce 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 45887e5..86ae35f 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/
OpenPOWER on IntegriCloud