of 16 characters together with terminating NULL
da7a87dc3a1db2acee039801572c17bc ftpd-BSD-username.patch
Changed files:
ftpd-BSD-username.patch -> 1.1
ftpd-BSD.spec -> 1.25
--- /dev/null
+diff -bruN ftpd-BSD-0.3.2/ftpd/ftpd.c ftpd-BSD-0.3.2.new/ftpd/ftpd.c
+--- ftpd-BSD-0.3.2/ftpd/ftpd.c Fri Jul 7 05:06:04 2000
++++ ftpd-BSD-0.3.2.new/ftpd/ftpd.c Tue Nov 7 17:51:08 2000
+@@ -802,7 +802,7 @@
+
+ static int login_attempts; /* number of failed login attempts */
+ static int askpasswd; /* had user command, ask for passwd */
+-static char curname[16]; /* current USER name */
++static char curname[17]; /* current USER name */
+
+ /*
+ * USER command.
Source3: %{name}-ftpusers
Patch0: %{name}-anonuser.patch
Patch1: %{name}-paths.patch
Source3: %{name}-ftpusers
Patch0: %{name}-anonuser.patch
Patch1: %{name}-paths.patch
+Patch2: %{name}-username.patch
Buildrequires: libwrap-devel
Buildrequires: pam-devel
Requires: rc-inetd
Buildrequires: libwrap-devel
Buildrequires: pam-devel
Requires: rc-inetd
%setup -q
%patch0 -p1
%patch1 -p1
%setup -q
%patch0 -p1
%patch1 -p1
%build
%{__make} -C ftpd OPT_CFLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g}"
%build
%{__make} -C ftpd OPT_CFLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g}"