pkgsrc/net/portmap/patches/patch-aa
reed 13c8ef04c5 New package from pkgsrc-wip: portmap
(I have been using this for years.)

This is an RPC portmapper that prevents theft of NIS (YP), NFS,
and other sensitive information via the portmapper.  As an option,
the program supports access control in the style of the TCP Wrappers
(log_tcp) package.

Daemons that offer RPC services tell the portmapper on what port
they listen. And clients asks the portmapper what port the daemon
is using. RPC network port numbers may change each time the system
is booted.

This is Wietse Venema's fourth replacement portmapper. It is
derived from source code in the RPCSRC 4.0 and the TIRPC source
distributions.
2008-03-07 23:40:06 +00:00

36 lines
1.2 KiB
Text

$NetBSD: patch-aa,v 1.1.1.1 2008/03/07 23:40:06 reed Exp $
--- Makefile.orig 1996-05-31 06:50:40.000000000 -0700
+++ Makefile
@@ -8,7 +8,7 @@
# if you disagree. See `man 3 syslog' for examples. Some syslog versions
# do not provide this flexibility.
#
-FACILITY=LOG_MAIL
+FACILITY=LOG_AUTH
# To disable host access control, comment out the following macro definition.
# Note: host access control requires the strtok() and strchr() routines.
@@ -36,7 +36,7 @@ CHECK_PORT = -DCHECK_PORT
# With verbose logging on, HP-UX 9.x and AIX 4.1 leave zombies behind when
# SIGCHLD is not ignored. Enable next macro for a fix.
#
-# ZOMBIES = -DIGNORE_SIGCHLD # AIX 4.x, HP-UX 9.x
+ZOMBIES = -DIGNORE_SIGCHLD # AIX 4.x, HP-UX 9.x
# Uncomment the following macro if your system does not have u_long.
#
@@ -46,11 +46,11 @@ CHECK_PORT = -DCHECK_PORT
# libwrap.a object library. WRAP_DIR should specify the directory with
# that library.
-WRAP_DIR= ../tcp_wrappers
+#WRAP_DIR= ../tcp_wrappers
# Auxiliary object files that may be missing from your C library.
#
-AUX = daemon.o strerror.o
+AUX = daemon.o
# NEXTSTEP is a little different. The following seems to work with NS 3.2
#