diff options
-rw-r--r-- | app-antivirus/Manifest.gz | bin | 894 -> 888 bytes | |||
-rw-r--r-- | app-antivirus/clamav/Manifest | 2 | ||||
-rw-r--r-- | app-antivirus/clamav/clamav-0.100.1.ebuild | 167 | ||||
-rw-r--r-- | app-antivirus/clamtk/Manifest | 2 | ||||
-rw-r--r-- | app-antivirus/clamtk/clamtk-5.25-r1.ebuild | 173 | ||||
-rw-r--r-- | app-antivirus/clamtk/files/change_icon_path.patch | 15 |
6 files changed, 359 insertions, 0 deletions
diff --git a/app-antivirus/Manifest.gz b/app-antivirus/Manifest.gz Binary files differindex 508a55d7875b..5ff49c713c33 100644 --- a/app-antivirus/Manifest.gz +++ b/app-antivirus/Manifest.gz diff --git a/app-antivirus/clamav/Manifest b/app-antivirus/clamav/Manifest index d5dff6050725..c34bd7e68e4d 100644 --- a/app-antivirus/clamav/Manifest +++ b/app-antivirus/clamav/Manifest @@ -13,7 +13,9 @@ AUX clamd_at.service 228 BLAKE2B 85181b02329a86495d0737308417dd873424da0bb1cd376 AUX freshclamd.service 191 BLAKE2B 5b517bf15d008454052bd0f7d5a10fb89284a5b64d1cd11570981ca07d70d4dbab6739175ef7434c5c16625fc4f342d21fe6c67970ebac9e64dc8c08732ab68e SHA512 aaf78e763d2aa9c17fc95edb1550547b6681a91fd239a86535e5193d36ff0e152c51c3a3957542f80d5b170805f296159958ac347886981ddd324bec4237da92 AUX tmpfiles.d/clamav.conf 33 BLAKE2B 447c5ad4ad79bc70fc386833fa763451d30bf30f1ae26434039a3926ca5aae9734e0152c83b5b9aa5bed87b17c1b685c4ea9f41c9cb6b3197b1e78e800b71fd9 SHA512 eabe5a94c2679b82ea3e29272eb448b47e60b271381d3e97f3970b1a9e086d61662aff2d29887950a911025294aa7cea8bfd9003d257963566b251bcaeb5f6b2 DIST clamav-0.100.0.tar.gz 16036757 BLAKE2B c51edfb05726e16e2ff1ef1fee9f174af5a0d65396f847a4f6e1246d5844b92eb70896fc598d2c73719b1315ff3c41aca503823431e0918d52f56d29399dd796 SHA512 57e1da86a32fdfb66887c4aeed03008bc070ce3cb6b881db411332f2f2e640b73dca84d990f5886526b3d6bd0c2770c7dcce5b4e7cf48323824c362452593549 +DIST clamav-0.100.1.tar.gz 16154415 BLAKE2B df4ddde28b0b263765f4a571a407390b30aa6fe58d07e1b8fe427e70141219fb3d7c5addfbf30a350c6c08324dee1ec3dd80319306df7578ed87138c6513b99d SHA512 13a4e050e030ac3d1cc07b12bdd56c455e266e0b205a4c9bc9f18e53f6d8913a66eed2296abf857f395227ab0ed5c7bc90bc357bcb314dc9e18a9c6177dcc5b2 DIST clamav-0.99.4.tar.gz 16083015 BLAKE2B 3c2e7d11ee05fe846f75c3fb6501b5fd809a2e58f8e69c82e493e32fcbc87ca0e5b5f7ab83a0d7e251a5dc8e84aed1475c87c1248b393fa04b6924a2ab32b9bf SHA512 778d5ef510d8d4bdfac5dc33d92469ed4283c414b3d42da6e1a0b13ed70e37755d5c837622dc336bc728ba1f8bf5485fc8a8d3a67a90e9aaa9e4dc71ece0691d EBUILD clamav-0.100.0.ebuild 5290 BLAKE2B 12205593f8c86aa98a2392dd22681dc0adc3606358778090b9ccf9ad09475bf456f29f6451a86640c518995109043ff308631607a40a6c3c7ada381872a1c964 SHA512 79e6747939af3ab9b52dfff633e0df9bc3932a478b0d17e5892f8b3b09477ab474eaf23f4431cab1d7ca03ff153d4ae3f8b199f8ed91cadc4f93fea92935538d +EBUILD clamav-0.100.1.ebuild 5300 BLAKE2B de47c3b8f8b6b0f8a6e3dcbf54fc8c4258da3fb51f888b562fa311b4f51c3b669d1814dfb631d553c759c05cb01566b957ba24273aceb649f75a27979d13cedd SHA512 e4156130a684226167845266eaf7b5f6b5858d0011390ea8cb61067b12271ee05b614c509071fa2e44230dd734030a9fd4c232fd3f1aec350e442412529bcd9d EBUILD clamav-0.99.4-r1.ebuild 5167 BLAKE2B 952f9313405c6e8b57734244ce7bb3221149b5a84215b70b80e180ef195e227c287f32699046c9954ff35185ab38c9461be7457c273a64a9ed98db88408159a5 SHA512 7fb514f40822222ef259c97d41f8371d851399527c62eec9ae1b0095d5754218d6dd8d921ca5037588112f713a107d40a0b4636c98b159acee9a4fd902e54f83 MISC metadata.xml 822 BLAKE2B fc73a9b45c1a80d590d4ce93f4c704ce2df3ec270cb292ad5552b2452e737cff45ceb2cf14d7c061f9a2ad2104081cacf36d4c19ccbddadd40579236da5b5939 SHA512 3cf072b3463e721584f5b608ced29f528f56119f17fa6879de3f0950ca4678ffdd32527a317d8740f4c288af440940fe35d876b3b9b1224cf804ce3808ef3add diff --git a/app-antivirus/clamav/clamav-0.100.1.ebuild b/app-antivirus/clamav/clamav-0.100.1.ebuild new file mode 100644 index 000000000000..3928b8054ddc --- /dev/null +++ b/app-antivirus/clamav/clamav-0.100.1.ebuild @@ -0,0 +1,167 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools eutils flag-o-matic user systemd + +DESCRIPTION="Clam Anti-Virus Scanner" +HOMEPAGE="https://www.clamav.net/" +SRC_URI="https://www.clamav.net/downloads/production/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ia64 ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" +IUSE="bzip2 doc clamdtop iconv ipv6 libressl milter metadata-analysis-api selinux static-libs system-libmspack test uclibc" + +CDEPEND="bzip2? ( app-arch/bzip2 ) + clamdtop? ( sys-libs/ncurses:0 ) + iconv? ( virtual/libiconv ) + metadata-analysis-api? ( dev-libs/json-c:= ) + milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) ) + dev-libs/libtommath + >=sys-libs/zlib-1.2.2:= + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + sys-devel/libtool + || ( dev-libs/libpcre2 >dev-libs/libpcre-6 ) + system-libmspack? ( dev-libs/libmspack ) + !!<app-antivirus/clamav-0.99" +# hard block clamav < 0.99 due to linking problems Bug #567680 +# openssl is now *required* see this link as to why +# https://blog.clamav.net/2014/02/introducing-openssl-as-dependency-to.html +DEPEND="${CDEPEND} + virtual/pkgconfig + test? ( dev-libs/check )" +RDEPEND="${CDEPEND} + selinux? ( sec-policy/selinux-clamav )" + +DOCS=( docs/clamdoc.pdf docs/phishsigs_howto.pdf docs/signatures.pdf ) +HTML_DOCS=( docs/html ) + +PATCHES=( + "${FILESDIR}/clamav-0.100.0_autotools.patch" +) + +pkg_setup() { + enewgroup clamav + enewuser clamav -1 -1 /dev/null clamav +} + +src_prepare() { + default + + eautoconf +} + +src_configure() { + use ppc64 && append-flags -mminimal-toc + use uclibc && export ac_cv_type_error_t=yes + + econf \ + $(use_enable bzip2) \ + $(use_enable clamdtop) \ + $(use_enable ipv6) \ + $(use_enable milter) \ + $(use_enable static-libs static) \ + $(use_enable test check) \ + $(use_with iconv) \ + $(use_with metadata-analysis-api libjson /usr) \ + $(use_with system-libmspack) \ + --cache-file="${S}"/config.cache \ + --disable-experimental \ + --disable-gcc-vcheck \ + --disable-zlib-vcheck \ + --enable-id-check \ + --with-dbdir="${EPREFIX}"/var/lib/clamav \ + --with-system-tommath \ + --with-zlib="${EPREFIX}"/usr \ + --disable-llvm +} + +src_install() { + default + + rm -rf "${ED}"/var/lib/clamav + newinitd "${FILESDIR}"/clamd.initd-r6 clamd + newconfd "${FILESDIR}"/clamd.conf-r1 clamd + + systemd_dotmpfilesd "${FILESDIR}/tmpfiles.d/clamav.conf" + systemd_newunit "${FILESDIR}/clamd_at.service" "clamd@.service" + systemd_dounit "${FILESDIR}/clamd.service" + systemd_dounit "${FILESDIR}/freshclamd.service" + + keepdir /var/lib/clamav + fowners clamav:clamav /var/lib/clamav + keepdir /var/log/clamav + fowners clamav:clamav /var/log/clamav + + dodir /etc/logrotate.d + insinto /etc/logrotate.d + newins "${FILESDIR}"/clamav.logrotate clamav + + # Modify /etc/{clamd,freshclam}.conf to be usable out of the box + sed -i -e "s:^\(Example\):\# \1:" \ + -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 ${EPREFIX}/var/log/clamav/clamd.log:" \ + -e "s:^\#\(LogTime\).*:\1 yes:" \ + -e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \ + "${ED}"/etc/clamd.conf.sample || die + sed -i -e "s:^\(Example\):\# \1:" \ + -e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/freshclam.pid:" \ + -e "s:.*\(DatabaseOwner\) .*:\1 clamav:" \ + -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.sample || die + + if use milter ; then + # MilterSocket one to include ' /' because there is a 2nd line for + # inet: which we want to leave + ##dodoc "${FILESDIR}"/clamav-milter.README.gentoo + sed -i -e "s:^\(Example\):\# \1:" \ + -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:${EPREFIX}/var/run/clamav/clamav-milter.sock+" \ + -e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \ + -e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamav-milter.log:" \ + "${ED}"/etc/clamav-milter.conf.sample || die + cat >> "${ED}"/etc/conf.d/clamd <<-EOF + MILTER_NICELEVEL=19 + START_MILTER=no + EOF + + systemd_newunit "${FILESDIR}/clamav-milter.service-r1" clamav-milter.service + fi + + if use doc; then + einstalldocs + doman docs/man/*.[1-8] + fi + + for i in clamd freshclam clamav-milter + do + [[ -f "${D}"/etc/"${i}".conf.sample ]] && mv "${D}"/etc/"${i}".conf{.sample,} + done + + prune_libtool_files --all +} + +src_test() { + emake quick-check +} + +pkg_postinst() { + if use milter ; then + elog "For simple instructions how to setup the clamav-milter read the" + elog "clamav-milter.README.gentoo in /usr/share/doc/${PF}" + fi + if test -z $(find "${ROOT}"var/lib/clamav -maxdepth 1 -name 'main.c*' -print -quit) ; then + ewarn "You must run freshclam manually to populate the virus database files" + ewarn "before starting clamav for the first time.\n" + fi +} diff --git a/app-antivirus/clamtk/Manifest b/app-antivirus/clamtk/Manifest index ea09a6858f39..ebc9065fe251 100644 --- a/app-antivirus/clamtk/Manifest +++ b/app-antivirus/clamtk/Manifest @@ -1,7 +1,9 @@ +AUX change_icon_path.patch 772 BLAKE2B f4773e967f7f87547509bdb34d9e8624453eacecebd37b9b8d4bf44c80698a79e76994bd3750eba189ccf8403958c4b93bdc9f02bba5c5101ac62158674f40f7 SHA512 79b0eb27f0abc972395634f9d40198fa70e49e05eec5c3c2c315e13d769e55f7f2ebb4d206eb7f1735654b1582b1fc8aef649acc68de1b76fba989cb7c2f89b9 DIST clamtk-5.25.tar.xz 243444 BLAKE2B 3d46ba9fba200b432594719c16d9b09637b8990f3ddfa9aa5b1c9193879c2e28d5e52c40525e99630b33138b39cfe5e804ecd9cb1cc85bbf06b0544aba0c877b SHA512 3886e829388ccfcaacec8b1e62be23898851ef68a5b6a1bed01e2eea31a899d0d5ca7727288633ef0612d90ba60330df1d0275c5c92154879a0d8a553180b414 DIST clamtk-gnome-0.02.tar.xz 14888 BLAKE2B 2137e7bc53f557cdb2f03afe3b6cb3b1185bb12c6b646f2bdb74c69bc3d6b59b23895d36583225f6a536d91237ffd84d307e7b52f16336a88311a60b84b2cbcd SHA512 f4a33d31ecf914f016fd029a7e9b9c903ba39bb139ed21f15786445d2394ace36ff08396baf68130d4bc3081847c34efda31ad3f727b9f5c479da4392750940f DIST clamtk-kde-0.18.tar.xz 17732 BLAKE2B ca82934417f2d869fd8c8e36a31ef4a52cf4ee73581c5d1d400c1b28908c5ea2524a8f5d1110b1e949038378613fb4d5607d5123eebe91df695a53d0dd489302 SHA512 145ddd349010e0bb6fe3295e50d6e15a2dd96e604babbd5de4cb49ba75169d2050777cac38e40ac6a64cb89ddf94025d610aca73136c75f81115d0a2d863d24e DIST nemo-sendto-clamtk-0.04.tar.xz 4228 BLAKE2B ce656d4f021bc30cd12fb2ee5f98a78c1f1fdb2460ed2cbba0b572408617f91b39b2ca2fe542b9cec7be79b4b9fdfd685f5553e1a671454ca1e6723241dcb805 SHA512 2b5d3abbc4ae5dbc71b1b7bc836df88ad51e6afa00d5e954b5c1355a70c0420b6fef895e1cb5cccb86a662aee2039cef6c01821c1347fa155b5da3529b25562c DIST thunar-sendto-clamtk-0.06.tar.xz 4416 BLAKE2B 6b9f8857fead9f175af0a5fd3585790c49865b07016ddbc0dfc21f761ecbac32d97a65731fdca0335fd4852af9efc93c06ecb994f769a5efeade35cb734e9924 SHA512 f3b6f296213ad5974f8134d682cce4e426d9730d1898e8f7ea474e27314ee47957b033bbd7f16196cabf054eccec844c05ff8c8f9a98ad013a7f89b899cee591 +EBUILD clamtk-5.25-r1.ebuild 4426 BLAKE2B 04b372726a7b5a43807832d7164928d928c7f75cd3f10d1740de6d2960885a4119d6bb37360f389f475c564bbbcd05499d7e4b324df80c027772a1cd68c0ad55 SHA512 1aa30856d2c2a845113fb5e22fdcf470fb03a874aed6f22316844c88b300c54dec804dc364d632872a72a10a8f3461a78f0a675439748a97a6b54e3e6fed05d9 EBUILD clamtk-5.25.ebuild 4348 BLAKE2B cc73f30f09a9d16d83bfbd5b274bf37147808a17d10aa1e87c3bbc438f16d8644c5b35b251a51a8cf234886073ff78d936f322fb9ec8240d4ee58a4949af463f SHA512 ea477413fb9ff162596b61f4376c2a586acc27785acc11089b3f77ee52581f9bec413f7aadc5440f6c772244fc90756f2d9609aff285a7d58ea9f0f821e8f54b MISC metadata.xml 942 BLAKE2B 537f7480903f2c4d4d315e0a7becf14be2f4f7cd2280f1918877f738cac8e71b58d65fa702f4a9979f44f2cb81e61dd44e7f9ba8197472095d6c7071a1bc0be6 SHA512 9bd9e7e9560a7358ed5935949a913628f50b885509f065419060d2cb6dbe605723d98930027908c1faf64f368289cac3c86e9d75a91838912036912ed60022a4 diff --git a/app-antivirus/clamtk/clamtk-5.25-r1.ebuild b/app-antivirus/clamtk/clamtk-5.25-r1.ebuild new file mode 100644 index 000000000000..2c7c172c0911 --- /dev/null +++ b/app-antivirus/clamtk/clamtk-5.25-r1.ebuild @@ -0,0 +1,173 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PLOCALES="af ar ast az bg bs ca cs da de el_GR en_AU en_CA en_GB eo es eu fi fo fr ga gl he hr hu id it ja km ko lo lt lv mr ms nb nl nl_BE nn pa pl pt pt_BR ro ru si sk sl sr@latin sv ta te th tr ug uk uz zh_CN zh_TW" +PLOCALE_BACKUP="en_GB" + +PYTHON_COMPAT=( python2_7 ) + +inherit desktop l10n perl-functions python-single-r1 xdg-utils + +MY_PV_KDE="0.18" +MY_PV_NAUTILUS="0.02" +MY_PV_NEMO="0.04" +MY_PV_THUNAR="0.06" + +DESCRIPTION="A graphical front-end for ClamAV" +HOMEPAGE="https://dave-theunsub.github.io/clamtk/" +SRC_URI="https://bitbucket.org/davem_/clamtk/downloads/${P}.tar.xz + kde? ( https://bitbucket.org/davem_/${PN}-kde/downloads/${PN}-kde-${MY_PV_KDE}.tar.xz ) + nautilus? ( https://bitbucket.org/davem_/${PN}-gnome/downloads/${PN}-gnome-${MY_PV_NAUTILUS}.tar.xz ) + nemo? ( https://bitbucket.org/davem_/nemo-sendto-${PN}/downloads/nemo-sendto-${PN}-${MY_PV_NEMO}.tar.xz ) + thunar? ( https://bitbucket.org/davem_/thunar-sendto-${PN}/downloads/thunar-sendto-${PN}-${MY_PV_THUNAR}.tar.xz )" + +LICENSE="|| ( Artistic GPL-1+ )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="kde nautilus nemo +nls thunar" +REQUIRED_USE="nautilus? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND="app-antivirus/clamav + dev-perl/File-chdir + dev-perl/Gtk2 + dev-perl/JSON + dev-perl/LWP-Protocol-https + dev-perl/LWP-UserAgent-Cached + dev-perl/Locale-gettext + dev-perl/Text-CSV + dev-perl/glib-perl + dev-perl/libwww-perl + virtual/perl-Digest-MD5 + virtual/perl-Digest-SHA + virtual/perl-Encode + virtual/perl-MIME-Base64 + virtual/perl-Time-Piece + x11-themes/faenza-icon-theme + nautilus? ( dev-python/nautilus-python[${PYTHON_USEDEP}] )" + +DEPEND="nls? ( sys-devel/gettext )" + +DOCS=( CHANGES credits.md DISCLAIMER README.md ) + +PATCHES=( "$FILESDIR"/change_icon_path.patch ) + +pkg_setup() { + if use nautilus; then + python-single-r1_pkg_setup + fi +} + +src_unpack() { + default + + unpack "${S}"/clamtk.1.gz + + if use kde; then + unpack "${S}"/../clamtk-kde-${MY_PV_KDE}/clamtk-kde.1.gz + fi + + if use nautilus; then + unpack "${S}"/../clamtk-gnome-${MY_PV_NAUTILUS}/clamtk-gnome.1.gz + fi + + if use nemo; then + unpack "${S}"/../nemo-sendto-clamtk-${MY_PV_NEMO}/nemo-sendto-clamtk.1.gz + fi + + if use thunar; then + unpack "${S}"/../thunar-sendto-clamtk-${MY_PV_THUNAR}/thunar-sendto-clamtk.1.gz + fi +} + +src_prepare() { + remove_locales() { + rm "po/${1}.mo" || die + } + + if use nls; then + l10n_find_plocales_changes 'po' '' '.mo' + l10n_for_each_disabled_locale_do remove_locales + fi + + default +} + +src_install() { + install_locales() { + domo "po/${1}.mo" || die + } + + dobin clamtk + + perl_set_version + insinto "${VENDOR_LIB}"/ClamTk + doins lib/*.pm + + if use nls; then + l10n_for_each_locale_do install_locales + fi + + doicon images/clamtk.png images/clamtk.xpm + + domenu clamtk.desktop + + doman ../clamtk.1 + + if use kde; then + insinto /usr/share/kservices5/ServiceMenus + doins ../clamtk-kde-${MY_PV_KDE}/clamtk-kde.desktop + + doicon ../clamtk-kde-${MY_PV_KDE}/clamtk-kde.png ../clamtk-kde-${MY_PV_KDE}/clamtk-kde.xpm + + doman ../clamtk-kde.1 + + docinto dolphin + dodoc ../clamtk-kde-${MY_PV_KDE}/CHANGES ../clamtk-kde-${MY_PV_KDE}/README.md + fi + + if use nautilus; then + insinto /usr/share/nautilus-python/extensions + doins ../clamtk-gnome-${MY_PV_NAUTILUS}/clamtk-gnome.py + + doicon ../clamtk-gnome-${MY_PV_NAUTILUS}/images/clamtk-gnome.png + + doman ../clamtk-gnome.1 + + docinto nautilus + dodoc ../clamtk-gnome-${MY_PV_NAUTILUS}/CHANGES ../clamtk-gnome-${MY_PV_NAUTILUS}/DISCLAIMER ../clamtk-gnome-${MY_PV_NAUTILUS}/README.md + fi + + if use nemo; then + insinto /usr/share/nemo/actions/ + doins ../nemo-sendto-clamtk-${MY_PV_NEMO}/nemo-sendto-clamtk.nemo_action + + doman ../nemo-sendto-clamtk.1 + + docinto nemo + dodoc ../nemo-sendto-clamtk-${MY_PV_NEMO}/CHANGES ../nemo-sendto-clamtk-${MY_PV_NEMO}/DISCLAIMER ../nemo-sendto-clamtk-${MY_PV_NEMO}/README.md + fi + + if use thunar; then + insinto /usr/share/Thunar/sendto + doins ../thunar-sendto-clamtk-${MY_PV_THUNAR}/thunar-sendto-clamtk.desktop + + doman ../thunar-sendto-clamtk.1 + + docinto thunar + dodoc ../thunar-sendto-clamtk-${MY_PV_THUNAR}/CHANGES ../thunar-sendto-clamtk-${MY_PV_THUNAR}/DISCLAIMER ../thunar-sendto-clamtk-${MY_PV_THUNAR}/README + fi + + einstalldocs +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +} diff --git a/app-antivirus/clamtk/files/change_icon_path.patch b/app-antivirus/clamtk/files/change_icon_path.patch new file mode 100644 index 000000000000..18e88f1429c8 --- /dev/null +++ b/app-antivirus/clamtk/files/change_icon_path.patch @@ -0,0 +1,15 @@ +--- a/lib/GUI.pm 2017-02-18 10:38:18.000000000 +0100 ++++ b/lib/GUI.pm 2018-07-12 01:54:13.199186406 +0200 +@@ -33,9 +33,9 @@ + # because it's missing an icon :| + # https://aur.archlinux.org/packages/clamtk/ + my $theme = Gtk2::IconTheme->get_default; +- $theme->append_search_path( '/usr/share/icons/gnome/24x24/actions' ); +- $theme->append_search_path( '/usr/share/icons/gnome/24x24/places' ); +- $theme->append_search_path( '/usr/share/icons/gnome/24x24/mimetypes' ); ++ $theme->append_search_path( '/usr/share/icons/Faenza/actions/24' ); ++ $theme->append_search_path( '/usr/share/icons/Faenza/places/24' ); ++ $theme->append_search_path( '/usr/share/icons/Faenza/mimetypes/24' ); + + $window = Gtk2::Window->new; + $window->signal_connect( |