FreeBSD Bugzilla – Attachment 227153 Details for
Bug 257803
ftp/vsftpd: fix user management with pkg -r
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
vsftpd.diff (text/plain), 1.11 KB, created by
Brad Davis
on 2021-08-13 01:22:21 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Brad Davis
Created:
2021-08-13 01:22:21 UTC
Size:
1.11 KB
patch
obsolete
>diff --git a/ftp/vsftpd/Makefile b/ftp/vsftpd/Makefile >index 88f960bbb9..ba6371e5ca 100644 >--- a/ftp/vsftpd/Makefile >+++ b/ftp/vsftpd/Makefile >@@ -2,6 +2,7 @@ > > PORTNAME= vsftpd > PORTVERSION= 3.0.5 >+PORTREVISION= 1 > CATEGORIES= ftp > MASTER_SITES= https://security.appspot.com/downloads/ \ > GENTOO >@@ -12,8 +13,8 @@ COMMENT= FTP daemon that aims to be "very secure" > > LICENSE= GPLv2 > >-#USERS= ftp >-#GROUPS= ftp >+USERS= ftp >+GROUPS= ftp > USES= alias > ALL_TARGET= vsftpd > USE_RC_SUBR= vsftpd >diff --git a/ftp/vsftpd/pkg-plist b/ftp/vsftpd/pkg-plist >index 0f3c55c7d8..d091dd0415 100644 >--- a/ftp/vsftpd/pkg-plist >+++ b/ftp/vsftpd/pkg-plist >@@ -1,8 +1,6 @@ > libexec/vsftpd > man/man5/vsftpd.conf.5.gz > man/man8/vsftpd.8.gz >-@preexec if ! pw groupshow ftp 2>/dev/null; then pw groupadd ftp -g 14; fi >-@preexec if ! pw usershow ftp 2>/dev/null; then pw useradd ftp -g ftp -u 14 -h - -d /var/ftp -s /nonexistent -c "Anonymous FTP"; fi > @preunexec if diff -q %D/etc/vsftpd.conf %D/etc/vsftpd.conf.dist; then rm %D/etc/vsftpd.conf; fi > etc/vsftpd.conf.dist > @postexec if [ ! -f %B/vsftpd.conf ]; then cp %B/vsftpd.conf.dist %B/vsftpd.conf; fi
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 257803
: 227153