Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 320796 Details for
Bug 430604
app-antivirus/clamav: please review prefix changes
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for clamav-0.97.5-r1.ebuild
clamav-0.97.5-r1.ebuild.patch (text/plain), 3.67 KB, created by
Christoph Junghans (RETIRED)
on 2012-08-09 14:30:25 UTC
(
hide
)
Description:
patch for clamav-0.97.5-r1.ebuild
Filename:
MIME Type:
Creator:
Christoph Junghans (RETIRED)
Created:
2012-08-09 14:30:25 UTC
Size:
3.67 KB
patch
obsolete
>--- clamav-0.97.5-r1.ebuild.orig 2012-08-09 08:20:51.000000000 -0600 >+++ clamav-0.97.5-r1.ebuild 2012-08-09 08:17:46.000000000 -0600 >@@ -12,7 +12,7 @@ > > LICENSE="GPL-2" > SLOT="0" >-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" >+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" > IUSE="bzip2 clamdtop iconv ipv6 milter selinux static-libs" > > CDEPEND="bzip2? ( app-arch/bzip2 ) >@@ -31,8 +31,12 @@ > > DOCS=( AUTHORS BUGS ChangeLog FAQ INSTALL NEWS README UPGRADE ) > >+#Should be removed in the next release >+#interix.patch: https://bugzilla.clamav.net/show_bug.cgi?id=5612 >+#nls.patch: https://bugzilla.clamav.net/show_bug.cgi?id=5611 > PATCHES=( > "${FILESDIR}"/${PN}-0.97-nls.patch >+ "${FILESDIR}"/${PN}-0.92.1-interix.patch > ) > > pkg_setup() { >@@ -45,17 +49,28 @@ > } > > src_configure() { >+ local myconf >+ >+ [[ ${CHOST} == *-interix* ]] && { >+ export ac_cv_func_poll=no >+ export ac_cv_header_inttypes_h=no >+ export ac_cv_func_mmap_fixed_mapped=yes >+ myconf="${myconf} --disable-gethostbyname_r" >+ } >+ > econf \ > --disable-experimental \ > --enable-id-check \ > --with-dbdir=/var/lib/clamav \ > --with-system-tommath \ >+ --with-zlib="${EPREFIX}"/usr > $(use_enable bzip2) \ > $(use_enable clamdtop) \ > $(use_enable ipv6) \ > $(use_enable milter) \ > $(use_enable static-libs static) \ >- $(use_with iconv) >+ $(use_with iconv) \ >+ ${myconf} > } > > src_install() { >@@ -78,18 +93,18 @@ > > # Modify /etc/{clamd,freshclam}.conf to be usable out of the box > sed -i -e "s:^\(Example\):\# \1:" \ >- -e "s:.*\(PidFile\) .*:\1 /var/run/clamav/clamd.pid:" \ >- -e "s:.*\(LocalSocket\) .*:\1 /var/run/clamav/clamd.sock:" \ >+ -e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/clamd.pid:" \ >+ -e "s:.*\(LocalSocket\) .*:\1 ${EPREFIX}/var/run/clamav/clamd.sock:" \ > -e "s:.*\(User\) .*:\1 clamav:" \ >- -e "s:^\#\(LogFile\) .*:\1 /var/log/clamav/clamd.log:" \ >+ -e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamd.log:" \ > -e "s:^\#\(LogTime\).*:\1 yes:" \ > -e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \ > "${ED}"/etc/clamd.conf > sed -i -e "s:^\(Example\):\# \1:" \ >- -e "s:.*\(PidFile\) .*:\1 /var/run/clamav/freshclam.pid:" \ >+ -e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/freshclam.pid:" \ > -e "s:.*\(DatabaseOwner\) .*:\1 clamav:" \ >- -e "s:^\#\(UpdateLogFile\) .*:\1 /var/log/clamav/freshclam.log:" \ >- -e "s:^\#\(NotifyClamd\).*:\1 /etc/clamd.conf:" \ >+ -e "s:^\#\(UpdateLogFile\) .*:\1 ${EPREFIX}/var/log/clamav/freshclam.log:" \ >+ -e "s:^\#\(NotifyClamd\).*:\1 ${EPREFIX}/etc/clamd.conf:" \ > -e "s:^\#\(ScriptedUpdates\).*:\1 yes:" \ > -e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \ > "${ED}"/etc/freshclam.conf >@@ -99,12 +114,12 @@ > # inet: which we want to leave > dodoc "${FILESDIR}"/clamav-milter.README.gentoo > sed -i -e "s:^\(Example\):\# \1:" \ >- -e "s:.*\(PidFile\) .*:\1 /var/run/clamav/clamav-milter.pid:" \ >- -e "s+^\#\(ClamdSocket\) .*+\1 unix:/var/run/clamav/clamd.sock+" \ >+ -e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/clamav-milter.pid:" \ >+ -e "s+^\#\(ClamdSocket\) .*+\1 unix:${EPREFIX}/var/run/clamav/clamd.sock+" \ > -e "s:.*\(User\) .*:\1 clamav:" \ >- -e "s+^\#\(MilterSocket\) /.*+\1 unix:/var/run/clamav/clamav-milter.sock+" \ >+ -e "s+^\#\(MilterSocket\) /.*+\1 unix:${EPREFIX}/var/run/clamav/clamav-milter.sock+" \ > -e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \ >- -e "s:^\#\(LogFile\) .*:\1 /var/log/clamav/clamav-milter.log:" \ >+ -e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamav-milter.log:" \ > "${ED}"/etc/clamav-milter.conf > cat > "${ED}"/etc/conf.d/clamd <<-EOF > MILTER_NICELEVEL=19
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 430604
: 320796