summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
Diffstat (limited to 'security')
-rw-r--r--security/hs-SHA/Makefile13
-rw-r--r--security/hs-SHA/distinfo5
-rw-r--r--security/hs-SHA/pkg-plist19
-rw-r--r--security/hs-digest/Makefile4
-rw-r--r--security/hs-digest/distinfo5
-rw-r--r--security/hs-digest/pkg-plist16
6 files changed, 12 insertions, 50 deletions
diff --git a/security/hs-SHA/Makefile b/security/hs-SHA/Makefile
index 84a2cb4..3fe7d22 100644
--- a/security/hs-SHA/Makefile
+++ b/security/hs-SHA/Makefile
@@ -6,15 +6,16 @@
#
PORTNAME= SHA
-PORTVERSION= 1.4.1.1
+PORTVERSION= 1.4.1.3
CATEGORIES= security haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= Haskell implementations of the SHA suite of message digest functions
-CABAL_SETUP= Setup.hs
+LICENSE= BSD
-USE_HACKAGE= binary
+CABAL_SETUP= Setup.hs
+USE_CABAL= binary
OPTIONS= TEST "Build the SHA test suite" off \
EXE "Build a SHA2-384 executable similar to 'md5sum'" off
@@ -24,21 +25,17 @@ OPTIONS= TEST "Build the SHA test suite" off \
.if defined(WITH_TEST)
CONFIGURE_ARGS+= --flags="Test"
-USE_HACKAGE+= QuickCheck>=2.0.0.0
+USE_CABAL+= QuickCheck>=2 test-framework>=0.3 test-framework-quickcheck2>=0.2
EXECUTABLE+= test_sha
-PLIST_SUB+= MAYBE_TEST=""
.else
CONFIGURE_ARGS+= --flags="-Test"
-PLIST_SUB+= MAYBE_TEST="@comment "
.endif
.if defined(WITH_EXE)
CONFIGURE_ARGS+= --flags="exe"
EXECUTABLE+= sha1 sha384
-PLIST_SUB+= MAYBE_EXE=""
.else
CONFIGURE_ARGS+= --flags="-exe"
-PLIST_SUB+= MAYBE_EXE="@comment "
.endif
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
diff --git a/security/hs-SHA/distinfo b/security/hs-SHA/distinfo
index d8666fd..b1bbc3c 100644
--- a/security/hs-SHA/distinfo
+++ b/security/hs-SHA/distinfo
@@ -1,3 +1,2 @@
-MD5 (cabal/SHA-1.4.1.1.tar.gz) = 51ac8cc9248a2eb162bf25a4db1f77ad
-SHA256 (cabal/SHA-1.4.1.1.tar.gz) = 8ecdc91679d1aa1d4050e1124cf5af79ae2ece66aee3b907e1078d71bf03169a
-SIZE (cabal/SHA-1.4.1.1.tar.gz) = 2713700
+SHA256 (cabal/SHA-1.4.1.3.tar.gz) = c0b1486b0c632195148885ec32217192f08dee77c99c09136ec38bf57745a6eb
+SIZE (cabal/SHA-1.4.1.3.tar.gz) = 2713767
diff --git a/security/hs-SHA/pkg-plist b/security/hs-SHA/pkg-plist
deleted file mode 100644
index ecba426..0000000
--- a/security/hs-SHA/pkg-plist
+++ /dev/null
@@ -1,19 +0,0 @@
-@comment $FreeBSD$
-%%MAYBE_EXE%%bin/sha1
-%%MAYBE_EXE%%bin/sha384
-%%MAYBE_TEST%%bin/test_sha
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Digest/Pure/SHA.hi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HS%%PORTNAME%%-%%PORTVERSION%%.o
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHS%%PORTNAME%%-%%PORTVERSION%%.a
-%%LIBDIR_REL%%/register.sh
-%%NOPORTDOCS%%%%DOCSDIR%%/LICENSE
-%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%%
-@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Digest/Pure
-@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Digest
-@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data
-@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%
-@dirrm %%LIBDIR_REL%%
-@exec /bin/sh %D/%%LIBDIR_REL%%/register.sh
-@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
-@unexec %D/bin/ghc-pkg unregister %%PORTNAME%%-%%PORTVERSION%%
-@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
diff --git a/security/hs-digest/Makefile b/security/hs-digest/Makefile
index 65f4798..9011912 100644
--- a/security/hs-digest/Makefile
+++ b/security/hs-digest/Makefile
@@ -6,12 +6,14 @@
#
PORTNAME= digest
-PORTVERSION= 0.0.0.8
+PORTVERSION= 0.0.0.9
CATEGORIES= security haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= Efficient cryptographic hash implementations in Haskell
+LICENSE= BSD
+
CABAL_SETUP= Setup.hs
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
diff --git a/security/hs-digest/distinfo b/security/hs-digest/distinfo
index 357724d..95c9185 100644
--- a/security/hs-digest/distinfo
+++ b/security/hs-digest/distinfo
@@ -1,3 +1,2 @@
-MD5 (cabal/digest-0.0.0.8.tar.gz) = 3a730a6439b14fb7a30bcd03c9e3f4ff
-SHA256 (cabal/digest-0.0.0.8.tar.gz) = 0b213020c064cf36d1a3d5a77e1d19337713d2cb2ac4c170bc0fc8dc370af6f3
-SIZE (cabal/digest-0.0.0.8.tar.gz) = 2534
+SHA256 (cabal/digest-0.0.0.9.tar.gz) = 4940311321f4ceb0865fc971a9f4fa7ea8882eda495a68d8b4945439701cf295
+SIZE (cabal/digest-0.0.0.9.tar.gz) = 2517
diff --git a/security/hs-digest/pkg-plist b/security/hs-digest/pkg-plist
deleted file mode 100644
index 3d370d5..0000000
--- a/security/hs-digest/pkg-plist
+++ /dev/null
@@ -1,16 +0,0 @@
-@comment $FreeBSD$
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Digest/Adler32.hi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Digest/CRC32.hi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HS%%PORTNAME%%-%%PORTVERSION%%.o
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHS%%PORTNAME%%-%%PORTVERSION%%.a
-%%LIBDIR_REL%%/register.sh
-%%NOPORTDOCS%%%%DOCSDIR%%/LICENSE
-%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%%
-@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Digest
-@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data
-@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%
-@dirrm %%LIBDIR_REL%%
-@exec /bin/sh %D/%%LIBDIR_REL%%/register.sh
-@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
-@unexec %D/bin/ghc-pkg unregister %%PORTNAME%%-%%PORTVERSION%%
-@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
OpenPOWER on IntegriCloud