parent
3ce00cffea
commit
2621820e63
@ -0,0 +1,193 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils multilib mount-boot flag-o-matic python-any-r1 toolchain-funcs
|
||||
|
||||
MY_PV=${PV/_/-}
|
||||
MY_P=${PN}-${PV/_/-}
|
||||
|
||||
if [[ $PV == *9999 ]]; then
|
||||
inherit git-r3
|
||||
KEYWORDS=""
|
||||
EGIT_REPO_URI="git://xenbits.xen.org/xen.git"
|
||||
SRC_URI=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm ~arm64 -x86"
|
||||
UPSTREAM_VER=0
|
||||
SECURITY_VER=0
|
||||
# var set to reflect https://dev.gentoo.org/~idella4/
|
||||
SEC_VER=4
|
||||
GENTOO_VER=
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${SECURITY_VER} ]] && \
|
||||
SECURITY_PATCHSET_URI="https://dev.gentoo.org/~idella4/distfiles/${PN/-tools}-security-patches-${SECURITY_VER}.tar.xz
|
||||
https://dev.gentoo.org/~idella4/distfiles/${PN/-tools}-security-patches-${SEC_VER}.tar.gz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
SRC_URI="http://bits.xensource.com/oss-xen/release/${MY_PV}/${MY_P}.tar.gz
|
||||
${UPSTREAM_PATCHSET_URI}
|
||||
${SECURITY_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="The Xen virtual machine monitor"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="custom-cflags debug efi flask"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
efi? ( >=sys-devel/binutils-2.22[multitarget] )
|
||||
!efi? ( >=sys-devel/binutils-2.22 )"
|
||||
RDEPEND=""
|
||||
PDEPEND="~app-emulation/xen-tools-${PV}"
|
||||
|
||||
# no tests are available for the hypervisor
|
||||
# prevent the silliness of /usr/lib/debug/usr/lib/debug files
|
||||
# prevent stripping of the debug info from the /usr/lib/debug/xen-syms
|
||||
RESTRICT="test splitdebug strip"
|
||||
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="boot/xen-syms-${PV}"
|
||||
|
||||
REQUIRED_USE="arm? ( debug )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
if [[ -z ${XEN_TARGET_ARCH} ]]; then
|
||||
if use amd64; then
|
||||
export XEN_TARGET_ARCH="x86_64"
|
||||
elif use arm; then
|
||||
export XEN_TARGET_ARCH="arm32"
|
||||
elif use arm64; then
|
||||
export XEN_TARGET_ARCH="arm64"
|
||||
else
|
||||
die "Unsupported architecture!"
|
||||
fi
|
||||
fi
|
||||
|
||||
if use flask ; then
|
||||
export "XSM_ENABLE=y"
|
||||
export "FLASK_ENABLE=y"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
epatch "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
if [[ -n ${SECURITY_VER} ]]; then
|
||||
einfo "Try to apply Xen Security patcheset"
|
||||
# apply main xen patches
|
||||
# Two parallel systems, both work side by side
|
||||
# Over time they may concdense into one. This will suffice for now
|
||||
EPATCH_SUFFIX="patch"
|
||||
EPATCH_FORCE="yes"
|
||||
for i in ${XEN_SECURITY_MAIN}; do
|
||||
epatch "${WORKDIR}"/patches-security/xen/$i
|
||||
done
|
||||
|
||||
for i in "${WORKDIR}"/xen-sec/xsa*.patch; do
|
||||
epatch $i
|
||||
done
|
||||
fi
|
||||
|
||||
# Gentoo's patchset
|
||||
if [[ -n ${GENTOO_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-gentoo
|
||||
fi
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-4.6-efi.patch
|
||||
|
||||
# Drop .config
|
||||
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
|
||||
|
||||
if use efi; then
|
||||
export EFI_VENDOR="gentoo"
|
||||
export EFI_MOUNTPOINT="boot"
|
||||
fi
|
||||
|
||||
# if the user *really* wants to use their own custom-cflags, let them
|
||||
if use custom-cflags; then
|
||||
einfo "User wants their own CFLAGS - removing defaults"
|
||||
# try and remove all the default custom-cflags
|
||||
find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -exec sed \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-i {} \; || die "failed to re-set custom-cflags"
|
||||
fi
|
||||
|
||||
# remove -Werror for gcc-4.6's sake
|
||||
find "${S}" -name 'Makefile*' -o -name '*.mk' -o -name 'common.make' | \
|
||||
xargs sed -i 's/ *-Werror */ /'
|
||||
# not strictly necessary to fix this
|
||||
sed -i 's/, "-Werror"//' "${S}/tools/python/setup.py" || die "failed to re-set setup.py"
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use arm && myopt="${myopt} CONFIG_EARLY_PRINTK=sun7i"
|
||||
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
if use custom-cflags; then
|
||||
filter-flags -fPIE -fstack-protector
|
||||
replace-flags -O3 -O2
|
||||
else
|
||||
unset CFLAGS
|
||||
unset LDFLAGS
|
||||
unset ASFLAGS
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Send raw LDFLAGS so that --as-needed works
|
||||
emake V=1 CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" LD="$(tc-getLD)" -C xen ${myopt}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
# The 'make install' doesn't 'mkdir -p' the subdirs
|
||||
if use efi; then
|
||||
mkdir -p "${D}"${EFI_MOUNTPOINT}/efi/${EFI_VENDOR} || die
|
||||
fi
|
||||
|
||||
emake LDFLAGS="$(raw-ldflags)" DESTDIR="${D}" -C xen ${myopt} install
|
||||
|
||||
# make install likes to throw in some extra EFI bits if it built
|
||||
use efi || rm -rf "${D}/usr/$(get_libdir)/efi"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the unoffical wiki page:"
|
||||
elog " https://wiki.gentoo.org/wiki/Xen"
|
||||
elog " http://en.gentoo-wiki.com/wiki/Xen/"
|
||||
|
||||
use efi && einfo "The efi executable is installed in boot/efi/gentoo"
|
||||
|
||||
elog "You can optionally block the installation of /boot/xen-syms by an entry"
|
||||
elog "in folder /etc/portage/env using the portage's feature INSTALL_MASK"
|
||||
elog "e.g. echo ${msg} > /etc/portage/env/xen.conf"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST eselect-php-0.7.1.bz2 2251 SHA256 10aa400e2d08bc71989366993f12ddb546a0ea29f191c40e37beba1d11d7abd7 SHA512 a6b4c1475dda9f368d799db7658c50cef7d6f71482a53a186fb1394e7ea1fff3c0ef123c82b7ca4d1e45aadb0a034d36f213fc9450766878a60d28639761cb3d WHIRLPOOL a4e45492068616ff30fd888b0cc64441a6eb6e6656e0107d00bd2cf15360dce15052d4d62089ab89d43e6bb36e126529aa101c70e8bd94a9fc916a5369463e3b
|
||||
DIST eselect-php-0.8.2.tar.xz 51832 SHA256 3601d0612a19ccc1c5146be2c8cd7df955a37c517817ae4f59bb3ead446f5355 SHA512 da1d71affe275d07db7a76fd98fd89ffdea6f671262a615bf4dda5a1bba8d19e5d1a3c8afe3f1eb1e70fd71298476a6f0d4e73eba7aafe7555f018f89005bc3d WHIRLPOOL dcc75d93eeaaa85f63f5329491d010debd83ed2a82af0051d59ab4aff639703a6f4c1baa5388ed2a8867d6ab610740d5a1ac86d28cddb0de5be47872ada040b4
|
||||
DIST eselect-php-0.8.4.tar.xz 45780 SHA256 1cc4442fdf80490c18e464c324f58d0c4f182dff26cd15c465baadb629710855 SHA512 8ddc691621b5bed77075a81ef007647a2f1acb02f8097b805628cf11ba6d25da7e6e460dae824987b297c1d94105734a46701fd693a3a113cf7dc1fb4e4aa963 WHIRLPOOL 72cedfda8e5fc5ffbbf5b1edd2305270ffedbcc1210d9d5cee9fad9d47331e415c9ebe07cdc2054c6621501f68f0fed0dff8830d17692e1308c6a86159a035ad
|
||||
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit depend.apache systemd
|
||||
|
||||
DESCRIPTION="PHP eselect module"
|
||||
HOMEPAGE="https://gitweb.gentoo.org/proj/eselect-php.git/"
|
||||
SRC_URI="
|
||||
https://dev.gentoo.org/~mjo/distfiles/${P}.tar.xz
|
||||
https://dev.gentoo.org/~grknight/distfiles/${P}.tar.xz
|
||||
"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="fpm apache2"
|
||||
|
||||
# The "DirectoryIndex" line in 70_mod_php.conf requires mod_dir.
|
||||
RDEPEND="app-admin/eselect
|
||||
apache2? ( www-servers/apache[apache2_modules_dir] )"
|
||||
|
||||
want_apache
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use apache2 ; then
|
||||
insinto "${APACHE_MODULES_CONFDIR#${EPREFIX}}"
|
||||
doins "${FILESDIR}/70_mod_php.conf"
|
||||
newins "${FILESDIR}/70_mod_php5.backcompat.conf" 70_mod_php5.conf
|
||||
fi
|
||||
|
||||
if use fpm ; then
|
||||
newinitd "${FILESDIR}/php-fpm.init-r4" "php-fpm"
|
||||
systemd_dotmpfilesd "${FILESDIR}/php-fpm.conf"
|
||||
exeinto /usr/libexec
|
||||
doexe "${FILESDIR}/php-fpm-launcher"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use apache2 ; then
|
||||
elog
|
||||
elog "If you are upgrading, be warned that our mod_php configuration"
|
||||
elog "file has changed! You should now define -DPHP for the apache2"
|
||||
elog "daemon, and inspect the new 70_mod_php.conf which has been"
|
||||
elog "installed. Module loading involves eselect as of this version."
|
||||
elog
|
||||
elog "You must run eselect at least once to choose your apache2 target"
|
||||
elog "before the new configuration will work. Afterwards, and after you"
|
||||
elog "have reviewed your new configuration, you are advised to remove"
|
||||
elog "the obsolete 70_mod_php5.conf file."
|
||||
elog
|
||||
fi
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST manpages-de-1.10.tar.xz 1440524 SHA256 5966b553881ff670ed8c43759a1b570c287ba3ba0588c0b8c93328a0232afc7c SHA512 ab5c351e7bc4a40568d954c6c6e9999cb526ab1d20ee73bf1cc5ee6d9bbe0ab34ba557a849b5a386613a19235b70a20303046a5abd02101ddc9ac6fdef62059b WHIRLPOOL 47df53610c7304e4ab9c811665049a82ee0c9a065ddc1bb550189d61fff19e5642fd8cc5324f4ac82e50978edd86c01e1da0e02c23ddc7545c69debc411bd23b
|
||||
DIST manpages-de-1.7.tar.xz 1300384 SHA256 7bb014f4ffdc7a303791bb0ee672d901348babcb4c23002cecd3fc145831728a SHA512 d70f25daf10e233358b705c06a7c9e123fffc492429b4b9e1717c5db3a47d92fefb5e628fc75056306bc8bf0da7146aabd2c80a77cb50a430d2e11d6ce9712e0 WHIRLPOOL d8198220f4998e2550166a4b79434c4c1031c1e320b4b858dbf1468c1b1f19aa1d6a02816acd470191546dd5b08b4d1fff4fe612652866db932ee5b4e3dae33a
|
||||
DIST manpages-de-1.8.tar.xz 1345324 SHA256 e9d82b7bf41accd492b66b7ef2cbaefb5ce30c5ab2a2ad9ae1833424a8b93d6f SHA512 284be71610ddc11f578179f809ecaf2d92eb77b4ba1281ce21f3486e312c2888fc2d830967589702f0df6cee28da6adb4737b416cf8214001ddd14de0292ecd3 WHIRLPOOL e5d2b4afc6cd1b9231f8d837d7507a494b152c30687540bc128994f56e70e29ce9c3918621fb4ed3e62a1be21cddf4a324dd0379160b631885cbce064e0201e3
|
||||
DIST manpages-de-1.9.tar.xz 1415628 SHA256 2c6c02ecd428b9b3cb9298ea2ef0b4972c6e569479e7d5a969d7086c2d7150e8 SHA512 5f01e817274490a90118c875a46f2b5767e62dacc8904f6a327a0883f96c895c7e07d1a76ad2947404552ed93abddd21c16ab51f6f1d076403003dfa0ec34426 WHIRLPOOL d68a1fc0bbf6751c78e0b1beac94d32e7b83539a5571d3546018fc896b70f919ac751c467823796cba0fd59867ca8bcf06a4214beebb004e94551e6545bf2c4e
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils autotools
|
||||
|
||||
MY_P="${PN/-/}-${PV}"
|
||||
|
||||
DESCRIPTION="A somewhat comprehensive collection of Linux german man page translations"
|
||||
HOMEPAGE="http://alioth.debian.org/projects/manpages-de/"
|
||||
SRC_URI="http://manpages-de.alioth.debian.org/downloads/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3+ man-pages GPL-2+ GPL-2 BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="virtual/man"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/po4a"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.3-bzip2.patch
|
||||
|
||||
# Use the same compression as every other manpage
|
||||
local PORTAGE_COMPRESS_LOCAL=${PORTAGE_COMPRESS-bzip2}
|
||||
if [[ ${PORTAGE_COMPRESS+set} == "set" ]] ; then
|
||||
PORTAGE_COMPRESS_LOCAL="#"
|
||||
fi
|
||||
if [[ ${PORTAGE_COMPRESS_FLAGS+set} != "set" ]] ; then
|
||||
case ${PORTAGE_COMPRESS_LOCAL} in
|
||||
bzip2|gzip) local PORTAGE_COMPRESS_FLAGS_LOCAL="-9"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
sed -i -e "s/gzip --best/${PORTAGE_COMPRESS_LOCAL} ${PORTAGE_COMPRESS_FLAGS_LOCAL}/"\
|
||||
po/man{1,2,3,4,5,6,7,8}/Makefile.in po/common.mk || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
emake mandir="${ED}"/usr/share/man install
|
||||
dodoc CHANGES README
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST jq-1.4.tar.gz 578317 SHA256 998c41babeb57b4304e65b4eb73094279b3ab1e63801b6b4bddd487ce009b39d SHA512 02e601b713a3249bcfe5373153dff38a63bf504895181ca3f691dbf033b407373a9c5880001bbd1954123cdf89f4fe75e2a5168e7a7cf13b3f7355dc18f92458 WHIRLPOOL 93c85a40d8aaf36d1f846ee9050aebe32a3a135e89a64647688b447af8733d210a4716d4ee62271a7d33f2e498e8aee7b2e88ed5373d0ec07e810215c1d288ab
|
||||
DIST jq-1.5.tar.gz 739309 SHA256 c4d2bfec6436341113419debf479d833692cc5cdab7eb0326b5a4d4fbe9f493c SHA512 4a0bb069ae875f47731d7d84ae6b82240703dc7a694cfb0aee4c7e9639defe7ba9af575d17dc32bda4426b80c186cc8dcd4505f3a6bcbe16b39e9b13097da238 WHIRLPOOL ca45763fb43ba0bc4a97f1a6d34e3c5af0f25f2548d04646f76ac18e95792445eaa42869ce4a7a736b7d6bc09440225e277df79abacf23ef3c8f1b41170e2907
|
||||
|
@ -0,0 +1,13 @@
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index c3a771f..274c01e 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -84,7 +84,7 @@ main.c: version.h
|
||||
|
||||
bin_PROGRAMS = jq
|
||||
jq_SOURCES = main.c version.h
|
||||
-jq_LDFLAGS = -static-libtool-libs
|
||||
+jq_LDFLAGS =
|
||||
jq_LDADD = libjq.la -lm
|
||||
|
||||
if ENABLE_ALL_STATIC
|
@ -0,0 +1,58 @@
|
||||
commit 18b4b18b41f5ed396d73449ce8d6ec408d95d6b2
|
||||
Author: David Tolnay <dtolnay@gmail.com>
|
||||
Date: Sat Nov 21 10:05:37 2015 -0800
|
||||
|
||||
Support --without-oniguruma
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 9e2c8cf..7f6be34 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -52,27 +52,26 @@ fi
|
||||
AC_ARG_WITH([oniguruma],
|
||||
[AS_HELP_STRING([--with-oniguruma=prefix],
|
||||
[try this for a non-standard install prefix of the oniguruma library])],
|
||||
- [ONIGURUMAPATHSET=1],
|
||||
- [ONIGURUMAPATHSET=0])
|
||||
-
|
||||
-if test $ONIGURUMAPATHSET = 1; then
|
||||
- CFLAGS="$CFLAGS -I${with_oniguruma}/include"
|
||||
- LDFLAGS="$LDFLAGS -L${with_oniguruma}/lib"
|
||||
-fi
|
||||
-
|
||||
-# check for ONIGURUMA library
|
||||
-HAVE_ONIGURUMA=0
|
||||
-AC_CHECK_HEADER("oniguruma.h",
|
||||
- AC_CHECK_LIB([onig],[onig_version],[LIBS="$LIBS -lonig"; HAVE_ONIGURUMA=1;]))
|
||||
-
|
||||
-# handle check results
|
||||
-if test $HAVE_ONIGURUMA != 1; then
|
||||
- AC_MSG_NOTICE([Oniguruma was not found.])
|
||||
- AC_MSG_NOTICE([ Try setting the location using '--with-oniguruma=PREFIX' ])
|
||||
-else
|
||||
- AC_DEFINE([HAVE_ONIGURUMA],1,[Define to 1 if Oniguruma is installed])
|
||||
-fi
|
||||
-
|
||||
+ [],
|
||||
+ [with_oniguruma=yes])
|
||||
+
|
||||
+AS_IF([test "x$with_oniguruma" != xno], [
|
||||
+ AS_IF([test "x$with_oniguruma" != xyes], [
|
||||
+ CFLAGS="$CFLAGS -I${with_oniguruma}/include"
|
||||
+ LDFLAGS="$LDFLAGS -L${with_oniguruma}/lib"
|
||||
+ ])
|
||||
+ # check for ONIGURUMA library
|
||||
+ have_oniguruma=0
|
||||
+ AC_CHECK_HEADER("oniguruma.h",
|
||||
+ AC_CHECK_LIB([onig],[onig_version],[LIBS="$LIBS -lonig"; have_oniguruma=1;]))
|
||||
+ # handle check results
|
||||
+ AS_IF([test $have_oniguruma = 1], [
|
||||
+ AC_DEFINE([HAVE_ONIGURUMA], 1, [Define to 1 if Oniguruma is installed])
|
||||
+ ], [
|
||||
+ AC_MSG_NOTICE([Oniguruma was not found.])
|
||||
+ AC_MSG_NOTICE([Try setting the location using '--with-oniguruma=PREFIX'])
|
||||
+ ])
|
||||
+])
|
||||
|
||||
dnl Check for valgrind
|
||||
AC_CHECK_PROGS(valgrind_cmd, valgrind)
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="A lightweight and flexible command-line JSON processor"
|
||||
HOMEPAGE="https://stedolan.github.com/jq/"
|
||||
SRC_URI="https://github.com/stedolan/jq/releases/download/${P}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT CC-BY-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x64-macos"
|
||||
IUSE="oniguruma static-libs test"
|
||||
|
||||
DEPEND="sys-devel/bison
|
||||
sys-devel/flex
|
||||
oniguruma? ( dev-libs/oniguruma[static-libs?] )
|
||||
test? ( dev-util/valgrind )"
|
||||
|
||||
DOCS=( AUTHORS README )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.5-dynamic-link.patch
|
||||
"${FILESDIR}"/${P}-remove-automagic-dep-on-oniguruma.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
sed -i '/^dist_doc_DATA/d' Makefile.am || die
|
||||
sed -i -r "s:(m4_define\(\[jq_version\],) .+\):\1 \[${PV}\]):" \
|
||||
configure.ac || die
|
||||
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# don't try to rebuild docs
|
||||
econf \
|
||||
--disable-docs \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with oniguruma)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
use static-libs || find "${ED}" -name libjq.la -delete
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST llpp-20_p20140818.tar.gz 127805 SHA256 959862916f6ee4261903bd8192dd7b6203cf9b5fa989b4bb3c19377e61fe23ea SHA512 f529414ce1731f2f155e80615792a1d79e62f58f40238b83f0c5fd59e65429a8a95fe02f6556e7b1c51619f0cac670494e4844b444b428ea3ddb991361268790 WHIRLPOOL e190b8bbed54b8e5157c477bc071bcb16681017838cb0c0295bccddff2244be426ff4c925c3effab43dd2939e5ceb0397e2d860c6e53538139d38f340dd05a71
|
||||
DIST llpp-21.tar.gz 130945 SHA256 bb846ce57269848e830d2665400df107bc23146f4004a755e16fb70d90c3a971 SHA512 8194b9806fecf3f1387aa15f6bbff65ae72df545e8e79fa9244a0c6ea58bf0b96632db11a3abec8afe315acd88c41bd11f17c3b12cf76384b398fd4401f7a909 WHIRLPOOL c24c28df50669f5d684b58d0c90b497430e644b6ef61a9642a1da80324511657fbc01356b36a10754f658ead676105e4e46f94207bd422a462d7a56cc5eb37ef
|
||||
DIST llpp-21_p20150427.tar.gz 132728 SHA256 c8f1eb8eb0f8fb2e92140be7c177be9418b7cf9641f2649e7aee82101e0f0997 SHA512 8eb3c5d21cc1ae5a1d7b6d1d28cd3f8147fba62c98456d25039c90814665afdf417bb2d3ef5eb738c2561a62454f9ce8c663444d889510609cab93deaea77e81 WHIRLPOOL 1ffe07c520393fb36801f9047aa53db8ff1c48c48885e4f1972f485470781d17673b96217ef16d4e08967f5edabe15fb20ffc1e47678ddd17ed31e53251a33eb
|
||||
DIST llpp-22.tar.gz 153700 SHA256 06dff0377bb47c172f5cb498f8bce0f362cca910f90e8663fcd3f1500ce8fa0e SHA512 8db70d7c9f10094aef0928b5f69bd9544c3cac427710d409c593708f18e06a96c0f0051b255eb81f1cb3ad9cd2e5c627121bd897db0fac6a9ade1698f9a78738 WHIRLPOOL d8a2dfb889abeebe6a8b7d9bcd57f15198d84cd16de3f9519962c6de84e67722d911b26064c0f70c9fc7087ef5631d8d82d4ec38af0fc752c644facd12ee0aaa
|
||||
|
@ -0,0 +1,94 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib toolchain-funcs vcs-snapshot
|
||||
|
||||
DESCRIPTION="graphical PDF viewer which aims to superficially resemble less(1)"
|
||||
HOMEPAGE="http://repo.or.cz/w/llpp.git"
|
||||
SRC_URI="http://repo.or.cz/w/llpp.git/snapshot/561dc5673cea431e930668b0d87b0c4b31a36b39.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="+ocamlopt static"
|
||||
#IUSE="egl +ocamlopt static"
|
||||
|
||||
LIB_DEPEND=">=app-text/mupdf-1.7a:0=[static-libs]
|
||||
media-libs/openjpeg:2[static-libs]
|
||||
media-libs/fontconfig:1.0[static-libs]
|
||||
media-libs/freetype:2[static-libs]
|
||||
media-libs/jbig2dec[static-libs]
|
||||
sys-libs/zlib[static-libs]
|
||||
virtual/jpeg:0[static-libs]
|
||||
x11-libs/libX11[static-libs]"
|
||||
# egl? ( media-libs/mesa[static-libs] )
|
||||
RDEPEND="x11-misc/xsel
|
||||
!static? ( ${LIB_DEPEND//\[static-libs]} )"
|
||||
DEPEND="${RDEPEND}
|
||||
static? ( ${LIB_DEPEND}
|
||||
app-arch/bzip2[static-libs]
|
||||
media-libs/libXcm[static-libs]
|
||||
x11-libs/libXau[static-libs]
|
||||
x11-libs/libXdmcp[static-libs]
|
||||
x11-libs/libXmu[static-libs] )
|
||||
>=dev-lang/ocaml-4.02[ocamlopt?]
|
||||
dev-ml/lablgl[glut,ocamlopt?]"
|
||||
|
||||
RESTRICT="!ocamlopt? ( strip )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-20-WM_CLASS.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local ocaml=$(usex ocamlopt ocamlopt.opt ocamlc.opt)
|
||||
local cmo=$(usex ocamlopt cmx cmo)
|
||||
local cma=$(usex ocamlopt cmxa cma)
|
||||
local ccopt="$(freetype-config --cflags ) -O -include ft2build.h -D_GNU_SOURCE -DUSE_FONTCONFIG"
|
||||
#if use egl ; then
|
||||
# ccopt+=" -DUSE_EGL $(pkg-config --cflags egl)"
|
||||
# local egl="egl"
|
||||
#fi
|
||||
if use static ; then
|
||||
local cclib=""
|
||||
local slib=""
|
||||
local spath=( ${EROOT}usr/$(get_libdir) $($(tc-getPKG_CONFIG) --libs-only-L --static mupdf x11 ${egl} | sed 's:-L::g') )
|
||||
for slib in $($(tc-getPKG_CONFIG) --libs-only-l --static mupdf x11 ${egl} fontconfig) -ljpeg -ljbig2dec ; do
|
||||
case ${slib} in
|
||||
-lm|-ldl|-lpthread)
|
||||
einfo "${slib}: shared"
|
||||
cclib+="${slib} " ;;
|
||||
*)
|
||||
local ccnew=$(find ${spath} -name "lib${slib/-l}.a")
|
||||
einfo "${slib}: use ${ccnew}"
|
||||
cclib+="${ccnew} " ;;
|
||||
esac
|
||||
done
|
||||
else
|
||||
local cclib="$($(tc-getPKG_CONFIG) --libs mupdf x11 ${egl} fontconfig) -lpthread"
|
||||
fi
|
||||
|
||||
verbose() { echo "$@" >&2 ; "$@" || die ; }
|
||||
verbose sh mkhelp.sh KEYS ${PV} > help.ml
|
||||
verbose printf 'let version ="%s";;\n' ${PV} >> help.ml
|
||||
verbose ${ocaml} -c -o link.o -ccopt "${ccopt}" link.c
|
||||
verbose ${ocaml} -c -o help.${cmo} help.ml
|
||||
verbose ${ocaml} -c -o utils.${cmo} utils.ml
|
||||
verbose ${ocaml} -c -o wsi.cmi wsi.mli
|
||||
verbose ${ocaml} -c -o wsi.${cmo} wsi.ml
|
||||
verbose ${ocaml} -c -o parser.${cmo} parser.ml
|
||||
verbose ${ocaml} -c -o config.${cmo} -I +lablGL config.ml
|
||||
verbose ${ocaml} -c -pp "sed -f pp.sed" -o main.${cmo} -I +lablGL main.ml
|
||||
verbose ${ocaml} $(usex ocamlopt "" -custom) -o llpp -I +lablGL\
|
||||
str.${cma} unix.${cma} lablgl.${cma} link.o \
|
||||
-cclib "${cclib}" \
|
||||
help.${cmo} utils.${cmo} parser.${cmo} wsi.${cmo} config.${cmo} main.${cmo}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN} misc/${PN}ac
|
||||
dodoc KEYS README Thanks fixme
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
--- mupdf-1.8/Makerules
|
||||
+++ mupdf-1.8/Makerules
|
||||
@@ -119,6 +119,8 @@
|
||||
SYS_JBIG2DEC_LIBS = -ljbig2dec
|
||||
SYS_JPEG_LIBS = -ljpeg
|
||||
SYS_ZLIB_LIBS = -lz
|
||||
+SYS_GLFW_CFLAGS = $(shell pkg-config --cflags glfw3 gl)
|
||||
+SYS_GLFW_LIBS = $(shell pkg-config --libs glfw3 gl)
|
||||
|
||||
endif
|
||||
|
@ -0,0 +1,141 @@
|
||||
# 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 toolchain-funcs vcs-snapshot
|
||||
|
||||
DESCRIPTION="a lightweight PDF viewer and toolkit written in portable C"
|
||||
HOMEPAGE="http://mupdf.com/"
|
||||
SRC_URI="http://git.ghostscript.com/?p=mupdf.git;a=snapshot;h=179403598244f069b56e60866c13a0b840c5932e;sf=tgz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
MY_SOVER=1.8
|
||||
SLOT="0/${MY_SOVER}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="X vanilla +curl javascript libressl opengl +openssl static static-libs"
|
||||
|
||||
LIB_DEPEND="
|
||||
!libressl? ( dev-libs/openssl:0[static-libs?] )
|
||||
libressl? ( dev-libs/libressl[static-libs?] )
|
||||
media-libs/freetype:2[static-libs?]
|
||||
media-libs/jbig2dec[static-libs?]
|
||||
media-libs/openjpeg:2[static-libs?]
|
||||
net-misc/curl[static-libs?]
|
||||
virtual/jpeg[static-libs?]
|
||||
X? ( x11-libs/libX11[static-libs?]
|
||||
x11-libs/libXext[static-libs?] )
|
||||
javascript? ( dev-lang/mujs )
|
||||
opengl? ( >=media-libs/glfw-3 )"
|
||||
RDEPEND="${LIB_DEPEND}"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
static-libs? ( ${LIB_DEPEND} )
|
||||
static? ( ${LIB_DEPEND//?}
|
||||
app-arch/bzip2[static-libs]
|
||||
x11-libs/libXau[static-libs]
|
||||
x11-libs/libXdmcp[static-libs]
|
||||
x11-libs/libxcb[static-libs] )"
|
||||
|
||||
REQUIRED_USE="opengl? ( X !static !static-libs )"
|
||||
|
||||
src_prepare() {
|
||||
use hppa && append-cflags -ffunction-sections
|
||||
|
||||
rm -rf thirdparty || die
|
||||
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-1.3-CFLAGS.patch \
|
||||
"${FILESDIR}"/${PN}-1.5-old-debian-files.patch \
|
||||
"${FILESDIR}"/${PN}-1.3-pkg-config.patch \
|
||||
"${FILESDIR}"/${PN}-1.5-Makerules-openssl-curl.patch \
|
||||
"${FILESDIR}"/${PN}-1.7a-system-mujs.patch \
|
||||
"${FILESDIR}"/${PN}-1.8-system-glfw.patch
|
||||
|
||||
if has_version ">=media-libs/openjpeg-2.1:2" ; then
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-1.5-openjpeg-2.1.patch
|
||||
fi
|
||||
|
||||
sed -e "/^libdir=/s:/lib:/$(get_libdir):" \
|
||||
-e "/^prefix=/s:=.*:=${EROOT}/usr:" \
|
||||
-i platform/debian/${PN}.pc || die
|
||||
|
||||
use vanilla || epatch \
|
||||
"${FILESDIR}"/${PN}-1.3-zoom-2.patch
|
||||
|
||||
#http://bugs.ghostscript.com/show_bug.cgi?id=693467
|
||||
sed -e '/^\(Actions\|MimeType\)=/s:\(.*\):\1;:' \
|
||||
-i platform/debian/${PN}.desktop || die
|
||||
|
||||
sed -e "1iOS = Linux" \
|
||||
-e "1iCC = $(tc-getCC)" \
|
||||
-e "1iLD = $(tc-getCC)" \
|
||||
-e "1iAR = $(tc-getAR)" \
|
||||
-e "1iverbose = yes" \
|
||||
-e "1ibuild = debug" \
|
||||
-e "1iprefix = ${ED}usr" \
|
||||
-e "1ilibdir = ${ED}usr/$(get_libdir)" \
|
||||
-e "1idocdir = ${ED}usr/share/doc/${PF}" \
|
||||
-e "1iHAVE_X11 = $(usex X)" \
|
||||
-e "1iWANT_OPENSSL = $(usex openssl)" \
|
||||
-e "1iWANT_CURL = $(usex curl)" \
|
||||
-e "1iHAVE_MUJS = $(usex javascript)" \
|
||||
-e "1iMUJS_LIBS = -lmujs" \
|
||||
-e "1iMUJS_CFLAGS =" \
|
||||
-e "1iHAVE_GLFW = $(usex opengl yes no)" \
|
||||
-i Makerules || die
|
||||
|
||||
if use static-libs || use static ; then
|
||||
cp -a "${S}" "${S}"-static || die
|
||||
#add missing Libs.private for xcb and freetype
|
||||
sed -e 's:\(pkg-config --libs\):\1 --static:' \
|
||||
-e '/^SYS_X11_LIBS = /s:\(.*\):\1 -lpthread:' \
|
||||
-e '/^SYS_FREETYPE_LIBS = /s:\(.*\):\1 -lbz2:' \
|
||||
-i "${S}"-static/Makerules || die
|
||||
fi
|
||||
|
||||
my_soname=libmupdf.so.${MY_SOVER}
|
||||
my_soname_js_none=libmupdf-js-none.so.${MY_SOVER}
|
||||
sed -e "\$a\$(MUPDF_LIB): \$(MUPDF_JS_NONE_LIB)" \
|
||||
-e "\$a\\\t\$(QUIET_LINK) \$(CC) \$(LDFLAGS) --shared -Wl,-soname -Wl,${my_soname} -Wl,--no-undefined -o \$@ \$^ \$(MUPDF_JS_NONE_LIB) \$(LIBS)" \
|
||||
-e "/^MUPDF_LIB :=/s:=.*:= \$(OUT)/${my_soname}:" \
|
||||
-e "\$a\$(MUPDF_JS_NONE_LIB):" \
|
||||
-e "\$a\\\t\$(QUIET_LINK) \$(CC) \$(LDFLAGS) --shared -Wl,-soname -Wl,${my_soname_js_none} -Wl,--no-undefined -o \$@ \$^ \$(LIBS)" \
|
||||
-e "/install/s: COPYING : :" \
|
||||
-i Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake XCFLAGS="-fpic"
|
||||
use static-libs && \
|
||||
emake -C "${S}"-static build/debug/lib${PN}{,-js-none}.a
|
||||
use static && \
|
||||
emake -C "${S}"-static XLIBS="-static"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use X ; then
|
||||
domenu platform/debian/${PN}.desktop
|
||||
doicon platform/debian/${PN}.xpm
|
||||
else
|
||||
rm docs/man/${PN}.1
|
||||
fi
|
||||
|
||||
emake install
|
||||
dosym ${my_soname} /usr/$(get_libdir)/lib${PN}.so
|
||||
|
||||
use static-libs && \
|
||||
dolib.a "${S}"-static/build/debug/lib${PN}{,-js-none}.a
|
||||
if use static ; then
|
||||
dobin "${S}"-static/build/debug/mu{tool,draw}
|
||||
use X && dobin "${S}"-static/build/debug/${PN}-x11
|
||||
fi
|
||||
use X && dosym ${PN}-x11 /usr/bin/${PN}
|
||||
|
||||
insinto /usr/$(get_libdir)/pkgconfig
|
||||
doins platform/debian/${PN}.pc
|
||||
|
||||
dodoc README docs/*.{txt,c}
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST zathura-cb-0.1.2.tar.gz 6636 SHA256 72b20e2de452ccb8428fe0007bf12cee06c3422eac8e5e3b2c0ecbc9848850e0 SHA512 bc2c8c846e40ee17aa9df989ca019382d1e4b3074376431c1a2f8190607c4d200ed159de161b8cbb1800bd1f494a770691fec803bc8ce661fe317cf753efc4b7 WHIRLPOOL b0f8c3e67842c7e9469b4d3d21f27fb15ad29bfef5540556c8ae6c23e1bbecc368e3cb60b9f4f8882cdb9d26ddf88f9d75613463acacde23d415f8b4c9857061
|
||||
DIST zathura-cb-0.1.3.tar.gz 7191 SHA256 7c9b744201ee690b6d3667481bd5ae97de27abeb4d594a80ecaf4ee8a041023f SHA512 13d64e4e508c35e170db33f5a3fa29894ab26a0ede5a9c55ec4e546faee570a13791af1a48f335c506833d706823554a0fbaeb950a60d6332f3bff41668ce294 WHIRLPOOL b11f7278ddfa7102169eb74863a894846d220238fd289efcc240b10cd34687ff75414641c2565e15c3e9bc4357e00a303737f94a5e8436b02a95a872ba5a54a4
|
||||
DIST zathura-cb-0.1.4.tar.gz 7205 SHA256 f21cb140cce02b3ef8b23eff479a7f66285667ab47cdc099c10cd62eaf239626 SHA512 e36b6adad6bb9cfb2f5e5536db6a9392318c000408336376881dae537a1978eaefd3aea99a0de1e33599f433ef6bb14dc0273d1f6c12bce16570a1f544296e77 WHIRLPOOL 86aeb768f717ff7bfd01a5ed00fdbfa368a53098017682e5a3fee2f328638a2f4e886e3d9c0f7eefe7ab990f3e9fececc445b11b8edbdf85fe6ba2c69fcedfc7
|
||||
DIST zathura-cb-0.1.5.tar.gz 7193 SHA256 375f6912bd79648603bad51c3635ce28eaca7bf4df521c00ff9673d9b4ff6afd SHA512 bb57f1af3813bf9414dc6843f0e9766179a28d0d0756b3c2402e2872d0f35e09fe69c17f9740635da61099407c1335856351d95788738f3820790f3158ff935d WHIRLPOOL a7288ac461a691727914832c9fed90ba4a5e11f47bbdd597d77f0c3cdf539469a4a44028bb2e7d7b9f5cec0b0a822567ee4ab6a566553727921b702e116f3a45
|
||||
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
[[ ${PV} == 9999* ]] && inherit git-2
|
||||
|
||||
DESCRIPTION="Comic book plug-in for zathura with 7zip, rar, tar and zip support"
|
||||
HOMEPAGE="http://pwmt.org/projects/zathura/"
|
||||
if ! [[ ${PV} == 9999* ]]; then
|
||||
SRC_URI="http://pwmt.org/projects/zathura/plugins/download/${P}.tar.gz"
|
||||
fi
|
||||
EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git"
|
||||
EGIT_BRANCH="develop"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
if ! [[ ${PV} == 9999* ]]; then
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
else
|
||||
KEYWORDS=""
|
||||
fi
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEPEND=">=app-text/zathura-0.3.1
|
||||
dev-libs/glib:2=
|
||||
app-arch/libarchive:=
|
||||
x11-libs/cairo:=
|
||||
x11-libs/gdk-pixbuf:="
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
app-arch/p7zip
|
||||
app-arch/tar
|
||||
app-arch/unrar
|
||||
app-arch/unzip"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_setup() {
|
||||
myzathuraconf=(
|
||||
CC="$(tc-getCC)"
|
||||
LD="$(tc-getLD)"
|
||||
VERBOSE=1
|
||||
DESTDIR="${D}"
|
||||
)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake "${myzathuraconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake "${myzathuraconf[@]}" install
|
||||
dodoc AUTHORS
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST zathura-djvu-0.2.3.tar.gz 11181 SHA256 c16e82d525012b788fd01c4189df93708fcffffb7dd34ca09db55005d644ed89 SHA512 6fd9c1d367d02402bc5eaedd853ed0d37aee61a682772c3c2dd543d98c03d85b32cd2b4af4b7f7a6390e97206aa881ebd6df9783e7abf4222352fb4d57de4850 WHIRLPOOL 447aee58bf3c0e9baed6d9d60505245777fd38be8bb2ae4c2f387a98afe334a01cd870995884f99d073904ba6812120c6660d88864bc3d38798d94e1c7d9cd76
|
||||
DIST zathura-djvu-0.2.4.tar.gz 11197 SHA256 ac10b8c07fd9f58281225e1a4cb026634cd03bf6b549eaceeea02f99ab5334bc SHA512 192df545b686259089342044ab682c2517f8e377667a9d44f6f416e1ac7fb7b2e45fa22d34004583c6081650a15d2becb350296a39a647a8dcd2ccc7ef1066d8 WHIRLPOOL ca0cf5570ee5529233110b7db1c29e5572ba321b7dbe59a4632ce23861cb15e0b6e85118bd5159c94a7e5d715c10bafc856a4eb4070413eb66601513eaf26542
|
||||
DIST zathura-djvu-0.2.5.tar.gz 11137 SHA256 08b7110af13e17a9d221bd7a0f7d3b479b3e31631d78bc6c5efb46271a299c0d SHA512 475ad916ed4b1cb1f7d79cf3417a68084bf00d737ffd5436c8079012dff2c8a3c4af28753dd42ad412269ea340e3844f2f781eee080f5487a13ee3a272ffa55a WHIRLPOOL 1304e9a74e0c8d0703f71e5243a112fbe1fe32fd71df64204770b4b0e1dd74e97a0a6a4a0fa258f5e56d5609ded0bb7b5ab097bc1446edb38b27cd4643e6be00
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
[[ ${PV} == 9999* ]] && inherit git-2
|
||||
|
||||
DESCRIPTION="DjVu plug-in for zathura"
|
||||
HOMEPAGE="http://pwmt.org/projects/zathura/"
|
||||
if ! [[ ${PV} == 9999* ]]; then
|
||||
SRC_URI="http://pwmt.org/projects/zathura/plugins/download/${P}.tar.gz"
|
||||
fi
|
||||
EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git"
|
||||
EGIT_BRANCH="develop"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
if ! [[ ${PV} == 9999* ]]; then
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
else
|
||||
KEYWORDS=""
|
||||
fi
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-text/djvu-3.5.24-r1:=
|
||||
>=app-text/zathura-0.3.1
|
||||
dev-libs/glib:2=
|
||||
x11-libs/cairo:="
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_setup() {
|
||||
myzathuraconf=(
|
||||
CC="$(tc-getCC)"
|
||||
LD="$(tc-getLD)"
|
||||
VERBOSE=1
|
||||
DESTDIR="${D}"
|
||||
)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake "${myzathuraconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake "${myzathuraconf[@]}" install
|
||||
dodoc AUTHORS
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST zathura-pdf-mupdf-0.2.6.tar.gz 9094 SHA256 5df94b6f906008b5f3bca770a552da6d2917d6b8d3e4b3049cb7001302041b20 SHA512 5dda347055a0286229e63b7de02bd58314590bfe0edd25d793169f30061083dbf7915669657c7f717c6a3b141b23acd4481dbdb81fa69e399385b2c3eff4272f WHIRLPOOL 6ea732523c0fe4f1324a690a4a7120da5d422f976358270ea096516fb2470b61f1efd3f3be0c1735320e3b9d5de5f0672ee69fd48c6b72135ae686908f1d089e
|
||||
DIST zathura-pdf-mupdf-0.2.7.tar.gz 9357 SHA256 b1343f35940ebcf463b868b557be4eaba7d61884d6ff3ad3d7c7c272e69c253f SHA512 0c0b5ab13cce85f7328fa5ba967ceba926793d7e19fc8e41875fe98b5878292d395edab71e5df86bc6fe86ad111031510362303b7f08a8375731e41a73237a82 WHIRLPOOL a46915fa33f563adb18d462c58a516fd76f69ccdc30b05605b566215acaf47776d36f285019e68bd9d9b4e6c91616a6a0f130478d7ef1668db9a670bdd164b92
|
||||
DIST zathura-pdf-mupdf-0.2.8.tar.gz 9930 SHA256 9f8b92762cdad14a2a587744c758edc0e1003be6a0c1511486065bdc91a66910 SHA512 fce85f513c7d99e1bc48a288fd9f9a14b8ab01ade660ac8eaeeffb3ceaa695d210026d2c4d9c0bf383df613b98a3cb56499b2c835a7d8873dd896d73c61b7258 WHIRLPOOL a0ba8f961c98c9681ae352097cfd0bd58613929466e1a7f072df8d162fe3d9888a7cf073bf995a4ff88332b96a6e40d91f2c65c23a0bf157e5e15c93f00454f0
|
||||
DIST zathura-pdf-mupdf-0.2.9.tar.gz 9909 SHA256 1c7a123b5153a9b1110e882a1475de7bd0929c70d41b33750e1c98efc74f7e3c SHA512 09507df8fa568d64667e8456ba64cb94353322140cb37b2412b46cfdf443142b331d13ac3a5939b8635a185e08b44430578a7cf1d075b6be239cab01a0a4b883 WHIRLPOOL f8129da84073e45227fef8b63df13de70e61b0f80d55cb6192ff8d728e81216445e60297295b1a5ba57962ffd41a06686984c2d8e137a6842bb642d2d7f218b8
|
||||
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
[[ ${PV} == 9999* ]] && inherit git-2
|
||||
|
||||
DESCRIPTION="PDF plug-in for zathura"
|
||||
HOMEPAGE="http://pwmt.org/projects/zathura/"
|
||||
if ! [[ ${PV} == 9999* ]]; then
|
||||
SRC_URI="http://pwmt.org/projects/zathura/plugins/download/${P}.tar.gz"
|
||||
fi
|
||||
EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git"
|
||||
EGIT_BRANCH="develop"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
if ! [[ ${PV} == 9999* ]]; then
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
else
|
||||
KEYWORDS=""
|
||||
fi
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!app-text/zathura-pdf-poppler
|
||||
>=app-text/mupdf-1.7a:=
|
||||
>=app-text/zathura-0.3.1
|
||||
media-libs/jbig2dec:=
|
||||
media-libs/openjpeg:2=
|
||||
virtual/jpeg:0
|
||||
x11-libs/cairo:="
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_setup() {
|
||||
myzathuraconf=(
|
||||
CC="$(tc-getCC)"
|
||||
LD="$(tc-getLD)"
|
||||
VERBOSE=1
|
||||
DESTDIR="${D}"
|
||||
MUPDF_LIB="$($(tc-getPKG_CONFIG) --libs mupdf)"
|
||||
OPENSSL_INC="$($(tc-getPKG_CONFIG) --cflags mupdf)"
|
||||
OPENSSL_LIB=''
|
||||
)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake "${myzathuraconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake "${myzathuraconf[@]}" install
|
||||
dodoc AUTHORS
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST zathura-pdf-poppler-0.2.5.tar.gz 9650 SHA256 60b327596d65bcd39edd5bf05b8cca8f9b658f51e626611ea99247a49b860cac SHA512 6ef167873c469a15f46a59a7e5cf1d50a3b9e3cb496f135da17975de7f9631b8e41076d1e7767f5715eb805d77e19e1bed3e4b39a0c49b0ea6ed2aebe616d56d WHIRLPOOL f84d9214d6e1e4872bd8aa1fae9092e2694a0a998a847b9966376da54bd15d97dcda8116c4431b13e1b1afeeb7ba77b155446d884088c47a2986f933d9f0933a
|
||||
DIST zathura-pdf-poppler-0.2.6.tar.gz 10024 SHA256 d1eb0c7a4f647c141192a2d7bf66413b9c5f1842463947ab87a8a1edcf8e58d5 SHA512 3675d73da173cdfebee5ec83fa36d1861d6143b55931a2be16b24be1dbc70ce98dbc559f92e93e0d7f4d9073095d276754f64e41714810a6610abb09ab447aea WHIRLPOOL 947a69e0954aa9144800ae3614fa05aeb94930c650d38fa78b975cbe8fef36d49d5e3243e26252577557715b0c98ff14e0defce443cf0b095bb21356998a5f5d
|
||||
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
[[ ${PV} == 9999* ]] && inherit git-2
|
||||
|
||||
DESCRIPTION="PDF plug-in for zathura"
|
||||
HOMEPAGE="http://pwmt.org/projects/zathura/"
|
||||
if ! [[ ${PV} == 9999* ]]; then
|
||||
SRC_URI="http://pwmt.org/projects/zathura/plugins/download/${P}.tar.gz"
|
||||
fi
|
||||
EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git"
|
||||
EGIT_BRANCH="develop"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
if ! [[ ${PV} == 9999* ]]; then
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
else
|
||||
KEYWORDS=""
|
||||
fi
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-text/poppler:=[cairo]
|
||||
>=app-text/zathura-0.2.7
|
||||
x11-libs/cairo:="
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_setup() {
|
||||
myzathuraconf=(
|
||||
CC="$(tc-getCC)"
|
||||
LD="$(tc-getLD)"
|
||||
VERBOSE=1
|
||||
DESTDIR="${D}"
|
||||
)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake "${myzathuraconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake "${myzathuraconf[@]}" install
|
||||
dodoc AUTHORS
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST zathura-ps-0.2.2.tar.gz 5793 SHA256 e6546261db03b0b6b6499a8e109dc9ff3b8eb8b154ce45f5c6284c1e76d1d7a8 SHA512 4cedd614127b995ad834d5913dd5d9b3dff6172ac31cf42e8d43941815ac03a4872f41d7766c325f435feffa63364c9c377f760cd0540d2f36753e7df1c4c49e WHIRLPOOL 246f7cede9096474efab0c1b4f25bbd4b908eeb1a3a995d390939c02b79ca2adcce86582fd4129189b20e9028f6c0e9079c674cc1beebc59844b8b3d5597b76c
|
||||
DIST zathura-ps-0.2.3.tar.gz 5973 SHA256 a9eef74b12aec87ac2c4309f12d0f9c83b228fe64a788ee46b2c3a7c91779aa3 SHA512 e5ce62f494f45eeb41a3cf5c91633953fd730b4dd448723afb39fa30cb58f887ef71e5ac462503791905c8de758ca0157805b5e672c6e0807d159294e2b29c7a WHIRLPOOL ac2ab6893fec986666b6e38511f443151aa96dd175bd539ee49ce222e4f9a55c5609509e6cef88ac447ccfa45a749a7ca5adace9fff56ca80bd92e03355f71a5
|
||||
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
[[ ${PV} == 9999* ]] && inherit git-2
|
||||
|
||||
DESCRIPTION="PostScript plug-in for zathura"
|
||||
HOMEPAGE="http://pwmt.org/projects/zathura/"
|
||||
if ! [[ ${PV} == 9999* ]]; then
|
||||
SRC_URI="http://pwmt.org/projects/zathura/plugins/download/${P}.tar.gz"
|
||||
fi
|
||||
EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git"
|
||||
EGIT_BRANCH="develop"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
if ! [[ ${PV} == 9999* ]]; then
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
|
||||
else
|
||||
KEYWORDS=""
|
||||
fi
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-text/libspectre-0.2.6:=
|
||||
>=app-text/zathura-0.2.7
|
||||
dev-libs/glib:2=
|
||||
x11-libs/cairo:="
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_setup() {
|
||||
myzathuraconf=(
|
||||
CC="$(tc-getCC)"
|
||||
LD="$(tc-getLD)"
|
||||
VERBOSE=1
|
||||
DESTDIR="${D}"
|
||||
PREFIX="${EPREFIX}/usr"
|
||||
)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake "${myzathuraconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake "${myzathuraconf[@]}" install
|
||||
dodoc AUTHORS
|
||||
}
|
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils fdo-mime multilib toolchain-funcs virtualx
|
||||
[[ ${PV} == 9999* ]] && inherit git-2
|
||||
|
||||
DESCRIPTION="A highly customizable and functional document viewer"
|
||||
HOMEPAGE="http://pwmt.org/projects/zathura/"
|
||||
if ! [[ ${PV} == 9999* ]]; then
|
||||
SRC_URI="http://pwmt.org/projects/${PN}/download/${P}.tar.gz"
|
||||
fi
|
||||
EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git"
|
||||
EGIT_BRANCH="develop"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
if ! [[ ${PV} == 9999* ]]; then
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
|
||||
else
|
||||
KEYWORDS=""
|
||||
fi
|
||||
IUSE="+magic sqlite test"
|
||||
|
||||
RDEPEND=">=dev-libs/girara-0.2.5:3=
|
||||
>=dev-libs/glib-2.32:2=
|
||||
x11-libs/cairo:=
|
||||
>=x11-libs/gtk+-3.6:3
|
||||
magic? ( sys-apps/file:= )
|
||||
sqlite? ( dev-db/sqlite:3= )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
test? ( dev-libs/check )"
|
||||
|
||||
pkg_setup() {
|
||||
# TODO: Create ebuild for synctex and pass WITH_SYSTEM_SYNCTEX=1
|
||||
myzathuraconf=(
|
||||
WITH_SYSTEM_SYNCTEX=0
|
||||
WITH_MAGIC=$(usex magic 1 0)
|
||||
WITH_SQLITE=$(usex sqlite 1 0)
|
||||
PREFIX="${EPREFIX}"/usr
|
||||
LIBDIR='${PREFIX}'/$(get_libdir)
|
||||
CC="$(tc-getCC)"
|
||||
SFLAGS=''
|
||||
VERBOSE=1
|
||||
DESTDIR="${D}"
|
||||
)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake "${myzathuraconf[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
Xemake "${myzathuraconf[@]}" test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake "${myzathuraconf[@]}" install
|
||||
dodoc AUTHORS
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,65 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
JAVA_PKG_IUSE="doc examples source test"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Java Compiler Compiler - The Java Parser Generator"
|
||||
HOMEPAGE="https://javacc.java.net/"
|
||||
SRC_URI="http://java.net/projects/${PN}/downloads/download/${P}src.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||
|
||||
COMMON_DEP="
|
||||
dev-java/junit:0"
|
||||
RDEPEND="${COMMON_DEP}
|
||||
>=virtual/jre-1.5"
|
||||
DEPEND="${COMMON_DEP}
|
||||
>=virtual/jdk-1.5
|
||||
test? ( dev-java/ant-junit:0 )"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
java_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-4.0-javadoc.patch
|
||||
rm -v lib/junit*/*.jar || die
|
||||
}
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
JAVA_ANT_CLASSPATH_TAGS+=" javadoc"
|
||||
|
||||
EANT_GENTOO_CLASSPATH="junit"
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar bin/lib/${PN}.jar
|
||||
|
||||
dodoc README
|
||||
|
||||
if use doc; then
|
||||
java-pkg_dohtml -r www/*
|
||||
java-pkg_dojavadoc doc/api
|
||||
fi
|
||||
use examples && java-pkg_doexamples examples
|
||||
use source && java-pkg_dosrc src/*
|
||||
|
||||
echo "JAVACC_HOME=${EPREFIX}/usr/share/javacc/" > "${T}"/22javacc
|
||||
doenvd "${T}"/22javacc
|
||||
|
||||
echo "export VERSION=${PV}" > "${T}"/pre
|
||||
|
||||
local launcher
|
||||
for launcher in javacc jjdoc jjtree
|
||||
do
|
||||
java-pkg_dolauncher ${launcher} -pre "${T}"/pre --main ${launcher}
|
||||
done
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST jsch-0.1.49.zip 312322 SHA256 c017dfd2533b86dd751a8b1caea0ab4f19bfb9199c207c94fbdddcfd2ba9bbfe SHA512 6f21db4b561da65d4d22ecaecdc784aaca26b2dc625646a18a27b5dd7ef0eef5596786553e65b2d7f118b4993c4bb4e9561616052d15edf1a1ee1a3a7fd6b4ed WHIRLPOOL 4d09f8d122d1948400825d286718a2ee5cb42df55fbda059ff6c1260c88a5e6318ae9704d2bd7afc1f655b55d9347b39d158a01eaab1d77c506a6b99f117217e
|
||||
DIST jsch-0.1.52.zip 363648 SHA256 ceda29572f9bd670e425e48772b066e62e7a728edc6a6e23ba75f10444832ab5 SHA512 a5a998b6139638eee403e120f5f217112a5c09e81db8e1b1240d53ca311df4540b56aaa5f67f7a5c40cbc8420535d72d456e4fbfc95fe86d46376a00295bec4d WHIRLPOOL b820f35aab95e385bf457fbbd3ea4fc3c30057114c5c7025ac56dc435a4c708c51b450bfbac9b8202e23b90f062cced194def4aa8b479d629f1bef8121c66e5b
|
||||
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="2"
|
||||
JAVA_PKG_IUSE="doc source examples"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 java-osgi
|
||||
|
||||
DESCRIPTION="JSch is a pure Java implementation of SSH2"
|
||||
HOMEPAGE="http://www.jcraft.com/jsch/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.zip"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="zlib"
|
||||
|
||||
RDEPEND=">=virtual/jdk-1.5
|
||||
zlib? ( dev-java/jzlib:0 )"
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
app-arch/unzip
|
||||
${RDEPEND}"
|
||||
|
||||
EANT_BUILD_TARGET="dist"
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
|
||||
src_compile() {
|
||||
if use zlib; then
|
||||
EANT_EXTRA_ARGS="-Djzlib.available=true"
|
||||
EANT_GENTOO_CLASSPATH="jzlib"
|
||||
fi
|
||||
|
||||
java-pkg-2_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-osgi_newjar dist/lib/jsch*.jar "com.jcraft.jsch" "JSch" \
|
||||
"com.jcraft.jsch, com.jcraft.jsch.jce;x-internal:=true, \
|
||||
com.jcraft.jsch.jcraft;x-internal:=true"
|
||||
|
||||
dodoc README ChangeLog || die
|
||||
use doc && java-pkg_dojavadoc javadoc
|
||||
use source && java-pkg_dosrc src/*
|
||||
use examples && java-pkg_doexamples examples
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST jscience-1.0.4-src.zip 414755 SHA256 2ab5573ed2e3f0c8975dbf8ce118f1514f4a2e65d5960e7d210b6699790b0639 SHA512 d78b5cf32117d1f6638d00298185fb01dc1d710d38a1894ffa6ac0c436f6eefa6d330025b8d422597d0109b9ad06d3aa43cf6481bc1ebfad88677e14c1927956 WHIRLPOOL 466d5dc12e9402c70eda444afc9d832252b5e86b924470441d76ca0377b049ac6a0d969b21c7e361b6feb60d95dd9b4adb451048b1c310ddf22a76b4b451e67f
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Java Tools and Libraries for the Advancement of Sciences"
|
||||
SRC_URI="http://jscience.org/${P}-src.zip"
|
||||
HOMEPAGE="http://jscience.org/"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP="~dev-java/javolution-2.2.4"
|
||||
|
||||
RDEPEND=">=virtual/jdk-1.4
|
||||
${COMMON_DEP}"
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
app-arch/unzip
|
||||
${COMMON_DEP}"
|
||||
|
||||
S="${WORKDIR}/jscience-${PV%.*}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}/lib"
|
||||
rm -v *.jar || die
|
||||
java-pkg_jar-from javolution-2.2.4
|
||||
}
|
||||
|
||||
EANT_BUILD_TARGET="jarfile"
|
||||
|
||||
src_test() {
|
||||
# this works here as javolution is in lib/ and referenced in jar's manifest
|
||||
java -jar jscience.jar test || die "test failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar jscience.jar
|
||||
|
||||
dodoc doc/coding_standard.txt || die
|
||||
use doc && java-pkg_dojavadoc api
|
||||
use source && java-pkg_dosrc "${S}/src/org"
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
</pkgmetadata>
|
@ -1 +1,2 @@
|
||||
DIST typesafe-config-1.3.0.zip 363061 SHA256 b3af059bd13e597c5de466595f620cb686d21cfb7abd5bae1fec82d16be42999 SHA512 8b9821de442dc24b8b7be4c5ebc91d57214a32dceda8dc160cfaf801f70b34d2a2df6f8b2cbb744d18be3fbc887f1666f431b52882edcbde408d8adf3681fec4 WHIRLPOOL b2a61f17a269e1d8a533e6235ecdfd2968f452499e4adba61f17b667fe5aa2c07556587f9104d60e990fa268a3220b811f5860f6dd08c2ecd4cb5868833ac1e2
|
||||
DIST v1.3.0.zip 363061 SHA256 b3af059bd13e597c5de466595f620cb686d21cfb7abd5bae1fec82d16be42999 SHA512 8b9821de442dc24b8b7be4c5ebc91d57214a32dceda8dc160cfaf801f70b34d2a2df6f8b2cbb744d18be3fbc887f1666f431b52882edcbde408d8adf3681fec4 WHIRLPOOL b2a61f17a269e1d8a533e6235ecdfd2968f452499e4adba61f17b667fe5aa2c07556587f9104d60e990fa268a3220b811f5860f6dd08c2ecd4cb5868833ac1e2
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="a library of arguably useful Java utilities"
|
||||
HOMEPAGE="https://github.com/typesafehub/config"
|
||||
SRC_URI="https://github.com/typesafehub/config/archive/v${PV}.zip -> ${P}.zip"
|
||||
|
||||
# BEWARE when removing r1! There's a string of deps relying on ppc+ppc64 that
|
||||
# has to be sorted first.
|
||||
# See https://bugs.gentoo.org/show_bug.cgi?id=571316
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc source"
|
||||
|
||||
CDEPEND=""
|
||||
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jre-1.8"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
app-arch/zip
|
||||
>=virtual/jdk-1.8"
|
@ -1,6 +1,7 @@
|
||||
DIST php-5.4.45.tar.bz2 12703324 SHA256 4e0d28b1554c95cfaea6fa2b64aac85433f158ce72bb571bcd5574f98f4c6582 SHA512 ba22207da70e5e8ddf9a1f41bbeb54ef4917630006c3412db8f858782baaa3ff49d7e5ca59bed76c37fc11dc518c475b81f33f0f32c533c8f00be338e0b0d9c5 WHIRLPOOL b34e465dd193e9c1f5dedd7c6f279bb10471e31120f2a84246927f160adb1e54ea56563c719e59ed0654e2fd0805cebcc00198d6f6153791edef52fd0f2288a7
|
||||
DIST php-5.5.30.tar.bz2 13699702 SHA256 e7332a713cecdd1cb44a1b1336739885c9789f633f0f51236b25e48ab03c3b29 SHA512 9458126f579ace9e2aebdfa7ad7f8d097f1fd502f443d8fd66263ba3c542d579ca9c705e227725fae57e452649a3be7cb717a0330d339b93d3c6c94fa80dbc1f WHIRLPOOL 2aa6c61a48a231d81f6c746f94e42589d87b93d0526f02d6d15f731cbbca4aecdee84b443f7ec1891f2a524939c542ac6f94e15db90a23a8b19523463025d395
|
||||
DIST php-5.5.31.tar.bz2 13659002 SHA256 fb4a382b9a9dceb749b7ef047d8251320bc8d371c843714e5b4f4b70d61ba277 SHA512 b5b44092636bf26898441cfda4007480dcd0d58b72cd5c53d74ad2926fe54bf7e5db995c8ff598f72f1783ecd02aafad6be7d3bbd35dc83300621c7c37d37eca WHIRLPOOL 4d6a4cce634d30454280b08c30e25fdc6c2d2f37a823123372a4b1bc2b0cc5cdb4e10ccdc73e78cfbf243f83184861c8f79fae023fcf291ee102151a28236052
|
||||
DIST php-5.6.14.tar.bz2 14073920 SHA256 36f295f11641c1839a5df00e693f685fd134c65e8a1d46e8ee0abae8662b2eb0 SHA512 af0c7fa5c7be15839b1189b2544ff725b935228030087c206f83727e7885750030b10bf2bfbd27adea6f18af90d4ecd3ced9defec88c5f98f7ed26b4e4c57981 WHIRLPOOL 8e31fc3dbeb22fa2a59112d2dcbe28f8102c8d5a14fd716d17f909399c06d27a10ea32d43ebd1a12cea78d9fd949ae7c7882628ae0c3abd7354d165107fa0c9d
|
||||
DIST php-5.6.16.tar.bz2 14066209 SHA256 4fe6f40964c1bfaba05fc144ba20a2cdad33e11685f4f101ea5a48b98bbcd2ae SHA512 08ceb48277785e2075a1bd8035cb32eb8bdddeff6695734d3f1f0721415beddc58413257a490852a93df445d2d342badea46801e46d96f0b85517124ba4020c9 WHIRLPOOL d8669398d03288e9cf0f519a2e76eeb6b7e79f85f60b9f9fbdcc40ae313a3d9fa01b9f173cd354ab8b328b7178a433f54e4f0cf06152ec023c11f00bb98cc5b0
|
||||
DIST php-5.6.17.tar.bz2 14072840 SHA256 77b45f56a1e63e75bb22b42cfb8b438ec4083c59ce774b4d7c1685544b7add3b SHA512 706fd31324c98717d44b4db4440a5eaffe24ad34b346ba95418b33ee072b3ddde5d7429d318f69554b4bfcd7dcc0e9e4b07142b539196e9f0ab7707485ad9dbb WHIRLPOOL 02b7ea265b41e9db94a0087bd5baefdd45f3954df12298f1c50340bee5de1f5ea21ec5e1e039741db5cdd19ffd51518775bc17eff5ad8ad138c71fcaacf80af1
|
||||
DIST php-7.0.2.tar.bz2 13988573 SHA256 9b1b75fbd9c92c6b0003b234e550965038826d11ea1f430bf279964da9da2236 SHA512 05575617c6b9fb25de1d3963ff6fdb2033c66064d65657598228551119859125d33e91fafb9526d6799e92566d51bbd7c29956f774af6e0a64d7f0098d01cc40 WHIRLPOOL 5ef922a701625f4397c0ee23289ad78f67385ef76bb1e6e6f7bc7edf25777bc92af6b25ff1af90a37dfed8099bbc8d6da1bd0a3be059aa6e1b3fa56677599dec
|
||||
DIST php-patchset-5.4-r2.tar.bz2 5824 SHA256 4a47f4d31f50a244f85349486cdb3474cf315562e097ed4c116c2b9b5730ecef SHA512 3c2523458a627373da7acb93fb2cd621f50b19fe2ba1d30beb62eeaaa39045262b917cfd0b631046fec9c8027cfa99bd0426a079ab45eb172b21d25d6e085dde WHIRLPOOL fe4f015e2f0dc66cc23ef16fb5bb33117952593ae0770d4bcd37ecc1c431cbcc7874189d265696305c60b4e395e7ce902667e38203db46867304868271affdea
|
||||
|
@ -0,0 +1,784 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils autotools flag-o-matic versionator depend.apache apache-module db-use libtool systemd
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
|
||||
function php_get_uri ()
|
||||
{
|
||||
case "${1}" in
|
||||
"php-pre")
|
||||
echo "http://downloads.php.net/dsp/${2}"
|
||||
;;
|
||||
"php")
|
||||
echo "http://www.php.net/distributions/${2}"
|
||||
;;
|
||||
"olemarkus")
|
||||
echo "https://dev.gentoo.org/~olemarkus/php/${2}"
|
||||
;;
|
||||
"gentoo")
|
||||
echo "mirror://gentoo/${2}"
|
||||
;;
|
||||
*)
|
||||
die "unhandled case in php_get_uri"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
PHP_MV="$(get_major_version)"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
# alias, so we can handle different types of releases (finals, rcs, alphas,
|
||||
# betas, ...) w/o changing the whole ebuild
|
||||
PHP_PV="${PV/_rc/RC}"
|
||||
PHP_PV="${PHP_PV/_alpha/alpha}"
|
||||
PHP_PV="${PHP_PV/_beta/beta}"
|
||||
PHP_RELEASE="php"
|
||||
[[ ${PV} == ${PV/_alpha/} ]] || PHP_RELEASE="php-pre"
|
||||
[[ ${PV} == ${PV/_beta/} ]] || PHP_RELEASE="php-pre"
|
||||
[[ ${PV} == ${PV/_rc/} ]] || PHP_RELEASE="php-pre"
|
||||
PHP_P="${PN}-${PHP_PV}"
|
||||
|
||||
PHP_SRC_URI="$(php_get_uri "${PHP_RELEASE}" "${PHP_P}.tar.bz2")"
|
||||
|
||||
PHP_FPM_CONF_VER="1"
|
||||
|
||||
SRC_URI="${PHP_SRC_URI}"
|
||||
|
||||
DESCRIPTION="The PHP language runtime engine: CLI, CGI, FPM/FastCGI, Apache2 and embed SAPIs"
|
||||
HOMEPAGE="http://php.net/"
|
||||
LICENSE="PHP-3"
|
||||
|
||||
S="${WORKDIR}/${PHP_P}"
|
||||
|
||||
# We can build the following SAPIs in the given order
|
||||
SAPIS="embed cli cgi fpm apache2"
|
||||
|
||||
# SAPIs and SAPI-specific USE flags (cli SAPI is default on):
|
||||
IUSE="${IUSE}
|
||||
${SAPIS/cli/+cli}
|
||||
threads"
|
||||
|
||||
IUSE="${IUSE} bcmath berkdb bzip2 calendar cdb cjk
|
||||
crypt +ctype curl debug
|
||||
enchant exif frontbase +fileinfo +filter firebird
|
||||
flatfile ftp gd gdbm gmp +hash +iconv imap inifile
|
||||
intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit mhash
|
||||
mssql mysql libmysqlclient mysqli nls
|
||||
oci8-instant-client odbc +opcache pcntl pdo +phar +posix postgres qdbm
|
||||
readline recode selinux +session sharedmem
|
||||
+simplexml snmp soap sockets spell sqlite ssl
|
||||
sybase-ct sysvipc systemd tidy +tokenizer truetype unicode vpx wddx
|
||||
+xml xmlreader xmlwriter xmlrpc xpm xslt zip zlib"
|
||||
|
||||
DEPEND="
|
||||
>=app-eselect/eselect-php-0.7.1-r3[apache2?,fpm?]
|
||||
>=dev-libs/libpcre-8.32[unicode]
|
||||
apache2? ( || ( >=www-servers/apache-2.4[apache2_modules_unixd,threads=]
|
||||
<www-servers/apache-2.4[threads=] ) )
|
||||
berkdb? ( =sys-libs/db-4* )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
|
||||
cjk? ( !gd? (
|
||||
virtual/jpeg:0
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib
|
||||
) )
|
||||
crypt? ( >=dev-libs/libmcrypt-2.4 )
|
||||
curl? ( >=net-misc/curl-7.10.5 )
|
||||
enchant? ( app-text/enchant )
|
||||
exif? ( !gd? (
|
||||
virtual/jpeg:0
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib
|
||||
) )
|
||||
firebird? ( dev-db/firebird )
|
||||
gd? ( virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.0 )
|
||||
gmp? ( >=dev-libs/gmp-4.1.2 )
|
||||
iconv? ( virtual/libiconv )
|
||||
imap? ( virtual/imap-c-client[ssl=] )
|
||||
intl? ( dev-libs/icu:= )
|
||||
iodbc? ( dev-db/libiodbc )
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( >=net-nds/openldap-1.2.11 )
|
||||
ldap-sasl? ( dev-libs/cyrus-sasl >=net-nds/openldap-1.2.11 )
|
||||
libedit? ( || ( sys-freebsd/freebsd-lib dev-libs/libedit ) )
|
||||
mssql? ( dev-db/freetds[mssql] )
|
||||
libmysqlclient? (
|
||||
mysql? ( virtual/mysql )
|
||||
mysqli? ( >=virtual/mysql-4.1 )
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
oci8-instant-client? ( dev-db/oracle-instantclient-basic )
|
||||
odbc? ( >=dev-db/unixODBC-1.8.13 )
|
||||
postgres? ( dev-db/postgresql )
|
||||
qdbm? ( dev-db/qdbm )
|
||||
readline? ( sys-libs/readline )
|
||||
recode? ( app-text/recode )
|
||||
sharedmem? ( dev-libs/mm )
|
||||
simplexml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
snmp? ( >=net-analyzer/net-snmp-5.2 )
|
||||
soap? ( >=dev-libs/libxml2-2.6.8 )
|
||||
spell? ( >=app-text/aspell-0.50 )
|
||||
sqlite? ( >=dev-db/sqlite-3.7.6.3 )
|
||||
ssl? ( >=dev-libs/openssl-0.9.7 )
|
||||
sybase-ct? ( dev-db/freetds )
|
||||
tidy? ( app-text/htmltidy )
|
||||
truetype? (
|
||||
=media-libs/freetype-2*
|
||||
>=media-libs/t1lib-5.0.0
|
||||
!gd? (
|
||||
virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib )
|
||||
)
|
||||
unicode? ( dev-libs/oniguruma )
|
||||
vpx? ( media-libs/libvpx )
|
||||
wddx? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlrpc? ( >=dev-libs/libxml2-2.6.8 virtual/libiconv )
|
||||
xmlreader? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlwriter? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xpm? (
|
||||
x11-libs/libXpm
|
||||
virtual/jpeg:0
|
||||
media-libs/libpng:0= sys-libs/zlib
|
||||
)
|
||||
xslt? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 )
|
||||
zip? ( sys-libs/zlib )
|
||||
zlib? ( sys-libs/zlib )
|
||||
virtual/mta
|
||||
"
|
||||
|
||||
php="=${CATEGORY}/${PF}"
|
||||
|
||||
REQUIRED_USE="
|
||||
truetype? ( gd )
|
||||
vpx? ( gd )
|
||||
cjk? ( gd )
|
||||
exif? ( gd )
|
||||
|
||||
xpm? ( gd )
|
||||
gd? ( zlib )
|
||||
simplexml? ( xml )
|
||||
soap? ( xml )
|
||||
wddx? ( xml )
|
||||
xmlrpc? ( || ( xml iconv ) )
|
||||
xmlreader? ( xml )
|
||||
xslt? ( xml )
|
||||
ldap-sasl? ( ldap )
|
||||
mhash? ( hash )
|
||||
phar? ( hash )
|
||||
libmysqlclient? ( || (
|
||||
mysql
|
||||
mysqli
|
||||
pdo
|
||||
) )
|
||||
|
||||
qdbm? ( !gdbm )
|
||||
readline? ( !libedit )
|
||||
recode? ( !imap !mysql !mysqli )
|
||||
sharedmem? ( !threads )
|
||||
|
||||
!cli? ( !cgi? ( !fpm? ( !apache2? ( !embed? ( cli ) ) ) ) )"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
fpm? (
|
||||
selinux? ( sec-policy/selinux-phpfpm )
|
||||
systemd? ( sys-apps/systemd ) )"
|
||||
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/flex
|
||||
>=sys-devel/m4-1.4.3
|
||||
>=sys-devel/libtool-1.5.18"
|
||||
|
||||
# Allow users to install production version if they want to
|
||||
|
||||
case "${PHP_INI_VERSION}" in
|
||||
production|development)
|
||||
;;
|
||||
*)
|
||||
PHP_INI_VERSION="development"
|
||||
;;
|
||||
esac
|
||||
|
||||
PHP_INI_UPSTREAM="php.ini-${PHP_INI_VERSION}"
|
||||
PHP_INI_FILE="php.ini"
|
||||
|
||||
want_apache
|
||||
|
||||
pkg_setup() {
|
||||
depend.apache_pkg_setup
|
||||
}
|
||||
|
||||
php_install_ini() {
|
||||
local phpsapi="${1}"
|
||||
|
||||
# work out where we are installing the ini file
|
||||
php_set_ini_dir "${phpsapi}"
|
||||
|
||||
local phpinisrc="${PHP_INI_UPSTREAM}-${phpsapi}"
|
||||
cp "${PHP_INI_UPSTREAM}" "${phpinisrc}"
|
||||
|
||||
# default to /tmp for save_path, bug #282768
|
||||
sed -e 's|^;session.save_path .*$|session.save_path = "'"${EPREFIX}"'/tmp"|g' -i "${phpinisrc}"
|
||||
|
||||
# Set the extension dir
|
||||
sed -e "s|^extension_dir .*$|extension_dir = ${extension_dir}|g" -i "${phpinisrc}"
|
||||
|
||||
# Set the include path to point to where we want to find PEAR packages
|
||||
sed -e 's|^;include_path = ".:/php/includes".*|include_path = ".:'"${EPREFIX}"'/usr/share/php'${PHP_MV}':'"${EPREFIX}"'/usr/share/php"|' -i "${phpinisrc}"
|
||||
|
||||
dodir "${PHP_INI_DIR#${EPREFIX}}"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${phpinisrc}" "${PHP_INI_FILE}"
|
||||
|
||||
elog "Installing php.ini for ${phpsapi} into ${PHP_INI_DIR#${EPREFIX}}"
|
||||
elog
|
||||
|
||||
dodir "${PHP_EXT_INI_DIR#${EPREFIX}}"
|
||||
dodir "${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}"
|
||||
|
||||
if use_if_iuse opcache; then
|
||||
elog "Adding opcache to $PHP_EXT_INI_DIR"
|
||||
echo "zend_extension=${PHP_DESTDIR}/$(get_libdir)/opcache.so" >> "${D}/${PHP_EXT_INI_DIR}"/opcache.ini
|
||||
dosym "${PHP_EXT_INI_DIR#${EPREFIX}}/opcache.ini" "${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}/opcache.ini"
|
||||
fi
|
||||
|
||||
# SAPI-specific handling
|
||||
|
||||
if [[ "${sapi}" == "fpm" ]] ; then
|
||||
[[ -z ${PHP_FPM_CONF_VER} ]] && PHP_FPM_CONF_VER=0
|
||||
einfo "Installing FPM CGI config file php-fpm.conf"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${FILESDIR}/php-fpm-r${PHP_FPM_CONF_VER}.conf" php-fpm.conf
|
||||
|
||||
# Remove bogus /etc/php-fpm.conf.default (bug 359906)
|
||||
[[ -f "${ED}/etc/php-fpm.conf.default" ]] && rm "${ED}/etc/php-fpm.conf.default"
|
||||
fi
|
||||
|
||||
# Install PHP ini files into /usr/share/php
|
||||
|
||||
dodoc php.ini-development
|
||||
dodoc php.ini-production
|
||||
|
||||
}
|
||||
|
||||
php_set_ini_dir() {
|
||||
PHP_INI_DIR="${EPREFIX}/etc/php/${1}-php${SLOT}"
|
||||
PHP_EXT_INI_DIR="${PHP_INI_DIR}/ext"
|
||||
PHP_EXT_INI_DIR_ACTIVE="${PHP_INI_DIR}/ext-active"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# USE=sharedmem (session/mod_mm to be exact) tries to mmap() this path
|
||||
# ([empty session.save_path]/session_mm_[sapi][gid].sem)
|
||||
# there is no easy way to circumvent that, all php calls during
|
||||
# install use -n, so no php.ini file will be used.
|
||||
# As such, this is the easiest way to get around
|
||||
addpredict /session_mm_cli250.sem
|
||||
addpredict /session_mm_cli0.sem
|
||||
|
||||
# Change PHP branding
|
||||
# Get the alpha/beta/rc version
|
||||
sed -re "s|^(PHP_EXTRA_VERSION=\").*(\")|\1-pl${PR/r/}-gentoo\2|g" \
|
||||
-i configure.in || die "Unable to change PHP branding"
|
||||
|
||||
# Patch PHP to show Gentoo as the server platform
|
||||
sed -e 's/PHP_UNAME=`uname -a | xargs`/PHP_UNAME=`uname -s -n -r -v | xargs`/g' \
|
||||
-i configure.in || die "Failed to fix server platform name"
|
||||
|
||||
# Prevent PHP from activating the Apache config,
|
||||
# as we will do that ourselves
|
||||
sed -i \
|
||||
-e "s,-i -a -n php${PHP_MV},-i -n php${PHP_MV},g" \
|
||||
-e "s,-i -A -n php${PHP_MV},-i -n php${PHP_MV},g" \
|
||||
configure sapi/apache2filter/config.m4 sapi/apache2handler/config.m4
|
||||
|
||||
# Patch PHP to support heimdal instead of mit-krb5
|
||||
if has_version "app-crypt/heimdal" ; then
|
||||
sed -e 's|gssapi_krb5|gssapi|g' -i acinclude.m4 \
|
||||
|| die "Failed to fix heimdal libname"
|
||||
sed -e 's|PHP_ADD_LIBRARY(k5crypto, 1, $1)||g' -i acinclude.m4 \
|
||||
|| die "Failed to fix heimdal crypt library reference"
|
||||
fi
|
||||
|
||||
#Add user patches #357637
|
||||
epatch_user
|
||||
|
||||
#force rebuilding aclocal.m4
|
||||
rm aclocal.m4
|
||||
eautoreconf
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# http://bugs.php.net/bug.php?id=48795, bug #343481
|
||||
sed -i -e '/BUILD_CGI="\\$(CC)/s/CC/CXX/' configure || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/mib_indexes
|
||||
|
||||
PHP_DESTDIR="${EPREFIX}/usr/$(get_libdir)/php${SLOT}"
|
||||
|
||||
# This is a global variable and should be in caps. It isn't because the
|
||||
# phpconfutils eclass relies on exactly this name...
|
||||
# for --with-libdir see bug #327025
|
||||
my_conf="
|
||||
--prefix="${PHP_DESTDIR}"
|
||||
--mandir="${PHP_DESTDIR}"/man
|
||||
--infodir="${PHP_DESTDIR}"/info
|
||||
--libdir="${PHP_DESTDIR}"/lib
|
||||
--with-libdir=$(get_libdir)
|
||||
--without-pear
|
||||
$(use_enable threads maintainer-zts)"
|
||||
|
||||
# extension USE flag shared
|
||||
my_conf+="
|
||||
$(use_enable bcmath bcmath )
|
||||
$(use_with bzip2 bz2 "${EPREFIX}"/usr)
|
||||
$(use_enable calendar calendar )
|
||||
$(use_enable ctype ctype )
|
||||
$(use_with curl curl "${EPREFIX}"/usr)
|
||||
$(use_enable xml dom )
|
||||
$(use_with enchant enchant "${EPREFIX}"/usr)
|
||||
$(use_enable exif exif )
|
||||
$(use_enable fileinfo fileinfo )
|
||||
$(use_enable filter filter )
|
||||
$(use_enable ftp ftp )
|
||||
$(use_with nls gettext "${EPREFIX}"/usr)
|
||||
$(use_with gmp gmp "${EPREFIX}"/usr)
|
||||
$(use_enable hash hash )
|
||||
$(use_with mhash mhash "${EPREFIX}"/usr)
|
||||
$(use_with iconv iconv $(use elibc_glibc || use elibc_musl || echo "${EPREFIX}"/usr))
|
||||
$(use_enable intl intl )
|
||||
$(use_enable ipv6 ipv6 )
|
||||
$(use_enable json json )
|
||||
$(use_with kerberos kerberos "${EPREFIX}"/usr)
|
||||
$(use_enable xml libxml )
|
||||
$(use_with xml libxml-dir "${EPREFIX}"/usr)
|
||||
$(use_enable unicode mbstring )
|
||||
$(use_with crypt mcrypt "${EPREFIX}"/usr)
|
||||
$(use_with mssql mssql "${EPREFIX}"/usr)
|
||||
$(use_with unicode onig "${EPREFIX}"/usr)
|
||||
$(use_with ssl openssl "${EPREFIX}"/usr)
|
||||
$(use_with ssl openssl-dir "${EPREFIX}"/usr)
|
||||
$(use_enable pcntl pcntl )
|
||||
$(use_enable phar phar )
|
||||
$(use_enable pdo pdo )
|
||||
$(use_enable opcache opcache )
|
||||
$(use_with postgres pgsql "${EPREFIX}"/usr)
|
||||
$(use_enable posix posix )
|
||||
$(use_with spell pspell "${EPREFIX}"/usr)
|
||||
$(use_with recode recode "${EPREFIX}"/usr)
|
||||
$(use_enable simplexml simplexml )
|
||||
$(use_enable sharedmem shmop )
|
||||
$(use_with snmp snmp "${EPREFIX}"/usr)
|
||||
$(use_enable soap soap )
|
||||
$(use_enable sockets sockets )
|
||||
$(use_with sqlite sqlite3 "${EPREFIX}"/usr)
|
||||
$(use_with sybase-ct sybase-ct "${EPREFIX}"/usr)
|
||||
$(use_enable sysvipc sysvmsg )
|
||||
$(use_enable sysvipc sysvsem )
|
||||
$(use_enable sysvipc sysvshm )
|
||||
$(use_with systemd fpm-systemd)
|
||||
$(use_with tidy tidy "${EPREFIX}"/usr)
|
||||
$(use_enable tokenizer tokenizer )
|
||||
$(use_enable wddx wddx )
|
||||
$(use_enable xml xml )
|
||||
$(use_enable xmlreader xmlreader )
|
||||
$(use_enable xmlwriter xmlwriter )
|
||||
$(use_with xmlrpc xmlrpc)
|
||||
$(use_with xslt xsl "${EPREFIX}"/usr)
|
||||
$(use_enable zip zip )
|
||||
$(use_with zlib zlib "${EPREFIX}"/usr)
|
||||
$(use_enable debug debug )"
|
||||
|
||||
# DBA support
|
||||
if use cdb || use berkdb || use flatfile || use gdbm || use inifile \
|
||||
|| use qdbm ; then
|
||||
my_conf="${my_conf} --enable-dba${shared}"
|
||||
fi
|
||||
|
||||
# DBA drivers support
|
||||
my_conf+="
|
||||
$(use_with cdb cdb)
|
||||
$(use_with berkdb db4 ${EPREFIX}/usr)
|
||||
$(use_enable flatfile flatfile )
|
||||
$(use_with gdbm gdbm ${EPREFIX}/usr)
|
||||
$(use_enable inifile inifile )
|
||||
$(use_with qdbm qdbm ${EPREFIX}/usr)"
|
||||
|
||||
# Support for the GD graphics library
|
||||
my_conf+="
|
||||
$(use_with truetype freetype-dir ${EPREFIX}/usr)
|
||||
$(use_with truetype t1lib ${EPREFIX}/usr)
|
||||
$(use_enable cjk gd-jis-conv )
|
||||
$(use_with gd jpeg-dir ${EPREFIX}/usr)
|
||||
$(use_with gd png-dir ${EPREFIX}/usr)
|
||||
$(use_with xpm xpm-dir ${EPREFIX}/usr)
|
||||
$(use_with vpx vpx-dir ${EPREFIX}/usr)"
|
||||
# enable gd last, so configure can pick up the previous settings
|
||||
my_conf+="
|
||||
$(use_with gd gd)"
|
||||
|
||||
# IMAP support
|
||||
if use imap ; then
|
||||
my_conf+="
|
||||
$(use_with imap imap ${EPREFIX}/usr)
|
||||
$(use_with ssl imap-ssl ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# Interbase/firebird support
|
||||
|
||||
if use firebird ; then
|
||||
my_conf+="
|
||||
$(use_with firebird interbase ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# LDAP support
|
||||
if use ldap ; then
|
||||
my_conf+="
|
||||
$(use_with ldap ldap ${EPREFIX}/usr)
|
||||
$(use_with ldap-sasl ldap-sasl ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# MySQL support
|
||||
local mysqllib="mysqlnd"
|
||||
local mysqlilib="mysqlnd"
|
||||
use libmysqlclient && mysqllib="${EPREFIX}/usr"
|
||||
use libmysqlclient && mysqlilib="${EPREFIX}/usr/bin/mysql_config"
|
||||
|
||||
my_conf+=" $(use_with mysql mysql $mysqllib)"
|
||||
my_conf+=" $(use_with mysqli mysqli $mysqlilib)"
|
||||
|
||||
local mysqlsock=" $(use_with mysql mysql-sock ${EPREFIX}/var/run/mysqld/mysqld.sock)"
|
||||
if use mysql ; then
|
||||
my_conf+="${mysqlsock}"
|
||||
elif use mysqli ; then
|
||||
my_conf+="${mysqlsock}"
|
||||
fi
|
||||
|
||||
# ODBC support
|
||||
if use odbc ; then
|
||||
my_conf+="
|
||||
$(use_with odbc unixODBC ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
if use iodbc ; then
|
||||
my_conf+="
|
||||
$(use_with iodbc iodbc ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# Oracle support
|
||||
if use oci8-instant-client ; then
|
||||
my_conf+="
|
||||
$(use_with oci8-instant-client oci8)"
|
||||
fi
|
||||
|
||||
# PDO support
|
||||
if use pdo ; then
|
||||
my_conf+="
|
||||
$(use_with mssql pdo-dblib )
|
||||
$(use_with mysql pdo-mysql ${mysqllib})
|
||||
$(use_with postgres pdo-pgsql )
|
||||
$(use_with sqlite pdo-sqlite ${EPREFIX}/usr)
|
||||
$(use_with odbc pdo-odbc unixODBC,${EPREFIX}/usr)"
|
||||
if use oci8-instant-client ; then
|
||||
my_conf+="
|
||||
$(use_with oci8-instant-client pdo-oci)"
|
||||
fi
|
||||
fi
|
||||
|
||||
# readline/libedit support
|
||||
my_conf+="
|
||||
$(use_with readline readline ${EPREFIX}/usr)
|
||||
$(use_with libedit libedit ${EPREFIX}/usr)"
|
||||
|
||||
# Session support
|
||||
if use session ; then
|
||||
my_conf+="
|
||||
$(use_with sharedmem mm ${EPREFIX}/usr)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_enable session session )"
|
||||
fi
|
||||
|
||||
# Use pic for shared modules such as apache2's mod_php
|
||||
my_conf="${my_conf} --with-pic"
|
||||
|
||||
# we use the system copy of pcre
|
||||
# --with-pcre-regex affects ext/pcre
|
||||
# --with-pcre-dir affects ext/filter and ext/zip
|
||||
my_conf="${my_conf} --with-pcre-regex=${EPREFIX}/usr --with-pcre-dir=${EPREFIX}/usr"
|
||||
|
||||
# Catch CFLAGS problems
|
||||
# Fixes bug #14067.
|
||||
# Changed order to run it in reverse for bug #32022 and #12021.
|
||||
replace-cpu-flags "k6*" "i586"
|
||||
|
||||
# Support user-passed configuration parameters
|
||||
my_conf="${my_conf} ${EXTRA_ECONF:-}"
|
||||
|
||||
# Support the Apache2 extras, they must be set globally for all
|
||||
# SAPIs to work correctly, especially for external PHP extensions
|
||||
|
||||
mkdir -p "${WORKDIR}/sapis-build"
|
||||
for one_sapi in $SAPIS ; do
|
||||
use "${one_sapi}" || continue
|
||||
php_set_ini_dir "${one_sapi}"
|
||||
|
||||
cp -r "${S}" "${WORKDIR}/sapis-build/${one_sapi}"
|
||||
cd "${WORKDIR}/sapis-build/${one_sapi}"
|
||||
|
||||
sapi_conf="${my_conf} --with-config-file-path=${PHP_INI_DIR}
|
||||
--with-config-file-scan-dir=${PHP_EXT_INI_DIR_ACTIVE}"
|
||||
|
||||
for sapi in $SAPIS ; do
|
||||
case "$sapi" in
|
||||
cli|cgi|embed|fpm)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf="${sapi_conf} --enable-${sapi}"
|
||||
else
|
||||
sapi_conf="${sapi_conf} --disable-${sapi}"
|
||||
fi
|
||||
;;
|
||||
|
||||
apache2)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf="${sapi_conf} --with-apxs2=${EPREFIX}/usr/sbin/apxs"
|
||||
else
|
||||
sapi_conf="${sapi_conf} --without-apxs2"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
econf ${sapi_conf}
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# snmp seems to run during src_compile, too (bug #324739)
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/mib_indexes
|
||||
|
||||
for sapi in ${SAPIS} ; do
|
||||
if use "${sapi}"; then
|
||||
cd "${WORKDIR}/sapis-build/$sapi" || "Failed to change dir to ${WORKDIR}/sapis-build/$1"
|
||||
emake || die "emake failed"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# see bug #324739 for what happens when we don't have that
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
|
||||
# grab the first SAPI that got built and install common files from there
|
||||
local first_sapi=""
|
||||
for sapi in $SAPIS ; do
|
||||
if use $sapi ; then
|
||||
first_sapi=$sapi
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
# Makefile forgets to create this before trying to write to it...
|
||||
dodir "${PHP_DESTDIR#${EPREFIX}}/bin"
|
||||
|
||||
# Install php environment (without any sapis)
|
||||
cd "${WORKDIR}/sapis-build/$first_sapi"
|
||||
emake INSTALL_ROOT="${D}" \
|
||||
install-build install-headers install-programs \
|
||||
|| die "emake install failed"
|
||||
|
||||
local extension_dir="$("${ED}/${PHP_DESTDIR#${EPREFIX}}/bin/php-config" --extension-dir)"
|
||||
|
||||
# Create the directory where we'll put version-specific php scripts
|
||||
keepdir /usr/share/php${PHP_MV}
|
||||
|
||||
local sapi="", file=""
|
||||
local sapi_list=""
|
||||
|
||||
for sapi in ${SAPIS}; do
|
||||
if use "${sapi}" ; then
|
||||
einfo "Installing SAPI: ${sapi}"
|
||||
cd "${WORKDIR}/sapis-build/${sapi}"
|
||||
|
||||
if [[ "${sapi}" == "apache2" ]] ; then
|
||||
# We're specifically not using emake install-sapi as libtool
|
||||
# may cause unnecessary relink failures (see bug #351266)
|
||||
insinto "${PHP_DESTDIR#${EPREFIX}}/apache2/"
|
||||
newins ".libs/libphp5$(get_libname)" "libphp${PHP_MV}$(get_libname)"
|
||||
keepdir "/usr/$(get_libdir)/apache2/modules"
|
||||
else
|
||||
# needed each time, php_install_ini would reset it
|
||||
local dest="${PHP_DESTDIR#${EPREFIX}}"
|
||||
into "${dest}"
|
||||
case "$sapi" in
|
||||
cli)
|
||||
source="sapi/cli/php"
|
||||
;;
|
||||
cgi)
|
||||
source="sapi/cgi/php-cgi"
|
||||
;;
|
||||
fpm)
|
||||
source="sapi/fpm/php-fpm"
|
||||
;;
|
||||
embed)
|
||||
source="libs/libphp${PHP_MV}$(get_libname)"
|
||||
;;
|
||||
*)
|
||||
die "unhandled sapi in src_install"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ "${source}" == *"$(get_libname)" ]]; then
|
||||
dolib.so "${source}" || die "Unable to install ${sapi} sapi"
|
||||
else
|
||||
dobin "${source}" || die "Unable to install ${sapi} sapi"
|
||||
local name="$(basename ${source})"
|
||||
dosym "${dest}/bin/${name}" "/usr/bin/${name}${SLOT}"
|
||||
fi
|
||||
fi
|
||||
|
||||
php_install_ini "${sapi}"
|
||||
|
||||
# construct correct SAPI string for php-config
|
||||
# thanks to ferringb for the bash voodoo
|
||||
if [[ "${sapi}" == "apache2" ]]; then
|
||||
sapi_list="${sapi_list:+${sapi_list} }apache2handler"
|
||||
else
|
||||
sapi_list="${sapi_list:+${sapi_list} }${sapi}"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# Installing opcache module
|
||||
if use_if_iuse opcache ; then
|
||||
dolib.so "modules/opcache$(get_libname)" || die "Unable to install opcache module"
|
||||
fi
|
||||
|
||||
# Install env.d files
|
||||
newenvd "${FILESDIR}/20php5-envd" \
|
||||
"20php${SLOT}"
|
||||
sed -e "s|/lib/|/$(get_libdir)/|g" -i \
|
||||
"${ED}/etc/env.d/20php${SLOT}"
|
||||
sed -e "s|php5|php${SLOT}|g" -i \
|
||||
"${ED}/etc/env.d/20php${SLOT}"
|
||||
|
||||
# set php-config variable correctly (bug #278439)
|
||||
sed -e "s:^\(php_sapis=\)\".*\"$:\1\"${sapi_list}\":" -i \
|
||||
"${ED}/usr/$(get_libdir)/php${SLOT}/bin/php-config"
|
||||
|
||||
if use fpm ; then
|
||||
if use systemd; then
|
||||
systemd_newunit "${FILESDIR}/php-fpm_at.service" "php-fpm@${SLOT}.service"
|
||||
else
|
||||
systemd_newunit "${FILESDIR}/php-fpm_at-simple.service" "php-fpm@${SLOT}.service"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
PHP_BIN="${WORKDIR}/sapis-build/cli/sapi/cli/php"
|
||||
if [[ ! -x "${PHP_BIN}" ]] ; then
|
||||
ewarn "Test phase requires USE=cli, skipping"
|
||||
return
|
||||
else
|
||||
export TEST_PHP_EXECUTABLE="${PHP_BIN}"
|
||||
fi
|
||||
|
||||
if [[ -x "${WORKDIR}/sapis/cgi/php-cgi" ]] ; then
|
||||
export TEST_PHP_CGI_EXECUTABLE="${WORKDIR}/sapis/cgi/php-cgi"
|
||||
fi
|
||||
|
||||
REPORT_EXIT_STATUS=1 "${TEST_PHP_EXECUTABLE}" -n -d "session.save_path=${T}" \
|
||||
"${WORKDIR}/sapis-build/cli/run-tests.php" -n -q -d "session.save_path=${T}"
|
||||
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
mv "${name}.out" "${name}.out.orig" 2>/dev/null
|
||||
done
|
||||
|
||||
local failed="$(find -name '*.out')"
|
||||
if [[ ${failed} != "" ]] ; then
|
||||
ewarn "The following test cases failed unexpectedly:"
|
||||
for name in ${failed}; do
|
||||
ewarn " ${name/.out/}"
|
||||
done
|
||||
else
|
||||
einfo "No unexpected test failures, all fine"
|
||||
fi
|
||||
|
||||
if [[ ${PHP_SHOW_UNEXPECTED_TEST_PASS} == "1" ]] ; then
|
||||
local passed=""
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
[[ -f "${name}.diff" ]] && continue
|
||||
passed="${passed} ${name}"
|
||||
done
|
||||
if [[ ${passed} != "" ]] ; then
|
||||
einfo "The following test cases passed unexpectedly:"
|
||||
for name in ${passed}; do
|
||||
ewarn " ${passed}"
|
||||
done
|
||||
else
|
||||
einfo "None of the known-to-fail tests passed, all fine"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Output some general info to the user
|
||||
if use apache2 ; then
|
||||
APACHE2_MOD_DEFINE="PHP"
|
||||
APACHE2_MOD_CONF="70_mod_php" # provided by app-eselect/eselect-php
|
||||
apache-module_pkg_postinst
|
||||
fi
|
||||
|
||||
# Create the symlinks for php
|
||||
for m in ${SAPIS}; do
|
||||
[[ ${m} == 'embed' ]] && continue;
|
||||
if use $m ; then
|
||||
local ci=$(eselect php show $m)
|
||||
if [[ -z $ci ]]; then
|
||||
eselect php set $m php${SLOT}
|
||||
einfo "Switched ${m} to use php:${SLOT}"
|
||||
einfo
|
||||
elif [[ $ci != "php${SLOT}" ]] ; then
|
||||
elog "To switch $m to use php:${SLOT}, run"
|
||||
elog " eselect php set $m php${SLOT}"
|
||||
elog
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
elog "Make sure that PHP_TARGETS in ${EPREFIX}/etc/make.conf includes php${SLOT/./-} in order"
|
||||
elog "to compile extensions for the ${SLOT} ABI"
|
||||
elog
|
||||
if ! use readline && use cli ; then
|
||||
ewarn "Note that in order to use php interactivly, you need to enable"
|
||||
ewarn "the readline USE flag or php -a will hang"
|
||||
fi
|
||||
elog
|
||||
elog "This ebuild installed a version of php.ini based on php.ini-${PHP_INI_VERSION} version."
|
||||
elog "You can chose which version of php.ini to install by default by setting PHP_INI_VERSION to either"
|
||||
elog "'production' or 'development' in ${EPREFIX}/etc/make.conf"
|
||||
elog "Both versions of php.ini can be found in ${EPREFIX}/usr/share/doc/${PF}"
|
||||
|
||||
elog
|
||||
elog "For more details on how minor version slotting works (PHP_TARGETS) please read the upgrade guide:"
|
||||
elog "https://www.gentoo.org/proj/en/php/php-upgrading.xml"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
eselect php cleanup
|
||||
}
|
@ -1,14 +1,3 @@
|
||||
DIST elfutils-0.158-portability.patch 61898 SHA256 edc5e367b90dc3b179439c1c56ac28b04e810b09952d76c51b2df7a2a3f44e78 SHA512 3710f5b9e43a7ae230d8f3b7058addc667e34841fcbb85e3e6e289851b5daf1d82d8f6e592cfa62be127588ae1e274f5b04499156dec3e9c5922f1a06a0e845b WHIRLPOOL 7bc95985ed12c8b356fb6a8d7f92fd0d6aa2d5a8aedb157f85b894199ebb0ae63b2d7baebe759489895bb9db2b552a84647add04f0c02168d9ebfd598ab8fd69
|
||||
DIST elfutils-0.158-robustify.patch 62790 SHA256 dde94387e6565803d7c8d5b4351e4224e0fdeccfb9ef4a2080f15fabf43fe8bf SHA512 cdafe50d93ca74a38e62728f52965a48b37ef6dc05ca949893381c917549e498a2b007580ceb5de81c7292d86fbb11fd62315001216c12baffc243e2e6fd1015 WHIRLPOOL b3d0440230e23d66fc4862083ca9a9b2f3d58619c8789d086e6c9933af5c27b9b1c55dd8fa714acd708757bdee0707041cf6c8b09b804d7c6a4932f77a2648e4
|
||||
DIST elfutils-0.158.tar.bz2 4931570 SHA256 be27af5c21352f53e010342bf1c68e0b9e18232dbf3adec7e2f9b41f6bbe397d SHA512 6f27c07ad2b146d2ff857ad596f0d9150b0a041b4667f9174880a7766250ba2e52103bed9c4295e005255b683346d33d82efcda8f18f66c343df2722ca5d2ca2 WHIRLPOOL ff0c2224f9a514b83995c6f5a628e1331887e3906d3678c237c551d5572371b5a4c8bcf705f8e1389bff02bdab257460b26d8cfd3b3de2cbbc84e3f5a55445ac
|
||||
DIST elfutils-0.159-portability.patch 63319 SHA256 aaaa91cc9101962cdef221b2901346921945bf6e8b7806dbf99c5c2d76dc3ae0 SHA512 043ef48ea0f2cec718d952d7137e16f34c47420b7d1788a9e1685b3543576f8d4a9f8565069709ab87a1b65d32204db01da4e0f08be51c5d8a5890c548369568 WHIRLPOOL e690f510ebe97562dbee233b146481b56fb589c7ed7e99eafd121c3990f084d6adb58fc4db0824518a84cd609a0a10a65f125697f51819b18dfcd3e691c1abd9
|
||||
DIST elfutils-0.159.tar.bz2 5469000 SHA256 fffaad1ba0c4ac5c8cee56dc195746e1f1e7197ba3eba7052ad5a3635ac1242e SHA512 c58d95c90685fb0b37f728c83e9d462be2fabe1dfb7b271b3adcde5f10c532a90b07bcc1c51dd81bf768f0cd3d22fa231fafb74fb5e79098d94a566e139408ff WHIRLPOOL 71cc156658af3ea8461c4cebcf27331a3844af470e337c18a7532fd795ea91eca035ecdc74fa71e92100bf2354b9e724490eae6305cd3ab418202938a4818684
|
||||
DIST elfutils-0.160-portability.patch 63302 SHA256 feb307acf472598ea7af4e4b439251613a8f5d81e804b4abf9aeca195a5d4254 SHA512 a408596fe114392034c7c6f42c4ef2e7a6bdeae346ad07c733eebe29c30d644984d775756b0395ab360c6107eab7d526cdcd0d4955eb8431cccf9ca8a278bca1 WHIRLPOOL cd415d959c8fdf16ea656de84c7e328bb98de1f9b98ba36bdafffca80a008c3673787843b876f6ddd37e1bc0d13283ed85548b5407c90120de164971cee6ae44
|
||||
DIST elfutils-0.160.tar.bz2 5391252 SHA256 741b556863c069ceab2d81eb54aeda8c34f46728859704eaf9baef8503e9a9d1 SHA512 2df392739ae05e1a9ad333a02cc13e088f39370e3d14482072384b0b5285d5ba73e35562cc6c99211272f36744e657081d6d18e16e8c8519e49a51ece9151330 WHIRLPOOL afafd0c2fd2672c7b0e9cb4cdd4fc710fa38c819b7f117673e99cace7931594f03a46085a87fb4e819243572abc52f695d37cc03522bb46cdc6498be9f209582
|
||||
DIST elfutils-0.161-portability.patch 63317 SHA256 bf0363d03e1e4668778eb4e7ddd10e405a22f753b3ad813a537fc01164d1e3fe SHA512 78a8a46b5eaf0326916b79f2502d8e66dabd2783c5661248482572b1528173c5e47f84868693ba58bbf015dfeb3f9897bfe72a778d22aa1b396e7da81b2512b5 WHIRLPOOL bdaa682d3c4113f0d54409afe4d22a0e56f0b28d8f1e69e2c0c16cd31cf12341df56259d3ab38e70b840dd449b2686e7823d4961b282b76de5dde8c458f4e97a
|
||||
DIST elfutils-0.161.tar.bz2 5524766 SHA256 570c91a1783fa5386aaa2dfdd08dda1de777c2b63bf3b9c1437d635ffdd7a070 SHA512 c5061faa01cb6f211c326574f10bd5eb4fe8437afb2581f26cf34e88053d7bd91dc47bae1c8bdd143c35cad055bf48eab1e03acf4069a8e8843643ecf2a198df WHIRLPOOL adf14b937b38fff1de0e0cd18a6866d4080ed6ee80fab73a45c1b94ffe546fe4c1662b090f6802a522c5103fb7826fac46c5e4ccfc8441f09025285722d08ede
|
||||
DIST elfutils-0.162-portability.patch 70906 SHA256 71cd52c43af31a9e445ed14e2f51e4aee32a00c1ffb251390c1a247cfc503d23 SHA512 8bd5647a169b9201dfc93f98a6580ebae34433180941b481248cb644f4991cb670f073d7ca63b203821a398ddd96558b069461aef83b8dd1a60aa154f15dccd1 WHIRLPOOL c31586f846e6cff511996c97015b479d0bc4b80577fb69df140f9cbae817a17ddcaca58a1a0e16ded6efc7f9ae3f570e74b87888a32b524ab9d7c5d3a02f7419
|
||||
DIST elfutils-0.162.tar.bz2 6021217 SHA256 526106bc6be898b3b3281a66b83d64993aa0ef1b55b0416766868ad53d0a1951 SHA512 5d62a84b509f638cb62175b332fdeaa68e04677893d5647fd944e5b5928fa4f0daf8f161dc64f7762dc736f74471c8d617cbc54464cf2e1f79141e937d3db4a9 WHIRLPOOL 2e8bee400f0209206373d716199835729f4d4da97116a4ec76a2dfe977e8a431601208655d576d66e6f1e4eb630dab004eedebabd58a03e4938b745f71daf35d
|
||||
DIST elfutils-0.163-portability.patch 72818 SHA256 e4e82315dad2efaa4e4476503e7537e01b7c1b1f98a96de4ca1c7fa85f4f1045 SHA512 c657da2c4a37e8dac6fe4b399ef72ff60b6780000721f0617fb1dc0a6d962cb1e609b8e72fa0dc5b2d50db8dd68dcd58096bf2e475f7c5461f1765a4ee4c0d2e WHIRLPOOL 0ff248e4767778351f46c91fd5f189d7d2cfee59ac2afdfd5fee659151b72e33d310440273da0ed6f5611f76f9ec651ff51acffcc0557a0ec111c50b819db091
|
||||
DIST elfutils-0.163.tar.bz2 6029307 SHA256 7c774f1eef329309f3b05e730bdac50013155d437518a2ec0e24871d312f2e23 SHA512 80cb37b965e85f6c6b51247f0cb07cde9d9071e7cdde4c028479a609e12dfb196e428fa8743586ce8a46d49dac74073b55bcb812ea6118471c0de07b3dd7f772 WHIRLPOOL 5e2b7881ec96438e0ecb583b77202ccdad6ae7b46f2dcc0b2869119642173bc5da5f26d51bf4464fc9c5c1951f14a4a11bf8dfc6906e6dfd551782c4c9f28cd8
|
||||
DIST elfutils-0.164.tar.bz2 6065265 SHA256 9683c025928a12d06b7fe812928aa6235249e22d197d086f7084606a48165900 SHA512 83e0bdf17fff2c480cf5f99fe9d733a8b4f7cde0f9a3eeb4e3c4b4bd221a306e0a03bfd99e097f0085a33bb8b9f73fda10e390e17d30c3f5a1344e781065efce WHIRLPOOL d1de8d928b64e170358343c8984762286d63745c8cbe1375b7cdf07566c44091dd078f5876106c6b829831e630fda9d8db5e28c5c871c98a70eb1cda58596705
|
||||
|
@ -1,73 +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-minimal
|
||||
|
||||
DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)"
|
||||
HOMEPAGE="https://fedorahosted.org/elfutils/"
|
||||
SRC_URI="https://fedorahosted.org/releases/e/l/${PN}/${PV}/${P}.tar.bz2
|
||||
https://fedorahosted.org/releases/e/l/${PN}/${PV}/${PN}-portability.patch -> ${P}-portability.patch
|
||||
https://fedorahosted.org/releases/e/l/${PN}/${PV}/${PN}-robustify.patch -> ${P}-robustify.patch"
|
||||
|
||||
LICENSE="GPL-2-with-exceptions"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~arm-linux ~x86-linux"
|
||||
IUSE="bzip2 lzma nls static-libs test +threads +utils zlib"
|
||||
|
||||
# This pkg does not actually seem to compile currently in a uClibc
|
||||
# environment (xrealloc errs), but we need to ensure that glibc never
|
||||
# gets pulled in as a dep since this package does not respect virtual/libc
|
||||
RDEPEND="zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
|
||||
bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] )
|
||||
lzma? ( >=app-arch/xz-utils-5.0.5-r1[${MULTILIB_USEDEP}] )
|
||||
!dev-libs/libelf
|
||||
abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20130224-r11
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
>=sys-devel/flex-2.5.4a
|
||||
sys-devel/m4"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.118-PaX-support.patch
|
||||
epatch "${DISTDIR}"/${P}-{portability,robustify}.patch
|
||||
epatch "${FILESDIR}"/${PN}-0.158-tests-backtrace-native-core.patch
|
||||
use static-libs || sed -i -e '/^lib_LIBRARIES/s:=.*:=:' -e '/^%.os/s:%.o$::' lib{asm,dw,elf}/Makefile.in
|
||||
# some patches touch both configure and configure.ac
|
||||
find -type f -exec touch -r configure {} +
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use test && append-flags -g #407135
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
--disable-werror \
|
||||
$(use_enable nls) \
|
||||
$(use_enable threads thread-safety) \
|
||||
--program-prefix="eu-" \
|
||||
$(use_with zlib) \
|
||||
$(use_with bzip2 bzlib) \
|
||||
$(use_with lzma)
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
env LD_LIBRARY_PATH="${BUILD_DIR}/libelf:${BUILD_DIR}/libebl:${BUILD_DIR}/libdw:${BUILD_DIR}/libasm" \
|
||||
LC_ALL="C" \
|
||||
emake check || die
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
dodoc NOTES
|
||||
# These build quick, and are needed for most tests, so don't
|
||||
# disable their building when the USE flag is disabled.
|
||||
use utils || rm -rf "${ED}"/usr/bin
|
||||
}
|
@ -1,72 +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-minimal
|
||||
|
||||
DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)"
|
||||
HOMEPAGE="https://fedorahosted.org/elfutils/"
|
||||
SRC_URI="https://fedorahosted.org/releases/e/l/${PN}/${PV}/${P}.tar.bz2
|
||||
https://fedorahosted.org/releases/e/l/${PN}/${PV}/${PN}-portability.patch -> ${P}-portability.patch"
|
||||
|
||||
LICENSE="GPL-2-with-exceptions"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
|
||||
IUSE="bzip2 lzma nls static-libs test +threads +utils zlib"
|
||||
|
||||
# This pkg does not actually seem to compile currently in a uClibc
|
||||
# environment (xrealloc errs), but we need to ensure that glibc never
|
||||
# gets pulled in as a dep since this package does not respect virtual/libc
|
||||
RDEPEND="zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
|
||||
bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] )
|
||||
lzma? ( >=app-arch/xz-utils-5.0.5-r1[${MULTILIB_USEDEP}] )
|
||||
!dev-libs/libelf
|
||||
abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20130224-r11
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
>=sys-devel/flex-2.5.4a
|
||||
sys-devel/m4"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.118-PaX-support.patch
|
||||
epatch "${DISTDIR}"/${P}-portability.patch
|
||||
use static-libs || sed -i -e '/^lib_LIBRARIES/s:=.*:=:' -e '/^%.os/s:%.o$::' lib{asm,dw,elf}/Makefile.in
|
||||
sed -i 's:-Werror::' */Makefile.in
|
||||
# some patches touch both configure and configure.ac
|
||||
find -type f -exec touch -r configure {} +
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use test && append-flags -g #407135
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
--disable-werror \
|
||||
$(use_enable nls) \
|
||||
$(use_enable threads thread-safety) \
|
||||
--program-prefix="eu-" \
|
||||
$(use_with zlib) \
|
||||
$(use_with bzip2 bzlib) \
|
||||
$(use_with lzma)
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
env LD_LIBRARY_PATH="${BUILD_DIR}/libelf:${BUILD_DIR}/libebl:${BUILD_DIR}/libdw:${BUILD_DIR}/libasm" \
|
||||
LC_ALL="C" \
|
||||
emake check || die
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
dodoc NOTES
|
||||
# These build quick, and are needed for most tests, so don't
|
||||
# disable their building when the USE flag is disabled.
|
||||
use utils || rm -rf "${ED}"/usr/bin
|
||||
}
|
@ -1,72 +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-minimal
|
||||
|
||||
DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)"
|
||||
HOMEPAGE="https://fedorahosted.org/elfutils/"
|
||||
SRC_URI="https://fedorahosted.org/releases/e/l/${PN}/${PV}/${P}.tar.bz2
|
||||
https://fedorahosted.org/releases/e/l/${PN}/${PV}/${PN}-portability.patch -> ${P}-portability.patch"
|
||||
|
||||
LICENSE="GPL-2-with-exceptions"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
|
||||
IUSE="bzip2 lzma nls static-libs test +threads +utils zlib"
|
||||
|
||||
# This pkg does not actually seem to compile currently in a uClibc
|
||||
# environment (xrealloc errs), but we need to ensure that glibc never
|
||||
# gets pulled in as a dep since this package does not respect virtual/libc
|
||||
RDEPEND="zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
|
||||
bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] )
|
||||
lzma? ( >=app-arch/xz-utils-5.0.5-r1[${MULTILIB_USEDEP}] )
|
||||
!dev-libs/libelf
|
||||
abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20130224-r11
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
>=sys-devel/flex-2.5.4a
|
||||
sys-devel/m4"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.118-PaX-support.patch
|
||||
epatch "${DISTDIR}"/${P}-portability.patch
|
||||
use static-libs || sed -i -e '/^lib_LIBRARIES/s:=.*:=:' -e '/^%.os/s:%.o$::' lib{asm,dw,elf}/Makefile.in
|
||||
sed -i 's:-Werror::' */Makefile.in
|
||||
# some patches touch both configure and configure.ac
|
||||
find -type f -exec touch -r configure {} +
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use test && append-flags -g #407135
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
--disable-werror \
|
||||
$(use_enable nls) \
|
||||
$(use_enable threads thread-safety) \
|
||||
--program-prefix="eu-" \
|
||||
$(use_with zlib) \
|
||||
$(use_with bzip2 bzlib) \
|
||||
$(use_with lzma)
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
env LD_LIBRARY_PATH="${BUILD_DIR}/libelf:${BUILD_DIR}/libebl:${BUILD_DIR}/libdw:${BUILD_DIR}/libasm" \
|
||||
LC_ALL="C" \
|
||||
emake check || die
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
dodoc NOTES
|
||||
# These build quick, and are needed for most tests, so don't
|
||||
# disable their building when the USE flag is disabled.
|
||||
use utils || rm -rf "${ED}"/usr/bin
|
||||
}
|
@ -1,73 +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-minimal
|
||||
|
||||
DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)"
|
||||
HOMEPAGE="https://fedorahosted.org/elfutils/"
|
||||
SRC_URI="https://fedorahosted.org/releases/e/l/${PN}/${PV}/${P}.tar.bz2
|
||||
https://fedorahosted.org/releases/e/l/${PN}/${PV}/${PN}-portability-${PV}.patch -> ${P}-portability.patch"
|
||||
|
||||
LICENSE="GPL-2-with-exceptions"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
|
||||
IUSE="bzip2 lzma nls static-libs test +threads +utils zlib"
|
||||
|
||||
# This pkg does not actually seem to compile currently in a uClibc
|
||||
# environment (xrealloc errs), but we need to ensure that glibc never
|
||||
# gets pulled in as a dep since this package does not respect virtual/libc
|
||||
RDEPEND="zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
|
||||
bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] )
|
||||
lzma? ( >=app-arch/xz-utils-5.0.5-r1[${MULTILIB_USEDEP}] )
|
||||
!dev-libs/libelf
|
||||
abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20130224-r11
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
>=sys-devel/flex-2.5.4a
|
||||
sys-devel/m4"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.118-PaX-support.patch
|
||||
epatch "${DISTDIR}"/${P}-portability.patch
|
||||
epatch "${FILESDIR}"/${P}-libelf-dir-traversal.patch #534000
|
||||
use static-libs || sed -i -e '/^lib_LIBRARIES/s:=.*:=:' -e '/^%.os/s:%.o$::' lib{asm,dw,elf}/Makefile.in
|
||||
sed -i 's:-Werror::' */Makefile.in
|
||||
# some patches touch both configure and configure.ac
|
||||
find -type f -exec touch -r configure {} +
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use test && append-flags -g #407135
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
--disable-werror \
|
||||
$(use_enable nls) \
|
||||
$(use_enable threads thread-safety) \
|
||||
--program-prefix="eu-" \
|
||||
$(use_with zlib) \
|
||||
$(use_with bzip2 bzlib) \
|
||||
$(use_with lzma)
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
env LD_LIBRARY_PATH="${BUILD_DIR}/libelf:${BUILD_DIR}/libebl:${BUILD_DIR}/libdw:${BUILD_DIR}/libasm" \
|
||||
LC_ALL="C" \
|
||||
emake check || die
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
dodoc NOTES
|
||||
# These build quick, and are needed for most tests, so don't
|
||||
# disable their building when the USE flag is disabled.
|
||||
use utils || rm -rf "${ED}"/usr/bin
|
||||
}
|
@ -1,72 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic multilib-minimal
|
||||
|
||||
DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)"
|
||||
HOMEPAGE="https://fedorahosted.org/elfutils/"
|
||||
SRC_URI="https://fedorahosted.org/releases/e/l/${PN}/${PV}/${P}.tar.bz2
|
||||
https://fedorahosted.org/releases/e/l/${PN}/${PV}/${PN}-portability-${PV}.patch -> ${P}-portability.patch"
|
||||
|
||||
LICENSE="GPL-2-with-exceptions"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
|
||||
IUSE="bzip2 lzma nls static-libs test +threads +utils zlib"
|
||||
|
||||
# This pkg does not actually seem to compile currently in a uClibc
|
||||
# environment (xrealloc errs), but we need to ensure that glibc never
|
||||
# gets pulled in as a dep since this package does not respect virtual/libc
|
||||
RDEPEND="zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
|
||||
bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] )
|
||||
lzma? ( >=app-arch/xz-utils-5.0.5-r1[${MULTILIB_USEDEP}] )
|
||||
!dev-libs/libelf
|
||||
abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20130224-r11
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
>=sys-devel/flex-2.5.4a
|
||||
sys-devel/m4"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.118-PaX-support.patch
|
||||
epatch "${DISTDIR}"/${P}-portability.patch
|
||||
use static-libs || sed -i -e '/^lib_LIBRARIES/s:=.*:=:' -e '/^%.os/s:%.o$::' lib{asm,dw,elf}/Makefile.in
|
||||
sed -i 's:-Werror::' */Makefile.in
|
||||
# some patches touch both configure and configure.ac
|
||||
find -type f -exec touch -r configure {} +
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use test && append-flags -g #407135
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
--disable-werror \
|
||||
$(use_enable nls) \
|
||||
$(use_enable threads thread-safety) \
|
||||
--program-prefix="eu-" \
|
||||
$(use_with zlib) \
|
||||
$(use_with bzip2 bzlib) \
|
||||
$(use_with lzma)
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
env LD_LIBRARY_PATH="${BUILD_DIR}/libelf:${BUILD_DIR}/libebl:${BUILD_DIR}/libdw:${BUILD_DIR}/libasm" \
|
||||
LC_ALL="C" \
|
||||
emake check || die
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
dodoc NOTES
|
||||
# These build quick, and are needed for most tests, so don't
|
||||
# disable their building when the USE flag is disabled.
|
||||
use utils || rm -rf "${ED}"/usr/bin
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
https://bugs.gentoo.org/287130
|
||||
|
||||
--- elfutils-0.143/configure
|
||||
+++ elfutils-0.143/configure
|
||||
@@ -5460,7 +5460,7 @@
|
||||
|
||||
# 1.234<whatever> -> 1234<whatever>
|
||||
case "$PACKAGE_VERSION" in
|
||||
-[0-9].*) eu_version="${PACKAGE_VERSION/./}" ;;
|
||||
+[0-9].*) eu_version=`echo "$PACKAGE_VERSION" | sed 's@\.@@'` ;;
|
||||
*) { { $as_echo "$as_me:$LINENO: error: confused by version number '$PACKAGE_VERSION'" >&5
|
||||
$as_echo "$as_me: error: confused by version number '$PACKAGE_VERSION'" >&2;}
|
||||
{ (exit 1); exit 1; }; } ;;
|
||||
@@ -5495,7 +5495,7 @@
|
||||
esac
|
||||
|
||||
# Round up to the next release API (x.y) version.
|
||||
-eu_version=$[($eu_version + 999) / 1000]
|
||||
+eu_version=`expr \( $eu_version + 999 \) / 1000`
|
||||
|
||||
cat >confcache <<\_ACEOF
|
||||
# This file is a shell script that caches the results of configure
|
@ -1,23 +0,0 @@
|
||||
Remove bashifications
|
||||
https://bugs.gentoo.org/287130
|
||||
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -4874,7 +4874,7 @@ ac_config_files="$ac_config_files version.h:config/version.h.in"
|
||||
|
||||
# 1.234<whatever> -> 1234<whatever>
|
||||
case "$PACKAGE_VERSION" in
|
||||
-[0-9].*) eu_version="${PACKAGE_VERSION/./}" ;;
|
||||
+[0-9].*) eu_version=`echo "$PACKAGE_VERSION" | sed 's@\.@@'` ;;
|
||||
*) as_fn_error "confused by version number '$PACKAGE_VERSION'" "$LINENO" 5 ;;
|
||||
esac
|
||||
case "$eu_version" in
|
||||
@@ -4903,7 +4903,7 @@ case "$eu_version" in
|
||||
esac
|
||||
|
||||
# Round up to the next release API (x.y) version.
|
||||
-eu_version=$[($eu_version + 999) / 1000]
|
||||
+eu_version=`expr \( $eu_version + 999 \) / 1000`
|
||||
|
||||
cat >confcache <<\_ACEOF
|
||||
# This file is a shell script that caches the results of configure
|
@ -1,23 +0,0 @@
|
||||
Remove bashifications
|
||||
https://bugs.gentoo.org/287130
|
||||
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -4880,7 +4880,7 @@ ac_config_files="$ac_config_files version.h:config/version.h.in"
|
||||
|
||||
# 1.234<whatever> -> 1234<whatever>
|
||||
case "$PACKAGE_VERSION" in
|
||||
-[0-9].*) eu_version="${PACKAGE_VERSION/./}" ;;
|
||||
+[0-9].*) eu_version=`echo "$PACKAGE_VERSION" | sed 's@\.@@'` ;;
|
||||
*) as_fn_error $? "confused by version number '$PACKAGE_VERSION'" "$LINENO" 5 ;;
|
||||
esac
|
||||
case "$eu_version" in
|
||||
@@ -4909,7 +4909,7 @@ case "$eu_version" in
|
||||
esac
|
||||
|
||||
# Round up to the next release API (x.y) version.
|
||||
-eu_version=$[($eu_version + 999) / 1000]
|
||||
+eu_version=`expr \( $eu_version + 999 \) / 1000`
|
||||
|
||||
cat >confcache <<\_ACEOF
|
||||
# This file is a shell script that caches the results of configure
|
@ -1,46 +0,0 @@
|
||||
https://bugs.gentoo.org/497566
|
||||
|
||||
From 435808a681cc375f0907f2066c4cc062173a6c7e Mon Sep 17 00:00:00 2001
|
||||
From: Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
Date: Sat, 18 Jan 2014 21:56:13 +0100
|
||||
Subject: [PATCH] Fix false FAILs on testsuite with ulimit -c unlimited.
|
||||
|
||||
Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
---
|
||||
tests/ChangeLog | 6 ++++++
|
||||
tests/backtrace-child.c | 8 +++++---
|
||||
2 files changed, 11 insertions(+), 3 deletions(-)
|
||||
|
||||
2014-01-18 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
Fix false FAILs on testsuite with ulimit -c unlimited.
|
||||
* backtrace-child.c (sigusr2): Call pthread_exit.
|
||||
(main): Return, do not call abort.
|
||||
|
||||
diff --git a/tests/backtrace-child.c b/tests/backtrace-child.c
|
||||
index 0db1258..512aa23 100644
|
||||
--- a/tests/backtrace-child.c
|
||||
+++ b/tests/backtrace-child.c
|
||||
@@ -100,7 +100,10 @@ sigusr2 (int signo)
|
||||
if (! gencore)
|
||||
{
|
||||
raise (SIGUSR1);
|
||||
- /* It should not be reached. */
|
||||
+ /* Do not return as stack may be invalid due to ptrace-patched PC to the
|
||||
+ jmp function. */
|
||||
+ pthread_exit (NULL);
|
||||
+ /* Not reached. */
|
||||
abort ();
|
||||
}
|
||||
/* Here we dump the core for --gencore. */
|
||||
@@ -218,6 +221,5 @@ main (int argc UNUSED, char **argv)
|
||||
pthread_join (thread, NULL);
|
||||
else
|
||||
raise (SIGUSR2);
|
||||
- /* Not reached. */
|
||||
- abort ();
|
||||
+ return 0;
|
||||
}
|
||||
--
|
||||
1.8.5.3
|
||||
|
@ -1,51 +0,0 @@
|
||||
https://bugs.gentoo.org/534000
|
||||
|
||||
From 147018e729e7c22eeabf15b82d26e4bf68a0d18e Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Cherepanov <cherepan@mccme.ru>
|
||||
Date: Sun, 28 Dec 2014 19:57:19 +0300
|
||||
Subject: [PATCH] libelf: Fix dir traversal vuln in ar extraction.
|
||||
|
||||
read_long_names terminates names at the first '/' found but then skips
|
||||
one character without checking (it's supposed to be '\n'). Hence the
|
||||
next name could start with any character including '/'. This leads to
|
||||
a directory traversal vulnerability at the time the contents of the
|
||||
archive is extracted.
|
||||
|
||||
The danger is mitigated by the fact that only one '/' is possible in a
|
||||
resulting filename and only in the leading position. Hence only files
|
||||
in the root directory can be written via this vuln and only when ar is
|
||||
executed as root.
|
||||
|
||||
The fix for the vuln is to not skip any characters while looking
|
||||
for '/'.
|
||||
|
||||
Signed-off-by: Alexander Cherepanov <cherepan@mccme.ru>
|
||||
---
|
||||
libelf/ChangeLog | 5 +++++
|
||||
libelf/elf_begin.c | 5 +----
|
||||
2 files changed, 6 insertions(+), 4 deletions(-)
|
||||
|
||||
2014-12-28 Alexander Cherepanov <cherepan@mccme.ru>
|
||||
|
||||
* elf_begin.c (read_long_names): Don't miss '/' right after
|
||||
another '/'. Fixes a dir traversal vuln in ar extraction.
|
||||
|
||||
diff --git a/libelf/elf_begin.c b/libelf/elf_begin.c
|
||||
index 30abe0b..cd3756c 100644
|
||||
--- a/libelf/elf_begin.c
|
||||
+++ b/libelf/elf_begin.c
|
||||
@@ -749,10 +749,7 @@ read_long_names (Elf *elf)
|
||||
}
|
||||
|
||||
/* NUL-terminate the string. */
|
||||
- *runp = '\0';
|
||||
-
|
||||
- /* Skip the NUL byte and the \012. */
|
||||
- runp += 2;
|
||||
+ *runp++ = '\0';
|
||||
|
||||
/* A sanity check. Somebody might have generated invalid
|
||||
archive. */
|
||||
--
|
||||
2.2.1
|
||||
|
@ -1,3 +1,4 @@
|
||||
DIST girara-0.2.2.tar.gz 72553 SHA256 6382dfdf1cc7ddfedf3d1ece5a7f07590c49b4932184ee8dec6d2bd121e66653 SHA512 216f737843523542697f995c08792adfaa0961414b7002d9b2740cc54f6fc94e61cbf06d5a71fa3e56637ad7594fe8c7cf5abb96784ff492c8305c2a7848ec8d WHIRLPOOL 4301b58585a11df21de19ca01b5a2f6c894e607106113860b3b562da1e986cb558ee6a062e40ea3b4a20d9b224a9289683c4098c30619edfa8cce3f82a2b0221
|
||||
DIST girara-0.2.3.tar.gz 74107 SHA256 b07fcce509a27c5917a997eb08cc5c8da20e9013f59ae89367ff048f2eae0ede SHA512 143a56e394838e255db1e6b95969023d74aa768b88f8b487c6f0f6d92753e0fdb43bfdca8423e161aeb7eae3abcd5777d45540ec5ec615fe72fb667418206c33 WHIRLPOOL 1d714a860aa5d4d2095c37450767544650996d0c06dba64a6cc221dea8352e293cb47de49ac5474e5abb71dc74f1621315e2561fd5d67088c85d138d0e7e1e2e
|
||||
DIST girara-0.2.4.tar.gz 74660 SHA256 2ee04e4c0e700d455ebaf92f804355f948754e7d3751d409db6595419e6ece5e SHA512 9e22c6beb1d85a84db7b014da12fe425dced36e5ef9cd5828303d438642e09943fc9ae150b925f8b8ea5bd4e8bf8803ee964ce400e67b3ea314a4dec0a4643b4 WHIRLPOOL 8a5323805656b8066c01798527d12de25cead2d3d670f6423e0615ca5bdca5ca829816e404a425c8a3c359afa50f339a88dddb243a63b939a2e383f61ab33c0d
|
||||
DIST girara-0.2.5.tar.gz 75215 SHA256 5cf4f2d044385b189ed8e9efcae8532db1f2d63a240a1e226f3491c996aba892 SHA512 62f497d0bcab0765946d141b5c9bd79459e526e385da32f69311e810c9142e570de41521b98df8e08b44e0e34326db370f5b5ed4cb02bbdc2124febe6c2cce45 WHIRLPOOL 2b1555969784c996fff495f73e9d2514c66d426c478a4e51e48ecb51402a4c9fba0e66865d2f924108731507cac402f988eec781b32ccca3215b11c589e01f2e
|
||||
|
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib toolchain-funcs
|
||||
[[ ${PV} == 9999* ]] && inherit git-2
|
||||
|
||||
DESCRIPTION="A library that implements a user interface that focuses on simplicity and minimalism"
|
||||
HOMEPAGE="http://pwmt.org/projects/girara/"
|
||||
if ! [[ ${PV} == 9999* ]]; then
|
||||
SRC_URI="http://pwmt.org/projects/${PN}/download/${P}.tar.gz"
|
||||
fi
|
||||
EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git"
|
||||
EGIT_BRANCH="develop"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="3"
|
||||
if ! [[ ${PV} == 9999* ]]; then
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
|
||||
else
|
||||
KEYWORDS=""
|
||||
fi
|
||||
IUSE="libnotify static-libs"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.28
|
||||
>=x11-libs/gtk+-3.4:3
|
||||
dev-libs/json-c
|
||||
!<${CATEGORY}/${PN}-0.1.6
|
||||
libnotify? ( >=x11-libs/libnotify-0.7 )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_setup() {
|
||||
mygiraraconf=(
|
||||
WITH_LIBNOTIFY=$(usex libnotify 1 0)
|
||||
PREFIX="${EPREFIX}"/usr
|
||||
LIBDIR='${PREFIX}'/$(get_libdir)
|
||||
CC="$(tc-getCC)"
|
||||
SFLAGS=''
|
||||
VERBOSE=1
|
||||
DESTDIR="${D}"
|
||||
)
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Remove 'static' and 'install-static' targets
|
||||
if ! use static-libs; then
|
||||
sed -i \
|
||||
-e '/^${PROJECT}:/s:static::' \
|
||||
-e '/^install:/s:install-static::' \
|
||||
Makefile || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake "${mygiraraconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake "${mygiraraconf[@]}" install
|
||||
dodoc AUTHORS
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
diff -ruN injeqt-1.0.0/CMakeLists.txt injeqt-my/CMakeLists.txt
|
||||
--- injeqt-1.0.0/CMakeLists.txt 2015-01-25 00:09:26.000000000 +0100
|
||||
+++ injeqt-my/CMakeLists.txt 2016-01-09 04:01:39.162295444 +0100
|
||||
@@ -39,7 +39,7 @@
|
||||
|
||||
set (WARNINGS "-Werror -W -Wall -Wextra -Wundef -Wunused -Wuninitialized -Wcast-align -Wpointer-arith -Woverloaded-virtual -Wnon-virtual-dtor -fno-common")
|
||||
set (VISIBILITY "-fvisibility=hidden -fvisibility-inlines-hidden")
|
||||
-set (CMAKE_CXX_FLAGS "-std=c++11 ${WARNINGS} ${VISIBILITY}")
|
||||
+set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 ${WARNINGS} ${VISIBILITY}")
|
||||
|
||||
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
set (CMAKE_CXX_FLAGS "-O0 ${CMAKE_CXX_FLAGS}")
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Dependency injection framework for Qt5"
|
||||
HOMEPAGE="https://github.com/vogel/injeqt"
|
||||
SRC_URI="https://github.com/vogel/injeqt/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-qt/qtcore-5.4.2:5
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( >=dev-qt/qttest-5.4.2:5 )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-cmake-preserve-cxxflags.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DDISABLE_EXAMPLES=ON
|
||||
$(cmake-utils_use_disable test TESTS)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue