commit b7543ba0741fe37160e0458c171c7900eebebce3
Author: Arkadiusz Miśkiewicz <[email protected]>
Date:   Wed Jan 18 12:34:50 2023 +0100

    Rel 7; don't strip spaces from file names - that breaks MKD 'some file  '.

 keep-spaces.patch | 11 +++++++++++
 pure-ftpd.spec    |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/pure-ftpd.spec b/pure-ftpd.spec
index 3c9614d..9c233a7 100644
--- a/pure-ftpd.spec
+++ b/pure-ftpd.spec
@@ -9,7 +9,7 @@
 %bcond_without tls             # disable SSL/TLS support
 %bcond_without cap             # disable capabilities
 
-%define        rel     6
+%define        rel     7
 Summary:       Small, fast and secure FTP server
 Summary(pl.UTF-8):     Mały, szybki i bezpieczny serwer FTP
 Name:          pure-ftpd
@@ -38,6 +38,7 @@ Patch7:               %{name}-mysql-utf8.patch
 Patch8:                caps.patch
 Patch9:                pure-ftpd-1.0.49-diraliases_uninitialized_pointer.patch
 Patch10:       pure-ftpd-1.0.49-pure_strcmp_OOB_read.patch
+Patch11:        keep-spaces.patch
 URL:           http://www.pureftpd.org/
 %{?with_extra:BuildRequires:   autoconf}
 %{?with_extra:BuildRequires:   automake}
@@ -120,6 +121,7 @@ Ten pakiet zawiera schemat Pure-FTPd pureftpd.schema dla 
openldapa.
 %patch8 -p1
 %patch9 -p1
 %patch10 -p1
+%patch11 -p1
 
 %{?with_extra:%patch2 -p1}
 
diff --git a/keep-spaces.patch b/keep-spaces.patch
new file mode 100644
index 0000000..77eb46f
--- /dev/null
+++ b/keep-spaces.patch
@@ -0,0 +1,11 @@
+--- pure-ftpd-1.0.49/src/ftp_parser.c~ 2023-01-18 12:31:46.000000000 +0100
++++ pure-ftpd-1.0.49/src/ftp_parser.c  2023-01-18 12:32:17.556586368 +0100
+@@ -167,7 +167,7 @@ int sfgets(void)
+ 
+ /* Replace extra spaces before and after a string with '_' */
+ 
+-#ifdef MINIMAL
++#if 1
+ # define revealextraspc(X) (X)
+ #else
+ static char *revealextraspc(char * const s_)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pure-ftpd.git/commitdiff/b7543ba0741fe37160e0458c171c7900eebebce3

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to