[csw-devel] SF.net SVN: gar:[8579] csw/mgar/pkg

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Tue Feb 16 14:20:17 CET 2010


Revision: 8579
          http://gar.svn.sourceforge.net/gar/?rev=8579&view=rev
Author:   dmichelsen
Date:     2010-02-16 13:20:17 +0000 (Tue, 16 Feb 2010)

Log Message:
-----------
fbopenssl: Initial commit

Added Paths:
-----------
    csw/mgar/pkg/fbopenssl/
    csw/mgar/pkg/fbopenssl/branches/
    csw/mgar/pkg/fbopenssl/tags/
    csw/mgar/pkg/fbopenssl/trunk/
    csw/mgar/pkg/fbopenssl/trunk/Makefile
    csw/mgar/pkg/fbopenssl/trunk/checksums
    csw/mgar/pkg/fbopenssl/trunk/files/
    csw/mgar/pkg/fbopenssl/trunk/files/COPYING


Property changes on: csw/mgar/pkg/fbopenssl/trunk
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work


Added: svn:externals
   + gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2


Added: csw/mgar/pkg/fbopenssl/trunk/Makefile
===================================================================
--- csw/mgar/pkg/fbopenssl/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/fbopenssl/trunk/Makefile	2010-02-16 13:20:17 UTC (rev 8579)
@@ -0,0 +1,59 @@
+GARNAME = fbopenssl
+GARVERSION = 0.0.4
+CATEGORIES = lib
+
+DESCRIPTION = SPNEGO API
+define BLURB
+endef
+
+SF_PROJ = modgssapache
+MASTER_SITES = $(SF_MIRRORS)
+DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
+DISTFILES += COPYING
+
+# We define upstream file regex so we can be notifed of new upstream software release
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
+
+SPKG_SOURCEURL = http://sourceforge.net/projects/modgssapache
+
+BUILD_DEP_PKGS = CSWossldevel
+RUNTIME_DEP_PKGS = CSWosslrt
+
+BUILD64 = 1
+WORKSRC = $(WORKDIR)/$(GARNAME)
+CONFIGURE_SCRIPTS = 
+BUILD_SCRIPTS = custom
+TEST_SCRIPTS = custom
+INSTALL_SCRIPTS = custom
+EXTRA_CFLAGS = -Kpic
+
+FILES=src/asn1/asn1help src/file/filehelp src/gssapi/gssapi src/krb5/krb5help src/spnego/spnego src/spnego/spnegohelp
+
+.c.o:
+	$(CC) -c $(CFLAGS) $(CPPFLAGS) -o $@ $<
+
+include gar/category.mk
+
+# The Makefile is hardcoded to gcc. Patching it is more complicated than
+# just compiling the needed stuff here. Please take care on version bumps!
+
+build-custom: $(foreach F,$(FILES),$(WORKSRC)/$F.o)
+	cd $(WORKSRC) && $(BUILD_ENV) $(CC) $(LDFLAGS) $(foreach F,$(FILES),$F.o) -lcrypto -G -o libfbopenssl.so
+	@$(MAKECOOKIE)
+
+test-custom:
+	# makespnego
+	(cd $(WORKSRC)/test/makespnego; $(BUILD_ENV) $(CC) $(CPPFLAGS) $(CFLAGS) makespnego.c -L../.. -R../.. -lfbopenssl $(LDFLAGS) -lcrypto -o makespnego)
+	(cd $(WORKSRC)/test/parsespnego; $(BUILD_ENV) $(CC) $(CPPFLAGS) $(CFLAGS) parsespnego.c -L../.. -R../.. -lfbopenssl $(LDFLAGS) -lcrypto -o parsespnego)
+	ginstall -d $(WORKSRC)/test/temp
+	-(cd $(WORKSRC)/test/makespnego; ./makespnego init 1.2.840.113554.1.2.2 ../tokens/kerberos-req.der ../temp/spnego-req.der)
+	-(cd $(WORKSRC)/test/makespnego; ./makespnego targ 0 1.2.840.113554.1.2.2 ../tokens/kerberos-rep.der ../temp/spnego-rep.der)
+	-(cd $(WORKSRC)/test/parsespnego; ./parsespnego init ../tokens/spnego-req.der 1.2.840.113554.1.2.2 ../temp/kerberos-req.der)
+	-(cd $(WORKSRC)/test/parsespnego; ./parsespnego targ ../tokens/spnego-rep.der ../temp/kerberos-rep.der)
+	@$(MAKECOOKIE)
+
+install-custom:
+	ginstall -d $(DESTDIR)$(libdir)
+	ginstall $(WORKSRC)/libfbopenssl.so $(DESTDIR)$(libdir)
+	ginstall -d $(DESTDIR)$(docdir)/$(CATALOGNAME)
+	ginstall $(WORKSRC)/readme.txt $(DESTDIR)$(docdir)/$(CATALOGNAME)/

Added: csw/mgar/pkg/fbopenssl/trunk/checksums
===================================================================
--- csw/mgar/pkg/fbopenssl/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/fbopenssl/trunk/checksums	2010-02-16 13:20:17 UTC (rev 8579)
@@ -0,0 +1,2 @@
+6a7dea6e15407a7cc85cdbdaf2c5deb5  COPYING
+9f1bea431c537c299f5ce827932275b4  fbopenssl-0.0.4.tar.gz

Added: csw/mgar/pkg/fbopenssl/trunk/files/COPYING
===================================================================
--- csw/mgar/pkg/fbopenssl/trunk/files/COPYING	                        (rev 0)
+++ csw/mgar/pkg/fbopenssl/trunk/files/COPYING	2010-02-16 13:20:17 UTC (rev 8579)
@@ -0,0 +1,2 @@
+GNU General Public License (GPL)
+(From the SourceForge Page)


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list