summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/sshguard')
-rw-r--r--app-admin/sshguard/Manifest3
-rw-r--r--app-admin/sshguard/metadata.xml17
-rw-r--r--app-admin/sshguard/sshguard-1.7.1.ebuild65
-rw-r--r--app-admin/sshguard/sshguard-2.0.0.ebuild45
-rw-r--r--app-admin/sshguard/sshguard-2.0.99.ebuild37
5 files changed, 7 insertions, 160 deletions
diff --git a/app-admin/sshguard/Manifest b/app-admin/sshguard/Manifest
index 4efed4fd0f41..5c005ae7f3b5 100644
--- a/app-admin/sshguard/Manifest
+++ b/app-admin/sshguard/Manifest
@@ -1,4 +1 @@
-DIST sshguard-1.7.1.tar.gz 832220 BLAKE2B 1aca38b571ee3bf98b659a1a378de8d2dfd46453c9caacc868606f6ad9baf97892d6dcf852ed028f265c67029f59c3c19a48f1c369abeb406eae7e2c5ad54f2b SHA512 205f45f0f1260ebf2a1efabe5b4391b23c219f37df096383d87c220e7392cf58827a4e509be65287bac5b2af49fa0fc390775e1472cff4fb28f2323821f00fd1
-DIST sshguard-2.0.0.tar.gz 886995 BLAKE2B 35fe8008aa55ab07a3a500a5676483b79d4693aa22e762e846d3c4f5a95b8c3851e16a5c746a818455c66621f3c7da9d713979f2fef737f87ca5feb81ff048e8 SHA512 c9f7ef4b8d4b1ecbcee33b95e013c51f37b4a05226c6cd1f3c85006c83a32cf555644069d529a7317dcf6616f86a399d7338a5a414238de05bd41dc3005488e4
-DIST sshguard-2.0.99.tar.gz 1110725 BLAKE2B b3c2ccf389b08c3d35700b3bc46a6df820bf51c940e418def4ea66b4d2d8cd8aca5b3f284fc49a93b73e69adcffdc845c0988750e714fbe8e5a5bd50fc3d11aa SHA512 776a241b7af9a4afb048c99791202c0bf0f5130e265116a0f049853f8eb3d108e056c75f9dc009cf93a0dffe8d34b18b6fddc63febd54cc35bb6e71d6d2e77bb
DIST sshguard-2.1.0.tar.gz 1117466 BLAKE2B 1a105f346aa9b774fb0314161d779eadaab299d3b74181a449ab86534e11375e4c017c142bc621733593369bcebada9511dd40c64cb4a49cd124eb7537ae0717 SHA512 0a75e9d1a8c9c010c767a49e96e88db4a92aae8d428deebcff1ce8befa36b77cb1937f2fcb2a4e2a3e86d47896a8405265eb30ee7a603fc18a3ee117d646b119
diff --git a/app-admin/sshguard/metadata.xml b/app-admin/sshguard/metadata.xml
index d74b83ce78bc..0daba0da53ea 100644
--- a/app-admin/sshguard/metadata.xml
+++ b/app-admin/sshguard/metadata.xml
@@ -1,14 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="project">
- <email>netmon@gentoo.org</email>
- <name>Gentoo network monitoring and analysis project</name>
- </maintainer>
- <use>
- <flag name="ipfilter">Enable ipfilter firewall support (only for *bsd)</flag>
- </use>
- <upstream>
- <remote-id type="sourceforge">sshguard</remote-id>
- </upstream>
+<maintainer type="project">
+<email>netmon@gentoo.org</email>
+<name>Gentoo network monitoring and analysis project</name>
+</maintainer>
+<upstream>
+<remote-id type="sourceforge">sshguard</remote-id>
+</upstream>
</pkgmetadata>
diff --git a/app-admin/sshguard/sshguard-1.7.1.ebuild b/app-admin/sshguard/sshguard-1.7.1.ebuild
deleted file mode 100644
index a730edfc107c..000000000000
--- a/app-admin/sshguard/sshguard-1.7.1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit flag-o-matic
-
-DESCRIPTION="protects hosts from brute force attacks against ssh"
-HOMEPAGE="http://sshguard.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 x86 ~x86-fbsd"
-IUSE="ipfilter kernel_FreeBSD kernel_linux"
-
-CDEPEND="
- kernel_linux? ( net-firewall/iptables )
- kernel_FreeBSD? ( !ipfilter? ( sys-freebsd/freebsd-pf ) )
-"
-DEPEND="
- ${CDEPEND}
- sys-devel/flex
-"
-RDEPEND="
- ${CDEPEND}
- virtual/logger
-"
-
-DOCS=(
- CHANGELOG.rst
- README.rst
- examples/sshguard.service
- examples/whitelistfile.example
-)
-
-src_prepare() {
- default
-
- sed -i -e '/OPTIMIZER_CFLAGS=/d' configure || die
-}
-
-src_configure() {
- # Needed for usleep(3), see "nasty" in src/sshguard_logsuck.c
- append-cppflags -D_DEFAULT_SOURCE
-
- local myconf
- if use kernel_linux; then
- myconf="--with-firewall=iptables"
- elif use kernel_FreeBSD; then
- if use ipfilter; then
- myconf="--with-firewall=ipfw"
- else
- myconf="--with-firewall=pf"
- fi
- fi
-
- econf ${myconf}
-}
-
-src_install() {
- default
-
- newinitd "${FILESDIR}"/${PN}.initd ${PN}
- newconfd "${FILESDIR}"/${PN}.confd ${PN}
-}
diff --git a/app-admin/sshguard/sshguard-2.0.0.ebuild b/app-admin/sshguard/sshguard-2.0.0.ebuild
deleted file mode 100644
index 5ff11bd2529b..000000000000
--- a/app-admin/sshguard/sshguard-2.0.0.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DESCRIPTION="protects hosts from brute force attacks against ssh"
-HOMEPAGE="http://sshguard.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~x86-fbsd"
-IUSE="ipfilter kernel_FreeBSD kernel_linux"
-
-CDEPEND="
- kernel_linux? ( net-firewall/iptables )
- kernel_FreeBSD? ( !ipfilter? ( sys-freebsd/freebsd-pf ) )
-"
-DEPEND="
- ${CDEPEND}
- sys-devel/flex
-"
-RDEPEND="
- ${CDEPEND}
- virtual/logger
-"
-
-DOCS=(
- CHANGELOG.rst
- CONTRIBUTING.rst
- README.rst
- examples/net.sshguard.plist
- examples/sshguard.service
- examples/whitelistfile.example
-)
-
-src_install() {
- default
-
- newinitd "${FILESDIR}"/${PN}.initd ${PN}
- newconfd "${FILESDIR}"/${PN}.confd ${PN}
-
- insinto /etc
- newins examples/sshguard.conf.sample sshguard.conf
-}
diff --git a/app-admin/sshguard/sshguard-2.0.99.ebuild b/app-admin/sshguard/sshguard-2.0.99.ebuild
deleted file mode 100644
index 1e45c36ba086..000000000000
--- a/app-admin/sshguard/sshguard-2.0.99.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DESCRIPTION="protects hosts from brute force attacks against ssh"
-HOMEPAGE="http://sshguard.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~x86-fbsd"
-
-DEPEND="
- sys-devel/flex
-"
-RDEPEND="
- virtual/logger
-"
-DOCS=(
- CHANGELOG.rst
- CONTRIBUTING.rst
- README.rst
- examples/net.sshguard.plist
- examples/sshguard.service
- examples/whitelistfile.example
-)
-
-src_install() {
- default
-
- newinitd "${FILESDIR}"/${PN}.initd ${PN}
- newconfd "${FILESDIR}"/${PN}.confd ${PN}
-
- insinto /etc
- newins examples/sshguard.conf.sample sshguard.conf
-}