pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/29833: move pure-ftpd TLS certificate
>Number: 29833
>Category: pkg
>Synopsis: move pure-ftpd TLS certificate
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Mar 30 08:40:00 +0000 2005
>Originator: Joel CARNAT
>Release: NetBSD 2.0_STABLE
>Organization:
,- This mail runs ------.
`--------- NetBSD/i386 -'
>Environment:
System: NetBSD airport.tumfatig.net 2.0_STABLE NetBSD 2.0_STABLE
(AIRPORT-$Revision: 1.595.2.11 $) #0: Tue Mar 1 09:53:16 CET 2005
root%airport.tumfatig.net@localhost:/usr/obj/sys/arch/i386/compile/AIRPORT i386
Architecture: i386
Machine: i386
>Description:
The pure-ftpd pkgsrc expect TLS certificate to be in /etc/ssl/private.
It's OK in an OpenBSD environment, but NetBSD seems to be using another
directory.
I modified options.mk to use ${SSLCERTS} (like mail/courier-imap).
>How-To-Repeat:
Enable TLS and compile/install net/pure-ftpd
>Fix:
--- options.mk.orig 2004-11-17 20:56:49.000000000 +0100
+++ options.mk 2005-03-30 10:23:17.000000000 +0200
@@ -25,5 +25,12 @@
. include "../../security/openssl/buildlink3.mk"
CONFIGURE_ARGS+= --with-tls
+CONFIGURE_ARGS+= --with-certfile=${SSLCERTS}/pure-ftpd.pem
BUILD_DEFS+= PURE_FTPD_USE_TLS
+SUBST_CLASSES+= pure_ftpd
+SUBST_MESSAGE.pure_ftpd= "Correct SSL location"
+SUBST_FILES.pure_ftpd= src/ftpd.h NEWS pure-ftpd.spec.in \
+ configure README pure-ftpd.spec \
+ configure.ac README.TLS ChangeLog
+SUBST_SED.pure_ftpd= -e
"s|/etc/ssl/private/pure-ftpd.pem|${SSLCERTS}/pure-ftpd.pem|g"
.endif
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index