FreeBSD Bugzilla – Attachment 258890 Details for
Bug 239391
ftp/pure-ftpd: Using pureftpd_flags causes 421 Invalid argument: "/usr/local/etc/pure-ftpd.conf"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
[PATCH] ftp/pure-ftpd: add @sample keywords and fix rc command_args
0001-ftp-pure-ftpd-add-sample-keywords-and-fix-rc-command.patch (text/plain), 2.35 KB, created by
Siva Mahadevan
on 2025-03-21 18:32:13 UTC
(
hide
)
Description:
[PATCH] ftp/pure-ftpd: add @sample keywords and fix rc command_args
Filename:
MIME Type:
Creator:
Siva Mahadevan
Created:
2025-03-21 18:32:13 UTC
Size:
2.35 KB
patch
obsolete
>From 534985699cc88a86bf0ec32a595775ab4c3e5a22 Mon Sep 17 00:00:00 2001 >From: Siva Mahadevan <me@svmhdvn.name> >Date: Fri, 21 Mar 2025 16:50:53 +0000 >Subject: [PATCH] ftp/pure-ftpd: add @sample keywords and fix rc command_args > >--- > ftp/pure-ftpd/Makefile | 1 + > ftp/pure-ftpd/files/pure-ftpd.in | 3 +-- > ftp/pure-ftpd/pkg-plist | 8 ++++---- > 3 files changed, 6 insertions(+), 6 deletions(-) > >diff --git a/ftp/pure-ftpd/Makefile b/ftp/pure-ftpd/Makefile >index 93b4eca1c92d..77df47efb6a2 100644 >--- a/ftp/pure-ftpd/Makefile >+++ b/ftp/pure-ftpd/Makefile >@@ -1,5 +1,6 @@ > PORTNAME= pure-ftpd > PORTVERSION= 1.0.52 >+PORTREVISION= 1 > CATEGORIES= ftp > MASTER_SITES= https://github.com/jedisct1/pure-ftpd/releases/download/${PORTVERSION}/ \ > https://download.pureftpd.org/pub/pure-ftpd/releases/ >diff --git a/ftp/pure-ftpd/files/pure-ftpd.in b/ftp/pure-ftpd/files/pure-ftpd.in >index fb71a8f84dd3..ee6e348759be 100644 >--- a/ftp/pure-ftpd/files/pure-ftpd.in >+++ b/ftp/pure-ftpd/files/pure-ftpd.in >@@ -31,6 +31,7 @@ load_rc_config $name > command=%%PREFIX%%/sbin/pure-ftpd > procname=pure-ftpd > pureftpd_config=${pureftpd_config:-"%%PREFIX%%/etc/pure-ftpd.conf"} >+: ${pureftpd_flags:=$pureftpd_config} > pureftpd_enable=${pureftpd_enable:-"no"} > pureftpd_pidfile=${pureftpd_pidfile:-"/var/run/pure-ftpd.pid"} > required_files=${pureftpd_config} >@@ -46,8 +47,6 @@ pidfile_uploadscript=${pidfile_uploadscript:-"/var/run/pure-uploadscript.pid"} > pureftpd_upload_enable=${pureftpd_upload_enable:-"no"} > pureftpd_uploadscript=${pureftpd_uploadscript:-"/usr/bin/touch"} > # command_args >-flags="${pureftpd_config}" >-command_args="${pureftpd_flags}" > command_authd_args="-B -p ${pidfile_authd} -r ${pureftpd_authdscript} -s ${pureftpd_authsocket}" > command_upload_args="-B -p ${pidfile_uploadscript} -r ${pureftpd_uploadscript}" > >diff --git a/ftp/pure-ftpd/pkg-plist b/ftp/pure-ftpd/pkg-plist >index b87239c7b0a2..aa53006c4768 100644 >--- a/ftp/pure-ftpd/pkg-plist >+++ b/ftp/pure-ftpd/pkg-plist >@@ -1,10 +1,10 @@ > bin/pure-pw > bin/pure-pwconvert > bin/pure-statsdecode >-etc/pure-ftpd.conf.sample >-etc/pureftpd-ldap.conf.sample >-etc/pureftpd-mysql.conf.sample >-etc/pureftpd-pgsql.conf.sample >+@sample etc/pure-ftpd.conf.sample >+@sample etc/pureftpd-ldap.conf.sample >+@sample etc/pureftpd-mysql.conf.sample >+@sample etc/pureftpd-pgsql.conf.sample > sbin/pure-alwaysfail > sbin/pure-authd > sbin/pure-certd >-- >2.48.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 239391
: 258890