summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2007-07-08 10:08:16 +0000
committerAli Polatel <hawking@gentoo.org>2007-07-08 10:08:16 +0000
commit348e3fdf29501430483c2643f8dd2cfb1167463d (patch)
tree7fce5eb7f2368024736b428acc3ef4e7b773efa5 /app-admin/sshguard
parentAsk for a newer pygame to fix bug #164128 (diff)
downloadhistorical-348e3fdf29501430483c2643f8dd2cfb1167463d.tar.gz
historical-348e3fdf29501430483c2643f8dd2cfb1167463d.tar.bz2
historical-348e3fdf29501430483c2643f8dd2cfb1167463d.zip
Added support for g/fbsd
Package-Manager: portage-2.1.3_rc6
Diffstat (limited to 'app-admin/sshguard')
-rw-r--r--app-admin/sshguard/ChangeLog5
-rw-r--r--app-admin/sshguard/Manifest16
-rw-r--r--app-admin/sshguard/sshguard-1.0.ebuild27
3 files changed, 30 insertions, 18 deletions
diff --git a/app-admin/sshguard/ChangeLog b/app-admin/sshguard/ChangeLog
index 84b6bbd296c5..b032e066e958 100644
--- a/app-admin/sshguard/ChangeLog
+++ b/app-admin/sshguard/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-admin/sshguard
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/sshguard/ChangeLog,v 1.2 2007/06/22 08:58:33 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/sshguard/ChangeLog,v 1.3 2007/07/08 10:08:16 hawking Exp $
+
+ 08 Jul 2007; Ali Polatel <hawking@gentoo.org> sshguard-1.0.ebuild:
+ Added support for g/fbsd (bug #182926 thanks to Pierre Guinoiseau)
22 Jun 2007; Ali Polatel <hawking@gentoo.org> sshguard-1.0.ebuild:
Added virtual/logger to RDEPEND
diff --git a/app-admin/sshguard/Manifest b/app-admin/sshguard/Manifest
index 4f70296f7265..4d5ecf2b950b 100644
--- a/app-admin/sshguard/Manifest
+++ b/app-admin/sshguard/Manifest
@@ -1,12 +1,12 @@
DIST sshguard-1.0.tar.bz2 118988 RMD160 436516e14a72845e7eb5325d6f55496eec9d1762 SHA1 968275288a1aec06737e70cde61fe99063081adc SHA256 33a9fe9d2360e9a5c357e269353d4157270171ff975bcf649f5f99b1aa8dcc08
-EBUILD sshguard-1.0.ebuild 755 RMD160 27bc35259cc41b7f585e38f002f3d02312acbe1b SHA1 48c2078d06bb4cae00ca2bfb70f1ad214e461955 SHA256 3c61e631ba48211ac0491bd0c6183dbb6c1f405fc4ed8624a0fde6bf43b3d236
-MD5 fa3b32bc797846f3c873e06a6e6a4806 sshguard-1.0.ebuild 755
-RMD160 27bc35259cc41b7f585e38f002f3d02312acbe1b sshguard-1.0.ebuild 755
-SHA256 3c61e631ba48211ac0491bd0c6183dbb6c1f405fc4ed8624a0fde6bf43b3d236 sshguard-1.0.ebuild 755
-MISC ChangeLog 495 RMD160 4e7283758d59bd55c931b00046bdd94dec58703e SHA1 aeefa31942bed9c737cb58ad2857c6f0a772c0ae SHA256 e78c06b19d794eddd33f29e0b7853eb9dc9d7dd78d636f5a9a784537d8d11cb0
-MD5 d5dbc71223f9ba1654913d7889bfb9d5 ChangeLog 495
-RMD160 4e7283758d59bd55c931b00046bdd94dec58703e ChangeLog 495
-SHA256 e78c06b19d794eddd33f29e0b7853eb9dc9d7dd78d636f5a9a784537d8d11cb0 ChangeLog 495
+EBUILD sshguard-1.0.ebuild 1065 RMD160 34f2bbab490a1c812fc970b71ec1dcf8d0e33669 SHA1 1ba53ed013cb18bb288bd74b7b3d89d2ded73d69 SHA256 2cd257c4665668abd8aa9ba73d79b73ea166f41bc4b9491617339995cb245610
+MD5 8883fcbfe34fb78751ec72521a895513 sshguard-1.0.ebuild 1065
+RMD160 34f2bbab490a1c812fc970b71ec1dcf8d0e33669 sshguard-1.0.ebuild 1065
+SHA256 2cd257c4665668abd8aa9ba73d79b73ea166f41bc4b9491617339995cb245610 sshguard-1.0.ebuild 1065
+MISC ChangeLog 634 RMD160 8afdf6a7e79e8fa558104cfcec767449713b4c35 SHA1 61f4a6ff8f1327c22362ad7b6f6aaed21d55a9c7 SHA256 7b37e4280985a05ac1ce17fcf0ef5c89ad741f8da2f69bb3673fe4bb7b07080c
+MD5 8d3631e33881237ed73bc396deab14e4 ChangeLog 634
+RMD160 8afdf6a7e79e8fa558104cfcec767449713b4c35 ChangeLog 634
+SHA256 7b37e4280985a05ac1ce17fcf0ef5c89ad741f8da2f69bb3673fe4bb7b07080c ChangeLog 634
MISC metadata.xml 226 RMD160 a75be0296be6f0de49fc28a0067ce5e342528804 SHA1 70724ce63825b66539f9442f606566c9126afbc1 SHA256 376530a4938c94dc67d35431bb672179afca1f599ddc90b2de708cb41d53172f
MD5 97b9f63dc13d5fe9ed8472694061770d metadata.xml 226
RMD160 a75be0296be6f0de49fc28a0067ce5e342528804 metadata.xml 226
diff --git a/app-admin/sshguard/sshguard-1.0.ebuild b/app-admin/sshguard/sshguard-1.0.ebuild
index caf232acb663..7ac3e9da8193 100644
--- a/app-admin/sshguard/sshguard-1.0.ebuild
+++ b/app-admin/sshguard/sshguard-1.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/sshguard/sshguard-1.0.ebuild,v 1.2 2007/06/22 08:58:33 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/sshguard/sshguard-1.0.ebuild,v 1.3 2007/07/08 10:08:16 hawking Exp $
DESCRIPTION="protects hosts from brute force attacks against ssh"
HOMEPAGE="http://sshguard.sourceforge.net/"
@@ -8,20 +8,29 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~x86"
-IUSE=""
+KEYWORDS="~x86 ~x86-fbsd"
+IUSE="ipfilter kernel_FreeBSD kernel_linux"
-DEPEND=""
-RDEPEND="net-firewall/iptables
+DEPEND="kernel_linux? ( net-firewall/iptables )
+ kernel_FreeBSD? ( !ipfilter? ( sys-freebsd/freebsd-pf ) )"
+RDEPEND="${DEPEND}
virtual/logger"
src_compile() {
- econf --with-firewall=iptables
- emake CFLAGS="${CFLAGS}" || die "emake failed"
+ local myconf
+ if use kernel_linux; then
+ myconf="--with-firewall=iptables"
+ elif use kernel_FreeBSD; then
+ use ipfilter && myconf="--with-firewall=ipfw" \
+ || myconf="--with-firewall=pf"
+ fi
+
+ econf ${myconf}
+ emake CFLAGS="${CFLAGS}" || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
- dodoc README Changes || die "dodoc failed"
- dodoc -r examples || die "dodoc failed"
+ dodoc README Changes || die "dodoc failed"
+ dodoc examples/* || die "dodoc failed"
}