Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 May 2008 20:04:26 +1200
From:      Richard Toohey <richardtoohey@paradise.net.nz>
To:        Sahil Tandon <sahil@tandon.net>
Cc:        "dinoex@FreeBSD.org" <dinoex@FreeBSD.org>, "ports@FreeBSD.org" <ports@FreeBSD.org>
Subject:   Re: FreeBSD Port: vsftpd-2.0.6 - spelling mistake in user name - Annonymus
Message-ID:  <F02A9D0D-8F4E-4042-9220-60450A8AB9F2@paradise.net.nz>
In-Reply-To: <508B479E-030E-4F1B-B29F-0C73D1A3336A@tandon.net>
References:  <568BE118-35B5-440B-AC31-3676F901FFA3@paradise.net.nz> <508B479E-030E-4F1B-B29F-0C73D1A3336A@tandon.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F02A9D0D-8F4E-4042-9220-60450A8AB9F2>