diff options
author | fredb <fredb@pkgsrc.org> | 2002-08-07 10:30:53 +0000 |
---|---|---|
committer | fredb <fredb@pkgsrc.org> | 2002-08-07 10:30:53 +0000 |
commit | abd1be5e66225f52f68c555ea2918de26a63b5f6 (patch) | |
tree | db7eb30873cbe5b469fbe1cce15240ee4aa1656d /security | |
parent | 355e717402fe8b3f29f959f79081ffd61cab0a22 (diff) | |
download | pkgsrc-abd1be5e66225f52f68c555ea2918de26a63b5f6.tar.gz |
Remove my macros for missing strlcpy() and strncpy() which aren't correct,
and don't actually work.
Diffstat (limited to 'security')
-rw-r--r-- | security/openssl/distinfo | 3 | ||||
-rw-r--r-- | security/openssl/patches/patch-ag | 25 |
2 files changed, 1 insertions, 27 deletions
diff --git a/security/openssl/distinfo b/security/openssl/distinfo index 80bcc8d9ede..82342fb5dac 100644 --- a/security/openssl/distinfo +++ b/security/openssl/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.9 2002/08/04 15:47:44 fredb Exp $ +$NetBSD: distinfo,v 1.10 2002/08/07 10:30:53 fredb Exp $ SHA1 (openssl-0.9.6e.tar.gz) = b9eefc560058fc06ad2e24c22d477424ad37fe0d Size (openssl-0.9.6e.tar.gz) = 2158566 bytes @@ -10,4 +10,3 @@ SHA1 (patch-ac) = 11d459aa2e7fe0c4d59285db25b74b8b06396c36 SHA1 (patch-ad) = ee8283d5537edce1bb60470c616ebabfda0aa084 SHA1 (patch-ae) = f4bf6ae5aa41b55d9978376e4e50ee10c10dd288 SHA1 (patch-af) = bffccbde6871b7e279c565671308a5740534449e -SHA1 (patch-ag) = 5751967aaa774e213eaddd4afe48e742cc6e8944 diff --git a/security/openssl/patches/patch-ag b/security/openssl/patches/patch-ag deleted file mode 100644 index cef3e9c6646..00000000000 --- a/security/openssl/patches/patch-ag +++ /dev/null @@ -1,25 +0,0 @@ -$NetBSD: patch-ag,v 1.4 2002/08/04 15:47:47 fredb Exp $ - ---- e_os.h.orig Fri Aug 2 15:08:30 2002 -+++ e_os.h -@@ -431,6 +431,20 @@ - (((errnum)<0 || (errnum)>=sys_nerr) ? NULL : sys_errlist[errnum]) - #endif - -+#if defined(__NetBSD_Version__) -+#define NetBSD_1_4_3 104000300 -+#define NetBSD_1_4A 104010000 -+#define NetBSD_1_4K 104110000 -+#if (__NetBSD_Version__ < NetBSD_1_4_3) || \ -+ (__NetBSD_Version__ >= NetBSD_1_4A) && (__NetBSD_Version__ <= NetBSD_1_4K) -+#include <string.h> -+# define strlcat(s2,s1,n) \ -+ (strncat(s2,s1,n); n ? memset(s2[n-1],0,1) : 0; strlen(s1) + strlen(s2)) -+# define strlcpy(s2,s1,n) \ -+ (strncpy(s2,s1,n); n ? memset(s2[n-1],0,1) : 0; strlen(s1)) -+#endif -+#endif /* __NetBSD_Version__ */ -+ - /***********************************************/ - - /* do we need to do this for getenv. |