Bug 139270 - fix issue with proftpd and clamav
Summary: fix issue with proftpd and clamav
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Wesley Shields
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-01 02:30 UTC by Chris Petrik
Modified: 2011-01-01 19:00 UTC (History)
0 users

See Also:


Attachments
file.diff (936 bytes, patch)
2009-10-01 02:30 UTC, Chris Petrik
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Petrik 2009-10-01 02:30:02 UTC
Update proftpd to fix the clamav extract issue.

This was pointed out by someone through email.

Fix: Patch attached with submission follows:
Comment 1 Wesley Shields freebsd_committer freebsd_triage 2009-10-01 02:55:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wxs

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2009-10-11 12:53:15 UTC
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"
Comment 3 Wesley Shields freebsd_committer freebsd_triage 2009-10-11 13:06:21 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 4 phil.krylov 2011-01-01 14:45:42 UTC
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.
Comment 5 phil.krylov 2011-01-01 18:11:37 UTC
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.
Comment 6 Wesley Shields freebsd_committer freebsd_triage 2011-01-01 18:37:02 UTC
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