pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/tcp_wrappers



Module Name:    pkgsrc
Committed By:   tnn
Date:           Mon Aug  5 12:48:18 UTC 2024

Modified Files:
        pkgsrc/security/tcp_wrappers: Makefile distinfo
        pkgsrc/security/tcp_wrappers/patches: patch-ab patch-ai patch-aj
Added Files:
        pkgsrc/security/tcp_wrappers/patches: patch-clean__exit.c patch-diag.c
            patch-fakelog.c patch-myvsyslog.c patch-options.c
            patch-percent__x.c patch-rfc931.c patch-safe__finger.c
            patch-setenv.c patch-shell__cmd.c patch-tcpd.c patch-tcpdmatch.c
            patch-try-from.c patch-update.c

Log Message:
tcp_wrappers: add various missing include and protos to fix build


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 pkgsrc/security/tcp_wrappers/Makefile
cvs rdiff -u -r1.20 -r1.21 pkgsrc/security/tcp_wrappers/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/security/tcp_wrappers/patches/patch-ab
cvs rdiff -u -r1.1 -r1.2 pkgsrc/security/tcp_wrappers/patches/patch-ai \
    pkgsrc/security/tcp_wrappers/patches/patch-aj
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/security/tcp_wrappers/patches/patch-clean__exit.c \
    pkgsrc/security/tcp_wrappers/patches/patch-diag.c \
    pkgsrc/security/tcp_wrappers/patches/patch-fakelog.c \
    pkgsrc/security/tcp_wrappers/patches/patch-myvsyslog.c \
    pkgsrc/security/tcp_wrappers/patches/patch-options.c \
    pkgsrc/security/tcp_wrappers/patches/patch-percent__x.c \
    pkgsrc/security/tcp_wrappers/patches/patch-rfc931.c \
    pkgsrc/security/tcp_wrappers/patches/patch-safe__finger.c \
    pkgsrc/security/tcp_wrappers/patches/patch-setenv.c \
    pkgsrc/security/tcp_wrappers/patches/patch-shell__cmd.c \
    pkgsrc/security/tcp_wrappers/patches/patch-tcpd.c \
    pkgsrc/security/tcp_wrappers/patches/patch-tcpdmatch.c \
    pkgsrc/security/tcp_wrappers/patches/patch-try-from.c \
    pkgsrc/security/tcp_wrappers/patches/patch-update.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/tcp_wrappers/Makefile
diff -u pkgsrc/security/tcp_wrappers/Makefile:1.42 pkgsrc/security/tcp_wrappers/Makefile:1.43
--- pkgsrc/security/tcp_wrappers/Makefile:1.42  Fri Jan 29 10:43:14 2016
+++ pkgsrc/security/tcp_wrappers/Makefile       Mon Aug  5 12:48:18 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2016/01/29 10:43:14 jperkin Exp $
+# $NetBSD: Makefile,v 1.43 2024/08/05 12:48:18 tnn Exp $
 
 DISTNAME=      tcp_wrappers_7.6-ipv6.4
 PKGNAME=       ${DISTNAME:S/_7.6-ipv6/-7.6/}
@@ -42,6 +42,9 @@ MAKE_ENV+=    IPV6=-DHAVE_IPV6
 .  endif
 .endif
 
+CFLAGS+=       -D_POSIX_C_SOURCE=200809L       # popen(3)
+CFLAGS+=       -D_XOPEN_SOURCE=500             # endgrent(3)
+
 # Default to /etc/hosts.{allow,deny} for the configuration files to match
 # the historic location of these files.  This may be changed by setting
 # PKG_SYSCONFDIR.tcp_wrappers to a different value in /etc/mk.conf.

