parent
5d18b7478c
commit
9d8542c155
@ -1,4 +1,5 @@
|
||||
DIST sysstat-11.4.0.tar.xz 343968 SHA256 b8518ca88acfcbc474a406022ee9c0c3210ccef4f0ec80e5b3e8c41dda8c16f2 SHA512 4a5c81d75fdbc8dcaf80685f302688c39bd7143554e5a06cb324532ddb5180caac19b261182d5320f40b317bdb1e81664887acc7cedfeb5a95dc6ad37a898604 WHIRLPOOL 39f48929040405f83a0d3c49dcf2aac471deeadd10d31181ee03809a30573868a7da43df160688ad553d305221bd21c2e253f56913f8f8a53020fb66f62c05ba
|
||||
DIST sysstat-11.4.3.tar.xz 344572 SHA256 02e9cafa5557fbae435d33e592373655df929d817ae711d31142dd2f7d4dcee7 SHA512 20862a6fd735aa0a6d571ffe0e1aa755ce9c5d8a704739f0095d19861394ea3a45c93e9f46ac5f42b6719ba1aa21e33261ac28fde643d7f5c315d7f0a7b0d74d WHIRLPOOL 64df9bf1a375ce7ebf727b07b10caa3b72ba3630a5a238e72dca017e09a65dbf3f1623f5e1115fb037974609e39c4fb4e3f2790c444b23eae4fb7af591bfd389
|
||||
DIST sysstat-11.4.4.tar.xz 344756 SHA256 6585f08e24347d2d6462aee6ef97e80fe4cc869605193184500df0f80fa61cc8 SHA512 918b8c54ab6bdde568106254d1550644f6e962896b1923f4145bfbfb6c65542b08182141d2164be51667fc0dc5df57d94cbeb34cf5f8dfacb224559caef0740c WHIRLPOOL 09f873d65015037a780a5c8425bb2fc80c3124aa2560b8a8e1b3173676121b3e41d9606c2015439f00738be0da67c73ac92521bf882007c948e064d4c2ab5fed
|
||||
DIST sysstat-11.4.5.tar.xz 344796 SHA256 785d754d64c746b21190773a846539ef2ee789bf908f05cd8245c234d15784ff SHA512 e195e0fa4afa45e894fc1089ecdc7e77dd0532f0db0d10b717b32e642710baa96de31be01c70c8a1173359c8f65f34dc72ac2722ecd2c8e63bf286a6eed202fd WHIRLPOOL a35f673129b873a0fac657447905d7662eaa22f3bd80a095d5c440586d116a595dab68136a147f3f50b0019eb1e244a29c8cdff0fb4b8e6698f31920a901f623
|
||||
DIST sysstat-11.5.6.tar.xz 465576 SHA256 83a81e0a6c1d39a0985310dc2944ac6214c963adb4dc8af24ae03a9ae8d0f3ac SHA512 7541284a1a7bbd3eeccca1110176e5f261bba54ab27b1ea587d584e651e818c3c029aa07b98200e783257ebdffa48048f40dfbbaacb4cbbd1d51d40d7d48a64a WHIRLPOOL 16eb9c5919506df7c6685436874bab0ea5b51c711a6932681925cfd2f37f7da953613aa3397f931cf94d0e35b2de66712dd7ff511e11cc513b6f5cc5288a2c60
|
||||
DIST sysstat-11.5.7.tar.xz 467420 SHA256 4a38efaa0ca85ee5484d046bd427012979264fef17f07fd7855860e592819482 SHA512 ddbf4eba9215b90c5b97ec05afc8f04205ac2d641478886324bcd462bd3978ea1ea4cc9adc7afe3690d58d36be66d949029d08da1e9bc028f9c52b6a9ad77bcb WHIRLPOOL 4dd63cfbf8710d881dd9a999d942b8e659793f7edb74852cc087a8f5d0c4a34ac4386122bbf564e9239122d81ab1475205ca1068f6c52235baf2d1ccf5726c50
|
||||
|
@ -1,40 +0,0 @@
|
||||
sysstat declares 16 bytes alignment for many structs. But realloc does not
|
||||
guarantee 16 byte alignment (it maxes out at 8 bytes for most systems).
|
||||
Because of declared 16 byte alignement, the compiler is free to generate SIMD
|
||||
16 byte loads which require aligned addresses. Use posix_memalign instead to
|
||||
enforce 16 bytes data alignment to avoid crashes.
|
||||
|
||||
https://github.com/sysstat/sysstat/issues/148
|
||||
|
||||
Patch by Manoj Gupta <manojgupta@google.com>
|
||||
|
||||
--- a/common.h
|
||||
+++ b/common.h
|
||||
@@ -11,6 +11,7 @@
|
||||
|
||||
#include <time.h>
|
||||
#include <sched.h> /* For __CPU_SETSIZE */
|
||||
+#include <stdlib.h>
|
||||
#include <limits.h>
|
||||
|
||||
#ifdef HAVE_SYS_SYSMACROS_H
|
||||
@@ -91,13 +92,18 @@
|
||||
TYPE *_p_; \
|
||||
_p_ = S; \
|
||||
if (SIZE) { \
|
||||
- if ((S = (TYPE *) realloc(S, (SIZE))) == NULL) { \
|
||||
+ void *_ptr = NULL; \
|
||||
+ int error = posix_memalign(&_ptr, 16, SIZE); \
|
||||
+ if (error || _ptr == NULL) { \
|
||||
perror("realloc"); \
|
||||
exit(4); \
|
||||
} \
|
||||
+ S = (TYPE *)_ptr; \
|
||||
/* If the ptr was null, then it's a malloc() */ \
|
||||
if (!_p_) { \
|
||||
memset(S, 0, (SIZE)); \
|
||||
+ } else { \
|
||||
+ memcpy(S, _p_, (SIZE)); \
|
||||
} \
|
||||
} \
|
||||
if (!S) { \
|
@ -0,0 +1,89 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit flag-o-matic multilib systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="System performance tools for Linux"
|
||||
HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/"
|
||||
SRC_URI="${HOMEPAGE}${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="debug nls lm_sensors selinux static"
|
||||
|
||||
CDEPEND="
|
||||
nls? ( virtual/libintl )
|
||||
lm_sensors? ( sys-apps/lm_sensors )
|
||||
"
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-sysstat )
|
||||
"
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-10.0.4-flags.patch
|
||||
"${FILESDIR}"/${PN}-11.0.4-cron.patch
|
||||
)
|
||||
|
||||
SYSSTAT_FAKE_RC_DIR=Gentoo-does-not-use-rc.d
|
||||
|
||||
src_prepare() {
|
||||
if use nls; then
|
||||
strip-linguas -i nls/
|
||||
local lingua pofile
|
||||
for pofile in nls/*.po; do
|
||||
lingua=${pofile/nls\/}
|
||||
lingua=${lingua/.po}
|
||||
if ! has ${lingua} ${LINGUAS}; then
|
||||
rm "nls/${lingua}.po" || die
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export AR
|
||||
use static && append-ldflags -static
|
||||
|
||||
sa_lib_dir=/usr/$(get_libdir)/sa \
|
||||
conf_dir=/etc \
|
||||
rcdir=${SYSSTAT_FAKE_RC_DIR} \
|
||||
econf \
|
||||
$(use_enable debug debuginfo) \
|
||||
$(use_enable lm_sensors sensors) \
|
||||
$(use_enable nls) \
|
||||
--enable-copy-only \
|
||||
--enable-documentation \
|
||||
--enable-install-cron \
|
||||
--with-systemdsystemunitdir=$(systemd_get_systemunitdir)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake LFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
keepdir /var/log/sa
|
||||
|
||||
emake \
|
||||
CHOWN=true \
|
||||
DESTDIR="${D}" \
|
||||
DOC_DIR=/usr/share/doc/${PF} \
|
||||
MANGRPARG='' \
|
||||
install
|
||||
|
||||
dodoc -r contrib/
|
||||
|
||||
rm -r "${D}/${SYSSTAT_FAKE_RC_DIR}" || die
|
||||
newinitd "${FILESDIR}"/${PN}.init.d ${PN}
|
||||
systemd_dounit ${PN}.service
|
||||
|
||||
rm -f "${D}"usr/share/doc/${PF}/COPYING
|
||||
}
|
@ -1 +1,3 @@
|
||||
DIST yubikey-manager-0.3.2.tar.gz 51000 SHA256 9280437dbdc1c32adc6b5339aa1809783d1bcf13e254eac5e716701a4c97ea1f SHA512 1c5bce8377e117e8b7e30f93666d7727f5bf406deb8e78c0471fcd6c41ece0e8d9c4fa120aa3b31599666218e4437bd0fe2510253f717f7285e3f3b424e8b3c0 WHIRLPOOL 33ade8e351fd3e92688171e7eb259085446c3b760b24f890ee6eb77fcb913ab59ddfe57c206ca164a8fe4c8d201df11b93e00411ea48ff4ffbf854d949136449
|
||||
DIST yubikey-manager-0.3.3.tar.gz 51223 SHA256 5447c026739d33455ac8ae13ccaef2df231a28dda75ffbd62c91a7c5ce5d30b5 SHA512 ced7acb848747399d4b9f0214044dd40c38b332c2f8557485d61f2f0cb857a9f47d12df59ea6a7bded1076b5d539bc171d1dbc9fd8899699c0cb3cb65b0800d7 WHIRLPOOL f68c896cb10b72271a6f42e34baf3671bfcd9ccd69c688db5fd06fd6672d1cbd12271ccc563f400d922eaf842bd7e5d73af9cac0f725927f7efe4ac520d3790b
|
||||
DIST yubikey-manager-0.4.0.tar.gz 52267 SHA256 ebe9b78522e66de65c0648662915d535a6beba7b2fd72c3480729a8c1eae8035 SHA512 a3cd5d031f69714ccb01f704e8659d02f8162479e812d3978824aa943517faed20af2aa3f863158a631582490f508c0a5f75f0308d37b43585f5bf0607a25634 WHIRLPOOL 563b21f3647e6cd2f2578b30351b142d016abf7cae82809a45b2c0082010849959ea5736924e8e7f0a11e184df7ee3f96563cbdaf9a01ed790ec3476c350ef8c
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python library and command line tool for configuring a YubiKey"
|
||||
HOMEPAGE="https://developers.yubico.com/yubikey-manager/"
|
||||
SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
app-crypt/libu2f-host
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/pyscard[${PYTHON_USEDEP}]
|
||||
dev-python/pyusb[${PYTHON_USEDEP}]
|
||||
dev-python/click[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7)
|
||||
sys-auth/ykpers
|
||||
"
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python library and command line tool for configuring a YubiKey"
|
||||
HOMEPAGE="https://developers.yubico.com/yubikey-manager/"
|
||||
SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RESTRICT="test" # Testing requires RSA keys which are not present in the tarball
|
||||
|
||||
RDEPEND="
|
||||
app-crypt/libu2f-host
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/pyscard[${PYTHON_USEDEP}]
|
||||
dev-python/pyusb[${PYTHON_USEDEP}]
|
||||
dev-python/click[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7)
|
||||
sys-auth/ykpers
|
||||
"
|
@ -0,0 +1,68 @@
|
||||
Fix CG 2 font.
|
||||
|
||||
--- xtrs-4.9d-orig/trs_chars.c
|
||||
+++ xtrs-4.9d/trs_chars.c
|
||||
@@ -304,3 +304,4 @@
|
||||
II ROM. All characters without descenders are moved up one row.
|
||||
- I'm not sure I got all the changes exactly right -- help?
|
||||
+ Backquote (position 0x60) and tilde (position 0x7e) have been
|
||||
+ replaced by Pound sign and Yen sign, respectively.
|
||||
*/
|
||||
@@ -337,3 +338,3 @@
|
||||
{ 0x00,0x04,0x08,0x1f,0x08,0x04,0x00,0x00,0x00,0x00,0x00,0x00 },
|
||||
- { 0x00,0x00,0x00,0x00,0x00,0x00,0x1f,0x00,0x00,0x00,0x00,0x00 },
|
||||
+ { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1f,0x00,0x00,0x00,0x00 },
|
||||
{ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 },
|
||||
@@ -350,3 +351,3 @@
|
||||
{ 0x00,0x04,0x04,0x1f,0x04,0x04,0x00,0x00,0x00,0x00,0x00,0x00 },
|
||||
- { 0x00,0x00,0x00,0x06,0x06,0x02,0x01,0x00,0x00,0x00,0x00,0x00 },
|
||||
+ { 0x00,0x00,0x00,0x00,0x06,0x06,0x02,0x01,0x00,0x00,0x00,0x00 },
|
||||
{ 0x00,0x00,0x00,0x1f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 },
|
||||
@@ -361,3 +362,3 @@
|
||||
{ 0x0c,0x02,0x01,0x0f,0x11,0x11,0x0e,0x00,0x00,0x00,0x00,0x00 },
|
||||
- { 0x1f,0x10,0x08,0x04,0x02,0x01,0x01,0x00,0x00,0x00,0x00,0x00 },
|
||||
+ { 0x1f,0x10,0x08,0x04,0x02,0x02,0x02,0x00,0x00,0x00,0x00,0x00 },
|
||||
{ 0x0e,0x11,0x11,0x0e,0x11,0x11,0x0e,0x00,0x00,0x00,0x00,0x00 },
|
||||
@@ -365,3 +366,3 @@
|
||||
{ 0x00,0x06,0x06,0x00,0x06,0x06,0x00,0x00,0x00,0x00,0x00,0x00 },
|
||||
- { 0x06,0x06,0x00,0x06,0x06,0x02,0x01,0x00,0x00,0x00,0x00,0x00 },
|
||||
+ { 0x00,0x06,0x06,0x00,0x06,0x06,0x02,0x01,0x00,0x00,0x00,0x00 },
|
||||
{ 0x08,0x04,0x02,0x01,0x02,0x04,0x08,0x00,0x00,0x00,0x00,0x00 },
|
||||
@@ -401,4 +402,4 @@
|
||||
{ 0x00,0x04,0x08,0x1f,0x08,0x04,0x00,0x00,0x00,0x00,0x00,0x00 },
|
||||
- { 0x00,0x00,0x00,0x00,0x00,0x00,0x1f,0x00,0x00,0x00,0x00,0x00 },
|
||||
- { 0x0c,0x0c,0x04,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 },
|
||||
+ { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1f,0x00,0x00,0x00,0x00 },
|
||||
+ { 0x04,0x0a,0x02,0x07,0x02,0x12,0x0f,0x00,0x00,0x00,0x00,0x00 },
|
||||
{ 0x00,0x00,0x0e,0x10,0x1e,0x11,0x1e,0x00,0x00,0x00,0x00,0x00 },
|
||||
@@ -409,7 +410,7 @@
|
||||
{ 0x08,0x14,0x04,0x0e,0x04,0x04,0x04,0x00,0x00,0x00,0x00,0x00 },
|
||||
- { 0x00,0x00,0x16,0x19,0x19,0x16,0x10,0x0e,0x00,0x00,0x00,0x00 },
|
||||
+ { 0x00,0x00,0x0e,0x11,0x11,0x1e,0x10,0x0e,0x00,0x00,0x00,0x00 },
|
||||
{ 0x01,0x01,0x0d,0x13,0x11,0x11,0x11,0x00,0x00,0x00,0x00,0x00 },
|
||||
{ 0x04,0x00,0x06,0x04,0x04,0x04,0x0e,0x00,0x00,0x00,0x00,0x00 },
|
||||
- { 0x10,0x00,0x10,0x10,0x10,0x10,0x11,0x0e,0x00,0x00,0x00,0x00 },
|
||||
- { 0x01,0x01,0x09,0x05,0x03,0x05,0x09,0x00,0x00,0x00,0x00,0x00 },
|
||||
+ { 0x10,0x00,0x18,0x10,0x10,0x10,0x12,0x0c,0x00,0x00,0x00,0x00 },
|
||||
+ { 0x02,0x02,0x12,0x0a,0x06,0x0a,0x12,0x00,0x00,0x00,0x00,0x00 },
|
||||
{ 0x06,0x04,0x04,0x04,0x04,0x04,0x0e,0x00,0x00,0x00,0x00,0x00 },
|
||||
@@ -422,3 +423,3 @@
|
||||
{ 0x00,0x00,0x1e,0x01,0x0e,0x10,0x0f,0x00,0x00,0x00,0x00,0x00 },
|
||||
- { 0x04,0x04,0x1f,0x04,0x04,0x14,0x08,0x00,0x00,0x00,0x00,0x00 },
|
||||
+ { 0x04,0x04,0x0e,0x04,0x04,0x14,0x08,0x00,0x00,0x00,0x00,0x00 },
|
||||
{ 0x00,0x00,0x11,0x11,0x11,0x19,0x16,0x00,0x00,0x00,0x00,0x00 },
|
||||
@@ -432,4 +433,4 @@
|
||||
{ 0x02,0x04,0x04,0x08,0x04,0x04,0x02,0x00,0x00,0x00,0x00,0x00 },
|
||||
- { 0x02,0x15,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 },
|
||||
- { 0x0a,0x15,0x0a,0x15,0x0a,0x15,0x0a,0x00,0x00,0x00,0x00,0x00 },
|
||||
+ { 0x11,0x0a,0x04,0x1f,0x04,0x1f,0x04,0x00,0x00,0x00,0x00,0x00 },
|
||||
+ { 0x15,0x0a,0x15,0x0a,0x15,0x0a,0x15,0x0a,0x00,0x00,0x00,0x00 },
|
||||
},
|
||||
--- xtrs-4.9d-orig/xtrs.man
|
||||
+++ xtrs-4.9d/xtrs.man
|
||||
@@ -775,4 +775,3 @@
|
||||
set in the replacement character generator that was supplied with the
|
||||
-Radio Shack lower case modification. (It was reconstructed partly
|
||||
-from memory and may have some minor bit errors.) \fIstock\fP is the
|
||||
+Radio Shack lower case modification. \fIstock\fP is the
|
||||
character set in the stock character generator supplied with most
|
@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit flag-o-matic toolchain-funcs readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="Radio Shack TRS-80 emulator"
|
||||
HOMEPAGE="http://www.tim-mann.org/xtrs.html"
|
||||
SRC_URI="http://www.tim-mann.org/trs80/${P}.tar.gz
|
||||
ls-dos? (
|
||||
http://www.tim-mann.org/trs80/ld4-631.zip
|
||||
https://dev.gentoo.org/~ulm/distfiles/ld4-631l.xd3
|
||||
)"
|
||||
|
||||
LICENSE="xtrs ls-dos? ( freedist )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
|
||||
IUSE="ls-dos"
|
||||
RESTRICT="ls-dos? ( bindist )"
|
||||
|
||||
RDEPEND="sys-libs/ncurses:0=
|
||||
sys-libs/readline:0=
|
||||
x11-libs/libX11"
|
||||
DEPEND="${RDEPEND}
|
||||
ls-dos? ( app-arch/unzip dev-util/xdelta:3 )"
|
||||
|
||||
PATCHES=("${FILESDIR}"/${P}-lcmod.patch)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e 's/$(CC) -o/$(CC) $(LDFLAGS) -o/' Makefile || die
|
||||
if use ls-dos; then
|
||||
cd "${WORKDIR}" || die
|
||||
xdelta3 -d -s ld4-631.dsk "${DISTDIR}"/ld4-631l.xd3 out.dsk || die
|
||||
mv out.dsk ld4-631.dsk || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
case $(tc-endian) in
|
||||
little) ;;
|
||||
big) append-flags -Dbig_endian ;;
|
||||
*) die ;;
|
||||
esac
|
||||
emake CC="$(tc-getCC)" DEBUG="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/bin /usr/share/xtrs/disks /usr/share/man/man1
|
||||
emake PREFIX="${D}"/usr install
|
||||
|
||||
insopts -m0444
|
||||
insinto /usr/share/xtrs/disks
|
||||
doins cpmutil.dsk utility.dsk
|
||||
|
||||
if use ls-dos; then
|
||||
doins "${WORKDIR}"/ld4-631.dsk
|
||||
dosym disks/ld4-631.dsk /usr/share/xtrs/disk4p-0
|
||||
dosym disks/utility.dsk /usr/share/xtrs/disk4p-1
|
||||
fi
|
||||
|
||||
dodoc ChangeLog README xtrsrom4p.README cpmutil.html dskspec.html
|
||||
|
||||
DOC_CONTENTS="For copyright reasons, xtrs does not include actual ROM
|
||||
images. Because of this, unless you supply your own ROM, xtrs will
|
||||
not function in any mode except 'Model 4p' mode (a minimal free ROM
|
||||
is included for this), which can be run like this:
|
||||
\n\nxtrs -model 4p -diskdir /usr/share/xtrs
|
||||
\n\nIf you already own a copy of the ROM software (e.g., if you have
|
||||
a TRS-80 with this ROM), then you can make yourself a copy of this
|
||||
for use with xtrs, using utilities available on the web. To load
|
||||
your own ROM, specify the '-romfile' option, or the 'Xtrs.romfile'
|
||||
X resource. ROM files can be in Intel hex or binary format."
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST calligra-2.9.11.tar.xz 196039892 SHA256 b18d2d0f87bc92753ec8b1eb780a596770a49141e3e60d811da51e752e54ea09 SHA512 69fbb38dbc3d59a744ed1fae5361f61bde15da298d28942f226d3d99d399a95f5ee67cca755996290c65943aa9babf6367c44f0d0199dacce22a9879346f82f8 WHIRLPOOL 973a17eb639ddfaa5a913b064c90957935ded7fe3fdb5237c27112b6686b3dbe3e411c168f920947ef98c4a3d951842220f849565503fac67ebe75784f339e74
|
||||
DIST calligra-3.0.1.tar.xz 60764344 SHA256 452bddc4e03cfbf48de508b991dc94209d386d86bf010ea9d10afed0f5694db2 SHA512 ec17d007262d598e16045c6c75f8a37dfdf73b980b02ae9bea20282cbd4dd53202f62fc4d8bd84484193a501859c2150079a76d83c1638d8449f41526df57ee0 WHIRLPOOL 6e1dfecb877ee57bf43a9d2ec597972f474b4acb7fe7acff5ad6f72bc81cae9484e4ac7ad425652d6a08051810a1ff99efd2b854ead20b9e437746e080c99397
|
||||
|
@ -1,227 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# note: files that need to be checked for dependencies etc:
|
||||
# CMakeLists.txt, kexi/CMakeLists.txt kexi/migration/CMakeLists.txt
|
||||
# krita/CMakeLists.txt
|
||||
|
||||
EAPI=6
|
||||
|
||||
CHECKREQS_DISK_BUILD="4G"
|
||||
KDE_HANDBOOK="optional"
|
||||
KDE_LINGUAS_LIVE_OVERRIDE="true"
|
||||
OPENGL_REQUIRED="optional"
|
||||
WEBKIT_REQUIRED="optional"
|
||||
inherit check-reqs kde4-base versionator
|
||||
|
||||
DESCRIPTION="KDE Office Suite"
|
||||
HOMEPAGE="https://www.calligra.org/"
|
||||
|
||||
case ${PV} in
|
||||
2.[456789].[789]?)
|
||||
# beta or rc releases
|
||||
SRC_URI="mirror://kde/unstable/${P}/${P}.tar.xz" ;;
|
||||
2.[456789].?|2.[456789].??)
|
||||
# stable releases
|
||||
SRC_URI="mirror://kde/stable/${P}/${P}.tar.xz" ;;
|
||||
2.[456789].9999)
|
||||
# stable branch live ebuild
|
||||
SRC_URI="" ;;
|
||||
9999)
|
||||
# master branch live ebuild
|
||||
SRC_URI="" ;;
|
||||
esac
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="4"
|
||||
|
||||
if [[ ${KDE_BUILD_TYPE} == release ]] ; then
|
||||
KEYWORDS="amd64 ~arm x86"
|
||||
fi
|
||||
|
||||
IUSE="color-management +crypt +eigen +exif fftw +fontconfig freetds +glew +glib
|
||||
+gsf gsl import-filter +jpeg jpeg2k +lcms mysql openexr +pdf +pim
|
||||
postgres spacenav sybase test tiff +threads +truetype vc xbase +xml"
|
||||
|
||||
# Don't use Active, it's broken on desktops.
|
||||
CAL_FTS="author braindump flow gemini karbon kexi krita plan sheets stage words"
|
||||
for cal_ft in ${CAL_FTS}; do
|
||||
IUSE+=" calligra_features_${cal_ft}"
|
||||
done
|
||||
unset cal_ft
|
||||
|
||||
REQUIRED_USE="
|
||||
|| ( $(printf 'calligra_features_%s ' ${CAL_FTS[@]}) )
|
||||
calligra_features_author? ( calligra_features_words )
|
||||
calligra_features_gemini? ( opengl )
|
||||
calligra_features_krita? ( eigen exif lcms opengl )
|
||||
calligra_features_plan? ( pim )
|
||||
calligra_features_sheets? ( eigen )
|
||||
calligra_features_stage? ( webkit )
|
||||
vc? ( calligra_features_krita )
|
||||
test? ( calligra_features_karbon )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/perl
|
||||
dev-libs/boost
|
||||
dev-qt/qtcore:4[exceptions]
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib
|
||||
virtual/libiconv
|
||||
color-management? ( media-libs/opencolorio )
|
||||
crypt? ( app-crypt/qca:2[qt4] )
|
||||
eigen? ( dev-cpp/eigen:3 )
|
||||
exif? ( media-gfx/exiv2:= )
|
||||
fftw? ( sci-libs/fftw:3.0 )
|
||||
fontconfig? ( media-libs/fontconfig )
|
||||
freetds? ( dev-db/freetds )
|
||||
glib? ( dev-libs/glib:2 )
|
||||
gsf? ( gnome-extra/libgsf )
|
||||
gsl? ( sci-libs/gsl:= )
|
||||
import-filter? (
|
||||
app-text/libetonyek
|
||||
app-text/libodfgen
|
||||
app-text/libwpd:*
|
||||
app-text/libwpg:*
|
||||
app-text/libwps
|
||||
dev-libs/librevenge
|
||||
media-libs/libvisio
|
||||
)
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
jpeg2k? ( media-libs/openjpeg:0 )
|
||||
lcms? (
|
||||
media-libs/lcms:2
|
||||
x11-libs/libX11
|
||||
)
|
||||
mysql? ( virtual/mysql )
|
||||
openexr? ( media-libs/openexr:= )
|
||||
opengl? (
|
||||
media-libs/glew:0
|
||||
virtual/glu
|
||||
)
|
||||
pdf? (
|
||||
app-text/poppler:=
|
||||
media-gfx/pstoedit
|
||||
)
|
||||
pim? ( $(add_kdeapps_dep kdepimlibs) )
|
||||
postgres? (
|
||||
dev-db/postgresql:*
|
||||
dev-libs/libpqxx
|
||||
)
|
||||
spacenav? ( dev-libs/libspnav )
|
||||
sybase? ( dev-db/freetds )
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
truetype? ( media-libs/freetype:2 )
|
||||
vc? ( <dev-libs/vc-1.0.0 )
|
||||
xbase? ( dev-db/xbase )
|
||||
calligra_features_kexi? (
|
||||
dev-db/sqlite:3[extensions(+)]
|
||||
dev-libs/icu:=
|
||||
)
|
||||
calligra_features_krita? (
|
||||
dev-qt/qtdeclarative:4
|
||||
net-misc/curl
|
||||
x11-libs/libX11
|
||||
x11-libs/libXi
|
||||
)
|
||||
calligra_features_words? ( dev-libs/libxslt )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
x11-misc/shared-mime-info
|
||||
"
|
||||
|
||||
[[ ${PV} == 9999 ]] && LANGVERSION="2.9" || LANGVERSION="$(get_version_component_range 1-2)"
|
||||
PDEPEND=">=app-office/calligra-l10n-${LANGVERSION}"
|
||||
|
||||
# bug 394273
|
||||
RESTRICT=test
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.9.1-no-arch-detection.patch
|
||||
"${FILESDIR}"/${P}-postgresql-9.6.patch
|
||||
"${FILESDIR}"/${P}-libwps-0.4.patch
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
check-reqs_pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
kde4-base_pkg_setup
|
||||
check-reqs_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
kde4-base_src_prepare
|
||||
if ! use webkit; then
|
||||
sed -i CMakeLists.txt -e "/^find_package/ s/QtWebKit //" || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local cal_ft myproducts
|
||||
|
||||
# applications
|
||||
for cal_ft in ${CAL_FTS}; do
|
||||
use calligra_features_${cal_ft} && myproducts+=( "${cal_ft^^}" )
|
||||
done
|
||||
|
||||
local mycmakeargs=( -DPRODUCTSET="${myproducts[*]}" )
|
||||
|
||||
# regular options
|
||||
mycmakeargs+=(
|
||||
-DCREATIVEONLY=OFF
|
||||
-DPACKAGERS_BUILD=OFF
|
||||
-DWITH_Soprano=OFF
|
||||
-DWITH_KActivities=OFF
|
||||
-DWITH_CalligraMarble=OFF
|
||||
-DWITH_Iconv=ON
|
||||
-DWITH_OCIO=$(usex color-management)
|
||||
-DWITH_QCA2=$(usex crypt)
|
||||
-DWITH_Eigen3=$(usex eigen)
|
||||
-DWITH_Exiv2=$(usex exif)
|
||||
-DWITH_FFTW3=$(usex fftw)
|
||||
-DWITH_Fontconfig=$(usex fontconfig)
|
||||
-DWITH_FreeTDS=$(usex freetds)
|
||||
-DWITH_GLIB2=$(usex glib)
|
||||
-DWITH_GSL=$(usex gsl)
|
||||
-DWITH_LibEtonyek=$(usex import-filter)
|
||||
-DWITH_LibOdfGen=$(usex import-filter)
|
||||
-DWITH_LibRevenge=$(usex import-filter)
|
||||
-DWITH_LibVisio=$(usex import-filter)
|
||||
-DWITH_LibWpd=$(usex import-filter)
|
||||
-DWITH_LibWpg=$(usex import-filter)
|
||||
-DWITH_LibWps=$(usex import-filter)
|
||||
-DWITH_JPEG=$(usex jpeg)
|
||||
-DWITH_OpenJPEG=$(usex jpeg2k)
|
||||
-DWITH_Kdcraw=OFF
|
||||
-DWITH_LCMS2=$(usex lcms)
|
||||
-DWITH_MySQL=$(usex mysql)
|
||||
-DWITH_Okular=OFF
|
||||
-DWITH_OpenEXR=$(usex openexr)
|
||||
-DUSEOPENGL=$(usex opengl)
|
||||
-DWITH_Poppler=$(usex pdf)
|
||||
-DWITH_Pstoedit=$(usex pdf)
|
||||
-DWITH_KdepimLibs=$(usex pim)
|
||||
-DWITH_CalligraPostgreSQL=$(usex postgres)
|
||||
-DWITH_Spnav=$(usex spacenav)
|
||||
-DWITH_FreeTDS=$(usex sybase)
|
||||
-DWITH_Threads=$(usex threads)
|
||||
-DWITH_TIFF=$(usex tiff)
|
||||
-DWITH_Freetype=$(usex truetype)
|
||||
-DWITH_Vc=$(usex vc)
|
||||
-DWITH_XBase=$(usex xbase)
|
||||
)
|
||||
|
||||
use test && mycmakeargs+=( -DENABLE_CSTESTER_TESTING=$(usex test) )
|
||||
|
||||
kde4-base_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
kde4-base_src_install
|
||||
|
||||
# bug 613414
|
||||
QA_DT_NEEDED="usr/lib64/libkoversion.so.14.0.0"
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
--- a/CMakeLists.txt 2016-12-07 12:48:03.771533639 -0200
|
||||
+++ b/CMakeLists.txt 2016-12-07 12:49:07.534866207 -0200
|
||||
@@ -441,11 +441,6 @@
|
||||
endif()
|
||||
endmacro()
|
||||
endif()
|
||||
-
|
||||
- if (NOT PACKAGERS_BUILD)
|
||||
- # Optimize the whole Calligra for current architecture
|
||||
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Vc_DEFINITIONS}")
|
||||
- endif ()
|
||||
endif()
|
||||
set(CMAKE_MODULE_PATH ${OLD_CMAKE_MODULE_PATH} )
|
||||
|
@ -1,46 +0,0 @@
|
||||
Last-Update: 2015-06-17
|
||||
Forwarded: no
|
||||
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788969
|
||||
Origin: http://pkgs.fedoraproject.org/cgit/calligra.git/commit/?id=124c28df44584e08b00d4dbb859362af73c41070
|
||||
From: David Tardon <dtardon@redhat.com>
|
||||
Description: adapt to libwps 0.4
|
||||
|
||||
--- a/cmake/modules/FindLibWps.cmake
|
||||
+++ b/cmake/modules/FindLibWps.cmake
|
||||
@@ -9,18 +9,18 @@
|
||||
# Redistribution and use is allowed according to the terms of the BSD license.
|
||||
|
||||
include(LibFindMacros)
|
||||
libfind_package(LIBWPS LibWpd)
|
||||
-libfind_pkg_check_modules(LIBWPS_PKGCONF libwps-0.3)
|
||||
+libfind_pkg_check_modules(LIBWPS_PKGCONF libwps-0.4)
|
||||
|
||||
find_path(LIBWPS_INCLUDE_DIR
|
||||
NAMES libwps/libwps.h
|
||||
HINTS ${LIBWPS_PKGCONF_INCLUDE_DIRS} ${LIBWPS_PKGCONF_INCLUDEDIR}
|
||||
- PATH_SUFFIXES libwps-0.3
|
||||
+ PATH_SUFFIXES libwps-0.4
|
||||
)
|
||||
|
||||
find_library(LIBWPS_LIBRARY
|
||||
- NAMES wps wps-0.3
|
||||
+ NAMES wps wps-0.4
|
||||
HINTS ${LIBWPS_PKGCONF_LIBRARY_DIRS} ${LIBWPS_PKGCONF_LIBDIR}
|
||||
)
|
||||
|
||||
set(LIBWPS_PROCESS_LIBS LIBWPS_LIBRARY LIBWPD_LIBRARIES)
|
||||
--- a/filters/words/works/import/WPSImport.cpp
|
||||
+++ b/filters/words/works/import/WPSImport.cpp
|
||||
@@ -90,9 +90,11 @@
|
||||
}
|
||||
bool isSupportedFormat(librevenge::RVNGInputStream &input)
|
||||
{
|
||||
WPSKind kind = WPS_TEXT;
|
||||
- WPSConfidence confidence = WPSDocument::isFileFormatSupported(&input, kind);
|
||||
+ WPSCreator creator = WPS_MSWORKS;
|
||||
+ bool needsEncoding = false;
|
||||
+ WPSConfidence confidence = WPSDocument::isFileFormatSupported(&input, kind, creator, needsEncoding);
|
||||
if (confidence == WPS_CONFIDENCE_NONE || kind != WPS_TEXT)
|
||||
return false;
|
||||
return true;
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
commit 843c41decfa85e351349f7a410893ac85c9d60b7
|
||||
Author: Pino Toscano <pino@kde.org>
|
||||
Date: Sat Oct 8 16:17:17 2016 +0200
|
||||
|
||||
cmake: find PostgreSQL 9.6
|
||||
|
||||
diff --git a/cmake/modules/FindCalligraPostgreSQL.cmake b/cmake/modules/FindCalligraPostgreSQL.cmake
|
||||
index 035508b..98a1e88 100644
|
||||
--- a/cmake/modules/FindCalligraPostgreSQL.cmake
|
||||
+++ b/cmake/modules/FindCalligraPostgreSQL.cmake
|
||||
@@ -83,7 +83,7 @@ set(PostgreSQL_ROOT_DIR_MESSAGE "Set the PostgreSQL_ROOT system variable to wher
|
||||
|
||||
|
||||
set(PostgreSQL_KNOWN_VERSIONS ${PostgreSQL_ADDITIONAL_VERSIONS}
|
||||
- "9.5" "9.4" "9.3" "9.2" "9.1" "9.0" "8.4" "8.3" "8.2" "8.1" "8.0")
|
||||
+ "9.6" "9.5" "9.4" "9.3" "9.2" "9.1" "9.0" "8.4" "8.3" "8.2" "8.1" "8.0")
|
||||
|
||||
# Define additional search paths for root directories.
|
||||
foreach (suffix ${PostgreSQL_KNOWN_VERSIONS} )
|
@ -1,2 +1 @@
|
||||
DIST 137323-libalkimia-4.3.2.tar.bz2 32687 SHA256 64379af992d5548a6757495f47568ebf8cb859a868ced8b5d3d5975f4dfcebdc SHA512 fb04e7bf6d01f9fc54cccc63f0b41c28e28a6844eec1e65c057c7dde599a58cb1f173dd012aca995280581d47e3419b59e0d070f649de0e4b1dd92cd4af4c2b2 WHIRLPOOL d022dcc647abb24ed5416d07d7e4e8bc9a8dfb72371ebf5533d49c35892f2116544f6852e7391103c1eb373f18d9070ccc8a80ff1cffaac12bd8db4d46914393
|
||||
DIST libalkimia-5.0.0.tar.xz 28400 SHA256 eea8a2a0f6788a1b9fd464b370598ed6e55353fb40da53375e6f022e71526cb5 SHA512 9ba205f5726f237389b9ea928ef37fc3b38161aaec5988dcc64afa3d8e53575a055b248e3c27e738db13f9e6af231f493e1374bbc50d0672729b0cdb391ce99f WHIRLPOOL 8b12395145f2df72daf9678b5f15e851fc04ad56db72a3cd9882869e1a619bf8ba8014fef8db66370135882b70767ef8692f763328f966be8697f52694ab4b04
|
||||
|
@ -1,34 +0,0 @@
|
||||
diff -ruN libalkimia-4.3.1.orig/libalkimia/CMakeLists.txt libalkimia-4.3.1/libalkimia/CMakeLists.txt
|
||||
--- libalkimia-4.3.1.orig/libalkimia/CMakeLists.txt 2011-08-01 12:14:46.000000000 +0200
|
||||
+++ libalkimia-4.3.1/libalkimia/CMakeLists.txt 2011-08-01 23:04:41.000000000 +0200
|
||||
@@ -86,6 +86,8 @@
|
||||
endif(NOT WIN32)
|
||||
########### documentation ###################
|
||||
|
||||
+if(BUILD_DOC)
|
||||
+
|
||||
# check for Doxygen
|
||||
find_package(Doxygen)
|
||||
if(DOXYGEN_FOUND)
|
||||
@@ -95,9 +97,20 @@
|
||||
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/libalkimia.doxygen.in ${CMAKE_CURRENT_BINARY_DIR}/libalkimia.doxygen IMMEDIATE)
|
||||
|
||||
- add_custom_target(libalkimia_apidoc ${DOXYGEN} ${CMAKE_CURRENT_BINARY_DIR}/libalkimia.doxygen)
|
||||
+ add_custom_target(libalkimia_apidoc ALL ${DOXYGEN} ${CMAKE_CURRENT_BINARY_DIR}/libalkimia.doxygen)
|
||||
+else(DOXYGEN_FOUND)
|
||||
+ MESSAGE(FATAL_ERROR "API documentation requested but doxygen not found")
|
||||
endif(DOXYGEN_FOUND)
|
||||
|
||||
+ELSE(BUILD_DOC)
|
||||
+
|
||||
+ MESSAGE(STATUS "")
|
||||
+ MESSAGE(STATUS "Documentation will NOT be installed")
|
||||
+ MESSAGE(STATUS "Because the option -DBUILD_DOC=ON wasn't passed to cmake")
|
||||
+ MESSAGE(STATUS "")
|
||||
+
|
||||
+ENDIF(BUILD_DOC)
|
||||
+
|
||||
########### tests ###################
|
||||
|
||||
set( alkvaluetest_SRCS alkvaluetest.cpp )
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="Library with common classes and functionality used by KDE finance applications"
|
||||
HOMEPAGE="http://kde-apps.org/content/show.php/libalkimia?content=137323"
|
||||
SRC_URI="http://kde-apps.org/CONTENT/content-files/137323-${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
KEYWORDS="amd64 x86"
|
||||
SLOT="0"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="dev-libs/gmp[cxx]"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-4.3.2-doc.patch" )
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=( $(cmake-utils_use_build doc) )
|
||||
kde4-base_src_configure
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST sqlcipher-3.3.0.tar.gz 10235736 SHA256 18f5df41a9806bc8eece00fde24c85107bd4807a5ae7057f9a6188de5d8fd82a SHA512 9f24fcd25811aabe36f5e27cdfc117a02ad3578a95691e9b3b7f41ee47ee0c176243c4f35a8415a17a3828d4534aae58a1097b75a950937706b10a79f2c92c81 WHIRLPOOL 1f4bdaf9ead7e2834d1efd2612c74eb91df2bbc17dfa4d404a72db4ef837b6b7a8430da522b6ec708f8873482c2de318a3cf65aebfdc53c200cad53a4ded9e6b
|
||||
DIST sqlcipher-3.4.0.tar.gz 13600901 SHA256 99b702ecf796de02bf7b7b35de4ceef145f0d62b4467a86707c2d59beea243d0 SHA512 c9b7db77b742a61b5befc33f63070a2970137e0c57892ba554a37e3ca51e42dd1164a6789d21958375ed7f38ee919bfc1332eb9da8307e6fa3805d9f9c409d9c WHIRLPOOL 644b4193dc128a2bbb5ba71867d6e919ae22894143ffc3c8d6a8d103aa8ed22795cfa2b7e1e04e54f38df00c86e0534bf04be1bc9df92be32c56da6b834376d7
|
||||
DIST sqlcipher-3.4.1.tar.gz 13873645 SHA256 4172cc6e5a79d36e178d36bd5cc467a938e08368952659bcd95eccbaf0fa4ad4 SHA512 1c08ccdf438c0de23b1293192c687cb869db1ea904c47da5643c69f3a21f3f6a801fe8e87eb2e660acf0fe977b1f05bf8801b79162c609ffa3711706392c642b WHIRLPOOL 4098712a08ff852521f649e9d3abbb1f5d7a4b4f58fe9cef5495ac75bf993a64ddd04ede6f46c2fbdd823b71315e165bf20d70018993192d2844dcc5ed76f037
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- a/src/crypto_openssl.c 2017-07-06 08:11:21.560000000 +0300
|
||||
+++ b/src/crypto_openssl.c 2017-07-06 08:11:32.180000000 +0300
|
||||
@@ -46,7 +46,7 @@
|
||||
static unsigned int openssl_init_count = 0;
|
||||
static sqlite3_mutex* openssl_rand_mutex = NULL;
|
||||
|
||||
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
||||
static HMAC_CTX *HMAC_CTX_new(void)
|
||||
{
|
||||
HMAC_CTX *ctx = OPENSSL_malloc(sizeof(*ctx));
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
inherit autotools-multilib flag-o-matic
|
||||
|
||||
DESCRIPTION="Full Database Encryption for SQLite"
|
||||
HOMEPAGE="http://sqlcipher.net/"
|
||||
SRC_URI="https://github.com/sqlcipher/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
IUSE="readline static-libs tcl test"
|
||||
|
||||
# Tcl is always needed by buildsystem
|
||||
RDEPEND="dev-libs/openssl:0[${MULTILIB_USEDEP}]
|
||||
readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] )
|
||||
tcl? ( dev-lang/tcl:=[${MULTILIB_USEDEP}] )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/tcl"
|
||||
|
||||
# Testsuite requires compilation with TCL, bug #582584
|
||||
REQUIRED_USE="test? ( tcl )"
|
||||
|
||||
src_prepare() {
|
||||
append-cflags -DSQLITE_HAS_CODEC
|
||||
|
||||
autotools-multilib_src_prepare
|
||||
}
|
||||
|
||||
src_configure()
|
||||
{
|
||||
local myeconfargs=(
|
||||
--enable-tempstore=yes
|
||||
$(use_enable readline)
|
||||
$(use_enable tcl)
|
||||
)
|
||||
autotools-multilib_src_configure
|
||||
}
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib-minimal
|
||||
|
||||
DESCRIPTION="Full Database Encryption for SQLite"
|
||||
HOMEPAGE="https://www.zetetic.net/sqlcipher/"
|
||||
SRC_URI="https://github.com/sqlcipher/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="readline libressl static-libs tcl test"
|
||||
|
||||
# Tcl is always needed by buildsystem
|
||||
RDEPEND="
|
||||
!libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
|
||||
libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] )
|
||||
readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] )
|
||||
tcl? ( dev-lang/tcl:=[${MULTILIB_USEDEP}] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/tcl:*"
|
||||
|
||||
# Testsuite requires compilation with TCL, bug #582584
|
||||
REQUIRED_USE="test? ( tcl )"
|
||||
|
||||
DOCS=( README.md )
|
||||
|
||||
src_prepare() {
|
||||
append-cflags -DSQLITE_HAS_CODEC
|
||||
|
||||
eapply_user
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE=${S} \
|
||||
econf \
|
||||
--enable-fts3 \
|
||||
--enable-fts4 \
|
||||
--enable-fts5 \
|
||||
--enable-json1 \
|
||||
--enable-tempstore \
|
||||
$(use_enable readline) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable tcl)
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
prune_libtool_files
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST extra-1.3.1.tar.gz 30439 SHA256 94c8cc02b530e589171d2e0520afac066994a1cb48cd4c847496387489230dfa SHA512 d6e736a021ee39139855516647b91a328e8ff075b94bdcc84c1296586d9f58a20819fcf78a45bd0fc9b3e9516780c68fb27ec0dc406964b6d9d5c93e26bfc9c5 WHIRLPOOL f8d02f3cd149f3d1dd5e30a5411f3359a2e4590061856f8f0350e63b4baafa961ade1ca142696dd1b1db97dc7ec35dc5481e836a4eaaf62803f55cf66b40caac
|
||||
DIST extra-1.4.10.tar.gz 34981 SHA256 b40b3f74c02e40697f4ba5242a764c2846921e8aafdd92e79a30a7afd9e56759 SHA512 16b7bbe3944d7013a54dfe629f997bb46a24c9b933a6be9570cd86f6b1bace9c001acb0b5b8d92ddf50aa21ca67d5694d3705029116644012345d20f1e3386fd WHIRLPOOL d7dd9403179259f1778e92c3fdab86474f4aba7584f23f829db32d8fd49f6c59ab672534c2bbb14c175c09a265a606a2cade7dd094b30daf2957f0e59ba0f377
|
||||
DIST extra-1.4.2.tar.gz 31311 SHA256 0ea699d56bb08ad6e70ee6aaa2069326c2bc76ac347c0f04e94ce38cf3ec30c1 SHA512 5d0c5ee70d51fa4d132b5e7813908a65badbf339cfcae4182932933b70cb7b8faf659d22c624086757c38973aeff769b5175bf533bbb51c3ec419ba09bb28409 WHIRLPOOL f8090b12f6412d9a15b115cad88b760053844549e5132a2def334f2ced98c51d3e87d45786bdaa55c862bcafea054211c4d2f3bea81f134b0c8e60a3f81c89c6
|
||||
DIST extra-1.5.1.tar.gz 35989 SHA256 8f3397c7a176045f1bb3b2a181e36b54192cb6fb5e99a9d28552975130ec49fc SHA512 c3a0d7abc589e4a175c5c090b4a850751b0f231a3934db3bb87f4a11044acfcb161aa366789b3c6b5415778578ca126c3469f648fa326fa5ebec0889c59005e8 WHIRLPOOL 9a133604957c373b02c6d712ab9f1a08258f414e551c50f97d9244e31845534b40239dec9f02518ac5d2f79709462dcafb1f5d5e3c4f8390413dbaaedc41bbad
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
# ebuild generated by hackport 0.5.1.9999
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Extra functions I use"
|
||||
HOMEPAGE="https://github.com/ndmitchell/extra#readme"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="2/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-haskell/clock-0.7:=[profile?]
|
||||
>=dev-lang/ghc-7.4.1:=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.18
|
||||
test? ( >=dev-haskell/quickcheck-2.9 )
|
||||
"
|
@ -0,0 +1,23 @@
|
||||
diff --git a/test/TestUtil.hs b/test/TestUtil.hs
|
||||
index 87f3417..cda262f 100644
|
||||
--- a/test/TestUtil.hs
|
||||
+++ b/test/TestUtil.hs
|
||||
@@ -72,3 +72,5 @@ instance Testable () where
|
||||
property = property . (`seq` True)
|
||||
+#if ! MIN_VERSION_QuickCheck(2,9,0)
|
||||
exhaustive _ = True
|
||||
+#endif
|
||||
|
||||
@@ -76,3 +78,6 @@ instance Testable a => Testable (IO a) where
|
||||
property = property . unsafePerformIO
|
||||
+#if ! MIN_VERSION_QuickCheck(2,9,0)
|
||||
exhaustive = exhaustive . unsafePerformIO
|
||||
+#endif
|
||||
+
|
||||
|
||||
@@ -107,3 +112,5 @@ instance Arbitrary DiffTime where
|
||||
|
||||
+#if ! MIN_VERSION_QuickCheck(2,9,2)
|
||||
instance Arbitrary Version where
|
||||
arbitrary = makeVersion . map abs <$> listOf1 arbitrary
|
||||
+#endif
|
@ -0,0 +1,204 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit bash-completion-r1 autotools eutils flag-o-matic fortran-2 multilib versionator toolchain-funcs
|
||||
|
||||
# latest git commit for R bash completion: https://github.com/deepayan/rcompletion
|
||||
BCPV=78d6830e28ea90a046da79a9b4f70c39594bb6d6
|
||||
|
||||
DESCRIPTION="Language and environment for statistical computing and graphics"
|
||||
HOMEPAGE="http://www.r-project.org/"
|
||||
SRC_URI="
|
||||
mirror://cran/src/base/R-3/${P}.tar.gz
|
||||
https://raw.githubusercontent.com/deepayan/rcompletion/${BCPV}/bash_completion/R -> ${PN}-${BCPV}.bash_completion"
|
||||
|
||||
LICENSE="|| ( GPL-2 GPL-3 ) LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos"
|
||||
IUSE="cairo doc icu java jpeg lapack minimal nls openmp perl png prefix profile readline static-libs tiff tk X"
|
||||
REQUIRED_USE="png? ( || ( cairo X ) ) jpeg? ( || ( cairo X ) ) tiff? ( || ( cairo X ) )"
|
||||
|
||||
CDEPEND="
|
||||
app-arch/bzip2:0=
|
||||
app-arch/xz-utils:0=
|
||||
app-text/ghostscript-gpl
|
||||
>=dev-libs/libpcre-8.35:3=
|
||||
net-misc/curl
|
||||
virtual/blas:0
|
||||
|| ( >=sys-apps/coreutils-8.15 sys-freebsd/freebsd-bin app-misc/realpath )
|
||||
cairo? ( x11-libs/cairo:0=[X] x11-libs/pango:0= )
|
||||
icu? ( dev-libs/icu:= )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
lapack? ( virtual/lapack:0 )
|
||||
perl? ( dev-lang/perl )
|
||||
png? ( media-libs/libpng:0= )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
tiff? ( media-libs/tiff:0= )
|
||||
tk? ( dev-lang/tk:0= )
|
||||
X? ( x11-libs/libXmu:0= x11-misc/xdg-utils )"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
virtual/latex-base
|
||||
dev-texlive/texlive-fontsrecommended
|
||||
)"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
>=sys-libs/zlib-1.2.5.1-r2:0[minizip]
|
||||
java? ( >=virtual/jre-1.5 )"
|
||||
|
||||
RESTRICT="minimal? ( test )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.4.1-parallel.patch
|
||||
"${FILESDIR}"/${PN}-3.4.1-rmath-shared.patch
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if [[ ${MERGE_TYPE} != binary ]] && use openmp; then
|
||||
if ! tc-check-openmp; then
|
||||
ewarn "OpenMP is not available in your current selected compiler"
|
||||
die "need openmp capable compiler"
|
||||
fi
|
||||
FORTRAN_NEED_OPENMP=1
|
||||
fi
|
||||
fortran-2_pkg_setup
|
||||
filter-ldflags -Wl,-Bdirect -Bdirect
|
||||
# avoid using existing R installation
|
||||
unset R_HOME
|
||||
# Temporary fix for bug #419761
|
||||
if [[ ($(tc-getCC) == *gcc) && ($(gcc-version) == 4.7) ]]; then
|
||||
append-flags -fno-ipa-cp-clone
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# fix packages.html for doc (gentoo bug #205103)
|
||||
sed -e "s:../../../library:../../../../$(get_libdir)/R/library:g" \
|
||||
-i src/library/tools/R/Rd.R || die
|
||||
|
||||
# fix Rscript path when installed (gentoo bug #221061)
|
||||
sed -e "s:-DR_HOME='\"\$(rhome)\"':-DR_HOME='\"${EROOT%/}/usr/$(get_libdir)/${PN}\"':" \
|
||||
-i src/unix/Makefile.in || die "sed unix Makefile failed"
|
||||
|
||||
# fix HTML links to manual (gentoo bug #273957)
|
||||
sed -e 's:\.\./manual/:manual/:g' \
|
||||
-i $(grep -Flr ../manual/ doc) || die "sed for HTML links failed"
|
||||
|
||||
use lapack && \
|
||||
export LAPACK_LIBS="$($(tc-getPKG_CONFIG) --libs lapack)"
|
||||
|
||||
if use X; then
|
||||
export R_BROWSER="$(type -p xdg-open)"
|
||||
export R_PDFVIEWER="$(type -p xdg-open)"
|
||||
fi
|
||||
use perl && \
|
||||
export PERL5LIB="${S}/share/perl:${PERL5LIB:+:}${PERL5LIB}"
|
||||
|
||||
# don't search /usr/local
|
||||
sed -i -e '/FLAGS=.*\/local\//c\: # removed by ebuild' configure.ac || die
|
||||
# Fix for Darwin (OS X)
|
||||
if use prefix; then
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
sed -e 's:-install_name libR.dylib:-install_name ${libdir}/R/lib/libR.dylib:' \
|
||||
-e 's:-install_name libRlapack.dylib:-install_name ${libdir}/R/lib/libRlapack.dylib:' \
|
||||
-e 's:-install_name libRblas.dylib:-install_name ${libdir}/R/lib/libRblas.dylib:' \
|
||||
-e "/SHLIB_EXT/s/\.so/.dylib/" \
|
||||
-i configure.ac || die
|
||||
# sort of "undo" 2.14.1-rmath-shared.patch
|
||||
sed -e "s:-Wl,-soname=libRmath.so:-install_name ${EROOT%/}/usr/$(get_libdir)/libRmath.dylib:" \
|
||||
-i src/nmath/standalone/Makefile.in || die
|
||||
else
|
||||
append-ldflags -Wl,-rpath="${EROOT%/}/usr/$(get_libdir)/R/lib"
|
||||
fi
|
||||
fi
|
||||
AT_M4DIR=m4 eaclocal
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# --with-system-tre \
|
||||
# tre is patched from upstream
|
||||
econf \
|
||||
--enable-byte-compiled-packages \
|
||||
--enable-R-shlib \
|
||||
--disable-R-framework \
|
||||
--with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
rdocdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
$(use_enable java) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable openmp) \
|
||||
$(use_enable profile R-profiling) \
|
||||
$(use_enable profile memory-profiling) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable static-libs R-static-lib) \
|
||||
$(use_with cairo) \
|
||||
$(use_with icu ICU) \
|
||||
$(use_with jpeg jpeglib) \
|
||||
$(use_with lapack) \
|
||||
$(use_with !minimal recommended-packages) \
|
||||
$(use_with png libpng) \
|
||||
$(use_with readline) \
|
||||
$(use_with tiff libtiff) \
|
||||
$(use_with tk tcltk) \
|
||||
$(use_with tk tk-config "${EPREFIX}"/usr/$(get_libdir)/tkConfig.sh) \
|
||||
$(use_with tk tcl-config "${EPREFIX}"/usr/$(get_libdir)/tclConfig.sh) \
|
||||
$(use_with X x)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export VARTEXFONTS="${T}/fonts"
|
||||
emake AR="$(tc-getAR)"
|
||||
emake -C src/nmath/standalone \
|
||||
shared $(use static-libs && echo static) AR="$(tc-getAR)"
|
||||
use doc && emake info pdf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
emake -j1 -C src/nmath/standalone DESTDIR="${D}" install
|
||||
|
||||
if use doc; then
|
||||
emake DESTDIR="${D}" install-info install-pdf
|
||||
dosym ../manual /usr/share/doc/${PF}/html/manual
|
||||
fi
|
||||
|
||||
cat > 99R <<-EOF
|
||||
LDPATH=${EROOT%/}/usr/$(get_libdir)/${PN}/lib
|
||||
R_HOME=${EROOT%/}/usr/$(get_libdir)/${PN}
|
||||
EOF
|
||||
doenvd 99R
|
||||
newbashcomp "${DISTDIR}"/${PN}-${BCPV}.bash_completion ${PN}
|
||||
# The buildsystem has a different understanding of install_names than
|
||||
# we require. Since it builds modules like shared objects (wrong), many
|
||||
# objects (all modules) get an incorrect install_name. Fixing the build
|
||||
# system here is not really trivial.
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
local mod
|
||||
pushd "${ED}"/usr/$(get_libdir)/R > /dev/null
|
||||
for mod in $(find . -name "*.dylib") ; do
|
||||
mod=${mod#./}
|
||||
install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/R/${mod}" \
|
||||
"${mod}"
|
||||
done
|
||||
popd > /dev/null
|
||||
fi
|
||||
docompress -x /usr/share/doc/${PF}/{BioC_mirrors.csv,CRAN_mirrors.csv,KEYWORDS.db,NEWS.rds}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use java; then
|
||||
einfo "Re-initializing java paths for ${P}"
|
||||
R CMD javareconf
|
||||
fi
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
--- a/src/include/Makefile.in 2017-07-05 23:09:09.682703655 +0000
|
||||
+++ b/src/include/Makefile.in 2017-07-05 23:06:56.533612308 +0000
|
||||
@@ -81,7 +81,7 @@
|
||||
Rmath.h0: $(srcdir)/Rmath.h0.in $(top_builddir)/config.status
|
||||
@cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
||||
|
||||
-install: installdirs install-intl-@USE_INCLUDED_LIBINTL@
|
||||
+install: $(OBJ_HEADERS) installdirs install-intl-@USE_INCLUDED_LIBINTL@
|
||||
@for d in $(SUBDIRS); do \
|
||||
(cd $${d} && $(MAKE) $@) || exit 1; \
|
||||
done
|
@ -0,0 +1,21 @@
|
||||
--- a/src/nmath/standalone/Makefile.in 2017-07-05 23:20:26.098087600 +0000
|
||||
+++ b/src/nmath/standalone/Makefile.in 2017-07-05 23:21:55.087480310 +0000
|
||||
@@ -64,7 +64,8 @@
|
||||
Rexeclibdir_LTLIBRARIES = $(libRmath_la)
|
||||
libRmath_la_SOURCES = $(SOURCES)
|
||||
libRmath_la_OBJECTS = $(OBJECTS:.o=.lo)
|
||||
-libRmath_la_LDFLAGS =
|
||||
+libRmath_la_LDFLAGS = -Wl,-soname=libRmath.so
|
||||
+libRmath_la_LIBADD = $(LIBM)
|
||||
|
||||
CLEANFILES = Makedeps *.d *.o *.lo test check.log $(SOURCES)
|
||||
DISTCLEANFILES = Makefile $(Rexeclibdir_LIBRARIES) $(Rexeclibdir_LTLIBRARIES)
|
||||
@@ -127,7 +128,7 @@
|
||||
|
||||
## under peculiar circumstances, $(LIBM) here helps.
|
||||
$(libRmath_la): $(libRmath_la_OBJECTS)
|
||||
- $(DYLIB_LINK) -o $@ $(libRmath_la_LDFLAGS) $(libRmath_la_OBJECTS) $(LIBM)
|
||||
+ $(DYLIB_LINK) $(libRmath_la_LDFLAGS) $(libRmath_la_OBJECTS) $(libRmath_la_LIBADD) -o $@
|
||||
|
||||
test: $(srcdir)/test.c
|
||||
$(CC) -o $@ $(ALL_CPPFLAGS) $(ALL_CFLAGS) $(srcdir)/test.c \
|
@ -0,0 +1,738 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit flag-o-matic versionator systemd
|
||||
|
||||
DESCRIPTION="The PHP language runtime engine"
|
||||
HOMEPAGE="http://php.net/"
|
||||
SRC_URI="http://php.net/distributions/${P}.tar.xz"
|
||||
|
||||
LICENSE="PHP-3.01
|
||||
BSD
|
||||
Zend-2.0
|
||||
bcmath? ( LGPL-2.1+ )
|
||||
fpm? ( BSD-2 )
|
||||
gd? ( gd )
|
||||
unicode? ( BSD-2 LGPL-2.1 )"
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
|
||||
# We can build the following SAPIs in the given order
|
||||
SAPIS="embed cli cgi fpm apache2 phpdbg"
|
||||
|
||||
# SAPIs and SAPI-specific USE flags (cli SAPI is default on):
|
||||
IUSE="${IUSE}
|
||||
${SAPIS/cli/+cli}
|
||||
threads"
|
||||
|
||||
IUSE="${IUSE} acl bcmath berkdb bzip2 calendar cdb cjk
|
||||
coverage crypt +ctype curl debug
|
||||
enchant exif +fileinfo +filter firebird
|
||||
flatfile ftp gd gdbm gmp +hash +iconv imap inifile
|
||||
intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit libressl
|
||||
mhash mssql mysql 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
|
||||
sysvipc systemd tidy +tokenizer truetype unicode wddx webp
|
||||
+xml xmlreader xmlwriter xmlrpc xpm xslt zip zlib"
|
||||
|
||||
# The supported (that is, autodetected) versions of BDB are listed in
|
||||
# the ./configure script. Other versions *work*, but we need to stick to
|
||||
# the ones that can be detected to avoid a repeat of bug #564824.
|
||||
COMMON_DEPEND="
|
||||
>=app-eselect/eselect-php-0.9.1[apache2?,fpm?]
|
||||
>=dev-libs/libpcre-8.32[unicode]
|
||||
acl? ( sys-apps/acl )
|
||||
apache2? ( || ( >=www-servers/apache-2.4[apache2_modules_unixd,threads=]
|
||||
<www-servers/apache-2.4[threads=] ) )
|
||||
berkdb? ( || ( sys-libs/db:5.3
|
||||
sys-libs/db:5.1
|
||||
sys-libs/db:4.8
|
||||
sys-libs/db:4.7
|
||||
sys-libs/db:4.6
|
||||
sys-libs/db:4.5 ) )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
|
||||
cjk? ( !gd? (
|
||||
virtual/jpeg:0
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib
|
||||
) )
|
||||
coverage? ( dev-util/lcov )
|
||||
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:0 )
|
||||
iconv? ( virtual/libiconv )
|
||||
imap? ( virtual/imap-c-client[kerberos=,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] )
|
||||
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:0= )
|
||||
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? (
|
||||
!libressl? ( dev-libs/openssl:0 )
|
||||
libressl? ( dev-libs/libressl )
|
||||
)
|
||||
tidy? ( app-text/htmltidy )
|
||||
truetype? (
|
||||
=media-libs/freetype-2*
|
||||
!gd? (
|
||||
virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib )
|
||||
)
|
||||
unicode? ( dev-libs/oniguruma )
|
||||
wddx? ( >=dev-libs/libxml2-2.6.8 )
|
||||
webp? ( media-libs/libwebp )
|
||||
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 )
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
virtual/mta
|
||||
fpm? (
|
||||
selinux? ( sec-policy/selinux-phpfpm )
|
||||
systemd? ( sys-apps/systemd ) )"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-arch/xz-utils
|
||||
>=sys-devel/bison-3.0.1
|
||||
sys-devel/flex
|
||||
>=sys-devel/m4-1.4.3
|
||||
>=sys-devel/libtool-1.5.18"
|
||||
|
||||
# Without USE=readline or libedit, the interactive "php -a" CLI will hang.
|
||||
REQUIRED_USE="
|
||||
cli? ( ^^ ( readline libedit ) )
|
||||
truetype? ( gd )
|
||||
webp? ( 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 )
|
||||
qdbm? ( !gdbm )
|
||||
readline? ( !libedit )
|
||||
recode? ( !imap !mysqli )
|
||||
sharedmem? ( !threads )
|
||||
mysql? ( || ( mysqli pdo ) )
|
||||
|| ( cli cgi fpm apache2 embed phpdbg )"
|
||||
|
||||
PHP_MV="$(get_major_version)"
|
||||
|
||||
php_install_ini() {
|
||||
local phpsapi="${1}"
|
||||
|
||||
# work out where we are installing the ini file
|
||||
php_set_ini_dir "${phpsapi}"
|
||||
|
||||
# Always install the production INI file, bug 611214.
|
||||
local phpinisrc="php.ini-production-${phpsapi}"
|
||||
cp php.ini-production "${phpinisrc}" || die
|
||||
|
||||
# default to /tmp for save_path, bug #282768
|
||||
sed -e 's|^;session.save_path .*$|session.save_path = "'"${EPREFIX}"'/tmp"|g' -i "${phpinisrc}" || die
|
||||
|
||||
# Set the extension dir
|
||||
sed -e "s|^extension_dir .*$|extension_dir = ${extension_dir}|g" \
|
||||
-i "${phpinisrc}" || die
|
||||
|
||||
# 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}" || die
|
||||
|
||||
dodir "${PHP_INI_DIR#${EPREFIX}}"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${phpinisrc}" php.ini
|
||||
|
||||
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 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
|
||||
einfo "Installing FPM config files php-fpm.conf and www.conf"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
doins sapi/fpm/php-fpm.conf
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}/fpm.d"
|
||||
doins sapi/fpm/www.conf
|
||||
fi
|
||||
|
||||
dodoc php.ini-{development,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() {
|
||||
default
|
||||
|
||||
# In php-7.x, the FPM pool configuration files have been split off
|
||||
# of the main config. By default the pool config files go in
|
||||
# e.g. /etc/php-fpm.d, which isn't slotted. So here we move the
|
||||
# include directory to a subdirectory "fpm.d" of $PHP_INI_DIR. Later
|
||||
# we'll install the pool configuration file "www.conf" there.
|
||||
php_set_ini_dir fpm
|
||||
sed -i "s~^include=.*$~include=${PHP_INI_DIR}/fpm.d/*.conf~" \
|
||||
sapi/fpm/php-fpm.conf.in \
|
||||
|| die 'failed to move the include directory in php-fpm.conf'
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/mib_indexes
|
||||
|
||||
PHP_DESTDIR="${EPREFIX}/usr/$(get_libdir)/php${SLOT}"
|
||||
|
||||
# The php-fpm config file wants localstatedir to be ${EPREFIX}/var
|
||||
# and not the Gentoo default ${EPREFIX}/var/lib. See bug 572002.
|
||||
local our_conf=(
|
||||
--prefix="${PHP_DESTDIR}"
|
||||
--mandir="${PHP_DESTDIR}/man"
|
||||
--infodir="${PHP_DESTDIR}/info"
|
||||
--libdir="${PHP_DESTDIR}/lib"
|
||||
--with-libdir="$(get_libdir)"
|
||||
--localstatedir="${EPREFIX}/var"
|
||||
--without-pear
|
||||
$(use_enable threads maintainer-zts)
|
||||
)
|
||||
|
||||
our_conf+=(
|
||||
$(use_with acl fpm-acl)
|
||||
$(use_enable bcmath bcmath)
|
||||
$(use_with bzip2 bz2 "${EPREFIX}/usr")
|
||||
$(use_enable calendar calendar)
|
||||
$(use_enable coverage gcov)
|
||||
$(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 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_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
|
||||
our_conf+=( "--enable-dba${shared}" )
|
||||
fi
|
||||
|
||||
# DBA drivers support
|
||||
our_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
|
||||
our_conf+=(
|
||||
$(use_with truetype freetype-dir "${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")
|
||||
)
|
||||
if use webp; then
|
||||
our_conf+=( --with-webp-dir="${EPREFIX}/usr" )
|
||||
fi
|
||||
# enable gd last, so configure can pick up the previous settings
|
||||
our_conf+=( $(use_with gd gd) )
|
||||
|
||||
# IMAP support
|
||||
if use imap ; then
|
||||
our_conf+=(
|
||||
$(use_with imap imap "${EPREFIX}/usr")
|
||||
$(use_with ssl imap-ssl "${EPREFIX}/usr")
|
||||
)
|
||||
fi
|
||||
|
||||
# Interbase/firebird support
|
||||
our_conf+=( $(use_with firebird interbase "${EPREFIX}/usr") )
|
||||
|
||||
# LDAP support
|
||||
if use ldap ; then
|
||||
our_conf+=(
|
||||
$(use_with ldap ldap "${EPREFIX}/usr")
|
||||
$(use_with ldap-sasl ldap-sasl "${EPREFIX}/usr")
|
||||
)
|
||||
fi
|
||||
|
||||
# MySQL support
|
||||
local mysqllib="mysqlnd"
|
||||
local mysqlilib="mysqlnd"
|
||||
|
||||
our_conf+=( $(use_with mysqli mysqli "${mysqlilib}") )
|
||||
|
||||
local mysqlsock="${EPREFIX}/var/run/mysqld/mysqld.sock"
|
||||
if use mysql || use mysqli ; then
|
||||
our_conf+=( $(use_with mysql mysql-sock "${mysqlsock}") )
|
||||
fi
|
||||
|
||||
# ODBC support
|
||||
our_conf+=(
|
||||
$(use_with odbc unixODBC "${EPREFIX}/usr")
|
||||
$(use_with iodbc iodbc "${EPREFIX}/usr")
|
||||
)
|
||||
|
||||
# Oracle support
|
||||
our_conf+=( $(use_with oci8-instant-client oci8) )
|
||||
|
||||
# PDO support
|
||||
if use pdo ; then
|
||||
our_conf+=(
|
||||
$(use_with mssql pdo-dblib "${EPREFIX}/usr")
|
||||
$(use_with mysql pdo-mysql "${mysqllib}")
|
||||
$(use_with postgres pdo-pgsql)
|
||||
$(use_with sqlite pdo-sqlite "${EPREFIX}/usr")
|
||||
$(use_with firebird pdo-firebird "${EPREFIX}/usr")
|
||||
$(use_with odbc pdo-odbc "unixODBC,${EPREFIX}/usr")
|
||||
$(use_with oci8-instant-client pdo-oci)
|
||||
)
|
||||
fi
|
||||
|
||||
# readline/libedit support
|
||||
our_conf+=(
|
||||
$(use_with readline readline "${EPREFIX}/usr")
|
||||
$(use_with libedit libedit "${EPREFIX}/usr")
|
||||
)
|
||||
|
||||
# Session support
|
||||
if use session ; then
|
||||
our_conf+=( $(use_with sharedmem mm "${EPREFIX}/usr") )
|
||||
else
|
||||
our_conf+=( $(use_enable session session) )
|
||||
fi
|
||||
|
||||
# Use pic for shared modules such as apache2's mod_php
|
||||
our_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
|
||||
our_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"
|
||||
|
||||
# Cache the ./configure test results between SAPIs.
|
||||
our_conf+=( --cache-file="${T}/config.cache" )
|
||||
|
||||
# Support user-passed configuration parameters
|
||||
our_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" || die
|
||||
for one_sapi in $SAPIS ; do
|
||||
use "${one_sapi}" || continue
|
||||
php_set_ini_dir "${one_sapi}"
|
||||
|
||||
# The BUILD_DIR variable is used to determine where to output
|
||||
# the files that autotools creates. This was all originally
|
||||
# based on the autotools-utils eclass.
|
||||
BUILD_DIR="${WORKDIR}/sapis-build/${one_sapi}"
|
||||
cp -a "${S}" "${BUILD_DIR}" || die
|
||||
cd "${BUILD_DIR}" || die
|
||||
|
||||
local sapi_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|phpdbg)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf+=( "--enable-${sapi}" )
|
||||
else
|
||||
sapi_conf+=( "--disable-${sapi}" )
|
||||
fi
|
||||
;;
|
||||
|
||||
apache2)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf+=( --with-apxs2="${EPREFIX}/usr/bin/apxs" )
|
||||
else
|
||||
sapi_conf+=( --without-apxs2 )
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
# Construct the $myeconfargs array by concatenating $our_conf
|
||||
# (the common args) and $sapi_conf (the SAPI-specific args).
|
||||
local myeconfargs=( "${our_conf[@]}" )
|
||||
myeconfargs+=( "${sapi_conf[@]}" )
|
||||
|
||||
pushd "${BUILD_DIR}" > /dev/null || die
|
||||
econf "${myeconfargs[@]}"
|
||||
popd > /dev/null || die
|
||||
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" || \
|
||||
die "Failed to change dir to ${WORKDIR}/sapis-build/$1"
|
||||
emake
|
||||
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" || die
|
||||
emake INSTALL_ROOT="${D}" \
|
||||
install-build install-headers install-programs
|
||||
|
||||
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}" || die
|
||||
|
||||
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/libphp${PHP_MV}$(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)"
|
||||
;;
|
||||
phpdbg)
|
||||
source="sapi/phpdbg/phpdbg"
|
||||
;;
|
||||
*)
|
||||
die "unhandled sapi in src_install"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ "${source}" == *"$(get_libname)" ]]; then
|
||||
dolib.so "${source}"
|
||||
else
|
||||
dobin "${source}"
|
||||
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 opcache ; then
|
||||
into "${PHP_DESTDIR#${EPREFIX}}"
|
||||
dolib.so "modules/opcache$(get_libname)"
|
||||
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}" || die
|
||||
sed -e "s|php5|php${SLOT}|g" -i "${ED}/etc/env.d/20php${SLOT}" || die
|
||||
|
||||
# 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" || die
|
||||
|
||||
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-build/cgi/sapi/cgi/php-cgi" ]] ; then
|
||||
export TEST_PHP_CGI_EXECUTABLE="${WORKDIR}/sapis-build/cgi/sapi/cgi/php-cgi"
|
||||
fi
|
||||
|
||||
if [[ -x "${WORKDIR}/sapis-build/phpdbg/sapi/phpdbg/phpdbg" ]] ; then
|
||||
export TEST_PHPDBG_EXECUTABLE="${WORKDIR}/sapis-build/phpdbg/sapi/phpdbg/phpdbg"
|
||||
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 || die
|
||||
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
|
||||
elog
|
||||
elog "To enable PHP in apache, you will need to add \"-D PHP\" to"
|
||||
elog "your apache2 command. OpenRC users can append that string to"
|
||||
elog "APACHE2_OPTS in /etc/conf.d/apache2."
|
||||
elog
|
||||
elog "The apache module configuration file 70_mod_php.conf is"
|
||||
elog "provided (and maintained) by eselect-php."
|
||||
elog
|
||||
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} || die
|
||||
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
|
||||
|
||||
# Remove dead symlinks for SAPIs that were just disabled. For
|
||||
# example, if the user has the cgi SAPI enabled, then he has an
|
||||
# eselect-php symlink for it. If he later reinstalls PHP with
|
||||
# USE="-cgi", that symlink will break. This call to eselect is
|
||||
# supposed to remove that dead link per bug 572436.
|
||||
eselect php cleanup || die
|
||||
|
||||
if ! has "php${SLOT/./-}" ${PHP_TARGETS}; then
|
||||
elog "To build extensions for this version of PHP, you will need to"
|
||||
elog "add php${SLOT/./-} to your PHP_TARGETS USE_EXPAND variable."
|
||||
elog
|
||||
fi
|
||||
|
||||
# Warn about the removal of PHP_INI_VERSION if the user has it set.
|
||||
if [[ -n "${PHP_INI_VERSION}" ]]; then
|
||||
ewarn 'The PHP_INI_VERSION variable has been phased out. You may'
|
||||
ewarn 'remove it from your configuration at your convenience. See'
|
||||
ewarn
|
||||
ewarn ' https://bugs.gentoo.org/611214'
|
||||
ewarn
|
||||
ewarn 'for more information.'
|
||||
fi
|
||||
|
||||
elog "For details on how version slotting works, please see"
|
||||
elog "the wiki:"
|
||||
elog
|
||||
elog " https://wiki.gentoo.org/wiki/PHP"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# This serves two purposes. First, if we have just removed the last
|
||||
# installed version of PHP, then this will remove any dead symlinks
|
||||
# belonging to eselect-php. Second, if a user upgrades slots from
|
||||
# (say) 5.6 to 7.0 and depcleans the old slot, then this will update
|
||||
# his existing symlinks to point to the new 7.0 installation. The
|
||||
# latter is bug 432962.
|
||||
#
|
||||
# Note: the eselect-php package may not be installed at this point,
|
||||
# so we can't die() if this command fails.
|
||||
eselect php cleanup
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST kasync-0.1.1.tar.xz 28140 SHA256 a7fceb7ed16ec1785eee418602b040989122ee6be43e2727e996f8bf19d50d0d SHA512 f526d2853497d4885a11731e8c307b1b6f20b4a84f814f47389aed5e35c70af926ef935041dc4cfe695374ebf4684387b979287021d0455421e4fc26ff5f2e29 WHIRLPOOL 275a99c4b6bdc4e7b382c7e17f3083de01c4a426145348990e2b03c3f6cc8be8fef0d59ddf349dff266cbc690d2fadb1c11d8be2df17b5dec161e55b8744ed98
|
||||
DIST kasync-0.2.0.tar.xz 28952 SHA256 0ff75cf4cbef3baff2ffd061bac737e7b05bd0f24f7a89ac83c4ea17a5ba4ac3 SHA512 cf0d59c4ed6978552599a1d36c08df180357e112867f3730f57b13673943eb365acd16892450f100e9e5f122220a06df64ee006a0d3651d0f05d78cb5195094d WHIRLPOOL 9b62383da1e82c9676f81eb155e15051c0d190e937078e6d73a0ccfe5295c69e8f44e14eb563cf8bf6e7df262f4dc013ff37357472a60e8aa3cee05f6a4bd823
|
||||
|
@ -0,0 +1,14 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
KDE_TEST="forceoptional"
|
||||
inherit kde5
|
||||
|
||||
DESCRIPTION="C++ library for controlling asynchronous tasks"
|
||||
SRC_URI="mirror://kde/unstable/${PN}/${PV}/src/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2+"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
@ -0,0 +1 @@
|
||||
DIST libbytesize-0.10.tar.gz 67461 SHA256 6178bebe3d966ef477c9507a7b8da5c7fb5ff52e792763270286a42e6b892aee SHA512 26dcca781c70b5fdc0c0ef973ce65db2c4ce4520bb413b2e0137e3c8a0ccef0b0b47f46e50e13035fb74c3bd2a16ab8faad8c4fb843f33419a5e5d70dae73587 WHIRLPOOL c91b63e76a368aff4434cc09f546b1ee2265afa95fa6ef6ad25e6ed3554262361342c60ff7fddcc9887b3ddb53c2d5c6890dd28427e35be4af9c12fdc1dc6d53
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
|
||||
|
||||
inherit autotools python-single-r1
|
||||
|
||||
DESCRIPTION="Tiny library providing a C \"class\" for working with arbitrary big sizes in bytes"
|
||||
HOMEPAGE="https://github.com/rhinstaller/libbytesize"
|
||||
SRC_URI="https://github.com/rhinstaller/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="LGPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
CDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-libs/gmp:0=
|
||||
>=dev-libs/libpcre-8.32
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
sys-devel/gettext
|
||||
doc? ( dev-util/gtk-doc )
|
||||
test? (
|
||||
dev-python/pocketlint
|
||||
dev-python/polib
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
"
|
||||
|
||||
# https://github.com/rhinstaller/libbytesize/issues/27
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_with doc gtk-doc)
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>polynomial-c@gentoo.org</email>
|
||||
<name>Lars Wendler</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">rhinstaller/libbytesize</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +1,2 @@
|
||||
DIST sink-0.1.0.tar.xz 208220 SHA256 04aa9468c72a822fc050b89c13d78651a7a760afef44a3a27a872866842a4fb8 SHA512 10081d3fbd588cd63431293f0f1077021bb68cfc8ee289f670cd802dbe11e6c8faa26bd06a54f10dd4c08c66f4700224466d2ddc1149475b89484cc9981666d1 WHIRLPOOL a79aff954e56c724c0ef613e4507f21bfbc0984e619ffc28f9f68c7773ffb3b51baf090e83d29f9c234c75ea3ae2afe762cbf6042386f5d33683c4cf1d70da97
|
||||
DIST sink-0.3.0.tar.xz 215636 SHA256 b9f618316a60aae83174188aac63220cf77eb51f32238a55a998cb1db0f81534 SHA512 066050339603b80efd7edb8b903d675f0434a7147cb7ad0fd810c82c29184f39762948bc75c45ea98e0ee4c455fcaeaa326ace95908745d51ad58bead5d70e1a WHIRLPOOL ab819dd7e1e931d4b2b32e055eabf981021b0fe9e54d1c2c41f2911d0388703d01d2725b0bf267c4fd78b31995e174dd21a8496cb961065a02a1016e71bd1c31
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
KDE_TEST="forceoptional"
|
||||
inherit kde5
|
||||
|
||||
DESCRIPTION="A data access layer handling synchronization, caching and indexing"
|
||||
SRC_URI="mirror://kde/unstable/${PN}/${PV}/src/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2+"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
# qtgui is bogus but is required because something else in the deptree
|
||||
# uses it as a public dependency but doesn't search for it properly
|
||||
RDEPEND="
|
||||
$(add_kdeapps_dep kcontacts)
|
||||
$(add_kdeapps_dep kmime)
|
||||
$(add_qt_dep qtgui)
|
||||
$(add_qt_dep qtnetwork)
|
||||
dev-db/lmdb:=
|
||||
dev-libs/flatbuffers
|
||||
dev-libs/kasync
|
||||
sys-libs/readline:0=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# fails to build
|
||||
RESTRICT+=" test"
|
@ -0,0 +1 @@
|
||||
DIST volume_key-0.3.9.tar.xz 445092 SHA256 450a54fe9bf56acec6850c1e71371d3e4913c9ca1ef0cdc3a517b4b6910412a6 SHA512 bc0e690997b9fa1c9fff361d04e7eddcac4cac09779d7a1f9e161be117f5c589a7e444ac16dab25fb3e3ce201591f7dc937595ddf2745d7daa625d4ab0a255e0 WHIRLPOOL 928279511717a8fcd94a13b52c1450770f8f22aed4334a4dc87440cf3ffa706e99de6dac21ac8a7e6db990570525e4cf5f163b92351239d95dcf0b3f2b7cd8c7
|
@ -0,0 +1,27 @@
|
||||
From 8f8698aba19b501f01285e9eec5c18231fc6bcea Mon Sep 17 00:00:00 2001
|
||||
From: Vratislav Podzimek <vpodzime@redhat.com>
|
||||
Date: Tue, 6 Jan 2015 13:06:52 +0100
|
||||
Subject: Do not include config.h in libvolume_key.h
|
||||
|
||||
The library's header file distributed in the devel package cannot include
|
||||
the config.h file that is only available during build otherwise it's not
|
||||
possible to use the library outside of the volume_key build process.
|
||||
|
||||
Signed-off-by: Vratislav Podzimek <vpodzime@redhat.com>
|
||||
|
||||
diff --git a/lib/libvolume_key.h b/lib/libvolume_key.h
|
||||
index 657b626..513f923 100644
|
||||
--- a/lib/libvolume_key.h
|
||||
+++ b/lib/libvolume_key.h
|
||||
@@ -18,8 +18,6 @@ Author: Miloslav Trmač <mitr@redhat.com> */
|
||||
#ifndef LIBVOLUME_KEY_H__
|
||||
#define LIBVOLUME_KEY_H__
|
||||
|
||||
-#include <config.h>
|
||||
-
|
||||
#include <cert.h>
|
||||
#include <glib.h>
|
||||
|
||||
--
|
||||
cgit v0.10.2
|
||||
|
@ -0,0 +1,56 @@
|
||||
From 67fbdb6133b6d37548250514eeaf8a4e239e4768 Mon Sep 17 00:00:00 2001
|
||||
From: Lars Wendler <polynomial-c@gentoo.org>
|
||||
Date: Mon, 22 May 2017 14:29:44 +0200
|
||||
Subject: [PATCH] Use pkgconfig to find python
|
||||
|
||||
otherwise linkage and include of python fails if python is not in
|
||||
default (python$(PYTHON_VERSION)) location.
|
||||
---
|
||||
Makefile.am | 4 ++--
|
||||
configure.ac | 8 +++++++-
|
||||
2 files changed, 9 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 4569bbf..445a64c 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -20,7 +20,7 @@ ACLOCAL_AMFLAGS = -I m4
|
||||
AM_CPPFLAGS = $(blkid_CFLAGS) $(glib_CFLAGS) $(GPGME_CFLAGS) \
|
||||
$(libcryptsetup_CFLAGS) $(nss_CFLAGS)
|
||||
LOCALEDIR_CPPFLAGS = -DLOCALEDIR='"$(localedir)"'
|
||||
-PYTHON_CPPFLAGS = -I/usr/include/python$(PYTHON_VERSION)
|
||||
+PYTHON_CPPFLAGS = $(PYTHON_CFLAGS)
|
||||
|
||||
## Targets
|
||||
SUBDIRS = po
|
||||
@@ -65,7 +65,7 @@ lib_libvolume_key_la_LIBADD = $(blkid_LIBS) $(glib_LIBS) $(GPGME_LIBS) \
|
||||
python__volume_key_la_SOURCES = python/volume_key_wrap.c
|
||||
python__volume_key_la_CPPFLAGS = $(AM_CPPFLAGS) $(PYTHON_CPPFLAGS)
|
||||
python__volume_key_la_LDFLAGS = -module -avoid-version $(glib_LIBS)
|
||||
-python__volume_key_la_LIBADD = lib/libvolume_key.la -lpython$(PYTHON_VERSION) \
|
||||
+python__volume_key_la_LIBADD = lib/libvolume_key.la $(PYTHON_LIBS) \
|
||||
$(glib_LIBS) $(nss_LIBS)
|
||||
|
||||
src_volume_key_SOURCES = src/volume_key.c
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 5dbb326..71e407e 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -28,7 +28,13 @@ AC_PROG_CC
|
||||
AM_PROG_CC_C_O
|
||||
AM_PROG_AR
|
||||
LT_INIT([disable-static])
|
||||
-AM_PATH_PYTHON
|
||||
+
|
||||
+PKG_CHECK_MODULES([PYTHON], [python], [has_python=yes], [])
|
||||
+AS_IF([test "x$has_python" = "xyes"], [
|
||||
+ AM_PATH_PYTHON
|
||||
+ AC_SUBST([PYTHON_CFLAGS])
|
||||
+ AC_SUBST([PYTHON_LIBS])
|
||||
+])
|
||||
|
||||
dnl Not gpg2, it cannot receive passphrases from gpgme
|
||||
AC_PATH_PROG([GPG], [gpg])
|
||||
--
|
||||
2.13.0
|
||||
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>polynomial-c@gentoo.org</email>
|
||||
<name>Lars Wendler</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_{4,5,6} )
|
||||
|
||||
inherit autotools python-single-r1
|
||||
|
||||
DESCRIPTION="Library for manipulating and storing storage volume encryption keys"
|
||||
HOMEPAGE="https://pagure.io/volume_key"
|
||||
SRC_URI="http://releases.pagure.org/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
dev-libs/glib:2
|
||||
dev-libs/nss
|
||||
sys-apps/util-linux
|
||||
sys-devel/gettext
|
||||
"
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
app-crypt/gpgme
|
||||
sys-devel/autoconf:2.63
|
||||
sys-fs/cryptsetup
|
||||
test? ( dev-libs/nss[utils] )
|
||||
"
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
"
|
||||
|
||||
RESTRICT="test" # possible gpgme issue
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-config.h.diff
|
||||
"${FILESDIR}"/${PN}-0.3.9-find_python.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=AKHUETTEL
|
||||
DIST_VERSION=0.006
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Add per-file per-year copyright information"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-perl/DateTime
|
||||
dev-perl/Dist-Zilla
|
||||
dev-perl/Git-Wrapper
|
||||
>=dev-perl/List-MoreUtils-0.400.0
|
||||
>=virtual/perl-Scalar-List-Utils-1.330.0
|
||||
dev-perl/Moose
|
||||
dev-perl/Pod-Weaver
|
||||
dev-perl/namespace-autoclean
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
"
|
@ -1 +1,2 @@
|
||||
DIST Dist-Zilla-Plugin-AuthorsFromGit-0.005.tar.gz 5236 SHA256 1db47dcd68a763f45a158c07b94f9be2026773bd8791f9260ac711550aa3447b SHA512 61ed7fbc950cb867752d0b9f765c3d2abec804430db9d08ff35530ed6ef3d8a027b0f46ed80465c651dae6472c4f01cafeeab0dd372df2cd3547c1550e17851c WHIRLPOOL efa7e2023783f5fd70a61f7b14ac9adfb2fbe3d73eba0659fdda4929763010c46b84db79eb1c7cec8c7d158840c6b9dbbd401cfa1078e342708382181ead2b79
|
||||
DIST Dist-Zilla-Plugin-AuthorsFromGit-0.006.tar.gz 5308 SHA256 c5cbf1f002a581dd2b56ce6b9df0a7b01a428f5aa1ef0738bde34f5e440f5c75 SHA512 e140102881905d722bc8d9e2aa82807271020ee43f771c2bd1350549b782eb21050a4c9721cbe8d5c27798f106f69f9317a026b274b4023a27aa8a1fe81e572b WHIRLPOOL 4265f7681dc0e63a7313e9b4b04c784901bd6c67865140e3c5b5f0cf944e2db874c97345c87b48b5138bb8b93bafa9959779880c4653b797175f1b82d399b1b6
|
||||
|
@ -0,0 +1,85 @@
|
||||
From 4527c099a60d6e78e730c4aea51f55c74f95119d Mon Sep 17 00:00:00 2001
|
||||
From: Kent Fredric <kentfredric@gmail.com>
|
||||
Date: Fri, 7 Jul 2017 11:52:55 +1200
|
||||
Subject: [PATCH] Fix for '.' build and test failures
|
||||
|
||||
Bug: https://rt.cpan.org/Ticket/Display.html?id=121741
|
||||
---
|
||||
Makefile.PL | 1 +
|
||||
t/02_main.t | 2 +-
|
||||
t/03_trivial.t | 2 +-
|
||||
t/04_class.t | 12 ++++++++----
|
||||
4 files changed, 11 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/Makefile.PL b/Makefile.PL
|
||||
index a5b1f8f..1961b17 100644
|
||||
--- a/Makefile.PL
|
||||
+++ b/Makefile.PL
|
||||
@@ -1,3 +1,4 @@
|
||||
+use lib '.';
|
||||
use inc::Module::Install::DSL 1.04;
|
||||
|
||||
all_from lib/ORLite/Migrate.pm
|
||||
diff --git a/t/02_main.t b/t/02_main.t
|
||||
index c895f11..ba93eaa 100644
|
||||
--- a/t/02_main.t
|
||||
+++ b/t/02_main.t
|
||||
@@ -8,7 +8,7 @@ BEGIN {
|
||||
use Test::More tests => 5;
|
||||
use File::Spec::Functions ':ALL';
|
||||
use ORLite::Migrate ();
|
||||
-use t::lib::Test;
|
||||
+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import }
|
||||
|
||||
# Check for migration patches
|
||||
my $timeline = catdir( 't', 'data', 'trivial' );
|
||||
diff --git a/t/03_trivial.t b/t/03_trivial.t
|
||||
index 63ab9d0..32efa07 100644
|
||||
--- a/t/03_trivial.t
|
||||
+++ b/t/03_trivial.t
|
||||
@@ -7,7 +7,7 @@ BEGIN {
|
||||
|
||||
use Test::More tests => 4;
|
||||
use File::Spec::Functions ':ALL';
|
||||
-use t::lib::Test;
|
||||
+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import }
|
||||
|
||||
# Check for migration patches
|
||||
my $timeline = catdir( 't', 'data', 'trivial' );
|
||||
diff --git a/t/04_class.t b/t/04_class.t
|
||||
index 3f33baf..591f3d9 100644
|
||||
--- a/t/04_class.t
|
||||
+++ b/t/04_class.t
|
||||
@@ -8,8 +8,8 @@ BEGIN {
|
||||
use Test::More tests => 4;
|
||||
use File::Spec::Functions ':ALL';
|
||||
use ORLite::Migrate::Timeline ();
|
||||
-use t::lib::Test;
|
||||
-use t::lib::MyTimeline;
|
||||
+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import }
|
||||
+BEGIN { require "./t/lib/MyTimeline.pm"; t::lib::Test->import; $INC{"t/lib/MyTimeline.pm"} = "1" }
|
||||
|
||||
# Set up the file
|
||||
my $file = test_db();
|
||||
@@ -19,12 +19,16 @@ eval <<"END_PERL"; die $@ if $@;
|
||||
package Foo::Bar;
|
||||
|
||||
use strict;
|
||||
-use ORLite::Migrate {
|
||||
+BEGIN {
|
||||
+ require ORLite::Migrate;
|
||||
+ \@INC=('.', \@INC );
|
||||
+ ORLite::Migrate->import({
|
||||
file => '$file',
|
||||
timeline => 't::lib::MyTimeline',
|
||||
user_version => 3,
|
||||
prune => 1,
|
||||
-};
|
||||
+ });
|
||||
+}
|
||||
|
||||
1;
|
||||
END_PERL
|
||||
--
|
||||
2.13.1
|
||||
|
@ -0,0 +1,394 @@
|
||||
From 8dd424a2c96200a491bea293d38898f9703dfd56 Mon Sep 17 00:00:00 2001
|
||||
From: Kent Fredric <kentfredric@gmail.com>
|
||||
Date: Fri, 7 Jul 2017 11:02:30 +1200
|
||||
Subject: [PATCH] Fix tests failing without '.' in @INC
|
||||
|
||||
Note: t/22_overlay.t seems to have some magical behaviour
|
||||
where previously it loaded t/lib/TableOne.pm by *implication* during
|
||||
ORLite construction.
|
||||
|
||||
The test code for this needs to be slightly augmented to retain
|
||||
traditional semantics without radially overhauling the test code.
|
||||
|
||||
Bug: https://rt.cpan.org/Ticket/Display.html?id=122383
|
||||
---
|
||||
Makefile.PL | 1 +
|
||||
t/01_compile.t | 2 +-
|
||||
t/02_basics.t | 2 +-
|
||||
t/03_fk.t | 2 +-
|
||||
t/04_readonly.t | 2 +-
|
||||
t/05_notables.t | 2 +-
|
||||
t/06_create.t | 2 +-
|
||||
t/07_pk.t | 2 +-
|
||||
t/08_prune.t | 2 +-
|
||||
t/09_badfile.t | 2 +-
|
||||
t/10_cleanup.t | 2 +-
|
||||
t/11_cleanup.t | 2 +-
|
||||
t/12_xs.t | 2 +-
|
||||
t/13_array_basics.t | 2 +-
|
||||
t/14_array_fk.t | 2 +-
|
||||
t/15_array_xs.t | 2 +-
|
||||
t/16_array_create.t | 2 +-
|
||||
t/17_cache.t | 2 +-
|
||||
t/18_update.t | 2 +-
|
||||
t/19_view.t | 2 +-
|
||||
t/20_shim.t | 2 +-
|
||||
t/21_normalize.t | 2 +-
|
||||
t/22_overlay.t | 10 ++++++----
|
||||
t/23_unicode.t | 2 +-
|
||||
t/24_rowid.t | 2 +-
|
||||
t/25_blob.t | 2 +-
|
||||
26 files changed, 31 insertions(+), 28 deletions(-)
|
||||
|
||||
diff --git a/Makefile.PL b/Makefile.PL
|
||||
index 5a4610a..c762072 100644
|
||||
--- a/Makefile.PL
|
||||
+++ b/Makefile.PL
|
||||
@@ -1,3 +1,4 @@
|
||||
+use lib '.';
|
||||
use inc::Module::Install::DSL 1.06;
|
||||
|
||||
all_from lib/ORLite.pm
|
||||
diff --git a/t/01_compile.t b/t/01_compile.t
|
||||
index 9e8d053..05b1cd0 100644
|
||||
--- a/t/01_compile.t
|
||||
+++ b/t/01_compile.t
|
||||
@@ -10,7 +10,7 @@ BEGIN {
|
||||
use Test::More tests => 3;
|
||||
|
||||
require_ok( 'ORLite' );
|
||||
-require_ok( 't::lib::Test' );
|
||||
+require_ok( './t/lib/Test.pm' );
|
||||
|
||||
is(
|
||||
$ORLite::VERSION,
|
||||
diff --git a/t/02_basics.t b/t/02_basics.t
|
||||
index 448e256..3f9df0d 100644
|
||||
--- a/t/02_basics.t
|
||||
+++ b/t/02_basics.t
|
||||
@@ -11,7 +11,7 @@ BEGIN {
|
||||
|
||||
use Test::More tests => 74;
|
||||
use File::Spec::Functions ':ALL';
|
||||
-use t::lib::Test;
|
||||
+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() }
|
||||
|
||||
SCOPE: {
|
||||
# Test file
|
||||
diff --git a/t/03_fk.t b/t/03_fk.t
|
||||
index 7f5db26..88d57e1 100644
|
||||
--- a/t/03_fk.t
|
||||
+++ b/t/03_fk.t
|
||||
@@ -9,7 +9,7 @@ BEGIN {
|
||||
|
||||
use Test::More tests => 5;
|
||||
use File::Spec::Functions ':ALL';
|
||||
-use t::lib::Test;
|
||||
+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() }
|
||||
|
||||
|
||||
|
||||
diff --git a/t/04_readonly.t b/t/04_readonly.t
|
||||
index c13fcd7..b918fc2 100644
|
||||
--- a/t/04_readonly.t
|
||||
+++ b/t/04_readonly.t
|
||||
@@ -11,7 +11,7 @@ BEGIN {
|
||||
|
||||
use Test::More tests => 13;
|
||||
use File::Spec::Functions ':ALL';
|
||||
-use t::lib::Test;
|
||||
+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() }
|
||||
|
||||
SCOPE: {
|
||||
# Test file
|
||||
diff --git a/t/05_notables.t b/t/05_notables.t
|
||||
index a5772c5..5f0d867 100644
|
||||
--- a/t/05_notables.t
|
||||
+++ b/t/05_notables.t
|
||||
@@ -11,7 +11,7 @@ BEGIN {
|
||||
|
||||
use Test::More tests => 5;
|
||||
use File::Spec::Functions ':ALL';
|
||||
-use t::lib::Test;
|
||||
+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() }
|
||||
|
||||
SCOPE: {
|
||||
# Test file
|
||||
diff --git a/t/06_create.t b/t/06_create.t
|
||||
index 9a2735a..cc2ba57 100644
|
||||
--- a/t/06_create.t
|
||||
+++ b/t/06_create.t
|
||||
@@ -11,7 +11,7 @@ BEGIN {
|
||||
|
||||
use Test::More tests => 25;
|
||||
use File::Spec::Functions ':ALL';
|
||||
-use t::lib::Test;
|
||||
+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() }
|
||||
|
||||
|
||||
|
||||
diff --git a/t/07_pk.t b/t/07_pk.t
|
||||
index 49c85ad..072ffa3 100644
|
||||
--- a/t/07_pk.t
|
||||
+++ b/t/07_pk.t
|
||||
@@ -9,7 +9,7 @@ BEGIN {
|
||||
|
||||
use Test::More tests => 6;
|
||||
use File::Spec::Functions ':ALL';
|
||||
-use t::lib::Test;
|
||||
+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() }
|
||||
|
||||
|
||||
#####################################################################
|
||||
diff --git a/t/08_prune.t b/t/08_prune.t
|
||||
index 9ea2ca8..ac95366 100644
|
||||
--- a/t/08_prune.t
|
||||
+++ b/t/08_prune.t
|
||||
@@ -12,7 +12,7 @@ BEGIN {
|
||||
use Test::More tests => 7;
|
||||
use Test::Script;
|
||||
use File::Remove;
|
||||
-use t::lib::Test;
|
||||
+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() }
|
||||
|
||||
# Where the test file will be
|
||||
my $file = test_db();
|
||||
diff --git a/t/09_badfile.t b/t/09_badfile.t
|
||||
index 4d3445e..cf43ff4 100644
|
||||
--- a/t/09_badfile.t
|
||||
+++ b/t/09_badfile.t
|
||||
@@ -11,7 +11,7 @@ BEGIN {
|
||||
use Test::More tests => 2;
|
||||
use Test::Script;
|
||||
use File::Remove;
|
||||
-use t::lib::Test;
|
||||
+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() }
|
||||
|
||||
# Where the test file will be
|
||||
my $file = test_db();
|
||||
diff --git a/t/10_cleanup.t b/t/10_cleanup.t
|
||||
index 75a3cf3..9683624 100644
|
||||
--- a/t/10_cleanup.t
|
||||
+++ b/t/10_cleanup.t
|
||||
@@ -9,7 +9,7 @@ BEGIN {
|
||||
|
||||
use Test::More tests => 2;
|
||||
use File::Spec::Functions ':ALL';
|
||||
-use t::lib::Test;
|
||||
+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() }
|
||||
|
||||
|
||||
#####################################################################
|
||||
diff --git a/t/11_cleanup.t b/t/11_cleanup.t
|
||||
index 7ba7af1..6e95ff7 100644
|
||||
--- a/t/11_cleanup.t
|
||||
+++ b/t/11_cleanup.t
|
||||
@@ -9,7 +9,7 @@ BEGIN {
|
||||
|
||||
use Test::More tests => 4;
|
||||
use File::Spec::Functions ':ALL';
|
||||
-use t::lib::Test;
|
||||
+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() }
|
||||
|
||||
|
||||
#####################################################################
|
||||
diff --git a/t/12_xs.t b/t/12_xs.t
|
||||
index 151b2ed..6a26730 100644
|
||||
--- a/t/12_xs.t
|
||||
+++ b/t/12_xs.t
|
||||
@@ -19,7 +19,7 @@ BEGIN {
|
||||
}
|
||||
}
|
||||
use File::Spec::Functions ':ALL';
|
||||
-use t::lib::Test;
|
||||
+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() }
|
||||
|
||||
|
||||
|
||||
diff --git a/t/13_array_basics.t b/t/13_array_basics.t
|
||||
index 71a3d54..62fb167 100644
|
||||
--- a/t/13_array_basics.t
|
||||
+++ b/t/13_array_basics.t
|
||||
@@ -10,7 +10,7 @@ BEGIN {
|
||||
|
||||
use Test::More tests => 71;
|
||||
use File::Spec::Functions ':ALL';
|
||||
-use t::lib::Test;
|
||||
+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() }
|
||||
|
||||
SCOPE: {
|
||||
# Test file
|
||||
diff --git a/t/14_array_fk.t b/t/14_array_fk.t
|
||||
index fc898b0..842b33c 100644
|
||||
--- a/t/14_array_fk.t
|
||||
+++ b/t/14_array_fk.t
|
||||
@@ -9,7 +9,7 @@ BEGIN {
|
||||
|
||||
use Test::More tests => 5;
|
||||
use File::Spec::Functions ':ALL';
|
||||
-use t::lib::Test;
|
||||
+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() }
|
||||
|
||||
|
||||
|
||||
diff --git a/t/15_array_xs.t b/t/15_array_xs.t
|
||||
index 97402c0..06d5b1b 100644
|
||||
--- a/t/15_array_xs.t
|
||||
+++ b/t/15_array_xs.t
|
||||
@@ -19,7 +19,7 @@ BEGIN {
|
||||
}
|
||||
}
|
||||
use File::Spec::Functions ':ALL';
|
||||
-use t::lib::Test;
|
||||
+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() }
|
||||
|
||||
|
||||
|
||||
diff --git a/t/16_array_create.t b/t/16_array_create.t
|
||||
index 817c72a..3123c0c 100644
|
||||
--- a/t/16_array_create.t
|
||||
+++ b/t/16_array_create.t
|
||||
@@ -11,7 +11,7 @@ BEGIN {
|
||||
|
||||
use Test::More tests => 25;
|
||||
use File::Spec::Functions ':ALL';
|
||||
-use t::lib::Test;
|
||||
+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() }
|
||||
|
||||
|
||||
|
||||
diff --git a/t/17_cache.t b/t/17_cache.t
|
||||
index 5a64066..8472373 100644
|
||||
--- a/t/17_cache.t
|
||||
+++ b/t/17_cache.t
|
||||
@@ -11,7 +11,7 @@ BEGIN {
|
||||
use Test::More tests => 9;
|
||||
use File::Spec::Functions ':ALL';
|
||||
use File::Remove 'clear';
|
||||
-use t::lib::Test;
|
||||
+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() }
|
||||
|
||||
# Where will the cache file be written to
|
||||
my $orlite_version = $t::lib::Test::VERSION;
|
||||
diff --git a/t/18_update.t b/t/18_update.t
|
||||
index 840f9c0..bf3eed6 100644
|
||||
--- a/t/18_update.t
|
||||
+++ b/t/18_update.t
|
||||
@@ -9,7 +9,7 @@ BEGIN {
|
||||
|
||||
use Test::More tests => 10;
|
||||
use File::Spec::Functions ':ALL';
|
||||
-use t::lib::Test;
|
||||
+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() }
|
||||
|
||||
|
||||
|
||||
diff --git a/t/19_view.t b/t/19_view.t
|
||||
index d893b59..120d9e1 100644
|
||||
--- a/t/19_view.t
|
||||
+++ b/t/19_view.t
|
||||
@@ -11,7 +11,7 @@ BEGIN {
|
||||
|
||||
use Test::More tests => 81;
|
||||
use File::Spec::Functions ':ALL';
|
||||
-use t::lib::Test;
|
||||
+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() }
|
||||
|
||||
# Set up again
|
||||
my $file = test_db();
|
||||
diff --git a/t/20_shim.t b/t/20_shim.t
|
||||
index 7f47634..3868225 100644
|
||||
--- a/t/20_shim.t
|
||||
+++ b/t/20_shim.t
|
||||
@@ -9,7 +9,7 @@ BEGIN {
|
||||
|
||||
use Test::More tests => 12;
|
||||
use File::Spec::Functions ':ALL';
|
||||
-use t::lib::Test;
|
||||
+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() }
|
||||
|
||||
|
||||
|
||||
diff --git a/t/21_normalize.t b/t/21_normalize.t
|
||||
index 2a6aa83..f703c64 100644
|
||||
--- a/t/21_normalize.t
|
||||
+++ b/t/21_normalize.t
|
||||
@@ -11,7 +11,7 @@ BEGIN {
|
||||
|
||||
use Test::More tests => 78;
|
||||
use File::Spec::Functions ':ALL';
|
||||
-use t::lib::Test;
|
||||
+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() }
|
||||
|
||||
SCOPE: {
|
||||
# Test file
|
||||
diff --git a/t/22_overlay.t b/t/22_overlay.t
|
||||
index fca2faa..5848d61 100644
|
||||
--- a/t/22_overlay.t
|
||||
+++ b/t/22_overlay.t
|
||||
@@ -9,7 +9,7 @@ BEGIN {
|
||||
|
||||
use Test::More tests => 7;
|
||||
use File::Spec::Functions ':ALL';
|
||||
-use t::lib::Test;
|
||||
+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() }
|
||||
|
||||
|
||||
|
||||
@@ -30,9 +30,11 @@ eval <<"END_PERL"; die $@ if $@;
|
||||
package t::lib;
|
||||
|
||||
use strict;
|
||||
-use ORLite {
|
||||
- file => '$file',
|
||||
-};
|
||||
+BEGIN {
|
||||
+ require ORLite;
|
||||
+ local \@INC=(\@INC, '.');
|
||||
+ ORLite->import({ file => '$file' });
|
||||
+}
|
||||
|
||||
1;
|
||||
END_PERL
|
||||
diff --git a/t/23_unicode.t b/t/23_unicode.t
|
||||
index a63d50f..b2be363 100644
|
||||
--- a/t/23_unicode.t
|
||||
+++ b/t/23_unicode.t
|
||||
@@ -17,7 +17,7 @@ BEGIN {
|
||||
|
||||
use utf8;
|
||||
use File::Spec::Functions ':ALL';
|
||||
-use t::lib::Test;
|
||||
+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() }
|
||||
|
||||
|
||||
|
||||
diff --git a/t/24_rowid.t b/t/24_rowid.t
|
||||
index a5527f5..5104437 100644
|
||||
--- a/t/24_rowid.t
|
||||
+++ b/t/24_rowid.t
|
||||
@@ -11,7 +11,7 @@ BEGIN {
|
||||
|
||||
use Test::More tests => 51;
|
||||
use File::Spec::Functions ':ALL';
|
||||
-use t::lib::Test;
|
||||
+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() }
|
||||
|
||||
# Set up the database
|
||||
my $file = test_db();
|
||||
diff --git a/t/25_blob.t b/t/25_blob.t
|
||||
index 75aa607..b0bdf06 100644
|
||||
--- a/t/25_blob.t
|
||||
+++ b/t/25_blob.t
|
||||
@@ -9,7 +9,7 @@ BEGIN {
|
||||
}
|
||||
use Test::More;
|
||||
use File::Spec::Functions ':ALL';
|
||||
-use t::lib::Test;
|
||||
+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() }
|
||||
|
||||
|
||||
|
||||
--
|
||||
2.13.1
|
||||
|
@ -0,0 +1,18 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit php-pear-r2
|
||||
|
||||
DESCRIPTION="A command-line arguments parser"
|
||||
|
||||
LICENSE="PHP-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}/new-reference-fix.patch"
|
||||
eapply_user
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit php-pear-r1
|
||||
|
||||
DESCRIPTION="A command-line arguments parser"
|
||||
|
||||
LICENSE="PHP-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~sparc ~x86"
|
||||
IUSE=""
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue