pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/prngd Use FreeBSD config.h fragment on FreeBS...
details: https://anonhg.NetBSD.org/pkgsrc/rev/21b97c33c310
branches: trunk
changeset: 504302:21b97c33c310
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Dec 08 17:46:16 2005 +0000
description:
Use FreeBSD config.h fragment on FreeBSD and DragonFly.
diffstat:
security/prngd/distinfo | 3 ++-
security/prngd/patches/patch-aa | 28 ++++++++++++++++++++++++++++
2 files changed, 30 insertions(+), 1 deletions(-)
diffs (43 lines):
diff -r 3093287796df -r 21b97c33c310 security/prngd/distinfo
--- a/security/prngd/distinfo Thu Dec 08 17:36:56 2005 +0000
+++ b/security/prngd/distinfo Thu Dec 08 17:46:16 2005 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 13:10:12 agc Exp $
+$NetBSD: distinfo,v 1.3 2005/12/08 17:46:16 joerg Exp $
SHA1 (prngd-0.9.29.tar.gz) = 72e82928b99a94e11fe379159d5fe3a5ddab4112
RMD160 (prngd-0.9.29.tar.gz) = 08a61c80ce18782e5accd5e7e7b7fd6482120eab
Size (prngd-0.9.29.tar.gz) = 76392 bytes
+SHA1 (patch-aa) = af3891375f135a69d3da14e6095d68d6554e83d8
diff -r 3093287796df -r 21b97c33c310 security/prngd/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/prngd/patches/patch-aa Thu Dec 08 17:46:16 2005 +0000
@@ -0,0 +1,28 @@
+$NetBSD: patch-aa,v 1.1 2005/12/08 17:46:16 joerg Exp $
+
+--- config.h.orig 2005-12-08 17:41:53.000000000 +0000
++++ config.h
+@@ -169,12 +169,13 @@ int getrusage(int who, struct rusage *ru
+ #define PATH_SYSLOG "/private/var/log/system.log"
+ #endif
+
+-#ifdef FREEBSD
++#if defined(__FreeBSD__) || defined(__DragonFly__)
+ #define HAVE_GETRUSAGE
+ /* not yet supported */
+ #define O_RSYNC 0
+ #ifndef O_SYNC
+ #define O_SYNC O_FSYNC
++#endif
+ #define PATH_TMP "/tmp"
+ #define PATH_VAR_TMP "/var/tmp"
+ #define PATH_PASSWD "/etc/passwd"
+@@ -183,8 +184,6 @@ int getrusage(int who, struct rusage *ru
+ #define PATH_SYSLOG "/var/log/messages"
+ #endif
+
+-#endif
+-
+ #ifdef NEXTSTEP
+ #define HAVE_GETRUSAGE
+ /* not supported */
Home |
Main Index |
Thread Index |
Old Index