Index: pkgsrc/security/tcp_wrappers/distinfo
diff -u pkgsrc/security/tcp_wrappers/distinfo:1.20 pkgsrc/security/tcp_wrappers/distinfo:1.21
--- pkgsrc/security/tcp_wrappers/distinfo:1.20  Tue Oct 26 11:18:04 2021
+++ pkgsrc/security/tcp_wrappers/distinfo       Mon Aug  5 12:48:18 2024
@@ -1,14 +1,28 @@
-$NetBSD: distinfo,v 1.20 2021/10/26 11:18:04 nia Exp $
+$NetBSD: distinfo,v 1.21 2024/08/05 12:48:18 tnn Exp $
 
 BLAKE2s (tcp_wrappers_7.6-ipv6.4.tar.gz) = d05aa438c87a74553812522d91d4dc3c078ed3d176512fde8fe1094f11915ee7
 SHA512 (tcp_wrappers_7.6-ipv6.4.tar.gz) = b753b2e54fe243fbcb403470b19fa1b08a912a6a65981dc1bf20288379b903701d4b5a477350cb3470cb6d908cf51ef653f44dc17daff17f34e59b6aa1b41c95
 Size (tcp_wrappers_7.6-ipv6.4.tar.gz) = 138700 bytes
 SHA1 (patch-aa) = 6bc6f0523b4e8c31a4b02af948f285e800d5c59b
-SHA1 (patch-ab) = b05733e5e615bd3009045ecef4d4e988c8df6236
+SHA1 (patch-ab) = 3cf3d6647a5d36acbe9c263b2ac6156f496fcc51
 SHA1 (patch-ac) = a9cd493a470782e8f6bdd38fde6c746fb1e371c0
 SHA1 (patch-af) = 1bf946174b027880014e64aa9b84dcfa5ca951a0
 SHA1 (patch-ag) = a2c88d1db9b3ec127f7a0889dcb4329ea3eb06a3
 SHA1 (patch-ah) = fa829052d466a4597c1cec528ab02c9d2ea98a60
-SHA1 (patch-ai) = f5a675f8fd1cc7e4e735dc8a9804f1dcf8d276bc
-SHA1 (patch-aj) = 6332edd3e464d0f68bfa10dc6724346d0bc05f1f
+SHA1 (patch-ai) = 8e27da22c3e52d755749968d07c1e9227c48f417
+SHA1 (patch-aj) = 07f1d068d8e0173fe16ebef5430c0b5d257eac3f
+SHA1 (patch-clean__exit.c) = 6a61c97251c37c2f67d47cc31cd01b31de1a0d32
+SHA1 (patch-diag.c) = 370d7473e3d3bb29308903c1ee530cdd15978708
+SHA1 (patch-fakelog.c) = 68cd6578fd534d0ae72571d53c259638b691df4d
 SHA1 (patch-fix_options.c) = ce49ff5b4b1e26eb7634e61fa33ad4697917fbcb
+SHA1 (patch-myvsyslog.c) = bda66de72825eadbf175ebe4ba47107317d7f820
+SHA1 (patch-options.c) = 3e33dc27a5b3e17889536124e4d5c5262758f2a0
+SHA1 (patch-percent__x.c) = 5bab0ee0afdab1b3e3dbbc4195015be7281875e7
+SHA1 (patch-rfc931.c) = 27bbe7fdbff981dbb6ad50816bd5a23c9d86a2c0
+SHA1 (patch-safe__finger.c) = bb8af8c4919cc016b58a18510c941aea99eb56e1
+SHA1 (patch-setenv.c) = d6b126f99fc2c01eb120b8835c2a2c17469c20a2
+SHA1 (patch-shell__cmd.c) = a003824c8865dd170f7279e561d437fdcc2d4416
+SHA1 (patch-tcpd.c) = 6cca01afc932c71d01af8fd4869053395217ee67
+SHA1 (patch-tcpdmatch.c) = 97517e55d41e1004f7c4622aebd010a9d9558f32
+SHA1 (patch-try-from.c) = 7c573da758f2709c9f1be332adffd284b1d64c98
+SHA1 (patch-update.c) = 2d77db15431878666cc37aa06e32bd3eb296f807

