parent
f227b4997d
commit
48f2efc4d9
@ -0,0 +1,9 @@
|
||||
/* Taken from Wine's configure script. LGPL 2.1+ */
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
void func(__builtin_ms_va_list *args);
|
||||
return 0;
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
DIST ding-libs-0.4.0.tar.gz 827058 SHA256 bdeb90b07ceaa9145e6784ce40a71b69a37fffc7373c51fee258ffffd5390457 SHA512 e062e104f4ad75eea0b59bb113b7a6a4044a42230d96b9b9dda611535835cd0809635b1da1408ae58e97f9ff9a9f4fd48f751365901f9b066b465df3523730a0 WHIRLPOOL 41733ac92c3c7fcaa19f19843a2464a0644632cc345b77fc033910974fa449f91780725302fafadd233c6ef4379174261bbab45e49830e8673a46d9ee3d6f652
|
||||
DIST ding-libs-0.5.0.tar.gz 868840 SHA256 dab937537a05d7a7cbe605fdb9b3809080d67b124ac97eb321255b35f5b172fd SHA512 d79db6794dbb59b518db15c51c3f981e8873e478a156ca8ae766a61107796968eeed36cf21bd20f5e6f04c5b460d3a40ab114a482754e2f3976c53bb82fe1fcb WHIRLPOOL de3df36795c9a60a1d1fad06653e724dd1384b81cb056be62fd59699b3ae7fd2ad60135ea6092435797aa4910024aad03ded703fc09c731fcc7594761e3b9384
|
||||
EBUILD ding-libs-0.4.0.ebuild 497 SHA256 d7d313a3221c76c4c6c317235145aee8df5dcfff92366beb9d3113365cc3cb8d SHA512 ca1a446f51e2eb2ef441e521e55c943439eefbff6fc0bc3910a5ebffa535a748676ea8f2ae0ff0a36c97985bedcbca7a68c1722dbf523f3df77faafc96cc0cf5 WHIRLPOOL 297bf87645e6bb5f7ef13fc16cba94d1c504d73b971f6b00ad6da673e5925e21f97fbc9643ecb15da1167c21ddc504a02b16c76f560c9f146a83c2694e4c665c
|
||||
EBUILD ding-libs-0.5.0.ebuild 546 SHA256 b1e0640afa64f47fa22fdc4ba17255af94da3946ac8f3b2b23784cb224cb2ae4 SHA512 919631adedd25a89e1f0004524f53ccb50a450c3c165de0354e823a4557a1a4d010e55d6d20e703dedb769a3205910c164dbc3d73fefb7e7e85888ea0304705d WHIRLPOOL 8cdebc80f784c9b6abd20d2e9daecf1b1ced9a3e7cbad64fbc2a75e754563a9a053c49039ab157340f5d0e2e6e5f8674f4e88b44d55ea07ba9ca1fb5c8c2f2d3
|
||||
MISC ChangeLog 2433 SHA256 d640b7cb7e7ecbe7f29b52bdf7a6212fbb74411f1f4f4c9233ebabe28ac0f957 SHA512 fd37af97f9a0e4d73f41742e0c700dcab8efa355e43cebe65d9d98099fb13b93ccbf11f15a8ff67d958a3e5267fd18d40927fc64fec470c25d36a10d3b55f6a8 WHIRLPOOL a3b8b6f2331cc9540d53ad9fbf5a6f287d2e176d34417e9d198f0f44daa2023276cd9da3fce1f91984173ca6e40ab3b513141d3d3e69d9f17e6ef90ecca8d8d4
|
||||
MISC ChangeLog-2015 3038 SHA256 b5834d36691c6cadabbf1f7c5a15387696afd8b7d2e328c840f77fdf3a7ef0b5 SHA512 3070f202ae9432ee0437e79cc7b555951a2a6a7a7fe892103be3ce2fcfe3d94f1cb33d3fa94dca4c65de33dbfac5349da511215f84d555e5f58456b394dffb64 WHIRLPOOL 349f303f87209cf88f9507e7dcddd5f5daab8d9818611e7c0a05b6d8e523dba0951471b108ef54bddb916e6b07fd7faaf6e4999803e26107a4315e935665c7e1
|
||||
MISC metadata.xml 599 SHA256 a5e01e3375343a49fe9f0f2daae627cab85084a5cb111fe4b8eca8808c4be28b SHA512 8eb65f04aff8bcd9c14c81ccf6a2ba9292da7a5b6c40bcbb242dc8812988a60146814851ce1f3205cc76744cb11c49e05d22d6e94f8875e694eaf528973b061d WHIRLPOOL 040905a8e211e70e02f8d0c6497f5fe028a3b925bf612ceefbc63ca2792ddd5c5d69a3ffa19898ea4c328d091d48019251afcd7946bfb018a70a405d2cf36bb0
|
||||
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit autotools-multilib
|
||||
|
||||
DESCRIPTION="set of utility libraries (mostly used by sssd)"
|
||||
HOMEPAGE="https://fedorahosted.org/sssd"
|
||||
SRC_URI="https://fedorahosted.org/released/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3 GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux"
|
||||
IUSE="test static-libs"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? ( dev-libs/check )"
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs multilib-build
|
||||
|
||||
DESCRIPTION="Jemalloc is a general-purpose scalable concurrent allocator"
|
||||
HOMEPAGE="http://www.canonware.com/jemalloc/"
|
||||
SRC_URI="http://www.canonware.com/download/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||
IUSE="debug static-libs stats"
|
||||
HTML_DOCS=( doc/jemalloc.html )
|
||||
PATCHES=( "${FILESDIR}/${PN}-3.5.1-strip-optimization.patch"
|
||||
"${FILESDIR}/${PN}-3.5.1_fix_html_install.patch"
|
||||
)
|
||||
MULTILIB_WRAPPED_HEADERS=( /usr/include/jemalloc/jemalloc.h )
|
||||
# autotools-utils.eclass auto-adds configure options when static-libs is in IUSE
|
||||
# but jemalloc doesn't implement them in its configure; need this here to
|
||||
# supress the warnings until automagic is removed from the eclass
|
||||
QA_CONFIGURE_OPTIONS="--enable-static --disable-static --enable-shared --disable-shared"
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
$(use_enable debug)
|
||||
$(use_enable stats)
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
# Copy man file which the Makefile looks for
|
||||
cp "${S}/doc/jemalloc.3" "${BUILD_DIR}/doc" || die
|
||||
emake DESTDIR="${D}" install
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# fixup install_name, #437362
|
||||
install_name_tool \
|
||||
-id "${EPREFIX}"/usr/$(get_libdir)/libjemalloc.1.dylib \
|
||||
"${ED}"/usr/$(get_libdir)/libjemalloc.1.dylib || die
|
||||
fi
|
||||
use static-libs || find "${ED}" -name '*.a' -delete
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
AUX libdbusmenu-12.10.2-gtk2-signal-fix.patch 1379 SHA256 7e02be3d1a0de22b48aa6c6aeffcaee9a150cd5b0888b14d7548cdefad1e835a SHA512 a96488c1522a202248fdaa9e3ca6a4a8c50d548e4e347894a3f30708b883a46c291cc5c5d611e58cafa5ca020451d3c358c8011a227af7f19129f897db8ddc78 WHIRLPOOL 0ccd4fd7b1e5447e0f45e85f2ca010133042fc4103b0c29764c5bd70054eb1a1dce1c38d0e7a29aeda7ed13c2e2288d3258f17946ea9b70b02c101cdcff19aa5
|
||||
DIST libdbusmenu-12.10.2.tar.gz 735730 SHA256 9d6ad4a0b918b342ad2ee9230cce8a095eb601cb0cee6ddc1122d0481f9d04c9 SHA512 cf2e50dc3adbf35d0a4ccdd62a3efd9fae2d079b8d06e6522b70f077f89ac2cf72188e380f476e38d184b69549e90b801bf1e32174fa94bbe612dd52aec94496 WHIRLPOOL 3e75fd0bcbadcff8f4e4cd3a2be33a3aa7cf715413b1a67c5430b9420a965d64db2d988fa5c21fc42c6458ad4ed479c400b28b8a94074cb7223ab0a03ad985eb
|
||||
EBUILD libdbusmenu-12.10.2-r2.ebuild 3322 SHA256 c3897e36f4b6add36cc4d1d8c9cc6b3eb613f881b8861dd274c267a0e1d9b8ad SHA512 62e15293651fab9798e46e418f570e6805826eeb50f90cae2e8164076877161beaba5b952b967eae9e867ce89a72d3319a6331f44c8d7c634b1441aab404dfe5 WHIRLPOOL e21e945e8b042d4ac042becb9555ed7c3f32e1b2653643714f9bca018c359eeedc6ded294383eb779ddac68471fce2fff40d61095ce40033cc69807f88637150
|
||||
MISC ChangeLog 4919 SHA256 9c807a17f41a11eddd884655360129da1011470f0fac17dbb742b019bce8024b SHA512 06eeeec2369acd5c33b49beb7fdf5a2b9fc10db8fab22fb56f6bb632f7c4949c37413fdbf5b7ca308e6cb79ff7c6e86a92b7f88de8495425f83927632ef2ce8f WHIRLPOOL 8cdb8473f3a254fc5a0699bbbc3b488bee02defe888f2daea5c4e24b0a0fe6d82e650d61aa756574abe2319de9b349cca66a5a4b026e2a0bbb0267ffe6521488
|
||||
EBUILD libdbusmenu-12.10.2-r2.ebuild 3361 SHA256 017344d3218ec3bf02795db7ca419dfb043cd525f710e5932078a4412c0a9ef5 SHA512 4e04a3bd740015cd3f1dc41774898851af4626b4048edefac66554a578db9207573074fbeef654c3b1ecb65fa33d58ab0a78c38c25d4e124c19a33d830fd8314 WHIRLPOOL 5edc6e0313fc0d3f6074fdf66a5d49b19a4fc2e169bc0479a73dfced173c96adb2529154589fbaff19870afa5dfc0b892ad874ac6ba4007623679f06fb19408a
|
||||
MISC ChangeLog 5115 SHA256 589f22f94b2e38410700ede803486a02eff6674cff71e75dc7725cfe15b42fba SHA512 6350601b29ff91283fd9164ad03e72c5719094243df68f40a13f626a908155648a4f21c20b4ccba001f20d6963132c8c376eded68a9fc95d4f74d966954786d7 WHIRLPOOL ea81eb0cdea003b90427f706f72a2239d1641fdf78a86671f097e6bfd78b3b163bf8327a062392ea250fbf2c2e112e0e144e7a20c10fbd275f6decc35d60851f
|
||||
MISC ChangeLog-2015 7840 SHA256 6892b6ef59be8951515d951d7fd0eb9212ba193f844309736f874d927b6f176c SHA512 fb2ef2a3f3045be746616baf23a15237453288c9b818a5a304ed9d7d3a8a1c44c12cb6681eb1cec0b827069c673106327fb433c061090466e32677907dbaef7a WHIRLPOOL d94dad486232602b48c92c58cba56e41eefb56701a9424a50803ff96dd0a8ca98d81617d53b2d47105371141b53dae4114bd5b7389f1ed378c8389219f851a33
|
||||
MISC metadata.xml 491 SHA256 f41253a8dae06c7302ff9cc3e3bf61d7cadaba48d36be37bf695f9c4cd878559 SHA512 9183ab899735954d60ecb8b7ca394a72bc519b291fb2032cf5888711ab0f748bed9bc1cfb657ea6c34224b657df5634ab4d54a5bf89fbb0762d5a23d90425d12 WHIRLPOOL 4979f3ea8ba1dde00287a0a3d0fa6cd500d0e80e1323e7aba2cc091026d6820acea96511c12c35edf8703a623cdbc349cf27200360444a669f60443e8bf30079
|
||||
|
@ -1,7 +1,7 @@
|
||||
DIST PyQt-gpl-5.5.1.tar.gz 3705749 SHA256 0a70ef94fbffcf674b0dde024aae2a2a7a3f5a8c42806109ff7df2c941bd8386 SHA512 ed9a4f30a50c0879f25b6a0841247f3f0de86942b55c1de9efea963bfbf64ee963a9e5c09be036ff2dec76164863b3b6235e45e8662776425f15378fa0abeab4 WHIRLPOOL 199a36ff1ee3689a76d0aae9d2bee586f9de3a0e3cf23c5b625c1f62b5f19311450afd9d009cbdb4f5be63ba024326c63ff0e6c9ea515216c686db9d8e07bcb3
|
||||
DIST PyQt5_gpl-5.6.1.dev1604271126.tar.xz 2300884 SHA256 2a9ac535ac921bcd3678e33655bb3842a14f4cf6836eb29f32d0a62335ea061b SHA512 281d48cd8a875c454e970d6cecb0af2a2299f2ea6d062de599736d613c413dbab67072c80a80d490980eacf18bb35819b94255cd5891abbf6e291101bcd5b578 WHIRLPOOL e8255192a318529307b67992cdd12f9c9d4983099c1cece82761140bf3615fc36e1db52a9a795645c8ca93e21b801826802fd1b0fb3cf867c0f80d380a45c279
|
||||
EBUILD PyQt5-5.5.1.ebuild 5182 SHA256 0486204dbc485630e4dbba2bcd186f9315f0a125e9f12be7e8d90d99538feafe SHA512 a0c128e2bde0d911c25b9cbd95f4fc20fad49bb1d3a93df7271ce78898e475399a6fbf8395107205c1fe412c7acfa58fbf0e88cb106db747d65a784965fceac0 WHIRLPOOL bd497a12387ce4d8578642f12744fe5eaf41eb249bb573ebfba34404407771f51a43abc7a6d10c4bd4ca68e0cab3fa191fbd941cc4014791174328c46dcb9889
|
||||
EBUILD PyQt5-5.5.1.ebuild 5181 SHA256 6d14c78e624fee5d0f0067ab9ad36bec4cdd7fd1aa6f9d64be2d86be4f8cd9b9 SHA512 fb8a9e944fc7e1d41255992afa9a8c09c07ee86ad9cabc7234c645151862540c188e73324e56acd7f796f6f59a56c01d49ac29bd493c0648e01713c42285a47d WHIRLPOOL 547d80746abcb0d87e3bfbab844f157d09299bac02796945a1772bba2d8eac2682033a0736dce3606f3f5fbe7866ac6a1c498b368942c29b39be472058ac6fa9
|
||||
EBUILD PyQt5-5.6.1_pre1604271126.ebuild 5204 SHA256 5110f59d04f957aef8d61c0a56fb4a437bc8bed909b02475cfa70b6b333fe7b1 SHA512 0329949822ca30a3a7d91e9a648c035c9aaf07f2770eae787cffdd1c4cda60b1c13ef5f86a8539443958a16939c2338a10f106e97ad53e45288acb7a3cae3d53 WHIRLPOOL 904d0e7359e385639b580e7107cb08428fc98463b8a5e7cd7d5a8119585734457ce527f6f6c182b7814ad459e488719af2d74d64a92494be2eb0f11de56c5601
|
||||
MISC ChangeLog 5003 SHA256 88852bd55fbade51ed343c1e0d10258e34e25121fc00b207715f55ca68ef6c76 SHA512 3767b41bff5d41d929ed75deeaf95cd778def2eddbe666f744688f61b97bdcc1f9394d206291dcd6b2ba8aa0b2b9ab22c2f0fe1bbe205724345de5eaf402f032 WHIRLPOOL 5e509e2b0cb4527697a9cd026ec1d93a29e9b053e494dbc0d9411dae176e7e6beb145e3fe16eb5f1d94bf0ed65f8fcd3fdd6343ffea7b58dc9309c62e0bbaa4f
|
||||
MISC ChangeLog 5153 SHA256 82696193bbcef43be682076bd8fa04e564ce6ad3bed6e218ac036c09860e68d4 SHA512 05ee1331a7d2bb1e8b16daa1fd3f8a25339040ab18fbfb1c628cef4c2f7ba128a3bee39d3fe52adecf4fa01a14107a7a4a8265e9227d25aa32b3e26f7efe66ad WHIRLPOOL 274fb08b52d707d779683006b9ff486264cae9dcc666421d152495aa6c37af70c92b4e0768e583f08cba415447bb17c3b99e6e1122be84370fff322df2957a1a
|
||||
MISC ChangeLog-2015 2530 SHA256 c0f5fb7e518d57246a272e1850019d5c6b17295aeb6be532c3ea0531993066ce SHA512 e84858c3d2dfc44e35eca767822dbdf42396f0df1c2b6676bfcd624be232ec4ead7daadc71dcadf204ac10bd91dddf0c37decea272f3e6130ae2b36aad6cb18f WHIRLPOOL 67f2ecb4cd02db99f6ffc1e0e1bb404c5067015cb85846704e285122c5074b286103ecaf9ef17e9874afad4784d18492808f192e60e363438f375408c1af45cd
|
||||
MISC metadata.xml 2238 SHA256 d0b06068ecb726b97732e5f10356f327268fe13bda82871704df84193b1133b8 SHA512 4d1f9fc63f43be0e054217714d0a9a42de61115c91b98588ba646f426c63f1f251c97a9dcaae231bef01e829bc986b8fac81f7ef43b6e4cda828f1b5733f898d WHIRLPOOL 2452d8c9d4135a748aa72dd6d55b65cc6a2e2e2f2ca71ac52abb62bde90da8aee4e8912877adf29d7c36056352f43c67c9b4cb7a09c0e1372ea12d59bd2f60e8
|
||||
|
@ -1,10 +1,6 @@
|
||||
AUX python-musicbrainz-ngs-0.4-fix-package_data-placement.patch 876 SHA256 00812a6769fbd8c74da379a77bf78bc620787509bbd9a4e82a3ee8d1e6ae36af SHA512 c85ffce60d552d7de00e0419ba13c34a1fdbd668d3548f33c0c983150fa8bd5a75b4d038b7387e5f0ecc91c4fcfd19edbff11622ae44d9be3779c0f92e83f953 WHIRLPOOL 4a8795e18c5c60ac922dbeb5b5966ce8f4e78efebd7cbfbe8502b0be966a04f0dfbf8466e826abaed21b6c28407e0cab2dc6d286b1bb687e97082ef9730bd24b
|
||||
DIST python-musicbrainz-ngs-0.4.tar.gz 54296 SHA256 9251f370b3c1f85018a1bb90989dfd4f63e2a5457a56380543d93abec9675edb SHA512 a40df9512a6b81932560595699dc460b57d3b755c642d489d6e21b3a680385b245a458ac23fed0a922090079d25bf4f562258e81a855d71398531353577a3f19 WHIRLPOOL 47880ec80bbd96c8c4470dad0b786a98aa8ecbb7b3a3761b1eb13db4ce1437415bef89b4bb5f50dc35a9982efcdd0f876baa2fe488cdc3038ada6b1197aab905
|
||||
DIST python-musicbrainzngs0.5.tar.gz 62517 SHA256 ea84abc60fcb5152418dd49e8fdecf3e68759304a71bef422c3b1376886c5b7a SHA512 b0bca65b83d737390d8edc8ae15082941767e7f129deab05b275dcf98a821316f816ca5a01a064d39e87b33b128d2ba18f9d21e6fc681194a018162a6628c17e WHIRLPOOL 904dac82be4444f5710eed99b97b659d303cc98bc7f6ccea36a050156897402411f6659d94dc9b0001ece6ec0296b88976301e7adb345777ed2627122ad7b009
|
||||
DIST python-musicbrainzngs0.6.tar.gz 110948 SHA256 ec447bcab906fe7c4dbd714a1dff1b00adcd20d0011968df1a740e6b1fb09cb5 SHA512 901729f736b207f2f086e3d44a3515d405f6621706ad9c7ca07dd304349e048c5790bb16b054393651808bac4905ceb9493dd66d9fb17a1612692427c0bd3bd4 WHIRLPOOL 210d2dea5c3f4d55ff40cf44ab806afc02ab0093800a92cc1bf7ffcb6833f6317d96e9d2fabc1b8b1f522ac80e9ad924f6d0393766d81e53636042a089141859
|
||||
EBUILD python-musicbrainz-ngs-0.4.ebuild 752 SHA256 5822309e12735b0f6bca97a08823cb51c7794a3f7eefb97139ef4f8da46b19fa SHA512 c6f9469b9f8728b83d9c13c6f490f89c7e1085b6acd0c25c1501a2374c4104a4e6e0a8b00e2211810080c05d911575aedb2fff227789e2f0b258caa1fbcaa5f5 WHIRLPOOL 98a2c4a891b1096ad22255e45b202aef26f5760ed1a7fcdbf81305d8a5cc61a2aa356ce88c5cee7542d9dc2fd09b7aa3e56b4755e5bc52f88e81143074f02ccb
|
||||
EBUILD python-musicbrainz-ngs-0.5.ebuild 1074 SHA256 91ae77542bb3b5bad1e0cfe014feeb1191af35c73c5df229076babe86727aae6 SHA512 ab479f77f2e4a74ad969d02ce951e31e08ab6cf406c483658a7196e14f8fa9c43fc1256cf88e8e17b6e99bf2f11842145f98cff99d2a53fc5a8458b6da4d4044 WHIRLPOOL acf2bd2abbc0ada70ead1fed02df1ba6fbd3a6000cfa4a2efb18d5047378cc901b531059704e09315d399456bd0200d7b21c65f3ed8454fa8230fdc75288a65c
|
||||
EBUILD python-musicbrainz-ngs-0.6.ebuild 1075 SHA256 a108d367420b349731e4e097093e42194504a8a3aa718a6b5d329fb30565f2f6 SHA512 9f6d4c9ee509ca1f961b1fcb8235cfd83197eb9c867dd3181f4060114c7e5913718d22d5f660f11a6e7eeb5cec455d8f6e59afd92f156a60c1f27e3eeb5d7085 WHIRLPOOL 2561442403e7dc77e5932b4ebf7327ee20711d4c8f7e157347093edd3ffd5378a108e957f719d1c716d990b3dc0e7f9a0854f1ca0fc158cb762d3858f8f8bfa9
|
||||
MISC ChangeLog 3379 SHA256 9b745d5745a81dcb720427236ca3901bf56d6d24f17fdda049147b92e31211bd SHA512 797d0c9b57bf4ce384458e6c011679d306bd705e0d00e5c771195d88263ccef9e3a74e9bee0fffd751c7d8953df5610f54aaefa905305253b0d92f9b04777a89 WHIRLPOOL 54209354e4a96e887ed84dc1e43450aa7e751e9b6d9623dd63cef48973824843d5e695041bb9b609957b3e7e2eb3a83f36adf16c5f0667eb58b32aac6d28d7ca
|
||||
MISC ChangeLog 3558 SHA256 1806365701962bf291bcb43acc89b9cfb0d313e2f3d56c2656076723722fdb40 SHA512 19b9c4250a56ddd25a288b7c84c5cbcbdc3f8326e452364e60a2ee3f8354a24cae9d780a186f4f20d87644e4168088724787fc1c6802e77e46abc3bebaf32a69 WHIRLPOOL 5c53c5791290e295c2adb9e40575af0bf3071af299f1dae9dfb14a7abfabea9c5baeac4677a440a5e6cc2077dfea56818ab89dcc518b02328e4045886a401f29
|
||||
MISC ChangeLog-2015 2163 SHA256 dce01709e07e9c99ed59f8e8b3633d0be49fbe4a0d1f52ec223008d9b44b4898 SHA512 59e4d563b1333d4b0b60b51f17da046bcdd73e00ea82213311b3537d466de9fae1117eb0934b912d4aa8f1257a2d934f0139793aa5cfa8ddda53f7d23a436f3a WHIRLPOOL 1f66d95e6dc3871523ef5471a0b541beee8be94f25f629739a696dd7844a8e1c08349887f0dad1ad2017665b39c06d173ddd0132e65925fea1b6b4a79060ae4b
|
||||
MISC metadata.xml 688 SHA256 709074c1bb6e6c73147bd3f8bf604303ce046ee92f8ceb38cd79c4927713613a SHA512 e4d3dda963dd86ad236866f7dc7d6d55f295fe6ebb8f054ff3cd980b9887789a34027738a4bc61871dd8129bb66945b394f6fef08bad78d80be38e21692c969a WHIRLPOOL a81da25581af53deef962ae06dc5c552bbe88e16dec0253889cee8ddfe834845517ed34a261357ce3a5d98010ee807f391e4db46075052533ae4853366240492
|
||||
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1 vcs-snapshot
|
||||
|
||||
DESCRIPTION="This library implements webservice bindings for the Musicbrainz NGS site"
|
||||
HOMEPAGE="https://github.com/alastair/python-musicbrainz-ngs"
|
||||
SRC_URI="https://github.com/alastair/${PN}/tarball/v${PV} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2 ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc examples test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
DOCS=(README.md CHANGES)
|
||||
use examples && DOCS+=( examples )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-fix-package_data-placement.patch"
|
||||
)
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" setup.py test || die
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="${PN/%-ngs/ngs}"
|
||||
|
||||
DESCRIPTION="Python bindings for the MusicBrainz NGS and the Cover Art Archive webservices"
|
||||
HOMEPAGE="https://github.com/alastair/python-musicbrainzngs"
|
||||
SRC_URI="https://github.com/alastair/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_PN}${PV}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2 ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc examples test"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_prepare_all() {
|
||||
# Prevent un-needed d'loading
|
||||
sed -e "s/, 'sphinx.ext.intersphinx'//" -i docs/conf.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
use examples && local EXAMPLES=( examples )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,12 +1,12 @@
|
||||
AUX configforced-1.15.1.py 153 SHA256 07ae0cfb8272f94146c4df113538574ced6920697d14243cf3a89801ed7788f6 SHA512 632576b9fbff3e93c26b6c2d4be74298aa8657affe82d2c5d571a645d733a7b96d5db6b89b819d3aec9ca68e4bef11e368f7c1cbac416e9bfed88a1025a46bfe WHIRLPOOL 0a6c91e5f093285ac9e3f2b8a7344e6c8603ac13f9845cb5523216ebd9a46b0b4948ff62ba74238dd1736e003a98bd78ffc5a802ed7f83774f1abb93cc6cd491
|
||||
AUX pyfa-1.1.8-html-export-path.patch 1219 SHA256 dfe776e75631750d3e18eba2d835359ba32d77ef8bec3db0fa74fd762dc3a7b6 SHA512 d60ce241af9228d18cccd74b2c6fbf81e40c17c4a396f4771c1ab44aa84b5fdb29fc859f1b5e7d9b097f3fc38e409e6f20593c73d674ea923e5564faa4f4cd45 WHIRLPOOL 8be74bf7f6224856279a21df2949856e98f2c2c1c9e358fa9518fc67b06693f350b96d8efe8e8f46e992e0983fa8a1ca775f9c9696e0e6c419a9c35caa9bf8b4
|
||||
AUX pyfa-1.15.1-import-pyfa.patch 590 SHA256 1bc8160c42ead9c4e8610ce858d3e584bdb479643dc9aaa52725e2702196c15f SHA512 2e0088a4a82fadb399f58faa5d7fec8a6a2f0471fad91a103cc486c249fde019dad4fc955b19ae8b19b239a864cf1e09574a4f6af965faa78efb0abe9b46ecf3 WHIRLPOOL 34160870583dd3d435c2dcd1b751b73978ab5fdef0a96280f66c498d6d48bd1894b9158c0f14ee1021d2e8ab7470cb689ca4f6f2c7048055951f117006b926eb
|
||||
AUX pyfa-1.15.1-staticdata.patch 1740 SHA256 5316688fe931f83f1b924fd1fcb463ae8f527cbe7f0b85e26f267c07d1281463 SHA512 be6fffc663f0b8fd12ad9414244cd1f411b47535065fd8209ccf37b8cbb4422bef9c51606a1d2442a1ef97f0218ddc0f472527eb2a40952497c4ab3a76aa2134 WHIRLPOOL a5601d3653db81aff0cb47effc01f72e7ecdd69935592e9d3d1314a5d9c812d4a8b104cc61a47ea6fe7aaa8b87be1b6f9b17448e7b59aca830d4625da82e9e16
|
||||
AUX pyfa-1.20.2-html-export-path.patch 1259 SHA256 f9093158596ec411337107f8da1f7e646fd98e1aa940d6b1ebd656499ac15c31 SHA512 b294ed71d3be9533f182a43e99a1019e3b9a32f33ffdac9accae98f74345483504549567259472a8a082a2f540bd5264294ea604af1221f30821127d5b0771e0 WHIRLPOOL e80a42493ef3bc07b945134f6a3948b6f36ad5c2569e1ce6510e69d7faba81f73f4d836650ed939d9f591dd8bec4c7c6ddbafc2b9e06ab73a7b96ab5ea46c9f2
|
||||
AUX pyfa-1.21.4-html-export-path.patch 1295 SHA256 05e08bb447f03bbfef79091cf5da0dcca63d14f7ec46e3806417e3bb7403e472 SHA512 c67f8a276d13eb39d722d28640a3e17cc8aa971f088256674f925b4b403cfec7a7857cb7150c4b04fa2dbc66318bea5b722c6185c0c9e02671e6af7515642ecf WHIRLPOOL db37aa2746b1b3faaf1dbf9e81eaf62d4178c6b4697c3089bc6f208fe58ea20ab92f1184b1c23c5ede506c90e121c0a07d43b720f1440ceeb61fca74039b2c94
|
||||
AUX pyfa.desktop 155 SHA256 c395891d87eaaac64e3ba7954d623efaf161d906527099ed4b0c680c63a041eb SHA512 d62a44e4e724057581a360cc1eb10aa4c7a0c50cb1d95137e58ba14db17644c852da2582be8d508c50b7359e7f99dc893d78d15cb11c46967a9b7896ff667781 WHIRLPOOL 3f68f0cd6942380fc040a3578b054ea7cdb86fbd751ed17aa1fe1e1eda3c7ee6c35645c28c6529605856d5e74765ccd7037abe96c3efe2a5a54cc7fcb6c53793
|
||||
DIST pyfa-1.20.1.tar.gz 7415996 SHA256 13e5f04590a8b9c15f72d6cde4a11af2465670c5ea78322fcfb14d3d7b00ed15 SHA512 11a1e9619e604dc0c28463efa2d106b677dc3b9177ef6a442a5a26e24055776a1b26e330fc7b6e2589a60213d989e8539eab653792f5804cc76c584fadeee07c WHIRLPOOL a087143205417787d549a044ec4fd80890bb8223b626638bc4f9407cc5e712023163d4891518ee8d8f54a459f45eb0752eaa494c8740a33d751298371829ea9a
|
||||
EBUILD pyfa-1.20.1.ebuild 2739 SHA256 7ab60665c407038062057efc01a743857180282cb0aaadb0f11732a0fc4ede35 SHA512 73abb1f92505922a4ab6443c6f0e7564b73bf8e6bec7c7de2827a71fbfe9560775749d28099967490dac40de648f6c9858d7c064d9a8bf045b9f8cc85f343237 WHIRLPOOL 606f39224b521399ffd9b350922ea51ddf9a76bef5ad0b041f7248294f60c0cd9c9455e4c35acded74d4fcd7f9a59de1fd758344577d317bc19d7a80b7013faa
|
||||
EBUILD pyfa-9999.ebuild 2740 SHA256 677331738f673aa808c77c0b449e5e8cc889d7acb34a5c3cd671809261b5d454 SHA512 cc84bd777a1e7fff532bb2ce61384f2da9b405659723fd22802ae00e262ed72a970b0fabd07bf7a77c56fc5359a32a5bad9a6be09758e4ba756cebcd9af46a09 WHIRLPOOL 4c1c9b3e63514ed849ec1d345fd328d5f6d5b0d10aa7e08263a6bd93dbaf252d2ad0bdca4cf23ce72945632ed26cb10d79e7634665fd6527c938b60552b65492
|
||||
MISC ChangeLog 4246 SHA256 e63710e0eec2f92f49701ecca8250ac03f41061f93ef890f6ed51b0ebd33dc86 SHA512 328256da87a34215de0fff104a0347c36043226085a6ea62cab5fc2212c438fa4e61e02285f6769f1f5aded5fbc94988fbe267b31266bfe8e65614ab7c86fd2e WHIRLPOOL c20a77e32f3e14dbcd3335c75c01b397eecd086ee85b55bb50a3e23b4187b3193f68b071e659bbc6b1a283dee6e847e80bc2cdc0a4e2f1e21609e0ba2d22d526
|
||||
DIST pyfa-1.21.3.tar.gz 7793523 SHA256 4ac79598f2e605ba7d5cd29cfef7a94f426d4cd9e934d13cbb2071afd566de3c SHA512 b5a691873421ef2d3b01d8bfd7121c63f07b96c75837fd3b93a5b77b8163943336dcd5bb85f8dcc056ce61b5103d5331afd5a81c09eb06a7050112b5d1a26681 WHIRLPOOL 65d6c9a52f4076d9be620aa3ac2ec5da23aaff32c547925b34480f7fc82ef9334fa737374419f0bf1bd827b3c6e0f34306c0d5de1dc6d441e88e096fd8aadc13
|
||||
EBUILD pyfa-1.21.3.ebuild 2740 SHA256 677331738f673aa808c77c0b449e5e8cc889d7acb34a5c3cd671809261b5d454 SHA512 cc84bd777a1e7fff532bb2ce61384f2da9b405659723fd22802ae00e262ed72a970b0fabd07bf7a77c56fc5359a32a5bad9a6be09758e4ba756cebcd9af46a09 WHIRLPOOL 4c1c9b3e63514ed849ec1d345fd328d5f6d5b0d10aa7e08263a6bd93dbaf252d2ad0bdca4cf23ce72945632ed26cb10d79e7634665fd6527c938b60552b65492
|
||||
EBUILD pyfa-9999.ebuild 2740 SHA256 5517172231a7e8060056c815007f551abdd956a97e54cbd93209503b6a171108 SHA512 efe8d84f6e90565f64383dd6f7f6729b6483a35348d99f281853b02f64a87d8e2307f78c827abed9bd203c23e18185e0cb1dd7110b55edb1558734e915fe2c2d WHIRLPOOL 88e97c32e8ed822d5cfb327181c79f0adc4f7c2f82e9494a48965475ef31cf2ed1ec0f22d66dac7ef180c8397b4e4505ef1ad704d70d22cbeef406bb9bbd9b46
|
||||
MISC ChangeLog 4721 SHA256 a024f7bffc96034a55ce735344350f593a0c95a97ebd2e9d6b99402fa9675d5e SHA512 eb6a16366ba996e99411892cf6f19f4ebdbff0996e59da5d4312006fe9150081f3df5bfd25fdad468ee8951dde1084c767ad8c353701bcff4f476ea9552fc2b4 WHIRLPOOL 7726c965f991cb25f127b2ff02a6268fda701f2c554a9578e3389c9df5991bcc0a0880182fb7b1ad7ef1785cda78519870e56bb392296f9431c22d88d8d7187a
|
||||
MISC ChangeLog-2015 7528 SHA256 6885426d9198c460a12f8199364898e94f6954678e31773618c20d8708b8f8e3 SHA512 f0d56186c9be334021ba9e4467a5eb549a598b201ba4d515e4006d9c0bc7957f08d4a540b7305a0104a8c7c161f3308c115a267d3d99ac400aea71e5dccbb674 WHIRLPOOL 0c8d74f85d19cfff46ea8a9d4fb917e3bfb007a42b8e2f3bb74f3710619cb2df1c9dba6e3e2e7ded8f445f3e85e0e78729cd9e834049d443baf84a20a935b302
|
||||
MISC metadata.xml 707 SHA256 ad9e71bfafb16b320bbebe6f7bd05fbd9e6c887ff4d8f64a6860f09efd6ac4d9 SHA512 73271ded60ce9b02d625f15b19ff7d8737ade6986eb8ea207d3c4d9720789660f65f7c494de8b37af9d59e6c753b2ef9b3c36ccfa96443825326842a89439863 WHIRLPOOL fffe65d3b087750ab3dd52b15cc21068d8c37e8ac57a55abc2d416140474cbc68947d676bd0b0a6225711ee05ce117a8996e48d29c94096effc07b730290ca9c
|
||||
|
@ -0,0 +1,38 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Update SpamAssassin rules and reload daemons that use them.
|
||||
#
|
||||
|
||||
# First, redirect stdout to /dev/null.
|
||||
exec 1>/dev/null
|
||||
|
||||
# Try to update the rules.
|
||||
sa-update
|
||||
|
||||
# Exit code 0: all new updates were installed.
|
||||
# Exit code 1: we were already up-to-date.
|
||||
# Exit code 3: some updates were installed, but some weren't.
|
||||
# Any other exit code indicates failure.
|
||||
if (( $? == 0 || $? == 3 )); then
|
||||
# Compilation spits out its progress onto stderr.
|
||||
sa-compile 2>/dev/null
|
||||
|
||||
# Do you run spamd or amavisd? Both daemons need to be reloaded
|
||||
# in order to pick up the newly-updated rules.
|
||||
if command -v rc-service 2>/dev/null; then
|
||||
# OpenRC is installed. These "status" checks should succeed
|
||||
# only when the daemon is running under OpenRC. We redirect
|
||||
# stderr to hide the lecture that OpenRC gives you if you
|
||||
# try this on a system running systemd.
|
||||
rc-service spamd status 2>/dev/null && rc-service spamd reload
|
||||
rc-service amavisd status 2>/dev/null && rc-service amavisd reload
|
||||
fi
|
||||
|
||||
if command -v systemctl 2>/dev/null; then
|
||||
# The systemctl (systemd) executable is installed, so try to
|
||||
# use it to restart spamd and amavisd. These are safe to run
|
||||
# if systemd is installed but not in use.
|
||||
systemctl try-restart spamassassin
|
||||
systemctl try-restart amavisd
|
||||
fi
|
||||
fi
|
@ -1,12 +1,34 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<maintainer type="person">
|
||||
<email>gentoo_bugs_peep@parallaxshift.com</email>
|
||||
<name>Philippe Chaintreuil</name>
|
||||
</maintainer>
|
||||
|
||||
<maintainer type="person">
|
||||
<email>bug@mejor.pl</email>
|
||||
<name>Marcin Mirosław</name>
|
||||
</maintainer>
|
||||
|
||||
<maintainer type="person">
|
||||
<email>mjo@gentoo.org</email>
|
||||
<name>Michael Orlitzky</name>
|
||||
</maintainer>
|
||||
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
|
||||
<use>
|
||||
<flag name="qmail">Build qmail functionality and docs</flag>
|
||||
<flag name="bayes">
|
||||
Require a database (MySQL, SQLite, Postgres, or BerkDB) backend to
|
||||
enable the Bayesian filtering database.
|
||||
</flag>
|
||||
</use>
|
||||
<flag name="bayes">
|
||||
Require a database (MySQL, SQLite, Postgres, or BerkDB) backend
|
||||
to enable the Bayesian filtering database.
|
||||
</flag>
|
||||
<flag name="cron">
|
||||
Install a cron job to update SpamAssassin's rules daily.
|
||||
</flag>
|
||||
<flag name="qmail">Build qmail functionality and docs</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -1,222 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit perl-module toolchain-funcs eutils systemd readme.gentoo
|
||||
|
||||
MY_P=Mail-SpamAssassin-${PV//_/-}
|
||||
S=${WORKDIR}/${MY_P}
|
||||
DESCRIPTION="An extensible mail filter which can identify and tag spam"
|
||||
HOMEPAGE="http://spamassassin.apache.org/"
|
||||
SRC_URI="mirror://apache/spamassassin/source/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="Apache-2.0 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
|
||||
IUSE="+bayes berkdb libressl qmail ssl doc ldap mysql postgres sqlite ipv6"
|
||||
|
||||
# You can do without a database unless you need the Bayes features.
|
||||
REQUIRED_USE="bayes? ( || ( berkdb mysql postgres sqlite ) )"
|
||||
|
||||
DEPEND=">=dev-lang/perl-5.8.8-r8
|
||||
virtual/perl-MIME-Base64
|
||||
>=virtual/perl-Pod-Parser-1.510.0-r2
|
||||
virtual/perl-Storable
|
||||
virtual/perl-Time-HiRes
|
||||
>=dev-perl/HTML-Parser-3.43
|
||||
>=dev-perl/Mail-DKIM-0.37
|
||||
>=dev-perl/Net-DNS-0.53
|
||||
dev-perl/Digest-SHA1
|
||||
dev-perl/libwww-perl
|
||||
>=virtual/perl-Archive-Tar-1.23
|
||||
app-crypt/gnupg
|
||||
>=virtual/perl-IO-Zlib-1.04
|
||||
>=dev-util/re2c-0.12.0
|
||||
dev-perl/Mail-SPF
|
||||
>=dev-perl/NetAddr-IP-4.0.1
|
||||
dev-perl/Geo-IP
|
||||
dev-perl/Encode-Detect
|
||||
dev-perl/Net-Patricia
|
||||
ssl? (
|
||||
dev-perl/IO-Socket-SSL
|
||||
!libressl? ( dev-libs/openssl:0 )
|
||||
libressl? ( dev-libs/libressl )
|
||||
)
|
||||
berkdb? (
|
||||
virtual/perl-DB_File
|
||||
)
|
||||
ldap? ( dev-perl/perl-ldap )
|
||||
mysql? (
|
||||
dev-perl/DBI
|
||||
dev-perl/DBD-mysql
|
||||
)
|
||||
postgres? (
|
||||
dev-perl/DBI
|
||||
dev-perl/DBD-Pg
|
||||
)
|
||||
sqlite? (
|
||||
dev-perl/DBI
|
||||
dev-perl/DBD-SQLite
|
||||
)
|
||||
ipv6? (
|
||||
|| ( dev-perl/IO-Socket-INET6
|
||||
virtual/perl-IO-Socket-IP )
|
||||
)"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
SRC_TEST="do"
|
||||
|
||||
src_prepare() {
|
||||
# Merged upstream
|
||||
#epatch "${FILESDIR}/net-dns-0.76_compatibility.patch"
|
||||
perl-module_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# - Set SYSCONFDIR explicitly so we can't get bitten by bug 48205 again
|
||||
# (just to be sure, nobody knows how it could happen in the first place).
|
||||
myconf="SYSCONFDIR=${EPREFIX}/etc"
|
||||
myconf+=" DATADIR=${EPREFIX}/usr/share/spamassassin"
|
||||
|
||||
# If ssl is enabled, spamc can be built with ssl support.
|
||||
if use ssl; then
|
||||
myconf+=" ENABLE_SSL=yes"
|
||||
else
|
||||
myconf+=" ENABLE_SSL=no"
|
||||
fi
|
||||
|
||||
# Set the path to the Perl executable explictly. This will be used to
|
||||
# create the initial sharpbang line in the scripts and might cause
|
||||
# a versioned app name end in there, see
|
||||
# <https://bugs.gentoo.org/show_bug.cgi?id=62276>
|
||||
myconf+=" PERL_BIN=${EPREFIX}/usr/bin/perl"
|
||||
|
||||
# Setting the following env var ensures that no questions are asked.
|
||||
perl-module_src_configure
|
||||
# Configure spamc
|
||||
emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" spamc/Makefile
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export PERL_MM_USE_DEFAULT=1
|
||||
|
||||
# Now compile all the stuff selected.
|
||||
perl-module_src_compile
|
||||
|
||||
if use qmail; then
|
||||
emake spamc/qmail-spamc
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
perl-module_src_install
|
||||
|
||||
# Create the stub dir used by sa-update and friends
|
||||
keepdir /var/lib/spamassassin
|
||||
|
||||
# Move spamd to sbin where it belongs.
|
||||
dodir /usr/sbin
|
||||
mv "${ED}"/usr/bin/spamd "${ED}"/usr/sbin/spamd || die "move spamd failed"
|
||||
|
||||
if use qmail; then
|
||||
dobin spamc/qmail-spamc
|
||||
fi
|
||||
|
||||
ln -s mail/spamassassin "${ED}"/etc/spamassassin || die
|
||||
|
||||
# Disable plugin by default
|
||||
sed -i -e 's/^loadplugin/\#loadplugin/g' \
|
||||
"${ED}"/etc/mail/spamassassin/init.pre \
|
||||
|| die "failed to disable plugins by default"
|
||||
|
||||
# Add the init and config scripts.
|
||||
newinitd "${FILESDIR}"/3.3.1-spamd.init spamd
|
||||
newconfd "${FILESDIR}"/3.0.0-spamd.conf spamd
|
||||
|
||||
systemd_newunit "${FILESDIR}"/${PN}.service-r1 ${PN}.service
|
||||
systemd_install_serviced "${FILESDIR}"/${PN}.service.conf
|
||||
|
||||
if use postgres; then
|
||||
sed -i -e 's:@USEPOSTGRES@::' "${ED}/etc/init.d/spamd" || die
|
||||
|
||||
dodoc sql/*_pg.sql
|
||||
else
|
||||
sed -i -e '/@USEPOSTGRES@/d' "${ED}/etc/init.d/spamd" || die
|
||||
fi
|
||||
|
||||
if use mysql; then
|
||||
sed -i -e 's:@USEMYSQL@::' "${ED}/etc/init.d/spamd" || die
|
||||
|
||||
dodoc sql/*_mysql.sql
|
||||
else
|
||||
sed -i -e '/@USEMYSQL@/d' "${ED}/etc/init.d/spamd" || die
|
||||
fi
|
||||
|
||||
dodoc NOTICE TRADEMARK CREDITS INSTALL.VMS UPGRADE USAGE \
|
||||
sql/README.bayes sql/README.awl procmailrc.example sample-nonspam.txt \
|
||||
sample-spam.txt spamd/PROTOCOL spamd/README.vpopmail \
|
||||
spamd-apache2/README.apache
|
||||
|
||||
# Rename some docu files so they don't clash with others
|
||||
newdoc spamd/README README.spamd
|
||||
newdoc sql/README README.sql
|
||||
newdoc ldap/README README.ldap
|
||||
|
||||
if use qmail; then
|
||||
dodoc spamc/README.qmail
|
||||
fi
|
||||
|
||||
insinto /etc/mail/spamassassin/
|
||||
insopts -m0400
|
||||
newins "${FILESDIR}"/secrets.cf secrets.cf.example
|
||||
|
||||
cat <<-EOF > "${T}/local.cf.example"
|
||||
# Sensitive data, such as database connection info, should be stored in
|
||||
# /etc/mail/spamassassin/secrets.cf with appropriate permissions
|
||||
EOF
|
||||
|
||||
insopts -m0644
|
||||
doins "${T}/local.cf.example"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you plan on using the -u flag to spamd, please read the notes"
|
||||
elog "in /etc/conf.d/spamd regarding the location of the pid file."
|
||||
elog
|
||||
elog "If you build ${PN} with optional dependancy support,"
|
||||
elog "you can enable them in /etc/mail/spamassassin/init.pre"
|
||||
elog
|
||||
elog "You need to configure your database to be able to use Bayes filter"
|
||||
elog "with database backend, otherwise it will still use (and need) the"
|
||||
elog "Berkeley DB support."
|
||||
elog "Look at the sql/README.bayes file in the documentation directory"
|
||||
elog "for how to configure it."
|
||||
elog
|
||||
elog "If you plan to use Vipul's Razor, note that versions up to and"
|
||||
elog "including version 2.82 include a bug that will slow down the entire"
|
||||
elog "perl interpreter. Version 2.83 or later fixes this."
|
||||
elog "If you do not plan to use this plugin, be sure to comment out"
|
||||
elog "its loadplugin line in /etc/mail/spamassassin/v310.pre."
|
||||
elog
|
||||
elog "The DKIM plugin is now enabled by default for new installs,"
|
||||
elog "if the perl module Mail::DKIM is installed."
|
||||
elog "However, installation of SpamAssassin will not overwrite existing"
|
||||
elog ".pre configuration files, so to use DKIM when upgrading from a"
|
||||
elog "previous release that did not use DKIM, a directive:"
|
||||
elog
|
||||
elog "loadplugin Mail::SpamAssassin::Plugin::DKIM"
|
||||
elog "will need to be uncommented in file 'v312.pre', or added"
|
||||
elog "to some other .pre file, such as local.pre."
|
||||
elog
|
||||
ewarn "Rules are no longer included with SpamAssassin out of the box".
|
||||
ewarn "You will need to immediately run sa-update, or download"
|
||||
ewarn "the additional rules .tgz package and run sa-update --install"
|
||||
ewarn "with it, to get a ruleset."
|
||||
elog
|
||||
elog "If you run sa-update and receive a GPG validation error."
|
||||
elog "Then you need to import an updated sa-update key."
|
||||
elog "sa-update --import /usr/share/spamassassin/sa-update-pubkey.txt"
|
||||
elog
|
||||
}
|
@ -1,231 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit perl-module toolchain-funcs eutils systemd readme.gentoo
|
||||
|
||||
MY_P=Mail-SpamAssassin-${PV//_/-}
|
||||
S=${WORKDIR}/${MY_P}
|
||||
DESCRIPTION="An extensible mail filter which can identify and tag spam"
|
||||
HOMEPAGE="http://spamassassin.apache.org/"
|
||||
SRC_URI="mirror://apache/spamassassin/source/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="Apache-2.0 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
|
||||
IUSE="+bayes berkdb libressl qmail ssl doc ldap mysql postgres sqlite ipv6"
|
||||
|
||||
# You can do without a database unless you need the Bayes features.
|
||||
REQUIRED_USE="bayes? ( || ( berkdb mysql postgres sqlite ) )"
|
||||
|
||||
DEPEND=">=dev-lang/perl-5.8.8-r8
|
||||
virtual/perl-MIME-Base64
|
||||
>=virtual/perl-Pod-Parser-1.510.0-r2
|
||||
virtual/perl-Storable
|
||||
virtual/perl-Time-HiRes
|
||||
>=dev-perl/HTML-Parser-3.43
|
||||
>=dev-perl/Mail-DKIM-0.37
|
||||
>=dev-perl/Net-DNS-0.53
|
||||
dev-perl/Digest-SHA1
|
||||
dev-perl/libwww-perl
|
||||
>=virtual/perl-Archive-Tar-1.23
|
||||
app-crypt/gnupg
|
||||
>=virtual/perl-IO-Zlib-1.04
|
||||
>=dev-util/re2c-0.12.0
|
||||
dev-perl/Mail-SPF
|
||||
>=dev-perl/NetAddr-IP-4.0.1
|
||||
dev-perl/Geo-IP
|
||||
dev-perl/Encode-Detect
|
||||
dev-perl/Net-Patricia
|
||||
ssl? (
|
||||
dev-perl/IO-Socket-SSL
|
||||
!libressl? ( dev-libs/openssl:0 )
|
||||
libressl? ( dev-libs/libressl )
|
||||
)
|
||||
berkdb? (
|
||||
virtual/perl-DB_File
|
||||
)
|
||||
ldap? ( dev-perl/perl-ldap )
|
||||
mysql? (
|
||||
dev-perl/DBI
|
||||
dev-perl/DBD-mysql
|
||||
)
|
||||
postgres? (
|
||||
dev-perl/DBI
|
||||
dev-perl/DBD-Pg
|
||||
)
|
||||
sqlite? (
|
||||
dev-perl/DBI
|
||||
dev-perl/DBD-SQLite
|
||||
)
|
||||
ipv6? (
|
||||
|| ( dev-perl/IO-Socket-INET6
|
||||
virtual/perl-IO-Socket-IP )
|
||||
)"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
SRC_TEST="do"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/spamassassin-3.4.1-bug_7223.patch"
|
||||
epatch "${FILESDIR}/spamassassin-3.4.1-bug_7231.patch"
|
||||
epatch "${FILESDIR}/spamassassin-3.4.1-bug_7265.patch"
|
||||
perl-module_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# - Set SYSCONFDIR explicitly so we can't get bitten by bug 48205 again
|
||||
# (just to be sure, nobody knows how it could happen in the first place).
|
||||
myconf="SYSCONFDIR=${EPREFIX}/etc"
|
||||
myconf+=" DATADIR=${EPREFIX}/usr/share/spamassassin"
|
||||
|
||||
# If ssl is enabled, spamc can be built with ssl support.
|
||||
if use ssl; then
|
||||
myconf+=" ENABLE_SSL=yes"
|
||||
else
|
||||
myconf+=" ENABLE_SSL=no"
|
||||
fi
|
||||
|
||||
# Set the path to the Perl executable explictly. This will be used to
|
||||
# create the initial sharpbang line in the scripts and might cause
|
||||
# a versioned app name end in there, see
|
||||
# <https://bugs.gentoo.org/show_bug.cgi?id=62276>
|
||||
myconf+=" PERL_BIN=${EPREFIX}/usr/bin/perl"
|
||||
|
||||
# Setting the following env var ensures that no questions are asked.
|
||||
perl-module_src_configure
|
||||
# Configure spamc
|
||||
emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" spamc/Makefile
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export PERL_MM_USE_DEFAULT=1
|
||||
|
||||
# Now compile all the stuff selected.
|
||||
perl-module_src_compile
|
||||
|
||||
if use qmail; then
|
||||
emake spamc/qmail-spamc
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
perl-module_src_install
|
||||
|
||||
# Create the stub dir used by sa-update and friends
|
||||
keepdir /var/lib/spamassassin
|
||||
|
||||
# Move spamd to sbin where it belongs.
|
||||
dodir /usr/sbin
|
||||
mv "${ED}"/usr/bin/spamd "${ED}"/usr/sbin/spamd || die "move spamd failed"
|
||||
|
||||
if use qmail; then
|
||||
dobin spamc/qmail-spamc
|
||||
fi
|
||||
|
||||
ln -s mail/spamassassin "${ED}"/etc/spamassassin || die
|
||||
|
||||
# Disable plugin by default
|
||||
sed -i -e 's/^loadplugin/\#loadplugin/g' \
|
||||
"${ED}"/etc/mail/spamassassin/init.pre \
|
||||
|| die "failed to disable plugins by default"
|
||||
|
||||
# Add the init and config scripts.
|
||||
newinitd "${FILESDIR}"/3.3.1-spamd.init spamd
|
||||
newconfd "${FILESDIR}"/3.0.0-spamd.conf spamd
|
||||
|
||||
systemd_newunit "${FILESDIR}"/${PN}.service-r1 ${PN}.service
|
||||
systemd_install_serviced "${FILESDIR}"/${PN}.service.conf
|
||||
|
||||
if use postgres; then
|
||||
sed -i -e 's:@USEPOSTGRES@::' "${ED}/etc/init.d/spamd" || die
|
||||
|
||||
dodoc sql/*_pg.sql
|
||||
else
|
||||
sed -i -e '/@USEPOSTGRES@/d' "${ED}/etc/init.d/spamd" || die
|
||||
fi
|
||||
|
||||
if use mysql; then
|
||||
sed -i -e 's:@USEMYSQL@::' "${ED}/etc/init.d/spamd" || die
|
||||
|
||||
dodoc sql/*_mysql.sql
|
||||
else
|
||||
sed -i -e '/@USEMYSQL@/d' "${ED}/etc/init.d/spamd" || die
|
||||
fi
|
||||
|
||||
dodoc NOTICE TRADEMARK CREDITS INSTALL.VMS UPGRADE USAGE \
|
||||
sql/README.bayes sql/README.awl procmailrc.example sample-nonspam.txt \
|
||||
sample-spam.txt spamd/PROTOCOL spamd/README.vpopmail \
|
||||
spamd-apache2/README.apache
|
||||
|
||||
# Rename some docu files so they don't clash with others
|
||||
newdoc spamd/README README.spamd
|
||||
newdoc sql/README README.sql
|
||||
newdoc ldap/README README.ldap
|
||||
|
||||
if use qmail; then
|
||||
dodoc spamc/README.qmail
|
||||
fi
|
||||
|
||||
insinto /etc/mail/spamassassin/
|
||||
insopts -m0400
|
||||
newins "${FILESDIR}"/secrets.cf secrets.cf.example
|
||||
|
||||
# Create the directory where sa-update stores its GPG key (if you
|
||||
# choose to import one). If this directory does not exist, the
|
||||
# import will fail. This is bug 396307. We expect that the import
|
||||
# will be performed as root, and making the directory accessible
|
||||
# only to root prevents a warning on the command-line.
|
||||
diropts -m0700
|
||||
dodir /etc/mail/spamassassin/sa-update-keys
|
||||
|
||||
cat <<-EOF > "${T}/local.cf.example"
|
||||
# Sensitive data, such as database connection info, should be stored in
|
||||
# /etc/mail/spamassassin/secrets.cf with appropriate permissions
|
||||
EOF
|
||||
|
||||
insopts -m0644
|
||||
doins "${T}/local.cf.example"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you plan on using the -u flag to spamd, please read the notes"
|
||||
elog "in /etc/conf.d/spamd regarding the location of the pid file."
|
||||
elog
|
||||
elog "If you build ${PN} with optional dependancy support,"
|
||||
elog "you can enable them in /etc/mail/spamassassin/init.pre"
|
||||
elog
|
||||
elog "You need to configure your database to be able to use Bayes filter"
|
||||
elog "with database backend, otherwise it will still use (and need) the"
|
||||
elog "Berkeley DB support."
|
||||
elog "Look at the sql/README.bayes file in the documentation directory"
|
||||
elog "for how to configure it."
|
||||
elog
|
||||
elog "If you plan to use Vipul's Razor, note that versions up to and"
|
||||
elog "including version 2.82 include a bug that will slow down the entire"
|
||||
elog "perl interpreter. Version 2.83 or later fixes this."
|
||||
elog "If you do not plan to use this plugin, be sure to comment out"
|
||||
elog "its loadplugin line in /etc/mail/spamassassin/v310.pre."
|
||||
elog
|
||||
elog "The DKIM plugin is now enabled by default for new installs,"
|
||||
elog "if the perl module Mail::DKIM is installed."
|
||||
elog "However, installation of SpamAssassin will not overwrite existing"
|
||||
elog ".pre configuration files, so to use DKIM when upgrading from a"
|
||||
elog "previous release that did not use DKIM, a directive:"
|
||||
elog
|
||||
elog "loadplugin Mail::SpamAssassin::Plugin::DKIM"
|
||||
elog "will need to be uncommented in file 'v312.pre', or added"
|
||||
elog "to some other .pre file, such as local.pre."
|
||||
elog
|
||||
ewarn "Rules are no longer included with SpamAssassin out of the box".
|
||||
ewarn "You will need to immediately run sa-update, or download"
|
||||
ewarn "the additional rules .tgz package and run sa-update --install"
|
||||
ewarn "with it, to get a ruleset."
|
||||
elog
|
||||
elog "If you run sa-update and receive a GPG validation error."
|
||||
elog "Then you need to import an updated sa-update key."
|
||||
elog "sa-update --import /usr/share/spamassassin/sa-update-pubkey.txt"
|
||||
elog
|
||||
}
|
@ -1,195 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs systemd
|
||||
|
||||
MY_P=Mail-SpamAssassin-${PV//_/-}
|
||||
S=${WORKDIR}/${MY_P}
|
||||
DESCRIPTION="An extensible mail filter which can identify and tag spam"
|
||||
HOMEPAGE="http://spamassassin.apache.org/"
|
||||
SRC_URI="mirror://apache/spamassassin/source/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="Apache-2.0 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
|
||||
IUSE="+bayes berkdb ipv6 ldap libressl mysql postgres qmail sqlite ssl test"
|
||||
|
||||
# You can do without a database unless you need the Bayes features.
|
||||
REQUIRED_USE="bayes? ( || ( berkdb mysql postgres sqlite ) )"
|
||||
|
||||
DEPEND=">=dev-lang/perl-5.8.8-r8
|
||||
virtual/perl-MIME-Base64
|
||||
>=virtual/perl-Pod-Parser-1.510.0-r2
|
||||
virtual/perl-Storable
|
||||
virtual/perl-Time-HiRes
|
||||
>=dev-perl/HTML-Parser-3.43
|
||||
>=dev-perl/Mail-DKIM-0.37
|
||||
>=dev-perl/Net-DNS-0.53
|
||||
dev-perl/Digest-SHA1
|
||||
dev-perl/libwww-perl
|
||||
>=virtual/perl-Archive-Tar-1.23
|
||||
app-crypt/gnupg
|
||||
>=virtual/perl-IO-Zlib-1.04
|
||||
>=dev-util/re2c-0.12.0
|
||||
dev-perl/Mail-SPF
|
||||
>=dev-perl/NetAddr-IP-4.0.1
|
||||
dev-perl/Geo-IP
|
||||
dev-perl/Encode-Detect
|
||||
dev-perl/Net-Patricia
|
||||
ssl? (
|
||||
dev-perl/IO-Socket-SSL
|
||||
!libressl? ( dev-libs/openssl:0 )
|
||||
libressl? ( dev-libs/libressl )
|
||||
)
|
||||
berkdb? (
|
||||
virtual/perl-DB_File
|
||||
)
|
||||
ldap? ( dev-perl/perl-ldap )
|
||||
mysql? (
|
||||
dev-perl/DBI
|
||||
dev-perl/DBD-mysql
|
||||
)
|
||||
postgres? (
|
||||
dev-perl/DBI
|
||||
dev-perl/DBD-Pg
|
||||
)
|
||||
sqlite? (
|
||||
dev-perl/DBI
|
||||
dev-perl/DBD-SQLite
|
||||
)
|
||||
ipv6? (
|
||||
|| ( dev-perl/IO-Socket-INET6
|
||||
virtual/perl-IO-Socket-IP )
|
||||
)"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# Some spamd tests fail, and it looks like the whole suite eventually
|
||||
# hangs.
|
||||
RESTRICT=test
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/spamassassin-3.4.1-bug_7223.patch"
|
||||
"${FILESDIR}/spamassassin-3.4.1-bug_7231.patch"
|
||||
"${FILESDIR}/spamassassin-3.4.1-bug_7265.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
# spamc can be built with ssl support.
|
||||
local use_ssl="no"
|
||||
if use ssl; then
|
||||
use_ssl="yes"
|
||||
fi
|
||||
|
||||
# Set SYSCONFDIR explicitly so we can't get bitten by bug 48205 again
|
||||
# (just to be sure, nobody knows how it could happen in the first place).
|
||||
#
|
||||
# We also set the path to the perl executable explictly. This will be
|
||||
# used to create the initial shebang line in the scripts (bug 62276).
|
||||
perl Makefile.PL \
|
||||
PREFIX="${EPREFIX}/usr" \
|
||||
INSTALLDIRS=vendor \
|
||||
SYSCONFDIR="${EPREFIX}/etc" \
|
||||
DATADIR="${EPREFIX}/usr/share/spamassassin" \
|
||||
PERL_BIN="${EPREFIX}/usr/bin/perl" \
|
||||
ENABLE_SSL="${use_ssl}" \
|
||||
DESTDIR="${D}" \
|
||||
|| die "Unable to build!"
|
||||
|
||||
# Now configure spamc.
|
||||
emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" spamc/Makefile
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
PERL_MM_USE_DEFAULT=1 emake
|
||||
|
||||
if use qmail; then
|
||||
emake spamc/qmail-spamc
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake install
|
||||
einstalldocs
|
||||
|
||||
# Create the stub dir used by sa-update and friends
|
||||
keepdir /var/lib/spamassassin
|
||||
|
||||
# Move spamd to sbin where it belongs.
|
||||
dodir /usr/sbin
|
||||
mv "${ED}"/usr/bin/spamd "${ED}"/usr/sbin/spamd || die "move spamd failed"
|
||||
|
||||
if use qmail; then
|
||||
dobin spamc/qmail-spamc
|
||||
fi
|
||||
|
||||
ln -s mail/spamassassin "${ED}"/etc/spamassassin || die
|
||||
|
||||
# Disable plugin by default
|
||||
sed -i -e 's/^loadplugin/\#loadplugin/g' \
|
||||
"${ED}"/etc/mail/spamassassin/init.pre \
|
||||
|| die "failed to disable plugins by default"
|
||||
|
||||
# Add the init and config scripts.
|
||||
newinitd "${FILESDIR}"/3.3.1-spamd.init spamd
|
||||
newconfd "${FILESDIR}"/3.0.0-spamd.conf spamd
|
||||
|
||||
systemd_newunit "${FILESDIR}"/${PN}.service-r1 ${PN}.service
|
||||
systemd_install_serviced "${FILESDIR}"/${PN}.service.conf
|
||||
|
||||
if use postgres; then
|
||||
sed -i -e 's:@USEPOSTGRES@::' "${ED}/etc/init.d/spamd" || die
|
||||
|
||||
dodoc sql/*_pg.sql
|
||||
else
|
||||
sed -i -e '/@USEPOSTGRES@/d' "${ED}/etc/init.d/spamd" || die
|
||||
fi
|
||||
|
||||
if use mysql; then
|
||||
sed -i -e 's:@USEMYSQL@::' "${ED}/etc/init.d/spamd" || die
|
||||
|
||||
dodoc sql/*_mysql.sql
|
||||
else
|
||||
sed -i -e '/@USEMYSQL@/d' "${ED}/etc/init.d/spamd" || die
|
||||
fi
|
||||
|
||||
dodoc NOTICE TRADEMARK CREDITS INSTALL.VMS UPGRADE USAGE \
|
||||
sql/README.bayes sql/README.awl procmailrc.example sample-nonspam.txt \
|
||||
sample-spam.txt spamd/PROTOCOL spamd/README.vpopmail \
|
||||
spamd-apache2/README.apache
|
||||
|
||||
# Rename some docu files so they don't clash with others
|
||||
newdoc spamd/README README.spamd
|
||||
newdoc sql/README README.sql
|
||||
newdoc ldap/README README.ldap
|
||||
|
||||
if use qmail; then
|
||||
dodoc spamc/README.qmail
|
||||
fi
|
||||
|
||||
insinto /etc/mail/spamassassin/
|
||||
insopts -m0400
|
||||
newins "${FILESDIR}"/secrets.cf secrets.cf.example
|
||||
|
||||
# Create the directory where sa-update stores its GPG key (if you
|
||||
# choose to import one). If this directory does not exist, the
|
||||
# import will fail. This is bug 396307. We expect that the import
|
||||
# will be performed as root, and making the directory accessible
|
||||
# only to root prevents a warning on the command-line.
|
||||
diropts -m0700
|
||||
dodir /etc/mail/spamassassin/sa-update-keys
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "No rules are install by default. You will need to run sa-update"
|
||||
elog "at least once, and most likely configure SpamAssassin before it"
|
||||
elog "will work. You should also consider a cron job for sa-update."
|
||||
elog
|
||||
elog "Configuration and update help can be found on the wiki:"
|
||||
elog
|
||||
elog " https://wiki.gentoo.org/wiki/SpamAssassin"
|
||||
elog
|
||||
}
|
@ -1,221 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit perl-module toolchain-funcs eutils systemd readme.gentoo
|
||||
|
||||
MY_P=Mail-SpamAssassin-${PV//_/-}
|
||||
S=${WORKDIR}/${MY_P}
|
||||
DESCRIPTION="An extensible mail filter which can identify and tag spam"
|
||||
HOMEPAGE="http://spamassassin.apache.org/"
|
||||
SRC_URI="mirror://apache/spamassassin/source/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="Apache-2.0 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
|
||||
IUSE="+bayes berkdb qmail ssl doc ldap mysql postgres sqlite ipv6"
|
||||
|
||||
# You can do without a database unless you need the Bayes features.
|
||||
REQUIRED_USE="bayes? ( || ( berkdb mysql postgres sqlite ) )"
|
||||
|
||||
DEPEND=">=dev-lang/perl-5.8.8-r8
|
||||
virtual/perl-MIME-Base64
|
||||
>=virtual/perl-Pod-Parser-1.510.0-r2
|
||||
virtual/perl-Storable
|
||||
virtual/perl-Time-HiRes
|
||||
>=dev-perl/HTML-Parser-3.43
|
||||
>=dev-perl/Mail-DKIM-0.37
|
||||
>=dev-perl/Net-DNS-0.53
|
||||
dev-perl/Digest-SHA1
|
||||
dev-perl/libwww-perl
|
||||
>=virtual/perl-Archive-Tar-1.23
|
||||
app-crypt/gnupg
|
||||
>=virtual/perl-IO-Zlib-1.04
|
||||
>=dev-util/re2c-0.12.0
|
||||
dev-perl/Mail-SPF
|
||||
>=dev-perl/NetAddr-IP-4.0.1
|
||||
dev-perl/Geo-IP
|
||||
dev-perl/Encode-Detect
|
||||
dev-perl/Net-Patricia
|
||||
ssl? (
|
||||
dev-perl/IO-Socket-SSL
|
||||
dev-libs/openssl
|
||||
)
|
||||
berkdb? (
|
||||
virtual/perl-DB_File
|
||||
)
|
||||
ldap? ( dev-perl/perl-ldap )
|
||||
mysql? (
|
||||
dev-perl/DBI
|
||||
dev-perl/DBD-mysql
|
||||
)
|
||||
postgres? (
|
||||
dev-perl/DBI
|
||||
dev-perl/DBD-Pg
|
||||
)
|
||||
sqlite? (
|
||||
dev-perl/DBI
|
||||
dev-perl/DBD-SQLite
|
||||
)
|
||||
ipv6? (
|
||||
|| ( dev-perl/IO-Socket-INET6
|
||||
virtual/perl-IO-Socket-IP )
|
||||
)"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
SRC_TEST="do"
|
||||
|
||||
src_prepare() {
|
||||
# Merged upstream
|
||||
#epatch "${FILESDIR}/net-dns-0.76_compatibility.patch"
|
||||
perl-module_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# - Set SYSCONFDIR explicitly so we can't get bitten by bug 48205 again
|
||||
# (just to be sure, nobody knows how it could happen in the first place).
|
||||
myconf="SYSCONFDIR=${EPREFIX}/etc"
|
||||
myconf+=" DATADIR=${EPREFIX}/usr/share/spamassassin"
|
||||
|
||||
# If ssl is enabled, spamc can be built with ssl support.
|
||||
if use ssl; then
|
||||
myconf+=" ENABLE_SSL=yes"
|
||||
else
|
||||
myconf+=" ENABLE_SSL=no"
|
||||
fi
|
||||
|
||||
# Set the path to the Perl executable explictly. This will be used to
|
||||
# create the initial sharpbang line in the scripts and might cause
|
||||
# a versioned app name end in there, see
|
||||
# <https://bugs.gentoo.org/show_bug.cgi?id=62276>
|
||||
myconf+=" PERL_BIN=${EPREFIX}/usr/bin/perl"
|
||||
|
||||
# Setting the following env var ensures that no questions are asked.
|
||||
perl-module_src_configure
|
||||
# Configure spamc
|
||||
emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" spamc/Makefile
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export PERL_MM_USE_DEFAULT=1
|
||||
|
||||
# Now compile all the stuff selected.
|
||||
perl-module_src_compile
|
||||
|
||||
if use qmail; then
|
||||
emake spamc/qmail-spamc
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
perl-module_src_install
|
||||
|
||||
# Create the stub dir used by sa-update and friends
|
||||
keepdir /var/lib/spamassassin
|
||||
|
||||
# Move spamd to sbin where it belongs.
|
||||
dodir /usr/sbin
|
||||
mv "${ED}"/usr/bin/spamd "${ED}"/usr/sbin/spamd || die "move spamd failed"
|
||||
|
||||
if use qmail; then
|
||||
dobin spamc/qmail-spamc
|
||||
fi
|
||||
|
||||
ln -s mail/spamassassin "${ED}"/etc/spamassassin || die
|
||||
|
||||
# Disable plugin by default
|
||||
sed -i -e 's/^loadplugin/\#loadplugin/g' \
|
||||
"${ED}"/etc/mail/spamassassin/init.pre \
|
||||
|| die "failed to disable plugins by default"
|
||||
|
||||
# Add the init and config scripts.
|
||||
newinitd "${FILESDIR}"/3.3.1-spamd.init spamd
|
||||
newconfd "${FILESDIR}"/3.0.0-spamd.conf spamd
|
||||
|
||||
systemd_newunit "${FILESDIR}"/${PN}.service-r1 ${PN}.service
|
||||
systemd_install_serviced "${FILESDIR}"/${PN}.service.conf
|
||||
|
||||
if use postgres; then
|
||||
sed -i -e 's:@USEPOSTGRES@::' "${ED}/etc/init.d/spamd" || die
|
||||
|
||||
dodoc sql/*_pg.sql
|
||||
else
|
||||
sed -i -e '/@USEPOSTGRES@/d' "${ED}/etc/init.d/spamd" || die
|
||||
fi
|
||||
|
||||
if use mysql; then
|
||||
sed -i -e 's:@USEMYSQL@::' "${ED}/etc/init.d/spamd" || die
|
||||
|
||||
dodoc sql/*_mysql.sql
|
||||
else
|
||||
sed -i -e '/@USEMYSQL@/d' "${ED}/etc/init.d/spamd" || die
|
||||
fi
|
||||
|
||||
dodoc NOTICE TRADEMARK CREDITS INSTALL.VMS UPGRADE USAGE \
|
||||
sql/README.bayes sql/README.awl procmailrc.example sample-nonspam.txt \
|
||||
sample-spam.txt spamd/PROTOCOL spamd/README.vpopmail \
|
||||
spamd-apache2/README.apache
|
||||
|
||||
# Rename some docu files so they don't clash with others
|
||||
newdoc spamd/README README.spamd
|
||||
newdoc sql/README README.sql
|
||||
newdoc ldap/README README.ldap
|
||||
|
||||
if use qmail; then
|
||||
dodoc spamc/README.qmail
|
||||
fi
|
||||
|
||||
insinto /etc/mail/spamassassin/
|
||||
insopts -m0400
|
||||
newins "${FILESDIR}"/secrets.cf secrets.cf.example
|
||||
|
||||
cat <<-EOF > "${T}/local.cf.example"
|
||||
# Sensitive data, such as database connection info, should be stored in
|
||||
# /etc/mail/spamassassin/secrets.cf with appropriate permissions
|
||||
EOF
|
||||
|
||||
insopts -m0644
|
||||
doins "${T}/local.cf.example"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you plan on using the -u flag to spamd, please read the notes"
|
||||
elog "in /etc/conf.d/spamd regarding the location of the pid file."
|
||||
elog
|
||||
elog "If you build ${PN} with optional dependancy support,"
|
||||
elog "you can enable them in /etc/mail/spamassassin/init.pre"
|
||||
elog
|
||||
elog "You need to configure your database to be able to use Bayes filter"
|
||||
elog "with database backend, otherwise it will still use (and need) the"
|
||||
elog "Berkeley DB support."
|
||||
elog "Look at the sql/README.bayes file in the documentation directory"
|
||||
elog "for how to configure it."
|
||||
elog
|
||||
elog "If you plan to use Vipul's Razor, note that versions up to and"
|
||||
elog "including version 2.82 include a bug that will slow down the entire"
|
||||
elog "perl interpreter. Version 2.83 or later fixes this."
|
||||
elog "If you do not plan to use this plugin, be sure to comment out"
|
||||
elog "its loadplugin line in /etc/mail/spamassassin/v310.pre."
|
||||
elog
|
||||
elog "The DKIM plugin is now enabled by default for new installs,"
|
||||
elog "if the perl module Mail::DKIM is installed."
|
||||
elog "However, installation of SpamAssassin will not overwrite existing"
|
||||
elog ".pre configuration files, so to use DKIM when upgrading from a"
|
||||
elog "previous release that did not use DKIM, a directive:"
|
||||
elog
|
||||
elog "loadplugin Mail::SpamAssassin::Plugin::DKIM"
|
||||
elog "will need to be uncommented in file 'v312.pre', or added"
|
||||
elog "to some other .pre file, such as local.pre."
|
||||
elog
|
||||
ewarn "Rules are no longer included with SpamAssassin out of the box".
|
||||
ewarn "You will need to immediately run sa-update, or download"
|
||||
ewarn "the additional rules .tgz package and run sa-update --install"
|
||||
ewarn "with it, to get a ruleset."
|
||||
elog
|
||||
elog "If you run sa-update and receive a GPG validation error."
|
||||
elog "Then you need to import an updated sa-update key."
|
||||
elog "sa-update --import /usr/share/spamassassin/sa-update-pubkey.txt"
|
||||
elog
|
||||
}
|
@ -1,12 +1,9 @@
|
||||
DIST dejavu-fonts-2.33.tar.bz2 11133167 SHA256 bc60143be7adf8868d9233ae0f0a0c1b38b3bdd23529859dfdca7b3374cba082 SHA512 09aa37edc2739b8f3471505e709a71bb8b14c77462aeb652193f1109ebbb919e75f92325f91deb2a3fbc84d46b8164442138dbed760bf7744c914e7dcd6b72a7 WHIRLPOOL 2cf0551001bc5239b6840f93ef72619fc3d8a6c00ba0b42971715173f0d5f4ae06e7899a76539c42030798d189a2776c10cebc805cf08ebc52b7a37f8e98c002
|
||||
DIST dejavu-fonts-2.34.tar.bz2 11329547 SHA256 b5ca9e671635a9fe04c791cdc82c707ba57380c2cc8de3f92451a039134b9027 SHA512 7142b083fbabe11a060e3ae43d0f929cc1bc90692d9a31acd4996ee2f6eeadcebab6e9733a78d944271eccf3d89646ccb40a2e8e4660d7e40feed0f0f42890d8 WHIRLPOOL 56d9a762a1ae2aea87679f65cab70c71998d2127adcdd4eda16f242db5b12195b071b4b91e1d4ba59ad6447250a96d2cc5a8f3cbc5d7e15cd834e99fa3bf94ab
|
||||
DIST dejavu-fonts-2.35.tar.bz2 11493699 SHA256 646f5f52fbba7c6c82580a22cedb487f31ecf28aa28c71da5c38e04c2989abf5 SHA512 a00ad39b3f02dc3866b54b522b299d65a571bf7c0625b8aa4f7095fa15010cebecb8b2a51a3716336c48531acf617b557dd4114b670910560e69d2b315715cb4 WHIRLPOOL 698b1486e3ddc61f9ddfc5608540d71cd5aaa9348a3c698217b5339c7ad7615236f6529e76c1da725cb4891358341ee9a48f660fb1becaa59bb3d0f89e3a92e4
|
||||
DIST dejavu-fonts-ttf-2.33.tar.bz2 4881324 SHA256 82a5823a270715913af51915cc20594568f57afb7450abb989695d8808a4194d SHA512 67cb905c62f264267326f824be60c7a9f1d880ccc44b7ebc4acefe0f5ea4e89e82d3ad506e4cd588e8e070fe1418414b6be2dcde68f3be0f7f37d90ad4608376 WHIRLPOOL 63d5dfc00e5948933201ce9eb1c5bbfa89a237da5e9e04097863f6882b5c025dce74aa06a6c4395342915b818cfac9b45a1e52d5e7cea2ee6445f08d8c9fdf46
|
||||
DIST dejavu-fonts-ttf-2.34.tar.bz2 4706932 SHA256 d0a72c3ae99f5b8d7470daf091ec43f78dc942795aed5c996ab1aa678702eb5d SHA512 3a79adeeebdc4fb26c9d48d042fd8f42428aaf95e289bb9842aecf728e269792a90a68d3651fb8b0cceea394daaa824c353722dc2b9577a819265f9159bb17ef WHIRLPOOL 98934554c4c96e45e761267c09639a8561f6a9652faf81160d907a803f59f26bd0ca4b738752eaed5f34b5dcdda15de7a58e92791da8af7e07a4a1fe29e4bcbd
|
||||
DIST dejavu-fonts-ttf-2.35.tar.bz2 5092541 SHA256 f6d7965586101ff3a8a5c3ec503e082bb6a9604ff53413e10702e5917c194d88 SHA512 af0120e4c409cdcf31994499b2f24cb34e07961d5e48a70959ce6309df219e19bf35d0bb2a11f6ef5e24aa5788136998ec94fc2608bb6f409ba324595e858006 WHIRLPOOL 2b4685cd99d31dc29a8c703d27c2c7037872afcc8fa4d78ebb514640ad056a767795c8e29e5ec015994135df04d291b1689129d4a9c4ae46528f935fd7cc5530
|
||||
EBUILD dejavu-2.33.ebuild 2209 SHA256 630b14ff9d7ff4b341702f5ce18c1a58b80daa026513c27a2c21ddbd79d7271d SHA512 9deb9c022c674f5af7f2dad0682443a8e4ee37ea38a16c2757aa20bc709ba4287d05685a3a250ca8a53bf5c7a083303692531a00d7cb503a438d7c506638af11 WHIRLPOOL d05edc646250b82d351b5f916cdf23158c4e17418f3b7a91e1fb5c60792a9c089b814ed5d90c0bb52e9e60afae297d27da4afb920cce5b69a9087404bdd558bd
|
||||
EBUILD dejavu-2.34.ebuild 2212 SHA256 3a9e395166e320d5397a67b9ea7d243c6478250ebf7ca073f9949ca12cdc955a SHA512 01f6125b672e71bff0c371b420109ab64b169a50b6e7a7d49c033de0301893927f5976319ea58d750308fc09438d78e13cb627168c0c1848e04486bb48edfdc7 WHIRLPOOL 58ee99c94fcf9b1ca9e94f2a5ce75b9bdca10f61125405937bf9650d6f1718758e0900273c11e32416665af1259903d24ff5abcfb5468dcf1074539cf11cd6c8
|
||||
EBUILD dejavu-2.35.ebuild 2172 SHA256 b651d76291db3eadeba19eb2b1991a829804fdaf3fe05d0b729841051d2b5e93 SHA512 a34b6782e40d2733a28e2c6e48154867289cbc35ed46650cea26999fcaf22ea815a0f9a30329db10edccda78b27539bab71c20dd16a6670b4329b15355b3022a WHIRLPOOL 629b7efde5df26f6a808ff5a05c93382d8ee297c67b1db1ae16747c9252346fa1ba16d1f5e428843fc20646517e3fe028c3622da05d0ed68048e3ccd145120b4
|
||||
MISC ChangeLog 2521 SHA256 3c6c770d202b65b48369201feb424e431125add0dae2f170675cfd9671e3a54f SHA512 4a663cd11c063183889b06f2f4a6fcbc66ac11c7e274e976436b9d189dc5acf431b34ba4f661767f6a90b593495bbc13e7108104152c3fea4576ec92c393ddab WHIRLPOOL 97ed1c6b22632bb95ca869833dde0732bd5e31ff9e6e0a10161b5a96c7a56c93b1a2f8cb43786611c65b9bef06f312ad3172c450fb5dc9f71e007b514d3033d4
|
||||
EBUILD dejavu-2.34.ebuild 2201 SHA256 db49dfc5898b5bfaf46883351a3c499e1311448724f1db211d329e959992c0f0 SHA512 5eb400eff0b9f1ac15fdb979a06fb4df848057a3ffba34a5afba16e94401f520ed008688e6ddcc3c202102ea740dc832da15bcec0e19158405777f4f227c18f5 WHIRLPOOL 7cdce70b4d9075a831a2c70592b51a37ffa8c01d172c55353a92432e2daae8a24d94616d64fe1c753ec429d7cc4dc17500aa25abc3f552a0d090b1518e030a2d
|
||||
EBUILD dejavu-2.35.ebuild 2166 SHA256 7a8910803db5510f86a964b103f30cf5dd84fc49569170b11c266867487208c0 SHA512 024abc20235392f23608962396c3f4b9e30dab554e451d6a197bba6189e957f98f8e1d4d085aaca675c90b9bcf2915efdb059aa7db5d229eba4a7c58d84b25ae WHIRLPOOL bc1b27760f1b0182b4e7d8cae42ac804a525f46299e373e068c2eeb10c0b1dac9f49ae1241cf1f88a399af17b1f381576f458d1c1cb92ab9fb53a479ea3d931e
|
||||
MISC ChangeLog 2855 SHA256 aafab1042c46198039c2a8f7f5ac8ac90d1dae44a183e2f5f9e7528dcdcc1ff9 SHA512 1537f485d0cbdb5bf4ac3fe03936021d0ea503bb6243771ac079aaa5bf57a1086aece2ad841f52920fc022805c94b09f458bd9a0c4dfc18fedf98234b09af4ab WHIRLPOOL 7772948266a55dce5089645b631b5fbabcf5c4bddda113dfe25ea5bae6a049e0a50c301087bfdd9fdc56646b5d4403f0ca09d17067abd7bbbd9a0993735c93eb
|
||||
MISC ChangeLog-2015 21627 SHA256 005ff7b77a3abad6d114fc54f9e2e6b5a72daed6f78650bb538210de7a7f043e SHA512 6064c0d9fcb61a271c5a6b4f4560433c641bdd0c11e459a3fe122e4bb30c30c55460ffaa54120e2227e7230177d9d690165e3f0255f50fd40209328f9f7ee929 WHIRLPOOL eb85a0b2683360a332b67a724baebfacbb536cbc77ad4eb7252165fb3fb6a28a62154edfe328652086aeee740e9b138c69f06a3420408a76e02b963c15c8f694
|
||||
MISC metadata.xml 854 SHA256 d02765b897681dfd63d3f7b90587b7bbe203f0ee4f31f11fe9ea4547f6261e9a SHA512 2baa05f3f861db77c828c4da9dd71067577a55e0566805d71ab553eec6c450609331477a614ce058b7bea4032b8eade7c1379f5db5a17cf7d00372620eb206ef WHIRLPOOL d36c0034cc25395077b8048f18526ef0dfc802fd506f2f9663d110eb0d30d0b8e06eac2082260d05241b7b88edf96ba93c38e1c6cc2264464269325e17a6b934
|
||||
|
@ -1,82 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit font versionator
|
||||
|
||||
DESCRIPTION="DejaVu fonts, bitstream vera with ISO-8859-2 characters"
|
||||
HOMEPAGE="http://dejavu.sourceforge.net/"
|
||||
LICENSE="BitstreamVera"
|
||||
|
||||
# If you want to test snapshot from dejavu.sf.net/snapshots/
|
||||
# just rename ebuild to dejavu-2.22.20071220.2156.ebuild
|
||||
MY_PV=$(get_version_component_range 1-2)
|
||||
snapv=$(get_version_component_range 3-4)
|
||||
snapv=${snapv/./-}
|
||||
MY_BP=${PN}-fonts-ttf-${MY_PV}
|
||||
MY_SP=${PN}-fonts-${MY_PV}
|
||||
|
||||
if [ -z ${snapv} ]
|
||||
then
|
||||
SRC_URI="!fontforge? ( mirror://sourceforge/${PN}/${MY_BP}.tar.bz2 )
|
||||
fontforge? ( mirror://sourceforge/${PN}/${MY_SP}.tar.bz2 )"
|
||||
else
|
||||
MY_BP=${MY_BP}-${snapv}
|
||||
MY_SP=${MY_SP}-${snapv}
|
||||
SRC_URI="!fontforge? ( http://dejavu.sourceforge.net/snapshots/${MY_BP}.tar.bz2 )
|
||||
fontforge? ( http://dejavu.sourceforge.net/snapshots/${MY_SP}.tar.bz2 )"
|
||||
fi
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
IUSE="fontforge"
|
||||
DEPEND="fontforge? ( x11-apps/mkfontscale
|
||||
>=media-gfx/fontforge-20080429
|
||||
x11-apps/mkfontdir
|
||||
dev-perl/Font-TTF
|
||||
app-i18n/unicode-data
|
||||
>media-libs/fontconfig-2.6.0 )"
|
||||
RDEPEND=""
|
||||
|
||||
if use fontforge
|
||||
then
|
||||
S=${WORKDIR}/${MY_SP}
|
||||
FONT_S=${S}/build
|
||||
else
|
||||
S=${WORKDIR}/${MY_BP}
|
||||
FONT_S=${S}/ttf
|
||||
fi
|
||||
|
||||
FONT_CONF=(
|
||||
"${S}"/fontconfig/20-unhint-small-dejavu-sans-mono.conf
|
||||
"${S}"/fontconfig/20-unhint-small-dejavu-sans.conf
|
||||
"${S}"/fontconfig/20-unhint-small-dejavu-serif.conf
|
||||
"${S}"/fontconfig/57-dejavu-sans-mono.conf
|
||||
"${S}"/fontconfig/57-dejavu-sans.conf
|
||||
"${S}"/fontconfig/57-dejavu-serif.conf )
|
||||
|
||||
FONT_SUFFIX="ttf"
|
||||
DOCS="AUTHORS NEWS README status.txt langcover.txt unicover.txt"
|
||||
|
||||
src_compile() {
|
||||
if use fontforge
|
||||
then
|
||||
emake -j1 \
|
||||
BLOCKS=/usr/share/unicode-data/Blocks.txt \
|
||||
UNICODEDATA=/usr/share/unicode-data/UnicodeData.txt \
|
||||
FC-LANG=/usr/share/fc-lang \
|
||||
full sans \
|
||||
|| die "emake failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
font_src_install
|
||||
if use fontforge
|
||||
then
|
||||
dodoc build/*.txt
|
||||
fi
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
# ChangeLog for media-gfx/krita
|
||||
# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2
|
||||
# (auto-generated from git log)
|
||||
|
||||
*krita-3.0 (05 Jun 2016)
|
||||
|
||||
05 Jun 2016; Michael Palimaka <kensington@gentoo.org> +krita-3.0.ebuild,
|
||||
+metadata.xml:
|
||||
new package
|
||||
|
||||
Imported from KDE overlay.
|
||||
|
||||
Package-Manager: portage-2.3.0_rc1
|
||||
|
@ -0,0 +1,4 @@
|
||||
DIST krita-3.0.tgz 193020370 SHA256 4cea85623b709d6d32084c98a0fd76b97ad96d11be9808fca9fcaad2839a9c5a SHA512 a32507b010b5b785a40d830beb49272155d502c4c27ba874f1c9e75cbf49c7f1f730b3ecef06f24fc1ee9d3e9505c940bc20cb275f97c65e090cc5a59529486b WHIRLPOOL fe3b7b308aa754b597375aad49ef5f07d4e0e346f0109aec3b731d6dc1aea320380b01a2166a305c8cc578cad44cc19a1b4ba7fdabf9f7a841e3d5e0bae3e7fa
|
||||
EBUILD krita-3.0.ebuild 2237 SHA256 42d53b45ab0c204e5e740d3b5bb20cfcdf16b4f48bf7663e4ebc9cf7e90d48ef SHA512 ade1d4930626a610b98aadcc6e95cc075bb6779b1212666157897ab2b36375317489bc93c796eb32e2e7112c0418483485b7de4ce641b869129415c8c12a9266 WHIRLPOOL 7f02a9abeb93cd1eae881d8836ed7fb693273603e1c604f39a4911fe7af6d6fb8cae61bbbb378371b4b80f5617ebfcf978f6e02af73091649dbb7be2afe92d5f
|
||||
MISC ChangeLog 336 SHA256 7d9d57a13c1be88e6bb15ef9f367f21c6f799a4e4ba19630643e662827acd736 SHA512 b47a3ed590f33baec40ef5fb88dc4639b3b114aab7c4fa4ccf1c59eef9e661a8a5a67660cd0c40557d2aa7c16290cbba9a79330d155ea7619cda04f8dc525038 WHIRLPOOL 61d32c982eafb9029d23c68d24115445c9f93fc4aab94b2f408e5b39e09c924c342573dbccbe3e3beea0ec43e7837661efd8c638b07a7aaa4b5f8be4943918ec
|
||||
MISC metadata.xml 468 SHA256 34b926c374c6572bbec2acee0e69c6436f598007216941903c54997b17acacf6 SHA512 b83aa00a7f0ec361a2f482cc1dfabf82c57c057adc9e6d48a40d1352235799e76c960086b4b9e574477c73075bbe7aab3bb473460604663af286aa0d87010929 WHIRLPOOL 6dee932451a63fa33eecc25e1dfc0b2e1820eea9bf56f9dcb55b7a819c3cd1174a1deb8f4e2efe52b42999eb3a8aea1d948182d60659e4a34c28d7280e77ce5e
|
@ -0,0 +1,93 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
KDE_TEST="forceoptional"
|
||||
inherit kde5
|
||||
|
||||
DESCRIPTION="Free digital painting application. Digital Painting, Creative Freedom!"
|
||||
HOMEPAGE="https://www.kde.org/applications/graphics/krita/ https://krita.org/"
|
||||
SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="color-management fftw +gsl +jpeg jpeg2k openexr pdf +raw tiff vc"
|
||||
|
||||
COMMON_DEPEND="
|
||||
$(add_frameworks_dep karchive)
|
||||
$(add_frameworks_dep kcompletion)
|
||||
$(add_frameworks_dep kconfig)
|
||||
$(add_frameworks_dep kcoreaddons)
|
||||
$(add_frameworks_dep kcrash)
|
||||
$(add_frameworks_dep kguiaddons)
|
||||
$(add_frameworks_dep ki18n)
|
||||
$(add_frameworks_dep kiconthemes)
|
||||
$(add_frameworks_dep kio)
|
||||
$(add_frameworks_dep kitemmodels)
|
||||
$(add_frameworks_dep kitemviews)
|
||||
$(add_frameworks_dep kwidgetsaddons)
|
||||
$(add_frameworks_dep kwindowsystem)
|
||||
$(add_frameworks_dep kxmlgui)
|
||||
$(add_qt_dep qtconcurrent)
|
||||
$(add_qt_dep qtdbus)
|
||||
$(add_qt_dep qtgui)
|
||||
$(add_qt_dep qtnetwork)
|
||||
$(add_qt_dep qtprintsupport)
|
||||
$(add_qt_dep qtsvg)
|
||||
$(add_qt_dep qtwidgets)
|
||||
$(add_qt_dep qtx11extras)
|
||||
$(add_qt_dep qtxml)
|
||||
dev-libs/boost:=
|
||||
media-gfx/exiv2:=
|
||||
media-libs/lcms
|
||||
media-libs/libpng:=
|
||||
net-misc/curl
|
||||
sys-libs/zlib
|
||||
virtual/opengl
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXi
|
||||
color-management? ( media-libs/opencolorio )
|
||||
fftw? ( sci-libs/fftw:3.0= )
|
||||
gsl? ( sci-libs/gsl:= )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
jpeg2k? ( media-libs/openjpeg:0= )
|
||||
openexr? (
|
||||
media-libs/ilmbase:=
|
||||
media-libs/openexr
|
||||
)
|
||||
pdf? ( app-text/poppler[qt5] )
|
||||
raw? ( media-libs/libraw:= )
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-cpp/eigen:3
|
||||
dev-lang/perl
|
||||
sys-devel/gettext
|
||||
vc? (
|
||||
>=dev-libs/vc-0.7.4
|
||||
<dev-libs/vc-0.7.5
|
||||
)
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!app-office/calligra:4[calligra_features_krita]
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DWITH_FFTW3=$(usex fftw)
|
||||
-DWITH_GSL=$(usex gsl)
|
||||
-DWITH_JPEG=$(usex jpeg)
|
||||
-DWITH_LibRaw=$(usex raw)
|
||||
-DWITH_OCIO=$(usex color-management)
|
||||
-DWITH_OpenJPEG=$(usex jpeg2k)
|
||||
-DWITH_OpenEXR=$(usex openexr)
|
||||
-DWITH_Poppler=$(usex pdf)
|
||||
-DWITH_TIFF=$(usex tiff)
|
||||
-DWITH_Vc=$(usex vc)
|
||||
)
|
||||
|
||||
kde5_src_configure
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>kde@gentoo.org</email>
|
||||
<name>Gentoo KDE Project</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="color-management">Enable color management via <pkg>media-libs/opencolorio</pkg></flag>
|
||||
<flag name="vc">Enable support for <pkg>dev-libs/vc</pkg>, could be a significant speed boost</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -1,5 +1,6 @@
|
||||
AUX alure-1.2-include-unistd.patch 192 SHA256 dbdce6389b8e49b476957a4e18ab28bead21e7680c2ba09e35ae5005dd97d994 SHA512 ebb1f841ea28f7e7690f1cdf6991af6bd97486473b63ffd11d79b05d66faf44b8ee590e45b0b1ede69af99a3f817103e8e444885834defd4ccbc76e2104649e8 WHIRLPOOL a80b168bf367b3bec2cb72a7eca6ab6d544582018b9f2a04d6a8bb2fb7c72690a2480d500deb3a2151d437c2c37200579e593553c7e18f415c8cb62bb0b155e7
|
||||
DIST alure-1.2.tar.bz2 65210 SHA256 465e6adae68927be3a023903764662d64404e40c4c152d160e3a8838b1d70f71 SHA512 f1a2dbbe6870c9d34da724e49cad993cabdca393482bf6476adc925ba5da2a34dc26d86e612e6ed829183c6df595d46921766f46063d0d478ddb18deeb8878a6 WHIRLPOOL 88034f6957c5888d074c46896b6622ec478dc39a84fc55d35b74ab87d0cae5fe2d9b5af8be4ba2f5f9d41e32f4f9bb126906117d684054ea369ef5ee4296a464
|
||||
EBUILD alure-1.2.ebuild 1203 SHA256 24592edf47ab6652bc076e8d172ded2ff3dc858d2ad1d9da7fbe87e4f2f3538e SHA512 1b1600498fa70e515f92e9be2bc3b433f577521fb1a39f37a388fbb45b029fc1f93085df904984d6b1c21457c75a0f8139b47b7887004fea9d63eab92a63814e WHIRLPOOL a41cdff13439ec7bb63fb80af0c90f3ba49ebb6239eb981cbaec36ac9f1438fa2401a2390a408a6e36395b20f082b015575b8e3669911cbbd98f52b9b2e215b5
|
||||
MISC ChangeLog 2419 SHA256 0f1e0fd128c4d4513d1ec177b81c260a7cc035c11e48fe71a81e7501747cf3f0 SHA512 928adfc69d9b45c7165cad40757d1dbf1af0ba4f5e83de2e76d50fbe5099834a396968beb0f7578a044d4972117cfe62e4f2fe84bf8a3fa107e2bcb6c18a2bdf WHIRLPOOL 284bfd0d3df06eccacbe1fb4afc999a74c30b0ad04a1e0f98e445af9c807595a38d269561d62970bf52fbbc424066ce5f3673391421c27c97ed8a3a47d111e12
|
||||
EBUILD alure-1.2.ebuild 1258 SHA256 bfb651e423ee90414db2ffbd4bfa346d5c640add4d5a5150eb703531e6c776f7 SHA512 0ccb56dbd6bb663532dd20c4103ca3d2ae9343d0de74021996f860a70206cb7fce5db09b3b6dbb24e5b83c7a7a7c9bfb23cca7724f67cbfa8ee0446799363d5d WHIRLPOOL 1cb33a98ff9cc412e992bd03752905452980d51eb9442bcc0918c876e4d992216c7b02d16a6d95797b478c942e764ee5ebbd31acc50a5a96bbc96bf960d6c0a3
|
||||
MISC ChangeLog 2642 SHA256 b3cfc447e69fd1d642d4bdec61c7cc682896d1832ad92bb598d2181b46819658 SHA512 34f9054eb8b2a58a1a4b7e73742972c96810f3be955509cea1cd18bce4ac3229da89fc04035055daa0c45106c250722d1eb34cf436aff0a1cd1e474fa97ab5be WHIRLPOOL 88022d00f159b71224f1e22600e6df45072d99771129c904c3adb4e26f9390c310ef507b217a8589893ba6fc206181ee266b3c83c2ba1d8d5775ab4020f4b77b
|
||||
MISC ChangeLog-2015 1357 SHA256 06b46a3047cb97f0df56a3f66702fce77aafb26b4d599028190e9f8214a40f06 SHA512 20fff5edafa75788ed70b4557c80a39579169aa50f25e49ce1506425b8f099e1fda75e2796dff8dc2c4ef2bfeb1c0d9a842105d4ff6343cb113e848a12feabc4 WHIRLPOOL 0ca59ae4750bbdb685b56bc699e237f786e635b4a28a84592806062b14dc003b1732d2fd9c99eab8e51f64514c8acc4b996ada56ecd5fd59f1fa78737fd1c03e
|
||||
MISC metadata.xml 440 SHA256 ecc54988e3dfd3fc3672396b876d5fcc9c5b2956cca54138e9f5fe4a059a8653 SHA512 5b6106088e98c6676d01e02b99a93dc661eb24909ee8aa235e9506c18175fbac7d765c05ce95dbe085c8aa772d45a4f8f717657f281694f40ddc10dd83f1e58e WHIRLPOOL 3f5503c77e5cbaa157403988f5e7b6c688ed8c117991202cff9957a600b665dcc88f5f642008c39b74c648b3f1f64e68c683c6cebec44cc7b2013c56e7ed655b
|
||||
|
@ -0,0 +1,13 @@
|
||||
Gentoo-bug: 500164
|
||||
|
||||
--- a/src/codec_fluidsynth.cpp
|
||||
+++ b/src/codec_fluidsynth.cpp
|
||||
@@ -30,6 +30,8 @@
|
||||
#ifdef _WIN32
|
||||
#include <io.h>
|
||||
+#else
|
||||
+#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include <istream>
|
||||
|
@ -1 +1 @@
|
||||
Sun, 05 Jun 2016 16:40:47 +0000
|
||||
Mon, 06 Jun 2016 05:40:53 +0000
|
||||
|
@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||
<glsa id="201606-01">
|
||||
<title>PuTTY: Multiple vulnerabilities</title>
|
||||
<synopsis>Multiple vulnerabilities have been found in PuTTY, the worst of
|
||||
which could lead to arbitrary code execution, or cause a Denial of Service
|
||||
condition.
|
||||
</synopsis>
|
||||
<product type="ebuild"></product>
|
||||
<announced>June 05, 2016</announced>
|
||||
<revised>June 05, 2016: 2</revised>
|
||||
<bug>565080</bug>
|
||||
<bug>576524</bug>
|
||||
<access>remote</access>
|
||||
<affected>
|
||||
<package name="net-misc/putty" auto="yes" arch="*">
|
||||
<unaffected range="ge">0.67</unaffected>
|
||||
<vulnerable range="lt">0.67</vulnerable>
|
||||
</package>
|
||||
</affected>
|
||||
<background>
|
||||
<p>PuTTY is a telnet and SSH client.</p>
|
||||
</background>
|
||||
<description>
|
||||
<p>Multiple vulnerabilities have been discovered in PuTTY. Please review
|
||||
the CVE identifiers referenced below for details.
|
||||
</p>
|
||||
</description>
|
||||
<impact type="normal">
|
||||
<p>Stack-based buffer overflow in the SCP command-line utility allows
|
||||
remote servers to execute arbitrary code or cause a denial of service
|
||||
condition via a crafted SCP-SINK file-size response to an SCP download
|
||||
request.
|
||||
</p>
|
||||
</impact>
|
||||
<workaround>
|
||||
<p>There is no known workaround at this time.</p>
|
||||
</workaround>
|
||||
<resolution>
|
||||
<p>All PuTTY users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=net-misc/putty-0.67"
|
||||
</code>
|
||||
</resolution>
|
||||
<references>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2015-5309">CVE-2015-5309</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-2563">CVE-2016-2563</uri>
|
||||
</references>
|
||||
<metadata tag="requester" timestamp="Tue, 05 Apr 2016 03:16:59 +0000">
|
||||
BlueKnight
|
||||
</metadata>
|
||||
<metadata tag="submitter" timestamp="Sun, 05 Jun 2016 16:25:06 +0000">b-man</metadata>
|
||||
</glsa>
|
@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||
<glsa id="201606-03">
|
||||
<title>libjpeg-turbo: Multiple vulnerabilities</title>
|
||||
<synopsis>Two vulnerabilities have been discovered in libjpeg-turbo, the
|
||||
worse of which could allow remote attackers access to sensitive
|
||||
information.
|
||||
</synopsis>
|
||||
<product type="ebuild">libjpeg-turbo</product>
|
||||
<announced>June 05, 2016</announced>
|
||||
<revised>June 05, 2016: 2</revised>
|
||||
<bug>491150</bug>
|
||||
<bug>531418</bug>
|
||||
<access>remote</access>
|
||||
<affected>
|
||||
<package name="media-libs/libjpeg-turbo" auto="yes" arch="*">
|
||||
<unaffected range="ge">1.4.2</unaffected>
|
||||
<vulnerable range="lt">1.4.2</vulnerable>
|
||||
</package>
|
||||
</affected>
|
||||
<background>
|
||||
<p>libjpeg-turbo is a MMX, SSE, and SSE2 SIMD accelerated JPEG library</p>
|
||||
</background>
|
||||
<description>
|
||||
<p>libjpeg-turbo does not check for certain duplications of component data
|
||||
during the reading of segments that follow Start Of Scan (SOS) JPEG
|
||||
markers.
|
||||
</p>
|
||||
</description>
|
||||
<impact type="normal">
|
||||
<p>Remote attackers could obtain sensitive information from uninitialized
|
||||
memory locations via a crafted JPEG images.
|
||||
</p>
|
||||
</impact>
|
||||
<workaround>
|
||||
<p>There is no known workaround at this time.</p>
|
||||
</workaround>
|
||||
<resolution>
|
||||
<p>All libjpeg-turbo users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=media-libs/libjpeg-turbo-1.4.2"
|
||||
</code>
|
||||
|
||||
</resolution>
|
||||
<references>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-6629">CVE-2013-6629</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-6630">CVE-2013-6630</uri>
|
||||
</references>
|
||||
<metadata tag="requester" timestamp="Thu, 19 Jun 2014 02:00:52 +0000">
|
||||
BlueKnight
|
||||
</metadata>
|
||||
<metadata tag="submitter" timestamp="Sun, 05 Jun 2016 19:54:52 +0000">mrueg</metadata>
|
||||
</glsa>
|
@ -0,0 +1,76 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||
<glsa id="201606-04">
|
||||
<title>GnuPG: Multiple vulnerabilities</title>
|
||||
<synopsis>Multiple vulnerabilities have been found in GnuPG and libgcrypt,
|
||||
the worst of which may allow a local attacker to obtain confidential key
|
||||
information.
|
||||
</synopsis>
|
||||
<product type="ebuild">gnupg</product>
|
||||
<announced>June 05, 2016</announced>
|
||||
<revised>June 05, 2016: 1</revised>
|
||||
<bug>534110</bug>
|
||||
<bug>541564</bug>
|
||||
<bug>541568</bug>
|
||||
<access>local, remote</access>
|
||||
<affected>
|
||||
<package name="app-crypt/gnupg" auto="yes" arch="*">
|
||||
<unaffected range="ge">2.0.26-r3</unaffected>
|
||||
<unaffected range="rge">1.4.19</unaffected>
|
||||
<vulnerable range="lt">2.0.26-r3</vulnerable>
|
||||
</package>
|
||||
<package name="dev-libs/libgcrypt" auto="yes" arch="*">
|
||||
<unaffected range="ge">1.6.3-r4</unaffected>
|
||||
<vulnerable range="lt">1.6.3-r4</vulnerable>
|
||||
</package>
|
||||
</affected>
|
||||
<background>
|
||||
<p>The GNU Privacy Guard, GnuPG, is a free replacement for the PGP suite of
|
||||
cryptographic software.
|
||||
</p>
|
||||
</background>
|
||||
<description>
|
||||
<p>Multiple vulnerabilities have been discovered in GnuPG and libgcrypt,
|
||||
please review the CVE identifiers referenced below for details.
|
||||
</p>
|
||||
</description>
|
||||
<impact type="normal">
|
||||
<p>A local attacker could possibly cause a Denial of Service condition.
|
||||
Side-channel attacks could be leveraged to obtain key material.
|
||||
</p>
|
||||
</impact>
|
||||
<workaround>
|
||||
<p>There is no known workaround at this time.</p>
|
||||
</workaround>
|
||||
<resolution>
|
||||
<p>All GnuPG 2 users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=app-crypt/gnupg-2.0.26-r3"
|
||||
</code>
|
||||
|
||||
<p>All GnuPG 1 users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=app-crypt/gnupg-1.4.19"
|
||||
</code>
|
||||
|
||||
<p>All libgcrypt users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=dev-libs/libgcrypt-1.6.3-r4"
|
||||
</code>
|
||||
|
||||
</resolution>
|
||||
<references>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-3591">CVE-2014-3591</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2015-0837">CVE-2015-0837</uri>
|
||||
</references>
|
||||
<metadata tag="requester" timestamp="Mon, 16 Feb 2015 14:53:59 +0000">
|
||||
BlueKnight
|
||||
</metadata>
|
||||
<metadata tag="submitter" timestamp="Sun, 05 Jun 2016 20:20:04 +0000">stanley</metadata>
|
||||
</glsa>
|
@ -1 +1 @@
|
||||
Sun, 05 Jun 2016 16:40:48 +0000
|
||||
Mon, 06 Jun 2016 05:40:54 +0000
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue