nfs-utils: update to 1.2.0
This commit is contained in:
parent
4edb60b129
commit
ceccd162f1
@ -1,4 +1,4 @@
|
||||
c5ccf58f5f9f57aba75c8b72219eb6e6 exports
|
||||
f75dd45017a56ab4ecb6e87ef40aba78 nfs
|
||||
b0d1b8ec5c8c081a340cfc77bb8670cd nfs-utils-1.1.6.tar.bz2
|
||||
779cf81044e92cb51ad590960e7b3671 nfs-utils-1.2.0.tar.bz2
|
||||
7222d95af7b1313985505d1494927ae5 nfsserver
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
||||
|
||||
name=nfs-utils
|
||||
version=1.1.6
|
||||
version=1.2.0
|
||||
release=1
|
||||
source=(http://dl.sourceforge.net/nfs/$name-$version.tar.bz2 \
|
||||
exports nfs nfsserver)
|
||||
|
@ -1,36 +0,0 @@
|
||||
From: Steve Dickson <steved@redhat.com>
|
||||
Date: Sun, 8 Mar 2009 14:10:25 +0000 (-0400)
|
||||
Subject: Added back the some logging variables which are no
|
||||
X-Git-Url: http://git.linux-nfs.org/?p=steved%2Fnfs-utils.git;a=commitdiff_plain;h=06da4cfd46942acaaa5bd2e7933fd290701d186d
|
||||
|
||||
Added back the some logging variables which are no
|
||||
longer used but, unfortunately, they are extern-ed by
|
||||
public headers files which are not under the control
|
||||
of this package.
|
||||
|
||||
Spotted-by: Juergen Daubert <jue@jue.li>
|
||||
Signed-off-by: Steve Dickson <steved@redhat.com>
|
||||
---
|
||||
|
||||
diff --git a/support/misc/tcpwrapper.c b/support/misc/tcpwrapper.c
|
||||
index a361496..1da6020 100644
|
||||
--- a/support/misc/tcpwrapper.c
|
||||
+++ b/support/misc/tcpwrapper.c
|
||||
@@ -60,8 +60,16 @@ static void logit(int severity, struct sockaddr_in *addr,
|
||||
u_long procnum, u_long prognum, char *text);
|
||||
static int check_files(void);
|
||||
|
||||
+/*
|
||||
+ * These need to exist since they are externed
|
||||
+ * public header files.
|
||||
+ */
|
||||
+int verboselog = 0;
|
||||
+int allow_severity = LOG_INFO;
|
||||
+int deny_severity = LOG_WARNING;
|
||||
+
|
||||
#define log_bad_host(addr, proc, prog) \
|
||||
- logit(LOG_WARNING, addr, proc, prog, "request from unauthorized host")
|
||||
+ logit(deny_severity, addr, proc, prog, "request from unauthorized host")
|
||||
|
||||
#define ALLOW 1
|
||||
#define DENY 0
|
Loading…
Reference in New Issue
Block a user