Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2015/05/15 17:36:06 tron Exp $
# $NetBSD: Makefile,v 1.4 2016/02/26 09:41:07 jperkin Exp $
DISTNAME= sshguard-1.5
PKGREVISION= 1
@@ -19,8 +19,6 @@ RCD_SCRIPTS= sshguard
# Claiming to be an X/Open applications hides inet_pton(3) under NetBSD
# which this application needs.
.if ${OPSYS} == "NetBSD"
BUILDLINK_TRANSFORM+= rm:-D_XOPEN_SOURCE
.endif
BUILDLINK_TRANSFORM.NetBSD+= rm:-D_XOPEN_SOURCE
.include "../../mk/bsd.pkg.mk"

View File

@@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.1 2014/07/26 19:57:44 tron Exp $
$NetBSD: distinfo,v 1.2 2015/11/04 01:18:10 agc Exp $
SHA1 (sshguard-1.5.tar.bz2) = f8f713bfb3f5c9877b34f6821426a22a7eec8df3
RMD160 (sshguard-1.5.tar.bz2) = 7b4625b3b2e0cf974bc935d868b89bd0d8c189e8
SHA512 (sshguard-1.5.tar.bz2) = 6d17abccd94af9e7fb04a54477ff5686caa64dc36e2f2cbc4a8cd7bc293923daf2fee87fa7f2e247eba1b310abe68549e652ab3224c2d19822d2e8a0306e49e6
Size (sshguard-1.5.tar.bz2) = 303767 bytes
SHA1 (patch-man_sshguard.8) = f907d23f5fe3db16dd44128c821f2fe6f94fcb03

View File

@@ -1,4 +1,4 @@
# $NetBSD: options.mk,v 1.1 2014/07/26 19:57:44 tron Exp $
# $NetBSD: options.mk,v 1.2 2016/02/26 09:41:07 jperkin Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.sshguard
PKG_OPTIONS_REQUIRED_GROUPS= firewall
@@ -11,25 +11,15 @@ PKG_OPTIONS_GROUP.firewall= sshguard-aix sshguard-hosts sshguard-ipfilter \
# Pick an appropriate default firewall depending on the platform. We however
# don't restrict the firewall types. You can e.g. use "iptables" under NetBSD
# to remotely manage a Linux firewall.
.if ${OPSYS} == "AIX"
PKG_SUGGESTED_OPTIONS= sshguard-aix
.elif ${OPSYS} == "Darwin"
PKG_SUGGESTED_OPTIONS= sshguard-ipfw
.elif ${OPSYS} == "DragonFly"
PKG_SUGGESTED_OPTIONS= sshguard-pf
.elif ${OPSYS} == "Linux"
PKG_SUGGESTED_OPTIONS= sshguard-iptables
.elif ${OPSYS} == "FreeBSD"
PKG_SUGGESTED_OPTIONS= sshguard-ipfw
.elif ${OPSYS} == "NetBSD"
PKG_SUGGESTED_OPTIONS= sshguard-ipfilter
.elif ${OPSYS} == "OpenBSD"
PKG_SUGGESTED_OPTIONS= sshguard-pf
.elif ${OPSYS} == "SunOS"
PKG_SUGGESTED_OPTIONS= sshguard-ipfilter
.else
PKG_SUGGESTED_OPTIONS= sshguard-hosts
.endif
PKG_SUGGESTED_OPTIONS.AIX= sshguard-aix
PKG_SUGGESTED_OPTIONS.Darwin= sshguard-ipfw
PKG_SUGGESTED_OPTIONS.DragonFly= sshguard-pf
PKG_SUGGESTED_OPTIONS.FreeBSD= sshguard-ipfw
PKG_SUGGESTED_OPTIONS.Linux= sshguard-iptables
PKG_SUGGESTED_OPTIONS.NetBSD= sshguard-ipfilter
PKG_SUGGESTED_OPTIONS.OpenBSD= sshguard-pf
PKG_SUGGESTED_OPTIONS.SunOS= sshguard-ipfilter
PKG_SUGGESTED_OPTIONS.*= sshguard-hosts
.include "../../mk/bsd.options.mk"
@@ -41,9 +31,7 @@ CONFIGURE_ARGS+= --with-firewall=hosts
.elif !empty(PKG_OPTIONS:Msshguard-ipfilter)
CONFIGURE_ARGS+= --with-firewall=ipfilter
# Set correct location of IPFilter configuration file under NetBSD.
. if ${OPSYS} == "NetbSD"
CONFIGURE_ARGS+= --with-ipfilterconf=/etc/ipf.conf
. endif
CONFIGURE_ARGS.NetBSD+= --with-ipfilterconf=/etc/ipf.conf
.elif !empty(PKG_OPTIONS:Msshguard-ipfw)
CONFIGURE_ARGS+= --with-firewall=ipfw
.elif !empty(PKG_OPTIONS:Msshguard-iptables)