summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-01-25 23:05:22 +0000
committerMike Frysinger <vapier@gentoo.org>2004-01-25 23:05:22 +0000
commit15be56c41e796a03378ea15aef15fddcc52e157b (patch)
tree80fd66c217f67761a3af11534eade6c3e0d53b97 /sys-apps/tcp-wrappers
parentremove fomit-frame-pointer when debug is in USE #39377 (diff)
downloadhistorical-15be56c41e796a03378ea15aef15fddcc52e157b.tar.gz
historical-15be56c41e796a03378ea15aef15fddcc52e157b.tar.bz2
historical-15be56c41e796a03378ea15aef15fddcc52e157b.zip
add sample hosts.allow #20073
Diffstat (limited to 'sys-apps/tcp-wrappers')
-rw-r--r--sys-apps/tcp-wrappers/files/hosts.allow.example17
-rw-r--r--sys-apps/tcp-wrappers/tcp-wrappers-7.6-r3.ebuild4
-rw-r--r--sys-apps/tcp-wrappers/tcp-wrappers-7.6-r4.ebuild4
-rw-r--r--sys-apps/tcp-wrappers/tcp-wrappers-7.6-r6.ebuild4
-rw-r--r--sys-apps/tcp-wrappers/tcp-wrappers-7.6-r8.ebuild5
5 files changed, 25 insertions, 9 deletions
diff --git a/sys-apps/tcp-wrappers/files/hosts.allow.example b/sys-apps/tcp-wrappers/files/hosts.allow.example
new file mode 100644
index 000000000000..c473eb95155e
--- /dev/null
+++ b/sys-apps/tcp-wrappers/files/hosts.allow.example
@@ -0,0 +1,17 @@
+# For more information, please see the hosts.allow(5) manpage
+
+# Rule format:
+# daemon : client list
+# The value for 'daemon' is determined by the name of the binary.
+# OpenSSH runs as 'sshd' so you would use 'sshd' for 'daemon'.
+# Client list can be a list of ip's or hostnames.
+
+# Allow only sshd connections from ips matching 192.168.0.*
+#sshd: 192.168.0.
+
+# Only allow sendmail connections from the localhost
+#sendmail: localhost
+
+# Allow everyone from foobar.edu to access everything except for
+# the terminalserver
+#ALL: .foobar.edu EXCEPT terminalserver.foobar.edu
diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r3.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r3.ebuild
index d25c7519a47d..d20968a56409 100644
--- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r3.ebuild
+++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r3.ebuild,v 1.12 2003/06/21 21:19:41 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r3.ebuild,v 1.13 2004/01/25 23:05:21 vapier Exp $
inherit eutils
@@ -50,5 +50,5 @@ src_install() {
insinto /usr/include
doins tcpd.h
- dodoc BLURB CHANGES DISCLAIMER README*
+ dodoc BLURB CHANGES DISCLAIMER README* ${FILESDIR}/hosts.allow.example
}
diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r4.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r4.ebuild
index de0e2c83f60a..696af5946565 100644
--- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r4.ebuild
+++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r4.ebuild,v 1.20 2003/09/07 00:53:43 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r4.ebuild,v 1.21 2004/01/25 23:05:21 vapier Exp $
inherit eutils
@@ -49,5 +49,5 @@ src_install() {
insinto /usr/include
doins tcpd.h
- dodoc BLURB CHANGES DISCLAIMER README*
+ dodoc BLURB CHANGES DISCLAIMER README* ${FILESDIR}/hosts.allow.example
}
diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r6.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r6.ebuild
index e7ac81e1d363..f46878c06dc5 100644
--- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r6.ebuild
+++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r6.ebuild,v 1.10 2004/01/10 18:50:33 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r6.ebuild,v 1.11 2004/01/25 23:05:21 vapier Exp $
inherit eutils
@@ -71,5 +71,5 @@ src_install() {
insinto /usr/include
doins tcpd.h
- dodoc BLURB CHANGES DISCLAIMER README*
+ dodoc BLURB CHANGES DISCLAIMER README* ${FILESDIR}/hosts.allow.example
}
diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r8.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r8.ebuild
index d303cc89ecd2..6c125ace3b6c 100644
--- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r8.ebuild
+++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r8.ebuild,v 1.1 2003/12/28 11:06:09 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r8.ebuild,v 1.2 2004/01/25 23:05:21 vapier Exp $
inherit eutils
@@ -79,6 +79,5 @@ src_install() {
gen_usr_ldscript libwrap.so || die "gen_usr_ldscript failed"
fi
- dodoc BLURB CHANGES DISCLAIMER README*
+ dodoc BLURB CHANGES DISCLAIMER README* ${FILESDIR}/hosts.allow.example
}
-