Bug 63065 - [PATCH] security/clamav: update to version 0.67-1
Summary: [PATCH] security/clamav: update to version 0.67-1
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: Oliver Eikemeier
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-19 14:00 UTC by Oliver Eikemeier
Modified: 2004-03-06 20:46 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (8.29 KB, patch)
2004-02-19 14:00 UTC, Oliver Eikemeier
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Eikemeier 2004-02-19 14:00:38 UTC
- update to version 0.67-1
- install NEWS/ChangeLog
Comment 1 Oliver Eikemeier freebsd_committer freebsd_triage 2004-02-19 14:02:18 UTC
State Changed
From-To: open->feedback

maintainer CC'ed 


Comment 2 Oliver Eikemeier freebsd_committer freebsd_triage 2004-02-19 14:02:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->eik

handle my own PRs
Comment 3 Angelo Turetta 2004-03-01 18:09:31 UTC
Oliver,

I tested your patch on 4-STABLE (buildworld of about one month ago).

The distribution tarball of 0.67 is missing mirrors.txt, so it should be removed from pkg-plist.

At least on 4-STABLE, the build of clamav-milter stops at clamav-milter.c(426) because 
configure wrongly misses the presence of in_port_t. I'm not an expert with automake, so I 
worked around it with a horrible Makefile hack. Maybe you can do it The Right Way.
---------------------
@@ -71,10 +74,11 @@
                 RC_SUFX=${RC_SUFX}

  .if defined(WITH_MILTER) && !defined(NO_SENDMAIL)
+CPPFLAGS+=     -DHAVE_IN_PORT_T=1
  .if exists(${LOCALBASE}/lib/libmilter.a)
  CPPFLAGS+=     -I${LOCALBASE}/include
-CONFIGURE_ENV+=        CPPFLAGS="${CPPFLAGS}"
  .endif
+CONFIGURE_ENV+=        CPPFLAGS="${CPPFLAGS}"
  CONFIGURE_ARGS+=       --enable-milter
  PLIST_SUB+=    CLAMAV-MILTER=""
  .else
@@ -88,17 +92,11 @@
                 ${WRKSRC}/clamav-milter/clamav-milter.c
----------------------

Also, install is installing directly etc/clamav.conf and etc/freshclam.conf but not their 
.default variations, obviously confusing the package creation & removal.

Hope this helps,
Angelo Turetta
Comment 4 Oliver Eikemeier freebsd_committer freebsd_triage 2004-03-06 20:46:07 UTC
State Changed
From-To: feedback->closed

Committed (maintainer timeout)