diff options
author | arved <arved@FreeBSD.org> | 2003-01-09 02:50:41 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2003-01-09 02:50:41 +0800 |
commit | 29175f260caa2f719bae7897f4bd7e5383be4d08 (patch) | |
tree | 869a2961a7b4e986105440683740fb73e46cbdec /security/libksba | |
parent | 3bc2f8eefe10a9f0959f4c476ef52de86ee43b75 (diff) | |
download | freebsd-ports-gnome-29175f260caa2f719bae7897f4bd7e5383be4d08.tar.gz freebsd-ports-gnome-29175f260caa2f719bae7897f4bd7e5383be4d08.tar.zst freebsd-ports-gnome-29175f260caa2f719bae7897f4bd7e5383be4d08.zip |
Add libksba, an X.509 library
PR: 43895
Diffstat (limited to 'security/libksba')
-rw-r--r-- | security/libksba/Makefile | 29 | ||||
-rw-r--r-- | security/libksba/distinfo | 1 | ||||
-rw-r--r-- | security/libksba/files/patch-aclocal.m4 | 11 | ||||
-rw-r--r-- | security/libksba/files/patch-configure | 14 | ||||
-rw-r--r-- | security/libksba/files/patch-ltmain.sh | 32 | ||||
-rw-r--r-- | security/libksba/pkg-comment | 1 | ||||
-rw-r--r-- | security/libksba/pkg-descr | 8 | ||||
-rw-r--r-- | security/libksba/pkg-plist | 11 |
8 files changed, 107 insertions, 0 deletions
diff --git a/security/libksba/Makefile b/security/libksba/Makefile new file mode 100644 index 000000000000..597f9acc7b91 --- /dev/null +++ b/security/libksba/Makefile @@ -0,0 +1,29 @@ +# New ports collection Makefile for: libksba +# Date created: July 17 2002 +# Whom: Tilman Linneweh <arved@FreeBSD.org> +# +# $FreeBSD$ + +PORTNAME= libksba +PORTVERSION= 0.4.6 +CATEGORIES= security +MASTER_SITES= http://gd.tuwien.ac.at/privacy/gnupg/alpha/aegypten/ \ + ftp://ftp.gnupg.org/gcrypt/alpha/aegypten/ \ + http://ftp.hi.is/pub/mirrors/gnupg/alpha/aegypten/ \ + http://www.mirrors.wiretapped.net/security/cryptography/apps/pgp/GnuPG/alpha/aegypten/ \ + ${MASTER_SITE_RINGSERVER}/net/gnupg/alpha/aegypten/ \ + +MAINTAINER= arved@FreeBSD.org + +BUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf + +USE_LIBTOOL= yes +INSTALLS_SHLIB= yes +CONFIGURE_TARGET= +CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +GNU_CONFIGURE= yes + +pre-configure: + @cd ${WRKSRC}; ${LOCALBASE}/bin/autoconf + +.include <bsd.port.mk> diff --git a/security/libksba/distinfo b/security/libksba/distinfo new file mode 100644 index 000000000000..7bfa01114447 --- /dev/null +++ b/security/libksba/distinfo @@ -0,0 +1 @@ +MD5 (libksba-0.4.6.tar.gz) = 21aad081205a155ca17571e1b74ccca8 diff --git a/security/libksba/files/patch-aclocal.m4 b/security/libksba/files/patch-aclocal.m4 new file mode 100644 index 000000000000..ad9f9d53c003 --- /dev/null +++ b/security/libksba/files/patch-aclocal.m4 @@ -0,0 +1,11 @@ +--- aclocal.m4.orig Wed Jul 17 17:13:45 2002 ++++ aclocal.m4 Wed Jul 17 17:14:40 2002 +@@ -589,7 +589,7 @@ + LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" + + # Always use our own libtool. +-LIBTOOL='$(SHELL) $(top_builddir)/libtool' ++LIBTOOL='$(SHELL) ${LOCALBASE}/bin/libtool' + AC_SUBST(LIBTOOL)dnl + + # Prevent multiple expansion diff --git a/security/libksba/files/patch-configure b/security/libksba/files/patch-configure new file mode 100644 index 000000000000..b8436dcffff7 --- /dev/null +++ b/security/libksba/files/patch-configure @@ -0,0 +1,14 @@ +--- configure.orig Sat Nov 23 20:33:48 2002 ++++ configure Sat Nov 23 20:34:29 2002 +@@ -7729,9 +7729,10 @@ + + # This can be used to rebuild libtool when needed + LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" ++$ac_aux_dir/ltconfig $LIBTOOL_DEPS + + # Always use our own libtool. +-LIBTOOL='$(SHELL) $(top_builddir)/libtool' ++LIBTOOL='libtool' + + # Prevent multiple expansion + diff --git a/security/libksba/files/patch-ltmain.sh b/security/libksba/files/patch-ltmain.sh new file mode 100644 index 000000000000..500ea3eff059 --- /dev/null +++ b/security/libksba/files/patch-ltmain.sh @@ -0,0 +1,32 @@ +--- ltmain.sh.orig Wed Jul 17 17:15:35 2002 ++++ ltmain.sh Wed Jul 17 17:17:15 2002 +@@ -1060,8 +1060,16 @@ + continue + ;; + ++ -pthread) ++ compile_command="$compile_command -pthread" ++ finalize_command="$finalize_command -pthread" ++ compiler_flags="$compiler_flags -pthread" ++ continue; ++ ;; ++ + -module) + module=yes ++ build_old_libs=yes + continue + ;; + +@@ -4210,10 +4218,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff --git a/security/libksba/pkg-comment b/security/libksba/pkg-comment new file mode 100644 index 000000000000..d17788f852ed --- /dev/null +++ b/security/libksba/pkg-comment @@ -0,0 +1 @@ +KSBA is an X.509 Library diff --git a/security/libksba/pkg-descr b/security/libksba/pkg-descr new file mode 100644 index 000000000000..0a55962d2095 --- /dev/null +++ b/security/libksba/pkg-descr @@ -0,0 +1,8 @@ +KSBA = rot13(digit_to_letter(x509)) to be pronounced as Kasbah + +KSBA is a library to make X.509 certificates as +well as the CMS easily accessible by other applications. Both +specifications are building blocks of S/MIME and TLS. + +Author: g10 Code GmbH +WWW: http://www.gnupg.org/ diff --git a/security/libksba/pkg-plist b/security/libksba/pkg-plist new file mode 100644 index 000000000000..82143b445d68 --- /dev/null +++ b/security/libksba/pkg-plist @@ -0,0 +1,11 @@ +bin/ksba-config +include/ksba.h +@unexec install-info --delete %D/info/ksba.info %D/info/dir +info/ksba.info +info/ksba.info-1 +info/ksba.info-2 +@exec install-info %D/info/ksba.info %D/info/dir +lib/libksba.la +lib/libksba.so.7 +lib/libksba.so +lib/libksba.a |