Update proftpd to fix the clamav extract issue. This was pointed out by someone through email. Fix: Patch attached with submission follows:
Responsible Changed From-To: freebsd-ports-bugs->wxs I'll take it.
wxs 2009-10-11 11:53:06 UTC FreeBSD ports repository Modified files: ftp/proftpd Makefile Log: - Fix clamav extraction. PR: ports/139270 Submitted by: Chris Petrik <chris@officialunix.com> (maintainer) Revision Changes Path 1.158 +3 -2 ports/ftp/proftpd/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!
Hi Chris, Your patch http://www.FreeBSD.org/cgi/query-pr.cgi?pr=139270 breaks building of proftpd with mod_clamav for me, as when the EXTRACT_ONLY line is uncommented, the ports system tries to extract the mod_clamav....tar.gz file using bzip2, and fails. Later in the Makefile the file is being extracted using gzip manually, I think just for this reason. When that line is commented out everything works just fine. Here are the build logs with the EXTRACT_ONLY line uncommented: ===> License check disabled, port has not defined LICENSE ===> Found saved configuration for proftpd-1.3.3_5 ===> Extracting for proftpd-1.3.3d => SHA256 Checksum OK for proftpd-1.3.3d.tar.bz2. => SHA256 Checksum OK for mod_clamav-0.11rc.tar.gz. bzip2: /usr/ports/distfiles//mod_clamav-0.11rc.tar.gz is not a bzip2 file. tar: Error opening archive: Empty input file: Inappropriate file type or format *** Error code 1 Stop in /usr/ports/ftp/proftpd. *** Error code 1 Stop in /usr/ports/ftp/proftpd. -- Ph.
On Sat, Jan 1, 2011 at 11:25 PM, Chris Petrik <chris@cpetservices.com> wrot= e: > On 1/1/2011 8:45 AM, Phil Krylov wrote: >> >> Hi Chris, >> >> Your patch http://www.FreeBSD.org/cgi/query-pr.cgi?pr=3D139270 breaks >> building of proftpd with mod_clamav for me, as when the EXTRACT_ONLY >> line is uncommented, the ports system tries to extract the >> mod_clamav....tar.gz file using bzip2, and fails. Later in the >> Makefile the file is being extracted using gzip manually, I think just >> for this reason. When that line is commented out everything works just >> fine. Here are the build logs with the EXTRACT_ONLY line uncommented: >> >> =3D=3D=3D> =C2=A0 License check disabled, port has not defined LICENSE >> =3D=3D=3D> =C2=A0 Found saved configuration for proftpd-1.3.3_5 >> =3D=3D=3D> =C2=A0 Extracting for proftpd-1.3.3d >> =3D> =C2=A0SHA256 Checksum OK for proftpd-1.3.3d.tar.bz2. >> =3D> =C2=A0SHA256 Checksum OK for mod_clamav-0.11rc.tar.gz. >> bzip2: /usr/ports/distfiles//mod_clamav-0.11rc.tar.gz is not a bzip2 fil= e. >> tar: Error opening archive: Empty input file: Inappropriate file type or >> format >> *** Error code 1 >> >> Stop in /usr/ports/ftp/proftpd. >> *** Error code 1 >> >> Stop in /usr/ports/ftp/proftpd. >> >> >> -- Ph. > > Whoa I am no longer the maintainer for proftpd, thought this was for p7zi= p. OK sorry Chris, I then re-address the question to the current maintainer, wxs@freebsd.org. -- Ph.
On Sat, Jan 01, 2011 at 11:41:37PM +0530, Phil Krylov wrote: > On Sat, Jan 1, 2011 at 11:25 PM, Chris Petrik <chris@cpetservices.com> wrote: > > On 1/1/2011 8:45 AM, Phil Krylov wrote: > >> > >> Hi Chris, > >> > >> Your patch http://www.FreeBSD.org/cgi/query-pr.cgi?pr=139270 breaks > >> building of proftpd with mod_clamav for me, as when the EXTRACT_ONLY > >> line is uncommented, the ports system tries to extract the > >> mod_clamav....tar.gz file using bzip2, and fails. Later in the > >> Makefile the file is being extracted using gzip manually, I think just > >> for this reason. When that line is commented out everything works just > >> fine. Here are the build logs with the EXTRACT_ONLY line uncommented: > >> > >> ===> ?? License check disabled, port has not defined LICENSE > >> ===> ?? Found saved configuration for proftpd-1.3.3_5 > >> ===> ?? Extracting for proftpd-1.3.3d > >> => ??SHA256 Checksum OK for proftpd-1.3.3d.tar.bz2. > >> => ??SHA256 Checksum OK for mod_clamav-0.11rc.tar.gz. > >> bzip2: /usr/ports/distfiles//mod_clamav-0.11rc.tar.gz is not a bzip2 file. > >> tar: Error opening archive: Empty input file: Inappropriate file type or > >> format > >> *** Error code 1 > >> > >> Stop in /usr/ports/ftp/proftpd. > >> *** Error code 1 > >> > >> Stop in /usr/ports/ftp/proftpd. > >> > >> > >> -- Ph. > > > > Whoa I am no longer the maintainer for proftpd, thought this was for p7zip. > > OK sorry Chris, I then re-address the question to the current > maintainer, wxs@freebsd.org. I am not the maintainer of proftpd. mm@ is and I have already sent a patch to him for approval. -- WXS