diff options
author | rh <rh@pkgsrc.org> | 2004-04-11 00:08:11 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 2004-04-11 00:08:11 +0000 |
commit | ef65235a2bfcf92864a99f94698e608ddd08720b (patch) | |
tree | a29563a1a08a8f1b578a81e3af364b56092a5cb7 | |
parent | d7a2c2cb19dce94f28ee4493723111aaf663203a (diff) | |
download | pkgsrc-ef65235a2bfcf92864a99f94698e608ddd08720b.tar.gz |
Initial import of gnustep-ssl-1.9.1, the SSL bundle for gnustep split out
from gnustep-base.
-rw-r--r-- | security/gnustep-ssl/DESCR | 11 | ||||
-rw-r--r-- | security/gnustep-ssl/Makefile | 45 | ||||
-rw-r--r-- | security/gnustep-ssl/PLIST | 6 | ||||
-rw-r--r-- | security/gnustep-ssl/buildlink2.mk | 20 | ||||
-rw-r--r-- | security/gnustep-ssl/buildlink3.mk | 21 | ||||
-rw-r--r-- | security/gnustep-ssl/distinfo | 6 | ||||
-rw-r--r-- | security/gnustep-ssl/patches/patch-aa | 20 | ||||
-rw-r--r-- | security/gnustep-ssl/patches/patch-ab | 20 |
8 files changed, 149 insertions, 0 deletions
diff --git a/security/gnustep-ssl/DESCR b/security/gnustep-ssl/DESCR new file mode 100644 index 00000000000..07dd4a5c8f9 --- /dev/null +++ b/security/gnustep-ssl/DESCR @@ -0,0 +1,11 @@ +This is the Secure Socket Layer (SSL) bundle separated out of the +GNUstep Base Library. + + The GNUstep Base Library is a library of general-purpose, non-graphical +Objective C objects. For example, it includes classes for strings, +object collections, byte streams, typed coders, invocations, +notifications, notification dispatchers, moments in time, network ports, +remote object messaging support (distributed objects), and event loops. + + It provides functionality that aims to implement the non-graphical +portion of the OpenStep standard (the Foundation library). diff --git a/security/gnustep-ssl/Makefile b/security/gnustep-ssl/Makefile new file mode 100644 index 00000000000..9126e10f7c0 --- /dev/null +++ b/security/gnustep-ssl/Makefile @@ -0,0 +1,45 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/04/11 00:08:11 rh Exp $ +# + +DISTNAME= gnustep-base-1.9.1 +PKGNAME= ${DISTNAME:S/base/ssl/} +CATEGORIES= security gnustep +MASTER_SITES= ftp://ftp.gnustep.org/pub/gnustep/core/ + +MAINTAINER= rh@NetBSD.org +HOMEPAGE= http://www.gnustep.org/ +COMMENT= GNUstep SSL bundle + +BUILDLINK_DEPENDS.gnustep-base= gnustep-base>=1.9.1 + +CONFLICTS+= gnustep-base<1.9.1 + +PTHREAD_LIBS= -lpthread + +CONFIGURE_DIRS= ${WRKDIR}/${DISTNAME} +WRKSRC= ${CONFIGURE_DIRS}/SSL +MAKEFILE= GNUmakefile +USE_GNU_TOOLS+= make +USE_BUILDLINK3= yes +GNU_CONFIGURE= yes +GNU_CONFIGURE_PREFIX= ${PREFIX}/share/GNUstep +CONFIGURE_ARGS+= --exec-prefix=${PREFIX}/libexec/GNUstep +CONFIGURE_ENV+= INSTALL_PROGRAM="${INSTALL_SCRIPT}" + +pre-configure: +.for pfile in configure ../base.make.in + ${CP} ${WRKSRC}/${pfile} ${WRKSRC}/${pfile}.tmpl + ${SED} 's|@PTHREAD_LIBS@|${PTHREAD_LIBS}|g' \ + <${WRKSRC}/${pfile}.tmpl >${WRKSRC}/${pfile} +.endfor + +.include "../../devel/gnustep-base/buildlink3.mk" +.include "../../security/openssl/buildlink3.mk" + +.include "../../mk/pthread.buildlink3.mk" + +.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "pth") +PTHREAD_LIBS+= -lpth +.endif + +.include "../../mk/bsd.pkg.mk" diff --git a/security/gnustep-ssl/PLIST b/security/gnustep-ssl/PLIST new file mode 100644 index 00000000000..8274b9c7662 --- /dev/null +++ b/security/gnustep-ssl/PLIST @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/04/11 00:08:11 rh Exp $ +share/GNUstep/System/Library/Bundles/SSL.bundle/Resources/Info-gnustep.plist +share/GNUstep/System/Library/Bundles/SSL.bundle/SSL +share/GNUstep/System/Library/Bundles/SSL.bundle/stamp.make +@dirrm share/GNUstep/System/Library/Bundles/SSL.bundle/Resources +@dirrm share/GNUstep/System/Library/Bundles/SSL.bundle diff --git a/security/gnustep-ssl/buildlink2.mk b/security/gnustep-ssl/buildlink2.mk new file mode 100644 index 00000000000..96bd7f1a848 --- /dev/null +++ b/security/gnustep-ssl/buildlink2.mk @@ -0,0 +1,20 @@ +# $NetBSD: buildlink2.mk,v 1.1.1.1 2004/04/11 00:08:11 rh Exp $ + +.if !defined(GNUSTEP_SSL_BUILDLINK2_MK) +GNUSTEP_SSL_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= gnustep-ssl +BUILDLINK_DEPENDS.gnustep-ssl?= gnustep-ssl>=1.9.1 +BUILDLINK_PKGSRCDIR.gnustep-ssl?= ../../security/gnustep-ssl + +EVAL_PREFIX+= BUILDLINK_PREFIX.gnustep-ssl=gnustep-ssl +BUILDLINK_PREFIX.gnustep-ssl_DEFAULT= ${LOCALBASE} + +.include "../../devel/gnustep-base/buildlink2.mk" +.include "../../security/openssl/buildlink2.mk" + +BUILDLINK_TARGETS+= gnustep-ssl-buildlink + +gnustep-ssl-buildlink: _BUILDLINK_USE + +.endif # GNUSTEP_SSL_BUILDLINK2_MK diff --git a/security/gnustep-ssl/buildlink3.mk b/security/gnustep-ssl/buildlink3.mk new file mode 100644 index 00000000000..8c9d5cb1b03 --- /dev/null +++ b/security/gnustep-ssl/buildlink3.mk @@ -0,0 +1,21 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/04/11 00:08:11 rh Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +GNUSTEP_SSL_BUILDLINK3_MK:= ${GNUSTEP_SSL_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= gnustep-ssl +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnustep-ssl} +BUILDLINK_PACKAGES+= gnustep-ssl + +.if !empty(GNUSTEP_SSL_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.gnustep-ssl+= gnustep-ssl>=1.9.1 +BUILDLINK_PKGSRCDIR.gnustep-ssl?= ../../security/gnustep-ssl +.endif # GNUSTEP_SSL_BUILDLINK3_MK + +.include "../../devel/gnustep-base/buildlink3.mk" +.include "../../security/openssl/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/security/gnustep-ssl/distinfo b/security/gnustep-ssl/distinfo new file mode 100644 index 00000000000..fdab6aacee8 --- /dev/null +++ b/security/gnustep-ssl/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/04/11 00:08:11 rh Exp $ + +SHA1 (gnustep-base-1.9.1.tar.gz) = 143b2fbbb0516e2d73312ff9950f2c99ff18c618 +Size (gnustep-base-1.9.1.tar.gz) = 1689980 bytes +SHA1 (patch-aa) = f7c59f52d95b1965d1321ebfb6fd17e1cd8aafc9 +SHA1 (patch-ab) = a82a649ced4431230acc45a12534c2aa55e1db55 diff --git a/security/gnustep-ssl/patches/patch-aa b/security/gnustep-ssl/patches/patch-aa new file mode 100644 index 00000000000..6c168dbd3d7 --- /dev/null +++ b/security/gnustep-ssl/patches/patch-aa @@ -0,0 +1,20 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/04/11 00:08:11 rh Exp $ + +--- GNUmakefile.orig 2004-01-13 12:39:43.000000000 +1000 ++++ GNUmakefile +@@ -35,7 +35,6 @@ include $(GNUSTEP_MAKEFILES)/common.make + srcdir = . + PACKAGE_NAME = gnustep-base + +-ifneq ($(base),no) + ifeq ($(HAVE_OPENSSL), yes) + + # The bundles to be compiled +@@ -53,7 +52,6 @@ SSL_PRINCIPAL_CLASS = GSSSLHandle + SSL_BUNDLE_LIBS = $(SSLLIBS) -lgnustep-base -lobjc + + endif +-endif + + # GNUSTEP_INSTALL_PREFIX must be defined here and not in config.h because + # the installing person may set it on the `make' command line. diff --git a/security/gnustep-ssl/patches/patch-ab b/security/gnustep-ssl/patches/patch-ab new file mode 100644 index 00000000000..ac5f4f2a82d --- /dev/null +++ b/security/gnustep-ssl/patches/patch-ab @@ -0,0 +1,20 @@ +$NetBSD: patch-ab,v 1.1.1.1 2004/04/11 00:08:11 rh Exp $ + +--- ../Headers/Foundation/NSCoder.h.orig 2004-01-22 19:37:07.000000000 +1000 ++++ ../Headers/Foundation/NSCoder.h +@@ -82,9 +82,15 @@ + * MacOS-X adds some typedefs that GNUstep already has by another name. + */ + #include <GSConfig.h> ++#ifndef uint8_t + #define uint8_t gsu8 ++#endif ++#ifndef int32_t + #define int32_t gss32 ++#endif ++#ifndef int64_t + #define int64_t gss64 ++#endif + + + /** <override-subclass /> |