[csw-devel] SF.net SVN: gar:[13001] csw/mgar/pkg/gnutls/branches

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Tue Jan 18 16:13:29 CET 2011


Revision: 13001
          http://gar.svn.sourceforge.net/gar/?rev=13001&view=rev
Author:   dmichelsen
Date:     2011-01-18 15:13:29 +0000 (Tue, 18 Jan 2011)

Log Message:
-----------
gnutls: Make legacy libgnutls13 branch

Modified Paths:
--------------
    csw/mgar/pkg/gnutls/branches/libgnutls13/Makefile
    csw/mgar/pkg/gnutls/branches/libgnutls13/checksums

Added Paths:
-----------
    csw/mgar/pkg/gnutls/branches/libgnutls13/
    csw/mgar/pkg/gnutls/branches/libgnutls13/files/gnutls-2.0.4-2009.01.22-i386-libgnutls.so.13.9.1
    csw/mgar/pkg/gnutls/branches/libgnutls13/files/gnutls-2.0.4-2009.01.22-sparc-libgnutls.so.13.9.1

Removed Paths:
-------------
    csw/mgar/pkg/gnutls/branches/libgnutls13/files/libgnutls-openssl.so.13.i
    csw/mgar/pkg/gnutls/branches/libgnutls13/files/libgnutls-openssl.so.13.s
    csw/mgar/pkg/gnutls/branches/libgnutls13/files/libgnutls.so.13.i
    csw/mgar/pkg/gnutls/branches/libgnutls13/files/libgnutls.so.13.s

Modified: csw/mgar/pkg/gnutls/branches/libgnutls13/Makefile
===================================================================
--- csw/mgar/pkg/gnutls/trunk/Makefile	2011-01-18 03:39:17 UTC (rev 12994)
+++ csw/mgar/pkg/gnutls/branches/libgnutls13/Makefile	2011-01-18 15:13:29 UTC (rev 13001)
@@ -1,5 +1,5 @@
 NAME = gnutls
-VERSION = 2.8.6
+VERSION = 2.0.4
 CATEGORIES = lib
 
 DESCRIPTION = GNU Transport Layer Security libraries and tools
@@ -9,52 +9,39 @@
   library implements the proposed standards by the IETF's TLS working group.
 endef
 
-PACKAGES = CSWgnutls CSWgnutlsdevel
-CATALOGNAME_CSWgnutls = gnutls
-CATALOGNAME_CSWgnutlsdevel = gnutls_devel
-SPKG_DESC_CSWgnutls = GNU Transport Layer Security libraries and tools
-SPKG_DESC_CSWgnutlsdevel = GNU Transport Layer Security development headers and tools
+# These are legacy libraries ripped from the existing old package.
+# The upstream sources are gone and I don't want to spent too much work in legacy.
+DISTFILES += gnutls-2.0.4-2009.01.22-i386-libgnutls.so.13.9.1
+DISTFILES += gnutls-2.0.4-2009.01.22-sparc-libgnutls.so.13.9.1
+NOEXTRACT = $(DISTFILES)
 
-MASTER_SITES = $(GNU_MIRROR)
-MASTER_SITES += http://alpha.gnu.org/gnu/gnutls/
-DISTFILES  = $(NAME)-$(VERSION).tar.bz2
-DISTFILES += libgnutls-openssl.so.13.i
-DISTFILES += libgnutls-openssl.so.13.s
-DISTFILES += libgnutls.so.13.i
-DISTFILES += libgnutls.so.13.s
-
 SPKG_SOURCEURL = http://www.gnu.org/software/gnutls/
 
 # We define upstream file regex so we can be notifed of new upstream software release
 UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.bz2
 
-# We don't need it and if defined the test breaks
-LD_OPTIONS =
+PACKAGES += CSWlibgnutls13
+CATALOGNAME_CSWlibgnutls13 = libgnutls13
+SPKG_DESC_CSWlibgnutls13 = Legacy GNU TLS providing libgnutls.so.13
+RUNTIME_DEP_PKGS_CSWlibgnutls13 += CSWggettextrt
+RUNTIME_DEP_PKGS_CSWlibgnutls13 += CSWiconv
+RUNTIME_DEP_PKGS_CSWlibgnutls13 += CSWgpgerr
+RUNTIME_DEP_PKGS_CSWlibgnutls13 += CSWgcrypt
+RUNTIME_DEP_PKGS_CSWlibgnutls13 += CSWzlib
+# This is old stuff and there was no license in there
+CHECKPKG_OVERRIDES_CSWlibgnutls13 += license-missing|/opt/csw/share/doc/libgnutls13/license
+# Collision will not happen as updated CSWgnutls will be released at the same time
+CHECKPKG_OVERRIDES_CSWlibgnutls13 += file-collision|/opt/csw/lib/libgnutls.so.13|CSWgnutls|CSWlibgnutls13
 
