Added
Link Here
|
1 |
# Created by Bruno Damour <bruno@ruomad.net> |
2 |
# |
3 |
|
4 |
PORTNAME= openca-ocspd |
5 |
DISTVERSIONPREFIX= v |
6 |
DISTVERSION= 3.1.3 |
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 |
LICENSE_FILE= ${WRKSRC}/COPYING |
15 |
|
16 |
LIB_DEPENDS= libpki.so:security/libpki |
17 |
|
18 |
USES= ssl gnome autoreconf libtool shebangfix |
19 |
USE_GITHUB= yes |
20 |
GH_ACCOUNT= openca |
21 |
SHEBANG_FILES= etc/ocspd.in scripts/ocspd-genreq.sh.in |
22 |
USE_GNOME= libxml2 |
23 |
|
24 |
# Add a rc script to start the OCSP daemon |
25 |
USE_RC_SUBR= ocspd |
26 |
|
27 |
# Provided patches fix : |
28 |
# - configure.ac to detect the presence of socket.h : |
29 |
# hence the need to autoreconf |
30 |
|
31 |
GNU_CONFIGURE= yes |
32 |
CONFIGURE_ARGS= --with-libpki-prefix=${PREFIX} |
33 |
|
34 |
# Rename installed configuration files to samples |
35 |
post-stage: |
36 |
for f in $$(find ${STAGEDIR}${PREFIX}/etc/ocspd -type f); do \ |
37 |
${MV} $$f $$f.sample; \ |
38 |
done |
39 |
|
40 |
.include <bsd.port.mk> |