parent
ef8a58d266
commit
83b8a55c18
@ -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 +1,2 @@
|
||||
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
|
||||
|
@ -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,3 +1 @@
|
||||
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
|
||||
|
@ -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 +1 @@
|
||||
DIST pyfa-1.20.1.tar.gz 7415996 SHA256 13e5f04590a8b9c15f72d6cde4a11af2465670c5ea78322fcfb14d3d7b00ed15 SHA512 11a1e9619e604dc0c28463efa2d106b677dc3b9177ef6a442a5a26e24055776a1b26e330fc7b6e2589a60213d989e8539eab653792f5804cc76c584fadeee07c WHIRLPOOL a087143205417787d549a044ec4fd80890bb8223b626638bc4f9407cc5e712023163d4891518ee8d8f54a459f45eb0752eaa494c8740a33d751298371829ea9a
|
||||
DIST pyfa-1.21.3.tar.gz 7793523 SHA256 4ac79598f2e605ba7d5cd29cfef7a94f426d4cd9e934d13cbb2071afd566de3c SHA512 b5a691873421ef2d3b01d8bfd7121c63f07b96c75837fd3b93a5b77b8163943336dcd5bb85f8dcc056ce61b5103d5331afd5a81c09eb06a7050112b5d1a26681 WHIRLPOOL 65d6c9a52f4076d9be620aa3ac2ec5da23aaff32c547925b34480f7fc82ef9334fa737374419f0bf1bd827b3c6e0f34306c0d5de1dc6d441e88e096fd8aadc13
|
||||
|
@ -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,6 +1,4 @@
|
||||
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
|
||||
|
@ -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 @@
|
||||
DIST krita-3.0.tgz 193020370 SHA256 4cea85623b709d6d32084c98a0fd76b97ad96d11be9808fca9fcaad2839a9c5a SHA512 a32507b010b5b785a40d830beb49272155d502c4c27ba874f1c9e75cbf49c7f1f730b3ecef06f24fc1ee9d3e9505c940bc20cb275f97c65e090cc5a59529486b WHIRLPOOL fe3b7b308aa754b597375aad49ef5f07d4e0e346f0109aec3b731d6dc1aea320380b01a2166a305c8cc578cad44cc19a1b4ba7fdabf9f7a841e3d5e0bae3e7fa
|
@ -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>
|
@ -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