diff options
author | Qing He <qing.he@intel.com> | 2010-08-11 10:04:25 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-13 13:36:02 +0100 |
commit | 6ffc4f2e04f2d405b14f198220a3613d386489e7 (patch) | |
tree | 1afb979e272a3071811e290cbb9f9c79b3a437eb /meta/packages/tcp-wrappers/tcp-wrappers-7.6/man_fromhost.patch | |
parent | 199177bc29ac6f476e1001b66c58ec59fd01f546 (diff) | |
download | poky-6ffc4f2e04f2d405b14f198220a3613d386489e7.tar.gz |
tcp-wrappers: add new package
version 7.6
based on tcp-wrappers recipe of openembedded
changes from openembedded version:
- set -DUSE_GETDOMAIN in NETGROUP to fix build error
- install libwrap into ${base_libdir}, since it's required by
some essential components (e.g. portmap is in ${base_sbindir})
- distribute libwrap.a as well in libwrap-dev
Signed-off-by: Qing He <qing.he@intel.com>
Diffstat (limited to 'meta/packages/tcp-wrappers/tcp-wrappers-7.6/man_fromhost.patch')
-rw-r--r-- | meta/packages/tcp-wrappers/tcp-wrappers-7.6/man_fromhost.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/packages/tcp-wrappers/tcp-wrappers-7.6/man_fromhost.patch b/meta/packages/tcp-wrappers/tcp-wrappers-7.6/man_fromhost.patch new file mode 100644 index 0000000000..afaa9c8ac3 --- /dev/null +++ b/meta/packages/tcp-wrappers/tcp-wrappers-7.6/man_fromhost.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | diff -ruN tcp_wrappers_7.6.orig/hosts_access.3 tcp_wrappers_7.6/hosts_access.3 | ||
2 | --- tcp_wrappers_7.6.orig/hosts_access.3 2004-04-25 00:10:48.000000000 +0200 | ||
3 | +++ tcp_wrappers_7.6/hosts_access.3 2004-04-25 00:09:36.000000000 +0200 | ||
4 | @@ -14,6 +14,9 @@ | ||
5 | struct request_info *request_set(request, key, value, ..., 0) | ||
6 | struct request_info *request; | ||
7 | |||
8 | +void fromhost(request) | ||
9 | +struct request_info *request; | ||
10 | + | ||
11 | int hosts_access(request) | ||
12 | struct request_info *request; | ||
13 | |||
14 | @@ -60,6 +63,7 @@ | ||
15 | is available, host names and client user names are looked up on demand, | ||
16 | using the request structure as a cache. hosts_access() returns zero if | ||
17 | access should be denied. | ||
18 | +fromhost() must be called before hosts_access(). | ||
19 | .PP | ||
20 | hosts_ctl() is a wrapper around the request_init() and hosts_access() | ||
21 | routines with a perhaps more convenient interface (though it does not | ||