Import libgringotts-1.2.1

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.
It includes some other useful features, like generation of encrypted
temporary files, secure memory management, and functions for the
evaluation of password quality.


from Pierre-Emmanuel Andre <pea at raveland dot org> (maintainer) with
some tweaks
This commit is contained in:
ajacoutot 2008-02-04 22:07:15 +00:00
parent 5efc548ca5
commit 01d3f42520
7 changed files with 109 additions and 0 deletions

View File

@ -0,0 +1,37 @@
# $OpenBSD $
COMMENT= encryption backend
DISTNAME= libgringotts-1.2.1
SHARED_LIBS= gringotts 0.0 # .2.7
EXTRACT_SUFX= .tar.bz2
CATEGORIES= security
HOMEPAGE= http://gringotts.berlios.de/
MAINTAINER= Pierre-Emmanuel Andre <pea@raveland.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= m mhash z
MASTER_SITES= http://download.berlios.de/gringotts/
LIB_DEPENDS= mcrypt.>=8::security/libmcrypt \
bz2.>=10::archivers/bzip2
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--without-x
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (libgringotts-1.2.1.tar.bz2) = srG61W7zMVPyUczZUAhgvg==
RMD160 (libgringotts-1.2.1.tar.bz2) = 07mOb9Cf+mQJFXKuS8heTzjhL20=
SHA1 (libgringotts-1.2.1.tar.bz2) = FV6jTamameiXgh52d8BTasWJ//A=
SHA256 (libgringotts-1.2.1.tar.bz2) = p15vdXuXXT2mYv5+otmF81jzGtLe3hoiK7SqQD0Nv9E=
SIZE (libgringotts-1.2.1.tar.bz2) = 167014

View File

@ -0,0 +1,32 @@
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2008/02/04 22:07:15 ajacoutot Exp $
--- Makefile.in.orig Thu Apr 24 13:33:50 2003
+++ Makefile.in Mon Feb 4 22:57:44 2008
@@ -485,7 +485,7 @@ install-data: install-data-recursive
uninstall: uninstall-recursive
install-am: all-am
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am
installcheck: installcheck-recursive
install-strip:
@@ -579,19 +579,6 @@ dist-hook: libgringotts.spec
install-exec-local:
mkdir -p $(DESTDIR)$(pcdir)/
cp libgringotts.pc $(DESTDIR)$(pcdir)/
- @echo
- @echo
- @echo ----------------------------------------------------------------------
- @echo md5sum of relevant files:
- @echo
- @md5sum $(DESTDIR)$(libdir)/libgringotts.so|(read A B; echo $$B ":"; echo $$A)
- @echo
- @md5sum $(DESTDIR)$(includedir)/libgringotts.h|(read A B; echo $$B ":"; echo $$A)
- @echo
- @echo use these values to check library integrity at any time
- @echo ----------------------------------------------------------------------
- @echo
- @echo
uninstall-local:
rm -f $(DESTDIR)$(libdir)/pkgconfig/libgringotts.pc

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-docs_Makefile_in,v 1.1.1.1 2008/02/04 22:07:15 ajacoutot Exp $
--- docs/Makefile.in.orig Mon Feb 4 22:46:02 2008
+++ docs/Makefile.in Mon Feb 4 22:46:47 2008
@@ -131,7 +131,7 @@ sysconfdir = @sysconfdir@
target_alias = @target_alias@
EXTRA_DIST = manual.htm
-libgringottsdocdir = $(datadir)/doc/libgringotts-@VERSION@
+libgringottsdocdir = $(datadir)/doc/libgringotts
libgringottsdoc_DATA = manual.htm
subdir = docs

View File

@ -0,0 +1,12 @@
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.
It includes some other useful features, like generation of encrypted
temporary files, secure memory management, and functions for the
evaluation of password quality.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2008/02/04 22:07:15 ajacoutot Exp $
@lib lib/libgringotts.so.${LIBgringotts_VERSION}

View File

@ -0,0 +1,9 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/02/04 22:07:15 ajacoutot Exp $
%%SHARED%%
include/libgringotts.h
lib/libgringotts.a
lib/libgringotts.la
lib/pkgconfig/
lib/pkgconfig/libgringotts.pc
share/doc/libgringotts/
share/doc/libgringotts/manual.htm