parent
2998235431
commit
9ffc55cad8
@ -1,2 +1 @@
|
||||
DIST sphinx3-0.6.3.tar.gz 26070353 SHA256 f6a070a67d91ccd00dbce7b6cc55242ed7a5ebaae6d6429eb0364657c4056ede SHA512 2f784459a18692594c0834dac1ee814eb663cca1e4b2906d31915f1e518efc83e760f5ae1a15d3b274a8e8e0ffbc43e56bb338f098a8abc304429b4d8262c11e WHIRLPOOL 4ba83a919a57f2c80450fe9b110179403e7e02adc930e749f7c331d393e71ce798cf194a768db7a735a9bc9879bd31294e471f34abc89ab8caa9bde404d2a84f
|
||||
DIST sphinx3-0.8.tar.gz 25226326 SHA256 1cf76a086f9b509e35f7226df2e61b0a0bf8b0858b9676e5b18cfc47b2ea2741 SHA512 85b8e574e2f92a758c8c56ef11b873c49ef8a376e964f30a12d75850d4a0db56e3108eaea25fa5587675ef2ffa4531a13f0f182a85cc8e434c6bcee42058e050 WHIRLPOOL 0f3604b4fa320f59e4ee65b79c4a779c48f2822a944b28b85a740826244f5eb7adc072538919c97ebf4eb270660fbe6f5b30b55cc67ec6276358063cf340aa7b
|
||||
|
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
DESCRIPTION="CMU Speech Recognition engine"
|
||||
HOMEPAGE="http://fife.speech.cs.cmu.edu/sphinx/"
|
||||
SRC_URI="mirror://sourceforge/cmusphinx/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/${PN}-${PV:0:3}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
dodoc AUTHORS ChangeLog NEWS README
|
||||
cd doc
|
||||
dohtml -r -x CVS s3* s3 *.html
|
||||
}
|
@ -0,0 +1,417 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
|
||||
inherit autotools-utils eutils systemd
|
||||
|
||||
DESCRIPTION="An enhanced multi-threaded syslogd with database support and more"
|
||||
HOMEPAGE="http://www.rsyslog.com/"
|
||||
|
||||
BRANCH="8-stable"
|
||||
|
||||
PATCHES=()
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
EGIT_REPO_URI="
|
||||
git://github.com/rsyslog/${PN}.git
|
||||
https://github.com/rsyslog/${PN}.git
|
||||
"
|
||||
|
||||
DOC_REPO_URI="
|
||||
git://github.com/rsyslog/${PN}-doc.git
|
||||
https://github.com/rsyslog/${PN}-doc.git
|
||||
"
|
||||
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="
|
||||
http://www.rsyslog.com/files/download/${PN}/${P}.tar.gz
|
||||
doc? ( http://www.rsyslog.com/files/download/${PN}/${PN}-doc-${PV}.tar.gz )
|
||||
"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~x86"
|
||||
|
||||
PATCHES+=( "${FILESDIR}"/8-stable/40-rsyslog-fix-parallel-build-issue-479.patch )
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3 LGPL-3 Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="dbi debug doc elasticsearch +gcrypt jemalloc kerberos libressl mongodb mysql normalize omudpspoof
|
||||
postgres rabbitmq redis relp rfc3195 rfc5424hmac snmp ssl systemd test usertools zeromq"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/json-c-0.11:=
|
||||
>=dev-libs/libestr-0.1.9
|
||||
>=dev-libs/liblogging-1.0.1:=[stdlog]
|
||||
>=sys-libs/zlib-1.2.5
|
||||
dbi? ( >=dev-db/libdbi-0.8.3 )
|
||||
elasticsearch? ( >=net-misc/curl-7.35.0 )
|
||||
gcrypt? ( >=dev-libs/libgcrypt-1.5.3:= )
|
||||
jemalloc? ( >=dev-libs/jemalloc-3.3.1 )
|
||||
kerberos? ( virtual/krb5 )
|
||||
mongodb? ( >=dev-libs/libmongo-client-0.1.4 )
|
||||
mysql? ( virtual/mysql )
|
||||
normalize? (
|
||||
>=dev-libs/libee-0.4.0
|
||||
>=dev-libs/liblognorm-1.1.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.5 )
|
||||
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? ( >=net-libs/gnutls-2.12.23 )
|
||||
systemd? ( >=sys-apps/systemd-208 )
|
||||
zeromq? ( >=net-libs/czmq-1.2.0 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
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
|
||||
|
||||
# Maitainer note : open a bug to upstream
|
||||
# showing that building in a separate dir fails
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
|
||||
AUTOTOOLS_PRUNE_LIBTOOL_FILES="modules"
|
||||
|
||||
DOCS=(
|
||||
AUTHORS
|
||||
ChangeLog
|
||||
"${FILESDIR}"/${BRANCH}/README.gentoo
|
||||
)
|
||||
|
||||
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
|
||||
local doc_tarball="${PN}-doc-${PV}.tar.gz"
|
||||
|
||||
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 ${doc_tarball}
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
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
|
||||
$(use_enable test testbench)
|
||||
# Input Plugins without depedencies
|
||||
--enable-imdiag
|
||||
--enable-imfile
|
||||
--enable-impstats
|
||||
--enable-imptcp
|
||||
# Message Modificiation Plugins without depedencies
|
||||
--enable-mmanon
|
||||
--enable-mmaudit
|
||||
--enable-mmfields
|
||||
--enable-mmjsonparse
|
||||
--enable-mmpstrucdata
|
||||
--enable-mmsequence
|
||||
--enable-mmutf8fix
|
||||
# Output Modification Plugins without dependencies
|
||||
--enable-mail
|
||||
--enable-omprog
|
||||
--enable-omruleset
|
||||
--enable-omstdout
|
||||
--enable-omuxsock
|
||||
# Misc
|
||||
--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 rtinst)
|
||||
$(use_enable debug valgrind)
|
||||
# Misc
|
||||
$(use_enable elasticsearch)
|
||||
$(use_enable gcrypt libgcrypt)
|
||||
$(use_enable jemalloc)
|
||||
$(use_enable kerberos gssapi-krb5)
|
||||
$(use_enable normalize mmnormalize)
|
||||
$(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 ssl gnutls)
|
||||
$(use_enable systemd imjournal)
|
||||
$(use_enable systemd omjournal)
|
||||
$(use_enable usertools)
|
||||
$(use_enable zeromq imzmq3)
|
||||
$(use_enable zeromq omzmq3)
|
||||
"$(systemd_with_unitdir)"
|
||||
)
|
||||
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
autotools-utils_src_compile
|
||||
|
||||
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=
|
||||
|
||||
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() {
|
||||
use doc && HTML_DOCS=( "${S}/docs/build/" )
|
||||
autotools-utils_src_install
|
||||
|
||||
newconfd "${FILESDIR}/${BRANCH}/${PN}.confd" ${PN}
|
||||
newinitd "${FILESDIR}/${BRANCH}/${PN}.initd" ${PN}
|
||||
|
||||
keepdir /var/empty/dev
|
||||
keepdir /var/spool/${PN}
|
||||
keepdir /etc/ssl/${PN}
|
||||
keepdir /etc/${PN}.d
|
||||
|
||||
insinto /etc
|
||||
newins "${FILESDIR}/${BRANCH}/${PN}.conf" ${PN}.conf
|
||||
|
||||
insinto /etc/rsyslog.d/
|
||||
doins "${FILESDIR}/${BRANCH}/50-default.conf"
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${BRANCH}/${PN}.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
|
||||
}
|
||||
|
||||
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 [[ -z "${REPLACING_VERSIONS}" ]] || [[ ${REPLACING_VERSIONS} < 8.0 ]]; then
|
||||
# Show this message until rsyslog-8.x
|
||||
echo
|
||||
elog "Since ${PN}-7.6.3 we no longer use the catch-all log target"
|
||||
elog "\"/var/log/syslog\" due to its redundancy to the other log targets."
|
||||
|
||||
advertise_readme=1
|
||||
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
|
||||
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 " http://www.rsyslog.com/doc/rsyslog_tls.html"
|
||||
}
|
@ -0,0 +1,143 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit autotools python-any-r1 eutils multilib systemd versionator
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
MY_PV_MM=$(get_version_component_range 1-2)
|
||||
DESCRIPTION="syslog replacement with advanced filtering features"
|
||||
HOMEPAGE="http://www.balabit.com/network-security/syslog-ng"
|
||||
SRC_URI="https://github.com/balabit/syslog-ng/releases/download/${P}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="amqp caps dbi geoip ipv6 json libressl mongodb pacct python redis smtp spoof-source systemd tcpd"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
caps? ( sys-libs/libcap )
|
||||
dbi? ( >=dev-db/libdbi-0.8.3 )
|
||||
geoip? ( >=dev-libs/geoip-1.5.0 )
|
||||
json? ( >=dev-libs/json-c-0.9 )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
redis? ( dev-libs/hiredis )
|
||||
smtp? ( net-libs/libesmtp )
|
||||
spoof-source? ( net-libs/libnet:1.1 )
|
||||
systemd? ( sys-apps/systemd )
|
||||
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
|
||||
dev-libs/libpcre
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
>=dev-libs/eventlog-0.2.12
|
||||
>=dev-libs/glib-2.10.1:2"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
sys-devel/flex"
|
||||
|
||||
S=${WORKDIR}/${PN}-${MY_PV}
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch_user
|
||||
use python && python_fix_shebang .
|
||||
|
||||
if use !json ; then
|
||||
sed -i \
|
||||
-e '1 s/cim //' \
|
||||
scl/Makefile.am || die
|
||||
eautoreconf
|
||||
fi
|
||||
|
||||
cp "${FILESDIR}"/*logrotate*.in "${TMPDIR}" || die
|
||||
cd "${TMPDIR}" || die
|
||||
|
||||
for f in *logrotate*.in ; do
|
||||
if use systemd ; then
|
||||
sed \
|
||||
's/@GENTOO_RESTART@/systemctl kill -s HUP syslog-ng/' \
|
||||
$f > ${f/.in/} || die
|
||||
else
|
||||
sed \
|
||||
's:@GENTOO_RESTART@:/etc/init.d/syslog-ng reload:' \
|
||||
$f > ${f/.in/} || die
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-java \
|
||||
--disable-docs \
|
||||
--enable-manpages \
|
||||
--with-embedded-crypto \
|
||||
--with-ivykis=internal \
|
||||
--with-libmongo-client=internal \
|
||||
--sysconfdir=/etc/syslog-ng \
|
||||
--localstatedir=/var/lib/syslog-ng \
|
||||
--with-pidfile-dir=/var/run \
|
||||
--with-module-dir=/usr/$(get_libdir)/syslog-ng \
|
||||
$(systemd_with_unitdir) \
|
||||
$(use_enable systemd) \
|
||||
$(use_enable caps linux-caps) \
|
||||
$(use_enable geoip) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable json) \
|
||||
$(use_enable mongodb) \
|
||||
$(use_enable pacct) \
|
||||
$(use_enable python) \
|
||||
$(use_enable redis) \
|
||||
$(use_enable smtp) \
|
||||
$(use_enable amqp) \
|
||||
$(usex amqp --with-librabbitmq-client=internal --without-librabbitmq-client) \
|
||||
$(use_enable spoof-source) \
|
||||
$(use_enable dbi sql) \
|
||||
$(use_enable tcpd tcp-wrapper)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# -j1 for bug #484470
|
||||
emake -j1 DESTDIR="${D}" install
|
||||
|
||||
dodoc AUTHORS NEWS.md CONTRIBUTING.md contrib/syslog-ng.conf* \
|
||||
contrib/syslog2ng "${FILESDIR}/${MY_PV_MM}/syslog-ng.conf.gentoo.hardened" \
|
||||
"${TMPDIR}/syslog-ng.logrotate.hardened" "${FILESDIR}/README.hardened"
|
||||
|
||||
# Install default configuration
|
||||
insinto /etc/syslog-ng
|
||||
if use userland_BSD ; then
|
||||
newins "${FILESDIR}/${MY_PV_MM}/syslog-ng.conf.gentoo.fbsd" syslog-ng.conf
|
||||
else
|
||||
newins "${FILESDIR}/${MY_PV_MM}/syslog-ng.conf.gentoo" syslog-ng.conf
|
||||
fi
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${TMPDIR}/syslog-ng.logrotate" syslog-ng
|
||||
|
||||
newinitd "${FILESDIR}/${MY_PV_MM}/syslog-ng.rc6" syslog-ng
|
||||
newconfd "${FILESDIR}/${MY_PV_MM}/syslog-ng.confd" syslog-ng
|
||||
keepdir /etc/syslog-ng/patterndb.d /var/lib/syslog-ng
|
||||
prune_libtool_files --modules
|
||||
|
||||
use python && python_optimize
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "For detailed documentation please see the upstream website:"
|
||||
elog "http://www.balabit.com/sites/default/files/documents/syslog-ng-ose-3.7-guides/en/syslog-ng-ose-v3.7-guide-admin/html/index.html"
|
||||
|
||||
# bug #355257
|
||||
if ! has_version app-admin/logrotate ; then
|
||||
echo
|
||||
elog "It is highly recommended that app-admin/logrotate be emerged to"
|
||||
elog "manage the log files. ${PN} installs a file in /etc/logrotate.d"
|
||||
elog "for logrotate to use."
|
||||
echo
|
||||
fi
|
||||
}
|
@ -0,0 +1,93 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils libtool multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="BSD tar command"
|
||||
HOMEPAGE="http://www.libarchive.org/"
|
||||
SRC_URI="http://www.libarchive.org/downloads/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD BSD-2 BSD-4 public-domain"
|
||||
SLOT="0/13"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="acl +bzip2 +e2fsprogs expat +iconv kernel_linux libressl +lzma lzo nettle static-libs xattr +zlib"
|
||||
|
||||
RDEPEND="
|
||||
!libressl? ( dev-libs/openssl:0 )
|
||||
libressl? ( dev-libs/libressl )
|
||||
acl? ( virtual/acl )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
expat? ( dev-libs/expat )
|
||||
!expat? ( dev-libs/libxml2 )
|
||||
iconv? ( virtual/libiconv )
|
||||
kernel_linux? (
|
||||
xattr? ( sys-apps/attr )
|
||||
)
|
||||
lzma? ( app-arch/xz-utils )
|
||||
lzo? ( >=dev-libs/lzo-2 )
|
||||
nettle? ( dev-libs/nettle )
|
||||
zlib? ( sys-libs/zlib )"
|
||||
DEPEND="${RDEPEND}
|
||||
kernel_linux? (
|
||||
virtual/os-headers
|
||||
e2fsprogs? ( sys-fs/e2fsprogs )
|
||||
)"
|
||||
|
||||
DOCS="NEWS README"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-CVE-2013-0211.patch
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export ac_cv_header_ext2fs_ext2_fs_h=$(usex e2fsprogs) #354923
|
||||
|
||||
# We disable lzmadec because we support the newer liblzma from xz-utils
|
||||
# and not liblzmadec with this version.
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
--enable-bsdtar=$(tc-is-static-only && echo static || echo shared) \
|
||||
--enable-bsdcpio=$(tc-is-static-only && echo static || echo shared) \
|
||||
$(use_enable xattr) \
|
||||
$(use_enable acl) \
|
||||
$(use_with zlib) \
|
||||
$(use_with bzip2 bz2lib) \
|
||||
--without-lzmadec \
|
||||
$(use_with iconv) \
|
||||
$(use_with lzma) \
|
||||
$(use_with lzo lzo2) \
|
||||
$(use_with nettle) \
|
||||
$(use_with !expat xml2) \
|
||||
$(use_with expat)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Replace the default src_test so that it builds tests in parallel
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Libs.private: should be used from libarchive.pc instead
|
||||
prune_libtool_files
|
||||
|
||||
# Create tar symlink for FreeBSD
|
||||
if ! use prefix && [[ ${CHOST} == *-freebsd* ]]; then
|
||||
dosym bsdtar /usr/bin/tar
|
||||
echo '.so bsdtar.1' > "${T}"/tar.1
|
||||
doman "${T}"/tar.1
|
||||
# We may wish to switch to symlink bsdcpio to cpio too one day
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
preserve_old_lib /usr/$(get_libdir)/${PN}$(get_libname 12)
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
preserve_old_lib_notify /usr/$(get_libdir)/${PN}$(get_libname 12)
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="InstallShield CAB file extractor"
|
||||
HOMEPAGE="https://github.com/twogood/unshield http://sourceforge.net/projects/synce/"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
|
||||
IUSE="libressl static-libs"
|
||||
|
||||
RDEPEND="
|
||||
!libressl? ( dev-libs/openssl:0 )
|
||||
libressl? ( dev-libs/libressl )
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-bootstrap.patch
|
||||
./bootstrap
|
||||
sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #467548
|
||||
AT_M4DIR=m4 eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
--with-ssl
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc README
|
||||
|
||||
find "${D}" -name '*.la' -exec rm -f {} +
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST zeal-0.1.1.tar.gz 914203 SHA256 f4e959f9bc66a6e350ee8a33d34695379633432d103db9776c0c7a76cbc5a9d6 SHA512 388f3fdeb373d0061e72395d0e11a01cbe2365149a697cc3291b76f76f56e211afa96e6e31660ad16c88b67d62218f3d3b7a762102c0df45280bf85e2bfdfe8b WHIRLPOOL 5a5b2ecc49b724f642cb1e658d742b894620cf33f3086d5984033d9aaa7606726ff54522d2f78f1c06b555a59875e0595b2402d045728f474dd7b41cd42be3a5
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>tranquility@gentoo.org</email>
|
||||
<name>Ole Reifschneider</name>
|
||||
<description>Offline documentation browser inspired by Dash</description>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit qmake-utils gnome2-utils fdo-mime
|
||||
|
||||
DESCRIPTION="Offline documentation browser inspired by Dash"
|
||||
HOMEPAGE="https://zealdocs.org/"
|
||||
SRC_URI="https://github.com/zealdocs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/${P}/src"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="
|
||||
app-arch/libarchive
|
||||
>=dev-qt/qtconcurrent-5.2.0:5
|
||||
>=dev-qt/qtgui-5.4.0:5
|
||||
>=dev-qt/qtnetwork-5.4.0
|
||||
>=dev-qt/qtsql-5.4.0:5
|
||||
>=dev-qt/qtwebkit-5.4.0:5
|
||||
>=dev-qt/qtwidgets-5.4.0:5
|
||||
>=x11-libs/xcb-util-keysyms-0.3.9
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
x11-themes/hicolor-icon-theme
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
eqmake5
|
||||
PREFIX="${EPREFIX}/usr"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" PREFIX="${EPREFIX}/usr" install
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -0,0 +1,347 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools elisp-common eutils flag-o-matic multilib readme.gentoo
|
||||
|
||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
||||
HOMEPAGE="https://www.gnu.org/software/emacs/"
|
||||
SRC_URI="mirror://gnu/emacs/${P}.tar.xz
|
||||
https://dev.gentoo.org/~ulm/emacs/${P}-patches-1.tar.xz"
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
|
||||
SLOT="24"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="acl alsa aqua athena dbus games gconf gfile gif gnutls gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm zlib"
|
||||
REQUIRED_USE="?? ( aqua X )"
|
||||
|
||||
RDEPEND="sys-libs/ncurses:0
|
||||
>=app-eselect/eselect-emacs-1.16
|
||||
>=app-emacs/emacs-common-gentoo-1.5[games?,X?]
|
||||
net-libs/liblockfile
|
||||
acl? ( virtual/acl )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
dbus? ( sys-apps/dbus )
|
||||
gnutls? ( net-libs/gnutls )
|
||||
gpm? ( sys-libs/gpm )
|
||||
hesiod? ( net-dns/hesiod )
|
||||
!inotify? ( gfile? ( >=dev-libs/glib-2.28.6 ) )
|
||||
kerberos? ( virtual/krb5 )
|
||||
libxml2? ( >=dev-libs/libxml2-2.2.0 )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
zlib? ( sys-libs/zlib )
|
||||
X? (
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
x11-misc/xbitmaps
|
||||
gconf? ( >=gnome-base/gconf-2.26.2 )
|
||||
gsettings? ( >=dev-libs/glib-2.28.6 )
|
||||
gif? ( media-libs/giflib )
|
||||
jpeg? ( virtual/jpeg:0= )
|
||||
png? ( >=media-libs/libpng-1.4:0= )
|
||||
svg? ( >=gnome-base/librsvg-2.0 )
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
imagemagick? ( >=media-gfx/imagemagick-6.6.2 )
|
||||
xft? (
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
x11-libs/libXft
|
||||
m17n-lib? (
|
||||
>=dev-libs/libotf-0.9.4
|
||||
>=dev-libs/m17n-lib-1.5.1
|
||||
)
|
||||
)
|
||||
gtk? (
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
!gtk3? ( x11-libs/gtk+:2 )
|
||||
)
|
||||
!gtk? (
|
||||
motif? ( >=x11-libs/motif-2.3:0 )
|
||||
!motif? (
|
||||
Xaw3d? ( x11-libs/libXaw3d )
|
||||
!Xaw3d? ( athena? ( x11-libs/libXaw ) )
|
||||
)
|
||||
)
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
gzip-el? ( app-arch/gzip )
|
||||
pax_kernel? (
|
||||
sys-apps/attr
|
||||
sys-apps/paxctl
|
||||
)"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
!<app-editors/emacs-vcs-${PV}"
|
||||
|
||||
EMACS_SUFFIX="${PN/emacs/emacs-${SLOT}}"
|
||||
SITEFILE="20${PN}-${SLOT}-gentoo.el"
|
||||
# FULL_VERSION keeps the full version number, which is needed in
|
||||
# order to determine some path information correctly for copy/move
|
||||
# operations later on
|
||||
FULL_VERSION="${PV%%_*}"
|
||||
S="${WORKDIR}/emacs-${FULL_VERSION}"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_SUFFIX=patch epatch
|
||||
epatch_user
|
||||
|
||||
# Fix filename reference in redirected man page
|
||||
sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 \
|
||||
|| die "unable to sed ctags.1"
|
||||
|
||||
AT_M4DIR=m4 eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
strip-flags
|
||||
filter-flags -pie #526948
|
||||
|
||||
if use sh; then
|
||||
replace-flags "-O[1-9]" -O0 #262359
|
||||
elif use ia64; then
|
||||
replace-flags "-O[2-9]" -O1 #325373
|
||||
else
|
||||
replace-flags "-O[3-9]" -O2
|
||||
fi
|
||||
|
||||
local myconf
|
||||
|
||||
if use alsa; then
|
||||
use sound || ewarn \
|
||||
"USE flag \"alsa\" overrides \"-sound\"; enabling sound support."
|
||||
myconf+=" --with-sound=alsa"
|
||||
else
|
||||
myconf+=" --with-sound=$(usex sound oss)"
|
||||
fi
|
||||
|
||||
if use X; then
|
||||
myconf+=" --with-x --without-ns"
|
||||
myconf+=" $(use_with gconf)"
|
||||
myconf+=" $(use_with gsettings)"
|
||||
myconf+=" $(use_with toolkit-scroll-bars)"
|
||||
myconf+=" $(use_with gif)"
|
||||
myconf+=" $(use_with jpeg)"
|
||||
myconf+=" $(use_with png)"
|
||||
myconf+=" $(use_with svg rsvg)"
|
||||
myconf+=" $(use_with tiff)"
|
||||
myconf+=" $(use_with xpm)"
|
||||
myconf+=" $(use_with imagemagick)"
|
||||
|
||||
if use xft; then
|
||||
myconf+=" --with-xft"
|
||||
myconf+=" $(use_with m17n-lib libotf)"
|
||||
myconf+=" $(use_with m17n-lib m17n-flt)"
|
||||
else
|
||||
myconf+=" --without-xft"
|
||||
myconf+=" --without-libotf --without-m17n-flt"
|
||||
use m17n-lib && ewarn \
|
||||
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
|
||||
fi
|
||||
|
||||
local f
|
||||
if use gtk; then
|
||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
||||
while read line; do ewarn "${line}"; done <<-EOF
|
||||
Your version of GTK+ will have problems with closing open
|
||||
displays. This is no problem if you just use one display, but
|
||||
if you use more than one and close one of them Emacs may crash.
|
||||
See <https://bugzilla.gnome.org/show_bug.cgi?id=85715>.
|
||||
If you intend to use more than one display, then it is strongly
|
||||
recommended that you compile Emacs with the Athena/Lucid or the
|
||||
Motif toolkit instead.
|
||||
EOF
|
||||
myconf+=" --with-x-toolkit=$(usex gtk3 gtk3 gtk2)"
|
||||
for f in motif Xaw3d athena; do
|
||||
use ${f} && ewarn \
|
||||
"USE flag \"${f}\" has no effect if \"gtk\" is set."
|
||||
done
|
||||
elif use motif; then
|
||||
einfo "Configuring to build with Motif toolkit"
|
||||
myconf+=" --with-x-toolkit=motif"
|
||||
for f in Xaw3d athena; do
|
||||
use ${f} && ewarn \
|
||||
"USE flag \"${f}\" has no effect if \"motif\" is set."
|
||||
done
|
||||
elif use athena || use Xaw3d; then
|
||||
einfo "Configuring to build with Athena/Lucid toolkit"
|
||||
myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
||||
else
|
||||
einfo "Configuring to build with no toolkit"
|
||||
myconf+=" --with-x-toolkit=no"
|
||||
fi
|
||||
elif use aqua; then
|
||||
einfo "Configuring to build with Nextstep (Cocoa) support"
|
||||
myconf+=" --with-ns --disable-ns-self-contained"
|
||||
myconf+=" --without-x"
|
||||
else
|
||||
myconf+=" --without-x --without-ns"
|
||||
fi
|
||||
|
||||
# Save version information in the Emacs binary. It will be available
|
||||
# in variable "system-configuration-options".
|
||||
myconf+=" GENTOO_PACKAGE=${CATEGORY}/${PF}"
|
||||
|
||||
econf \
|
||||
--program-suffix="-${EMACS_SUFFIX}" \
|
||||
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
|
||||
--localstatedir="${EPREFIX}"/var \
|
||||
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
|
||||
--with-gameuser=":gamestat" \
|
||||
--without-compress-install \
|
||||
--with-file-notification=$(usev inotify || usev gfile || echo no) \
|
||||
$(use_enable acl) \
|
||||
$(use_with dbus) \
|
||||
$(use_with gnutls) \
|
||||
$(use_with gpm) \
|
||||
$(use_with hesiod) \
|
||||
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
||||
$(use_with libxml2 xml2) \
|
||||
$(use_with selinux) \
|
||||
$(use_with wide-int) \
|
||||
$(use_with zlib) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
|
||||
emake
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" NO_BIN_LINK=t install
|
||||
|
||||
mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} \
|
||||
|| die "moving emacs executable failed"
|
||||
mv "${ED}"/usr/share/man/man1/{emacs-,}${EMACS_SUFFIX}.1 \
|
||||
|| die "moving emacs man page failed"
|
||||
|
||||
# move info dir to avoid collisions with the dir file generated by portage
|
||||
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} \
|
||||
|| die "moving info dir failed"
|
||||
touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir
|
||||
docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig
|
||||
|
||||
# avoid collision between slots, see bug #169033 e.g.
|
||||
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
|
||||
rm -rf "${ED}"/usr/share/{applications,icons}
|
||||
rm -rf "${ED}"/var
|
||||
|
||||
# remove unused <version>/site-lisp dir
|
||||
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
|
||||
|
||||
# remove COPYING file (except for etc/COPYING used by describe-copying)
|
||||
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING
|
||||
|
||||
if use gzip-el; then
|
||||
# compress .el files when a corresponding .elc exists
|
||||
find "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp -type f \
|
||||
-name "*.elc" -print | sed 's/\.elc$/.el/' | xargs gzip -9n
|
||||
assert "gzip .el failed"
|
||||
fi
|
||||
|
||||
local cdir
|
||||
if use source; then
|
||||
cdir="/usr/share/emacs/${FULL_VERSION}/src"
|
||||
insinto "${cdir}"
|
||||
# This is not meant to install all the source -- just the
|
||||
# C source you might find via find-function
|
||||
doins src/*.{c,h,m}
|
||||
elif has installsources ${FEATURES}; then
|
||||
cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src"
|
||||
fi
|
||||
|
||||
sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF
|
||||
X
|
||||
;;; ${PN}-${SLOT} site-lisp configuration
|
||||
X
|
||||
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
|
||||
Y (setq find-function-C-source-directory
|
||||
Y "${EPREFIX}${cdir}")
|
||||
X (let ((path (getenv "INFOPATH"))
|
||||
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
|
||||
X (re "\\\\\`${EPREFIX}/usr/share/info\\\\>"))
|
||||
X (and path
|
||||
X ;; move Emacs Info dir before anything else in /usr/share/info
|
||||
X (let* ((p (cons nil (split-string path ":" t))) (q p))
|
||||
X (while (and (cdr q) (not (string-match re (cadr q))))
|
||||
X (setq q (cdr q)))
|
||||
X (setcdr q (cons dir (delete dir (cdr q))))
|
||||
X (setq Info-directory-list (prune-directory-list (cdr p)))))))
|
||||
EOF
|
||||
elisp-site-file-install "${T}/${SITEFILE}" || die
|
||||
|
||||
dodoc README BUGS
|
||||
|
||||
if use aqua; then
|
||||
dodir /Applications/Gentoo
|
||||
rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app
|
||||
mv nextstep/Emacs.app \
|
||||
"${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die
|
||||
fi
|
||||
|
||||
DOC_CONTENTS="You can set the version to be started by /usr/bin/emacs
|
||||
through the Emacs eselect module, which also redirects man and info
|
||||
pages. Therefore, several Emacs versions can be installed at the
|
||||
same time. \"man emacs.eselect\" for details.
|
||||
\\n\\nIf you upgrade from Emacs version 24.2 or earlier, then it is
|
||||
strongly recommended that you use app-admin/emacs-updater to rebuild
|
||||
all byte-compiled elisp files of the installed Emacs packages."
|
||||
use X && DOC_CONTENTS+="\\n\\nYou need to install some fonts for Emacs.
|
||||
Installing media-fonts/font-adobe-{75,100}dpi on the X server's
|
||||
machine would satisfy basic Emacs requirements under X11.
|
||||
See also https://wiki.gentoo.org/wiki/Xft_support_for_GNU_Emacs
|
||||
for how to enable anti-aliased fonts."
|
||||
use aqua && DOC_CONTENTS+="\\n\\nEmacs${EMACS_SUFFIX#emacs}.app is in
|
||||
\"${EPREFIX}/Applications/Gentoo\". You may want to copy or symlink
|
||||
it into /Applications by yourself."
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# move Info dir file to correct name
|
||||
local infodir=/usr/share/info/${EMACS_SUFFIX} f
|
||||
if [[ -f ${ED}${infodir}/dir.orig ]]; then
|
||||
mv "${ED}"${infodir}/dir{.orig,} || die "moving info dir failed"
|
||||
elif [[ -d "${ED}"${infodir} ]]; then
|
||||
# this should not happen in EAPI 4
|
||||
ewarn "Regenerating Info directory index in ${infodir} ..."
|
||||
rm -f "${ED}"${infodir}/dir{,.*}
|
||||
for f in "${ED}"${infodir}/*; do
|
||||
if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then
|
||||
install-info --info-dir="${ED}"${infodir} "${f}" \
|
||||
|| die "install-info failed"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elisp-site-regen
|
||||
|
||||
local pvr
|
||||
for pvr in ${REPLACING_VERSIONS}; do
|
||||
[[ ${pvr%%[-_]*} = 24.[12] ]] && FORCE_PRINT_ELOG=1
|
||||
done
|
||||
readme.gentoo_print_elog
|
||||
|
||||
if use livecd; then
|
||||
# force an update of the emacs symlink for the livecd/dvd,
|
||||
# because some microemacs packages set it with USE=livecd
|
||||
eselect emacs update
|
||||
elif [[ $(readlink "${EROOT}"/usr/bin/emacs) = ${EMACS_SUFFIX} ]]; then
|
||||
# refresh symlinks in case any installed files have changed
|
||||
eselect emacs set ${EMACS_SUFFIX}
|
||||
else
|
||||
eselect emacs update ifunset
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
elisp-site-regen
|
||||
eselect emacs update ifunset
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST mg-20110905.tar.gz 138805 SHA256 1cd37d7e6a3eecc890a5718c38b8f38495057ba93856762a756ccee2f9618229 SHA512 b490a5a3526d35839353e138f33ac924c5afbbf7e5c9faa20ceccb82e1dc1e6a3f0726b32bac7d43dcf8a410b1b8525067da5557cf669c52a9e32d1d2f45a8a4 WHIRLPOOL 64dd179462a8c9e53946c756a4975ffd2e5bf1758a300fa699032542a6e2470f9ed03f9fe1a88ac441cf17ac20c2575f9b6c5c1c396c5a7915564fbedfb1c854
|
||||
DIST mg-20141127.tar.gz 143364 SHA256 33cccebca1cb129de5f26d74750d5a1654bd461e6ab0785703de9f16c19b0ba6 SHA512 97160f311b0409c70162dc80d72370e828db6181fa4bf11a045f01b7df8c272edeade5d6f3e2af7fa74f59152fe69130d5638b2c184974e59c4bb6fe27864d40 WHIRLPOOL 5591e36139e5da3329d9fa7f17b2e21987a8674c7c3c8edeb17bbd8c93879447374d70808af86d38de23f28f6e3b491def437b9135193abec02dc9eaae691b0b
|
||||
DIST mg-20150323.tar.gz 142105 SHA256 d71b24d47d3e1426f162e446d92dfa457df96dd47c1289419cba9fd14c2c3afb SHA512 747a04c203509cdbe84d9cea6c5be93585cdd5cb855b556ea5dee273a2923a4a68bee3f952cf92d584fcdd682049cb4442c21888304ba036851127174457351f WHIRLPOOL bdba74b62034a6613434fc3efea7b56fa1599b6059ab97dbd760b013be7dc50ab13dfcee3f5fb1f41f4c26c3f0146583680134d3809ec7977a14a28cb345c6db
|
||||
|
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="MicroGnuEmacs, a port from the BSDs"
|
||||
HOMEPAGE="http://homepage.boetes.org/software/mg/"
|
||||
SRC_URI="http://homepage.boetes.org/software/mg/${P}.tar.gz"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ppc ~ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="livecd"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
!elibc_FreeBSD? ( >=dev-libs/libbsd-0.7.0 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
epatch_user
|
||||
|
||||
# remove OpenBSD specific easter egg
|
||||
sed -i -e 's/theo\.o//' GNUmakefile || die
|
||||
sed -i -e '/theo_init/d' main.c || die
|
||||
|
||||
# fix path to tutorial in man page
|
||||
sed -i -e "s:doc/mg/:doc/${PF}/:" mg.1 || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" \
|
||||
CFLAGS="${CFLAGS}" \
|
||||
CURSES_LIBS="$("$(tc-getPKG_CONFIG)" --libs ncurses)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin mg
|
||||
doman mg.1
|
||||
dodoc README tutorial
|
||||
# don't compress the tutorial, otherwise mg cannot open it
|
||||
docompress -x /usr/share/doc/${PF}/tutorial
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use livecd; then
|
||||
[[ -e ${EROOT}/usr/bin/emacs ]] || ln -s mg "${EROOT}"/usr/bin/emacs
|
||||
fi
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST openssl-c_rehash.sh.1.7 4167 SHA256 4999ee79892f52bd6a4a7baba9fac62262454d573bbffd72685d3aae9e48cee0 SHA512 55e8c2e827750a4f375cb83c86bfe2d166c01ffa5d7e9b16657b72b38b747c8985dd2c98f854c911dfbbee2ff3e92aff39fdf089d979b2e3534b7685ee8b80da WHIRLPOOL c88f06a3b8651f76b6289552cccceb64e13f6697c5f0ce3ff114c781ce1c218912b8ee308af9d087cd76a9600fdacda1953175bff07d7d3eb21b0c0b7f4f1ce1
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="c_rehash script from OpenSSL"
|
||||
HOMEPAGE="http://www.openssl.org/"
|
||||
SRC_URI="http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openssl/openssl-c_rehash.sh?rev=${PV} -> openssl-c_rehash.sh.${PV}"
|
||||
|
||||
LICENSE="openssl"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!dev-libs/openssl:0"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_prepare() {
|
||||
SSL_CNF_DIR="/etc/ssl"
|
||||
sed \
|
||||
-e "/^DIR=/s:=.*:=${EPREFIX}${SSL_CNF_DIR}:" \
|
||||
-e "s:SSL_CMD=/usr:SSL_CMD=${EPREFIX}/usr:" \
|
||||
"${DISTDIR}"/openssl-c_rehash.sh.${PV} \
|
||||
> "${WORKDIR}"/c_rehash || die #416717
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${WORKDIR}"/c_rehash
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>hasufell@gentoo.org</email>
|
||||
<name>Julian Ospald</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,190 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
# The Debian ca-certificates package merely takes the CA database as it exists
|
||||
# in the nss package and repackages it for use by openssl.
|
||||
#
|
||||
# The issue with using the compiled debs directly is two fold:
|
||||
# - they do not update frequently enough for us to rely on them
|
||||
# - they pull the CA database from nss tip of tree rather than the release
|
||||
#
|
||||
# So we take the Debian source tools and combine them with the latest nss
|
||||
# release to produce (largely) the same end result. The difference is that
|
||||
# now we know our cert database is kept in sync with nss and, if need be,
|
||||
# can be sync with nss tip of tree more frequently to respond to bugs.
|
||||
|
||||
# When triaging bugs from users, here's some handy tips:
|
||||
# - To see what cert is hitting errors, use openssl:
|
||||
# openssl s_client -port 443 -CApath /etc/ssl/certs/ -host $HOSTNAME
|
||||
# Focus on the errors written to stderr.
|
||||
#
|
||||
# - Look at the upstream log as to why certs were added/removed:
|
||||
# https://hg.mozilla.org/projects/nss/log/tip/lib/ckfw/builtins/certdata.txt
|
||||
#
|
||||
# - If people want to add/remove certs, tell them to file w/mozilla:
|
||||
# https://bugzilla.mozilla.org/enter_bug.cgi?product=NSS&component=CA%20Certificates&version=trunk
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils python-any-r1
|
||||
|
||||
if [[ ${PV} == *.* ]] ; then
|
||||
# Compile from source ourselves.
|
||||
PRECOMPILED=false
|
||||
inherit versionator
|
||||
|
||||
DEB_VER=$(get_version_component_range 1)
|
||||
NSS_VER=$(get_version_component_range 2-)
|
||||
RTM_NAME="NSS_${NSS_VER//./_}_RTM"
|
||||
else
|
||||
# Debian precompiled version.
|
||||
PRECOMPILED=true
|
||||
inherit unpacker
|
||||
fi
|
||||
|
||||
DESCRIPTION="Common CA Certificates PEM files"
|
||||
HOMEPAGE="http://packages.debian.org/sid/ca-certificates"
|
||||
NMU_PR=""
|
||||
if ${PRECOMPILED} ; then
|
||||
SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb"
|
||||
else
|
||||
SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${DEB_VER}${NMU_PR:++nmu}${NMU_PR}.tar.xz
|
||||
ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/${RTM_NAME}/src/nss-${NSS_VER}.tar.gz
|
||||
cacert? ( https://dev.gentoo.org/~anarchy/patches/nss-3.14.1-add_spi+cacerts_ca_certs.patch )"
|
||||
fi
|
||||
|
||||
LICENSE="MPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||
IUSE="libressl"
|
||||
${PRECOMPILED} || IUSE+=" +cacert"
|
||||
|
||||
DEPEND=""
|
||||
if ${PRECOMPILED} ; then
|
||||
# platforms like AIX don't have a good ar
|
||||
DEPEND+="
|
||||
kernel_AIX? ( app-arch/deb2targz )
|
||||
!<sys-apps/portage-2.1.10.41"
|
||||
fi
|
||||
# openssl: we run `c_rehash`; newer version for alt-cert-paths #552540
|
||||
# debianutils: we run `run-parts`
|
||||
RDEPEND="${DEPEND}
|
||||
!libressl? ( >=dev-libs/openssl-1.0.1o:0 )
|
||||
libressl? (
|
||||
app-misc/c_rehash
|
||||
dev-libs/libressl
|
||||
)
|
||||
sys-apps/debianutils"
|
||||
|
||||
if ! ${PRECOMPILED}; then
|
||||
DEPEND+=" ${PYTHON_DEPS}"
|
||||
fi
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
pkg_setup() {
|
||||
# For the conversion to having it in CONFIG_PROTECT_MASK,
|
||||
# we need to tell users about it once manually first.
|
||||
[[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \
|
||||
|| ewarn "You should run update-ca-certificates manually after etc-update"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
${PRECOMPILED} || default
|
||||
|
||||
mv ${PN}-*/ ${PN} || die
|
||||
|
||||
# Do all the work in the image subdir to avoid conflicting with source
|
||||
# dirs in $WORKDIR. Need to perform everything in the offset #381937
|
||||
mkdir -p "image/${EPREFIX}"
|
||||
cd "image/${EPREFIX}" || die
|
||||
|
||||
${PRECOMPILED} && unpacker_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cd "image/${EPREFIX}" || die
|
||||
if ! ${PRECOMPILED} ; then
|
||||
mkdir -p usr/sbin
|
||||
cp -p "${S}"/${PN}/sbin/update-ca-certificates usr/sbin/ || die
|
||||
|
||||
if use cacert ; then
|
||||
pushd "${S}"/nss-${NSS_VER} >/dev/null
|
||||
epatch "${DISTDIR}"/nss-3.14.1-add_spi+cacerts_ca_certs.patch
|
||||
popd >/dev/null
|
||||
fi
|
||||
fi
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-20141019-root.patch
|
||||
local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g')
|
||||
sed -i \
|
||||
-e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \
|
||||
-e '/RELPATH="\.\./s:"$:'"${relp}"'":' \
|
||||
usr/sbin/update-ca-certificates || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "image/${EPREFIX}" || die
|
||||
if ! ${PRECOMPILED} ; then
|
||||
python_setup
|
||||
local d="${S}/${PN}/mozilla"
|
||||
# Grab the database from the nss sources.
|
||||
cp "${S}"/nss-${NSS_VER}/nss/lib/ckfw/builtins/{certdata.txt,nssckbi.h} "${d}" || die
|
||||
emake -C "${d}"
|
||||
|
||||
# Now move the files to the same places that the precompiled would.
|
||||
mkdir -p etc/ssl/certs etc/ca-certificates/update.d usr/share/ca-certificates/mozilla
|
||||
if use cacert ; then
|
||||
mkdir -p usr/share/ca-certificates/{cacert.org,spi-inc.org}
|
||||
mv "${d}"/CAcert_Inc..crt usr/share/ca-certificates/cacert.org/cacert.org_root.crt || die
|
||||
mv "${d}"/SPI_Inc..crt usr/share/ca-certificates/spi-inc.org/spi-cacert-2008.crt || die
|
||||
fi
|
||||
mv "${d}"/*.crt usr/share/ca-certificates/mozilla/ || die
|
||||
else
|
||||
mv usr/share/doc/{ca-certificates,${PF}} || die
|
||||
fi
|
||||
|
||||
(
|
||||
echo "# Automatically generated by ${CATEGORY}/${PF}"
|
||||
echo "# $(date -u)"
|
||||
echo "# Do not edit."
|
||||
cd usr/share/ca-certificates
|
||||
find * -name '*.crt' | LC_ALL=C sort
|
||||
) > etc/ca-certificates.conf
|
||||
|
||||
sh usr/sbin/update-ca-certificates --root "${S}/image" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cp -pPR image/* "${D}"/ || die
|
||||
if ! ${PRECOMPILED} ; then
|
||||
cd ca-certificates
|
||||
doman sbin/*.8
|
||||
dodoc debian/README.* examples/ca-certificates-local/README
|
||||
fi
|
||||
|
||||
echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates
|
||||
doenvd 98ca-certificates
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then
|
||||
# if the user has local certs, we need to rebuild again
|
||||
# to include their stuff in the db.
|
||||
# However it's too overzealous when the user has custom certs in place.
|
||||
# --fresh is to clean up dangling symlinks
|
||||
"${EROOT}"/usr/sbin/update-ca-certificates --root "${ROOT}"
|
||||
fi
|
||||
|
||||
local c badcerts=0
|
||||
for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do
|
||||
ewarn "Broken symlink for a certificate at $c"
|
||||
badcerts=1
|
||||
done
|
||||
if [ $badcerts -eq 1 ]; then
|
||||
ewarn "Removing the following broken symlinks:"
|
||||
ewarn "$(find -L "${EROOT}"/etc/ssl/certs/ -type l -printf '%p -> %l\n' -delete)"
|
||||
fi
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST fslint-2.42.tar.gz 111520 SHA256 babbef4a34f42ab1d396152fd79b4353adc114b2e8d68b838e20a8067c5a3273 SHA512 e32575827769a6e0e1847f6edb4ed5337fc5705d65f327e93510af29cafe11df175eec9924f15e9525ff7c320048940e9341e9e62b4ec717b2630aa405a484e6 WHIRLPOOL fc74fb8ddd9d03283d6f7ec7763c2efef9036242ab5ba487046af14f880f0bc8661cec07614fc61fcee684933614abe49142f6dde4c3ef1d42d0f5292437be67
|
||||
DIST fslint-2.44.tar.gz 116654 SHA256 8491a9cd76725e652ac8fe07288ba1f896d9331e30593c0ff3ab9e82e863f0ae SHA512 9ebb6d23186ed9a7194c854c3f3352cd787f01a71d6197aa0c53f5ff0dcb2e24004cfdddee3345655ae179f4397eba95120a5c08f25c5c0f807dab486226844b WHIRLPOOL d06bfdd29ce00a052de89757244f823fba2a30ef51c09bcf58248f73d2ecd33c859a52f172cf2c9f558d00274011083c2851bf47a5e40771fff6d4a0ba081f9b
|
||||
|
@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit eutils python
|
||||
|
||||
DESCRIPTION="A utility to find various forms of lint on a filesystem"
|
||||
HOMEPAGE="http://www.pixelbeat.org/fslint/"
|
||||
SRC_URI="http://www.pixelbeat.org/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="nls"
|
||||
|
||||
DEPEND="nls? ( sys-devel/gettext )"
|
||||
RDEPEND="dev-python/pygtk:2"
|
||||
|
||||
src_prepare() {
|
||||
python_convert_shebangs -r 2 .
|
||||
|
||||
# Change some paths to make ${PN}-gui run when installed in /usr/bin.
|
||||
sed -e "s:^liblocation=.*$:liblocation='${EROOT}usr/share/${PN}' #Gentoo:" \
|
||||
-e "s:^locale_base=.*$:locale_base=None #Gentoo:" \
|
||||
-i ${PN}-gui || die "sed failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/${PN}
|
||||
doins ${PN}{.glade,.gladep,_icon.png}
|
||||
|
||||
exeinto /usr/share/${PN}/${PN}
|
||||
doexe ${PN}/find*
|
||||
doexe ${PN}/${PN}
|
||||
doexe ${PN}/zipdir
|
||||
|
||||
exeinto /usr/share/${PN}/${PN}/fstool/
|
||||
doexe ${PN}/fstool/*
|
||||
|
||||
exeinto /usr/share/${PN}/${PN}/supprt/
|
||||
doexe ${PN}/supprt/{fslver,getffl,getffp,getfpf,md5sum_approx}
|
||||
|
||||
exeinto /usr/share/${PN}/${PN}/supprt/rmlint
|
||||
doexe ${PN}/supprt/rmlint/*
|
||||
|
||||
dobin ${PN}-gui
|
||||
|
||||
doicon ${PN}_icon.png
|
||||
domenu ${PN}.desktop
|
||||
|
||||
dodoc doc/{FAQ,NEWS,README,TODO}
|
||||
doman man/${PN}{.1,-gui.1}
|
||||
|
||||
if use nls ; then
|
||||
cd po
|
||||
emake DESTDIR="${D}" install
|
||||
fi
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST reptyr-0.5.tar.gz 16150 SHA256 b58bff5e06096ce4409983cce85fabc1280ed4115c478c0fec968ce2a4dcec1c SHA512 d38d5986b38c643a2c04429e23d5af0cbd7280ed709c441cf0e217f4fe0e4fd19d7ecb76817aedcf9a2092a8041e22aa77828c07e0cea010478192085b1d8f4b WHIRLPOOL 19fdb5f35b05c2f03ab5af1cc2e2b1510733f1b54d6af6bb14db31185f432df5ff7515b1b36207b976ca5beb2649ca7a1c51d52cb0827280e62bedd05e965726
|
||||
DIST reptyr-0.6.2.tar.gz 28533 SHA256 c73de510eeedc37a0aac63ea4be9a3c841bbbda029232f871b15d53733a0ee1e SHA512 ad0b378d3c30bbfaa30dfcc06c405c375c7e9bcc3bae2e7fb97b8c3f88f482f461c9c846df0064cc842149b07b8a6b616d95f74cdf38f1b2a5011f6b9328c327 WHIRLPOOL 47cd5ffb5f0b02df218a8af67c0458e9b69bce5172d30f36a692418437363a585ab345e556de034703ca5ac9826a8bd086b85aa492050551e9204a99700fd1fb
|
||||
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit toolchain-funcs flag-o-matic vcs-snapshot
|
||||
|
||||
DESCRIPTION="A utility to attach a running program to a new terminal"
|
||||
HOMEPAGE="https://github.com/nelhage/reptyr"
|
||||
SRC_URI="https://github.com/nelhage/${PN}/archive/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
src_prepare() {
|
||||
# respect CFLAGS
|
||||
sed -i '/^override/d' Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
append-cppflags -D_GNU_SOURCE
|
||||
emake CC=$(tc-getCC) CFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
|
||||
dodoc ChangeLog NOTES README.md
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST kmymoney-4.7.1.tar.xz 20152980 SHA256 7749cbae146eb4adf5c92162c841ae321f971c5720bc32d0227a42a4dd4acfc4 SHA512 e1abc00a39051d4797a177dda353af251dbc79dac97e4f4443df015f2f18f397672e59d6bf74baa6e94f18d4f26f1aea27cdffc37a1d1e46a146d22daed9fe7e WHIRLPOOL f2e698a39204338aeccd8d3d411f2d36a76a68a7b314a4ad47798a305c3432f5dd5c51d35616d8ebdefcbe6b92b55d6fcabf661067bcf2b2e401f51006b8df04
|
||||
DIST kmymoney-4.7.2.tar.xz 20391472 SHA256 bfb2c29ff30988f46324c2dae197a06b58d07336a1947adc22bcfed3e554393d SHA512 43db5b3e52d21dee517c8fadccf120aed5854dc16cbd7e265c327149c3a0c900ec02de06a56a9f5b8ad4d04c15730916c79238a3cf2778911e9d8cc4a65afbb1 WHIRLPOOL 461ce894aedb653e696572068ec7a006c3c3fcc2c7493caf634052393bc5874d19e3a6e87e73fd6100316d9bfbfe65eba4d6c87ea2f3b11ea4b354fc91422db7
|
||||
|
@ -1,68 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
KDE_LINGUAS="bs ca ca@valencia cs da de el en_GB es et eu fi fr gl
|
||||
hu it kk nds nl pl pt pt_BR ro ru sv uk zh_TW"
|
||||
KDE_HANDBOOK="optional"
|
||||
VIRTUALX_REQUIRED="test"
|
||||
VIRTUALDBUS_TEST="true"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="Personal finance manager for KDE"
|
||||
HOMEPAGE="http://kmymoney2.sourceforge.net/"
|
||||
if [[ ${KDE_BUILD_TYPE} = release ]]; then
|
||||
SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="4"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="debug calendar doc hbci ofx quotes"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-crypt/gpgme
|
||||
>=app-office/libalkimia-4.3.2
|
||||
dev-libs/gmp:0
|
||||
dev-libs/libgpg-error
|
||||
$(add_kdebase_dep kdepimlibs)
|
||||
x11-misc/shared-mime-info
|
||||
calendar? ( dev-libs/libical:= )
|
||||
hbci? (
|
||||
>=net-libs/aqbanking-5.0.1
|
||||
>=sys-libs/gwenhywfar-4.0.1[qt4]
|
||||
)
|
||||
ofx? ( >=dev-libs/libofx-0.9.4 )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
quotes? ( dev-perl/Finance-Quote )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-libs/boost
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DUSE_QT_DESIGNER=OFF
|
||||
$(cmake-utils_use_enable calendar LIBICAL)
|
||||
$(cmake-utils_use_use doc DEVELOPER_DOC)
|
||||
$(cmake-utils_use_enable hbci KBANKING)
|
||||
$(cmake-utils_use_enable ofx LIBOFX)
|
||||
)
|
||||
kde4-base_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
kde4-base_src_compile
|
||||
|
||||
use doc && kde4-base_src_compile apidoc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use doc && HTML_DOCS=("${BUILD_DIR}/apidocs/html/")
|
||||
kde4-base_src_install
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST kraft-0.57.tar.xz 550736 SHA256 4e8ad3b0db57dd03b10db3d4df4a89a3bcdd95beecc23adec352b517fffff63c SHA512 56f5fd6aa0c369e9baad5b7df5d74b1f14a6810cf976757d031702ea29565b0bb5630c172d0ead2bbcc3e39afd402fc15f8ceb079615cc61c9ff547703330438 WHIRLPOOL 74e8bce1027a4ed767a2bb67dd6f7ac27f561671ac9f157d91ccd69dca5a2f1b3890af8c92db4c1696883079d662ab8ed3f22496fe8fd2104bcbefa63b44a2d1
|
||||
DIST kraft-0.58.tar.xz 556404 SHA256 12c92dbdae05d01a491111ed42dfa6f487ec477f60e536e5a80efa6592997524 SHA512 450d68022f5ea1a19b6b9461f3db65233cdc6939cae5367a4c95d22eb6207881cbd798d723a87d43d3f20e84d8ffb2d601a3245324fa1c10078300c5b8e06845 WHIRLPOOL 60371a2db0bc6b39d3c6ce0f20922e8749df3ae74bcafb7a43c5861b9715dff7aef8407f2446702394bf697dca647e3d61989fa733e0b40514e493ecd25f93ca
|
||||
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
KDE_LINGUAS="bg bs cs da de en_GB eo es et fi fr ga gl hu it ja lt mai mr nds
|
||||
nl pl pt pt_BR ru sk sv tr ug uk zh_CN"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="Software for operating a small business, helping create documents such as offers and invoices"
|
||||
HOMEPAGE="http://www.volle-kraft-voraus.de/"
|
||||
SRC_URI="mirror://sourceforge/kraft/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="4"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
dev-cpp/ctemplate
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtsql:4[mysql,sqlite]
|
||||
$(add_kdebase_dep kdepimlibs)
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( AUTHORS Changes.txt README Releasenotes.txt TODO )
|
@ -0,0 +1,608 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
KDE_REQUIRED="optional"
|
||||
QT_MINIMAL="4.7.4"
|
||||
KDE_SCM="git"
|
||||
CMAKE_REQUIRED="never"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
|
||||
PYTHON_REQ_USE="threads,xml"
|
||||
|
||||
# experimental ; release ; old
|
||||
# Usually the tarballs are moved a lot so this should make
|
||||
# everyone happy.
|
||||
DEV_URI="
|
||||
http://dev-builds.libreoffice.org/pre-releases/src
|
||||
http://download.documentfoundation.org/libreoffice/src/${PV:0:5}/
|
||||
http://download.documentfoundation.org/libreoffice/old/${PV}/
|
||||
"
|
||||
EXT_URI="http://ooo.itc.hu/oxygenoffice/download/libreoffice"
|
||||
ADDONS_URI="http://dev-www.libreoffice.org/src/"
|
||||
|
||||
BRANDING="${PN}-branding-gentoo-0.8.tar.xz"
|
||||
# PATCHSET="${P}-patchset-01.tar.xz"
|
||||
|
||||
[[ ${PV} == *9999* ]] && SCM_ECLASS="git-r3"
|
||||
inherit base multiprocessing autotools bash-completion-r1 check-reqs eutils java-pkg-opt-2 kde4-base pax-utils python-single-r1 multilib toolchain-funcs flag-o-matic versionator ${SCM_ECLASS}
|
||||
unset SCM_ECLASS
|
||||
|
||||
DESCRIPTION="LibreOffice, a full office productivity suite"
|
||||
HOMEPAGE="http://www.libreoffice.org"
|
||||
SRC_URI="branding? ( http://dev.gentoo.org/~dilfridge/distfiles/${BRANDING} )"
|
||||
[[ -n ${PATCHSET} ]] && SRC_URI+=" http://dev.gentooexperimental.org/~scarabeus/${PATCHSET}"
|
||||
|
||||
# Split modules following git/tarballs
|
||||
# Core MUST be first!
|
||||
# Help is used for the image generator
|
||||
MODULES="core help"
|
||||
# Only release has the tarballs
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
for i in ${DEV_URI}; do
|
||||
for mod in ${MODULES}; do
|
||||
if [[ ${mod} == core ]]; then
|
||||
SRC_URI+=" ${i}/${P}.tar.xz"
|
||||
else
|
||||
SRC_URI+=" ${i}/${PN}-${mod}-${PV}.tar.xz"
|
||||
fi
|
||||
done
|
||||
unset mod
|
||||
done
|
||||
unset i
|
||||
fi
|
||||
unset DEV_URI
|
||||
|
||||
# Really required addons
|
||||
# These are bundles that can't be removed for now due to huge patchsets.
|
||||
# If you want them gone, patches are welcome.
|
||||
ADDONS_SRC+=" ${ADDONS_URI}/d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz"
|
||||
ADDONS_SRC+=" ${ADDONS_URI}/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz" # modifies source code
|
||||
ADDONS_SRC+=" collada? ( ${ADDONS_URI}/4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2 )"
|
||||
ADDONS_SRC+=" java? ( ${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )"
|
||||
ADDONS_SRC+=" libreoffice_extensions_wiki-publisher? ( ${ADDONS_URI}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip )" # no release for 8 years, should we package it?
|
||||
ADDONS_SRC+=" libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip )" # Does not build with 1.6 rhino at all
|
||||
ADDONS_SRC+=" libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip )" # requirement of rhino
|
||||
ADDONS_SRC+=" odk? ( http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll )" # not packageable
|
||||
SRC_URI+=" ${ADDONS_SRC}"
|
||||
|
||||
unset ADDONS_URI
|
||||
unset EXT_URI
|
||||
unset ADDONS_SRC
|
||||
|
||||
IUSE="bluetooth +branding coinmp collada +cups dbus debug eds firebird gltf gnome gstreamer
|
||||
+gtk gtk3 jemalloc kde mysql odk postgres telepathy test vlc"
|
||||
|
||||
LO_EXTS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher"
|
||||
# Unpackaged separate extensions:
|
||||
# diagram: lo has 0.9.5 upstream is weirdly patched 0.9.4 -> wtf?
|
||||
# hunart: only on ooo extensions -> fubared download path somewhere on sf
|
||||
# numbertext, typo, validator, watch-window: ^^
|
||||
# oooblogger: no homepage or anything
|
||||
# Extensions that need extra work:
|
||||
for lo_xt in ${LO_EXTS}; do
|
||||
IUSE+=" libreoffice_extensions_${lo_xt}"
|
||||
done
|
||||
unset lo_xt
|
||||
|
||||
LICENSE="|| ( LGPL-3 MPL-1.1 )"
|
||||
SLOT="0"
|
||||
[[ ${PV} == *9999* ]] || \
|
||||
KEYWORDS=""
|
||||
#KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
COMMON_DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
app-arch/zip
|
||||
app-arch/unzip
|
||||
>=app-text/hunspell-1.3.2-r3
|
||||
app-text/mythes
|
||||
>=app-text/libabw-0.1.0
|
||||
>=app-text/libexttextcat-3.2
|
||||
>=app-text/libebook-0.1.1
|
||||
>=app-text/libetonyek-0.1.2
|
||||
app-text/liblangtag
|
||||
>=app-text/libmspub-0.1.0
|
||||
>=app-text/libmwaw-0.3.5
|
||||
>=app-text/libodfgen-0.1.0
|
||||
app-text/libwpd:0.10[tools]
|
||||
app-text/libwpg:0.3
|
||||
=app-text/libwps-0.4*
|
||||
>=app-text/poppler-0.16:=[xpdf-headers(+),cxx]
|
||||
>=dev-cpp/clucene-2.3.3.4-r2
|
||||
=dev-cpp/libcmis-0.5*
|
||||
dev-db/unixODBC
|
||||
>=dev-libs/boost-1.55:=
|
||||
dev-libs/expat
|
||||
>=dev-libs/hyphen-2.7.1
|
||||
>=dev-libs/icu-4.8.1.1:=
|
||||
=dev-libs/liborcus-0.7*
|
||||
>=dev-libs/librevenge-0.0.1
|
||||
>=dev-libs/nspr-4.8.8
|
||||
>=dev-libs/nss-3.12.9
|
||||
>=dev-lang/perl-5.0
|
||||
>=dev-libs/openssl-1.0.0d:0
|
||||
>=dev-libs/redland-1.0.16
|
||||
media-gfx/graphite2
|
||||
>=media-libs/fontconfig-2.8.0
|
||||
media-libs/freetype:2
|
||||
>=media-libs/glew-1.10
|
||||
>=media-libs/harfbuzz-0.9.18:=[icu(+)]
|
||||
media-libs/lcms:2
|
||||
>=media-libs/libpng-1.4:0=
|
||||
>=media-libs/libcdr-0.1.0
|
||||
>=media-libs/libfreehand-0.1.0
|
||||
media-libs/libpagemaker
|
||||
>=media-libs/libvisio-0.1.0
|
||||
>=net-misc/curl-7.21.4
|
||||
net-libs/neon
|
||||
net-nds/openldap
|
||||
sci-mathematics/lpsolve
|
||||
virtual/jpeg:0
|
||||
>=x11-libs/cairo-1.10.0[X]
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
coinmp? ( sci-libs/coinor-mp )
|
||||
collada? ( >=media-libs/opencollada-1.2.2_p20150207 )
|
||||
cups? ( net-print/cups )
|
||||
dbus? ( >=dev-libs/dbus-glib-0.92 )
|
||||
eds? ( gnome-extra/evolution-data-server )
|
||||
firebird? ( >=dev-db/firebird-2.5 )
|
||||
gltf? ( media-libs/libgltf )
|
||||
gnome? ( gnome-base/gconf:2 )
|
||||
gtk? (
|
||||
x11-libs/gdk-pixbuf[X]
|
||||
>=x11-libs/gtk+-2.24:2
|
||||
)
|
||||
gtk3? ( >=x11-libs/gtk+-3.8:3 )
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
)
|
||||
jemalloc? ( dev-libs/jemalloc )
|
||||
libreoffice_extensions_scripting-beanshell? ( >=dev-java/bsh-2.0_beta4 )
|
||||
libreoffice_extensions_scripting-javascript? ( dev-java/rhino:1.6 )
|
||||
libreoffice_extensions_wiki-publisher? (
|
||||
dev-java/commons-codec:0
|
||||
dev-java/commons-httpclient:3
|
||||
dev-java/commons-lang:2.1
|
||||
dev-java/commons-logging:0
|
||||
dev-java/tomcat-servlet-api:3.0
|
||||
)
|
||||
mysql? ( >=dev-db/mysql-connector-c++-1.1.0 )
|
||||
postgres? ( >=dev-db/postgresql-9.0:*[kerberos] )
|
||||
telepathy? (
|
||||
dev-libs/glib:2
|
||||
>=net-libs/telepathy-glib-0.18.0
|
||||
>=x11-libs/gtk+-2.24:2
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!app-office/libreoffice-bin
|
||||
!app-office/libreoffice-bin-debug
|
||||
!<app-office/openoffice-bin-3.4.0-r1
|
||||
!app-office/openoffice
|
||||
media-fonts/libertine
|
||||
media-fonts/liberation-fonts
|
||||
media-fonts/urw-fonts
|
||||
java? ( >=virtual/jre-1.6 )
|
||||
kde? ( $(add_kdeapps_dep kioclient) )
|
||||
vlc? ( media-video/vlc )
|
||||
"
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
PDEPEND="=app-office/libreoffice-l10n-$(get_version_component_range 1-2)*"
|
||||
else
|
||||
# Translations are not reliable on live ebuilds
|
||||
# rather force people to use english only.
|
||||
PDEPEND="!app-office/libreoffice-l10n"
|
||||
fi
|
||||
|
||||
# FIXME: cppunit should be moved to test conditional
|
||||
# after everything upstream is under gbuild
|
||||
# as dmake execute tests right away
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-libs/libatomic_ops-7.2d
|
||||
>=dev-libs/libxml2-2.7.8
|
||||
dev-libs/libxslt
|
||||
dev-perl/Archive-Zip
|
||||
dev-util/cppunit
|
||||
>=dev-util/gperf-3
|
||||
dev-util/intltool
|
||||
>=dev-util/mdds-0.12.0:=
|
||||
media-libs/glm
|
||||
net-misc/npapi-sdk
|
||||
>=sys-apps/findutils-4.4.2
|
||||
sys-devel/bison
|
||||
sys-apps/coreutils
|
||||
sys-devel/flex
|
||||
sys-devel/gettext
|
||||
>=sys-devel/make-3.82
|
||||
sys-devel/ucpp
|
||||
sys-libs/zlib
|
||||
virtual/pkgconfig
|
||||
x11-libs/libXt
|
||||
x11-libs/libXtst
|
||||
x11-proto/randrproto
|
||||
x11-proto/xextproto
|
||||
x11-proto/xineramaproto
|
||||
x11-proto/xproto
|
||||
java? (
|
||||
>=virtual/jdk-1.6
|
||||
>=dev-java/ant-core-1.7
|
||||
)
|
||||
odk? ( >=app-doc/doxygen-1.8.4 )
|
||||
test? ( dev-util/cppunit )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# not upstreamable stuff
|
||||
"${FILESDIR}/${PN}-4.4-system-pyuno.patch"
|
||||
)
|
||||
|
||||
REQUIRED_USE="
|
||||
${PYTHON_REQUIRED_USE}
|
||||
bluetooth? ( dbus )
|
||||
collada? ( gltf )
|
||||
gnome? ( gtk )
|
||||
eds? ( gnome )
|
||||
telepathy? ( gtk )
|
||||
libreoffice_extensions_nlpsolver? ( java )
|
||||
libreoffice_extensions_scripting-beanshell? ( java )
|
||||
libreoffice_extensions_scripting-javascript? ( java )
|
||||
libreoffice_extensions_wiki-publisher? ( java )
|
||||
"
|
||||
|
||||
CHECKREQS_MEMORY="512M"
|
||||
CHECKREQS_DISK_BUILD="6G"
|
||||
|
||||
pkg_pretend() {
|
||||
local pgslot
|
||||
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
check-reqs_pkg_pretend
|
||||
|
||||
if [[ $(gcc-major-version) -lt 4 ]] || \
|
||||
( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]] ) \
|
||||
; then
|
||||
eerror "Compilation with gcc older than 4.6 is not supported"
|
||||
die "Too old gcc found."
|
||||
fi
|
||||
fi
|
||||
|
||||
# Ensure pg version but we have to be sure the pg is installed (first
|
||||
# install on clean system)
|
||||
if use postgres && has_version dev-db/postgresql; then
|
||||
pgslot=$(postgresql-config show)
|
||||
if [[ ${pgslot//.} < 90 ]] ; then
|
||||
eerror "PostgreSQL slot must be set to 9.0 or higher."
|
||||
eerror " postgresql-config set 9.0"
|
||||
die "PostgreSQL slot is not set to 9.0 or higher."
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
java-pkg-opt-2_pkg_setup
|
||||
kde4-base_pkg_setup
|
||||
python-single-r1_pkg_setup
|
||||
|
||||
[[ ${MERGE_TYPE} != binary ]] && check-reqs_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
local mod mod2 dest tmplfile tmplname mypv
|
||||
|
||||
[[ -n ${PATCHSET} ]] && unpack ${PATCHSET}
|
||||
use branding && unpack "${BRANDING}"
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
unpack "${P}.tar.xz"
|
||||
for mod in ${MODULES}; do
|
||||
[[ ${mod} == core ]] && continue
|
||||
unpack "${PN}-${mod}-${PV}.tar.xz"
|
||||
done
|
||||
else
|
||||
for mod in ${MODULES}; do
|
||||
mypv=${PV/.9999}
|
||||
[[ ${mypv} != ${PV} ]] && EGIT_BRANCH="${PN}-${mypv/./-}"
|
||||
EGIT_CHECKOUT_DIR="${WORKDIR}/${P}"
|
||||
[[ ${mod} != core ]] && EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-${mod}-${PV}"
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/${PN}/${mod}"
|
||||
git-r3_src_unpack
|
||||
if [[ ${mod} != core ]]; then
|
||||
mod2=${mod}
|
||||
# mapping does not match on help
|
||||
[[ ${mod} == help ]] && mod2="helpcontent2"
|
||||
mkdir -p "${S}/${mod2}/" || die
|
||||
mv -n "${WORKDIR}/${PN}-${mod}-${PV}"/* "${S}/${mod2}" || die
|
||||
rm -rf "${WORKDIR}/${PN}-${mod}-${PV}"
|
||||
fi
|
||||
done
|
||||
unset EGIT_CHECKOUT_DIR EGIT_REPO_URI EGIT_BRANCH
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# optimization flags
|
||||
export GMAKE_OPTIONS="${MAKEOPTS}"
|
||||
# System python 2.7 enablement:
|
||||
export PYTHON_CFLAGS=$(python_get_CFLAGS)
|
||||
export PYTHON_LIBS=$(python_get_LIBS)
|
||||
|
||||
if use collada; then
|
||||
export OPENCOLLADA_CFLAGS="-I/usr/include/opencollada/COLLADABaseUtils -I/usr/include/opencollada/COLLADAFramework -I/usr/include/opencollada/COLLADASaxFrameworkLoader -I/usr/include/opencollada/GeneratedSaxParser"
|
||||
export OPENCOLLADA_LIBS="-L /usr/$(get_libdir)/opencollada -lOpenCOLLADABaseUtils -lOpenCOLLADAFramework -lOpenCOLLADASaxFrameworkLoader -lGeneratedSaxParser"
|
||||
fi
|
||||
|
||||
# patchset
|
||||
if [[ -n ${PATCHSET} ]]; then
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_SOURCE="${WORKDIR}/${PATCHSET/.tar.xz/}" \
|
||||
EPATCH_SUFFIX="patch" \
|
||||
epatch
|
||||
fi
|
||||
|
||||
base_src_prepare
|
||||
|
||||
AT_M4DIR="m4" eautoreconf
|
||||
# hack in the autogen.sh
|
||||
touch autogen.lastrun
|
||||
|
||||
# system pyuno mess
|
||||
sed \
|
||||
-e "s:%eprefix%:${EPREFIX}:g" \
|
||||
-e "s:%libdir%:$(get_libdir):g" \
|
||||
-i pyuno/source/module/uno.py \
|
||||
-i pyuno/source/officehelper.py || die
|
||||
# sed in the tests
|
||||
sed -i \
|
||||
-e 's#all : build unitcheck#all : build#g' \
|
||||
solenv/gbuild/Module.mk || die
|
||||
sed -i \
|
||||
-e 's#check: dev-install subsequentcheck#check: unitcheck slowcheck dev-install subsequentcheck#g' \
|
||||
-e 's#Makefile.gbuild all slowcheck#Makefile.gbuild all#g' \
|
||||
Makefile.in || die
|
||||
|
||||
if use branding; then
|
||||
# hack...
|
||||
mv -v "${WORKDIR}/branding-intro.png" "${S}/icon-themes/galaxy/brand/intro.png" || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local java_opts
|
||||
local internal_libs
|
||||
local lo_ext
|
||||
local ext_opts
|
||||
|
||||
# sane: just sane.h header that is used for scan in writer, not
|
||||
# linked or anything else, worthless to depend on
|
||||
# vigra: just uses templates from there
|
||||
# it is serious pain in the ass for packaging
|
||||
# should be replaced by boost::gil if someone interested
|
||||
internal_libs+="
|
||||
--without-system-sane
|
||||
--without-system-vigra
|
||||
"
|
||||
|
||||
# libreoffice extensions handling
|
||||
for lo_xt in ${LO_EXTS}; do
|
||||
if [[ "${lo_xt}" == "scripting-beanshell" || "${lo_xt}" == "scripting-javascript" ]]; then
|
||||
ext_opts+=" $(use_enable libreoffice_extensions_${lo_xt} ${lo_xt})"
|
||||
else
|
||||
ext_opts+=" $(use_enable libreoffice_extensions_${lo_xt} ext-${lo_xt})"
|
||||
fi
|
||||
done
|
||||
|
||||
if use java; then
|
||||
# hsqldb: system one is too new
|
||||
java_opts="
|
||||
--without-junit
|
||||
--without-system-hsqldb
|
||||
--with-ant-home="${ANT_HOME}"
|
||||
--with-jdk-home=$(java-config --jdk-home 2>/dev/null)
|
||||
--with-jvm-path="${EPREFIX}/usr/lib/"
|
||||
"
|
||||
|
||||
use libreoffice_extensions_scripting-beanshell && \
|
||||
java_opts+=" --with-beanshell-jar=$(java-pkg_getjar bsh bsh.jar)"
|
||||
|
||||
use libreoffice_extensions_scripting-javascript && \
|
||||
java_opts+=" --with-rhino-jar=$(java-pkg_getjar rhino-1.6 js.jar)"
|
||||
|
||||
if use libreoffice_extensions_wiki-publisher; then
|
||||
java_opts+="
|
||||
--with-commons-codec-jar=$(java-pkg_getjar commons-codec commons-codec.jar)
|
||||
--with-commons-httpclient-jar=$(java-pkg_getjar commons-httpclient-3 commons-httpclient.jar)
|
||||
--with-commons-lang-jar=$(java-pkg_getjar commons-lang-2.1 commons-lang.jar)
|
||||
--with-commons-logging-jar=$(java-pkg_getjar commons-logging commons-logging.jar)
|
||||
--with-servlet-api-jar=$(java-pkg_getjar tomcat-servlet-api-3.0 servlet-api.jar)
|
||||
"
|
||||
fi
|
||||
fi
|
||||
|
||||
# system headers/libs/...: enforce using system packages
|
||||
# --enable-cairo: ensure that cairo is always required
|
||||
# --enable-graphite: disabling causes build breakages
|
||||
# --enable-*-link: link to the library rather than just dlopen on runtime
|
||||
# --enable-release-build: build the libreoffice as release
|
||||
# --disable-fetch-external: prevent dowloading during compile phase
|
||||
# --disable-gnome-vfs: old gnome virtual fs support
|
||||
# --disable-kdeab: kde3 adressbook
|
||||
# --disable-kde: kde3 support
|
||||
# --disable-systray: quickstarter does not actually work at all so do not
|
||||
# promote it
|
||||
# --enable-extension-integration: enable any extension integration support
|
||||
# --without-{fonts,myspell-dicts,ppsd}: prevent install of sys pkgs
|
||||
# --disable-report-builder: too much java packages pulled in without pkgs
|
||||
econf \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}/" \
|
||||
--with-system-headers \
|
||||
--with-system-libs \
|
||||
--with-system-jars \
|
||||
--with-system-dicts \
|
||||
--enable-cairo-canvas \
|
||||
--enable-graphite \
|
||||
--enable-largefile \
|
||||
--enable-mergelibs \
|
||||
--enable-neon \
|
||||
--enable-python=system \
|
||||
--enable-randr \
|
||||
--enable-randr-link \
|
||||
--enable-release-build \
|
||||
--disable-hardlink-deliver \
|
||||
--disable-ccache \
|
||||
--disable-crashdump \
|
||||
--disable-dependency-tracking \
|
||||
--disable-epm \
|
||||
--disable-fetch-external \
|
||||
--disable-gnome-vfs \
|
||||
--disable-gstreamer-0-10 \
|
||||
--disable-report-builder \
|
||||
--disable-kdeab \
|
||||
--disable-kde \
|
||||
--disable-online-update \
|
||||
--disable-systray \
|
||||
--with-alloc=$(use jemalloc && echo "jemalloc" || echo "system") \
|
||||
--with-build-version="Gentoo official package" \
|
||||
--enable-extension-integration \
|
||||
--with-external-dict-dir="${EPREFIX}/usr/share/myspell" \
|
||||
--with-external-hyph-dir="${EPREFIX}/usr/share/myspell" \
|
||||
--with-external-thes-dir="${EPREFIX}/usr/share/myspell" \
|
||||
--with-external-tar="${DISTDIR}" \
|
||||
--with-lang="" \
|
||||
--with-parallelism=$(makeopts_jobs) \
|
||||
--with-system-ucpp \
|
||||
--with-vendor="Gentoo Foundation" \
|
||||
--with-x \
|
||||
--without-fonts \
|
||||
--without-myspell-dicts \
|
||||
--without-help \
|
||||
--with-helppack-integration \
|
||||
--without-sun-templates \
|
||||
$(use_enable bluetooth sdremote-bluetooth) \
|
||||
$(use_enable coinmp) \
|
||||
$(use_enable collada) \
|
||||
$(use_enable cups) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable dbus) \
|
||||
$(use_enable eds evolution2) \
|
||||
$(use_enable firebird firebird-sdbc) \
|
||||
$(use_enable gltf) \
|
||||
$(use_enable gnome gconf) \
|
||||
$(use_enable gnome gio) \
|
||||
$(use_enable gnome lockdown) \
|
||||
$(use_enable gstreamer gstreamer-1-0) \
|
||||
$(use_enable gtk) \
|
||||
$(use_enable gtk3) \
|
||||
$(use_enable kde kde4) \
|
||||
$(use_enable mysql ext-mariadb-connector) \
|
||||
$(use_enable odk) \
|
||||
$(use_enable postgres postgresql-sdbc) \
|
||||
$(use_enable telepathy) \
|
||||
$(use_enable vlc) \
|
||||
$(use_with coinmp system-coinmp) \
|
||||
$(use_with collada system-opencollada) \
|
||||
$(use_with gltf system-libgltf) \
|
||||
$(use_with java) \
|
||||
$(use_with mysql system-mysql-cppconn) \
|
||||
$(use_with odk doxygen) \
|
||||
${internal_libs} \
|
||||
${java_opts} \
|
||||
${ext_opts}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# more and more LO stuff tries to use OpenGL, including tests during build
|
||||
# bug 501508, bug 540624, bug 545974 and probably more
|
||||
addpredict /dev/dri
|
||||
addpredict /dev/ati
|
||||
addpredict /dev/nvidiactl
|
||||
|
||||
# hack for offlinehelp, this needs fixing upstream at some point
|
||||
# it is broken because we send --without-help
|
||||
# https://bugs.freedesktop.org/show_bug.cgi?id=46506
|
||||
(
|
||||
grep "^export" "${S}/config_host.mk" > "${T}/config_host.mk"
|
||||
source "${T}/config_host.mk" 2&> /dev/null
|
||||
|
||||
local path="${WORKDIR}/helpcontent2/source/auxiliary/"
|
||||
mkdir -p "${path}" || die
|
||||
|
||||
echo "perl \"${S}/helpcontent2/helpers/create_ilst.pl\" -dir=icon-themes/galaxy/res/helpimg > \"${path}/helpimg.ilst\""
|
||||
perl "${S}/helpcontent2/helpers/create_ilst.pl" \
|
||||
-dir=icon-themes/galaxy/res/helpimg \
|
||||
> "${path}/helpimg.ilst"
|
||||
[[ -s "${path}/helpimg.ilst" ]] || ewarn "The help images list is empty, something is fishy, report a bug."
|
||||
)
|
||||
|
||||
local target
|
||||
use test && target="build" || target="build-nocheck"
|
||||
|
||||
# this is not a proper make script
|
||||
make ${target} || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
make unitcheck || die
|
||||
make slowcheck || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# This is not Makefile so no buildserver
|
||||
make DESTDIR="${D}" distro-pack-install -o build -o check || die
|
||||
|
||||
# Fix bash completion placement
|
||||
newbashcomp "${ED}"/etc/bash_completion.d/libreoffice.sh ${PN}
|
||||
bashcomp_alias \
|
||||
libreoffice \
|
||||
unopkg loimpress lobase localc lodraw lomath lowriter lofromtemplate loweb loffice
|
||||
rm -rf "${ED}"/etc/ || die
|
||||
|
||||
if use branding; then
|
||||
insinto /usr/$(get_libdir)/${PN}/program
|
||||
newins "${WORKDIR}/branding-sofficerc" sofficerc
|
||||
dodir /etc/env.d
|
||||
echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED}"/etc/env.d/99${PN}
|
||||
fi
|
||||
|
||||
# Hack for offlinehelp, this needs fixing upstream at some point.
|
||||
# It is broken because we send --without-help
|
||||
# https://bugs.freedesktop.org/show_bug.cgi?id=46506
|
||||
insinto /usr/$(get_libdir)/libreoffice/help
|
||||
doins xmlhelp/util/*.xsl
|
||||
|
||||
# Remove desktop files for support to old installs that can't parse mime
|
||||
rm -rf "${ED}"/usr/share/mimelnk/
|
||||
|
||||
# FIXME: Hack add missing file
|
||||
insinto /usr/$(get_libdir)/${PN}/program
|
||||
doins "${S}"/instdir/program/libsaxlo.so
|
||||
|
||||
pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/soffice.bin
|
||||
pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/unopkg.bin
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# Cache updates - all handled by kde eclass for all environments
|
||||
kde4-base_pkg_preinst
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
kde4-base_pkg_postinst
|
||||
|
||||
use java || \
|
||||
ewarn 'If you plan to use lbase application you should enable java or you will get various crashes.'
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
kde4-base_pkg_postrm
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST pastebinit-1.3.1.tar.bz2 35582 SHA256 0dcb6c4820f49cc7f97a7804254df1ae848cfc4fc63e08ca89a525b909709e29 SHA512 f9c4eafbe194dc7fe85ae37005846c38fe9863ed18406953fa6974d979592d74a01eba4dfde3e91da121d36355d87fd2464b565d0eb6aa0091b2b338989567bf WHIRLPOOL 42c58f5cad96361c7f254a17db5a14304ec523b1a50548f27c0a77336e9384f971267a753c1fbc538301dee6cd1d228333976d96618dec8d33539a3e85771525
|
||||
DIST pastebinit-1.4.1.tar.bz2 39202 SHA256 c23720ff19d239f7ae62dd7dc28f453aaea4823af29b1595ba2e58fe232988e6 SHA512 40cfdc22a9d168b239c799ecefca8b9a4f873edeb868803d8de4e57b291f695b9aa3f0b04d87b29ca1777917a53f0c210f20fa8661673630e9a29331e10dc065 WHIRLPOOL 49425b36db3477cd141eee676aa256c8d65567c189dd2cf90bfc53a29824f9611f5d9e54d1d470fdd747bacf141198fe49df7c25c83c96c98da85e3026af3056
|
||||
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit python-r1
|
||||
|
||||
DESCRIPTION="A software that lets you send anything you want directly to a
|
||||
pastebin from the command line."
|
||||
HOMEPAGE="https://launchpad.net/pastebinit"
|
||||
SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="crypt"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-python/configobj[${PYTHON_USEDEP}]
|
||||
crypt? ( app-crypt/gnupg )"
|
||||
DEPEND="app-text/docbook-xsl-stylesheets"
|
||||
|
||||
src_prepare() {
|
||||
local mo=""
|
||||
|
||||
for lang in ${LINGUAS}; do
|
||||
if [ -f po/${lang}.po ]; then
|
||||
mo="${mo} ${lang}.mo"
|
||||
fi
|
||||
done
|
||||
|
||||
sed -i -e "/^build-mo/s/:.*/:${mo}/" po/Makefile
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -C po
|
||||
xsltproc --nonet \
|
||||
"${EROOT}"usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl \
|
||||
pastebinit.xml || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin pastebinit utils/pbput
|
||||
python_replicate_script "${ED}usr/bin/${PN}"
|
||||
dosym pbput /usr/bin/pbget
|
||||
use crypt && dosym pbput /usr/bin/pbputs
|
||||
dodoc README
|
||||
doman pastebinit.1 utils/*.1
|
||||
insinto /usr/share/locale
|
||||
[[ -d po/mo ]] && doins -r po/mo/*
|
||||
insinto /usr/share
|
||||
doins -r pastebin.d
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST tbb41_20121003oss_src.tgz 2250789 SHA256 5383727b9582a54cf4c4adbf22186b70e8eba276fcd3be81d746a937c5b47afc SHA512 fada6e32a09be2a151746caf3a15729c9ec6043b17e2f0aeb1bd903542310cdc6fe9ad85017ff5b2cfb16ae955c81c8b39ad8cf97f871bfcbd19d4948ef1d821 WHIRLPOOL 6c2a094e1dc6efed7189903bf8a6bbb8688ab1b15134c9f3c09fd5ed6a72315140505f5df410c89b65cd160a896222d71e01b3bfcbcd933281fb18a69eaf33f1
|
||||
DIST tbb43_20141023oss_src.tgz 2777177 SHA256 247a8d22d6850caa37d376aaeaf8bfcb06525ec5561fb6f6ed09cdad2c1f6414 SHA512 0718e7bf5f0b9525da9eb45beedc1c3832ccd813d72b10a7ed7c6a281d342325d04c65f797c29e2551d4f2bd470e57c81f38db0d6bd983f7871a90f2b5fe5020 WHIRLPOOL 7a6bc75e9404cbfc9f1e1bc53ff195e63c605aae1cc2883147d69bdd394694d21f916fa6d1c2708ff397a01c620fdb38966d0da5085df6d23dcba235de18c6a8
|
||||
DIST tbb43_20150611oss_src.tgz 2757631 SHA256 221f85fe64e11c9638e43b3c57d5750c26683905fc90827c0bcfefdb286e79c9 SHA512 83d5d827706b774ef5cd6df8082e5d7f48683388684423bb40565dfc25892fc2e57c382f719b78087d83e51edb3f7f7215f33d8b5039b55c32788d80efa6e0b8 WHIRLPOOL 8e98162b2307c759fb26923d76ab784dea81e166c8bf5323869d234da59641c333e5ae30b4a224bccbf20d4f5f6b75c658589f519a165ea3ad7658322f148c72
|
||||
|
@ -1,16 +0,0 @@
|
||||
diff -up tbb40_20120408oss/include/tbb/tbb_machine.h\~ tbb40_20120408oss/include/tbb/tbb_machine.h
|
||||
--- tbb40_20120408oss/include/tbb/tbb_machine.h~ 2012-04-20 09:21:57.000000000 +0200
|
||||
+++ tbb40_20120408oss/include/tbb/tbb_machine.h 2012-08-28 13:20:42.150456167 +0200
|
||||
@@ -373,8 +373,8 @@ void spin_wait_until_eq( const volatile
|
||||
// - The operation assumes that the architecture consistently uses either little-endian or big-endian:
|
||||
// it does not support mixed-endian or page-specific bi-endian architectures.
|
||||
// This function is the only use of __TBB_BIG_ENDIAN.
|
||||
-#if (__TBB_BIG_ENDIAN!=-1)
|
||||
- #if ( __TBB_USE_GENERIC_PART_WORD_CAS)
|
||||
+#if ( __TBB_USE_GENERIC_PART_WORD_CAS)
|
||||
+ #if (__TBB_BIG_ENDIAN==-1)
|
||||
#error generic implementation of part-word CAS was explicitly disabled for this configuration
|
||||
#endif
|
||||
template<typename T>
|
||||
|
||||
Diff finished. Tue Aug 28 13:20:58 2012
|
@ -1,185 +0,0 @@
|
||||
--- a/build/linux.gcc.inc 2014-10-31 09:08:38.000000000 -0400
|
||||
+++ b/build/linux.gcc.inc 2015-06-08 19:22:49.855807841 -0400
|
||||
@@ -32,12 +32,12 @@
|
||||
EXPORT_KEY = -Wl,--version-script,
|
||||
LIBDL = -ldl
|
||||
|
||||
-CPLUS = g++
|
||||
-CONLY = gcc
|
||||
+CPLUS := $(CXX)
|
||||
+CONLY := $(CC)
|
||||
LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY)
|
||||
LIBS += -lpthread -lrt
|
||||
LINK_FLAGS = -Wl,-rpath-link=. -rdynamic
|
||||
-C_FLAGS = $(CPLUS_FLAGS)
|
||||
+C_FLAGS := $(CPLUS_FLAGS)
|
||||
# gcc 4.4 and higher support -std=c++0x
|
||||
ifneq (,$(shell gcc -dumpversion | egrep "^(4\.[4-9]|[5-9])"))
|
||||
CPP11_FLAGS = -std=c++0x -D_TBB_CPP0X
|
||||
@@ -54,7 +54,7 @@
|
||||
endif
|
||||
|
||||
ifeq ($(cfg), release)
|
||||
- CPLUS_FLAGS = $(ITT_NOTIFY) -g -O2 -DUSE_PTHREAD
|
||||
+ CPLUS_FLAGS = $(ITT_NOTIFY) -g -DUSE_PTHREAD
|
||||
endif
|
||||
ifeq ($(cfg), debug)
|
||||
CPLUS_FLAGS = -DTBB_USE_DEBUG $(ITT_NOTIFY) -g -O0 -DUSE_PTHREAD
|
||||
@@ -74,24 +74,12 @@
|
||||
|
||||
ifeq (intel64,$(arch))
|
||||
ITT_NOTIFY = -DDO_ITT_NOTIFY
|
||||
- CPLUS_FLAGS += -m64 $(RTM_KEY)
|
||||
- LIB_LINK_FLAGS += -m64
|
||||
+ CPLUS_FLAGS += $(RTM_KEY)
|
||||
endif
|
||||
|
||||
ifeq (ia32,$(arch))
|
||||
ITT_NOTIFY = -DDO_ITT_NOTIFY
|
||||
- CPLUS_FLAGS += -m32 -march=pentium4 $(RTM_KEY)
|
||||
- LIB_LINK_FLAGS += -m32
|
||||
-endif
|
||||
-
|
||||
-ifeq (ppc64,$(arch))
|
||||
- CPLUS_FLAGS += -m64
|
||||
- LIB_LINK_FLAGS += -m64
|
||||
-endif
|
||||
-
|
||||
-ifeq (ppc32,$(arch))
|
||||
- CPLUS_FLAGS += -m32
|
||||
- LIB_LINK_FLAGS += -m32
|
||||
+ CPLUS_FLAGS += $(RTM_KEY)
|
||||
endif
|
||||
|
||||
ifeq (bg,$(arch))
|
||||
@@ -99,12 +87,6 @@
|
||||
CONLY = mpicc
|
||||
endif
|
||||
|
||||
-# for some gcc versions on Solaris, -m64 may imply V9, but perhaps not everywhere (TODO: verify)
|
||||
-ifeq (sparc,$(arch))
|
||||
- CPLUS_FLAGS += -mcpu=v9 -m64
|
||||
- LIB_LINK_FLAGS += -mcpu=v9 -m64
|
||||
-endif
|
||||
-
|
||||
# automatically generate "IT" instructions when compiling for Thumb ISA
|
||||
ifeq (armv7,$(arch))
|
||||
CPLUS_FLAGS += -Wa,-mimplicit-it=thumb
|
||||
@@ -113,13 +95,7 @@
|
||||
#------------------------------------------------------------------------------
|
||||
# Setting assembler data.
|
||||
#------------------------------------------------------------------------------
|
||||
-ASM = as
|
||||
-ifeq (intel64,$(arch))
|
||||
- ASM_FLAGS += --64
|
||||
-endif
|
||||
-ifeq (ia32,$(arch))
|
||||
- ASM_FLAGS += --32
|
||||
-endif
|
||||
+ASM := $(AS)
|
||||
ifeq ($(cfg),debug)
|
||||
ASM_FLAGS += -g
|
||||
endif
|
||||
--- a/build/FreeBSD.gcc.inc 2014-10-31 09:08:37.000000000 -0400
|
||||
+++ b/build/FreeBSD.gcc.inc 2015-06-08 19:24:51.385810060 -0400
|
||||
@@ -27,14 +27,14 @@
|
||||
WARNING_KEY = -Wall
|
||||
DYLIB_KEY = -shared
|
||||
|
||||
-CPLUS = g++
|
||||
-CONLY = gcc
|
||||
+CPLUS = $(CXX)
|
||||
+CONLY = $(CC)
|
||||
LIB_LINK_FLAGS = -shared
|
||||
LIBS = -lpthread
|
||||
C_FLAGS = $(CPLUS_FLAGS)
|
||||
|
||||
ifeq ($(cfg), release)
|
||||
- CPLUS_FLAGS = -g -O2 -DUSE_PTHREAD
|
||||
+ CPLUS_FLAGS = -g -DUSE_PTHREAD
|
||||
endif
|
||||
ifeq ($(cfg), debug)
|
||||
CPLUS_FLAGS = -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD
|
||||
@@ -51,22 +51,12 @@
|
||||
CPLUS_FLAGS += $(PIC_KEY)
|
||||
endif
|
||||
|
||||
-ifeq (intel64,$(arch))
|
||||
- CPLUS_FLAGS += -m64
|
||||
- LIB_LINK_FLAGS += -m64
|
||||
-endif
|
||||
-
|
||||
-ifeq (ia32,$(arch))
|
||||
- CPLUS_FLAGS += -m32
|
||||
- LIB_LINK_FLAGS += -m32
|
||||
-endif
|
||||
-
|
||||
#------------------------------------------------------------------------------
|
||||
# Setting assembler data.
|
||||
#------------------------------------------------------------------------------
|
||||
ASSEMBLY_SOURCE=$(arch)-gas
|
||||
ifeq (ia64,$(arch))
|
||||
- ASM=as
|
||||
+ ASM=$(AS)
|
||||
TBB_ASM.OBJ = atomic_support.o lock_byte.o log2.o pause.o
|
||||
MALLOC_ASM.OBJ = atomic_support.o lock_byte.o pause.o
|
||||
endif
|
||||
--- a/build/linux.clang.inc 2014-10-31 09:08:37.000000000 -0400
|
||||
+++ b/build/linux.clang.inc 2015-06-08 20:24:29.785875376 -0400
|
||||
@@ -31,15 +31,15 @@
|
||||
EXPORT_KEY = -Wl,--version-script,
|
||||
LIBDL = -ldl
|
||||
|
||||
-CPLUS = clang++
|
||||
-CONLY = clang
|
||||
+CPLUS := $(CXX)
|
||||
+CONLY := $(CC)
|
||||
LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY)
|
||||
LIBS += -lpthread -lrt
|
||||
LINK_FLAGS = -Wl,-rpath-link=.
|
||||
C_FLAGS = $(CPLUS_FLAGS)
|
||||
|
||||
ifeq ($(cfg), release)
|
||||
- CPLUS_FLAGS = $(ITT_NOTIFY) -g -O2 -DUSE_PTHREAD
|
||||
+ CPLUS_FLAGS = $(ITT_NOTIFY) -g -DUSE_PTHREAD
|
||||
endif
|
||||
ifeq ($(cfg), debug)
|
||||
CPLUS_FLAGS = -DTBB_USE_DEBUG $(ITT_NOTIFY) -g -O0 -DUSE_PTHREAD
|
||||
@@ -61,24 +61,10 @@
|
||||
|
||||
ifeq (intel64,$(arch))
|
||||
ITT_NOTIFY = -DDO_ITT_NOTIFY
|
||||
- CPLUS_FLAGS += -m64
|
||||
- LIB_LINK_FLAGS += -m64
|
||||
endif
|
||||
|
||||
ifeq (ia32,$(arch))
|
||||
ITT_NOTIFY = -DDO_ITT_NOTIFY
|
||||
- CPLUS_FLAGS += -m32 -march=pentium4
|
||||
- LIB_LINK_FLAGS += -m32
|
||||
-endif
|
||||
-
|
||||
-ifeq (ppc64,$(arch))
|
||||
- CPLUS_FLAGS += -m64
|
||||
- LIB_LINK_FLAGS += -m64
|
||||
-endif
|
||||
-
|
||||
-ifeq (ppc32,$(arch))
|
||||
- CPLUS_FLAGS += -m32
|
||||
- LIB_LINK_FLAGS += -m32
|
||||
endif
|
||||
|
||||
ifeq (bg,$(arch))
|
||||
@@ -90,12 +76,6 @@
|
||||
# Setting assembler data.
|
||||
#------------------------------------------------------------------------------
|
||||
ASM = as
|
||||
-ifeq (intel64,$(arch))
|
||||
- ASM_FLAGS += --64
|
||||
-endif
|
||||
-ifeq (ia32,$(arch))
|
||||
- ASM_FLAGS += --32
|
||||
-endif
|
||||
ifeq ($(cfg),debug)
|
||||
ASM_FLAGS += -g
|
||||
endif
|
@ -1,124 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
inherit eutils flag-o-matic multilib versionator toolchain-funcs
|
||||
|
||||
PV1="$(get_version_component_range 1)"
|
||||
PV2="$(get_version_component_range 2)"
|
||||
PV3="$(get_version_component_range 3)"
|
||||
MYP="${PN}${PV1}${PV2}_${PV3}oss"
|
||||
|
||||
DESCRIPTION="High level abstract threading library"
|
||||
HOMEPAGE="http://www.threadingbuildingblocks.org/"
|
||||
SRC_URI="http://threadingbuildingblocks.org/sites/default/files/software_releases/source/${MYP}_src.tgz"
|
||||
LICENSE="GPL-2-with-exceptions"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug doc examples"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
S="${WORKDIR}/${MYP}"
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-4.0.297-underlinking.patch \
|
||||
"${FILESDIR}"/${PN}-4.1.20121003-ppc.patch
|
||||
# use fully qualified gcc compilers. do not force march/mcpu
|
||||
# not tested with icc
|
||||
# order in sed expressions is important
|
||||
sed -i \
|
||||
-e "s/g++/$(tc-getCXX)/g" \
|
||||
-e "s/gcc/$(tc-getCC)/g" \
|
||||
-e 's/-m\(arch\|cpu\)=*[[:space:]]//g' \
|
||||
-e 's/-\(m\|-\)\(64\|32\)//g' \
|
||||
-e 's/-O2/$(CXXFLAGS)/g' \
|
||||
-e "/^ASM/s/as/$(tc-getAS)/g" \
|
||||
build/*.gcc.inc || die
|
||||
|
||||
# force 64bit where applicable, 32bit where applicable...
|
||||
# built-in detection is based on running kernel, which messes up
|
||||
# e.g. in a x86 chroot on amd64 kernel. Bug 462130
|
||||
# see build/linux.inc for values
|
||||
use amd64 && export arch=x86_64
|
||||
use amd64-linux && export arch=x86_64
|
||||
use x86 && export arch=ia32
|
||||
use x86-linux && export arch=ia32
|
||||
# no idea what to do with ppc but so far it seems to work
|
||||
|
||||
find include -name \*.html -delete || die
|
||||
|
||||
# pc files are for debian and fedora compatibility
|
||||
# some deps use them
|
||||
cat <<-EOF > ${PN}.pc.template
|
||||
prefix=${EPREFIX}/usr
|
||||
libdir=\${prefix}/$(get_libdir)
|
||||
includedir=\${prefix}/include
|
||||
Name: ${PN}
|
||||
Description: ${DESCRIPTION}
|
||||
Version: ${PV}
|
||||
URL: ${HOMEPAGE}
|
||||
Cflags: -I\${includedir}
|
||||
EOF
|
||||
cp ${PN}.pc.template ${PN}.pc
|
||||
cat <<-EOF >> ${PN}.pc
|
||||
Libs: -L\${libdir} -ltbb
|
||||
Libs.private: -lm -lrt
|
||||
EOF
|
||||
cp ${PN}.pc.template ${PN}malloc.pc
|
||||
cat <<-EOF >> ${PN}malloc.pc
|
||||
Libs: -L\${libdir} -ltbbmalloc
|
||||
Libs.private: -lm -lrt
|
||||
EOF
|
||||
cp ${PN}.pc.template ${PN}malloc_proxy.pc
|
||||
cat <<-EOF >> ${PN}malloc_proxy.pc
|
||||
Libs: -L\${libdir} -ltbbmalloc_proxy
|
||||
Libs.private: -lrt
|
||||
Requires: tbbmalloc
|
||||
EOF
|
||||
use debug || sed -i -e '/_debug/d' Makefile
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if [[ $(tc-getCXX) == *g++* ]]; then
|
||||
comp="gcc"
|
||||
elif [[ $(tc-getCXX) == *ic*c ]]; then
|
||||
comp="icc"
|
||||
else
|
||||
die "compiler $(tc-getCXX) not supported by build system"
|
||||
fi
|
||||
emake compiler=${comp} tbb tbbmalloc
|
||||
}
|
||||
|
||||
src_test() {
|
||||
append-cxxflags -fabi-version=4
|
||||
# avoid oversubscribing with -j1
|
||||
emake -j1 compiler=${comp} test
|
||||
}
|
||||
|
||||
src_install(){
|
||||
local l
|
||||
for l in $(find build -name lib\*.so.\*); do
|
||||
dolib.so ${l}
|
||||
local bl=$(basename ${l})
|
||||
dosym ${bl} /usr/$(get_libdir)/${bl%.*}
|
||||
done
|
||||
insinto /usr
|
||||
doins -r include
|
||||
|
||||
insinto /usr/$(get_libdir)/pkgconfig
|
||||
doins *.pc
|
||||
|
||||
dodoc README CHANGES doc/Release_Notes.txt
|
||||
use doc && dohtml -r doc/html/*
|
||||
|
||||
if use examples ; then
|
||||
insinto /usr/share/doc/${PF}/examples/build
|
||||
doins build/*.inc
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins -r examples
|
||||
fi
|
||||
}
|
@ -1,132 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils flag-o-matic multilib-minimal toolchain-funcs versionator
|
||||
|
||||
PV1="$(get_version_component_range 1)"
|
||||
PV2="$(get_version_component_range 2)"
|
||||
PV3="$(get_version_component_range 3)"
|
||||
MYP="${PN}${PV1}${PV2}_${PV3}oss"
|
||||
|
||||
DESCRIPTION="High level abstract threading library"
|
||||
HOMEPAGE="http://www.threadingbuildingblocks.org/"
|
||||
SRC_URI="http://threadingbuildingblocks.org/sites/default/files/software_releases/source/${MYP}_src.tgz"
|
||||
LICENSE="GPL-2-with-exceptions"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE="debug doc examples"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
S="${WORKDIR}/${MYP}"
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-4.0.297-underlinking.patch \
|
||||
"${FILESDIR}"/${PN}-4.3-build.patch
|
||||
|
||||
find include -name \*.html -delete || die
|
||||
|
||||
# Give it a soname on FreeBSD
|
||||
echo 'LIB_LINK_FLAGS += -Wl,-soname=$(BUILDING_LIBRARY)' >> build/FreeBSD.gcc.inc
|
||||
# Set proper versionning on FreeBSD
|
||||
sed -i -e '/.DLL =/s/$/.1/' build/FreeBSD.inc || die
|
||||
|
||||
use debug || sed -i -e '/_debug/d' Makefile
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# pc files are for debian and fedora compatibility
|
||||
# some deps use them
|
||||
cat <<-EOF > ${PN}.pc.template
|
||||
prefix=${EPREFIX}/usr
|
||||
libdir=\${prefix}/$(get_libdir)
|
||||
includedir=\${prefix}/include
|
||||
Name: ${PN}
|
||||
Description: ${DESCRIPTION}
|
||||
Version: ${PV}
|
||||
URL: ${HOMEPAGE}
|
||||
Cflags: -I\${includedir}
|
||||
EOF
|
||||
cp ${PN}.pc.template ${PN}.pc || die
|
||||
cat <<-EOF >> ${PN}.pc
|
||||
Libs: -L\${libdir} -ltbb
|
||||
Libs.private: -lm -lrt
|
||||
EOF
|
||||
cp ${PN}.pc.template ${PN}malloc.pc || die
|
||||
cat <<-EOF >> ${PN}malloc.pc
|
||||
Libs: -L\${libdir} -ltbbmalloc
|
||||
Libs.private: -lm -lrt
|
||||
EOF
|
||||
cp ${PN}.pc.template ${PN}malloc_proxy.pc || die
|
||||
cat <<-EOF >> ${PN}malloc_proxy.pc
|
||||
Libs: -L\${libdir} -ltbbmalloc_proxy
|
||||
Libs.private: -lrt
|
||||
Requires: tbbmalloc
|
||||
EOF
|
||||
}
|
||||
|
||||
local_src_compile() {
|
||||
cd "${S}"
|
||||
|
||||
local comp arch
|
||||
|
||||
case ${MULTILIB_ABI_FLAG} in
|
||||
abi_x86_64) arch=x86_64 ;;
|
||||
abi_x86_32) arch=ia32 ;;
|
||||
esac
|
||||
|
||||
case "$(tc-getCXX)" in
|
||||
*g++*) comp="gcc" ;;
|
||||
*ic*c) comp="icc" ;;
|
||||
*clang*) comp="clang" ;;
|
||||
*) die "compiler $(tc-getCXX) not supported by build system" ;;
|
||||
esac
|
||||
|
||||
CXX="$(tc-getCXX)" \
|
||||
CC="$(tc-getCC)" \
|
||||
AS="$(tc-getAS)" \
|
||||
arch=${arch} \
|
||||
CPLUS_FLAGS="${CXXFLAGS}" \
|
||||
emake compiler=${comp} work_dir="${BUILD_DIR}" tbb_root="${S}" $@
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
local_src_compile tbb tbbmalloc
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
CXXFLAGS="${CXXFLAGS} -fabi-version=4" \
|
||||
local_src_compile -j1 test
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
cd "${BUILD_DIR}_release" || die
|
||||
local l
|
||||
for l in $(find . -name lib\*.so.\*); do
|
||||
dolib.so ${l}
|
||||
local bl=$(basename ${l})
|
||||
dosym ${bl} /usr/$(get_libdir)/${bl%.*}
|
||||
done
|
||||
|
||||
cd "${BUILD_DIR}" || die
|
||||
insinto /usr/$(get_libdir)/pkgconfig
|
||||
doins *.pc
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
doheader -r include/*
|
||||
|
||||
dodoc README CHANGES doc/Release_Notes.txt
|
||||
use doc && dohtml -r doc/html/*
|
||||
|
||||
if use examples ; then
|
||||
insinto /usr/share/doc/${PF}/examples/build
|
||||
doins build/*.inc
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins -r examples
|
||||
fi
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
DIST cabal-install-1.18.0.2.tar.gz 253711 SHA256 4ca4064abc042d8ab2e872e8629e334501572568d19e95f466e31a44eef7092a SHA512 680ae8ee03d3c95caa4dfc724b11b9148d03f03addee02b83a10d9a6cb8b75719463598c9a4c461a30f9114daa6c1ec34c90dc22c5db6a851152f743dad3cde8 WHIRLPOOL 5de2a029d24e97a970cad38c9b7ad68abd0282f8d12a5c0963f8f491e5eccfe7792c183036ea03de6a42264c88d206849ac7161b4d2e7cecb2720a679019d461
|
||||
DIST cabal-install-1.18.0.3.tar.gz 254044 SHA256 81b85757944b6ee0dd30396bf5851d123894caa57979310d44943b72cdaf0140 SHA512 54c3f9970135447689360b8c185ad5e618461e2fb9dc9089f420f26ccc73d92da927dc8cf32300dd736492bf78e650d92d715b4bf17aeca736499756bc84124c WHIRLPOOL 0c7637b1bde2c3cd68b59ecb9bd2d5c51fa05f4b0d5fa43a4b8931202bb12380e020706bd44a0349dffb718a9b249e1eba493a397c539187feb4623fa304e094
|
||||
DIST cabal-install-1.18.1.0.tar.gz 257577 SHA256 d6abb6fef8204780a41aff2e93dfa297883673507cec557348aebf6b37843ae4 SHA512 252304480ebde673fba873b9d7f709e47d1acfc7ab936a2b19f663d8e3c8ef7a20abeaac0cf9bbdb4bf0d1c30688e8a9b1cf1f73c27ce8f47845c3431de6752e WHIRLPOOL 1d2bd46e88a3ac48fcd46cc229f2a90059b0d48ceec9bb04cb91c68adf7690bbe599adc518cce0e76bdffe80eff0cd615f7d25843a7f0f0090d59a34f5b37df2
|
||||
DIST cabal-install-1.20.0.3.tar.gz 274779 SHA256 d2bd56f3bcae92b7b97325be5216f94544fbcb30e10e24b40bccc149584b0b14 SHA512 a272c7eb1c87a933b30697afa7bf78f95fb0afa203e791448d5e96d5c62105533347b8b777af7a7e6db5703654c319045e089d46d2263a09ed5ada10144ce12f WHIRLPOOL da95f8a386c751c8c83ffa965422ab8fcf047693300f6d7ed39ec046354c8b00753fd3f0936b56eb5a6e854e5176ad2e20282e2bbcc0745f5ef4d462e59f4d0d
|
||||
DIST cabal-install-1.22.6.0.tar.gz 302564 SHA256 9d239e385696a7faa49f068aea451882baec6a7df26fbddbd08271c9053cb0b4 SHA512 155227a0bc29f8d6c9ec9846f1dbd956234853b1301fa15ab81aaee654abba8bfbd19cbb608008427b1272bff7aa397830011855b85d0a13deb9ebd1485cab14 WHIRLPOOL ca1bac034fcd502c45aab36218847a1a1b36dd47caf854e5b619e61ae3d67b65cbeeca5f4e46f856095f7131dbe2c1a908de4ee127f8c6a2c4e1806c40a05a1f
|
||||
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.3.6.9999
|
||||
|
||||
CABAL_FEATURES="bin test-suite"
|
||||
inherit bash-completion-r1 eutils haskell-cabal
|
||||
|
||||
DESCRIPTION="The command-line interface for Cabal and Hackage"
|
||||
HOMEPAGE="http://www.haskell.org/cabal/"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86"
|
||||
IUSE="+noprefs"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.18.0 <dev-haskell/cabal-1.19
|
||||
>=dev-haskell/http-4000.0.8 <dev-haskell/http-4001
|
||||
>=dev-haskell/mtl-2.0 <dev-haskell/mtl-3
|
||||
>=dev-haskell/network-1 <dev-haskell/network-3
|
||||
dev-haskell/network-uri
|
||||
>=dev-haskell/random-1 <dev-haskell/random-1.1
|
||||
>=dev-haskell/stm-2.0 <dev-haskell/stm-3
|
||||
>=dev-haskell/zlib-0.5.3 <dev-haskell/zlib-0.6
|
||||
>=dev-lang/ghc-6.12.1
|
||||
test? ( dev-haskell/hunit
|
||||
>=dev-haskell/quickcheck-2.5
|
||||
dev-haskell/test-framework
|
||||
dev-haskell/test-framework-hunit
|
||||
>=dev-haskell/test-framework-quickcheck2-0.3 )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
if use noprefs; then
|
||||
epatch "${FILESDIR}/${PN}"-0.13.3-nopref.patch
|
||||
fi
|
||||
|
||||
# no chance to link to -threaded on ppc64, alpha and others
|
||||
# who use UNREG, not only ARM
|
||||
if ! ghc-supports-threaded-runtime; then
|
||||
cabal_chdeps '-threaded' ' '
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
haskell-cabal_src_install
|
||||
|
||||
dobashcomp "${S}/bash-completion/cabal"
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.3.6.9999
|
||||
|
||||
CABAL_FEATURES="lib profile test-suite"
|
||||
CABAL_FEATURES+=" bootstrap" # does not beed cabal to build itself
|
||||
inherit haskell-cabal
|
||||
|
||||
MY_PN="Cabal"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="A framework for packaging Haskell software"
|
||||
HOMEPAGE="http://www.haskell.org/cabal/"
|
||||
SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-lang/ghc-6.12.1:="
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-haskell/extensible-exceptions
|
||||
dev-haskell/hunit
|
||||
>=dev-haskell/quickcheck-2.1.0.1
|
||||
dev-haskell/regex-posix
|
||||
dev-haskell/test-framework
|
||||
dev-haskell/test-framework-hunit
|
||||
>=dev-haskell/test-framework-quickcheck2-0.2.12 )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
CABAL_CORE_LIB_GHC_PV="7.8.4"
|
||||
|
||||
src_prepare() {
|
||||
if [[ -n ${LIVE_EBUILD} ]]; then
|
||||
CABAL_FILE=${MY_PN}.cabal cabal_chdeps 'version: 1.17.0' "version: ${PV}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cabal-is-dummy-lib && return
|
||||
|
||||
einfo "Bootstrapping Cabal..."
|
||||
$(ghc-getghc) ${HCFLAGS} -i -i. -i"${WORKDIR}/${FP_P}" -cpp --make Setup.hs \
|
||||
-o setup || die "compiling Setup.hs failed"
|
||||
cabal-configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cabal-is-dummy-lib && return
|
||||
|
||||
cabal-build
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
DIST haskeline-0.6.4.6.tar.gz 62349 SHA256 b2f2d275bd1f24370f13bd7607891ffdbbc7564d044dbbdabc5e83b27238d08c SHA512 86acc677e6c202ad311e343b1a58e4195b62ef78ca28b441a4203546c0d7e44a150eca50686b8ef1ef52bfd0eb1662db6d03c58b35c0d2da2a08ef501bd3a3b8 WHIRLPOOL 6a01921a7d3297f61bb3c4a0575580d42485aec59581314d7ba093f95288769b65a3c912bbed1a73903a6069388f368676994899be865a93c4d54c62e2666902
|
||||
DIST haskeline-0.6.4.7.tar.gz 62258 SHA256 301a7c21c73f52efe56763cf25d807d22dac3faea70538175ca843134524aaa2 SHA512 e31c186a93fd06318ea9b6998c0fa2eea64bc9f7c054cbd3704cdfdebcfede4e6acae966f5233b78eebaaa3c308310954197282103680790c308fb2b61338ba9 WHIRLPOOL 51f0bdadb7396a4ff3b7eef2d0b9a9bb2312d5a10a0612f5438cdae0d03e1694b21ca5cef4657e5863b0459b28e21d67261c0386a872386333d7fca6efc40345
|
||||
DIST haskeline-0.7.1.2.tar.gz 68251 SHA256 24f3c8be221b8eee25438afc7444a39a34a37a82376d195fcd83e357a8fa109d SHA512 11d3ee9507d10d14ad05a45eb269a70a661e755502c7a39c5516508e66bda7c0d56c0d91db3e6ea665ee532001bef246be14a95c12eb257724616753e2b93f6c WHIRLPOOL f3c573d3e27f4d12c1c466c35c080b721973907bcf9110a62dacedbc315e9acabbd7a403423d106efb12cc73f46de9e12bf3c992f2a801e5583ad1b0caf661ce
|
||||
DIST haskeline-0.7.1.3.tar.gz 68291 SHA256 b10e439b13f5dad8705cfdfabe1cfd2a9446a7ec1cfdfecf4321d6e48f759eaf SHA512 eed183edd1af5b9d77c61278c40f07599900793e47858771810b48cbd178c34a06264910dd5484f76e5a03e53551e1035e1d291d8e3577ec6f4f5a9ba8d61d5d WHIRLPOOL db91df0b3da4ef833412831a5b4324cba0da35f07526c3d7b327d5b0d7ce6030a954ef08659a4d296847028ef22eaff5b96b2dad34a3fbb6da739fb34231635c
|
||||
DIST haskeline-0.7.2.1.tar.gz 68409 SHA256 ae56a3c8ead8e33492e01921452db441568236c70df2a4f9086b08678ddf6427 SHA512 a2f790b9bb27cc8681567c3c0c3476231976d08a0e2d1e9fb69301f55511edd0221034ae8af27ec4c9db4b15f2d72b8b716d013518d0b8d15d98e859dbf0321b WHIRLPOOL ae40dced4b1c307312d673676e237845ab5ca66ce3701d961ca290778c1cf127592669de6d7421885f04683852c1e4b478e8aab1b0160996dcaafb8158282187
|
||||
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.4.2.9999
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="A command-line interface for user input, written in Haskell"
|
||||
HOMEPAGE="http://trac.haskell.org/haskeline"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd ~ppc-macos ~x86-macos"
|
||||
IUSE="legacy-encoding libiconv +terminfo"
|
||||
|
||||
RDEPEND=">=dev-haskell/transformers-0.2:=[profile?] <dev-haskell/transformers-0.4:=[profile?]
|
||||
>=dev-lang/ghc-7.4.1:=
|
||||
legacy-encoding? ( >=dev-haskell/utf8-string-0.3.6:=[profile?] <dev-haskell/utf8-string-0.4:=[profile?] )
|
||||
terminfo? ( >=dev-haskell/terminfo-0.3.1.3:=[profile?] <dev-haskell/terminfo-0.5:=[profile?] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.16
|
||||
"
|
||||
|
||||
CABAL_CORE_LIB_GHC_PV="PM:7.8.4"
|
||||
|
||||
src_configure() {
|
||||
haskell-cabal_src_configure \
|
||||
$(cabal_flag legacy-encoding legacy-encoding) \
|
||||
$(cabal_flag libiconv libiconv) \
|
||||
$(cabal_flag terminfo terminfo)
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue