diff options
author | martti <martti> | 2002-12-16 10:55:03 +0000 |
---|---|---|
committer | martti <martti> | 2002-12-16 10:55:03 +0000 |
commit | b283af5e60a4e151313d7368ac6842769de53a65 (patch) | |
tree | f2ef74bf2a0d232af8838945cfab2516e97022b7 /security/cyrus-sasl | |
parent | 1457619dc5a71579bc93f3b8e32d5f7d86302e3f (diff) | |
download | pkgsrc-b283af5e60a4e151313d7368ac6842769de53a65.tar.gz |
On NetBSD use /dev/urandom insted of /dev/random (PR#19275).
Bump PKGREVISION.
Diffstat (limited to 'security/cyrus-sasl')
-rw-r--r-- | security/cyrus-sasl/Makefile | 4 | ||||
-rw-r--r-- | security/cyrus-sasl/distinfo | 5 | ||||
-rw-r--r-- | security/cyrus-sasl/patches/patch-ai | 13 | ||||
-rw-r--r-- | security/cyrus-sasl/patches/patch-ar | 16 |
4 files changed, 30 insertions, 8 deletions
diff --git a/security/cyrus-sasl/Makefile b/security/cyrus-sasl/Makefile index 0c5c2e3d94f..417ed99ef88 100644 --- a/security/cyrus-sasl/Makefile +++ b/security/cyrus-sasl/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.36 2002/10/21 06:03:41 jlam Exp $ +# $NetBSD: Makefile,v 1.37 2002/12/16 10:55:03 martti Exp $ DISTNAME= cyrus-sasl-1.5.27 SVR4_PKGNAME= csasl -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= security MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \ ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/OLD-VERSIONS/sasl/ diff --git a/security/cyrus-sasl/distinfo b/security/cyrus-sasl/distinfo index be3ec8530bc..b821c8df6c8 100644 --- a/security/cyrus-sasl/distinfo +++ b/security/cyrus-sasl/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.10 2002/10/21 06:03:42 jlam Exp $ +$NetBSD: distinfo,v 1.11 2002/12/16 10:55:03 martti Exp $ SHA1 (cyrus-sasl-1.5.27.tar.gz) = eedaec8355219b61e64236e3a5d9845d3af5a13d Size (cyrus-sasl-1.5.27.tar.gz) = 528252 bytes @@ -10,7 +10,7 @@ SHA1 (patch-ae) = b9f4295f80a64defe0381bce7def7b462bf5d196 SHA1 (patch-af) = 05ba0da5932f8674d63f70b6a0ba6d6d4b0d29c3 SHA1 (patch-ag) = 9eed2d94c7c5546bcecf041c53f53fd51486c221 SHA1 (patch-ah) = 84bb1809f9d1914746ca02de3ffc55149c28dd75 -SHA1 (patch-ai) = 55ade1200d2c5b8f20b4c1775d6c3b7d3b8ef278 +SHA1 (patch-ai) = c2c5d5e8d507043d074ba96f6b903aa89520286b SHA1 (patch-aj) = 386ebb6e33c93bed497b438b397e903200eb4549 SHA1 (patch-ak) = c65c4b2f9082e8beedcedca140410f31f9599b76 SHA1 (patch-al) = c54b721c7cc69c1050600633d982e8a05d91e283 @@ -19,3 +19,4 @@ SHA1 (patch-an) = 308593d234b6d422749ebc409fd489d518c2a482 SHA1 (patch-ao) = 63048c5d49a3e5dcc1065149864e567ef3cabb0e SHA1 (patch-ap) = 074396e63f20f6457a7f95e29bb3c8c4e7b166ef SHA1 (patch-aq) = d15cbbcc501a56407fb4cdfc08ef71bfb961f0a4 +SHA1 (patch-ar) = 4ce4bdf102c3632bf921eb3cbd2abd22150a8b94 diff --git a/security/cyrus-sasl/patches/patch-ai b/security/cyrus-sasl/patches/patch-ai index 4cfc47f94fa..8f328f96a62 100644 --- a/security/cyrus-sasl/patches/patch-ai +++ b/security/cyrus-sasl/patches/patch-ai @@ -1,8 +1,8 @@ -$NetBSD: patch-ai,v 1.1 2001/01/31 22:47:53 jlam Exp $ +$NetBSD: patch-ai,v 1.2 2002/12/16 10:55:03 martti Exp $ ---- acconfig.h.orig Wed Jul 5 12:59:25 2000 -+++ acconfig.h -@@ -123,10 +123,15 @@ +--- acconfig.h.orig Sat Feb 17 06:06:28 2001 ++++ acconfig.h Mon Dec 16 11:44:12 2002 +@@ -128,11 +128,20 @@ /* define if your system has getpid() */ #undef HAVE_GETPID @@ -16,6 +16,11 @@ $NetBSD: patch-ai,v 1.1 2001/01/31 22:47:53 jlam Exp $ +#ifdef SASL_DEV_RANDOM +#define DEV_RANDOM SASL_DEV_RANDOM +#else ++#if defined(__NetBSD__) ++#define DEV_RANDOM "/dev/urandom" ++#else #define DEV_RANDOM "/dev/random" ++#endif #endif + /* Make Solaris happy... */ diff --git a/security/cyrus-sasl/patches/patch-ar b/security/cyrus-sasl/patches/patch-ar new file mode 100644 index 00000000000..f06230779a5 --- /dev/null +++ b/security/cyrus-sasl/patches/patch-ar @@ -0,0 +1,16 @@ +$NetBSD: patch-ar,v 1.1 2002/12/16 10:55:03 martti Exp $ + +--- config.h.in.orig Wed Mar 14 05:49:33 2001 ++++ config.h.in Mon Dec 16 11:32:55 2002 +@@ -200,7 +200,11 @@ + + /* location of the random number generator */ + #ifndef DEV_RANDOM ++#if defined(__NetBSD__) ++#define DEV_RANDOM "/dev/urandom" ++#else + #define DEV_RANDOM "/dev/random" ++#endif + #endif + + /* Make Solaris happy... */ |