summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-06-11 20:04:30 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-06-11 20:04:30 +0000
commitdc742d4a4ed30094a485f5ea69205424416ce562 (patch)
tree6c4105cd1f97d20b909b8e3112f756706f4b88d3 /security
parentUpdate to 2.6.0.3. (diff)
- Update to 20040610
PR: ports/67792 Submitted by: Rob Evers <rob@debank.tv> (maintainer)
Notes
Notes: svn path=/head/; revision=111302
Diffstat (limited to 'security')
-rw-r--r--security/clamav-devel/Makefile5
-rw-r--r--security/clamav-devel/distinfo4
-rw-r--r--security/clamav-devel/files/clamav-freshclam.sh2
-rw-r--r--security/clamav-devel/pkg-plist5
4 files changed, 11 insertions, 5 deletions
diff --git a/security/clamav-devel/Makefile b/security/clamav-devel/Makefile
index 85537ab65fc1..e3b79cf5fdbd 100644
--- a/security/clamav-devel/Makefile
+++ b/security/clamav-devel/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= clamav
-PORTVERSION= 20040609
+PORTVERSION= 20040610
CATEGORIES= security
MASTER_SITES= http://clamav.sourceforge.net/snapshot/
PKGNAMESUFFIX= -devel
@@ -26,6 +26,7 @@ RUN_DEPENDS= lha:${PORTSDIR}/archivers/lha \
OPTIONS= MILTER "Compile the milter interface" off
USE_REINPLACE= yes
USE_GMAKE= yes
+USE_GNOME= pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_AUTOCONF_VER=259
@@ -106,6 +107,8 @@ PLIST_SUB+= CLAMAV-MILTER="@comment "
post-patch:
@${REINPLACE_CMD} -e 's|/usr/lib/sendmail|/usr/sbin/sendmail|g' \
${WRKSRC}/clamav-milter/clamav-milter.c
+ @${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' \
+ ${WRKSRC}/Makefile.in
post-build:
@${SED} ${SED_CONF} ${BUILD_WRKSRC}/etc/clamav.conf \
diff --git a/security/clamav-devel/distinfo b/security/clamav-devel/distinfo
index 6626d9815fa4..7905a38ca439 100644
--- a/security/clamav-devel/distinfo
+++ b/security/clamav-devel/distinfo
@@ -1,2 +1,2 @@
-MD5 (clamav-devel-20040609.tar.gz) = 0e33d046230766f8dde2626a0d5e5186
-SIZE (clamav-devel-20040609.tar.gz) = 1576864
+MD5 (clamav-devel-20040610.tar.gz) = 26a647a3ad1acc3c21bda895a5fd5a69
+SIZE (clamav-devel-20040610.tar.gz) = 1576830
diff --git a/security/clamav-devel/files/clamav-freshclam.sh b/security/clamav-devel/files/clamav-freshclam.sh
index d0c3da61f2a2..5ce32d2d1ff8 100644
--- a/security/clamav-devel/files/clamav-freshclam.sh
+++ b/security/clamav-devel/files/clamav-freshclam.sh
@@ -28,7 +28,7 @@ required_files=%%PREFIX%%/etc/freshclam.conf
# set defaults
clamav_freshclam_enable=${clamav_freshclam_enable:-"NO"}
-clamav_freshclam_flags=${clamav_freshclam_flags:-"--daemon-notify=%%PREFIX%%/etc/clamav.conf"}
+clamav_freshclam_flags=${clamav_freshclam_flags:-"--pid=/var/run/clamav/freshclam.pid --daemon-notify=%%PREFIX%%/etc/clamav.conf"}
load_rc_config $name
diff --git a/security/clamav-devel/pkg-plist b/security/clamav-devel/pkg-plist
index 1dc8a08c8332..536d90b63d07 100644
--- a/security/clamav-devel/pkg-plist
+++ b/security/clamav-devel/pkg-plist
@@ -1,4 +1,6 @@
-@unexec [ ! -f /var/run/clamav/clamd.pid ] || %%RC_DIR%%/clamd%%RC_SUFX%% stop || true
+@unexec [ ! -f /var/run/clamav/clamd.pid ] || %%RC_DIR%%/clamav-clamd%%RC_SUFX%% stop || true
+@unexec [ ! -f /var/run/clamav/freshclam.pid ] || %%RC_DIR%%/clamav-freshclam%%RC_SUFX%% stop || true
+bin/clamav-config
bin/clamscan
bin/clamdscan
bin/freshclam
@@ -12,6 +14,7 @@ include/clamav.h
lib/libclamav.so.1
lib/libclamav.so
lib/libclamav.a
+libdata/pkgconfig/libclamav.pc
%%PORTDOCS%%%%DOCSDIR%%/clamav-mirror-howto.pdf
%%PORTDOCS%%%%DOCSDIR%%/clamdoc.pdf
%%PORTDOCS%%%%DOCSDIR%%/signatures.pdf