summaryrefslogtreecommitdiff
path: root/security/nettle2/files
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2005-11-24 11:25:04 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2005-11-24 11:25:04 +0000
commitdd5f0bf0844b2d46d840ee18e2f529a8466ef092 (patch)
treef3598997c6ea2f1ec9c24130240d888d63a23bb3 /security/nettle2/files
parentprint/lcdf-typetools was a dupe of print/typetools, so remove the former (diff)
security/nettle is out of date : port version is 1.7, available is 1.13
Nettle port is out of date. Nettle website has 1.13 for ages. Nettle port needs to be updated for software fixes purposes. Bumped portversion of lang/pike76 PR: ports/87655 Submitted by: Xavier beaudouin <kiwi@oav.net>
Notes
Notes: svn path=/head/; revision=149277
Diffstat (limited to 'security/nettle2/files')
-rw-r--r--security/nettle2/files/patch-Makefile.in14
-rw-r--r--security/nettle2/files/patch-configure22
-rw-r--r--security/nettle2/files/patch-examples_nettle-openssl.c29
3 files changed, 18 insertions, 47 deletions
diff --git a/security/nettle2/files/patch-Makefile.in b/security/nettle2/files/patch-Makefile.in
index 5e9e5bd2c686..a46bc2fb063b 100644
--- a/security/nettle2/files/patch-Makefile.in
+++ b/security/nettle2/files/patch-Makefile.in
@@ -1,10 +1,10 @@
---- Makefile.in.orig Fri Oct 24 14:28:03 2003
-+++ Makefile.in Fri Oct 24 14:29:11 2003
-@@ -1067,7 +1067,6 @@ $(SHLIBFORLINK): $(SHLIBOBJECTS)
- install-shared: $(SHLIBFORLINK)
- $(INSTALL_DATA) $(SHLIBFORLINK) $(DESTDIR)$(libdir)/$(SHLIBFILE)
- (cd $(DESTDIR)$(libdir) \
+--- Makefile.in.orig Tue Nov 1 09:34:09 2005
++++ Makefile.in Tue Nov 1 09:34:24 2005
+@@ -221,7 +221,6 @@
+ $(INSTALL_PROGRAM) $(SHLIBFORLINK) $(DESTDIR)$(libdir)/$(SHLIBFILE)
+ [ -z "$(SHLIBSONAME)" ] \
+ || (cd $(DESTDIR)$(libdir) \
- && ln -sf $(SHLIBFILE) $(SHLIBSONAME) \
&& ln -sf $(SHLIBFILE) $(SHLIBFORLINK) )
- %.html : %.texinfo
+ install-info: nettle.info
diff --git a/security/nettle2/files/patch-configure b/security/nettle2/files/patch-configure
index 96c78f36792e..dceae170135b 100644
--- a/security/nettle2/files/patch-configure
+++ b/security/nettle2/files/patch-configure
@@ -1,11 +1,11 @@
---- configure.orig Fri Oct 24 14:27:53 2003
-+++ configure Fri Oct 24 14:28:43 2003
-@@ -3160,7 +3160,7 @@ fi
- SHLIBCFLAGS="-fpic"
- SHLIBFORLINK=libnettle.so
- SHLIBSONAME='$(SHLIBFORLINK).$(SHLIBMAJOR)'
--SHLIBFILE='$(SHLIBSONAME).$(SHLIBMINOR)'
-+SHLIBFILE='$(SHLIBSONAME)'
- SHLIBLINK='$(CC) $(LDFLAGS) -shared -Wl,-soname=$(SHLIBSONAME)'
-
- echo "enable_shared: $enable_shared"
+--- configure.orig Tue Nov 1 09:35:20 2005
++++ configure Tue Nov 1 09:36:28 2005
+@@ -2990,7 +2990,7 @@
+ *)
+ SHLIBFORLINK=libnettle.so
+ SHLIBSONAME='$(SHLIBFORLINK).$(SHLIBMAJOR)'
+- SHLIBFILE='$(SHLIBSONAME).$(SHLIBMINOR)'
++ SHLIBFILE='$(SHLIBSONAME)'
+ SHLIBLINK='$(CC) $(LDFLAGS) -shared -Wl,-soname=$(SHLIBSONAME)'
+ # FIXME: It might make some sense to link with -lgmp
+ SHLIBLIBS=''
diff --git a/security/nettle2/files/patch-examples_nettle-openssl.c b/security/nettle2/files/patch-examples_nettle-openssl.c
deleted file mode 100644
index dbd034518587..000000000000
--- a/security/nettle2/files/patch-examples_nettle-openssl.c
+++ /dev/null
@@ -1,29 +0,0 @@
---- examples/nettle-openssl.c.orig Fri Nov 8 16:05:20 2002
-+++ examples/nettle-openssl.c Thu May 1 12:52:10 2003
-@@ -93,7 +93,7 @@
- openssl_des_set_key(void *ctx, unsigned length, const uint8_t *key)
- {
- assert(length == 8);
-- des_key_sched((char *) key, ctx);
-+ des_key_sched((const_DES_cblock *)key, ctx);
- }
-
- #define DES_BLOCK_SIZE 8
-@@ -105,7 +105,7 @@
- assert (!(length % DES_BLOCK_SIZE));
- while (length)
- {
-- des_ecb_encrypt((char *) src, (char *) dst, ctx, DES_ENCRYPT);
-+ des_ecb_encrypt((const_DES_cblock *)src, (DES_cblock *)dst, ctx, DES_ENCRYPT);
- length -= DES_BLOCK_SIZE;
- dst += DES_BLOCK_SIZE;
- src += DES_BLOCK_SIZE;
-@@ -119,7 +119,7 @@
- assert (!(length % DES_BLOCK_SIZE));
- while (length)
- {
-- des_ecb_encrypt((char *) src, (char *) dst, ctx, DES_DECRYPT);
-+ des_ecb_encrypt((const_DES_cblock *) src, (DES_cblock *) dst, ctx, DES_DECRYPT);
- length -= DES_BLOCK_SIZE;
- dst += DES_BLOCK_SIZE;
- src += DES_BLOCK_SIZE;