pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/tacacs Fix errno. Define O_SYNC as O_FSYNC for Dra...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1b6257466f23
branches:  trunk
changeset: 504666:1b6257466f23
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Dec 18 19:23:04 2005 +0000

description:
Fix errno. Define O_SYNC as O_FSYNC for DragonFly.

diffstat:

 net/tacacs/distinfo         |   6 ++++--
 net/tacacs/patches/patch-ab |  12 +++++++-----
 net/tacacs/patches/patch-ad |  15 +++++++++++++++
 net/tacacs/patches/patch-ae |  13 +++++++++++++
 4 files changed, 39 insertions(+), 7 deletions(-)

diffs (85 lines):

diff -r 1fb37a950859 -r 1b6257466f23 net/tacacs/distinfo
--- a/net/tacacs/distinfo       Sun Dec 18 19:07:00 2005 +0000
+++ b/net/tacacs/distinfo       Sun Dec 18 19:23:04 2005 +0000
@@ -1,8 +1,10 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 12:14:04 agc Exp $
+$NetBSD: distinfo,v 1.4 2005/12/18 19:23:04 joerg Exp $
 
 SHA1 (tac_plus.F4.0.4.alpha.tar.Z) = 23ccb0b7db6909bd45dcf6762ef32917d3465dd6
 RMD160 (tac_plus.F4.0.4.alpha.tar.Z) = 733fbac017cfd2efcd7b5e80e1747bdd0c6fd60e
 Size (tac_plus.F4.0.4.alpha.tar.Z) = 193771 bytes
 SHA1 (patch-aa) = daaf8f737441d17b1339bb1c6b7f865a95f706bc
-SHA1 (patch-ab) = 394c640e01d12f44e40741baa2ddbb60495e5e22
+SHA1 (patch-ab) = 52ccf27a6a904d6e9c6dd6044784c7c4e0126000
 SHA1 (patch-ac) = 11ea986ede6d2a277747cd9abc3bdcade1bf1e7a
+SHA1 (patch-ad) = 9cfabd64567a29f825edc487ddeb2d173a3e883f
+SHA1 (patch-ae) = 67305db0c6dd64b33c00b8dc5dbb3c40fa50e094
diff -r 1fb37a950859 -r 1b6257466f23 net/tacacs/patches/patch-ab
--- a/net/tacacs/patches/patch-ab       Sun Dec 18 19:07:00 2005 +0000
+++ b/net/tacacs/patches/patch-ab       Sun Dec 18 19:23:04 2005 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.1.1.1 2000/10/15 17:26:42 rh Exp $
+$NetBSD: patch-ab,v 1.2 2005/12/18 19:23:04 joerg Exp $
 
---- tac_plus.h.orig    Tue Oct  3 17:11:45 2000
+--- tac_plus.h.orig    2000-06-18 17:26:54.000000000 +0000
 +++ tac_plus.h
 @@ -79,6 +79,7 @@
  #define STDLIB_MALLOC
@@ -10,7 +10,7 @@
  #define VOIDSIG
  #endif
  
-@@ -689,10 +690,12 @@
+@@ -689,12 +690,13 @@ extern void parser_init();
  extern void set_expiration_status();
  
  /* miscellaneous */
@@ -19,7 +19,9 @@
  extern const char *const sys_errlist[];
  #else
  extern char *sys_errlist[];
+ #endif
+-extern int errno;
 +#endif
- #endif
- extern int errno;
  extern int sendauth_fn();
+ extern int sendpass_fn();
+ extern int enable_fn();
diff -r 1fb37a950859 -r 1b6257466f23 net/tacacs/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/tacacs/patches/patch-ad       Sun Dec 18 19:23:04 2005 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ad,v 1.1 2005/12/18 19:23:04 joerg Exp $
+
+--- do_acct.c.orig     2005-12-18 19:15:09.000000000 +0000
++++ do_acct.c
+@@ -20,6 +20,10 @@
+ 
+ #include "tac_plus.h"
+ 
++#if defined(__DragonFly__) && !defined(O_SYNC)
++#define O_SYNC O_FSYNC
++#endif
++
+ static int acctfd = 0;
+ 
+ /* Make a acct entry into the accounting file for accounting. 
diff -r 1fb37a950859 -r 1b6257466f23 net/tacacs/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/tacacs/patches/patch-ae       Sun Dec 18 19:23:04 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1 2005/12/18 19:23:04 joerg Exp $
+
+--- report.c.orig      2005-12-18 19:16:18.000000000 +0000
++++ report.c
+@@ -143,8 +143,6 @@ va_dcl                             /* no terminating semi-colon *
+ 
+ 
+     if (console) {
+-      extern int errno;
+-      
+       if (!ostream)
+           ostream = fopen("/dev/console", "w");
+ 



Home | Main Index | Thread Index | Old Index