Bug 176614 - [PATCH] ftp/pure-ftpd: can not redefine cert file
Summary: [PATCH] ftp/pure-ftpd: can not redefine cert file
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-03 12:10 UTC by Ilya Pizik
Modified: 2013-05-06 19:00 UTC (History)
0 users

See Also:


Attachments
file.diff (729 bytes, patch)
2013-03-03 12:10 UTC, Ilya Pizik
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Pizik 2013-03-03 12:10:00 UTC
There is no way to redefine certicicate file location after updating ftp/pure-ftpd to new options framework.

Fix: Patch attached

Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-03-03 12:10:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sunpoet

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2013-05-06 18:57:49 UTC
State Changed
From-To: open->closed

Problem solved in the ports tree.
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-05-06 18:57:49 UTC
Author: sunpoet
Date: Mon May  6 17:57:36 2013
New Revision: 317534
URL: http://svnweb.freebsd.org/changeset/ports/317534

Log:
  - Use CERTFILE for custom certificate location
  
  PR:		ports/176614
  Requested by:	Ilya Pizik <ilya.pizik@gmail.com>

Modified:
  head/ftp/pure-ftpd/Makefile

Modified: head/ftp/pure-ftpd/Makefile
==============================================================================
--- head/ftp/pure-ftpd/Makefile	Mon May  6 17:16:05 2013	(r317533)
+++ head/ftp/pure-ftpd/Makefile	Mon May  6 17:57:36 2013	(r317534)
@@ -93,9 +93,8 @@ CONFIGURE_ARGS+=	--with-throttling
 .if ${PORT_OPTIONS:MTLS}
 CONFIGURE_ARGS+=	--with-tls
 # different certificate file location?
-. if ${PORT_OPTIONS:MCERTFILE}
-CONFIGURE_ARGS+=	--with-certfile=${WITH_CERTFILE}
-. endif
+CERTFILE?=      /etc/ssl/private/pure-ftpd.pem
+CONFIGURE_ARGS+=	--with-certfile=${CERTFILE}
 .endif
 
 # if mysql or ldap are disabled, enable pam
@@ -158,7 +157,7 @@ CONTRIB=	xml_python_processors.txt pure-
 
 pre-fetch:
 	@${ECHO_MSG} "You can use the following additional options:"
-	@${ECHO_MSG} "WITH_CERTFILE=/path   - Set different location of certificate file for TLS"
+	@${ECHO_MSG} "CERTFILE=/path        - Custom location of certificate file for TLS"
 	@${ECHO_MSG} "WITH_LANG=lang        - Enable compilation of language support, lang is one of"
 	@${ECHO_MSG} "  english, german, romanian, french, french-funny, polish, spanish,"
 	@${ECHO_MSG} "  danish, dutch, italian, brazilian-portuguese, slovak, korean, swedish,"
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"