Added
Link Here
|
1 |
# Created by Bruno Damour <bruno@ruomad.net> |
2 |
# |
3 |
|
4 |
PORTNAME= openca-ocspd |
5 |
DISTVERSION= 3.1.3 |
6 |
DISTVERSIONPREFIX= v |
7 |
CATEGORIES= security |
8 |
DISTNAME= openca-ocspd-3.1.3 |
9 |
|
10 |
MAINTAINER= bruno@ruomad.net |
11 |
COMMENT= OpenCA OCSP responder |
12 |
|
13 |
LICENSE= APACHE20 |
14 |
|
15 |
LIB_DEPENDS= libpki.so:security/libpki \ |
16 |
libxml2.so:textproc/libxml2 |
17 |
|
18 |
USES= ssl autoreconf libtool shebangfix |
19 |
USE_GITHUB= yes |
20 |
GH_ACCOUNT= openca |
21 |
#GH_TAGNAME= v3.1.1-81-g99b7613 |
22 |
SHEBANG_FILES= etc/ocspd.in scripts/ocspd-genreq.sh.in test/test.sh |
23 |
|
24 |
# Add a rc script to start the OCSP daemon |
25 |
USE_RC_SUBR= ocspd |
26 |
|
27 |
# Provided patches fix : |
28 |
# - src/global-vars.in to add localrootdir (new autoconf versions) |
29 |
# - configure.ac to detect the presence of socket.h : |
30 |
# hence the need to autoreconf |
31 |
PATCH_STRIP= -p0 |
32 |
|
33 |
GNU_CONFIGURE= yes |
34 |
CONFIGURE_ARGS= --with-libpki-prefix=${PREFIX} |
35 |
|
36 |
# Rename installed configuration files to samples |
37 |
post-stage: |
38 |
for f in $$(find ${STAGEDIR}${PREFIX}/etc/ocspd -type f); do \ |
39 |
${MV} $$f $$f.sample; \ |
40 |
done |
41 |
|
42 |
.include <bsd.port.mk> |