| @@ -1,58 +1,58 @@ | | | @@ -1,58 +1,58 @@ |
1 | # $NetBSD: Makefile,v 1.3 2016/09/19 09:33:57 fhajny Exp $ | | 1 | # $NetBSD: Makefile,v 1.4 2016/10/02 09:19:35 fhajny Exp $ |
2 | | | 2 | |
3 | DISTNAME= hitch-1.4.0 | | 3 | DISTNAME= hitch-1.4.1 |
4 | CATEGORIES= security | | 4 | CATEGORIES= security |
5 | MASTER_SITES= https://hitch-tls.org/source/ | | 5 | MASTER_SITES= https://hitch-tls.org/source/ |
6 | | | 6 | |
7 | MAINTAINER= filip@joyent.com | | 7 | MAINTAINER= filip@joyent.com |
8 | HOMEPAGE= https://hitch-tls.org/ | | 8 | HOMEPAGE= https://hitch-tls.org/ |
9 | COMMENT= High performance SSL/TLS proxy | | 9 | COMMENT= High performance SSL/TLS proxy |
10 | LICENSE= 2-clause-bsd | | 10 | LICENSE= 2-clause-bsd |
11 | | | 11 | |
12 | BUILD_DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils | | 12 | BUILD_DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils |
13 | | | 13 | |
14 | GNU_CONFIGURE= yes | | 14 | GNU_CONFIGURE= yes |
15 | USE_TOOLS+= pkg-config | | 15 | USE_TOOLS+= pkg-config |
16 | | | 16 | |
17 | .include "../../mk/bsd.prefs.mk" | | 17 | .include "../../mk/bsd.prefs.mk" |
18 | | | 18 | |
19 | CONFIGURE_ARGS+= --with-rst2man=${PREFIX}/bin/rst2man.py${PYVERSSUFFIX} | | 19 | CONFIGURE_ARGS+= --with-rst2man=${PREFIX}/bin/rst2man.py${PYVERSSUFFIX} |
20 | | | 20 | |
21 | CPPFLAGS.SunOS+= -D__EXTENSIONS__ | | 21 | CPPFLAGS.SunOS+= -D__EXTENSIONS__ |
22 | LIBS.SunOS+= -lnsl -lsocket | | 22 | LIBS.SunOS+= -lnsl -lsocket |
23 | | | 23 | |
24 | BUILD_DEFS+= HITCH_USER HITCH_GROUP HITCH_CERTS | | 24 | BUILD_DEFS+= HITCH_USER HITCH_GROUP HITCH_CERTS |
25 | | | 25 | |
26 | HITCH_USER?= hitch | | 26 | HITCH_USER?= hitch |
27 | HITCH_GROUP?= hitch | | 27 | HITCH_GROUP?= hitch |
28 | HITCH_CERTS?= ${PKG_SYSCONFDIR}/certs.pem | | 28 | HITCH_CERTS?= ${PKG_SYSCONFDIR}/certs.pem |
29 | | | 29 | |
30 | PKG_GROUPS+= ${HITCH_GROUP} | | 30 | PKG_GROUPS+= ${HITCH_GROUP} |
31 | PKG_USERS+= ${HITCH_USER}:${HITCH_GROUP} | | 31 | PKG_USERS+= ${HITCH_USER}:${HITCH_GROUP} |
32 | PKG_GECOS.${HITCH_USER}=hitch daemon user | | 32 | PKG_GECOS.${HITCH_USER}=hitch daemon user |
33 | | | 33 | |
34 | RCD_SCRIPTS= hitch | | 34 | RCD_SCRIPTS= hitch |
35 | | | 35 | |
36 | MESSAGE_SUBST+= HITCH_CERTS=${HITCH_CERTS} | | 36 | MESSAGE_SUBST+= HITCH_CERTS=${HITCH_CERTS} |
37 | | | 37 | |
38 | SUBST_CLASSES+= dir | | 38 | SUBST_CLASSES+= dir |
39 | SUBST_STAGE.dir= pre-configure | | 39 | SUBST_STAGE.dir= pre-configure |
40 | SUBST_FILES.dir= hitch.conf.example | | 40 | SUBST_FILES.dir= hitch.conf.example |
41 | SUBST_VARS.dir= HITCH_USER HITCH_GROUP HITCH_CERTS | | 41 | SUBST_VARS.dir= HITCH_USER HITCH_GROUP HITCH_CERTS |
42 | SUBST_MESSAGE.dir= Setting default configuration values | | 42 | SUBST_MESSAGE.dir= Setting default configuration values |
43 | | | 43 | |
44 | PKG_SYSCONFSUBDIR= hitch | | 44 | PKG_SYSCONFSUBDIR= hitch |
45 | CONF_FILES+= share/examples/hitch/hitch.conf.example \ | | 45 | CONF_FILES+= share/examples/hitch/hitch.conf.example \ |
46 | ${PKG_SYSCONFDIR}/hitch.conf | | 46 | ${PKG_SYSCONFDIR}/hitch.conf |
47 | | | 47 | |
48 | INSTALLATION_DIRS+= share/examples/hitch | | 48 | INSTALLATION_DIRS+= share/examples/hitch |
49 | | | 49 | |
50 | post-install: | | 50 | post-install: |
51 | ${MV} ${DESTDIR}${PREFIX}/share/doc/hitch/hitch.conf.example \ | | 51 | ${MV} ${DESTDIR}${PREFIX}/share/doc/hitch/hitch.conf.example \ |
52 | ${DESTDIR}${PREFIX}/share/examples/hitch | | 52 | ${DESTDIR}${PREFIX}/share/examples/hitch |
53 | | | 53 | |
54 | PYTHON_FOR_BUILD_ONLY= yes | | 54 | PYTHON_FOR_BUILD_ONLY= yes |
55 | .include "../../lang/python/pyversion.mk" | | 55 | .include "../../lang/python/pyversion.mk" |
56 | .include "../../devel/libev/buildlink3.mk" | | 56 | .include "../../devel/libev/buildlink3.mk" |
57 | .include "../../security/openssl/buildlink3.mk" | | 57 | .include "../../security/openssl/buildlink3.mk" |
58 | .include "../../mk/bsd.pkg.mk" | | 58 | .include "../../mk/bsd.pkg.mk" |