FreeBSD Bugzilla – Attachment 49866 Details for
Bug 76086
Unbreak security/clamav-devel
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
clamav-devel.patch
clamav-devel.patch (text/plain), 4.58 KB, created by
Rob Evers
on 2005-01-11 08:50:27 UTC
(
hide
)
Description:
clamav-devel.patch
Filename:
MIME Type:
Creator:
Rob Evers
Created:
2005-01-11 08:50:27 UTC
Size:
4.58 KB
patch
obsolete
>===> Generating patch >===> Viewing diff with more >diff -ruN --exclude=CVS /usr/ports/security/clamav-devel/Makefile /usr/ports/security/clamav-devel.new/Makefile >--- /usr/ports/security/clamav-devel/Makefile Wed Dec 22 03:10:12 2004 >+++ /usr/ports/security/clamav-devel.new/Makefile Tue Jan 11 09:31:51 2005 >@@ -6,8 +6,7 @@ > # > > PORTNAME= clamav >-PORTVERSION= 20041213 >-PORTREVISION= 1 >+PORTVERSION= 20050110 > CATEGORIES= security > MASTER_SITES= http://www.clamav.net/snapshot/ > PKGNAMESUFFIX= -devel >@@ -42,7 +41,9 @@ > PORTDOCS= NEWS ChangeLog html > > DBDIR= /var/db/clamav >-PLIST_SUB+= DBDIR=${DBDIR} >+RUNDIR= /var/run/clamav >+PLIST_SUB+= DBDIR=${DBDIR} RUNDIR=${RUNDIR} >+ > CONFIGURE_ARGS= --with-dbdir=${DBDIR} \ > --with-zlib=/usr \ > --disable-zlib-vcheck \ >@@ -65,11 +66,12 @@ > > CLAMAVUSER?= clamav > CLAMAVGROUP?= clamav >-CLAMAV_CLAMD_SOCKET?= /var/run/clamav/clamd >-CLAMAV_MILTER_SOCKET?= /var/run/clamav/clmilter.sock >+CLAMAV_CLAMD_SOCKET?= ${RUNDIR}/clamd >+CLAMAV_MILTER_SOCKET?= ${RUNDIR}/clmilter.sock > > SED_SCRIPT= -e 's|%%PREFIX%%|${PREFIX}|g' \ > -e 's|%%DBDIR%%|${DBDIR}|g' \ >+ -e 's|%%RUNDIR%%|${RUNDIR}|g' \ > -e 's|%%CLAMAVUSER%%|${CLAMAVUSER}|g' \ > -e 's|%%CLAMAVGROUP%%|${CLAMAVGROUP}|g' \ > -e 's|%%CLAMAV_CLAMD_SOCKET%%|${CLAMAV_CLAMD_SOCKET}|g' \ >@@ -77,7 +79,7 @@ > > SED_CONF= -E -e 's|^\#?(Example)$$|\#\1|' \ > -e 's|^\#?((Update)?LogFile) .*/([a-z]+\.log)$$|\1 /var/log/clamav/\3|' \ >- -e 's|^\#?(PidFile) .*/([a-z]+\.pid)$$|\1 /var/run/clamav/\2|' \ >+ -e 's|^\#?(PidFile) .*/([a-z]+\.pid)$$|\1 ${RUNDIR}/\2|' \ > -e 's|^\#?(LocalSocket) .*$$|\1 ${CLAMAV_CLAMD_SOCKET}|' \ > -e 's|^\#?(User) .*$$|\1 ${CLAMAVUSER}|' \ > -e 's|^\#?(AllowSupplementaryGroups)$$|\1|' \ >diff -ruN --exclude=CVS /usr/ports/security/clamav-devel/distinfo /usr/ports/security/clamav-devel.new/distinfo >--- /usr/ports/security/clamav-devel/distinfo Wed Dec 15 10:57:27 2004 >+++ /usr/ports/security/clamav-devel.new/distinfo Tue Jan 11 09:31:51 2005 >@@ -1,2 +1,2 @@ >-MD5 (clamav-devel-20041213.tar.gz) = bbd6194cbbc0bd71341e5ecffa5486b7 >-SIZE (clamav-devel-20041213.tar.gz) = 1476871 >+MD5 (clamav-devel-20050110.tar.gz) = 60d394ae8b6533640adbef9306a35c2f >+SIZE (clamav-devel-20050110.tar.gz) = 1542220 >diff -ruN --exclude=CVS /usr/ports/security/clamav-devel/files/patch-configure.in /usr/ports/security/clamav-devel.new/files/patch-configure.in >--- /usr/ports/security/clamav-devel/files/patch-configure.in Wed Dec 15 10:57:27 2004 >+++ /usr/ports/security/clamav-devel.new/files/patch-configure.in Tue Jan 11 09:31:51 2005 >@@ -1,14 +1,5 @@ >---- configure.in.orig Tue Dec 7 23:46:18 2004 >-+++ configure.in Mon Dec 13 23:09:50 2004 >-@@ -38,7 +38,7 @@ >- AC_DEFINE(FILEBUFF, 8192, [file i/o buffer size]) >- >- AC_HEADER_STDC >--AC_CHECK_HEADERS(stdint.h unistd.h sys/int_types.h dlfcn.h inttypes.h sys/inttypes.h memory.h ndir.h stdlib.h strings.h string.h sys/mman.h sys/param.h sys/stat.h sys/types.h malloc.h poll.h regex.h limits.h sys/filio.h uio.h) >-+AC_CHECK_HEADERS(stdint.h unistd.h sys/int_types.h dlfcn.h inttypes.h sys/inttypes.h memory.h ndir.h stdlib.h strings.h string.h sys/mman.h sys/param.h sys/stat.h sys/types.h malloc.h poll.h regex.h limits.h sys/filio.h sys/uio.h) >- AC_CHECK_HEADER(syslog.h,AC_DEFINE(USE_SYSLOG,1,[use syslog]),) >- >- AC_TYPE_OFF_T >+--- configure.in.o Mon Jan 10 20:13:18 2005 >++++ configure.in Mon Jan 10 20:13:42 2005 > @@ -360,9 +360,6 @@ > ;; > freebsd*) >diff -ruN --exclude=CVS /usr/ports/security/clamav-devel/pkg-plist /usr/ports/security/clamav-devel.new/pkg-plist >--- /usr/ports/security/clamav-devel/pkg-plist Wed Dec 22 03:10:12 2004 >+++ /usr/ports/security/clamav-devel.new/pkg-plist Tue Jan 11 09:31:51 2005 >@@ -1,6 +1,7 @@ > @comment $FreeBSD: ports/security/clamav-devel/pkg-plist,v 1.24 2004/12/22 02:10:12 edwin Exp $ >-@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 >+%%CLAMAV-MILTER%%@unexec [ ! -f %%RUNDIR%%/clamav-milter.pid ] || %%RC_DIR%%/clamav-milter%%RC_SUFX%% stop || true >+@unexec [ ! -f %%RUNDIR%%/freshclam.pid ] || %%RC_DIR%%/clamav-freshclam%%RC_SUFX%% stop || true >+@unexec [ ! -f %%RUNDIR%%/clamd.pid ] || %%RC_DIR%%/clamav-clamd%%RC_SUFX%% stop || true > bin/clamav-config > bin/clamscan > bin/clamdscan >@@ -25,5 +26,5 @@ > @unexec [ ! -f %%DBDIR%%/daily.cvd ] || rm -f %%DBDIR%%/daily.cvd || true > @unexec [ ! -f %%DBDIR%%/main.cvd ] || rm -f %%DBDIR%%/main.cvd || true > @unexec rmdir %%DBDIR%% >-@unexec rmdir /var/run/clamav 2>/dev/null || true >+@unexec rmdir %%RUNDIR%% 2>/dev/null || true > @unexec rmdir /var/log/clamav 2>/dev/null || true >===> Done
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 76086
: 49866