mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
- Add vendor patch to fix bug - Authoritative PAM is not honored
- Bump portrevision Reported by: TJ Saunders <tj@castaglia.org> (developer) Approved by: sat (mentor, implicit)
This commit is contained in:
parent
f53f3376dc
commit
be5309b025
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=201119
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= proftpd
|
||||
DISTVERSION= 1.3.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= ftp
|
||||
MASTER_SITES= ftp://ftp.proftpd.org/distrib/source/ \
|
||||
ftp://ftp.fastorama.com/mirrors/ftp.proftpd.org/distrib/source/ \
|
||||
|
43
ftp/proftpd-devel/files/patch-src-auth.c
Normal file
43
ftp/proftpd-devel/files/patch-src-auth.c
Normal file
@ -0,0 +1,43 @@
|
||||
ndex: src/auth.c
|
||||
===================================================================
|
||||
RCS file: /cvsroot/proftp/proftpd/src/auth.c,v
|
||||
retrieving revision 1.52
|
||||
diff -u -r1.52 auth.c
|
||||
--- src/auth.c 5 Oct 2007 17:04:13 -0000 1.52
|
||||
+++ src/auth.c 8 Oct 2007 18:44:21 -0000
|
||||
@@ -503,6 +503,17 @@
|
||||
return res;
|
||||
}
|
||||
|
||||
+ if (MODRET_ISERROR(mr)) {
|
||||
+ res = MODRET_ERROR(mr);
|
||||
+
|
||||
+ if (cmd->tmp_pool) {
|
||||
+ destroy_pool(cmd->tmp_pool);
|
||||
+ cmd->tmp_pool = NULL;
|
||||
+ }
|
||||
+
|
||||
+ return res;
|
||||
+ }
|
||||
+
|
||||
m = NULL;
|
||||
}
|
||||
|
||||
@@ -566,6 +577,17 @@
|
||||
return res;
|
||||
}
|
||||
|
||||
+ if (MODRET_ISERROR(mr)) {
|
||||
+ res = MODRET_ERROR(mr);
|
||||
+
|
||||
+ if (cmd->tmp_pool) {
|
||||
+ destroy_pool(cmd->tmp_pool);
|
||||
+ cmd->tmp_pool = NULL;
|
||||
+ }
|
||||
+
|
||||
+ return res;
|
||||
+ }
|
||||
+
|
||||
m = NULL;
|
||||
}
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= proftpd
|
||||
DISTVERSION= 1.3.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= ftp
|
||||
MASTER_SITES= ftp://ftp.proftpd.org/distrib/source/ \
|
||||
ftp://ftp.fastorama.com/mirrors/ftp.proftpd.org/distrib/source/ \
|
||||
|
43
ftp/proftpd/files/patch-src-auth.c
Normal file
43
ftp/proftpd/files/patch-src-auth.c
Normal file
@ -0,0 +1,43 @@
|
||||
ndex: src/auth.c
|
||||
===================================================================
|
||||
RCS file: /cvsroot/proftp/proftpd/src/auth.c,v
|
||||
retrieving revision 1.52
|
||||
diff -u -r1.52 auth.c
|
||||
--- src/auth.c 5 Oct 2007 17:04:13 -0000 1.52
|
||||
+++ src/auth.c 8 Oct 2007 18:44:21 -0000
|
||||
@@ -503,6 +503,17 @@
|
||||
return res;
|
||||
}
|
||||
|
||||
+ if (MODRET_ISERROR(mr)) {
|
||||
+ res = MODRET_ERROR(mr);
|
||||
+
|
||||
+ if (cmd->tmp_pool) {
|
||||
+ destroy_pool(cmd->tmp_pool);
|
||||
+ cmd->tmp_pool = NULL;
|
||||
+ }
|
||||
+
|
||||
+ return res;
|
||||
+ }
|
||||
+
|
||||
m = NULL;
|
||||
}
|
||||
|
||||
@@ -566,6 +577,17 @@
|
||||
return res;
|
||||
}
|
||||
|
||||
+ if (MODRET_ISERROR(mr)) {
|
||||
+ res = MODRET_ERROR(mr);
|
||||
+
|
||||
+ if (cmd->tmp_pool) {
|
||||
+ destroy_pool(cmd->tmp_pool);
|
||||
+ cmd->tmp_pool = NULL;
|
||||
+ }
|
||||
+
|
||||
+ return res;
|
||||
+ }
|
||||
+
|
||||
m = NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user