Index: pkgsrc/security/tcp_wrappers/patches/patch-ab
diff -u pkgsrc/security/tcp_wrappers/patches/patch-ab:1.3 pkgsrc/security/tcp_wrappers/patches/patch-ab:1.4
--- pkgsrc/security/tcp_wrappers/patches/patch-ab:1.3   Fri Jul 20 09:58:36 2012
+++ pkgsrc/security/tcp_wrappers/patches/patch-ab       Mon Aug  5 12:48:18 2024
@@ -1,8 +1,16 @@
-$NetBSD: patch-ab,v 1.3 2012/07/20 09:58:36 adam Exp $
+$NetBSD: patch-ab,v 1.4 2024/08/05 12:48:18 tnn Exp $
 
 --- tcpd.h.orig        2003-04-16 14:27:11.000000000 +0000
 +++ tcpd.h
-@@ -137,7 +137,11 @@ extern void fromhost();                   /* get/validat
+@@ -11,6 +11,7 @@
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>
++#include <strings.h>
+ 
+ typedef struct sockaddr_gen {
+     union {
+@@ -137,7 +138,11 @@ extern void fromhost();                   /* get/validat
  #define fromhost sock_host            /* no TLI support needed */
  #endif
  
@@ -14,7 +22,7 @@ $NetBSD: patch-ab,v 1.3 2012/07/20 09:58
  extern void shell_cmd();              /* execute shell command */
  extern char *percent_x();             /* do %<char> expansion */
  extern void rfc931();                 /* client name from RFC 931 daemon */