-BUILD64 = 1
-NOISAEXEC = 1
-CONFIGURE_ARGS = $(DIRPATHS)
+CONFIGURE_SCRIPTS =
+BUILD_SCRIPTS =
+TEST_SCRIPTS =
+INSTALL_SCRIPTS = legacy
 
-TEST_TARGET = check
-
-RUNTIME_DEP_PKGS_CSWgnutls  = CSWgcrypt CSWggettextrt
-RUNTIME_DEP_PKGS_CSWgnutls += CSWgpgerr CSWlibtasn1 CSWreadline CSWzlib CSWiconv
-RUNTIME_DEP_PKGS_CSWgnutlsdevel = CSWgnutls
-
-PKGFILES_CSWgnutlsdevel = $(PKGFILES_DEVEL)
-
 include gar/category.mk
 
-# This is needed as tests/rfc2253-escape-test calls 'grep' instead of $GREP
-# and uses option '-q'
-PATH := /opt/csw/gnu:$(PATH)
-
-post-install-isa-sparcv8:
-	@cp $(FILEDIR)/libgnutls.so.13.s $(INSTALLISADIR)/opt/csw/lib/libgnutls.so.13
-	@cp $(FILEDIR)/libgnutls-openssl.so.13.s $(INSTALLISADIR)/opt/csw/lib/libgnutls-openssl.so.13
-	$(DONADA)
-
-post-install-isa-i386:
-	@cp $(FILEDIR)/libgnutls.so.13.i $(INSTALLISADIR)/opt/csw/lib/libgnutls.so.13
-	@cp $(FILEDIR)/libgnutls-openssl.so.13.i $(INSTALLISADIR)/opt/csw/lib/libgnutls-openssl.so.13
-	$(DONADA)
+install-legacy:
+	ginstall -d $(DESTDIR)$(libdir)
+	ginstall $(FILEDIR)/gnutls-2.0.4-2009.01.22-$(GARCH)-libgnutls.so.13.9.1 $(DESTDIR)$(libdir)/libgnutls.so.13.9.1
+	gln -s libgnutls.so.13.9.1 $(DESTDIR)$(libdir)/libgnutls.so.13
+	@$(DONADA)

Modified: csw/mgar/pkg/gnutls/branches/libgnutls13/checksums
===================================================================
--- csw/mgar/pkg/gnutls/trunk/checksums	2011-01-18 03:39:17 UTC (rev 12994)
+++ csw/mgar/pkg/gnutls/branches/libgnutls13/checksums	2011-01-18 15:13:29 UTC (rev 13001)
@@ -1,5 +0,0 @@
-eb0a6d7d3cb9ac684d971c14f9f6d3ba  gnutls-2.8.6.tar.bz2
-073c509902375c40b885f5adc9f7dba9  libgnutls-openssl.so.13.i
-02e4011d400d262b8d4b5c7311d8a5b0  libgnutls-openssl.so.13.s
-b0eee0d29e3d260a146e626c6ca75b16  libgnutls.so.13.i
-76f0d841ec6c4a3612ca2410c793e104  libgnutls.so.13.s

Copied: csw/mgar/pkg/gnutls/branches/libgnutls13/files/gnutls-2.0.4-2009.01.22-i386-libgnutls.so.13.9.1 (from rev 12000, csw/mgar/pkg/gnutls/trunk/files/libgnutls.so.13.i)
===================================================================
(Binary files differ)

Copied: csw/mgar/pkg/gnutls/branches/libgnutls13/files/gnutls-2.0.4-2009.01.22-sparc-libgnutls.so.13.9.1 (from rev 12000, csw/mgar/pkg/gnutls/trunk/files/libgnutls.so.13.s)
===================================================================
(Binary files differ)

Deleted: csw/mgar/pkg/gnutls/branches/libgnutls13/files/libgnutls-openssl.so.13.i
===================================================================
(Binary files differ)

Deleted: csw/mgar/pkg/gnutls/branches/libgnutls13/files/libgnutls-openssl.so.13.s
===================================================================
(Binary files differ)

Deleted: csw/mgar/pkg/gnutls/branches/libgnutls13/files/libgnutls.so.13.i
===================================================================
(Binary files differ)

Deleted: csw/mgar/pkg/gnutls/branches/libgnutls13/files/libgnutls.so.13.s
===================================================================
(Binary files differ)


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