[csw-devel] SF.net SVN: gar:[14522] csw/mgar/pkg
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Thu May 5 12:42:42 CEST 2011
Revision: 14522
http://gar.svn.sourceforge.net/gar/?rev=14522&view=rev
Author: dmichelsen
Date: 2011-05-05 10:42:42 +0000 (Thu, 05 May 2011)
Log Message:
-----------
nettle: Initial commit
Added Paths:
-----------
csw/mgar/pkg/nettle/
csw/mgar/pkg/nettle/Makefile
csw/mgar/pkg/nettle/branches/
csw/mgar/pkg/nettle/tags/
csw/mgar/pkg/nettle/trunk/
csw/mgar/pkg/nettle/trunk/Makefile
csw/mgar/pkg/nettle/trunk/checksums
csw/mgar/pkg/nettle/trunk/files/
csw/mgar/pkg/nettle/trunk/files/0001-Add-dynamic-linkage-information-for-Solaris.patch
Copied: csw/mgar/pkg/nettle/Makefile (from rev 14514, csw/mgar/pkg/template/Makefile)
===================================================================
--- csw/mgar/pkg/nettle/Makefile (rev 0)
+++ csw/mgar/pkg/nettle/Makefile 2011-05-05 10:42:42 UTC (rev 14522)
@@ -0,0 +1,15 @@
+# vim: ft=make ts=4 sw=4 noet
+
+default:
+ @echo "You are in the pkg/ directory."
+
+%:
+ $(MAKE) -C trunk $*
+
+paranoid-%:
+ $(MAKE) -C trunk $* || exit 2
+
+export BUILDLOG ?= $(shell pwd)/buildlog.txt
+
+report-%:
+ $(MAKE) -C trunk $* || echo " *** make $* in $$i failed ***" >> $(BUILDLOG)
Property changes on: csw/mgar/pkg/nettle/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/nettle/trunk/Makefile
===================================================================
--- csw/mgar/pkg/nettle/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/nettle/trunk/Makefile 2011-05-05 10:42:42 UTC (rev 14522)
@@ -0,0 +1,54 @@
+# $Id$
+# TODO (release-critical prefixed with !, non release-critical with *)
+#
+NAME = nettle
+VERSION = 2.1
+GARTYPE = v2
+CATEGORIES = utils
+
+DESCRIPTION = A low-level cryptographic library
+define BLURB
+ Nettle is a cryptographic library that is designed to fit easily in more or less any context:
+ In crypto toolkits for object-oriented languages (C++, Python, Pike, ...), in applications
+ like LSH or GNUPG, or even in kernel space.
+endef
+
+MASTER_SITES = http://www.lysator.liu.se/~nisse/archive/
+DISTFILES = $(DISTNAME).tar.gz
+PATCHFILES += 0001-Add-dynamic-linkage-information-for-Solaris.patch
+
+VENDOR_URL = http://www.lysator.liu.se/~nisse/nettle/
+
+PACKAGES += CSWlibhogweed2
+PKGFILES_CSWlibhogweed2 += $(call pkgfiles_lib,libhogweed.so.2)
+SPKG_DESC_CSWlibhogweed2 += A low-level cryptographic library, libhogweed.so.2
+RUNTIME_DEP_PKGS_CSWlibhogweed2 += CSWlibgmp
+RUNTIME_DEP_PKGS_CSWlibhogweed2 += CSWlibnettle4
+
+PACKAGES += CSWlibnettle4
+PKGFILES_CSWlibnettle4 += $(call pkgfiles_lib,libnettle.so.4)
+SPKG_DESC_CSWlibnettle4 += A low-level cryptographic library, libnettle.so.4
+
+PACKAGES += CSWlibnettle-dev
+PKGFILES_CSWlibnettle-dev = $(PKGFILES_DEVEL)
+SPKG_DESC_CSWlibnettle-dev = Development files for libnettle.so.4 and libhogweed.so.2
+RUNTIME_DEP_PKGS_CSWlibnettle-dev += CSWlibhogweed2
+RUNTIME_DEP_PKGS_CSWlibnettle-dev += CSWlibnettle4
+
+PACKAGES += CSWlibnettle-utils
+SPKG_DESC_CSWlibnettle-utils = Utility programs for libnettle
+# PKGFILES is catchall
+RUNTIME_DEP_PKGS_CSWlibnettle-utils += CSWlibhogweed2
+RUNTIME_DEP_PKGS_CSWlibnettle-utils += CSWlibnettle4
+RUNTIME_DEP_PKGS_CSWlibnettle-utils += CSWlibgmp
+
+BUILD64 = 1
+
+CONFIGURE_ARGS += $(DIRPATHS)
+CONFIGURE_ARGS += --enable-shared
+
+# This is the default install location after configure
+CHECKPKG_OVERRIDES_CSWlibnettle-utils += file-with-bad-content|/usr/local|root/opt/csw/share/info/nettle.info
+
+include gar/category.mk
+
Property changes on: csw/mgar/pkg/nettle/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: csw/mgar/pkg/nettle/trunk/checksums
===================================================================
--- csw/mgar/pkg/nettle/trunk/checksums (rev 0)
+++ csw/mgar/pkg/nettle/trunk/checksums 2011-05-05 10:42:42 UTC (rev 14522)
@@ -0,0 +1 @@
+2bfaf16234a5d8deb96cd23f53a682bb nettle-2.1.tar.gz
Added: csw/mgar/pkg/nettle/trunk/files/0001-Add-dynamic-linkage-information-for-Solaris.patch
===================================================================
--- csw/mgar/pkg/nettle/trunk/files/0001-Add-dynamic-linkage-information-for-Solaris.patch (rev 0)
+++ csw/mgar/pkg/nettle/trunk/files/0001-Add-dynamic-linkage-information-for-Solaris.patch 2011-05-05 10:42:42 UTC (rev 14522)
@@ -0,0 +1,61 @@
+From 834e429f07e890d943a517501f1d566ad2dbccd7 Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Thu, 5 May 2011 11:25:05 +0200
+Subject: [PATCH] Add dynamic linkage information for Solaris
+
+---
+ configure | 13 +++++++++++++
+ configure.ac | 13 +++++++++++++
+ 2 files changed, 26 insertions(+), 0 deletions(-)
+
+diff --git a/configure b/configure
+index f7d6767..0f0cbca 100755
+--- a/configure
++++ b/configure
+@@ -4198,6 +4198,19 @@ case "$host_os" in
+ LIBHOGWEED_LINK='$(CC) -dynamiclib $(LDFLAGS)'
+ LIBHOGWEED_LIBS=''
+ ;;
++ solaris*)
++ LIBNETTLE_FORLINK=libnettle.so
++ LIBNETTLE_SONAME='$(LIBNETTLE_FORLINK).$(LIBNETTLE_MAJOR)'
++ LIBNETTLE_FILE='$(LIBNETTLE_SONAME).$(LIBNETTLE_MINOR)'
++ LIBNETTLE_LINK='$(CC) $(LDFLAGS) -G -h $(LIBNETTLE_SONAME)'
++ LIBNETTLE_LIBS=''
++
++ LIBHOGWEED_FORLINK=libhogweed.so
++ LIBHOGWEED_SONAME='$(LIBHOGWEED_FORLINK).$(LIBHOGWEED_MAJOR)'
++ LIBHOGWEED_FILE='$(LIBHOGWEED_SONAME).$(LIBHOGWEED_MINOR)'
++ LIBHOGWEED_LINK='$(CC) $(LDFLAGS) -L. -G -h $(LIBHOGWEED_SONAME)'
++ LIBHOGWEED_LIBS='-lnettle -lgmp'
++ ;;
+ *)
+ LIBNETTLE_FORLINK=libnettle.so
+ LIBNETTLE_SONAME='$(LIBNETTLE_FORLINK).$(LIBNETTLE_MAJOR)'
+diff --git a/configure.ac b/configure.ac
+index 0251ffa..439cee8 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -259,6 +259,19 @@ case "$host_os" in
+ LIBHOGWEED_LINK='$(CC) -dynamiclib $(LDFLAGS)'
+ LIBHOGWEED_LIBS=''
+ ;;
++ solaris*)
++ LIBNETTLE_FORLINK=libnettle.so
++ LIBNETTLE_SONAME='$(LIBNETTLE_FORLINK).$(LIBNETTLE_MAJOR)'
++ LIBNETTLE_FILE='$(LIBNETTLE_SONAME).$(LIBNETTLE_MINOR)'
++ LIBNETTLE_LINK='$(CC) $(LDFLAGS) -G -h $(LIBNETTLE_SONAME)'
++ LIBNETTLE_LIBS=''
++
++ LIBHOGWEED_FORLINK=libhogweed.so
++ LIBHOGWEED_SONAME='$(LIBHOGWEED_FORLINK).$(LIBHOGWEED_MAJOR)'
++ LIBHOGWEED_FILE='$(LIBHOGWEED_SONAME).$(LIBHOGWEED_MINOR)'
++ LIBHOGWEED_LINK='$(CC) $(LDFLAGS) -L. -G -h $(LIBHOGWEED_SONAME)'
++ LIBHOGWEED_LIBS='-lnettle -lgmp'
++ ;;
+ *)
+ LIBNETTLE_FORLINK=libnettle.so
+ LIBNETTLE_SONAME='$(LIBNETTLE_FORLINK).$(LIBNETTLE_MAJOR)'
+--
+1.7.3.2
+
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