Po-Chuan Hsieh 2022-06-16 21:59:09 +08:00
parent 56f072ecc3
commit 8283ed5233
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
3 changed files with 4 additions and 34 deletions

View file

@ -1,8 +1,7 @@
# Created by: Frank DENIS
PORTNAME= pure-ftpd
PORTVERSION= 1.0.50
PORTREVISION= 2
PORTVERSION= 1.0.51
CATEGORIES= ftp
MASTER_SITES= https://github.com/jedisct1/pure-ftpd/releases/download/${PORTVERSION}/ \
https://download.pureftpd.org/pub/pure-ftpd/releases/

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1638556480
SHA256 (pure-ftpd-1.0.50.tar.bz2) = 6722c7fd09fe3c9ebbd572f3d097087ec7b32aacb3df8fa3400d4c07e4f377d7
SIZE (pure-ftpd-1.0.50.tar.bz2) = 520167
TIMESTAMP = 1655208214
SHA256 (pure-ftpd-1.0.51.tar.bz2) = 622360b86c60b563abe0e994f0a86cfe5ccfde597b29a14b0a79b6e5aa05a304
SIZE (pure-ftpd-1.0.51.tar.bz2) = 520648

View file

@ -1,29 +0,0 @@
Obtained from: https://github.com/jedisct1/pure-ftpd/commit/c3f0f3c91d86939e6fabf5f65c6c6fc964e6032e
--- src/log_pgsql.c.orig 2021-11-23 21:36:05 UTC
+++ src/log_pgsql.c
@@ -278,7 +278,6 @@ static int pw_pgsql_connect(PGconn ** const id_sql_ser
*id_sql_server = NULL;
if ((escaped_server = pw_pgsql_escape_conninfo(server)) == NULL ||
- (escaped_port = pw_pgsql_escape_conninfo(port)) == NULL ||
(escaped_db = pw_pgsql_escape_conninfo(db)) == NULL ||
(escaped_user = pw_pgsql_escape_conninfo(user)) == NULL ||
(escaped_pw = pw_pgsql_escape_conninfo(pw)) == NULL) {
@@ -296,7 +295,7 @@ static int pw_pgsql_connect(PGconn ** const id_sql_ser
}
if (SNCHECK(snprintf(conninfo, sizeof_conninfo,
PGSQL_CONNECT_FMTSTRING,
- escaped_server, escaped_port, escaped_db,
+ escaped_server, port, escaped_db,
escaped_user, escaped_pw), sizeof_conninfo)) {
goto bye;
}
@@ -314,7 +313,6 @@ static int pw_pgsql_connect(PGconn ** const id_sql_ser
bye:
free(conninfo);
free(escaped_server);
- free(escaped_port);
free(escaped_db);
free(escaped_user);
free(escaped_pw);