-@@ -196,20 +200,35 @@ extern struct request_info *request_set(
+@@ -196,20 +201,35 @@ extern struct request_info *request_set(
    * host_info structures serve as caches for the lookup results.
    */
  

Index: pkgsrc/security/tcp_wrappers/patches/patch-ai
diff -u pkgsrc/security/tcp_wrappers/patches/patch-ai:1.1 pkgsrc/security/tcp_wrappers/patches/patch-ai:1.2
--- pkgsrc/security/tcp_wrappers/patches/patch-ai:1.1   Fri Jan 27 17:33:55 2006
+++ pkgsrc/security/tcp_wrappers/patches/patch-ai       Mon Aug  5 12:48:18 2024
@@ -1,8 +1,8 @@
-$NetBSD: patch-ai,v 1.1 2006/01/27 17:33:55 joerg Exp $
+$NetBSD: patch-ai,v 1.2 2024/08/05 12:48:18 tnn Exp $
 
---- inetcf.c.orig      2006-01-27 17:27:06.000000000 +0000
+--- inetcf.c.orig      1997-02-12 01:13:24.000000000 +0000
 +++ inetcf.c
-@@ -12,12 +12,10 @@ static char sccsid[] = "@(#) inetcf.c 1.
+@@ -12,14 +12,13 @@ static char sccsid[] = "@(#) inetcf.c 1.
  #include <sys/types.h>
  #include <sys/stat.h>
  #include <stdio.h>
@@ -15,4 +15,7 @@ $NetBSD: patch-ai,v 1.1 2006/01/27 17:33
 -
  #include "tcpd.h"
  #include "inetcf.h"
++#include "scaffold.h"
  
+  /*
+   * Network configuration files may live in unusual places. Here are some
Index: pkgsrc/security/tcp_wrappers/patches/patch-aj
diff -u pkgsrc/security/tcp_wrappers/patches/patch-aj:1.1 pkgsrc/security/tcp_wrappers/patches/patch-aj:1.2
--- pkgsrc/security/tcp_wrappers/patches/patch-aj:1.1   Fri Jan 27 17:33:55 2006
+++ pkgsrc/security/tcp_wrappers/patches/patch-aj       Mon Aug  5 12:48:18 2024
@@ -1,8 +1,8 @@
-$NetBSD: patch-aj,v 1.1 2006/01/27 17:33:55 joerg Exp $
+$NetBSD: patch-aj,v 1.2 2024/08/05 12:48:18 tnn Exp $
 
---- tcpdchk.c.orig     2006-01-27 17:28:34.000000000 +0000
+--- tcpdchk.c.orig     1999-10-28 06:38:06.000000000 +0000
 +++ tcpdchk.c
-@@ -25,14 +25,13 @@ static char sccsid[] = "@(#) tcpdchk.c 1
+@@ -25,14 +25,14 @@ static char sccsid[] = "@(#) tcpdchk.c 1
  #include <netinet/in.h>
  #include <arpa/inet.h>
  #include <stdio.h>
@@ -12,6 +12,7 @@ $NetBSD: patch-aj,v 1.1 2006/01/27 17:33
  #include <errno.h>
  #include <netdb.h>
  #include <string.h>
++#include <unistd.h>
  
 -extern int errno;
 -extern void exit();

Added files:

Index: pkgsrc/security/tcp_wrappers/patches/patch-clean__exit.c
diff -u /dev/null pkgsrc/security/tcp_wrappers/patches/patch-clean__exit.c:1.1
--- /dev/null   Mon Aug  5 12:48:19 2024
+++ pkgsrc/security/tcp_wrappers/patches/patch-clean__exit.c    Mon Aug  5 12:48:18 2024
@@ -0,0 +1,12 @@
+$NetBSD: patch-clean__exit.c,v 1.1 2024/08/05 12:48:18 tnn Exp $
+
+--- clean_exit.c.orig  2024-08-05 13:51:37.866956280 +0000
++++ clean_exit.c
+@@ -13,6 +13,7 @@ static char sccsid[] = "@(#) clean_exit.
+ #endif
+ 
+ #include <stdio.h>
++#include <unistd.h>
+ 
+ extern void exit();
+ 
Index: pkgsrc/security/tcp_wrappers/patches/patch-diag.c
diff -u /dev/null pkgsrc/security/tcp_wrappers/patches/patch-diag.c:1.1
--- /dev/null   Mon Aug  5 12:48:19 2024
+++ pkgsrc/security/tcp_wrappers/patches/patch-diag.c   Mon Aug  5 12:48:18 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-diag.c,v 1.1 2024/08/05 12:48:18 tnn Exp $
+
+--- diag.c.orig        2024-08-05 14:02:57.737811465 +0000
++++ diag.c
+@@ -24,6 +24,10 @@ static char sccsid[] = "@(#) diag.c 1.1
+ #include "tcpd.h"
+ #include "mystdarg.h"
+ 
++#ifdef vsyslog
++void myvsyslog(int, char*, va_list);
++#endif
++
+ struct tcpd_context tcpd_context;
+ jmp_buf tcpd_buf;
+ 
Index: pkgsrc/security/tcp_wrappers/patches/patch-fakelog.c
diff -u /dev/null pkgsrc/security/tcp_wrappers/patches/patch-fakelog.c:1.1
--- /dev/null   Mon Aug  5 12:48:19 2024
+++ pkgsrc/security/tcp_wrappers/patches/patch-fakelog.c        Mon Aug  5 12:48:18 2024
@@ -0,0 +1,36 @@
+$NetBSD: patch-fakelog.c,v 1.1 2024/08/05 12:48:18 tnn Exp $
+
+--- fakelog.c.orig     1994-12-28 16:42:22.000000000 +0000
++++ fakelog.c
+@@ -17,6 +17,7 @@ static char sccsid[] = "@(#) fakelog.c 1
+ 
+ /* ARGSUSED */
+ 
++void
+ openlog(name, logopt, facility)
+ char   *name;
+ int     logopt;
+@@ -27,6 +28,7 @@ int     facility;
+ 
+ /* vsyslog - format one record */
+ 
++void
+ vsyslog(severity, fmt, ap)
+ int     severity;
+ char   *fmt;
+@@ -43,6 +45,7 @@ va_list ap;
+ 
+ /* VARARGS */
+ 
++void
+ VARARGS(syslog, int, severity)
+ {
+     va_list ap;
+@@ -56,6 +59,7 @@ VARARGS(syslog, int, severity)
+ 
+ /* closelog - dummy */
+ 
++void
+ closelog()
+ {
+     /* void */
Index: pkgsrc/security/tcp_wrappers/patches/patch-myvsyslog.c
diff -u /dev/null pkgsrc/security/tcp_wrappers/patches/patch-myvsyslog.c:1.1
--- /dev/null   Mon Aug  5 12:48:19 2024
+++ pkgsrc/security/tcp_wrappers/patches/patch-myvsyslog.c      Mon Aug  5 12:48:18 2024
@@ -0,0 +1,17 @@
+$NetBSD: patch-myvsyslog.c,v 1.1 2024/08/05 12:48:18 tnn Exp $
+
+--- myvsyslog.c.orig   2024-08-05 14:02:49.411601058 +0000
++++ myvsyslog.c
+@@ -14,10 +14,12 @@ static char sccsid[] = "@(#) myvsyslog.c
+ #ifdef vsyslog
+ 
+ #include <stdio.h>
++#include <syslog.h>
+ 
+ #include "tcpd.h"
+ #include "mystdarg.h"
+ 
++void
+ myvsyslog(severity, format, ap)
+ int     severity;
+ char   *format;
Index: pkgsrc/security/tcp_wrappers/patches/patch-options.c
diff -u /dev/null pkgsrc/security/tcp_wrappers/patches/patch-options.c:1.1
--- /dev/null   Mon Aug  5 12:48:19 2024
+++ pkgsrc/security/tcp_wrappers/patches/patch-options.c        Mon Aug  5 12:48:18 2024
@@ -0,0 +1,13 @@
+$NetBSD: patch-options.c,v 1.1 2024/08/05 12:48:18 tnn Exp $
+
+--- options.c.orig     2024-08-05 14:07:29.242137802 +0000
++++ options.c
+@@ -47,6 +47,8 @@ static char sccsid[] = "@(#) options.c 1
+ #include <ctype.h>
+ #include <setjmp.h>
+ #include <string.h>
++#include <unistd.h>
++#include <stdlib.h>
+ 
+ #ifndef MAXPATHNAMELEN
+ #define MAXPATHNAMELEN  BUFSIZ
Index: pkgsrc/security/tcp_wrappers/patches/patch-percent__x.c
diff -u /dev/null pkgsrc/security/tcp_wrappers/patches/patch-percent__x.c:1.1
--- /dev/null   Mon Aug  5 12:48:19 2024
+++ pkgsrc/security/tcp_wrappers/patches/patch-percent__x.c     Mon Aug  5 12:48:18 2024
@@ -0,0 +1,12 @@
+$NetBSD: patch-percent__x.c,v 1.1 2024/08/05 12:48:18 tnn Exp $
+
+--- percent_x.c.orig   2024-08-05 13:52:09.983774379 +0000
++++ percent_x.c
+@@ -19,6 +19,7 @@ static char sccsid[] = "@(#) percent_x.c
+ #include <stdio.h>
+ #include <syslog.h>
+ #include <string.h>
++#include <unistd.h>
+ 
+ extern void exit();
+ 
Index: pkgsrc/security/tcp_wrappers/patches/patch-rfc931.c
diff -u /dev/null pkgsrc/security/tcp_wrappers/patches/patch-rfc931.c:1.1
--- /dev/null   Mon Aug  5 12:48:19 2024
+++ pkgsrc/security/tcp_wrappers/patches/patch-rfc931.c Mon Aug  5 12:48:18 2024
@@ -0,0 +1,12 @@
+$NetBSD: patch-rfc931.c,v 1.1 2024/08/05 12:48:18 tnn Exp $
+
+--- rfc931.c.orig      2024-08-05 13:51:18.248160163 +0000
++++ rfc931.c
+@@ -23,6 +23,7 @@ static char sccsid[] = "@(#) rfc931.c 1.
+ #include <setjmp.h>
+ #include <signal.h>
+ #include <string.h>
++#include <unistd.h>
+ 
+ /* Local stuff. */
+ 
Index: pkgsrc/security/tcp_wrappers/patches/patch-safe__finger.c
diff -u /dev/null pkgsrc/security/tcp_wrappers/patches/patch-safe__finger.c:1.1
--- /dev/null   Mon Aug  5 12:48:19 2024
+++ pkgsrc/security/tcp_wrappers/patches/patch-safe__finger.c   Mon Aug  5 12:48:18 2024
@@ -0,0 +1,29 @@
+$NetBSD: patch-safe__finger.c,v 1.1 2024/08/05 12:48:18 tnn Exp $
+
+--- safe_finger.c.orig 1994-12-28 16:42:42.000000000 +0000
++++ safe_finger.c
+@@ -22,11 +22,16 @@ static char sccsid[] = "@(#) safe_finger
+ 
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#include <sys/wait.h>
+ #include <signal.h>
+ #include <stdio.h>
+ #include <ctype.h>
+ #include <pwd.h>
++#include <unistd.h>
++#include <fcntl.h>
++#include <stdlib.h>
+ 
++int pipe_stdin(char**);
+ extern void exit();
+ 
+ /* Local stuff */
+@@ -49,6 +54,7 @@ int     sig;
+     exit(0);
+ }
+ 
++int
+ main(argc, argv)
+ int     argc;
+ char  **argv;
Index: pkgsrc/security/tcp_wrappers/patches/patch-setenv.c
diff -u /dev/null pkgsrc/security/tcp_wrappers/patches/patch-setenv.c:1.1
--- /dev/null   Mon Aug  5 12:48:19 2024
+++ pkgsrc/security/tcp_wrappers/patches/patch-setenv.c Mon Aug  5 12:48:18 2024
@@ -0,0 +1,17 @@
+$NetBSD: patch-setenv.c,v 1.1 2024/08/05 12:48:18 tnn Exp $
+
+--- setenv.c.orig      2024-08-05 14:16:36.914868052 +0000
++++ setenv.c
+@@ -10,6 +10,7 @@
+   * Author: Wietse Venema, Eindhoven University of Technology, The Netherlands.
+   */
+ 
++#if 0 /* probably should be if ancient SunOS */
+ #ifndef lint
+ static char sccsid[] = "@(#) setenv.c 1.1 93/03/07 22:47:58";
+ #endif
+@@ -32,3 +33,4 @@ int     clobber;
+     sprintf(cp, "%s=%s", name, value);
+     return (putenv(cp));
+ }
++#endif
Index: pkgsrc/security/tcp_wrappers/patches/patch-shell__cmd.c
diff -u /dev/null pkgsrc/security/tcp_wrappers/patches/patch-shell__cmd.c:1.1
--- /dev/null   Mon Aug  5 12:48:19 2024
+++ pkgsrc/security/tcp_wrappers/patches/patch-shell__cmd.c     Mon Aug  5 12:48:18 2024
@@ -0,0 +1,18 @@
+$NetBSD: patch-shell__cmd.c,v 1.1 2024/08/05 12:48:18 tnn Exp $
+
+--- shell_cmd.c.orig   2024-08-05 14:07:12.929804367 +0000
++++ shell_cmd.c
+@@ -16,10 +16,13 @@ static char sccsid[] = "@(#) shell_cmd.c
+ 
+ #include <sys/types.h>
+ #include <sys/param.h>
++#include <sys/wait.h>
+ #include <signal.h>
+ #include <stdio.h>
+ #include <syslog.h>
+ #include <string.h>
++#include <unistd.h>
++#include <fcntl.h>
+ 
+ extern void exit();
+ 
Index: pkgsrc/security/tcp_wrappers/patches/patch-tcpd.c
diff -u /dev/null pkgsrc/security/tcp_wrappers/patches/patch-tcpd.c:1.1
--- /dev/null   Mon Aug  5 12:48:19 2024
+++ pkgsrc/security/tcp_wrappers/patches/patch-tcpd.c   Mon Aug  5 12:48:18 2024
@@ -0,0 +1,20 @@
+$NetBSD: patch-tcpd.c,v 1.1 2024/08/05 12:48:18 tnn Exp $
+
+--- tcpd.c.orig        2024-08-05 14:09:09.673677618 +0000
++++ tcpd.c
+@@ -24,6 +24,7 @@ static char sccsid[] = "@(#) tcpd.c 1.10
+ #include <stdio.h>
+ #include <syslog.h>
+ #include <string.h>
++#include <unistd.h>
+ 
+ #ifndef MAXPATHNAMELEN
+ #define MAXPATHNAMELEN        BUFSIZ
+@@ -41,6 +42,7 @@ static char sccsid[] = "@(#) tcpd.c 1.10
+ int     allow_severity = SEVERITY;    /* run-time adjustable */
+ int     deny_severity = LOG_WARNING;  /* ditto */
+ 
++int
+ main(argc, argv)
+ int     argc;
+ char  **argv;
Index: pkgsrc/security/tcp_wrappers/patches/patch-tcpdmatch.c
diff -u /dev/null pkgsrc/security/tcp_wrappers/patches/patch-tcpdmatch.c:1.1
--- /dev/null   Mon Aug  5 12:48:19 2024
+++ pkgsrc/security/tcp_wrappers/patches/patch-tcpdmatch.c      Mon Aug  5 12:48:18 2024
@@ -0,0 +1,13 @@
+$NetBSD: patch-tcpdmatch.c,v 1.1 2024/08/05 12:48:18 tnn Exp $
+
+--- tcpdmatch.c.orig   2024-08-05 14:09:19.243824349 +0000
++++ tcpdmatch.c
+@@ -29,6 +29,8 @@ static char sccsid[] = "@(#) tcpdmatch.c
+ #include <syslog.h>
+ #include <setjmp.h>
+ #include <string.h>
++#include <unistd.h>
++#include <stdlib.h>
+ 
+ extern void exit();
+ extern int optind;
Index: pkgsrc/security/tcp_wrappers/patches/patch-try-from.c
diff -u /dev/null pkgsrc/security/tcp_wrappers/patches/patch-try-from.c:1.1
--- /dev/null   Mon Aug  5 12:48:19 2024
+++ pkgsrc/security/tcp_wrappers/patches/patch-try-from.c       Mon Aug  5 12:48:18 2024
@@ -0,0 +1,12 @@
+$NetBSD: patch-try-from.c,v 1.1 2024/08/05 12:48:18 tnn Exp $
+
+--- try-from.c.orig    2024-08-05 14:13:01.123642876 +0000
++++ try-from.c
+@@ -37,6 +37,7 @@ static char sccsid[] = "@(#) try-from.c
+ int     allow_severity = SEVERITY;    /* run-time adjustable */
+ int     deny_severity = LOG_WARNING;  /* ditto */
+ 
++int
+ main(argc, argv)
+ int     argc;
+ char  **argv;
Index: pkgsrc/security/tcp_wrappers/patches/patch-update.c
diff -u /dev/null pkgsrc/security/tcp_wrappers/patches/patch-update.c:1.1
--- /dev/null   Mon Aug  5 12:48:19 2024
+++ pkgsrc/security/tcp_wrappers/patches/patch-update.c Mon Aug  5 12:48:18 2024
@@ -0,0 +1,12 @@
+$NetBSD: patch-update.c,v 1.1 2024/08/05 12:48:18 tnn Exp $
+
+--- update.c.orig      2024-08-05 14:10:29.935491528 +0000
++++ update.c
+@@ -22,6 +22,7 @@ static char sccsid[] = "@(#) update.c 1.
+ #include <stdio.h>
+ #include <syslog.h>
+ #include <string.h>
++#include <unistd.h>
+ 
+ /* Local stuff. */
+ 



Home | Main Index | Thread Index | Old Index