mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
Update to 3.21b, fixing a Makefile bogon and a file descriptor leak.
Add a new knob, PEM_DIR, to specify the path to install the certificate generated during the stunnel build, and later, the one generated using the 'cert' target of the port Makefile. Approved by: maintainer
This commit is contained in:
parent
6ec5103bc6
commit
71ffdb8e0c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=49731
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= stunnel
|
||||
PORTVERSION= 3.21
|
||||
PORTVERSION= 3.21b
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= http://www.stunnel.org/download/stunnel/src/ \
|
||||
ftp://stunnel.mirt.net/stunnel/ \
|
||||
@ -19,10 +19,12 @@ USE_OPENSSL= YES
|
||||
IS_INTERACTIVE= YES # prompts for information while generating certificate
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --localstatedir=/var/run
|
||||
CONFIGURE_ARGS= --localstatedir=/var/run --with-pem-dir=${PEM_DIR}
|
||||
|
||||
MAN8= stunnel.8
|
||||
|
||||
PEM_DIR?= ${PREFIX}/etc
|
||||
|
||||
post-install:
|
||||
@${SED} "s+!!PREFIX!!+${PREFIX}+g" < ${FILESDIR}/stunnel.sh \
|
||||
> ${PREFIX}/etc/rc.d/stunnel.sh.sample
|
||||
@ -42,6 +44,6 @@ cert:
|
||||
@${ECHO} "**************************************************************************"
|
||||
@${ECHO} ""
|
||||
@(cd ${WRKSRC}; make cert)
|
||||
${INSTALL} -m 600 ${WRKSRC}/stunnel.pem ${PREFIX}/etc/
|
||||
${INSTALL} -m 600 ${WRKSRC}/stunnel.pem ${PEM_DIR}/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (stunnel-3.21.tar.gz) = b4c71ef60a7a8810132881b69ebf680a
|
||||
MD5 (stunnel-3.21b.tar.gz) = f0f830e935f8ba39860722df320220b5
|
||||
|
Loading…
Reference in New Issue
Block a user