diff options
author | bsam <bsam@FreeBSD.org> | 2011-09-24 01:14:07 +0800 |
---|---|---|
committer | bsam <bsam@FreeBSD.org> | 2011-09-24 01:14:07 +0800 |
commit | 2e5dfa09bd1264db00fa2b2c31eff3e99ab503b5 (patch) | |
tree | 76cb3fc88dc294608d81d76976ac45ef9c7de3b9 /security | |
parent | b33317d4ffccfaad3b44c8dbaf114468d25c55ef (diff) | |
download | freebsd-ports-gnome-2e5dfa09bd1264db00fa2b2c31eff3e99ab503b5.tar.gz freebsd-ports-gnome-2e5dfa09bd1264db00fa2b2c31eff3e99ab503b5.tar.zst freebsd-ports-gnome-2e5dfa09bd1264db00fa2b2c31eff3e99ab503b5.zip |
Add linux-f10-libgcrypt 1.4.4, general purpose crypto library based on
code used in GnuPG.
Changes over original shar file at the PR:
. change the maintainer to emulation@ (since it's an infrastructure linux port);
. use the latest version of the package (1.4.4-1.fc10);
. use PLIST_FILES, PLIST_DIRSTRY and post-install target instead of pkg-plist.
Notes: the port uses ${PREFIX}/etc/gcrypt directory for configuration files
(i.e. /compat/linux/etc/gcrypt). We usually try to use FreeBSD directories.
But there is no [/usr/local/]/etc/gcrypt directory.
I'm open to ideas on what to do here.
PR: ports/159007
Submitted by: Stas Timokhin <devel@stasyan.com>
Diffstat (limited to 'security')
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/linux-f10-libgcrypt/Makefile | 28 | ||||
-rw-r--r-- | security/linux-f10-libgcrypt/distinfo.i386 | 4 |
3 files changed, 33 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index 92666c481365..79f925f5847e 100644 --- a/security/Makefile +++ b/security/Makefile @@ -261,6 +261,7 @@ SUBDIR += libtomcrypt SUBDIR += libwhisker SUBDIR += linux-f10-cyrus-sasl2 + SUBDIR += linux-f10-libgcrypt SUBDIR += linux-f10-libssh2 SUBDIR += linux-f10-libtasn1 SUBDIR += linux-f10-nss diff --git a/security/linux-f10-libgcrypt/Makefile b/security/linux-f10-libgcrypt/Makefile new file mode 100644 index 000000000000..82ef540f60f2 --- /dev/null +++ b/security/linux-f10-libgcrypt/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: security/linux-f10-libgcrypt +# Date created: 10 Nov 2010 +# Whom: Stas Timokhin <devel@stasyan.com> +# $FreeBSD$ +# + +PORTNAME= libgcrypt +PORTVERSION= 1.4.4 +CATEGORIES= security linux +PKGNAMEPREFIX= linux-f10- +DISTNAME= ${PORTNAME}-${PORTVERSION}-${RPMVERSION} + +MAINTAINER= emulation@FreeBSD.org +COMMENT= General purpose crypto library based on code used in GnuPG + +USE_LINUX_RPM= yes +LINUX_DIST_VER= 10 +RPMVERSION= 1.fc10 +USE_LDCONFIG= yes + +PLIST_FILES= lib/libgcrypt.so.11 lib/libgcrypt.so.11.5.2 +PLIST_DIRSTRY= etc/gcrypt +DESCR= ${.CURDIR}/../libgcrypt/pkg-descr + +post-install: + @${MKDIR} ${PREFIX}/etc/gcrypt + +.include <bsd.port.mk> diff --git a/security/linux-f10-libgcrypt/distinfo.i386 b/security/linux-f10-libgcrypt/distinfo.i386 new file mode 100644 index 000000000000..73990556048b --- /dev/null +++ b/security/linux-f10-libgcrypt/distinfo.i386 @@ -0,0 +1,4 @@ +SHA256 (rpm/i386/fedora/10/libgcrypt-1.4.4-1.fc10.i386.rpm) = c0647417049f5c1654a972e8cefa66c2acfe428a86c6a9581579a05c713e88bf +SIZE (rpm/i386/fedora/10/libgcrypt-1.4.4-1.fc10.i386.rpm) = 243009 +SHA256 (rpm/i386/fedora/10/libgcrypt-1.4.4-1.fc10.src.rpm) = 827110c5d192f77b0c4d3dc137f494d27ff781e3efcaaccdf3818260a663b305 +SIZE (rpm/i386/fedora/10/libgcrypt-1.4.4-1.fc10.src.rpm) = 1234729 |