-
Notifications
You must be signed in to change notification settings - Fork 106
/
Makefile
30 lines (21 loc) · 864 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $NetBSD: Makefile,v 1.6 2014/07/20 17:43:29 adam Exp $
.include "../../net/openvpn/Makefile.common"
DISTNAME= openvpn-acct-wtmpx-20130210
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${OPENVPN_DISTFILE}
PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= http://ftp.espci.fr/pub/openvpn-acct-wtmpx/
EXTRACT_SUFX= .tgz
MAINTAINER= manu@NetBSD.org
HOMEPAGE= http://ftp.espci.fr/pub/openvpn-acct-wtmpx/
COMMENT= Log OpenVPN logins and logouts to wtmpx
LICENSE= 2-clause-bsd
PKG_DESTDIR_SUPPORT= user-destdir
USE_LIBTOOL= yes
USE_TOOLS+= install
MAKE_ENV+= OPENVPN_PLUGINSDIR=${PREFIX:Q}/${OPENVPN_PLUGINSDIR:Q}
MAKE_ENV+= OPENVPN_DISTNAME=${OPENVPN_DISTNAME:Q}
PLIST_SUBST+= OPENVPN_PLUGINSDIR=${OPENVPN_PLUGINSDIR:Q}
MESSAGE_SUBST+= OPENVPN_PLUGINSDIR=${PREFIX:Q}/${OPENVPN_PLUGINSDIR:Q}
SPECIAL_PERMS+= bin/logwtmpx ${SETUID_ROOT_PERMS}
.include "../../mk/bsd.pkg.mk"