diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-10-14 12:38:48 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-10-14 12:38:48 +0000 |
commit | 74c43352a7414cddf89de026a59be12ffa0d8c5f (patch) | |
tree | e8d13f40b7fe35559bf9404b48a45c70179dbf79 | |
parent | cb3f12a46410fc4bac89e7ff3b065d9d92bddf13 (diff) | |
download | ports-74c43352a7414cddf89de026a59be12ffa0d8c5f.tar.gz ports-74c43352a7414cddf89de026a59be12ffa0d8c5f.zip |
Notes
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/libgcrypt-devel/Makefile | 34 | ||||
-rw-r--r-- | security/libgcrypt-devel/distinfo | 1 | ||||
-rw-r--r-- | security/libgcrypt-devel/files/patch-aclocal.m4 | 14 | ||||
-rw-r--r-- | security/libgcrypt-devel/files/patch-ltmain.sh | 32 | ||||
-rw-r--r-- | security/libgcrypt-devel/pkg-comment | 1 | ||||
-rw-r--r-- | security/libgcrypt-devel/pkg-descr | 4 | ||||
-rw-r--r-- | security/libgcrypt-devel/pkg-plist | 10 | ||||
-rw-r--r-- | security/libgcrypt/Makefile | 34 | ||||
-rw-r--r-- | security/libgcrypt/distinfo | 1 | ||||
-rw-r--r-- | security/libgcrypt/files/patch-aclocal.m4 | 14 | ||||
-rw-r--r-- | security/libgcrypt/files/patch-ltmain.sh | 32 | ||||
-rw-r--r-- | security/libgcrypt/pkg-comment | 1 | ||||
-rw-r--r-- | security/libgcrypt/pkg-descr | 4 | ||||
-rw-r--r-- | security/libgcrypt/pkg-plist | 10 |
15 files changed, 193 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index d84015b808e7..d92deea6835c 100644 --- a/security/Makefile +++ b/security/Makefile @@ -98,6 +98,7 @@ SUBDIR += lcrzo SUBDIR += lcrzoex SUBDIR += libfwbuilder + SUBDIR += libgcrypt SUBDIR += libident SUBDIR += libmcrypt SUBDIR += libparanoia diff --git a/security/libgcrypt-devel/Makefile b/security/libgcrypt-devel/Makefile new file mode 100644 index 000000000000..799de43bfbfd --- /dev/null +++ b/security/libgcrypt-devel/Makefile @@ -0,0 +1,34 @@ +# New ports collection Makefile for: libgcrypt +# Date created: July 17 2002 +# Whom: Tilman Linneweh <tilman@arved.de> +# +# $FreeBSD$ + +PORTNAME= libgcrypt +PORTVERSION= 1.1.10 +CATEGORIES= security +MASTER_SITES= http://gd.tuwien.ac.at/privacy/gnupg/alpha/libgcrypt/ \ + ftp://ftp.gnupg.org/gcrypt/alpha/libgcrypt/ \ + http://ftp.hi.is/pub/mirrors/gnupg/alpha/libgcrypt/ \ + http://www.mirrors.wiretapped.net/security/cryptography/apps/pgp/GnuPG/alpha/libgcrypt/ \ + ${MASTER_SITE_RINGSERVER}/net/gnupg/alpha/libgcrypt/ \ + +MAINTAINER= freebsdports@arved.de + +BUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf + +USE_REINPLACE= yes +USE_LIBTOOL= yes +CONFIGURE_ENV= MAKEINFO="makeinfo --no-split" +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} +INSTALLS_SHLIB= yes + +post-patch: + @${REINPLACE_CMD} -e "s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|" \ + ${WRKSRC}/scripts/ltmain.sh + +pre-configure: + @${RM} -f ${WRKSRC}/doc/gcrypt.info* + @cd ${WRKSRC}; ${LOCALBASE}/bin/autoconf + +.include <bsd.port.mk> diff --git a/security/libgcrypt-devel/distinfo b/security/libgcrypt-devel/distinfo new file mode 100644 index 000000000000..8f123e1b31d8 --- /dev/null +++ b/security/libgcrypt-devel/distinfo @@ -0,0 +1 @@ +MD5 (libgcrypt-1.1.10.tar.gz) = 3f0be8febbb6102b874f37f7a2812525 diff --git a/security/libgcrypt-devel/files/patch-aclocal.m4 b/security/libgcrypt-devel/files/patch-aclocal.m4 new file mode 100644 index 000000000000..0b69ac6169f5 --- /dev/null +++ b/security/libgcrypt-devel/files/patch-aclocal.m4 @@ -0,0 +1,14 @@ +--- aclocal.m4.orig Fri Sep 20 13:11:18 2002 ++++ aclocal.m4 Thu Oct 10 16:57:09 2002 +@@ -1701,9 +1701,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='$(SHELL) ${LOCALBASE}/bin/libtool' + AC_SUBST(LIBTOOL)dnl + + # Prevent multiple expansion diff --git a/security/libgcrypt-devel/files/patch-ltmain.sh b/security/libgcrypt-devel/files/patch-ltmain.sh new file mode 100644 index 000000000000..e99e2de7af48 --- /dev/null +++ b/security/libgcrypt-devel/files/patch-ltmain.sh @@ -0,0 +1,32 @@ +--- scripts/ltmain.sh.orig Wed Jul 17 15:42:41 2002 ++++ scripts/ltmain.sh Wed Jul 17 15:47:36 2002 +@@ -1062,8 +1062,16 @@ + continue + ;; + ++ -pthread) ++ compile_command="$compile_command %%PTHREAD_LIBS%%" ++ finalize_command="$finalize_command %%PTHREAD_LIBS%%" ++ compiler_flags="$compiler_flags %%PTHREAD_LIBS%%" ++ continue; ++ ;; ++ + -module) + module=yes ++ build_old_libs=yes + continue + ;; + +@@ -4247,10 +4255,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/libgcrypt-devel/pkg-comment b/security/libgcrypt-devel/pkg-comment new file mode 100644 index 000000000000..b316f2fd1cbb --- /dev/null +++ b/security/libgcrypt-devel/pkg-comment @@ -0,0 +1 @@ +General purpose crypto library based on code used in GnuPG diff --git a/security/libgcrypt-devel/pkg-descr b/security/libgcrypt-devel/pkg-descr new file mode 100644 index 000000000000..a5d0b3a305f4 --- /dev/null +++ b/security/libgcrypt-devel/pkg-descr @@ -0,0 +1,4 @@ +Libgcrypt is a general purpose crypto library based on the code used in GnuPG. + +Author: wk@g10code.com +WWW: http://www.gnupg.org/ diff --git a/security/libgcrypt-devel/pkg-plist b/security/libgcrypt-devel/pkg-plist new file mode 100644 index 000000000000..ece7c12390fc --- /dev/null +++ b/security/libgcrypt-devel/pkg-plist @@ -0,0 +1,10 @@ +bin/libgcrypt-config +include/gcrypt.h +@unexec install-info --delete %D/info/gcrypt.info %D/info/dir +info/gcrypt.info +@exec install-info %D/info/gcrypt.info %D/info/dir +lib/libgcrypt.a +lib/libgcrypt.la +lib/libgcrypt.so +lib/libgcrypt.so.5 +share/aclocal/libgcrypt.m4 diff --git a/security/libgcrypt/Makefile b/security/libgcrypt/Makefile new file mode 100644 index 000000000000..799de43bfbfd --- /dev/null +++ b/security/libgcrypt/Makefile @@ -0,0 +1,34 @@ +# New ports collection Makefile for: libgcrypt +# Date created: July 17 2002 +# Whom: Tilman Linneweh <tilman@arved.de> +# +# $FreeBSD$ + +PORTNAME= libgcrypt +PORTVERSION= 1.1.10 +CATEGORIES= security +MASTER_SITES= http://gd.tuwien.ac.at/privacy/gnupg/alpha/libgcrypt/ \ + ftp://ftp.gnupg.org/gcrypt/alpha/libgcrypt/ \ + http://ftp.hi.is/pub/mirrors/gnupg/alpha/libgcrypt/ \ + http://www.mirrors.wiretapped.net/security/cryptography/apps/pgp/GnuPG/alpha/libgcrypt/ \ + ${MASTER_SITE_RINGSERVER}/net/gnupg/alpha/libgcrypt/ \ + +MAINTAINER= freebsdports@arved.de + +BUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf + +USE_REINPLACE= yes +USE_LIBTOOL= yes +CONFIGURE_ENV= MAKEINFO="makeinfo --no-split" +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} +INSTALLS_SHLIB= yes + +post-patch: + @${REINPLACE_CMD} -e "s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|" \ + ${WRKSRC}/scripts/ltmain.sh + +pre-configure: + @${RM} -f ${WRKSRC}/doc/gcrypt.info* + @cd ${WRKSRC}; ${LOCALBASE}/bin/autoconf + +.include <bsd.port.mk> diff --git a/security/libgcrypt/distinfo b/security/libgcrypt/distinfo new file mode 100644 index 000000000000..8f123e1b31d8 --- /dev/null +++ b/security/libgcrypt/distinfo @@ -0,0 +1 @@ +MD5 (libgcrypt-1.1.10.tar.gz) = 3f0be8febbb6102b874f37f7a2812525 diff --git a/security/libgcrypt/files/patch-aclocal.m4 b/security/libgcrypt/files/patch-aclocal.m4 new file mode 100644 index 000000000000..0b69ac6169f5 --- /dev/null +++ b/security/libgcrypt/files/patch-aclocal.m4 @@ -0,0 +1,14 @@ +--- aclocal.m4.orig Fri Sep 20 13:11:18 2002 ++++ aclocal.m4 Thu Oct 10 16:57:09 2002 +@@ -1701,9 +1701,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='$(SHELL) ${LOCALBASE}/bin/libtool' + AC_SUBST(LIBTOOL)dnl + + # Prevent multiple expansion diff --git a/security/libgcrypt/files/patch-ltmain.sh b/security/libgcrypt/files/patch-ltmain.sh new file mode 100644 index 000000000000..e99e2de7af48 --- /dev/null +++ b/security/libgcrypt/files/patch-ltmain.sh @@ -0,0 +1,32 @@ +--- scripts/ltmain.sh.orig Wed Jul 17 15:42:41 2002 ++++ scripts/ltmain.sh Wed Jul 17 15:47:36 2002 +@@ -1062,8 +1062,16 @@ + continue + ;; + ++ -pthread) ++ compile_command="$compile_command %%PTHREAD_LIBS%%" ++ finalize_command="$finalize_command %%PTHREAD_LIBS%%" ++ compiler_flags="$compiler_flags %%PTHREAD_LIBS%%" ++ continue; ++ ;; ++ + -module) + module=yes ++ build_old_libs=yes + continue + ;; + +@@ -4247,10 +4255,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/libgcrypt/pkg-comment b/security/libgcrypt/pkg-comment new file mode 100644 index 000000000000..b316f2fd1cbb --- /dev/null +++ b/security/libgcrypt/pkg-comment @@ -0,0 +1 @@ +General purpose crypto library based on code used in GnuPG diff --git a/security/libgcrypt/pkg-descr b/security/libgcrypt/pkg-descr new file mode 100644 index 000000000000..a5d0b3a305f4 --- /dev/null +++ b/security/libgcrypt/pkg-descr @@ -0,0 +1,4 @@ +Libgcrypt is a general purpose crypto library based on the code used in GnuPG. + +Author: wk@g10code.com +WWW: http://www.gnupg.org/ diff --git a/security/libgcrypt/pkg-plist b/security/libgcrypt/pkg-plist new file mode 100644 index 000000000000..ece7c12390fc --- /dev/null +++ b/security/libgcrypt/pkg-plist @@ -0,0 +1,10 @@ +bin/libgcrypt-config +include/gcrypt.h +@unexec install-info --delete %D/info/gcrypt.info %D/info/dir +info/gcrypt.info +@exec install-info %D/info/gcrypt.info %D/info/dir +lib/libgcrypt.a +lib/libgcrypt.la +lib/libgcrypt.so +lib/libgcrypt.so.5 +share/aclocal/libgcrypt.m4 |