aboutsummaryrefslogtreecommitdiff
path: root/security/libgringotts
diff options
context:
space:
mode:
authorAnders Nordby <anders@FreeBSD.org>2002-11-23 23:11:37 +0000
committerAnders Nordby <anders@FreeBSD.org>2002-11-23 23:11:37 +0000
commitbc92f7aa9a4e92bcc18bc04b807d59c6661db616 (patch)
treef417c0833a058fd6112a3944ff4f5835c2c208c3 /security/libgringotts
parentca19b46d2571c5eb427f4d7ce221944c3526a20c (diff)
downloadports-bc92f7aa9a4e92bcc18bc04b807d59c6661db616.tar.gz
ports-bc92f7aa9a4e92bcc18bc04b807d59c6661db616.zip
Add libgringotts, a library for encapsulating/safekeeping data in
encrypted/compressed form.
Notes
Notes: svn path=/head/; revision=70912
Diffstat (limited to 'security/libgringotts')
-rw-r--r--security/libgringotts/Makefile37
-rw-r--r--security/libgringotts/distinfo1
-rw-r--r--security/libgringotts/pkg-comment1
-rw-r--r--security/libgringotts/pkg-descr13
-rw-r--r--security/libgringotts/pkg-plist8
5 files changed, 60 insertions, 0 deletions
diff --git a/security/libgringotts/Makefile b/security/libgringotts/Makefile
new file mode 100644
index 000000000000..303702068d7b
--- /dev/null
+++ b/security/libgringotts/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: libgringotts
+# Date created: 23 November 2002
+# Whom: Anders Nordby <anders@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libgringotts
+PORTVERSION= 1.1.1
+CATEGORIES= security
+MASTER_SITES= http://devel.pluto.linux.it/projects/libGringotts/current/ \
+ ftp://ftp.nuug.no/pub/anders/distfiles/
+
+MAINTAINER= anders@FreeBSD.org
+
+LIB_DEPENDS= mcrypt.7:${PORTSDIR}/security/libmcrypt \
+ mhash.2:${PORTSDIR}/security/mhash
+
+USE_BZIP2= yes
+USE_LIBTOOL= yes
+USE_REINPLACE= yes
+CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib" CPPFLAGS="-I${LOCALBASE}/include"
+CONFIGURE_ARGS+= --with-pkg-config-files=${PREFIX}/libdata/pkgconfig
+INSTALLS_SHLIB= yes
+
+post-patch:
+ ${REINPLACE_CMD} -e "s|md5sum|md5|g" ${WRKSRC}/Makefile.in
+
+pre-install:
+.if defined(NOPORTDOCS)
+ ${REINPLACE_CMD} -E "s|^(SUBDIRS =.*) docs|\1|" ${WRKSRC}/Makefile
+.else
+ ${REINPLACE_CMD} -E "s|^(documentationdir = .*/libgringotts)-.*|\1|" \
+ ${WRKSRC}/docs/Makefile
+.endif
+
+.include <bsd.port.mk>
diff --git a/security/libgringotts/distinfo b/security/libgringotts/distinfo
new file mode 100644
index 000000000000..289e8536011d
--- /dev/null
+++ b/security/libgringotts/distinfo
@@ -0,0 +1 @@
+MD5 (libgringotts-1.1.1.tar.bz2) = 3841104c2b73ea03206fd3aecd43be5b
diff --git a/security/libgringotts/pkg-comment b/security/libgringotts/pkg-comment
new file mode 100644
index 000000000000..b324b4bad0f7
--- /dev/null
+++ b/security/libgringotts/pkg-comment
@@ -0,0 +1 @@
+Library for encapsulating/safekeeping data in encrypted/compressed form
diff --git a/security/libgringotts/pkg-descr b/security/libgringotts/pkg-descr
new file mode 100644
index 000000000000..69cdf2a73190
--- /dev/null
+++ b/security/libgringotts/pkg-descr
@@ -0,0 +1,13 @@
+libGringotts is a small, easy-to-use, thread-safe C library originally
+developed for Gringotts; its purpose is to encapsulate data (generic: ASCII,
+but also binary data) in an encrypted and compressed structure, to be written
+in a file or used elseway. It makes use of strong encryption algorithms, to
+ensure the data are as safe as possible, and allow the user to have the
+complete control over all the algorithms used in the process.
+
+For encryptions, libGringotts makes use of the MCrypt and MHash libs by Nikos
+Mavroyanopoulos.
+
+WWW: http://devel.pluto.linux.it/projects/libGringotts/
+
+- Anders Nordby <anders@fix.no>
diff --git a/security/libgringotts/pkg-plist b/security/libgringotts/pkg-plist
new file mode 100644
index 000000000000..45decd911424
--- /dev/null
+++ b/security/libgringotts/pkg-plist
@@ -0,0 +1,8 @@
+include/libgringotts.h
+lib/libgringotts.so.2
+lib/libgringotts.so
+lib/libgringotts.la
+lib/libgringotts.a
+libdata/pkgconfig/libgringotts.pc
+%%PORTDOCS%%share/doc/libgringotts/manual.htm
+%%PORTDOCS%%@dirrm share/doc/libgringotts