From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/sshguard/, app-admin/sshguard/files/
Date: Wed, 16 Dec 2015 08:15:23 +0000 (UTC) [thread overview]
Message-ID: <1450253630.e92a08bc8829ab7ccf0127e5a653b3cea45b7582.jer@gentoo> (raw)
commit: e92a08bc8829ab7ccf0127e5a653b3cea45b7582
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 16 08:13:50 2015 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Dec 16 08:13:50 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e92a08bc
app-admin/sshguard: Version bump (bug #567642 by Noramo).
Package-Manager: portage-2.2.26
app-admin/sshguard/Manifest | 1 +
app-admin/sshguard/files/sshguard.initd | 2 +-
app-admin/sshguard/sshguard-1.6.1.ebuild | 62 ++++++++++++++++++++++++++++++++
3 files changed, 64 insertions(+), 1 deletion(-)
diff --git a/app-admin/sshguard/Manifest b/app-admin/sshguard/Manifest
index 4b35a74..47cfb52 100644
--- a/app-admin/sshguard/Manifest
+++ b/app-admin/sshguard/Manifest
@@ -1 +1,2 @@
DIST sshguard-1.5.tar.bz2 303767 SHA256 b537f8765455fdf8424f87d4bd695e5b675b88e5d164865452137947093e7e19 SHA512 6d17abccd94af9e7fb04a54477ff5686caa64dc36e2f2cbc4a8cd7bc293923daf2fee87fa7f2e247eba1b310abe68549e652ab3224c2d19822d2e8a0306e49e6 WHIRLPOOL 7d579f5c9a03d79f7cc7b51b537b91b053faa56653ba7c5182550ddab41c0fbcd12a6cd7a6dfb2d1e2323905ef3e35aaef9ca8175d97e26cb953d57403f46562
+DIST sshguard-1.6.1.tar.xz 416088 SHA256 f431899c20fa2f41fa293605af96ff97d44823b84db41c914ee60da44f1ff6c8 SHA512 a21c28e2efcadeff514c8a5b1ed938ba466f9116b40ee4283ad411fe6248bfa7186d9add9a136399f659a74fb2b517c6033027ec546dae9bec5b47edf32db3ed WHIRLPOOL 22a0ace695e9ab6e173bc0bf2d23d584113be0298253d5a13df3749071c68edcd581f3118c326dc42c8b643420b62d1389534b91a2fc537bb9abca49fb84ffbc
diff --git a/app-admin/sshguard/files/sshguard.initd b/app-admin/sshguard/files/sshguard.initd
index 03b6a09..659c3f7 100644
--- a/app-admin/sshguard/files/sshguard.initd
+++ b/app-admin/sshguard/files/sshguard.initd
@@ -12,7 +12,7 @@ SSHGUARD_PIDFILE=${SSHGUARD_PIDFILE:-/var/run/${SVCNAME}.pid}
start() {
ebegin "Starting sshguard"
- [[ -z ${SSHGUARD_WAIT} ]] && SSHGUARD_WAIT=999
+ [ -z "${SSHGUARD_WAIT}" ] && SSHGUARD_WAIT=999
start-stop-daemon --start --wait ${SSHGUARD_WAIT} --background --quiet --exec \
/usr/sbin/sshguard -- -i ${SSHGUARD_PIDFILE} ${SSHGUARD_OPTS}
eend $?
diff --git a/app-admin/sshguard/sshguard-1.6.1.ebuild b/app-admin/sshguard/sshguard-1.6.1.ebuild
new file mode 100644
index 0000000..7e740f3
--- /dev/null
+++ b/app-admin/sshguard/sshguard-1.6.1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+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.xz"
+
+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}
+ sys-apps/openrc
+ virtual/logger
+"
+
+DOCS=( ChangeLog README.rst scripts/sshguard_backendgen.sh )
+
+src_prepare() {
+ sed -i -e '/OPTIMIZER_CFLAGS=/d' configure || die
+}
+
+src_configure() {
+ # Needed for usleep(3), see "nasty" in src/sshguard_logsuck.c
+ append-cppflags -D_BSD_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
+
+ dodoc -r examples/
+
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+}
next reply other threads:[~2015-12-16 8:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-16 8:15 Jeroen Roovers [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-11-09 11:09 [gentoo-commits] repo/gentoo:master commit in: app-admin/sshguard/, app-admin/sshguard/files/ Jeroen Roovers
2018-04-12 18:10 Patrick McLean
2019-08-08 7:14 Jeroen Roovers
2021-02-17 11:08 Yixun Lan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1450253630.e92a08bc8829ab7ccf0127e5a653b3cea45b7582.jer@gentoo \
--to=jer@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox