aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/libfortuna/Makefile21
-rw-r--r--devel/libfortuna/distinfo2
-rw-r--r--devel/libfortuna/pkg-descr6
-rw-r--r--devel/libfortuna/pkg-plist12
5 files changed, 42 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 04fbe27ce0bc..a43f48380fc6 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -996,6 +996,7 @@
SUBDIR += libexplain
SUBDIR += libffi
SUBDIR += libfirm
+ SUBDIR += libfortuna
SUBDIR += libfreefare
SUBDIR += libftdi
SUBDIR += libg19
diff --git a/devel/libfortuna/Makefile b/devel/libfortuna/Makefile
new file mode 100644
index 000000000000..16b730540b4a
--- /dev/null
+++ b/devel/libfortuna/Makefile
@@ -0,0 +1,21 @@
+# Created by: "Waitman Gobble" <uzimac@da3m0n8t3r.com>
+# $FreeBSD$
+
+PORTNAME= libfortuna
+PORTVERSION= 0.1.0
+CATEGORIES= devel
+MASTER_SITES= GH
+
+MAINTAINER= waitman@waitman.net
+COMMENT= Fortuna PRNG Library
+
+LICENSE= BSD
+LICENSE_FILE= ${WRKSRC}/COPYRIGHT
+
+USE_GITHUB= yes
+USE_LDCONFIG= yes
+GH_ACCOUNT= waitman
+GH_TAGNAME= ${GH_COMMIT}
+GH_COMMIT= 4a52e16
+
+.include <bsd.port.mk>
diff --git a/devel/libfortuna/distinfo b/devel/libfortuna/distinfo
new file mode 100644
index 000000000000..76275e058a6c
--- /dev/null
+++ b/devel/libfortuna/distinfo
@@ -0,0 +1,2 @@
+SHA256 (libfortuna-0.1.0.tar.gz) = b70c49c2f5b51e5da651291ccb3e30beadc67a860e18d38e61dbfebf5c0b11a8
+SIZE (libfortuna-0.1.0.tar.gz) = 475233
diff --git a/devel/libfortuna/pkg-descr b/devel/libfortuna/pkg-descr
new file mode 100644
index 000000000000..19b358969c42
--- /dev/null
+++ b/devel/libfortuna/pkg-descr
@@ -0,0 +1,6 @@
+Fortuna PRNG library for generating random numbers
+
+libfortuna is a C library based on code extracted from BSD licensed PostgreSQL
+sources. It generates numbers with decent randomness.
+
+WWW: https://dx.burplex.com/bin/libfortuna.html
diff --git a/devel/libfortuna/pkg-plist b/devel/libfortuna/pkg-plist
new file mode 100644
index 000000000000..6fc323fd7bc2
--- /dev/null
+++ b/devel/libfortuna/pkg-plist
@@ -0,0 +1,12 @@
+include/fortuna/blf.h
+include/fortuna/c.h
+include/fortuna/fortuna.h
+include/fortuna/internal.h
+include/fortuna/md5.h
+include/fortuna/px.h
+include/fortuna/rijndael.h
+include/fortuna/sha1.h
+include/fortuna/sha2.h
+lib/libfortuna.a
+lib/libfortuna.so
+@dirrm include/fortuna