diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/clamav-devel/Makefile | 12 | ||||
-rw-r--r-- | security/clamav-devel/distinfo | 9 | ||||
-rw-r--r-- | security/clamav-devel/pkg-plist | 8 |
3 files changed, 16 insertions, 13 deletions
diff --git a/security/clamav-devel/Makefile b/security/clamav-devel/Makefile index 1f031e915b9..c35dce1d972 100644 --- a/security/clamav-devel/Makefile +++ b/security/clamav-devel/Makefile @@ -6,7 +6,7 @@ # PORTNAME= clamav -PORTVERSION= 20071212 +PORTVERSION= 20080121 CATEGORIES= security MASTER_SITES= http://www.clamav.net/snapshot/ \ ${MASTER_SITE_LOCAL} @@ -132,10 +132,10 @@ RUN_DEPENDS+= lha:${PORTSDIR}/archivers/lha RUN_DEPENDS+= unzoo:${PORTSDIR}/archivers/unzoo .endif .if defined(WITH_UNRAR) -PATCH_SITES+= http://www.clamav.net/patches/ -PATCHFILES+= unrar.diff -PATCH_DIST_STRIP+= -p1 -CONFIGURE_ARGS+= --enable-unrar +PLIST_SUB+= UNRAR="" +.else +PLIST_SUB+= UNRAR="@comment " +CONFIGURE_ARGS+= --disable-unrar .endif .if defined(WITH_MILTER) @@ -170,10 +170,8 @@ post-patch: @${REINPLACE_CMD} ${SED_CONF} \ ${WRKSRC}/etc/clamd.conf \ ${WRKSRC}/etc/freshclam.conf -.if defined(WITH_UNRAR) @${REINPLACE_CMD} -e 's|0x100000000|0x100000000ULL|g' \ ${WRKSRC}/libclamunrar/unrar.c -.endif pre-install: @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL diff --git a/security/clamav-devel/distinfo b/security/clamav-devel/distinfo index 0ea2080a635..114fb96bde4 100644 --- a/security/clamav-devel/distinfo +++ b/security/clamav-devel/distinfo @@ -1,6 +1,3 @@ -MD5 (clamav-devel-20071212.tar.gz) = 77821f905f8e270193c2b9454da420a1 -SHA256 (clamav-devel-20071212.tar.gz) = be7bc61ba12e1208c57c08cd6d1b1d6b147a69248bb442283be57f4cb2a22fd2 -SIZE (clamav-devel-20071212.tar.gz) = 3016866 -MD5 (unrar.diff) = 3ee33ac3d02f5ef95b22905e49dc3ef7 -SHA256 (unrar.diff) = 859ea0a74c77cdb2e63e4b674e35d880c304282fab99786d1c9cfee92ce11607 -SIZE (unrar.diff) = 178262 +MD5 (clamav-devel-20080121.tar.gz) = e191738578de0f4a6ae6b483fb6dcbab +SHA256 (clamav-devel-20080121.tar.gz) = 4027ec54bafda83f9ff6432da909e4d0b384230937a0e822d61079c36a1453e6 +SIZE (clamav-devel-20080121.tar.gz) = 2831497 diff --git a/security/clamav-devel/pkg-plist b/security/clamav-devel/pkg-plist index 699b5830c36..79ac9ef65b9 100644 --- a/security/clamav-devel/pkg-plist +++ b/security/clamav-devel/pkg-plist @@ -13,6 +13,14 @@ lib/libclamav.a lib/libclamav.la lib/libclamav.so lib/libclamav.so.3 +%%UNRAR%%lib/libclamunrar.so.3 +%%UNRAR%%lib/libclamunrar.so +%%UNRAR%%lib/libclamunrar.la +%%UNRAR%%lib/libclamunrar.a +%%UNRAR%%lib/libclamunrar_iface.so.3 +%%UNRAR%%lib/libclamunrar_iface.so +%%UNRAR%%lib/libclamunrar_iface.la +%%UNRAR%%lib/libclamunrar_iface.a libdata/pkgconfig/libclamav.pc @unexec if cmp -s %D/etc/clamd.conf %D/etc/clamd.conf.default; then rm -f %D/etc/clamd.conf; fi etc/clamd.conf.default |