35 lines
898 B
Makefile
35 lines
898 B
Makefile
# $NetBSD: Makefile,v 1.16 2015/01/04 03:48:50 dholland Exp $
|
|
|
|
DISTNAME= oidentd-2.0.7
|
|
PKGREVISION= 4
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ojnk/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://dev.ojnk.net/
|
|
COMMENT= Configurable IDENT server that supports NAT/IP masq
|
|
|
|
# messes with kernel internals in unsupported ways
|
|
NOT_FOR_PLATFORM+= NetBSD-[5-9]*-* NetBSD-1[0-9]*-* SunOS-5.1[0-9]-*
|
|
|
|
GNU_CONFIGURE= YES
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
|
RCD_SCRIPTS= oidentd
|
|
OSVERSION_SPECIFIC= YES
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.oidentd
|
|
PKG_SUPPORTED_OPTIONS= inet6
|
|
PKG_SUGGESTED_OPTIONS= inet6
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Minet6)
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-ipv6
|
|
.endif
|
|
|
|
post-patch:
|
|
${ECHO} >>${WRKSRC}/config.h.in "#define PKG_SYSCONFDIR \"${PKG_SYSCONFDIR}\""
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|