FreeBSD Port: vsftpd-2.0.6 - spelling mistake in user name -
Annonymus
Richard Toohey
richardtoohey at paradise.net.nz
Sat May 24 08:14:22 UTC 2008
On 23/05/2008, at 12:35 AM, Sahil Tandon wrote:
> Patch and submit a PR? :)
Fair enough - before I RTFM on sending a PR, is this patch OK?
(I had to manually change spaces back into tabs, so not sure how that
part will go ...)
[get latest code]
# portsnap fetch update
[---stuff happens---]
# cd /usr/ports/ftp/vsftpd/
# cp pkg-install pkg-install-old
[correct spelling in pkg-install using editor of choice]
# diff -u pkg-install-old pkg-install
--- pkg-install-old 2008-05-24 20:07:54.000000000 +1200
+++ pkg-install 2008-05-24 20:09:14.000000000 +1200
@@ -16,7 +16,7 @@
fi
if ! pw usershow ftp >/dev/null; then
- if pw useradd ftp -g operator -u 14 -h - -d /var/ftp -s /
nonexistent -c "Annonymus Ftp"; then
+ if pw useradd ftp -g operator -u 14 -h - -d /var/ftp -s /
nonexistent -c "Anonymous Ftp"; then
echo "Added user ftp for vsftpd"
else
echo "Failed to add user ftp as gid 14" >&2
More information about the freebsd-ports
mailing list