parent
bc9791f29d
commit
2cfa8c2263
Binary file not shown.
Binary file not shown.
@ -1,6 +1,8 @@
|
||||
DIST rsyslog-8.35.0.tar.gz 2590108 BLAKE2B e201c1366b8ab96c070829d51de079212e82216a793eb7622aa91c66e2330981de8be547b1ee7f102ed7d8c8de054d58ba151e95238146a61fba8fe908c5f929 SHA512 3b8845fc057147c2dd740b3bb432e7fb101ad60be5c6bc86a2c2796bcd3f3526c617d45b9e8301388d51047a125ca18ba4ac54f8be2a13eabbbe8fb9361beecc
|
||||
DIST rsyslog-8.36.0.tar.gz 2639477 BLAKE2B 9c7343d853f79e2955a8999e2871a2a9b008cb3ef75b94e2381a3a0ff3e49445593d852d7de3819851dc0d4c17a91d966ca2fbfd52e8215ebdbaf6b7ccd68bdf SHA512 b0c8689374b5b0fb5ad9675ad8983ce67bd04d34ad07d39cf8f91498fd2fd21a173f1077e5fa1b66a89a9d93ab011fc6345ac1a3be9961f4794fc9e152c32a50
|
||||
DIST rsyslog-8.37.0.tar.gz 2697435 BLAKE2B d88a06e8a5da15ed88d0d6c92032f71be10c2b77970e26b8fe5258e116f8f635c2e359408260b8e486401b8d9ea0e234e22070f520d42bb7884923df4f216ee3 SHA512 2989eb7ed3333151e979a720fa0e95e330bda9b40f65009f7969069bcbbeee8f493c6a3189f67bbbc2529d3a2ac14a022d7e8c4f2d0dae42b67d7508d7611fa0
|
||||
DIST rsyslog-8.38.0.tar.gz 2721798 BLAKE2B 578bc9eefce4893a9c1eb54ee7360cd9fa51b3c87ffe07a0fd5b122987f991835f603417243084de0b59286e993ad1c84237e61c44bc18457b3660668421101b SHA512 9dc3bdc4ef01c2af433478e182704694cb50849d811d476a03e4ce03b3c5aecfb506e7f1c1e51fadcd63da60b067d8011b92b8c9354a688fe66f7b6ffd8f9254
|
||||
DIST rsyslog-doc-8.35.0.tar.gz 7427270 BLAKE2B 5441080c07a8398cd5d513ba6abe0335f62762f105354105549f0440c0429c62a4f28a4cc84a71d049bc8134cd64bda2c2210a2f30fd5b94f53e0bc783e7c8d1 SHA512 f78d0451eef789d60f7c5ae1eed46c4a9f7a6ade73b829f65aa2373aa786b00e84e8957089532b1b652838bd9f62b41d92530276a0d27e21b8e94d5f0e4728a6
|
||||
DIST rsyslog-doc-8.36.0.tar.gz 7570338 BLAKE2B 031f94b88fb97e6c8b01d224279138c371a5f54ecc5d7a9298b4ec6351c5d380065877888ab1969386b76b9e715937b7335bee59c3d5b8ddd4910392a58d08cb SHA512 a93f56c9c9464a9ca87f61169c6fcfaa94608f31210eaac77e882e64bf5f514c887765db6bb57e4defafeb2a6e552506f0274c1ed275306efc1656f5520b5efa
|
||||
DIST rsyslog-doc-8.37.0.tar.gz 7587722 BLAKE2B 266e5be77e4ca91e3777ee4f2c999986ee7318287546c1fb84ee21f1f4995907fa8caac84ef47cec2665ef29f34151b4b22ed6c35ea1ffe0c4ddff8d05e23136 SHA512 827ac6762ad9257d9499201d5dc3d110c65f11891ab58d36dce568ffa5f8b57fe10505bc2c7b0743dcca319f294ba6418a880b7ca787eb19dcc1f262ba0f3b59
|
||||
DIST rsyslog-doc-8.38.0.tar.gz 7662314 BLAKE2B 57a121950a3f6630e4736a1ff998e93b543389107d146ddb148ecd2702bb208d21a7f4d77f2fd958f2a56e092341fc6a24ed1cc80a910cb1adb54c65b5b2da04 SHA512 e28a09ae2fcddc711d2cfd31207c9862192598e49964a47b41fc8fa3ae5b1e08b7e2589fb5af859d58d4bf028574eb56cac6514401aa56cb482fa1166863e6a5
|
||||
|
@ -0,0 +1,455 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} )
|
||||
|
||||
inherit autotools eutils linux-info python-any-r1 systemd
|
||||
|
||||
DESCRIPTION="An enhanced multi-threaded syslogd with database support and more"
|
||||
HOMEPAGE="https://www.rsyslog.com/"
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/rsyslog/${PN}.git"
|
||||
|
||||
DOC_REPO_URI="https://github.com/rsyslog/${PN}-doc.git"
|
||||
|
||||
inherit git-r3
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86"
|
||||
|
||||
SRC_URI="
|
||||
https://www.rsyslog.com/files/download/${PN}/${P}.tar.gz
|
||||
doc? ( https://www.rsyslog.com/files/download/${PN}/${PN}-doc-${PV}.tar.gz )
|
||||
"
|
||||
|
||||
PATCHES=()
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3 LGPL-3 Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="curl dbi debug doc elasticsearch +gcrypt grok gnutls jemalloc kafka kerberos kubernetes libressl mdblookup"
|
||||
IUSE+=" mongodb mysql normalize omhttp omhttpfs omudpspoof openssl postgres rabbitmq redis relp rfc3195 rfc5424hmac"
|
||||
IUSE+=" snmp ssl systemd test usertools +uuid xxhash zeromq"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/libfastjson-0.99.8:=
|
||||
>=dev-libs/libestr-0.1.9
|
||||
>=sys-libs/zlib-1.2.5
|
||||
curl? ( >=net-misc/curl-7.35.0 )
|
||||
dbi? ( >=dev-db/libdbi-0.8.3 )
|
||||
elasticsearch? ( >=net-misc/curl-7.35.0 )
|
||||
gcrypt? ( >=dev-libs/libgcrypt-1.5.3:= )
|
||||
grok? ( >=dev-libs/grok-0.9.2 )
|
||||
jemalloc? ( >=dev-libs/jemalloc-3.3.1:= )
|
||||
kafka? ( >=dev-libs/librdkafka-0.9.0.99:= )
|
||||
kerberos? ( virtual/krb5 )
|
||||
kubernetes? ( >=net-misc/curl-7.35.0 )
|
||||
mdblookup? ( dev-libs/libmaxminddb:= )
|
||||
mongodb? ( >=dev-libs/mongo-c-driver-1.1.10:= )
|
||||
mysql? ( virtual/libmysqlclient:= )
|
||||
normalize? (
|
||||
>=dev-libs/libee-0.4.0
|
||||
>=dev-libs/liblognorm-2.0.3:=
|
||||
)
|
||||
omhttpfs? ( >=net-misc/curl-7.35.0 )
|
||||
omudpspoof? ( >=net-libs/libnet-1.1.6 )
|
||||
postgres? ( >=dev-db/postgresql-8.4.20:= )
|
||||
rabbitmq? ( >=net-libs/rabbitmq-c-0.3.0:= )
|
||||
redis? ( >=dev-libs/hiredis-0.11.0:= )
|
||||
relp? ( >=dev-libs/librelp-1.2.17:= )
|
||||
rfc3195? ( >=dev-libs/liblogging-1.0.1:=[rfc3195] )
|
||||
rfc5424hmac? (
|
||||
!libressl? ( >=dev-libs/openssl-0.9.8y:0= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
)
|
||||
snmp? ( >=net-analyzer/net-snmp-5.7.2 )
|
||||
ssl? (
|
||||
gnutls? ( >=net-libs/gnutls-2.12.23:0= )
|
||||
openssl? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)
|
||||
)
|
||||
systemd? ( >=sys-apps/systemd-234 )
|
||||
uuid? ( sys-apps/util-linux:0= )
|
||||
xxhash? ( dev-libs/xxhash:= )
|
||||
zeromq? (
|
||||
>=net-libs/czmq-3.0.2
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/autoconf-archive-2015.02.24
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
jemalloc? ( <sys-libs/libfaketime-0.9.7 )
|
||||
!jemalloc? ( sys-libs/libfaketime )
|
||||
${PYTHON_DEPS}
|
||||
)"
|
||||
|
||||
REQUIRED_USE="
|
||||
kubernetes? ( normalize )
|
||||
ssl? ( || ( gnutls openssl ) )
|
||||
"
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
DEPEND+=" doc? ( >=dev-python/sphinx-1.1.3-r7 )"
|
||||
DEPEND+=" >=sys-devel/flex-2.5.39-r1"
|
||||
DEPEND+=" >=sys-devel/bison-2.4.3"
|
||||
DEPEND+=" >=dev-python/docutils-0.12"
|
||||
fi
|
||||
|
||||
CONFIG_CHECK="~INOTIFY_USER"
|
||||
WARNING_INOTIFY_USER="CONFIG_INOTIFY_USER isn't set. Imfile module on this system will only support polling mode!"
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
git-r3_fetch
|
||||
git-r3_checkout
|
||||
else
|
||||
unpack ${P}.tar.gz
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
local _EGIT_BRANCH=
|
||||
if [[ -n "${EGIT_BRANCH}" ]]; then
|
||||
# Cannot use rsyslog commits/branches for documentation repository
|
||||
_EGIT_BRANCH=${EGIT_BRANCH}
|
||||
unset EGIT_BRANCH
|
||||
fi
|
||||
|
||||
git-r3_fetch "${DOC_REPO_URI}"
|
||||
git-r3_checkout "${DOC_REPO_URI}" "${S}"/docs
|
||||
|
||||
if [[ -n "${_EGIT_BRANCH}" ]]; then
|
||||
# Restore previous EGIT_BRANCH information
|
||||
EGIT_BRANCH=${_EGIT_BRANCH}
|
||||
fi
|
||||
else
|
||||
cd "${S}" || die "Cannot change dir into '${S}'"
|
||||
mkdir docs || die "Failed to create docs directory"
|
||||
cd docs || die "Failed to change dir into '${S}/docs'"
|
||||
unpack ${PN}-doc-${PV}.tar.gz
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Maintainer notes:
|
||||
# * Guardtime support is missing because libgt isn't yet available
|
||||
# in portage.
|
||||
# * Hadoop's HDFS file system output module is currently not
|
||||
# supported in Gentoo because nobody is able to test it
|
||||
# (JAVA dependency).
|
||||
# * dev-libs/hiredis doesn't provide pkg-config (see #504614,
|
||||
# upstream PR 129 and 136) so we need to export HIREDIS_*
|
||||
# variables because rsyslog's build system depends on pkg-config.
|
||||
|
||||
if use redis; then
|
||||
export HIREDIS_LIBS="-L${EPREFIX}/usr/$(get_libdir) -lhiredis"
|
||||
export HIREDIS_CFLAGS="-I${EPREFIX}/usr/include"
|
||||
fi
|
||||
|
||||
local myeconfargs=(
|
||||
--disable-debug-symbols
|
||||
--disable-generate-man-pages
|
||||
--without-valgrind-testbench
|
||||
--disable-liblogging-stdlog
|
||||
$(use_enable test testbench)
|
||||
$(use_enable test libfaketime)
|
||||
$(use_enable test extended-tests)
|
||||
# Input Plugins without depedencies
|
||||
--enable-imdiag
|
||||
--enable-imfile
|
||||
--enable-impstats
|
||||
--enable-imptcp
|
||||
# Message Modificiation Plugins without depedencies
|
||||
--enable-mmanon
|
||||
--enable-mmaudit
|
||||
--enable-mmcount
|
||||
--enable-mmfields
|
||||
--enable-mmjsonparse
|
||||
--enable-mmpstrucdata
|
||||
--enable-mmrm1stspace
|
||||
--enable-mmsequence
|
||||
--enable-mmutf8fix
|
||||
# Output Modification Plugins without dependencies
|
||||
--enable-mail
|
||||
--enable-omprog
|
||||
--enable-omruleset
|
||||
--enable-omstdout
|
||||
--enable-omuxsock
|
||||
# Misc
|
||||
--enable-fmhash
|
||||
$(use_enable xxhash fmhash-xxhash)
|
||||
--enable-pmaixforwardedfrom
|
||||
--enable-pmciscoios
|
||||
--enable-pmcisconames
|
||||
--enable-pmlastmsg
|
||||
--enable-pmsnare
|
||||
# DB
|
||||
$(use_enable dbi libdbi)
|
||||
$(use_enable mongodb ommongodb)
|
||||
$(use_enable mysql)
|
||||
$(use_enable postgres pgsql)
|
||||
$(use_enable redis omhiredis)
|
||||
# Debug
|
||||
$(use_enable debug)
|
||||
$(use_enable debug diagtools)
|
||||
$(use_enable debug memcheck)
|
||||
$(use_enable debug valgrind)
|
||||
# Misc
|
||||
$(use_enable curl fmhttp)
|
||||
$(use_enable elasticsearch)
|
||||
$(use_enable gcrypt libgcrypt)
|
||||
$(use_enable jemalloc)
|
||||
$(use_enable kafka imkafka)
|
||||
$(use_enable kafka omkafka)
|
||||
$(use_enable kerberos gssapi-krb5)
|
||||
$(use_enable kubernetes mmkubernetes)
|
||||
$(use_enable normalize mmnormalize)
|
||||
$(use_enable mdblookup mmdblookup)
|
||||
$(use_enable grok mmgrok)
|
||||
$(use_enable omhttp)
|
||||
$(use_enable omhttpfs)
|
||||
$(use_enable omudpspoof)
|
||||
$(use_enable rabbitmq omrabbitmq)
|
||||
$(use_enable relp)
|
||||
$(use_enable rfc3195)
|
||||
$(use_enable rfc5424hmac mmrfc5424addhmac)
|
||||
$(use_enable snmp)
|
||||
$(use_enable snmp mmsnmptrapd)
|
||||
$(use_enable gnutls)
|
||||
$(use_enable openssl)
|
||||
$(use_enable systemd imjournal)
|
||||
$(use_enable systemd omjournal)
|
||||
$(use_enable usertools)
|
||||
$(use_enable uuid)
|
||||
$(use_enable zeromq imczmq)
|
||||
$(use_enable zeromq omczmq)
|
||||
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use doc && [[ "${PV}" == "9999" ]]; then
|
||||
einfo "Building documentation ..."
|
||||
local doc_dir="${S}/docs"
|
||||
cd "${doc_dir}" || die "Cannot chdir into \"${doc_dir}\"!"
|
||||
sphinx-build -b html source build || die "Building documentation failed!"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local _has_increased_ulimit=
|
||||
|
||||
# Sometimes tests aren't executable (i.e. when added via patch)
|
||||
einfo "Adjusting permissions of test scripts ..."
|
||||
find "${S}"/tests -type f -name '*.sh' \! -perm -111 -exec chmod a+x '{}' \; || \
|
||||
die "Failed to adjust test scripts permission"
|
||||
|
||||
if ulimit -n 3072; then
|
||||
_has_increased_ulimit="true"
|
||||
fi
|
||||
|
||||
if ! emake --jobs 1 check; then
|
||||
eerror "Test suite failed! :("
|
||||
|
||||
if [[ -z "${_has_increased_ulimit}" ]]; then
|
||||
eerror "Probably because open file limit couldn't be set to 3072."
|
||||
fi
|
||||
|
||||
if has userpriv ${FEATURES}; then
|
||||
eerror "Please try to reproduce the test suite failure with FEATURES=-userpriv " \
|
||||
"before you submit a bug report."
|
||||
fi
|
||||
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=(
|
||||
AUTHORS
|
||||
ChangeLog
|
||||
"${FILESDIR}"/README.gentoo
|
||||
)
|
||||
|
||||
use doc && local HTML_DOCS=( "${S}/docs/build/." )
|
||||
|
||||
default
|
||||
|
||||
newconfd "${FILESDIR}/${PN}.confd-r1" ${PN}
|
||||
newinitd "${FILESDIR}/${PN}.initd-r1" ${PN}
|
||||
|
||||
keepdir /var/empty/dev
|
||||
keepdir /var/spool/${PN}
|
||||
keepdir /etc/ssl/${PN}
|
||||
keepdir /etc/${PN}.d
|
||||
|
||||
insinto /etc
|
||||
newins "${FILESDIR}/${PN}.conf" ${PN}.conf
|
||||
|
||||
insinto /etc/rsyslog.d/
|
||||
newins "${FILESDIR}/50-default-r1.conf" 50-default.conf
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}-r1.logrotate" ${PN}
|
||||
|
||||
if use mysql; then
|
||||
insinto /usr/share/doc/${PF}/scripts/mysql
|
||||
doins plugins/ommysql/createDB.sql
|
||||
fi
|
||||
|
||||
if use postgres; then
|
||||
insinto /usr/share/doc/${PF}/scripts/pgsql
|
||||
doins plugins/ompgsql/createDB.sql
|
||||
fi
|
||||
|
||||
prune_libtool_files --modules
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local advertise_readme=0
|
||||
|
||||
if [[ -z "${REPLACING_VERSIONS}" ]]; then
|
||||
# This is a new installation
|
||||
|
||||
advertise_readme=1
|
||||
|
||||
if use mysql || use postgres; then
|
||||
echo
|
||||
elog "Sample SQL scripts for MySQL & PostgreSQL have been installed to:"
|
||||
elog " /usr/share/doc/${PF}/scripts"
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
echo
|
||||
elog "To create a default CA and certificates for your server and clients, run:"
|
||||
elog " emerge --config =${PF}"
|
||||
elog "on your logging server. You can run it several times,"
|
||||
elog "once for each logging client. The client certificates will be signed"
|
||||
elog "using the CA certificate generated during the first run."
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ ${advertise_readme} -gt 0 ]]; then
|
||||
# We need to show the README file location
|
||||
|
||||
echo ""
|
||||
elog "Please read"
|
||||
elog ""
|
||||
elog " ${EPREFIX}/usr/share/doc/${PF}/README.gentoo*"
|
||||
elog ""
|
||||
elog "for more details."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
if ! use ssl ; then
|
||||
einfo "There is nothing to configure for rsyslog unless you"
|
||||
einfo "used USE=ssl to build it."
|
||||
return 0
|
||||
fi
|
||||
|
||||
# Make sure the certificates directory exists
|
||||
local CERTDIR="${EROOT}/etc/ssl/${PN}"
|
||||
if [[ ! -d "${CERTDIR}" ]]; then
|
||||
mkdir "${CERTDIR}" || die
|
||||
fi
|
||||
einfo "Your certificates will be stored in ${CERTDIR}"
|
||||
|
||||
# Create a default CA if needed
|
||||
if [[ ! -f "${CERTDIR}/${PN}_ca.cert.pem" ]]; then
|
||||
einfo "No CA key and certificate found in ${CERTDIR}, creating them for you..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_ca.privkey.pem" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<- _EOF
|
||||
cn = Portage automated CA
|
||||
ca
|
||||
cert_signing_key
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-self-signed \
|
||||
--load-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--outfile "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--template "${T}/${PF}.$$" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
|
||||
|
||||
# Create the server certificate
|
||||
echo
|
||||
einfon "Please type the Common Name of the SERVER you wish to create a certificate for: "
|
||||
read -r CN
|
||||
|
||||
einfo "Creating private key and certificate for server ${CN}..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<- _EOF
|
||||
cn = ${CN}
|
||||
tls_www_server
|
||||
dns_name = ${CN}
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-certificate \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
|
||||
--load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
|
||||
--load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--template "${T}/${PF}.$$" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
|
||||
|
||||
else
|
||||
einfo "Found existing ${CERTDIR}/${PN}_ca.cert.pem, skipping CA and SERVER creation."
|
||||
fi
|
||||
|
||||
# Create a client certificate
|
||||
echo
|
||||
einfon "Please type the Common Name of the CLIENT you wish to create a certificate for: "
|
||||
read -r CN
|
||||
|
||||
einfo "Creating private key and certificate for client ${CN}..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<- _EOF
|
||||
cn = ${CN}
|
||||
tls_www_client
|
||||
dns_name = ${CN}
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-certificate \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
|
||||
--load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
|
||||
--load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--template "${T}/${PF}.$$" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
|
||||
|
||||
rm -f "${T}/${PF}.$$"
|
||||
|
||||
echo
|
||||
einfo "Here is the documentation on how to encrypt your log traffic:"
|
||||
einfo " https://www.rsyslog.com/doc/rsyslog_tls.html"
|
||||
}
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
DIST hashcat-utils-1.9.tar.gz 41612 BLAKE2B 2999a3c2a01c195ddca334325167f2a468a3466b48886f3a54804224fd8369a9c953279170d5291c534a157acdc4fefc2947765187c8fb0e6f4cd5e5fd2597c9 SHA512 5f8cef312496e13d1152742950397933e9d5866740afe377321fb48386174b64d96f90d3072febfb97bf0f7eb438f41d6b5e14bfc3e157c9c3e664ffbc5b614b
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="a set of small utilities that are useful in advanced password cracking"
|
||||
HOMEPAGE="https://github.com/hashcat/hashcat-utils"
|
||||
SRC_URI="https://github.com/hashcat/hashcat-utils/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/${P}/src"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
src_install() {
|
||||
for i in *.bin; do
|
||||
newbin ${i} ${i/.bin}
|
||||
done
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<name>Rick Farina</name>
|
||||
<email>zerochaos@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1,4 @@
|
||||
DIST ghostscript-9.21.tar.xz 29164532 BLAKE2B 275e81e44585e186cdfd9f517d1ac77ec840c62ef01f107f6ec0131546c4a2b526000cbc4ba6a91b55eedb8f3783fbf831059d791ea441a484ce29dd5dd6af0e SHA512 cfea089b92fb01e3f7c18a9ce05e7165fc8b356e2914bf53b7f2fd9de672279c8b97ced07e983e619f0d4334ce16018b100cfbf0cc872c215a8cf2aff4c78731
|
||||
DIST ghostscript-9.25.tar.xz 33027708 BLAKE2B 7c6684898ef04bc5b6be8fec86adbf7b270107f4063b299175f5c08e5e7ace2468e1512a297464fda5695c830808916e6a0dd1202ca7e85b32cfd175d8cc2b18 SHA512 7a1c0b7546ed523f50c1452d4a1c13fcf043d6060fc9708bbc4b543f66ecb1b619b6e71998094ac702ef44a2fd159b6523271de19b1cae352981ef51fb637651
|
||||
DIST ghostscript-gpl-9.21-patchset-1.tar.xz 6196 BLAKE2B d2bccba582873d29c1724469af66a5aa72755d6ff73bbdadbf33e5eb4a2027c2cf14415319c3c3c6d03a9fbd9bad43e3bf7ef57eb7a3361305f6efb7fa550675 SHA512 58fef7080ca17a238231fb528be48f52bcfa771b1e496d7fede6df45fb927f1bb1c755cb77e02aa739295b0ccf0b3d3959f9a05a1628d32ffd11e134c0e0d355
|
||||
DIST ghostscript-gpl-9.25-patchset-1.tar.xz 3716 BLAKE2B 0a4c32b3d0c0152b0dc7c62bf2b0bc8e30a369c2aed7c7be4a231948123c2242ce96ae5b1fd485bdae84d7cde1be9f3b3a16831fe77dfbc7ac6cd28bb5e14442 SHA512 7ad9558b00cc11d0872b32d2f1430d2e47730a2360c79d88299c87f8d6d4c15adb5c679ebdcaf50c58d9051c6a1d6f6873e4d81aadfbf3ce202ad94b6dc8981f
|
||||
|
@ -0,0 +1,206 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools multilib versionator flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Ghostscript is an interpreter for the PostScript language and for PDF"
|
||||
HOMEPAGE="https://ghostscript.com/"
|
||||
|
||||
MY_P=${P/-gpl}
|
||||
PVM=$(get_version_component_range 1-2)
|
||||
PVM_S=$(replace_all_version_separators "" ${PVM})
|
||||
|
||||
MY_PATCHSET=1
|
||||
|
||||
SRC_URI="
|
||||
https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${PVM_S}/${MY_P}.tar.xz
|
||||
https://dev.gentoo.org/~dilfridge/distfiles/${P}-patchset-${MY_PATCHSET}.tar.xz
|
||||
"
|
||||
|
||||
LICENSE="AGPL-3 CPL-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="cups dbus gtk l10n_de static-libs tiff unicode X"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-text/libpaper
|
||||
media-libs/fontconfig
|
||||
>=media-libs/freetype-2.4.9:2=
|
||||
media-libs/jbig2dec
|
||||
>=media-libs/lcms-2.6:2
|
||||
>=media-libs/libpng-1.6.2:0=
|
||||
>=media-libs/openjpeg-2.1.0:2=
|
||||
>=sys-libs/zlib-1.2.7:=
|
||||
virtual/jpeg:0
|
||||
cups? ( >=net-print/cups-1.3.8 )
|
||||
dbus? ( sys-apps/dbus )
|
||||
gtk? ( || ( x11-libs/gtk+:3 x11-libs/gtk+:2 ) )
|
||||
unicode? ( net-dns/libidn:= )
|
||||
tiff? ( >=media-libs/tiff-4.0.1:0= )
|
||||
X? ( x11-libs/libXt x11-libs/libXext )
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
>=app-text/poppler-data-0.4.5-r1
|
||||
>=media-fonts/urw-fonts-2.4.9
|
||||
l10n_ja? ( media-fonts/kochi-substitute )
|
||||
l10n_ko? ( media-fonts/baekmuk-fonts )
|
||||
l10n_zh-CN? ( media-fonts/arphicfonts )
|
||||
l10n_zh-TW? ( media-fonts/arphicfonts )
|
||||
!!media-fonts/gnu-gs-fonts-std
|
||||
!!media-fonts/gnu-gs-fonts-other
|
||||
!<net-print/cups-filters-1.0.36-r2
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LANGS="ja ko zh-CN zh-TW"
|
||||
for X in ${LANGS} ; do
|
||||
IUSE="${IUSE} l10n_${X}"
|
||||
done
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# remove internal copies of various libraries
|
||||
rm -rf "${S}"/cups/libs || die
|
||||
rm -rf "${S}"/expat || die
|
||||
rm -rf "${S}"/freetype || die
|
||||
rm -rf "${S}"/jbig2dec || die
|
||||
rm -rf "${S}"/jpeg{,xr} || die
|
||||
rm -rf "${S}"/lcms{,2} || die
|
||||
rm -rf "${S}"/libpng || die
|
||||
rm -rf "${S}"/tiff || die
|
||||
rm -rf "${S}"/zlib || die
|
||||
rm -rf "${S}"/openjpeg || die
|
||||
# remove internal CMaps (CMaps from poppler-data are used instead)
|
||||
rm -rf "${S}"/Resource/CMap || die
|
||||
|
||||
# apply various patches, many borrowed from Fedora
|
||||
# http://pkgs.fedoraproject.org/cgit/ghostscript.git
|
||||
eapply "${WORKDIR}/patches/"*.patch
|
||||
|
||||
if ! use gtk ; then
|
||||
sed -i -e "s:\$(GSSOX)::" \
|
||||
-e "s:.*\$(GSSOX_XENAME)$::" \
|
||||
"${S}"/base/unix-dll.mak || die "sed failed"
|
||||
fi
|
||||
|
||||
# Force the include dirs to a neutral location.
|
||||
sed -i \
|
||||
-e "/^ZLIBDIR=/s:=.*:=${T}:" \
|
||||
configure.ac || die
|
||||
# Some files depend on zlib.h directly. Redirect them. #573248
|
||||
# Also make sure to not define OPJ_STATIC to avoid linker errors due to
|
||||
# hidden symbols (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203327#c1)
|
||||
sed -i \
|
||||
-e '/^zlib_h/s:=.*:=:' \
|
||||
-e 's|-DOPJ_STATIC ||' \
|
||||
base/lib.mak || die
|
||||
|
||||
# search path fix
|
||||
# put LDFLAGS after BINDIR, bug #383447
|
||||
sed -i -e "s:\$\(gsdatadir\)/lib:@datarootdir@/ghostscript/${PVM}/$(get_libdir):" \
|
||||
-e "s:exdir=.*:exdir=@datarootdir@/doc/${PF}/examples:" \
|
||||
-e "s:docdir=.*:docdir=@datarootdir@/doc/${PF}/html:" \
|
||||
-e "s:GS_DOCDIR=.*:GS_DOCDIR=@datarootdir@/doc/${PF}/html:" \
|
||||
-e 's:-L$(BINDIR):& $(LDFLAGS):g' \
|
||||
"${S}"/Makefile.in "${S}"/base/*.mak || die "sed failed"
|
||||
|
||||
cd "${S}" || die
|
||||
# remove incorrect symlink, bug 590384
|
||||
rm -f ijs/ltmain.sh || die
|
||||
eautoreconf
|
||||
|
||||
cd "${S}/ijs" || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local FONTPATH
|
||||
for path in \
|
||||
"${EPREFIX}"/usr/share/fonts/urw-fonts \
|
||||
"${EPREFIX}"/usr/share/fonts/Type1 \
|
||||
"${EPREFIX}"/usr/share/fonts \
|
||||
"${EPREFIX}"/usr/share/poppler/cMap/Adobe-CNS1 \
|
||||
"${EPREFIX}"/usr/share/poppler/cMap/Adobe-GB1 \
|
||||
"${EPREFIX}"/usr/share/poppler/cMap/Adobe-Japan1 \
|
||||
"${EPREFIX}"/usr/share/poppler/cMap/Adobe-Japan2 \
|
||||
"${EPREFIX}"/usr/share/poppler/cMap/Adobe-Korea1
|
||||
do
|
||||
FONTPATH="$FONTPATH${FONTPATH:+:}${EPREFIX}$path"
|
||||
done
|
||||
|
||||
PKGCONFIG=$(type -P $(tc-getPKG_CONFIG)) \
|
||||
econf \
|
||||
--enable-dynamic \
|
||||
--enable-freetype \
|
||||
--enable-fontconfig \
|
||||
--enable-openjpeg \
|
||||
--disable-compile-inits \
|
||||
--with-drivers=ALL \
|
||||
--with-fontpath="$FONTPATH" \
|
||||
--with-ijs \
|
||||
--with-jbig2dec \
|
||||
--with-libpaper \
|
||||
--without-luratech \
|
||||
$(use_enable cups) \
|
||||
$(use_enable dbus) \
|
||||
$(use_enable gtk) \
|
||||
$(use_with cups pdftoraster) \
|
||||
$(use_with unicode libidn) \
|
||||
$(use_with tiff system-libtiff) \
|
||||
$(use_with X x)
|
||||
|
||||
cd "${S}/ijs" || die
|
||||
econf \
|
||||
--enable-shared \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake so all
|
||||
|
||||
cd "${S}/ijs" || die
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install-so install
|
||||
|
||||
# move gsc to gs, bug #343447
|
||||
# gsc collides with gambit, bug #253064
|
||||
mv -f "${ED}"/usr/bin/{gsc,gs} || die
|
||||
|
||||
cd "${S}/ijs" || die
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
# rename the original cidfmap to cidfmap.GS
|
||||
mv "${ED}/usr/share/ghostscript/${PVM}/Resource/Init/cidfmap"{,.GS} || die
|
||||
|
||||
# install our own cidfmap to handle CJK fonts
|
||||
insinto /usr/share/ghostscript/${PVM}/Resource/Init
|
||||
doins \
|
||||
"${WORKDIR}/fontmaps/CIDFnmap" \
|
||||
"${WORKDIR}/fontmaps/cidfmap"
|
||||
for X in ${LANGS} ; do
|
||||
if use l10n_${X} ; then
|
||||
doins "${WORKDIR}/fontmaps/cidfmap.${X/-/_}"
|
||||
fi
|
||||
done
|
||||
|
||||
# install the CMaps from poppler-data properly, bug #409361
|
||||
dosym ../../../poppler/cMaps "/usr/share/ghostscript/${PVM}/Resource/CMap"
|
||||
|
||||
use static-libs || find "${ED}" -name '*.la' -delete
|
||||
|
||||
if ! use l10n_de; then
|
||||
rm -r "${ED}"/usr/share/man/de || die
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,5 +1 @@
|
||||
DIST pspg-0.8.0.tar.gz 850508 BLAKE2B 2f2fb7f094f72f0b5d1c959ab73a355ea2ced155fdb64adef21eb70c4991b057e31688128f50db2d6a84ab850b57ab59d50c0dd5ba06998af11ff3a5479cc9bd SHA512 758d47e041f4c7c91ad2033fb95e6d33a27b6f896077dbcb287331496e47740c31c6ba6bf7ea01ad6c1a3c3d4c5e525b268795a16f9c819f4d489d3e98fa3092
|
||||
DIST pspg-0.9.2.tar.gz 855891 BLAKE2B 0e0a992e5885ca4b2e058d19df2d9c7eac862e1a45e8d80f31df33ab2f3c02616c67cc528af6a52225db938a0c1f27352e13c7dfd01b15bda908bbf3ee9ef128 SHA512 8ad31a5e744db96bec7cfea7d128aa4ac3b44ab51c3dd1d0661178c1d139571a955143a3ccfe6556ce2a215ec193a45224720794da5d2af1e93beb2fa713aea4
|
||||
DIST pspg-0.9.3.tar.gz 856766 BLAKE2B 3e1b41f786abd8e964adb87411ba9dca7bdc0ed07a02e51a869dfaca491497478818d85de32846d675ee90f32f01f693ea33ce0166bb939457c55799aabf900a SHA512 79c019ef30a1a06c15793e7b51f7e1cabd79711d3a2a4360933c219b01e9c8d8390a82b87bb1be5316cabbcad3705adca8dd09714e6e994d7aca0b94ddcf06c0
|
||||
DIST pspg-1.1.0.tar.gz 861442 BLAKE2B b62fa7e92cf4baae31da08b8f14eb18a54dd0912c08c73764f4571b5bcc22ff21e0ceb3809c4f0fb33c490241b2135594b1d2fb9fcb9006287ced9a031b75ffe SHA512 84db26b5fce668938f76a6250caca8a394b439d6496de411305605da1ec35cfe79e444a56e73423e56bede21f5da3208b140be0d995e9cf575ba76a5bd0d49b1
|
||||
DIST pspg-1.3.0.tar.gz 885210 BLAKE2B 4a6f41b915603a96eef8cd5de9a76322bf0cfec94afe5c54707ab290e657159d7e8f6d29f5c4c1de07770047e45d3566d3a4f09c53d80461a50be48afade289b SHA512 6c6e4b12008ca36ea4ecf6c60d474f897622427590d8326db73f7d5a6d2134c479db17b0765cd8861ccf422e5fab292e10fc7f7e7a548c5d3773c64c5e11d1dd
|
||||
|
@ -1,16 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="A better pager for psql and mysql"
|
||||
HOMEPAGE="https://github.com/okbob/${PN}"
|
||||
SRC_URI="https://github.com/okbob/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="sys-libs/ncurses:*"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,16 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="A better pager for psql and mysql"
|
||||
HOMEPAGE="https://github.com/okbob/${PN}"
|
||||
SRC_URI="https://github.com/okbob/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="sys-libs/ncurses:*"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,16 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="A better pager for psql and mysql"
|
||||
HOMEPAGE="https://github.com/okbob/${PN}"
|
||||
SRC_URI="https://github.com/okbob/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="sys-libs/ncurses:*"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,16 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="A better pager for psql and mysql"
|
||||
HOMEPAGE="https://github.com/okbob/${PN}"
|
||||
SRC_URI="https://github.com/okbob/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="sys-libs/ncurses:*"
|
||||
RDEPEND="${DEPEND}"
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
DIST libixion-0.13.0.tar.xz 413756 BLAKE2B 04aef61a1cc691bb159d7e8131e2e47fe2590634adc93f2e5771ed106316eb1c92ee7c4aa05ba753a1751cb5e7c55cba9263515671a26f9bc9983a1cfcacceff SHA512 15784e947164d106e677c59ece53b3cd401d4f9433cc5331a35d3be8332ae4f20a469ca73b30b253433c86da4afde886dfb4ac23e46ed46376a7349e0276c3a0
|
||||
DIST libixion-0.14.0.tar.xz 427100 BLAKE2B 8f766a61d2dab2c1cd40fbd72bb3d0cad2dda1a9d4617f1bc5289237b29e8b4edab333819b3ca61dfbd9a9b22b2e5a956d5c12b0a9eab8f794cbd87a20237b4e SHA512 8681912fb1bebb4de1fdcb4f0589aa84a3e38cd21747c81a204a87594f67879732461f3c02b70d0bf5659af59c1af1fa17df425eba5946d22a8599bc8da9fd92
|
||||
DIST libixion-0.14.1.tar.xz 360568 BLAKE2B e4da21f0eff9111272618d1bad87790ed0c4b461478473654f8366b0023c0650b41d355b0737a4fd4ac943e66f919e2f0d6bf04250e597e54a290d4415f3a093 SHA512 e4ae6348833d2178c1dc76916937bcc9d7821dc6570fe13093c441ca22e0301a1ca6a4cf85d9814b83534733dba98f4c4a372791f93bc57173317657675b9ae3
|
||||
|
@ -1,2 +1,2 @@
|
||||
DIST liborcus-0.13.4.tar.xz 1816340 BLAKE2B f8e7251c8688f82604d5ac1212938890e42f23ce45edb09eba9ab26a810e5fd4215a23dd20e86ddf9100db67818fc73fbbee7357642a6390f8f60dc28596be31 SHA512 f00b49c41eb1898c37d8d42e59f9004f46b5f849b9d60ac9c5033232d1e5065ff3de160e79f5a88983bf64f86e283b6d1d406a24e776aa6ff7b8acec324ccd4b
|
||||
DIST liborcus-0.14.0.tar.xz 1891648 BLAKE2B 8392cf40c92e21015eb4bb55fddd8b2796dad2f4006f445c740e7fce11507b577e70fa4619fa23d4133ae6a43f87b440b3990a6687dea5273dc4bae7f0146264 SHA512 0dca1508f3b235d9e52e131a54b0e7ec5473e4a5863a70aa7c703d3b16e8dff49de954af924c4235c5cdbd592528df15192545f08a878c5d469d7394825525b3
|
||||
DIST liborcus-0.14.1.tar.xz 1894680 BLAKE2B 0070baf319bf35275f36f3082141f154404ad43d8143588b35c00b8b536f0c1cf5bf38fd9e997c4be45a454f16de1cc1a25186da40e3ed0606a87e9a6a968053 SHA512 a32dc5a652ce99cff37273c38fb9460e13e7bfb562f40c8d0c79b65c33e340daaeeb2c796308ca700b85bfc13cc8215641563b9e9f6d44b7d61adb8e8a3c950f
|
||||
|
Binary file not shown.
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 python3_7 )
|
||||
|
||||
inherit distutils-r1 vcs-snapshot
|
||||
|
||||
DESCRIPTION="The AWS SDK for Python"
|
||||
HOMEPAGE="https://github.com/boto/boto3"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="doc test"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/boto/boto3"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-1.12.4[${PYTHON_USEDEP}]
|
||||
dev-python/jmespath[${PYTHON_USEDEP}]
|
||||
dev-python/s3transfer[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? (
|
||||
dev-python/guzzle_sphinx_theme[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
)
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests -v tests/unit/ tests/functional/ || die "test failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/build/html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 python3_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Low-level, data-driven core of boto 3."
|
||||
HOMEPAGE="https://github.com/boto/botocore"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="doc test"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/boto/botocore"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/jmespath[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
dev-python/urllib3[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? (
|
||||
dev-python/guzzle_sphinx_theme[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
)
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch" )
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
PYTHONPATH="${BUILD_DIR}/lib" nosetests -v tests/unit || die "unit tests failed under ${EPYTHON}"
|
||||
PYTHONPATH="${BUILD_DIR}/lib" nosetests -v tests/functional || die "functional tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/build/html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST certifi-2018.4.16.tar.gz 149967 BLAKE2B 4a69ec495266d54032dfabc9c17d0b1e78ad1467214f9f981feb4fae279c1f4b5f0bc3f7a643c2229b17d19e32c1ea894dc16d73b036a0b32f17faa9ac55615c SHA512 96369b318df9592ed4ff48d79ae695f89d27d85e8f5de72548fccb19ac15b83a33fb8bc096a3092d7a7f5b201af08805576888418c7927cf48b892df56464682
|
||||
DIST certifi-2018.8.24.tar.gz 146866 BLAKE2B 92a609bffd777a624d18e612e2fa504b1cd4f0764f979d22bf6785158fb928d30984fba16b839f6b4066395dadcca485e6215c6f0b6b550d891673a79ea77c08 SHA512 bb0af24570dd4806bc80cd438cae42db82f820de815a6148b184f58c19cd91a03f9275815559817a84220dcbd7c87a4a7d12e35cf4a95a1dbad286a1dfecf907
|
||||
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1 prefix readme.gentoo-r1 versionator
|
||||
|
||||
DESCRIPTION="Python package for providing Mozilla's CA Bundle"
|
||||
HOMEPAGE="http://certifi.io/ https://pypi.org/project/certifi"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-misc/ca-certificates"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
# Do not drop this patch -- this will affect system's security
|
||||
PATCHES=( "${FILESDIR}"/certifi-2018.4.16-use-system-cacerts.patch )
|
||||
|
||||
python_prepare_all() {
|
||||
distutils-r1_python_prepare_all
|
||||
|
||||
eprefixify certifi/core.py
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
local DOC_CONTENTS="
|
||||
In Gentoo, we don't use certifi's bundled CA certificates.
|
||||
Instead we remove bundled cacert.pem and patch certifi
|
||||
to return system's CA certificates.
|
||||
"
|
||||
readme.gentoo_create_doc
|
||||
|
||||
# Precaution -- nothing should use bundled CA certificates
|
||||
find "${D}" -name 'cacert.pem' -delete || die "Failed to delete bundled CA certificates"
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST jaraco.itertools-2.3.tar.gz 12857 BLAKE2B 714b123965af3ff593205aab373f3097709729377cd867ca2a7ccbb7795b1818f47b0b316d4c927c9aec4eb66fe1da63b44c1d60db310dd97b5444b01f7db04d SHA512 070a442531fd079fefcb61bbbdb0cc98bc88cbc5f23f6cb40ee1fafbc9a259c69e0a373e949ab54d22836f54b0de41e1b09d10692f92d18030825ca09345be48
|
||||
DIST jaraco.itertools-2.4.tar.gz 13026 BLAKE2B f7e73667a1aae0641cc8ef1bb901fe54ba6ff3742148840fb355677c9370bfa8a4ab2654864fb224f342552e5bd551e168fb7aa0dd3c61c6f10cd2b4b398f580 SHA512 95d687b4c7f32e2f8e712bd5ac8b82fa63a1571a9062d9182f13bf027c65d4266b87c2c450a89dd2ac01124e5ccaeb976a9cf14788778903be79db5f7dda6167
|
||||
DIST jaraco.itertools-2.5.2.tar.gz 13744 BLAKE2B 3f27144d580805380446b89972c785fa7d7a37a4841d07584efff31f4bdb1ffb9c5e00571172050e63fd65531d7f1db3d9272420c200e717bf9b6dad4b2e4dc4 SHA512 6e5085eb60451f7a5e46df7f69c73062680d980e46a0d41c4e6baaf47d48f413f7cf0ee26b0b24d90e2499174df41b37d7388cfe33e52bfcbc96f7378213d575
|
||||
DIST jaraco.itertools-2.5.tar.gz 13617 BLAKE2B 06c008a33a451314aa3e4ff0a5753dcd5e7f0b6504faea5574ea9d2061999246efbd62789e6ba81d49cc12cd4b13dd8241e58cbc71de611bd0cc773e5d40a1fa SHA512 9e56282073e7a09bcbe114c863c27d4a8233dc5b2805b17f174afcaba8643e6f8405c26f492713d0970975535102b188a4bad246b747a5718362c81a845cb494
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} pypy{,3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="JSON Matching Expressions"
|
||||
HOMEPAGE="https://github.com/boto/jmespath https://pypi.org/project/jmespath/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )
|
||||
"
|
||||
RDEPEND=""
|
||||
|
||||
python_test() {
|
||||
nosetests || die
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST pygobject-2.28.6.tar.xz 747248 BLAKE2B 5f92794034b2d0559a623db4a7d273a7dc3f099cae87ede91b17e81acac085a9298c6b81b45b4b8540b6a75ced97e474a993437dbfcfc2133d3321d6a979b541 SHA512 37544ea2377258758169b25a2969d5ee1c9ffb9b6e63e05bc7a0471a49ac9169c51ec587d4489172c7d256f53df878a81c1992a08059aa7e43dbbb69f799545c
|
||||
DIST pygobject-3.22.0.tar.xz 756820 BLAKE2B 2030b9106c082bbec4418c97945df68e20f49005341ad1d7c6d390b894ac88e13f2619215df4c02587b5ccce606083906609d89c559b790777092e991afbf367 SHA512 1f6f0ea8014b35d7828a6bebc0fe2cf6519016ca5ad3819dc6b7879154d8e27fdd2971620955c8fc4904625814833c8bc8ec0599152720649864262d3b6e33e4
|
||||
DIST pygobject-3.24.1.tar.xz 758648 BLAKE2B 95e3bc6d022b70053549f8a780aa372d8964477e881b825299ca82a7328bbdab58b037a92d36578915ac622b7c223d47cc1c35fccd3ea70d7840841eaec6860d SHA512 f35968ab12b872c85af6b2410cadedcf9fa7e17352a40f3dc557c86203aa1c38753710aab9ce55e986ee2c98b64e14123c65083655445e993d0b53431db6dc93
|
||||
DIST pygobject-3.28.3.tar.xz 1005368 BLAKE2B 5c24fd25fa20dbdbd3ad18d7e2eafd8f47f5e28903d9f8dab6110f09ccfc13f865149f0d4bd84bc755bc6e4191b903646930e818d85382dfaf4e05f7107b3ecf SHA512 0abda393dd774f9cea04f883eab53f5ebde81d2439ed18cfe08ef39a1996054ab34bf4e770f70116a4485fb4f9970464b9a950ffa4af76cfa21ecc8d4dff968d
|
||||
|
@ -0,0 +1,98 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
GNOME2_LA_PUNT="yes"
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
|
||||
|
||||
inherit eutils gnome2 python-r1 virtualx
|
||||
|
||||
DESCRIPTION="GLib's GObject library bindings for Python"
|
||||
HOMEPAGE="https://wiki.gnome.org/Projects/PyGObject"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="+cairo examples test"
|
||||
|
||||
REQUIRED_USE="
|
||||
${PYTHON_REQUIRED_USE}
|
||||
test? ( cairo )
|
||||
"
|
||||
|
||||
COMMON_DEPEND="${PYTHON_DEPS}
|
||||
>=dev-libs/glib-2.38:2
|
||||
>=dev-libs/gobject-introspection-1.46.0:=
|
||||
virtual/libffi:=
|
||||
cairo? (
|
||||
>=dev-python/pycairo-1.11.1[${PYTHON_USEDEP}]
|
||||
x11-libs/cairo )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
cairo? ( x11-libs/cairo[glib] )
|
||||
test? (
|
||||
dev-libs/atk[introspection]
|
||||
media-fonts/font-cursor-misc
|
||||
media-fonts/font-misc-misc
|
||||
x11-libs/cairo[glib]
|
||||
x11-libs/gdk-pixbuf:2[introspection,jpeg]
|
||||
x11-libs/gtk+:3[introspection]
|
||||
x11-libs/pango[introspection]
|
||||
python_targets_python2_7? ( dev-python/pyflakes[$(python_gen_usedep python2_7)] ) )
|
||||
"
|
||||
# autoconf-archive required by eautoreconf
|
||||
|
||||
# We now disable introspection support in slot 2 per upstream recommendation
|
||||
# (see https://bugzilla.gnome.org/show_bug.cgi?id=642048#c9); however,
|
||||
# older versions of slot 2 installed their own site-packages/gi, and
|
||||
# slot 3 will collide with them.
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!<dev-python/pygtk-2.13
|
||||
!<dev-python/pygobject-2.28.6-r50:2[introspection]
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
gnome2_src_prepare
|
||||
python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Hard-enable libffi support since both gobject-introspection and
|
||||
# glib-2.29.x rdepend on it anyway
|
||||
# docs disabled by upstream default since they are very out of date
|
||||
configuring() {
|
||||
gnome2_src_configure \
|
||||
$(use_enable cairo)
|
||||
|
||||
# Pyflakes tests work only in python2, bug #516744
|
||||
if use test && [[ ${EPYTHON} != python2.7 ]]; then
|
||||
sed -e 's/if type pyflakes/if false/' \
|
||||
-i Makefile || die "sed failed"
|
||||
fi
|
||||
}
|
||||
|
||||
python_foreach_impl run_in_build_dir configuring
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl run_in_build_dir gnome2_src_compile
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local -x GIO_USE_VFS="local" # prevents odd issues with deleting ${T}/.gvfs
|
||||
local -x GIO_USE_VOLUME_MONITOR="unix" # prevent udisks-related failures in chroots, bug #449484
|
||||
local -x SKIP_PEP8="yes"
|
||||
|
||||
testing() {
|
||||
local -x XDG_CACHE_HOME="${T}/${EPYTHON}"
|
||||
emake -C "${BUILD_DIR}" check
|
||||
}
|
||||
virtx python_foreach_impl testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl run_in_build_dir gnome2_src_install
|
||||
|
||||
dodoc -r examples
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 python3_7 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="An Amazon S3 Transfer Manager"
|
||||
HOMEPAGE="https://github.com/boto/s3transfer"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
CDEPEND="
|
||||
dev-python/botocore[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/futures[${PYTHON_USEDEP}]' 'python2_7')
|
||||
"
|
||||
# Pin mock to 1.3.0 if testing failures due to mock occur.
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
${CDEPEND}
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
python_test() {
|
||||
nosetests -v tests/unit/ tests/functional/ || die "tests failed under ${EPYTHON}"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST xvfbwrapper-0.2.8.tar.gz 4660 BLAKE2B 464a9f3d41d3c96a72c0cfc56994c32ccb94ac19267f5a701bd0ee18a17010216fd7ee163d8a532e62fd2256dc296201d4150f4f0d03fd4f20eae703b6bcaac1 SHA512 1b29b7e6bb336a9972e51249bbc96805733e305476cc559f5501cd09a343671c10333b5592e4c4868016d4510b37d6c592165a4683b1543e62c2205b1eeb0980
|
||||
DIST xvfbwrapper-0.2.9.tar.gz 5575 BLAKE2B a973e6ca6dd85713e7b350397113d63c15fd284c07d3a0d5c0b8b8dceed65c3a17a3e8222b79ec88fb124175259d51fcd31d09a95183f1cbd091ba11d9bbec3b SHA512 800f3489b2e1bbc884d7651e344ed73783d6c00856f3ab7ccfa6b9058dd6d3bb98d38f11172ba89dff5773d6c5b773bc000786c1f6c6aae5a27179b37017851e
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python wrapper for running a display inside X virtual framebuffer"
|
||||
HOMEPAGE="https://github.com/cgoldberg/xvfbwrapper https://pypi.org/project/xvfbwrapper/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="x11-base/xorg-server[xvfb]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7) )
|
||||
"
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" -m unittest discover || die "Tests failed with ${EPYTHON}"
|
||||
}
|
Binary file not shown.
@ -1,140 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit eutils flag-o-matic python-single-r1 toolchain-funcs versionator
|
||||
|
||||
MY_PV="$(replace_all_version_separators _)"
|
||||
|
||||
DESCRIPTION="A system for large project software construction, simple to use and powerful"
|
||||
HOMEPAGE="https://boostorg.github.io/build/"
|
||||
SRC_URI="https://downloads.sourceforge.net/project/boost/boost/${PV}/boost_${MY_PV}.tar.bz2"
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="examples python test"
|
||||
|
||||
RDEPEND="python? ( ${PYTHON_DEPS} )
|
||||
!<dev-libs/boost-1.34.0
|
||||
!<=dev-util/boost-build-1.35.0-r1"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( sys-apps/diffutils
|
||||
${PYTHON_DEPS} )"
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
|
||||
test? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
S="${WORKDIR}/boost_${MY_PV}/tools/build/src"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.48.0-disable_python_rpath.patch"
|
||||
"${FILESDIR}/${PN}-1.50.0-respect-c_ld-flags.patch"
|
||||
"${FILESDIR}/${PN}-1.49.0-darwin-gentoo-toolchain.patch"
|
||||
"${FILESDIR}/${PN}-1.52.0-darwin-no-python-framework.patch"
|
||||
"${FILESDIR}/${PN}-1.54.0-support_dots_in_python-buildid.patch"
|
||||
"${FILESDIR}/${PN}-1.55.0-ppc-aix.patch"
|
||||
"${FILESDIR}/${PN}-1.62.0-sparc-no-default-flags.patch"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
if use python || use test; then
|
||||
python-single-r1_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
tar xojf "${DISTDIR}/${A}" boost_${MY_PV}/tools/build || die "unpacking tar failed"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
pushd ../ >/dev/null || die
|
||||
eapply "${FILESDIR}/${PN}-1.54.0-fix-test.patch"
|
||||
popd >/dev/null || die
|
||||
|
||||
# Remove stripping option
|
||||
# Fix python components build on multilib systems, bug #496446
|
||||
cd "${S}/engine" || die
|
||||
sed -i \
|
||||
-e 's|-s\b||' \
|
||||
-e "/libpython/s/lib ]/$(get_libdir) ]/" \
|
||||
build.jam || die "sed failed"
|
||||
|
||||
# Force regeneration
|
||||
rm jambase.c || die
|
||||
|
||||
# This patch allows us to fully control optimization
|
||||
# and stripping flags when bjam is used as build-system
|
||||
# We simply extend the optimization and debug-symbols feature
|
||||
# with empty dummies called 'none'
|
||||
cd "${S}" || die
|
||||
sed -i \
|
||||
-e 's/\(off speed space\)/\1 none/' \
|
||||
-e 's/\(debug-symbols : on off\)/\1 none/' \
|
||||
tools/builtin.jam || die "sed failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use python; then
|
||||
# replace versions by user-selected one (TODO: fix this when slot-op
|
||||
# deps are available to always match the best version available)
|
||||
sed -i \
|
||||
-e "s|27 26 25 24 23 22|${EPYTHON#python}|" \
|
||||
engine/build.jam || die "sed failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd engine || die
|
||||
|
||||
local toolset
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
toolset=darwin
|
||||
else
|
||||
# Using boost's generic toolset here, which respects CC and CFLAGS
|
||||
toolset=cc
|
||||
fi
|
||||
|
||||
CC=$(tc-getCC) ./build.sh ${toolset} -d+2 $(use_with python python "${EROOT%/}"/usr) || die "building bjam failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin engine/bin.*/{bjam,b2}
|
||||
|
||||
insinto /usr/share/boost-build
|
||||
doins -r "${FILESDIR}/site-config.jam" \
|
||||
../boost-build.jam bootstrap.jam build-system.jam ../example/user-config.jam *.py \
|
||||
build kernel options tools util
|
||||
|
||||
rm "${ED%/}/usr/share/boost-build/build/project.ann.py" || die "removing faulty python file failed"
|
||||
if ! use python; then
|
||||
find "${ED%/}/usr/share/boost-build" -iname "*.py" -delete || die "removing experimental python files failed"
|
||||
fi
|
||||
|
||||
dodoc ../notes/{changes,hacking,release_procedure,build_dir_option,relative_source_paths}.txt
|
||||
|
||||
if use examples; then
|
||||
dodoc -r ../example
|
||||
docompress -x "/usr/share/doc/${PF}/example"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd ../test || die
|
||||
|
||||
export TMP="${T}"
|
||||
|
||||
DO_DIFF="${PREFIX}/usr/bin/diff" ${PYTHON} test_all.py
|
||||
|
||||
if [[ -s test_results.txt ]]; then
|
||||
eerror "At least one test failed: $(<test_results.txt)"
|
||||
die "tests failed"
|
||||
fi
|
||||
}
|
@ -0,0 +1,110 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
|
||||
|
||||
inherit distutils-r1 flag-o-matic qmake-utils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Static analyzer of C/C++ code"
|
||||
HOMEPAGE="http://cppcheck.sourceforge.net"
|
||||
SRC_URI="https://github.com/danmar/cppcheck/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86"
|
||||
IUSE="htmlreport pcre qt5"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/tinyxml2:=
|
||||
htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
|
||||
pcre? ( dev-libs/libpcre )
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtprintsupport:5
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxslt
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.75-tinyxml2.patch
|
||||
"${FILESDIR}"/${PN}-1.84-char-signedness.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
append-cxxflags -std=c++0x
|
||||
|
||||
# Drop bundled libs, patch Makefile generator and re-run it
|
||||
rm -r externals/tinyxml || die
|
||||
tc-export CXX
|
||||
emake dmake
|
||||
./dmake || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use pcre ; then
|
||||
sed -e '/HAVE_RULES=/s:=no:=yes:' \
|
||||
-i Makefile || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export LIBS="$(pkg-config --libs tinyxml2)"
|
||||
emake ${PN} man \
|
||||
CFGDIR="${EROOT}usr/share/${PN}/cfg" \
|
||||
DB2MAN="${EROOT}usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl"
|
||||
|
||||
if use qt5 ; then
|
||||
pushd gui || die
|
||||
eqmake5
|
||||
emake
|
||||
popd || die
|
||||
fi
|
||||
if use htmlreport ; then
|
||||
pushd htmlreport || die
|
||||
distutils-r1_src_compile
|
||||
popd || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# safe final version
|
||||
mv -v ${PN}{,.final} || die
|
||||
mv -v lib/library.o{,.final} || die
|
||||
mv -v cli/cppcheckexecutor.o{,.final} || die
|
||||
#trigger recompile with CFGDIR inside ${S}
|
||||
emake check CFGDIR="${S}/cfg"
|
||||
# restore
|
||||
mv -v ${PN}{.final,} || die
|
||||
mv -v lib/library.o{.final,} || die
|
||||
mv -v cli/cppcheckexecutor.o{.final,} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# it's not autotools-based, so "${ED}" here, not "${D}", bug 531760
|
||||
emake install DESTDIR="${ED}"
|
||||
|
||||
insinto "/usr/share/${PN}/cfg"
|
||||
doins cfg/*.cfg
|
||||
if use qt5 ; then
|
||||
dobin gui/${PN}-gui
|
||||
dodoc gui/{projectfile.txt,gui.${PN}}
|
||||
fi
|
||||
if use htmlreport ; then
|
||||
pushd htmlreport || die
|
||||
distutils-r1_src_install
|
||||
popd || die
|
||||
find "${D}" -name "*.egg-info" -delete
|
||||
else
|
||||
rm "${ED}/usr/bin/cppcheck-htmlreport" || die
|
||||
fi
|
||||
doman ${PN}.1
|
||||
dodoc -r triage
|
||||
}
|
@ -0,0 +1,88 @@
|
||||
From 320a957bbc912325363cf86b61108db860195ec3 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Mai <amai@users.sf.net>
|
||||
Date: Thu, 28 Jun 2018 22:16:18 +0200
|
||||
Subject: [PATCH] Extend TestSymbolDatabase::findFunction19 to outline
|
||||
different results depending whether char is signed or unsigned on compile
|
||||
time
|
||||
|
||||
---
|
||||
test/testsymboldatabase.cpp | 28 ++++++++++++++++++++--------
|
||||
1 file changed, 20 insertions(+), 8 deletions(-)
|
||||
|
||||
diff --git a/test/testsymboldatabase.cpp b/test/testsymboldatabase.cpp
|
||||
index 0dafd2730..28473e8e9 100644
|
||||
--- a/test/testsymboldatabase.cpp
|
||||
+++ b/test/testsymboldatabase.cpp
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "tokenlist.h"
|
||||
#include "utils.h"
|
||||
|
||||
+#include <climits>
|
||||
#include <cstddef>
|
||||
#include <list>
|
||||
#include <map>
|
||||
@@ -5065,6 +5066,7 @@ private:
|
||||
" long get(long x) { return x; }\n"
|
||||
" long long get(long long x) { return x; }\n"
|
||||
" unsigned char get(unsigned char x) { return x; }\n"
|
||||
+ " signed char get(signed char x) { return x; }\n"
|
||||
" unsigned short get(unsigned short x) { return x; }\n"
|
||||
" unsigned int get(unsigned int x) { return x; }\n"
|
||||
" unsigned long get(unsigned long x) { return x; }\n"
|
||||
@@ -5079,12 +5081,13 @@ private:
|
||||
" long v5 = 1; v5 = get(get(v5));\n"
|
||||
" long long v6 = 1; v6 = get(get(v6));\n"
|
||||
" unsigned char v7 = '1'; v7 = get(get(v7));\n"
|
||||
- " unsigned short v8 = 1; v8 = get(get(v8));\n"
|
||||
- " unsigned int v9 = 1; v9 = get(get(v9));\n"
|
||||
- " unsigned long v10 = 1; v10 = get(get(v10));\n"
|
||||
- " unsigned long long v11 = 1; v11 = get(get(v11));\n"
|
||||
- " E1 v12 = e1; v12 = get(get(v12));\n"
|
||||
- " E2 v13 = E2::e2; v13 = get(get(v13));\n"
|
||||
+ " signed char v8 = '1'; v8 = get(get(v8));\n"
|
||||
+ " unsigned short v9 = 1; v9 = get(get(v9));\n"
|
||||
+ " unsigned int v10 = 1; v10 = get(get(v10));\n"
|
||||
+ " unsigned long v11 = 1; v11 = get(get(v11));\n"
|
||||
+ " unsigned long long v12 = 1; v12 = get(get(v12));\n"
|
||||
+ " E1 v13 = e1; v13 = get(get(v13));\n"
|
||||
+ " E2 v14 = E2::e2; v14 = get(get(v14));\n"
|
||||
" }\n"
|
||||
"};");
|
||||
|
||||
@@ -5094,7 +5097,10 @@ private:
|
||||
ASSERT_EQUALS(true, db && f && f->function() && f->function()->tokenDef->linenr() == 4);
|
||||
|
||||
f = Token::findsimplematch(tokenizer.tokens(), "get ( get ( v2 ) ) ;");
|
||||
- ASSERT_EQUALS(true, db && f && f->function() && f->function()->tokenDef->linenr() == 5);
|
||||
+ if (std::numeric_limits<char>::is_signed)
|
||||
+ ASSERT_EQUALS(true, db && f && f->function() && f->function()->tokenDef->linenr() == 5);
|
||||
+ else
|
||||
+ ASSERT_EQUALS(true, db && f && f->function() && f->function()->tokenDef->linenr() == 10);
|
||||
|
||||
f = Token::findsimplematch(tokenizer.tokens(), "get ( get ( v3 ) ) ;");
|
||||
ASSERT_EQUALS(true, db && f && f->function() && f->function()->tokenDef->linenr() == 6);
|
||||
@@ -5112,7 +5118,10 @@ private:
|
||||
ASSERT_EQUALS(true, db && f && f->function() && f->function()->tokenDef->linenr() == 10);
|
||||
|
||||
f = Token::findsimplematch(tokenizer.tokens(), "get ( get ( v8 ) ) ;");
|
||||
- ASSERT_EQUALS(true, db && f && f->function() && f->function()->tokenDef->linenr() == 11);
|
||||
+ if (std::numeric_limits<char>::is_signed)
|
||||
+ ASSERT_EQUALS(true, db && f && f->function() && f->function()->tokenDef->linenr() == 5);
|
||||
+ else
|
||||
+ ASSERT_EQUALS(true, db && f && f->function() && f->function()->tokenDef->linenr() == 10);
|
||||
|
||||
f = Token::findsimplematch(tokenizer.tokens(), "get ( get ( v9 ) ) ;");
|
||||
ASSERT_EQUALS(true, db && f && f->function() && f->function()->tokenDef->linenr() == 12);
|
||||
@@ -5128,6 +5137,9 @@ private:
|
||||
|
||||
f = Token::findsimplematch(tokenizer.tokens(), "get ( get ( v13 ) ) ;");
|
||||
ASSERT_EQUALS(true, db && f && f->function() && f->function()->tokenDef->linenr() == 16);
|
||||
+
|
||||
+ f = Token::findsimplematch(tokenizer.tokens(), "get ( get ( v14 ) ) ;");
|
||||
+ ASSERT_EQUALS(true, db && f && f->function() && f->function()->tokenDef->linenr() == 17);
|
||||
}
|
||||
|
||||
void findFunction20() { // # 8280
|
||||
--
|
||||
2.16.4
|
||||
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST tig-2.3.3.tar.gz 1082818 BLAKE2B 0e9bcd02726b004c233a5efd7f58e4fda478dc1d2b738a7f8c086a3d71807d319ac8bd296b0f7c7569ed69a5b2b1db18e5c957cc5ce890a67b8f6ee7ead29551 SHA512 1d1cdf7184eeb3fea301c1959023f4aa97c4f8e25fc96cd61933ca39cf7549b6c7e1d9517f7ffd45d212ae9542ea4be07370b41c623cf6d0db8d025634b1d6d1
|
||||
DIST tig-2.4.1.tar.gz 1181900 BLAKE2B 85bb76008e5c10e94d97ac4cd88ac4eb2a0675ef5b45e9f21a9d2219cf0b6ed55ce52b579b831bc6c6fc530c89fb99f5dfd1f62dab3e1ab329e132707dccf908 SHA512 516114ed267a9459e356ca1af35c9eba521f9a11e9462cc5120cc7ea8fba4e54ea0a2e8e0ab96263754d6516354c296df541f8e3642392eaeb205cd88428077c
|
||||
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit bash-completion-r1
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/jonas/tig.git"
|
||||
inherit git-r3 autotools
|
||||
else
|
||||
SRC_URI="https://github.com/jonas/tig/releases/download/${P}/${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
fi
|
||||
|
||||
DESCRIPTION="text mode interface for git"
|
||||
HOMEPAGE="https://jonas.github.io/tig/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="test unicode"
|
||||
REQUIRED_USE="test? ( unicode )"
|
||||
|
||||
DEPEND="
|
||||
sys-libs/ncurses:0=[unicode?]
|
||||
sys-libs/readline:0="
|
||||
RDEPEND="${DEPEND}
|
||||
dev-vcs/git"
|
||||
[[ ${PV} == "9999" ]] && DEPEND+=" app-text/asciidoc app-text/xmlto"
|
||||
|
||||
# encoding/env issues
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
[[ ${PV} == "9999" ]] && eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with unicode ncursesw)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake V=1
|
||||
[[ ${PV} == "9999" ]] && emake V=1 doc-man doc-html
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# workaround parallel test failures
|
||||
emake -j1 test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install install-doc-man
|
||||
dodoc doc/manual.html README.html NEWS.html
|
||||
newbashcomp contrib/tig-completion.bash ${PN}
|
||||
|
||||
docinto examples
|
||||
dodoc contrib/*.tigrc
|
||||
}
|
Binary file not shown.
@ -0,0 +1,282 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit eutils flag-o-matic autotools
|
||||
|
||||
PATCHREV="r1"
|
||||
PATCHSET="gentoo-${PVR}/${PATCHREV}"
|
||||
|
||||
DESCRIPTION="A small but very powerful text-based mail client"
|
||||
HOMEPAGE="http://www.mutt.org/"
|
||||
MUTT_G_PATCHES="mutt-gentoo-${PV}-patches-${PATCHREV}.tar.xz"
|
||||
SRC_URI="ftp://ftp.mutt.org/pub/mutt/${P}.tar.gz
|
||||
https://bitbucket.org/${PN}/${PN}/downloads/${P}.tar.gz
|
||||
https://dev.gentoo.org/~grobian/distfiles/${MUTT_G_PATCHES}"
|
||||
IUSE="berkdb crypt debug doc gdbm gnutls gpg gpgme +hcache idn +imap kerberos libressl +lmdb mbox nls nntp notmuch pgp_classic pop qdbm +sasl selinux slang smime smime_classic +smtp +ssl tokyocabinet vanilla prefix"
|
||||
# hcache: allow multiple, bug #607360
|
||||
REQUIRED_USE="
|
||||
hcache? ( || ( berkdb gdbm lmdb qdbm tokyocabinet ) )
|
||||
imap? ( ssl )
|
||||
pop? ( ssl )
|
||||
nntp? ( ssl )
|
||||
smime? ( ssl !gnutls )
|
||||
smime_classic? ( ssl !gnutls )
|
||||
smtp? ( ssl sasl )
|
||||
sasl? ( || ( imap pop smtp nntp ) )
|
||||
kerberos? ( || ( imap pop smtp nntp ) )"
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
# yes, we overdepend on the backend impls here, hopefully one day we can
|
||||
# have REQUIRED_USE do what it is made for again. bug #607360
|
||||
CDEPEND="
|
||||
app-misc/mime-types
|
||||
|
||||
berkdb? ( >=sys-libs/db-4:= )
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
lmdb? ( dev-db/lmdb:= )
|
||||
qdbm? ( dev-db/qdbm )
|
||||
tokyocabinet? ( dev-db/tokyocabinet )
|
||||
|
||||
ssl? (
|
||||
gnutls? ( >=net-libs/gnutls-1.0.17:= )
|
||||
!gnutls? (
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
!libressl? ( >=dev-libs/openssl-0.9.6:0= )
|
||||
)
|
||||
)
|
||||
|
||||
nls? ( virtual/libintl )
|
||||
sasl? ( >=dev-libs/cyrus-sasl-2 )
|
||||
kerberos? ( virtual/krb5 )
|
||||
idn? ( net-dns/libidn2 )
|
||||
gpg? ( >=app-crypt/gpgme-0.9.0:= )
|
||||
gpgme? ( >=app-crypt/gpgme-0.9.0:= )
|
||||
notmuch? ( net-mail/notmuch:= )
|
||||
slang? ( sys-libs/slang )
|
||||
!slang? ( >=sys-libs/ncurses-5.2:0= )
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
net-mail/mailbase
|
||||
doc? (
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt
|
||||
app-text/docbook-xsl-stylesheets
|
||||
|| ( www-client/lynx www-client/w3m www-client/elinks )
|
||||
)"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-mutt )
|
||||
smime? ( || ( dev-libs/libressl >=dev-libs/openssl-0.9.6:0 ) )
|
||||
smime_classic? ( || ( dev-libs/libressl >=dev-libs/openssl-0.9.6:0 ) )
|
||||
crypt? ( app-crypt/gnupg )
|
||||
pgp_classic? ( app-crypt/gnupg )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
local PATCHDIR="${WORKDIR}"/mutt-gentoo-${PV}-patches-${PATCHREV}
|
||||
|
||||
if use !vanilla ; then
|
||||
# apply patches
|
||||
export EPATCH_FORCE="yes"
|
||||
export EPATCH_SUFFIX="patch"
|
||||
# http://hg.code.sf.net/p/gentoomuttpatches/code/file/mutt-1.10
|
||||
local patches=(
|
||||
patches-mutt
|
||||
bugs-gentoo
|
||||
features-common
|
||||
features-extra
|
||||
gentoo
|
||||
)
|
||||
local patchset
|
||||
for patchset in "${patches[@]}" ; do
|
||||
[[ -d "${PATCHDIR}/${patchset}" ]] || continue
|
||||
einfo "Patches for ${PATCHSET} patchset ${patchset}"
|
||||
EPATCH_SOURCE="${PATCHDIR}"/${patchset} epatch \
|
||||
|| die "patchset ${patchset} failed"
|
||||
done
|
||||
# add some explanation as to why not to go upstream
|
||||
sed -i \
|
||||
-e '/ReachingUs = N_(/aThis release of Mutt is heavily enriched with patches.\\nFor this reason, any bugs are better reported at https://bugs.gentoo.org/\\nor re-emerge with USE=vanilla and try to reproduce your problem.\\n\\' \
|
||||
main.c || die "Failed to add bug instructions"
|
||||
fi
|
||||
|
||||
local upatches=
|
||||
# allow user patches
|
||||
eapply_user && upatches=" with user patches"
|
||||
|
||||
# patch version string for bug reports
|
||||
local patchset=
|
||||
use vanilla || patchset=", ${PATCHSET}"
|
||||
sed -i -e 's|"Mutt %s (%s)"|"Mutt %s (%s'"${patchset}${upatches}"')"|' \
|
||||
muttlib.c || die "failed patching in Gentoo version"
|
||||
|
||||
# many patches touch the buildsystem, we always need this
|
||||
AT_M4DIR="m4" eautoreconf
|
||||
|
||||
# the configure script contains some "cleverness" whether or not to setgid
|
||||
# the dotlock program, resulting in bugs like #278332
|
||||
sed -i -e 's/@DOTLOCK_GROUP@//' Makefile.in || die "sed failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
# signing and encryption
|
||||
# clumpsy blocks for transition period of USE-flag renames
|
||||
$(use crypt && use_enable crypt pgp)
|
||||
$(use pgp_classic && use_enable pgp_classic pgp)
|
||||
$(use !crypt && use !pgp_classic && echo "--disable-pgp")
|
||||
|
||||
$(use smime && use_enable smime)
|
||||
$(use smime_classic && use_enable smime_classic smime)
|
||||
$(use !smime && use !smime_classic && echo "--disable-smime")
|
||||
|
||||
$(use gpg && use_enable gpg gpgme)
|
||||
$(use gpgme && use_enable gpgme)
|
||||
$(use !gpg && use !gpgme && echo "--disable-gpgme")
|
||||
|
||||
# features
|
||||
$(use_enable debug)
|
||||
$(use_enable doc)
|
||||
$(use_enable nls)
|
||||
$(use_enable notmuch)
|
||||
|
||||
# protocols
|
||||
$(use_enable imap)
|
||||
$(use_enable pop)
|
||||
$(use_enable nntp)
|
||||
$(use_enable smtp)
|
||||
|
||||
$(use ssl && use gnutls && echo --with-gnutls --without-ssl)
|
||||
$(use ssl && use !gnutls && echo --without-gnutls --with-ssl )
|
||||
$(use !ssl && echo --without-gnutls --without-ssl)
|
||||
|
||||
$(use_with sasl)
|
||||
$(use_with idn)
|
||||
$(use_with kerberos gss)
|
||||
"$(use slang && echo --with-slang="${EPREFIX}"/usr || echo a=b)"
|
||||
"$(use_with !slang curses "${EPREFIX}"/usr)"
|
||||
|
||||
"--enable-compressed"
|
||||
"--enable-external-dotlock"
|
||||
"--enable-nfs-fix"
|
||||
"--enable-sidebar"
|
||||
"--sysconfdir=${EPREFIX}/etc/${PN}"
|
||||
"--with-docdir=${EPREFIX}/usr/share/doc/${PN}-${PVR}"
|
||||
"--with-regex"
|
||||
"--with-exec-shell=${EPREFIX}/bin/sh"
|
||||
)
|
||||
|
||||
if [[ ${CHOST} == *-solaris2.* && ${CHOST#*-solaris2.} -le 10 ]] ; then
|
||||
# arrows in index view do not show when using wchar_t
|
||||
# or misalign due to wrong computations
|
||||
myconf+=( "--without-wc-funcs" )
|
||||
fi
|
||||
|
||||
# note: REQUIRED_USE should have selected only one of these, but for
|
||||
# bug #607360 we're forced to allow multiple. For that reason, this
|
||||
# list is ordered to preference, and only the first is taken.
|
||||
local hcaches=(
|
||||
"lmdb"
|
||||
"qdbm"
|
||||
"tokyocabinet"
|
||||
"gdbm"
|
||||
"berkdb:bdb"
|
||||
)
|
||||
local ucache hcache lcache
|
||||
for hcache in "${hcaches[@]}" ; do
|
||||
if use ${hcache%%:*} ; then
|
||||
ucache=${hcache}
|
||||
break
|
||||
fi
|
||||
done
|
||||
if [[ -n ${ucache} ]] ; then
|
||||
myconf+=( "--enable-hcache" )
|
||||
else
|
||||
myconf+=( "--disable-hcache" )
|
||||
fi
|
||||
for hcache in "${hcaches[@]}" ; do
|
||||
[[ ${hcache} == ${ucache} ]] \
|
||||
&& myconf+=( "--with-${hcache#*:}" ) \
|
||||
|| myconf+=( "--without-${hcache#*:}" )
|
||||
done
|
||||
|
||||
if use mbox; then
|
||||
myconf+=( "--with-mailpath=${EPREFIX}/var/spool/mail" )
|
||||
else
|
||||
myconf+=( "--with-homespool=Maildir" )
|
||||
fi
|
||||
|
||||
econf "${myconf[@]}" || die "configure failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "install failed"
|
||||
if use mbox; then
|
||||
insinto /etc/mutt
|
||||
newins "${FILESDIR}"/Muttrc.mbox Muttrc
|
||||
else
|
||||
insinto /etc/mutt
|
||||
doins "${FILESDIR}"/Muttrc
|
||||
fi
|
||||
|
||||
# A newer file is provided by app-misc/mime-types. So we link it.
|
||||
rm "${ED}"/etc/${PN}/mime.types
|
||||
dosym "${EPREFIX}"/etc/mime.types /etc/${PN}/mime.types
|
||||
|
||||
# A man-page is always handy, so fake one
|
||||
if use !doc; then
|
||||
emake -C doc DESTDIR="${D}" muttrc.man || die
|
||||
# make the fake slightly better, bug #413405
|
||||
sed -e 's#@docdir@/manual.txt#http://www.mutt.org/doc/devel/manual.html#' \
|
||||
-e 's#in @docdir@,#at http://www.mutt.org/,#' \
|
||||
-e "s#@sysconfdir@#${EPREFIX}/etc/${PN}#" \
|
||||
-e "s#@bindir@#${EPREFIX}/usr/bin#" \
|
||||
doc/mutt.man > mutt.1 || die
|
||||
cp doc/muttrc.man muttrc.5 || die
|
||||
doman mutt.1 muttrc.5
|
||||
else
|
||||
# nuke manpages that should be provided by an MTA, bug #177605
|
||||
rm "${ED}"/usr/share/man/man5/{mbox,mmdf}.5 \
|
||||
|| ewarn "failed to remove files, please file a bug"
|
||||
fi
|
||||
|
||||
if use !prefix ; then
|
||||
fowners root:mail /usr/bin/mutt_dotlock
|
||||
fperms g+s /usr/bin/mutt_dotlock
|
||||
fi
|
||||
|
||||
dodoc BEWARE COPYRIGHT ChangeLog NEWS OPS* PATCHES README* TODO VERSION
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
echo
|
||||
elog "If you are new to mutt you may want to take a look at"
|
||||
elog "the Gentoo QuickStart Guide to Mutt E-Mail:"
|
||||
elog " https://wiki.gentoo.org/wiki/Mutt"
|
||||
echo
|
||||
fi
|
||||
if use crypt || use gpg || use smime ; then
|
||||
ewarn "Please note that the crypto related USE-flags of mutt have changed."
|
||||
ewarn "To remove some unclarity, the following USE-flags are renamed:"
|
||||
ewarn "(see https://bugs.gentoo.org/637176)"
|
||||
ewarn " crypt -> pgp_classic"
|
||||
ewarn " gpg -> gpgme"
|
||||
ewarn " smime -> smime_classic"
|
||||
ewarn "The old USE flags still work but their use is deprecated and will"
|
||||
ewarn "be removed in a future release. Please update your package.use"
|
||||
if use gpg && ( use crypt || use smime ) ; then
|
||||
ewarn " Note that gpgme (old gpg) includes both pgp and smime"
|
||||
ewarn " support. You can probably remove pgp_classic (old crypt)"
|
||||
ewarn " and smime_classic (old smime) from your USE-flags and"
|
||||
ewarn " only enable gpgme."
|
||||
fi
|
||||
fi
|
||||
if use gpgme ; then
|
||||
ewarn "Note: in order for Mutt to actually use the gpgme backend"
|
||||
ewarn " you MUST include 'set crypt_use_gpgme=yes' in .muttrc"
|
||||
ewarn " https://dev.mutt.org/doc/manual.html#crypt-use-gpgme"
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST exiv2-0.26_p20180319.tar.gz 28383543 BLAKE2B 753a2ebdb2033490c0f66cb1fb2574f02125f17813f6cbaf5eca66e053af9a2cdbc1266f0a033f0706ec22b31acd6e87271e426a335a58ee947757b52d283489 SHA512 852ce2cffcc0a2d902a939933127fdf5fa0b50020e1faf3ab0a375b129b9f61c7b97b76d4f39e376e7288d7cc045867bd1a96ae15dd0b7c0bcd1ba15259628e1
|
||||
DIST exiv2-0.26_p20180811.tar.xz 1746120 BLAKE2B 55d8719fd3726f2ead772b9b330dd9d452a6ddfd06df14d4d51a4139792de054bd891b7006f9813d5fa75cfd0a9dea1d0d254d8c978ef20cb9a14a9d294ab2cf SHA512 5f48b8e6cc22520059da388d184797090582df688bc04a32dd9ae6b80bacea4a2cbc81709c7274ba7ff1d8c5c318dd6428f027bdc63f590cedc83025cf0e5d51
|
||||
|
@ -0,0 +1,123 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
|
||||
inherit cmake-multilib python-any-r1
|
||||
|
||||
DESCRIPTION="EXIF, IPTC and XMP metadata C++ library and command line utility"
|
||||
HOMEPAGE="http://www.exiv2.org/"
|
||||
SRC_URI="https://dev.gentoo.org/~asturm/distfiles/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0/26"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc examples nls png webready xmp"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
|
||||
nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )
|
||||
png? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
|
||||
webready? (
|
||||
net-libs/libssh[${MULTILIB_USEDEP}]
|
||||
net-misc/curl[${MULTILIB_USEDEP}]
|
||||
)
|
||||
xmp? ( >=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? (
|
||||
${PYTHON_DEPS}
|
||||
app-doc/doxygen
|
||||
dev-libs/libxslt
|
||||
media-gfx/graphviz
|
||||
virtual/pkgconfig
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
DOCS=( README doc/ChangeLog doc/cmd.txt )
|
||||
|
||||
PATCHES=(
|
||||
# TODO: Take to upstream
|
||||
"${FILESDIR}"/${PN}-0.26-fix-docs.patch
|
||||
"${FILESDIR}"/${PN}-0.26-tools-optional.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
use doc && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != *9999 ]] ; then
|
||||
if [[ -d po ]] ; then
|
||||
pushd po > /dev/null || die
|
||||
local lang
|
||||
for lang in *.po; do
|
||||
if [[ -e ${lang} ]] \
|
||||
&& ! has ${lang/.po/} ${LINGUAS-${lang/.po/}} ; then
|
||||
case ${lang} in
|
||||
CMakeLists.txt | \
|
||||
${PN}.pot) ;;
|
||||
*) rm -r ${lang} || die ;;
|
||||
esac
|
||||
fi
|
||||
done
|
||||
popd > /dev/null || die
|
||||
else
|
||||
die "Failed to prepare LINGUAS - po directory moved?"
|
||||
fi
|
||||
fi
|
||||
|
||||
# FIXME @upstream:
|
||||
einfo "Converting doc/cmd.txt to UTF-8"
|
||||
iconv -f LATIN1 -t UTF-8 doc/cmd.txt > doc/cmd.txt.tmp || die
|
||||
mv -f doc/cmd.txt.tmp doc/cmd.txt || die
|
||||
|
||||
if use doc; then
|
||||
einfo "Updating doxygen config"
|
||||
doxygen &>/dev/null -u config/Doxyfile || die
|
||||
fi
|
||||
|
||||
edos2unix samples/exiv2json.cpp # workaround for CVE-2017-18005 patch
|
||||
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DEXIV2_ENABLE_BUILD_SAMPLES=NO
|
||||
-DEXIV2_ENABLE_BUILD_PO=$(usex nls)
|
||||
-DEXIV2_ENABLE_NLS=$(usex nls)
|
||||
-DEXIV2_ENABLE_PNG=$(usex png)
|
||||
-DEXIV2_ENABLE_CURL=$(usex webready)
|
||||
-DEXIV2_ENABLE_SSH=$(usex webready)
|
||||
-DEXIV2_ENABLE_WEBREADY=$(usex webready)
|
||||
-DEXIV2_ENABLE_XMP=$(usex xmp)
|
||||
-DEXIV2_ENABLE_LIBXMP=NO
|
||||
$(multilib_is_native_abi || echo -DEXIV2_ENABLE_TOOLS=NO)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
cmake-utils_src_compile
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
use doc && emake -j1 doc
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
use xmp && DOCS+=( doc/{COPYING-XMPSDK,README-XMP,cmdxmp.txt} )
|
||||
use doc && HTML_DOCS=( "${S}"/doc/html/. )
|
||||
|
||||
einstalldocs
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc samples/*.cpp
|
||||
fi
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST feh-2.18.3.tar.bz2 2127924 BLAKE2B c667a7bea38e66afd4ed7c688c3232770041964893ead60dd35eb06a7db7abed8c2275e1126f7e2081a4df3abf8d551f4610a3dea4887dd7c4f0c9637e15b13a SHA512 3ffb44f8a2207c2c8725a519a23b7235a6df86aa8578b7b79a8819122e509d18dcc8263859e02cdbdeb5fb5ca56229f90aef567d53d63d763f8259fbc1fff515
|
||||
DIST feh-2.26.4.tar.bz2 2132124 BLAKE2B 962af7b7e806a8cea570c1512c377b0eb9ca9924706bdce63cebe7dad240d9b5a7f16c0291aedf954abb45bbecc4f835f77bccbd42101a7f99dea92a102fc0bb SHA512 cd78081a6ab821a0c6b20fa6746ec180df97ab3412e0cc56bbccaf700c443b4fd5f95edd9b2781ebb2eb85491946809c962039346830ae6f5f85ea0ae5e7de81
|
||||
DIST feh-2.27.tar.bz2 2131975 BLAKE2B 84100beaff26454c8d33a479171b1b59402b74d04860192e5e826dcac93a288b095afee6f0676b56eae0d1f8dd3c4998767d0cd196ffd3b6a5406f5c1e6eb1d9 SHA512 6d9cf38e9b40291f6e7145705057a2c945b720b22d85020e265c2a158d5e4ca68cca958e2fae3d01a91bb4b2c52ebb5d2c298c41bf8ff3e4f635af7c006d0cc7
|
||||
DIST feh-2.28.tar.bz2 2132687 BLAKE2B 92e428250a7fc01b5ecc8783d1a0f325ab168935eb6533a5726681389c05f662d9f7b978a50c2f1ef4d5cfd6f356e758cfff781072143902dbdab41f2310b705 SHA512 565a5aa0ce1c29fb2f09995283dbf2e12e0f228294df7c1b744a545e4f550126e0b327e9903c9eb35cb7dbd96d69e4653c57f3b3cb2dc2475680b3c62b71e1d8
|
||||
|
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit toolchain-funcs gnome2-utils xdg-utils
|
||||
|
||||
DESCRIPTION="A fast, lightweight imageviewer using imlib2"
|
||||
HOMEPAGE="https://feh.finalrewind.org/"
|
||||
SRC_URI="https://feh.finalrewind.org/${P}.tar.bz2"
|
||||
|
||||
LICENSE="feh"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
|
||||
IUSE="debug curl exif test xinerama"
|
||||
|
||||
COMMON_DEPEND="media-libs/imlib2[X]
|
||||
>=media-libs/libpng-1.2:0=
|
||||
x11-libs/libX11
|
||||
curl? ( net-misc/curl )
|
||||
exif? ( media-libs/libexif )
|
||||
xinerama? ( x11-libs/libXinerama )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
virtual/jpeg:0"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
x11-base/xorg-proto
|
||||
x11-libs/libXt
|
||||
test? (
|
||||
>=dev-lang/perl-5.10
|
||||
dev-perl/Test-Command
|
||||
)"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-2.6.2-debug-cflags.patch )
|
||||
|
||||
pkg_setup() {
|
||||
use_feh() { usex $1 1 0; }
|
||||
|
||||
fehopts=(
|
||||
DESTDIR="${D}"
|
||||
PREFIX="${EPREFIX}"/usr
|
||||
doc_dir='${main_dir}'/share/doc/${PF}
|
||||
example_dir='${main_dir}'/share/doc/${PF}/examples
|
||||
curl=$(use_feh curl)
|
||||
debug=$(use_feh debug)
|
||||
xinerama=$(use_feh xinerama)
|
||||
exif=$(use_feh exif)
|
||||
)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
emake "${fehopts[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake "${fehopts[@]}" install
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_mimeinfo_database_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_mimeinfo_database_update
|
||||
xdg_desktop_database_update
|
||||
}
|
Binary file not shown.
@ -0,0 +1,31 @@
|
||||
From df18323c622b54221ee7ace74b177cdcccc152d7 Mon Sep 17 00:00:00 2001
|
||||
From: "Brett T. Warden" <brett.t.warden@intel.com>
|
||||
Date: Tue, 28 Aug 2018 12:01:17 -0700
|
||||
Subject: [PATCH] Check MAX_CHANNELS in sndfile-deinterleave
|
||||
|
||||
Allocated buffer has space for only 16 channels. Verify that input file
|
||||
meets this limit.
|
||||
|
||||
Fixes #397
|
||||
---
|
||||
programs/sndfile-deinterleave.c | 7 +++++++
|
||||
1 file changed, 7 insertions(+)
|
||||
|
||||
diff --git a/programs/sndfile-deinterleave.c b/programs/sndfile-deinterleave.c
|
||||
index 53660310..225b4d54 100644
|
||||
--- a/programs/sndfile-deinterleave.c
|
||||
+++ b/programs/sndfile-deinterleave.c
|
||||
@@ -89,6 +89,13 @@ main (int argc, char **argv)
|
||||
exit (1) ;
|
||||
} ;
|
||||
|
||||
+ if (sfinfo.channels > MAX_CHANNELS)
|
||||
+ { printf ("\nError : Input file '%s' has too many (%d) channels. Limit is %d.\n",
|
||||
+ argv [1], sfinfo.channels, MAX_CHANNELS) ;
|
||||
+ exit (1) ;
|
||||
+ } ;
|
||||
+
|
||||
+
|
||||
state.channels = sfinfo.channels ;
|
||||
sfinfo.channels = 1 ;
|
||||
|
@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} )
|
||||
|
||||
inherit python-any-r1 multilib-minimal
|
||||
|
||||
MY_P=${P/_pre/pre}
|
||||
|
||||
DESCRIPTION="C library for reading and writing files containing sampled sound"
|
||||
HOMEPAGE="http://www.mega-nerd.com/libsndfile"
|
||||
if [[ ${MY_P} == ${P} ]]; then
|
||||
SRC_URI="http://www.mega-nerd.com/libsndfile/files/${P}.tar.gz"
|
||||
else
|
||||
SRC_URI="http://www.mega-nerd.com/tmp/${MY_P}b.tar.gz"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="alsa minimal sqlite static-libs test"
|
||||
|
||||
RDEPEND="
|
||||
!minimal? (
|
||||
>=media-libs/flac-1.2.1-r5[${MULTILIB_USEDEP}]
|
||||
>=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}]
|
||||
>=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}]
|
||||
)
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
sqlite? ( >=dev-db/sqlite-3.2 )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
test? ( ${PYTHON_DEPS} )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-arm-varargs-failure.patch
|
||||
"${FILESDIR}"/${P}-CVE-2017-12562.patch
|
||||
"${FILESDIR}"/${P}-CVE-2018-13139.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
--disable-octave \
|
||||
--enable-gcc-pipe \
|
||||
--enable-gcc-opt \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable !minimal external-libs) \
|
||||
$(multilib_native_enable full-suite) \
|
||||
$(multilib_native_use_enable alsa) \
|
||||
$(multilib_native_use_enable sqlite)
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
|
||||
# package provides .pc files
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
Binary file not shown.
@ -0,0 +1,59 @@
|
||||
From d4461f65be5aa440506bd23e90e71aaf8f0ebada Mon Sep 17 00:00:00 2001
|
||||
From: sidneys <sidneys.github.io@outlook.com>
|
||||
Date: Sat, 31 Mar 2018 02:57:19 +0200
|
||||
Subject: [PATCH] fix(updated-macos-build): prefix icu method calls
|
||||
(icu::BreakIterator, icu::Locale, icu::UnicodeString)
|
||||
|
||||
---
|
||||
libaegisub/common/character_count.cpp | 6 +++---
|
||||
src/utils.cpp | 4 ++--
|
||||
2 files changed, 5 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/libaegisub/common/character_count.cpp b/libaegisub/common/character_count.cpp
|
||||
index 0b8c70b31..1276f74fb 100644
|
||||
--- a/libaegisub/common/character_count.cpp
|
||||
+++ b/libaegisub/common/character_count.cpp
|
||||
@@ -36,7 +36,7 @@ icu::BreakIterator& get_break_iterator(const char *ptr, size_t len) {
|
||||
static std::once_flag token;
|
||||
std::call_once(token, [&] {
|
||||
UErrorCode status = U_ZERO_ERROR;
|
||||
- bi.reset(BreakIterator::createCharacterInstance(Locale::getDefault(), status));
|
||||
+ bi.reset(icu::BreakIterator::createCharacterInstance(icu::Locale::getDefault(), status));
|
||||
if (U_FAILURE(status)) throw agi::InternalError("Failed to create character iterator");
|
||||
});
|
||||
|
||||
@@ -58,7 +58,7 @@ size_t count_in_range(Iterator begin, Iterator end, int mask) {
|
||||
|
||||
size_t count = 0;
|
||||
auto pos = character_bi.first();
|
||||
- for (auto end = character_bi.next(); end != BreakIterator::DONE; pos = end, end = character_bi.next()) {
|
||||
+ for (auto end = character_bi.next(); end != icu::BreakIterator::DONE; pos = end, end = character_bi.next()) {
|
||||
if (!mask)
|
||||
++count;
|
||||
else {
|
||||
@@ -143,7 +143,7 @@ size_t IndexOfCharacter(std::string const& str, size_t n) {
|
||||
auto& bi = get_break_iterator(&str[0], str.size());
|
||||
|
||||
for (auto pos = bi.first(), end = bi.next(); ; --n, pos = end, end = bi.next()) {
|
||||
- if (end == BreakIterator::DONE)
|
||||
+ if (end == icu::BreakIterator::DONE)
|
||||
return str.size();
|
||||
if (n == 0)
|
||||
return pos;
|
||||
diff --git a/src/utils.cpp b/src/utils.cpp
|
||||
index 876c4c011..2416aa7a2 100644
|
||||
--- a/src/utils.cpp
|
||||
+++ b/src/utils.cpp
|
||||
@@ -270,9 +270,9 @@ agi::fs::path SaveFileSelector(wxString const& message, std::string const& optio
|
||||
}
|
||||
|
||||
wxString LocalizedLanguageName(wxString const& lang) {
|
||||
- Locale iculoc(lang.c_str());
|
||||
+ icu::Locale iculoc(lang.c_str());
|
||||
if (!iculoc.isBogus()) {
|
||||
- UnicodeString ustr;
|
||||
+ icu::UnicodeString ustr;
|
||||
iculoc.getDisplayName(iculoc, ustr);
|
||||
#ifdef _MSC_VER
|
||||
return wxString(ustr.getBuffer());
|
||||
|
Binary file not shown.
@ -1 +1 @@
|
||||
Tue, 18 Sep 2018 19:08:39 +0000
|
||||
Wed, 19 Sep 2018 04:08:37 +0000
|
||||
|
@ -1 +1 @@
|
||||
Tue, 18 Sep 2018 19:08:39 +0000
|
||||
Wed, 19 Sep 2018 04:08:37 +0000
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,15 @@
|
||||
DEFINED_PHASES=compile config configure install postinst prepare setup test unpack
|
||||
DEPEND=>=dev-libs/libfastjson-0.99.8:= >=dev-libs/libestr-0.1.9 >=sys-libs/zlib-1.2.5 curl? ( >=net-misc/curl-7.35.0 ) dbi? ( >=dev-db/libdbi-0.8.3 ) elasticsearch? ( >=net-misc/curl-7.35.0 ) gcrypt? ( >=dev-libs/libgcrypt-1.5.3:= ) grok? ( >=dev-libs/grok-0.9.2 ) jemalloc? ( >=dev-libs/jemalloc-3.3.1:= ) kafka? ( >=dev-libs/librdkafka-0.9.0.99:= ) kerberos? ( virtual/krb5 ) kubernetes? ( >=net-misc/curl-7.35.0 ) mdblookup? ( dev-libs/libmaxminddb:= ) mongodb? ( >=dev-libs/mongo-c-driver-1.1.10:= ) mysql? ( virtual/libmysqlclient:= ) normalize? ( >=dev-libs/libee-0.4.0 >=dev-libs/liblognorm-2.0.3:= ) omhttpfs? ( >=net-misc/curl-7.35.0 ) omudpspoof? ( >=net-libs/libnet-1.1.6 ) postgres? ( >=dev-db/postgresql-8.4.20:= ) rabbitmq? ( >=net-libs/rabbitmq-c-0.3.0:= ) redis? ( >=dev-libs/hiredis-0.11.0:= ) relp? ( >=dev-libs/librelp-1.2.17:= ) rfc3195? ( >=dev-libs/liblogging-1.0.1:=[rfc3195] ) rfc5424hmac? ( !libressl? ( >=dev-libs/openssl-0.9.8y:0= ) libressl? ( dev-libs/libressl:= ) ) snmp? ( >=net-analyzer/net-snmp-5.7.2 ) ssl? ( gnutls? ( >=net-libs/gnutls-2.12.23:0= ) openssl? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= ) ) ) systemd? ( >=sys-apps/systemd-234 ) uuid? ( sys-apps/util-linux:0= ) xxhash? ( dev-libs/xxhash:= ) zeromq? ( >=net-libs/czmq-3.0.2 ) >=sys-devel/autoconf-archive-2015.02.24 virtual/pkgconfig test? ( jemalloc? ( <sys-libs/libfaketime-0.9.7 ) !jemalloc? ( sys-libs/libfaketime ) || ( dev-lang/python:3.7 dev-lang/python:3.6 dev-lang/python:3.5 dev-lang/python:3.4 >=dev-lang/python-2.7.5-r2:2.7 ) ) >=app-portage/elt-patches-20170815 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig
|
||||
DESCRIPTION=An enhanced multi-threaded syslogd with database support and more
|
||||
EAPI=6
|
||||
HOMEPAGE=https://www.rsyslog.com/
|
||||
IUSE=curl dbi debug doc elasticsearch +gcrypt grok gnutls jemalloc kafka kerberos kubernetes libressl mdblookup mongodb mysql normalize omhttp omhttpfs omudpspoof openssl postgres rabbitmq redis relp rfc3195 rfc5424hmac snmp ssl systemd test usertools +uuid xxhash zeromq kernel_linux
|
||||
KEYWORDS=~amd64 ~arm ~arm64 ~hppa ~x86
|
||||
LICENSE=GPL-3 LGPL-3 Apache-2.0
|
||||
RDEPEND=>=dev-libs/libfastjson-0.99.8:= >=dev-libs/libestr-0.1.9 >=sys-libs/zlib-1.2.5 curl? ( >=net-misc/curl-7.35.0 ) dbi? ( >=dev-db/libdbi-0.8.3 ) elasticsearch? ( >=net-misc/curl-7.35.0 ) gcrypt? ( >=dev-libs/libgcrypt-1.5.3:= ) grok? ( >=dev-libs/grok-0.9.2 ) jemalloc? ( >=dev-libs/jemalloc-3.3.1:= ) kafka? ( >=dev-libs/librdkafka-0.9.0.99:= ) kerberos? ( virtual/krb5 ) kubernetes? ( >=net-misc/curl-7.35.0 ) mdblookup? ( dev-libs/libmaxminddb:= ) mongodb? ( >=dev-libs/mongo-c-driver-1.1.10:= ) mysql? ( virtual/libmysqlclient:= ) normalize? ( >=dev-libs/libee-0.4.0 >=dev-libs/liblognorm-2.0.3:= ) omhttpfs? ( >=net-misc/curl-7.35.0 ) omudpspoof? ( >=net-libs/libnet-1.1.6 ) postgres? ( >=dev-db/postgresql-8.4.20:= ) rabbitmq? ( >=net-libs/rabbitmq-c-0.3.0:= ) redis? ( >=dev-libs/hiredis-0.11.0:= ) relp? ( >=dev-libs/librelp-1.2.17:= ) rfc3195? ( >=dev-libs/liblogging-1.0.1:=[rfc3195] ) rfc5424hmac? ( !libressl? ( >=dev-libs/openssl-0.9.8y:0= ) libressl? ( dev-libs/libressl:= ) ) snmp? ( >=net-analyzer/net-snmp-5.7.2 ) ssl? ( gnutls? ( >=net-libs/gnutls-2.12.23:0= ) openssl? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= ) ) ) systemd? ( >=sys-apps/systemd-234 ) uuid? ( sys-apps/util-linux:0= ) xxhash? ( dev-libs/xxhash:= ) zeromq? ( >=net-libs/czmq-3.0.2 )
|
||||
REQUIRED_USE=kubernetes? ( normalize ) ssl? ( || ( gnutls openssl ) )
|
||||
RESTRICT=!test? ( test )
|
||||
SLOT=0
|
||||
SRC_URI=https://www.rsyslog.com/files/download/rsyslog/rsyslog-8.38.0.tar.gz doc? ( https://www.rsyslog.com/files/download/rsyslog/rsyslog-doc-8.38.0.tar.gz )
|
||||
_eclasses_=autotools 1bf086cdd7356f5c9a4acd9727bd2065 desktop b1d22ac8bdd4679ab79c71aca235009d eapi7-ver 756b3f27d8e46131d5cf3c51bd876446 epatch a1bf4756dba418a7238f3be0cb010c54 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 6e6c2737b59a4b982de6fb3ecefd87f8 libtool f143db5a74ccd9ca28c1234deffede96 linux-info 915cae3d7d636732918d18827fb1c226 ltprune 08f9e1d9ee0af8f5d9a7854efbcd8c0e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 python-any-r1 4900ae970f827a22d33d41bd8b8f9ace python-utils-r1 12114a2a9aab35b93efc037a196b3234 systemd 47c677ae1d7b69031f11f630ac09f0d1 toolchain-funcs e4a9360924c5ce9f52e61342cde58512 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf
|
||||
_md5_=a95e42a2b48ae968c30b44bb6fcef0c7
|
Binary file not shown.
@ -0,0 +1,9 @@
|
||||
DEFINED_PHASES=install
|
||||
DESCRIPTION=a set of small utilities that are useful in advanced password cracking
|
||||
EAPI=7
|
||||
HOMEPAGE=https://github.com/hashcat/hashcat-utils
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=MIT
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/hashcat/hashcat-utils/archive/v1.9.tar.gz -> hashcat-utils-1.9.tar.gz
|
||||
_md5_=6cc504ef0ca336fb10f2352b77507c7d
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install prepare
|
||||
DEPEND=app-text/libpaper media-libs/fontconfig >=media-libs/freetype-2.4.9:2= media-libs/jbig2dec >=media-libs/lcms-2.6:2 >=media-libs/libpng-1.6.2:0= >=media-libs/openjpeg-2.1.0:2= >=sys-libs/zlib-1.2.7:= virtual/jpeg:0 cups? ( >=net-print/cups-1.3.8 ) dbus? ( sys-apps/dbus ) gtk? ( || ( x11-libs/gtk+:3 x11-libs/gtk+:2 ) ) unicode? ( net-dns/libidn:= ) tiff? ( >=media-libs/tiff-4.0.1:0= ) X? ( x11-libs/libXt x11-libs/libXext ) virtual/pkgconfig >=app-portage/elt-patches-20170815 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||
DESCRIPTION=Ghostscript is an interpreter for the PostScript language and for PDF
|
||||
EAPI=6
|
||||
HOMEPAGE=https://ghostscript.com/
|
||||
IUSE=cups dbus gtk l10n_de static-libs tiff unicode X l10n_ja l10n_ko l10n_zh-CN l10n_zh-TW
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd
|
||||
LICENSE=AGPL-3 CPL-1.0
|
||||
RDEPEND=app-text/libpaper media-libs/fontconfig >=media-libs/freetype-2.4.9:2= media-libs/jbig2dec >=media-libs/lcms-2.6:2 >=media-libs/libpng-1.6.2:0= >=media-libs/openjpeg-2.1.0:2= >=sys-libs/zlib-1.2.7:= virtual/jpeg:0 cups? ( >=net-print/cups-1.3.8 ) dbus? ( sys-apps/dbus ) gtk? ( || ( x11-libs/gtk+:3 x11-libs/gtk+:2 ) ) unicode? ( net-dns/libidn:= ) tiff? ( >=media-libs/tiff-4.0.1:0= ) X? ( x11-libs/libXt x11-libs/libXext ) >=app-text/poppler-data-0.4.5-r1 >=media-fonts/urw-fonts-2.4.9 l10n_ja? ( media-fonts/kochi-substitute ) l10n_ko? ( media-fonts/baekmuk-fonts ) l10n_zh-CN? ( media-fonts/arphicfonts ) l10n_zh-TW? ( media-fonts/arphicfonts ) !!media-fonts/gnu-gs-fonts-std !!media-fonts/gnu-gs-fonts-other !<net-print/cups-filters-1.0.36-r2
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs925/ghostscript-9.25.tar.xz https://dev.gentoo.org/~dilfridge/distfiles/ghostscript-gpl-9.25-patchset-1.tar.xz
|
||||
_eclasses_=autotools 1bf086cdd7356f5c9a4acd9727bd2065 desktop b1d22ac8bdd4679ab79c71aca235009d epatch a1bf4756dba418a7238f3be0cb010c54 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 6e6c2737b59a4b982de6fb3ecefd87f8 flag-o-matic 55aaa148741116aa54ad0d80e361818e libtool f143db5a74ccd9ca28c1234deffede96 ltprune 08f9e1d9ee0af8f5d9a7854efbcd8c0e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs e4a9360924c5ce9f52e61342cde58512 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf versionator 2352c3fc97241f6a02042773c8287748
|
||||
_md5_=0981c473be8c58275fb294a289b6f984
|
Binary file not shown.
@ -1,11 +0,0 @@
|
||||
DEFINED_PHASES=-
|
||||
DEPEND=sys-libs/ncurses:*
|
||||
DESCRIPTION=A better pager for psql and mysql
|
||||
EAPI=6
|
||||
HOMEPAGE=https://github.com/okbob/pspg
|
||||
KEYWORDS=amd64 x86
|
||||
LICENSE=BSD-2
|
||||
RDEPEND=sys-libs/ncurses:*
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/okbob/pspg/archive/0.8.0.tar.gz -> pspg-0.8.0.tar.gz
|
||||
_md5_=f2f74bea8fa504eaf4860e89e683e1ee
|
@ -1,11 +0,0 @@
|
||||
DEFINED_PHASES=-
|
||||
DEPEND=sys-libs/ncurses:*
|
||||
DESCRIPTION=A better pager for psql and mysql
|
||||
EAPI=6
|
||||
HOMEPAGE=https://github.com/okbob/pspg
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=BSD-2
|
||||
RDEPEND=sys-libs/ncurses:*
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/okbob/pspg/archive/0.9.2.tar.gz -> pspg-0.9.2.tar.gz
|
||||
_md5_=584f8a3d3cb871e00337361288a09afa
|
@ -1,11 +0,0 @@
|
||||
DEFINED_PHASES=-
|
||||
DEPEND=sys-libs/ncurses:*
|
||||
DESCRIPTION=A better pager for psql and mysql
|
||||
EAPI=6
|
||||
HOMEPAGE=https://github.com/okbob/pspg
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=BSD-2
|
||||
RDEPEND=sys-libs/ncurses:*
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/okbob/pspg/archive/0.9.3.tar.gz -> pspg-0.9.3.tar.gz
|
||||
_md5_=584f8a3d3cb871e00337361288a09afa
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue