Initial import of gnutls-0.8.6
-- GnuTLS is a portable ANSI C based library which implements the TLS 1.0 and SSL 3.0 protocols. From: Jim Geovedi <jim@corebsd.or.id>
This commit is contained in:
parent
7a4511dd64
commit
f00650d562
40
security/gnutls/Makefile
Normal file
40
security/gnutls/Makefile
Normal file
@ -0,0 +1,40 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/05/02 04:04:31 margarida Exp $
|
||||
|
||||
COMMENT= "GNU Transport Layer Security library"
|
||||
|
||||
VERSION= 0.8.6
|
||||
DISTNAME= gnutls-${VERSION}
|
||||
CATEGORIES= security
|
||||
|
||||
HOMEPAGE= http://www.gnutls.org/
|
||||
MAINTAINER= Jim Geovedi <jim@corebsd.or.id>
|
||||
|
||||
# LGPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/alpha/gnutls/ \
|
||||
ftp://gd.tuwien.ac.at/privacy/gnupg/alpha/gnutls/ \
|
||||
http://ftp.planetmirror.com/pub/gnupg/alpha/gnutls/ \
|
||||
http://sunsite.dk/pub/security/gcrypt/alpha/gnutls/ \
|
||||
http://ftp.linux.it/pub/mirrors/gnupg/alpha/gnutls/
|
||||
|
||||
LIB_DEPENDS= gcrypt.6::security/libgcrypt \
|
||||
opencdk.6::security/opencdk \
|
||||
tasn1.2::security/libtasn1
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gnutls
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gnutls
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/gnutls
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/examples/*.c \
|
||||
${PREFIX}/share/examples/gnutls
|
||||
|
||||
.include <bsd.port.mk>
|
3
security/gnutls/distinfo
Normal file
3
security/gnutls/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (gnutls-0.8.6.tar.gz) = 7c152170df607ae39585a494ec355af1
|
||||
RMD160 (gnutls-0.8.6.tar.gz) = 293cf7ea7e77c38f95d58879e3b2138be35e1fb4
|
||||
SHA1 (gnutls-0.8.6.tar.gz) = e21ed4678835ef9f77a477e4776e68cba4b38f47
|
30
security/gnutls/patches/patch-configure
Normal file
30
security/gnutls/patches/patch-configure
Normal file
@ -0,0 +1,30 @@
|
||||
$OpenBSD: patch-configure,v 1.1.1.1 2003/05/02 04:04:31 margarida Exp $
|
||||
--- configure.orig Wed Apr 30 20:52:16 2003
|
||||
+++ configure Wed Apr 30 20:53:36 2003
|
||||
@@ -10537,7 +10537,7 @@ else
|
||||
hardcode_shlibpath_var=no
|
||||
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
||||
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
||||
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
|
||||
export_dynamic_flag_spec='${wl}-E'
|
||||
else
|
||||
case "$host_os" in
|
||||
@@ -10547,7 +10547,7 @@ else
|
||||
;;
|
||||
*)
|
||||
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
||||
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
@@ -11092,6 +11092,8 @@ openbsd*)
|
||||
version_type=sunos
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
+ sys_lib_search_path_spec="/usr/lib"
|
||||
+ sys_lib_dlsearch_path_spec="/usr/lib /usr/local/lib"
|
||||
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
||||
case "$host_os" in
|
||||
openbsd2.[89] | openbsd2.[89].*)
|
85
security/gnutls/patches/patch-ltmain_sh
Normal file
85
security/gnutls/patches/patch-ltmain_sh
Normal file
@ -0,0 +1,85 @@
|
||||
$OpenBSD: patch-ltmain_sh,v 1.1.1.1 2003/05/02 04:04:31 margarida Exp $
|
||||
--- ltmain.sh.orig Tue Mar 25 15:47:21 2003
|
||||
+++ ltmain.sh Wed Apr 30 18:41:27 2003
|
||||
@@ -1082,6 +1082,17 @@ compiler."
|
||||
continue
|
||||
;;
|
||||
|
||||
+ -pthread)
|
||||
+ case $host in
|
||||
+ *-*-openbsd*)
|
||||
+ deplibs="$deplibs $arg"
|
||||
+ ;;
|
||||
+ *)
|
||||
+ continue
|
||||
+ ;;
|
||||
+ esac
|
||||
+ ;;
|
||||
+
|
||||
-module)
|
||||
module=yes
|
||||
continue
|
||||
@@ -1522,6 +1533,10 @@ compiler."
|
||||
fi
|
||||
continue
|
||||
;;
|
||||
+ -pthread)
|
||||
+ continue
|
||||
+ ;;
|
||||
+
|
||||
%DEPLIBS%)
|
||||
alldeplibs=yes
|
||||
continue
|
||||
@@ -1767,11 +1782,6 @@ compiler."
|
||||
continue
|
||||
fi
|
||||
|
||||
- if test "$installed" = no; then
|
||||
- notinst_deplibs="$notinst_deplibs $lib"
|
||||
- need_relink=yes
|
||||
- fi
|
||||
-
|
||||
if test -n "$old_archive_from_expsyms_cmds"; then
|
||||
# figure out the soname
|
||||
set dummy $library_names
|
||||
@@ -4569,40 +4579,6 @@ relink_command=\"$relink_command\""
|
||||
# Exit here if they wanted silent mode.
|
||||
test "$show" = ":" && exit 0
|
||||
|
||||
- echo "----------------------------------------------------------------------"
|
||||
- echo "Libraries have been installed in:"
|
||||
- for libdir in $libdirs; do
|
||||
- echo " $libdir"
|
||||
- done
|
||||
- echo
|
||||
- echo "If you ever happen to want to link against installed libraries"
|
||||
- echo "in a given directory, LIBDIR, you must either use libtool, and"
|
||||
- echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
|
||||
- echo "flag during linking and do at least one of the following:"
|
||||
- if test -n "$shlibpath_var"; then
|
||||
- echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
|
||||
- echo " during execution"
|
||||
- fi
|
||||
- if test -n "$runpath_var"; then
|
||||
- echo " - add LIBDIR to the \`$runpath_var' environment variable"
|
||||
- echo " during linking"
|
||||
- fi
|
||||
- if test -n "$hardcode_libdir_flag_spec"; then
|
||||
- libdir=LIBDIR
|
||||
- eval flag=\"$hardcode_libdir_flag_spec\"
|
||||
-
|
||||
- echo " - use the \`$flag' linker flag"
|
||||
- fi
|
||||
- if test -n "$admincmds"; then
|
||||
- echo " - have your system administrator run these commands:$admincmds"
|
||||
- fi
|
||||
- if test -f /etc/ld.so.conf; then
|
||||
- echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
|
||||
- fi
|
||||
- echo
|
||||
- echo "See any operating system documentation about shared libraries for"
|
||||
- echo "more information, such as the ld(1) and ld.so(8) manual pages."
|
||||
- echo "----------------------------------------------------------------------"
|
||||
exit 0
|
||||
;;
|
||||
|
12
security/gnutls/patches/patch-src_retcodes_c
Normal file
12
security/gnutls/patches/patch-src_retcodes_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_retcodes_c,v 1.1.1.1 2003/05/02 04:04:31 margarida Exp $
|
||||
--- src/retcodes.c.orig Wed Apr 30 20:56:44 2003
|
||||
+++ src/retcodes.c Wed Apr 30 20:58:47 2003
|
||||
@@ -84,7 +84,7 @@ for (i=0;i>-400;i--)
|
||||
j++;
|
||||
}
|
||||
|
||||
-qsort( names_to_sort, j, sizeof(error_name), compar);
|
||||
+qsort( names_to_sort, j, sizeof(error_name), (const void *)compar);
|
||||
|
||||
for (i=0;i<j;i++)
|
||||
{
|
6
security/gnutls/pkg/DESCR
Normal file
6
security/gnutls/pkg/DESCR
Normal file
@ -0,0 +1,6 @@
|
||||
GnuTLS is a portable ANSI C based library which implements
|
||||
the TLS 1.0 and SSL 3.0 protocols.
|
||||
The library does not include any patented algorithms and
|
||||
is available under the GNU Lesser GPL license.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
4
security/gnutls/pkg/PFRAG.shared
Normal file
4
security/gnutls/pkg/PFRAG.shared
Normal file
@ -0,0 +1,4 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2003/05/02 04:04:31 margarida Exp $
|
||||
lib/libgnutls-extra.so.8.6
|
||||
lib/libgnutls.so.8.6
|
||||
DYNLIBDIR(%D/lib)
|
35
security/gnutls/pkg/PLIST
Normal file
35
security/gnutls/pkg/PLIST
Normal file
@ -0,0 +1,35 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/05/02 04:04:31 margarida Exp $
|
||||
bin/gnutls-cli
|
||||
bin/gnutls-cli-debug
|
||||
bin/gnutls-serv
|
||||
bin/gnutls-srpcrypt
|
||||
bin/libgnutls-config
|
||||
bin/libgnutls-extra-config
|
||||
include/gnutls/compat4.h
|
||||
include/gnutls/extra.h
|
||||
include/gnutls/gnutls.h
|
||||
include/gnutls/openssl.h
|
||||
lib/libgnutls-extra.a
|
||||
lib/libgnutls-extra.la
|
||||
lib/libgnutls.a
|
||||
lib/libgnutls.la
|
||||
share/aclocal/libgnutls-extra.m4
|
||||
share/aclocal/libgnutls.m4
|
||||
share/doc/gnutls/README
|
||||
share/examples/gnutls/ex-alert.c
|
||||
share/examples/gnutls/ex-client-resume.c
|
||||
share/examples/gnutls/ex-client-srp.c
|
||||
share/examples/gnutls/ex-client1.c
|
||||
share/examples/gnutls/ex-client2.c
|
||||
share/examples/gnutls/ex-info.c
|
||||
share/examples/gnutls/ex-pgp-keyserver.c
|
||||
share/examples/gnutls/ex-rfc2818.c
|
||||
share/examples/gnutls/ex-serv-export.c
|
||||
share/examples/gnutls/ex-serv-pgp.c
|
||||
share/examples/gnutls/ex-serv-srp.c
|
||||
share/examples/gnutls/ex-serv1.c
|
||||
%%SHARED%%
|
||||
@dirrm share/examples/gnutls
|
||||
@dirrm share/doc/gnutls
|
||||
@comment @dirrm share/aclocal
|
||||
@dirrm include/gnutls
|
Loading…
Reference in New Issue
Block a user