Sync with portage [Wed May 31 14:06:12 MSK 2017].

mhiretskiy 889
root 7 years ago
parent b8c5618a6a
commit 3bd3aa9e5b

@ -13,7 +13,7 @@ if [[ "${PV}" == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/gentoo-perl/perl-cleaner.git"
else
SRC_URI="mirror://gentoo/${P}.tar.bz2 https://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.bz2"
KEYWORDS="alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
LICENSE="GPL-2"

@ -1,3 +1 @@
DIST sudo-1.8.18p1.tar.gz 2822109 SHA256 e5a0471c721281a693025bbde33ebd9d3db43245d83ab8516bbfc23980379434 SHA512 8dceeb5024c4f94fcc15e75fa2fd164af5e0597734f95df43207738b3258c4d396e102faf2b6811e399f1cdbdbf617b87e5bfcc1e591ea6722f45d81d1098fe5 WHIRLPOOL 094c1232517706a6da4a0548f7ab5c0c7b9e12f8ce584db97d0c4793a38c4044538637f2834b9f3104326bd5b4b826d08ab79b1dc2c5b950de7d7f558685ef7b
DIST sudo-1.8.19p2.tar.gz 2861855 SHA256 237e18e67c2ad59ecacfa4b7707198b09fcf84914621585a9bc670dcc31a52e0 SHA512 21c83403e7ff219a273b2c4873be0d858997558ca150bc8239379a9dfcc587fdd7c0c49cdf4cdc27dfd6dd45f9f089fa034b58bfcee07dceb4a481542251b3fc WHIRLPOOL 550ed115ea711d6ba9aa698cd988295b74327dd770d79b6852f9f3f00a1c0420bbdcce5cc7c49467e0cf8a57fc79dbcfc73edaf3ad697e06ba9fd48919fece0b
DIST sudo-1.8.20.tar.gz 2930046 SHA256 9e97b8da859c6cc1b5b8c31db93002b750eae16af1bbda9140f8dd85b970e0e0 SHA512 c8cf640cd75fff88cf7c8b3a54a9a16771a9f24129b5c5787657c24336848c31abb8d8b9bafc7bfceb8f0b1f72112e15f9862b8fc337c1072eea05860f417dee WHIRLPOOL f2e409b18bee01780c21b9d97cdf65a34f763b5f9e380116f77b0d5ab3ddf6f46a80210b1c361e585fb2882ae17433817db7782e9b315b14ea1d7b53bfb0ab2a
DIST sudo-1.8.20p1.tar.gz 2930394 SHA256 9e980eb23a60dd11f0f452e672e705d7a386882bc230c6e8483050e03182db1d SHA512 b7d4c07a550da917029e31d15e734d9462f3565ee43eb5f6fd19463b54a2fa3f444381f0999d6d1ba643b65832056dd9177dad4452fa9f87f2542c223b13f258 WHIRLPOOL 7e652f70782d7c5240fa23198d16d94171510d7eb52df56ee667a3da17c26643257d4304c3bfdb94a77831b904ac1c4d4027f2d1140764ddcd130159a3c3a3d3

@ -1,201 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils pam multilib libtool
MY_P=${P/_/}
MY_P=${MY_P/beta/b}
uri_prefix=
case ${P} in
*_beta*|*_rc*) uri_prefix=beta/ ;;
esac
DESCRIPTION="Allows users or groups to run commands as other users"
HOMEPAGE="http://www.sudo.ws/"
SRC_URI="http://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz
ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz"
# Basic license is ISC-style as-is, some files are released under
# 3-clause BSD license
LICENSE="ISC BSD"
SLOT="0"
if [[ ${PV} != *_beta* ]] && [[ ${PV} != *_rc* ]] ; then
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~sparc-solaris"
fi
IUSE="ldap nls pam offensive selinux skey +sendmail"
DEPEND="pam? ( virtual/pam )
skey? ( >=sys-auth/skey-1.1.5-r1 )
ldap? (
>=net-nds/openldap-2.1.30-r1
dev-libs/cyrus-sasl
)
sys-libs/zlib"
RDEPEND="${DEPEND}
selinux? ( sec-policy/selinux-sudo )
ldap? ( dev-lang/perl )
pam? ( sys-auth/pambase )
>=app-misc/editor-wrapper-3
virtual/editor
sendmail? ( virtual/mta )"
DEPEND="${DEPEND}
sys-devel/bison"
S=${WORKDIR}/${MY_P}
REQUIRED_USE="pam? ( !skey ) skey? ( !pam )"
MAKEOPTS+=" SAMPLES="
src_prepare() {
default
elibtoolize
}
set_rootpath() {
# FIXME: secure_path is a compile time setting. using ROOTPATH
# is not perfect, env-update may invalidate this, but until it
# is available as a sudoers setting this will have to do.
einfo "Setting secure_path ..."
# first extract the default ROOTPATH from build env
ROOTPATH=$(unset ROOTPATH; . "${EPREFIX}"/etc/profile.env; echo "${ROOTPATH}")
if [[ -z ${ROOTPATH} ]] ; then
ewarn " Failed to find ROOTPATH, please report this"
fi
# then remove duplicate path entries
cleanpath() {
local newpath thisp IFS=:
for thisp in $1 ; do
if [[ :${newpath}: != *:${thisp}:* ]] ; then
newpath+=:$thisp
else
einfo " Duplicate entry ${thisp} removed..."
fi
done
ROOTPATH=${newpath#:}
}
cleanpath /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin${ROOTPATH:+:${ROOTPATH}}
# finally, strip gcc paths #136027
rmpath() {
local e newpath thisp IFS=:
for thisp in ${ROOTPATH} ; do
for e ; do [[ $thisp == $e ]] && continue 2 ; done
newpath+=:$thisp
done
ROOTPATH=${newpath#:}
}
rmpath '*/gcc-bin/*' '*/gnat-gcc-bin/*' '*/gnat-gcc/*'
einfo "... done"
}
src_configure() {
local ROOTPATH
set_rootpath
# audit: somebody got to explain me how I can test this before I
# enable it.. - Diego
# plugindir: autoconf code is crappy and does not delay evaluation
# until `make` time, so we have to use a full path here rather than
# basing off other values.
econf \
--enable-zlib=system \
--with-secure-path="${ROOTPATH}" \
--with-editor="${EPREFIX}"/usr/libexec/editor \
--with-env-editor \
$(use_with offensive insults) \
$(use_with offensive all-insults) \
$(use_with ldap ldap_conf_file /etc/ldap.conf.sudo) \
$(use_with ldap) \
$(use_enable nls) \
$(use_with pam) \
$(use_with skey) \
$(use_with selinux) \
$(use_with sendmail) \
--without-opie \
--without-linux-audit \
--with-rundir="${EPREFIX}"/var/run/sudo \
--with-vardir="${EPREFIX}"/var/db/sudo \
--with-plugindir="${EPREFIX}"/usr/$(get_libdir)/sudo \
--docdir="${EPREFIX}"/usr/share/doc/${PF}
}
src_install() {
default
if use ldap ; then
dodoc README.LDAP
dosbin plugins/sudoers/sudoers2ldif
cat <<-EOF > "${T}"/ldap.conf.sudo
# See ldap.conf(5) and README.LDAP for details
# This file should only be readable by root
# supported directives: host, port, ssl, ldap_version
# uri, binddn, bindpw, sudoers_base, sudoers_debug
# tls_{checkpeer,cacertfile,cacertdir,randfile,ciphers,cert,key}
EOF
insinto /etc
doins "${T}"/ldap.conf.sudo
fperms 0440 /etc/ldap.conf.sudo
insinto /etc/openldap/schema
newins doc/schema.OpenLDAP sudo.schema
fi
pamd_mimic system-auth sudo auth account session
keepdir /var/db/sudo
fperms 0700 /var/db/sudo
# Don't install into /var/run as that is a tmpfs most of the time
# (bug #504854)
rm -rf "${D}"/var/run
}
pkg_postinst() {
if use ldap ; then
ewarn
ewarn "sudo uses the /etc/ldap.conf.sudo file for ldap configuration."
ewarn
if grep -qs '^[[:space:]]*sudoers:' "${ROOT}"/etc/nsswitch.conf ; then
ewarn "In 1.7 series, LDAP is no more consulted, unless explicitly"
ewarn "configured in /etc/nsswitch.conf."
ewarn
ewarn "To make use of LDAP, add this line to your /etc/nsswitch.conf:"
ewarn " sudoers: ldap files"
ewarn
fi
fi
if use prefix ; then
ewarn
ewarn "To use sudo, you need to change file ownership and permissions"
ewarn "with root privileges, as follows:"
ewarn
ewarn " # chown root:root ${EPREFIX}/usr/bin/sudo"
ewarn " # chown root:root ${EPREFIX}/usr/lib/sudo/sudoers.so"
ewarn " # chown root:root ${EPREFIX}/etc/sudoers"
ewarn " # chown root:root ${EPREFIX}/etc/sudoers.d"
ewarn " # chown root:root ${EPREFIX}/var/db/sudo"
ewarn " # chmod 4111 ${EPREFIX}/usr/bin/sudo"
ewarn
fi
elog "To use the -A (askpass) option, you need to install a compatible"
elog "password program from the following list. Starred packages will"
elog "automatically register for the use with sudo (but will not force"
elog "the -A option):"
elog ""
elog " [*] net-misc/ssh-askpass-fullscreen"
elog " net-misc/x11-ssh-askpass"
elog ""
elog "You can override the choice by setting the SUDO_ASKPASS environmnent"
elog "variable to the program you want to use."
}

@ -1,201 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils pam multilib libtool
MY_P=${P/_/}
MY_P=${MY_P/beta/b}
uri_prefix=
case ${P} in
*_beta*|*_rc*) uri_prefix=beta/ ;;
esac
DESCRIPTION="Allows users or groups to run commands as other users"
HOMEPAGE="http://www.sudo.ws/"
SRC_URI="http://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz
ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz"
# Basic license is ISC-style as-is, some files are released under
# 3-clause BSD license
LICENSE="ISC BSD"
SLOT="0"
if [[ ${PV} != *_beta* ]] && [[ ${PV} != *_rc* ]] ; then
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~sparc-solaris"
fi
IUSE="ldap nls pam offensive selinux skey +sendmail"
DEPEND="pam? ( virtual/pam )
skey? ( >=sys-auth/skey-1.1.5-r1 )
ldap? (
>=net-nds/openldap-2.1.30-r1
dev-libs/cyrus-sasl
)
sys-libs/zlib"
RDEPEND="${DEPEND}
selinux? ( sec-policy/selinux-sudo )
ldap? ( dev-lang/perl )
pam? ( sys-auth/pambase )
>=app-misc/editor-wrapper-3
virtual/editor
sendmail? ( virtual/mta )"
DEPEND="${DEPEND}
sys-devel/bison"
S=${WORKDIR}/${MY_P}
REQUIRED_USE="pam? ( !skey ) skey? ( !pam )"
MAKEOPTS+=" SAMPLES="
src_prepare() {
default
elibtoolize
}
set_rootpath() {
# FIXME: secure_path is a compile time setting. using ROOTPATH
# is not perfect, env-update may invalidate this, but until it
# is available as a sudoers setting this will have to do.
einfo "Setting secure_path ..."
# first extract the default ROOTPATH from build env
ROOTPATH=$(unset ROOTPATH; . "${EPREFIX}"/etc/profile.env; echo "${ROOTPATH}")
if [[ -z ${ROOTPATH} ]] ; then
ewarn " Failed to find ROOTPATH, please report this"
fi
# then remove duplicate path entries
cleanpath() {
local newpath thisp IFS=:
for thisp in $1 ; do
if [[ :${newpath}: != *:${thisp}:* ]] ; then
newpath+=:$thisp
else
einfo " Duplicate entry ${thisp} removed..."
fi
done
ROOTPATH=${newpath#:}
}
cleanpath /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin${ROOTPATH:+:${ROOTPATH}}
# finally, strip gcc paths #136027
rmpath() {
local e newpath thisp IFS=:
for thisp in ${ROOTPATH} ; do
for e ; do [[ $thisp == $e ]] && continue 2 ; done
newpath+=:$thisp
done
ROOTPATH=${newpath#:}
}
rmpath '*/gcc-bin/*' '*/gnat-gcc-bin/*' '*/gnat-gcc/*'
einfo "... done"
}
src_configure() {
local ROOTPATH
set_rootpath
# audit: somebody got to explain me how I can test this before I
# enable it.. - Diego
# plugindir: autoconf code is crappy and does not delay evaluation
# until `make` time, so we have to use a full path here rather than
# basing off other values.
econf \
--enable-zlib=system \
--with-secure-path="${ROOTPATH}" \
--with-editor="${EPREFIX}"/usr/libexec/editor \
--with-env-editor \
$(use_with offensive insults) \
$(use_with offensive all-insults) \
$(use_with ldap ldap_conf_file /etc/ldap.conf.sudo) \
$(use_with ldap) \
$(use_enable nls) \
$(use_with pam) \
$(use_with skey) \
$(use_with selinux) \
$(use_with sendmail) \
--without-opie \
--without-linux-audit \
--with-rundir="${EPREFIX}"/var/run/sudo \
--with-vardir="${EPREFIX}"/var/db/sudo \
--with-plugindir="${EPREFIX}"/usr/$(get_libdir)/sudo \
--docdir="${EPREFIX}"/usr/share/doc/${PF}
}
src_install() {
default
if use ldap ; then
dodoc README.LDAP
dosbin plugins/sudoers/sudoers2ldif
cat <<-EOF > "${T}"/ldap.conf.sudo
# See ldap.conf(5) and README.LDAP for details
# This file should only be readable by root
# supported directives: host, port, ssl, ldap_version
# uri, binddn, bindpw, sudoers_base, sudoers_debug
# tls_{checkpeer,cacertfile,cacertdir,randfile,ciphers,cert,key}
EOF
insinto /etc
doins "${T}"/ldap.conf.sudo
fperms 0440 /etc/ldap.conf.sudo
insinto /etc/openldap/schema
newins doc/schema.OpenLDAP sudo.schema
fi
pamd_mimic system-auth sudo auth account session
keepdir /var/db/sudo
fperms 0700 /var/db/sudo
# Don't install into /var/run as that is a tmpfs most of the time
# (bug #504854)
rm -rf "${D}"/var/run
}
pkg_postinst() {
if use ldap ; then
ewarn
ewarn "sudo uses the /etc/ldap.conf.sudo file for ldap configuration."
ewarn
if grep -qs '^[[:space:]]*sudoers:' "${ROOT}"/etc/nsswitch.conf ; then
ewarn "In 1.7 series, LDAP is no more consulted, unless explicitly"
ewarn "configured in /etc/nsswitch.conf."
ewarn
ewarn "To make use of LDAP, add this line to your /etc/nsswitch.conf:"
ewarn " sudoers: ldap files"
ewarn
fi
fi
if use prefix ; then
ewarn
ewarn "To use sudo, you need to change file ownership and permissions"
ewarn "with root privileges, as follows:"
ewarn
ewarn " # chown root:root ${EPREFIX}/usr/bin/sudo"
ewarn " # chown root:root ${EPREFIX}/usr/lib/sudo/sudoers.so"
ewarn " # chown root:root ${EPREFIX}/etc/sudoers"
ewarn " # chown root:root ${EPREFIX}/etc/sudoers.d"
ewarn " # chown root:root ${EPREFIX}/var/db/sudo"
ewarn " # chmod 4111 ${EPREFIX}/usr/bin/sudo"
ewarn
fi
elog "To use the -A (askpass) option, you need to install a compatible"
elog "password program from the following list. Starred packages will"
elog "automatically register for the use with sudo (but will not force"
elog "the -A option):"
elog ""
elog " [*] net-misc/ssh-askpass-fullscreen"
elog " net-misc/x11-ssh-askpass"
elog ""
elog "You can override the choice by setting the SUDO_ASKPASS environmnent"
elog "variable to the program you want to use."
}

@ -23,7 +23,7 @@ SRC_URI="http://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz
LICENSE="ISC BSD"
SLOT="0"
if [[ ${PV} != *_beta* ]] && [[ ${PV} != *_rc* ]] ; then
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~sparc-solaris"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~sparc-solaris"
fi
IUSE="gcrypt ldap nls pam offensive openssl selinux skey +sendmail"

@ -11,7 +11,7 @@ SRC_URI="https://github.com/grke/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 ~x86"
IUSE="acl ipv6 libressl test xattr"
CDEPEND="dev-libs/uthash

@ -1,2 +1,3 @@
DIST restic-0.4.0.tar.gz 22926188 SHA256 746dbc7b73f5a542be57b71714b243266a011f1d750f56f5100c08a59df1aeac SHA512 ccd15f010f8da3bae3d33698e70ff1d9565f52fb56991b78d35f95493417a4ab050021153d81c424947233255d9553d050f7a66e1c709843fe3b2d323a81f85b WHIRLPOOL 94e6b9ed777a86cb6e46cf734b9280e68cc2ce1ea061c8a94409dca594add1ec24fb736a56e35571302ff5043a60bef7f60ff3b39b038ee128bc815f7d3d48cd
DIST restic-0.5.0.tar.gz 22937327 SHA256 a8e99087478a076b8a9c7c74d37cd23a56224d8c9b242c171756784ade024fda SHA512 571e4b0aa92a6cd9320f48c46a4b2190576d9328169d54762747dfa024ab280fb41ee377b59f0114d89ebd50bc54488a8cb5e2b36c57959202e848394107bb3c WHIRLPOOL 19fef25a6e2dff3145a6700abb581e7cae3abe5522ee0197f56a572d499824e84ba25a3111c5e71856ffac18d75622766c74c585a44b6db489468050e1c8d59a
DIST restic-0.6.0.tar.gz 25230508 SHA256 3876532e2a95a889713dcc6119fc86fa619b884dd27555951595b7d12ee56b12 SHA512 de77beeaf5dd1a10033ffdfd8754426c650f990722085622d1db7c5fd033806899dfde2557b7d4257e2894eaaaae1923dd18439d61bcca4e4e479812ff2543ea WHIRLPOOL 81c1d6c6d12de622ec53d57d9a26014f78f08c5c2bdb2982f6bfd8ead2bfd2faf4f38534426faea10a3b37bf9d37277f6a42edb02cd659e13ac5b70d03c5d8c4

@ -0,0 +1,43 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="restic is a backup program that is fast, efficient and secure"
HOMEPAGE="https://restic.github.io/"
SRC_URI="https://github.com/restic/restic/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
DOCS=( README.rst CONTRIBUTING.md doc/design.rst doc/faq.rst doc/index.rst doc/manual.rst
doc/rest_backend.rst doc/development.rst doc/talks.rst doc/tutorial_aws_s3.rst doc/installation.rst )
DEPEND="dev-lang/go
test? ( sys-fs/fuse )"
RDEPEND="sys-fs/fuse"
src_compile() {
local mygoargs=(
-v
-work
-x
-tags release
-ldflags "-w -X main.version=${PV}"
-o "${S}"/restic cmds/restic
)
GOPATH="${S}:${S}/vendor" go build "${mygoargs[@]}" || die
}
src_test() {
GOPATH="${S}:${S}/vendor" go test -v -work -x restic/... cmds/... || die
}
src_install() {
dobin restic
einstalldocs
}

@ -0,0 +1,76 @@
Author: Andreas Beckmann <anbe@debian.org>
Description: fix insecure temfile usage: /tmp/cpufreq.txt
switch from system() + fopen() to popen()
disable other insecure tempfiles that may be generated but not used
Bug-Debian: http://bugs.debian.org/718418
diff --git a/GUI/i7z_GUI.cpp b/GUI/i7z_GUI.cpp
index 2705e84..60eaeb2 100644
--- a/GUI/i7z_GUI.cpp
+++ b/GUI/i7z_GUI.cpp
@@ -171,18 +171,17 @@ MyThread::run ()
//CPUINFO is wrong for i7 but correct for the number of physical and logical cores present
//If Hyperthreading is enabled then, multiple logical processors will share a common CORE ID
//http://www.redhat.com/magazine/022aug06/departments/tips_tricks/
- system ("cat /proc/cpuinfo |grep MHz|sed 's/cpu\\sMHz\\s*:\\s//'|tail -n 1 > /tmp/cpufreq.txt");
- system ("grep \"core id\" /proc/cpuinfo |sort -|uniq -|wc -l > /tmp/numPhysical.txt");
- system ("grep \"processor\" /proc/cpuinfo |sort -|uniq -|wc -l > /tmp/numLogical.txt");
+ //system ("grep \"core id\" /proc/cpuinfo |sort -|uniq -|wc -l > /tmp/numPhysical.txt");
+ //system ("grep \"processor\" /proc/cpuinfo |sort -|uniq -|wc -l > /tmp/numLogical.txt");
- //Open the parsed cpufreq file and obtain the cpufreq from /proc/cpuinfo
+ // obtain the cpufreq from /proc/cpuinfo
FILE *tmp_file;
- tmp_file = fopen ("/tmp/cpufreq.txt", "r");
+ tmp_file = popen ("sed -n '/MHz/ { s/cpu\\sMHz\\s*:\\s//p; q }' /proc/cpuinfo", "r");
char tmp_str[30];
fgets (tmp_str, 30, tmp_file);
+ pclose (tmp_file);
double cpu_freq_cpuinfo = atof (tmp_str);
- fclose (tmp_file);
unsigned int numPhysicalCores, numLogicalCores;
numPhysicalCores = socket_0.num_physical_cores + socket_1.num_physical_cores;
diff --git a/helper_functions.c b/helper_functions.c
index 2f8da87..906c298 100644
--- a/helper_functions.c
+++ b/helper_functions.c
@@ -531,16 +531,13 @@ double cpufreq_info()
//CPUINFO is wrong for i7 but correct for the number of physical and logical cores present
//If Hyperthreading is enabled then, multiple logical processors will share a common CORE ID
//http://www.redhat.com/magazine/022aug06/departments/tips_tricks/
- system
- ("cat /proc/cpuinfo |grep MHz|sed 's/cpu\\sMHz\\s*:\\s//'|tail -n 1 > /tmp/cpufreq.txt");
-
- //Open the parsed cpufreq file and obtain the cpufreq from /proc/cpuinfo
+ // obtain the cpufreq from /proc/cpuinfo
FILE *tmp_file;
- tmp_file = fopen ("/tmp/cpufreq.txt", "r");
+ tmp_file = popen ("sed -n '/MHz/ { s/cpu\\sMHz\\s*:\\s//p; q }' /proc/cpuinfo", "r");
char tmp_str[30];
fgets (tmp_str, 30, tmp_file);
- fclose (tmp_file);
+ pclose (tmp_file);
return atof(tmp_str);
}
diff --git a/i7z_Single_Socket.c b/i7z_Single_Socket.c
index 015f154..d0afee0 100644
--- a/i7z_Single_Socket.c
+++ b/i7z_Single_Socket.c
@@ -823,10 +823,13 @@ void print_i7z_single ()
//CPUINFO is wrong for i7 but correct for the number of physical and logical cores present
//If Hyperthreading is enabled then, multiple logical processors will share a common CORE ID
//http://www.redhat.com/magazine/022aug06/departments/tips_tricks/
+ERROR INSECURE TMPFILE
system
("cat /proc/cpuinfo |grep MHz|sed 's/cpu\\sMHz\\s*:\\s//'|tail -n 1 > /tmp/cpufreq.txt");
+ERROR INSECURE TMPFILE
system
("grep \"core id\" /proc/cpuinfo |sort -|uniq -|wc -l > /tmp/numPhysical.txt");
+ERROR INSECURE TMPFILE
system
("grep \"processor\" /proc/cpuinfo |sort -|uniq -|wc -l > /tmp/numLogical.txt");
//At this step, /tmp/numPhysical contains number of physical cores in machine and

@ -0,0 +1,21 @@
Author: Andreas Beckmann <anbe@debian.org>
Description: fix cpuid inline assembly
the old code zeroed the upper half of %rbx
--- a/helper_functions.c
+++ b/helper_functions.c
@@ -101,13 +101,7 @@ static inline void cpuid (unsigned int i
unsigned int *ecx, unsigned int *edx)
{
unsigned int _eax = info, _ebx, _ecx, _edx;
- asm volatile ("mov %%ebx, %%edi;" // save ebx (for PIC)
- "cpuid;"
- "mov %%ebx, %%esi;" // pass to caller
- "mov %%edi, %%ebx;" // restore ebx
- :"+a" (_eax), "=S" (_ebx), "=c" (_ecx), "=d" (_edx)
- : /* inputs: eax is handled above */
- :"edi" /* clobbers: we hit edi directly */);
+ asm volatile ("cpuid\n\t" : "+a" (_eax), "=b" (_ebx), "=c" (_ecx), "=d" (_edx) : : );
if (eax) *eax = _eax;
if (ebx) *ebx = _ebx;
if (ecx) *ecx = _ecx;

@ -0,0 +1,26 @@
Author: Andreas Beckmann <anbe@debian.org>
Description: fix hyphen abuse
--- a/doc/i7z.man
+++ b/doc/i7z.man
@@ -7,15 +7,15 @@
i7z runs the i7z, ncurses based, program without any options. i7z will print out the C-states and temperature for i3, i5 and i7 based Core processors from Intel (including Nehalems, Sandy Bridge and Ivy Bridge).
.SH OPTIONS
.TP
-\fB-h, --help \fPshow the list of options available with the i7z tool.
+\fB\-h, \-\-help \fPshow the list of options available with the i7z tool.
.TP
-\fB-w [a|l], --write [a,l] \fPLogging of the frequencies can be turned on with this options. Option "-w a" or "--write a" will append to the log file. Option "-w l" or "--write l" will replace the log file.
+\fB\-w [a|l], \-\-write [a,l] \fPLogging of the frequencies can be turned on with this options. Option "\-w a" or "\-\-write a" will append to the log file. Option "\-w l" or "\-\-write l" will replace the log file.
.TP
-\fB-l, --logfile [FILENAME] \fPChange the log file name to the specified FILENAME. Default logging file is cpu_freq_log.txt (single socket) or cpu_freq_log_dual%d.txt (dual socket, %d is either 0, 1).
+\fB\-l, \-\-logfile [FILENAME] \fPChange the log file name to the specified FILENAME. Default logging file is cpu_freq_log.txt (single socket) or cpu_freq_log_dual%d.txt (dual socket, %d is either 0, 1).
.TP
-\fB--socket0 [SOCKETNUM], --socket1 [SOCKETNUM] \fPThe tool can print information for about 2 sockets at once at the most. The top view will be, by default, of the first socket (controlled by --socket0) and the bottom view will be of the second socket (controlled by --socket1). Supply the appropriate value of 0 or 1 or more for SOCKETNUM (if there are more sockets on the machine) to show in the top and bottom view.
+\fB\-\-socket0 [SOCKETNUM], \-\-socket1 [SOCKETNUM] \fPThe tool can print information for about 2 sockets at once at the most. The top view will be, by default, of the first socket (controlled by \-\-socket0) and the bottom view will be of the second socket (controlled by \-\-socket1). Supply the appropriate value of 0 or 1 or more for SOCKETNUM (if there are more sockets on the machine) to show in the top and bottom view.
.TP
-\fB--nogui \fPDisable the GUI. Useful when the only need is logging.
+\fB\-\-nogui \fPDisable the GUI. Useful when the only need is logging.
.SH Example
To print for two sockets and also change the log file (log to /tmp/logfilei7z)

@ -0,0 +1,26 @@
Author: Andreas Beckmann <anbe@debian.org>
Description: install the i7z_rw_registers script and fix the hashbang
--- a/i7z_rw_registers.rb
+++ b/i7z_rw_registers.rb
@@ -1,3 +1,5 @@
+#!/usr/bin/ruby
+
#* ----------------------------------------------------------------------- *
# *
# * Under GPL v3
@@ -7,7 +9,6 @@
# *
# * ----------------------------------------------------------------------- */
-#!/usr/bin/ruby
def print_command_list()
print "Do you need help? \n"
--- a/Makefile
+++ b/Makefile
@@ -61,3 +61,4 @@
install -D -m 755 $(BIN) $(DESTDIR)$(sbindir)$(BIN)
install -d $(DESTDIR)$(docdir)
install -m 0644 README.txt put_cores_offline.sh put_cores_online.sh MAKEDEV-cpuid-msr $(DESTDIR)$(docdir)
+ install -m 0755 i7z_rw_registers.rb $(DESTDIR)$(sbindir)/i7z_rw_registers

@ -0,0 +1,40 @@
Author: Andreas Beckmann <anbe@debian.org>
Description: use a consistent bool type
Bug-Debian: #749724
--- a/i7z.h
+++ b/i7z.h
@@ -11,18 +11,13 @@
* ----------------------------------------------------------------------- */
#include <sys/time.h>
+#include <stdbool.h>
#define i7z_VERSION_INFO "svn-r93-(27-MAY-2013)"
//structure to store the information about the processor
#define proccpuinfo "/proc/cpuinfo"
-#ifndef bool
-#define bool int
-#endif
-#define false 0
-#define true 1
-
#define MAX_PROCESSORS 128
#define MAX_HI_PROCESSORS MAX_PROCESSORS
#define MAX_SK_PROCESSORS (MAX_PROCESSORS/4)
--- a/cpuinfo.c
+++ b/cpuinfo.c
@@ -2,10 +2,8 @@
#include "string.h"
#include "stdlib.h"
#include "assert.h"
+#include <stdbool.h>
#define MAX_PROCESSORS 32
-#define bool int
-#define false 0
-#define true 1
#define MAX_HI_PROCESSORS MAX_PROCESSORS

@ -0,0 +1,69 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit flag-o-matic qmake-utils toolchain-funcs
COMMIT="5023138d7c35c4667c938b853e5ea89737334e92"
DESCRIPTION="A better i7 (and now i3, i5) reporting tool for Linux"
HOMEPAGE="https://github.com/ajaiantilal/i7z"
SRC_URI="https://github.com/ajaiantilal/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="qt5"
RDEPEND="
sys-libs/ncurses:0=
qt5? (
dev-qt/qtcore:5=
dev-qt/qtgui:5=
dev-qt/qtwidgets:5=
)
"
DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}"/i7z-0.27.2-ncurses.patch
"${FILESDIR}"/qt5.patch
"${FILESDIR}"/gcc5.patch
# From Debian
"${FILESDIR}"/fix-insecure-tempfile.patch
"${FILESDIR}"/fix_cpuid_asm.patch
"${FILESDIR}"/hyphen-used-as-minus-sign.patch
"${FILESDIR}"/install-i7z_rw_registers.patch
"${FILESDIR}"/use_stdbool.patch
)
S="${WORKDIR}/${PN}-${COMMIT}"
src_configure() {
# The GUI segfaults with -O1. None of the documented flags make a
# difference. There may not be a specific flag for the culprit.
# Looks to work fine for me with -O2 (pacho - 20170530)
# filter-flags "-O*"
tc-export CC
cd GUI || die
use qt5 && eqmake5 ${PN}_GUI.pro
}
src_compile() {
default
if use qt5; then
emake -C GUI clean
emake -C GUI
fi
}
src_install() {
emake DESTDIR="${ED}" docdir=/usr/share/doc/${PF} install
if use qt5; then
dosbin GUI/i7z_GUI
fi
}

@ -11,7 +11,7 @@ HOMEPAGE="https://github.com/ajaiantilal/i7z"
SRC_URI="https://github.com/ajaiantilal/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="qt4 qt5"
RDEPEND="sys-libs/ncurses:0=

@ -2,7 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>chewi@gentoo.org</email>
<email>pacho@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">ajaiantilal/i7z</remote-id>

@ -1 +1 @@
DIST v0.9.2.tar.gz 1373465 SHA256 e3d54de00ebdce3754f97f7e0e7cce8cebb588e8ce6bc249401cc909281b08de SHA512 9d4808172ee1be82509956560e4d3f9ee349fedd920342146083cc9bc79ef51fc95937c64f20ffb13e2849c577f95f59b5b65271d6e29e2d2e1ec2d1562006ba WHIRLPOOL ddefe4c3265b10940c3d65a5f6182ecfce627bcc45486d7a2b8701a6152b8a144242ea55018437f71773f7b8bb70b763095b5db6f933fdacd7b16b1f22112b87
DIST aqemu-0.9.2.tar.gz 1373465 SHA256 e3d54de00ebdce3754f97f7e0e7cce8cebb588e8ce6bc249401cc909281b08de SHA512 9d4808172ee1be82509956560e4d3f9ee349fedd920342146083cc9bc79ef51fc95937c64f20ffb13e2849c577f95f59b5b65271d6e29e2d2e1ec2d1562006ba WHIRLPOOL ddefe4c3265b10940c3d65a5f6182ecfce627bcc45486d7a2b8701a6152b8a144242ea55018437f71773f7b8bb70b763095b5db6f933fdacd7b16b1f22112b87

@ -7,7 +7,7 @@ inherit cmake-utils
DESCRIPTION="Graphical interface for QEMU and KVM emulators, using Qt5"
HOMEPAGE="https://sourceforge.net/projects/aqemu"
SRC_URI="https://github.com/tobimensch/${PN}/archive/v${PV}.tar.gz"
SRC_URI="https://github.com/tobimensch/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"

@ -1 +1 @@
DIST v1.0.0.tar.gz 9814 SHA256 fb7fdf681d06d96e85b2e532809503d1d3efcdde6af005c2cef894c76c769c73 SHA512 7356ec1f88befb5369b9fef08b77144f945c69c2ee79861887647fa0d23400f7ebfe8fc1ef6d62d59cab57a5eecb71e5fcc19cda27f89a468f6ca840100d8685 WHIRLPOOL e912886b6598292e358bf1040bed791e32ce0289773539fa7d87d6d9bae6696fd962d0c5536fb30dc6dda23bf092b19efc906ede34c1f09b5e835f97f6b2f0a6
DIST eselect-electron-1.0.0.tar.gz 9814 SHA256 fb7fdf681d06d96e85b2e532809503d1d3efcdde6af005c2cef894c76c769c73 SHA512 7356ec1f88befb5369b9fef08b77144f945c69c2ee79861887647fa0d23400f7ebfe8fc1ef6d62d59cab57a5eecb71e5fcc19cda27f89a468f6ca840100d8685 WHIRLPOOL e912886b6598292e358bf1040bed791e32ce0289773539fa7d87d6d9bae6696fd962d0c5536fb30dc6dda23bf092b19efc906ede34c1f09b5e835f97f6b2f0a6

@ -5,7 +5,7 @@ EAPI="5"
DESCRIPTION="Utility to select the default Electron slot"
HOMEPAGE="https://www.gentoo.org/"
SRC_URI="https://github.com/elprans/${PN}/archive/v${PV}.tar.gz"
SRC_URI="https://github.com/elprans/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"

@ -1,2 +1,2 @@
DIST nvidiabl-0.83.tar.gz 448594 SHA256 0ea79770c02ae297fb6d660ee28ecf7a7acc346de0a55e3231ce499d4184db0f SHA512 cbf4f042acb9005c25d8d008973220f4d42fe890bfd86a34b72c0e56129dfcdcad2383acacf048e5e9da33aaf759053cdadeddac9e0946ae49a8a29ed03447dd WHIRLPOOL 4d1e13ffe1bed36ffee1c498c6384a9ff3fcc561e3aa443c15106baa9711523b8798f0283e42d6365afa57f8d7b4a394835bbea2eb8c6d41a8910c38d661012b
DIST nvidiabl-0.87.tar.gz 36563463 SHA256 a5a035520cce17ef1b6b2f98eb6ad10ef7d4d3e55dd2f12b6b961fabc05c5e35 SHA512 778f8b9e7d6d8e9ecbeef745bf3602e56b38757791d7b49ebf3326758117487f7494e232aaa9354b91fd17ee3578c80278e0e60175b274b1a1a93e952dc0dfe5 WHIRLPOOL 3ebca47463ccc1059a3d7dd109479ee9c9bce4332da8ac25aaf14fd8630b72b6620e8941a69fd7e2e734739f894362efff75ace05692a3c402a8981601dd3c36
DIST v0.83.tar.gz 448594 SHA256 0ea79770c02ae297fb6d660ee28ecf7a7acc346de0a55e3231ce499d4184db0f SHA512 cbf4f042acb9005c25d8d008973220f4d42fe890bfd86a34b72c0e56129dfcdcad2383acacf048e5e9da33aaf759053cdadeddac9e0946ae49a8a29ed03447dd WHIRLPOOL 4d1e13ffe1bed36ffee1c498c6384a9ff3fcc561e3aa443c15106baa9711523b8798f0283e42d6365afa57f8d7b4a394835bbea2eb8c6d41a8910c38d661012b

@ -7,7 +7,7 @@ inherit linux-mod
DESCRIPTION="Linux driver for setting the backlight brightness on laptops using
NVIDIA GPU"
HOMEPAGE="https://github.com/guillaumezin/nvidiabl"
SRC_URI="https://github.com/guillaumezin/${PN}/archive/v${PV}.tar.gz"
SRC_URI="https://github.com/guillaumezin/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"

@ -0,0 +1,57 @@
From 5c9b08a875b07853be6c44e43ff5f7f059df666a Mon Sep 17 00:00:00 2001
From: Albert Astals Cid <aacid@kde.org>
Date: Sat, 27 May 2017 00:09:17 +0200
Subject: pdfunite: Fix crash with broken documents
Sometimes we can't parse pages so check before accessing them
Thanks to Jiaqi Peng for the report
Fixes bugs #101153 and #101149
diff --git a/utils/pdfunite.cc b/utils/pdfunite.cc
index dfe48bf..c32e201 100644
--- a/utils/pdfunite.cc
+++ b/utils/pdfunite.cc
@@ -7,7 +7,7 @@
// Copyright (C) 2011-2015, 2017 Thomas Freitag <Thomas.Freitag@alfa.de>
// Copyright (C) 2012 Arseny Solokha <asolokha@gmx.com>
// Copyright (C) 2012 Fabio D'Urso <fabiodurso@hotmail.it>
-// Copyright (C) 2012, 2014 Albert Astals Cid <aacid@kde.org>
+// Copyright (C) 2012, 2014, 2017 Albert Astals Cid <aacid@kde.org>
// Copyright (C) 2013 Adrian Johnson <ajohnson@redneon.com>
// Copyright (C) 2013 Hib Eris <hib@hiberis.nl>
// Copyright (C) 2015 Arthur Stavisky <vovodroid@gmail.com>
@@ -268,15 +268,15 @@ int main (int argc, char *argv[])
catDict->lookup("OutputIntents", &intents);
catDict->lookupNF("AcroForm", &afObj);
Ref *refPage = docs[0]->getCatalog()->getPageRef(1);
- if (!afObj.isNull()) {
+ if (!afObj.isNull() && refPage) {
docs[0]->markAcroForm(&afObj, yRef, countRef, 0, refPage->num, refPage->num);
}
catDict->lookupNF("OCProperties", &ocObj);
- if (!ocObj.isNull() && ocObj.isDict()) {
+ if (!ocObj.isNull() && ocObj.isDict() && refPage) {
docs[0]->markPageObjects(ocObj.getDict(), yRef, countRef, 0, refPage->num, refPage->num);
}
catDict->lookup("Names", &names);
- if (!names.isNull() && names.isDict()) {
+ if (!names.isNull() && names.isDict() && refPage) {
docs[0]->markPageObjects(names.getDict(), yRef, countRef, 0, refPage->num, refPage->num);
}
if (intents.isArray() && intents.arrayGetLength() > 0) {
@@ -353,6 +353,10 @@ int main (int argc, char *argv[])
for (i = 0; i < (int) docs.size(); i++) {
for (j = 1; j <= docs[i]->getNumPages(); j++) {
+ if (!docs[i]->getCatalog()->getPage(j)) {
+ continue;
+ }
+
PDFRectangle *cropBox = NULL;
if (docs[i]->getCatalog()->getPage(j)->isCropped())
cropBox = docs[i]->getCatalog()->getPage(j)->getCropBox();
--
cgit v0.10.2

@ -0,0 +1,137 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils toolchain-funcs xdg-utils
if [[ "${PV}" == "9999" ]] ; then
inherit git-r3
EGIT_REPO_URI="git://git.freedesktop.org/git/${PN}/${PN}"
SLOT="0/9999"
else
SRC_URI="https://poppler.freedesktop.org/${P}.tar.xz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
SLOT="0/67" # CHECK THIS WHEN BUMPING!!! SUBSLOT IS libpoppler.so SOVERSION
fi
DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base"
HOMEPAGE="https://poppler.freedesktop.org/"
LICENSE="GPL-2"
IUSE="cairo cjk curl cxx debug doc +introspection +jpeg +jpeg2k +lcms nss png qt4 qt5 tiff +utils"
# No test data provided
RESTRICT="test"
COMMON_DEPEND="
>=media-libs/fontconfig-2.6.0
>=media-libs/freetype-2.3.9
sys-libs/zlib
cairo? (
dev-libs/glib:2
>=x11-libs/cairo-1.10.0
introspection? ( >=dev-libs/gobject-introspection-1.32.1:= )
)
curl? ( net-misc/curl )
jpeg? ( virtual/jpeg:0 )
jpeg2k? ( media-libs/openjpeg:2= )
lcms? ( media-libs/lcms:2 )
nss? ( >=dev-libs/nss-3.19:0 )
png? ( media-libs/libpng:0= )
qt4? (
dev-qt/qtcore:4
dev-qt/qtgui:4
)
qt5? (
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtxml:5
)
tiff? ( media-libs/tiff:0 )
"
DEPEND="${COMMON_DEPEND}
virtual/pkgconfig
"
RDEPEND="${COMMON_DEPEND}
cjk? ( >=app-text/poppler-data-0.4.7 )
"
DOCS=(AUTHORS NEWS README README-XPDF TODO)
PATCHES=(
"${FILESDIR}/${PN}-0.26.0-qt5-dependencies.patch"
"${FILESDIR}/${PN}-0.28.1-fix-multilib-configuration.patch"
"${FILESDIR}/${PN}-0.53.0-respect-cflags.patch"
"${FILESDIR}/${PN}-0.33.0-openjpeg2.patch"
"${FILESDIR}/${PN}-0.40-FindQt4.patch"
"${FILESDIR}/${PN}-0.55.0-CVE-2017-7511.patch"
)
src_prepare() {
cmake-utils_src_prepare
# Clang doesn't grok this flag, the configure nicely tests that, but
# cmake just uses it, so remove it if we use clang
if [[ ${CC} == clang ]] ; then
sed -i -e 's/-fno-check-new//' cmake/modules/PopplerMacros.cmake || die
fi
if ! grep -Fq 'cmake_policy(SET CMP0002 OLD)' CMakeLists.txt ; then
sed '/^cmake_minimum_required/acmake_policy(SET CMP0002 OLD)' \
-i CMakeLists.txt || die
else
einfo "policy(SET CMP0002 OLD) - workaround can be removed"
fi
}
src_configure() {
xdg_environment_reset
local mycmakeargs=(
-DBUILD_GTK_TESTS=OFF
-DBUILD_QT4_TESTS=OFF
-DBUILD_QT5_TESTS=OFF
-DBUILD_CPP_TESTS=OFF
-DENABLE_SPLASH=ON
-DENABLE_ZLIB=ON
-DENABLE_ZLIB_UNCOMPRESS=OFF
-DENABLE_XPDF_HEADERS=ON
-DENABLE_LIBCURL="$(usex curl)"
-DENABLE_CPP="$(usex cxx)"
-DENABLE_UTILS="$(usex utils)"
-DSPLASH_CMYK=OFF
-DUSE_FIXEDPOINT=OFF
-DUSE_FLOAT=OFF
-DWITH_Cairo="$(usex cairo)"
-DWITH_GObjectIntrospection="$(usex introspection)"
-DWITH_JPEG="$(usex jpeg)"
-DWITH_NSS3="$(usex nss)"
-DWITH_PNG="$(usex png)"
-DWITH_Qt4="$(usex qt4)"
$(cmake-utils_use_find_package qt5 Qt5Core)
-DWITH_TIFF="$(usex tiff)"
)
if use jpeg2k; then
mycmakeargs+=(-DENABLE_LIBOPENJPEG=openjpeg2)
else
mycmakeargs+=(-DENABLE_LIBOPENJPEG=)
fi
if use lcms; then
mycmakeargs+=(-DENABLE_CMS=lcms2)
else
mycmakeargs+=(-DENABLE_CMS=)
fi
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
# live version doesn't provide html documentation
if use cairo && use doc && [[ ${PV} != 9999 ]]; then
# For now install gtk-doc there
insinto /usr/share/gtk-doc/html/poppler
doins -r "${S}"/glib/reference/html/*
fi
}

@ -27,6 +27,7 @@ PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
pkg_setup() {
GCC=${ADA:-$(tc-getCC)}
GNATMAKE="${GCC/gcc/gnatmake}"
CC="${GCC}"
if [[ -z "$(type ${GNATMAKE} 2>/dev/null)" ]] ; then
eerror "You need a gcc compiler that provides the Ada Compiler:"
eerror "1) use gcc-config to select the right compiler or"
@ -36,10 +37,11 @@ pkg_setup() {
}
src_compile() {
emake GNATMAKE=${GNATMAKE} BUILDER="gprbuild -j$(makeopts_jobs)" generate_sources
emake GNATMAKE="${GNATMAKE} ${ADAFLAGS}" \
BUILDER="gprbuild -j$(makeopts_jobs)" generate_sources
for kind in shared static static-pic; do
if use ${kind}; then
emake BUILDER="gprbuild -j$(makeopts_jobs)" build-${kind}
emake BUILDER="gprbuild -v -j$(makeopts_jobs)" build-${kind}
fi
done
}

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@ -77,6 +77,9 @@ src_configure() {
chmod 755 tools/gjdoc.build || die
fi
# Force Qt version, bug #619004.
export QT_SELECT=qt4
ANTLR= ./configure \
$(use_enable alsa) \
$(use_enable debug ) \

@ -1,2 +1,2 @@
DIST 20150729.zip 52114 SHA256 62ecc38b4b86a2d864123f1d68ec9e898e250ea2d4c0798fdff52ba79db52c38 SHA512 ad21ce236b9df04482e039e57a16edec4018214aa6e00379573dc7c6977062c759aa21084b70540d35656ebcdb5eaa6525defb88e281ee0e4e7277e32f22755c WHIRLPOOL 393a81436e9441b7f0b6eeacf45323c306ffc623c15bb786c46431893318c128e4ab48b4ac610480897673ced33e7706a65a68107d42be0b58a65379db886624
DIST 20160212.zip 52295 SHA256 3cdf14d879be05e2749edee7570d8747ce63df72312cb66cc51b37ab258ac5c2 SHA512 6648443c55f7e427e700a2bcb5cce8e4b796c42c0afb53a455dc847b0636f2e009171a39f96f0c317fdc1080ddc106dcd4c8066cfbd71091db3ad83bf7c0ae2c WHIRLPOOL 03be8d2069f2653c596baaf82eeeffea45c94272961e9a62f8e04823840813e7a9284592e90d2e6e6bb8c9fbb31aea76229786495d5c0f997e53d9306ebd0047
DIST json-20150729.zip 52114 SHA256 62ecc38b4b86a2d864123f1d68ec9e898e250ea2d4c0798fdff52ba79db52c38 SHA512 ad21ce236b9df04482e039e57a16edec4018214aa6e00379573dc7c6977062c759aa21084b70540d35656ebcdb5eaa6525defb88e281ee0e4e7277e32f22755c WHIRLPOOL 393a81436e9441b7f0b6eeacf45323c306ffc623c15bb786c46431893318c128e4ab48b4ac610480897673ced33e7706a65a68107d42be0b58a65379db886624
DIST json-20160212.zip 52295 SHA256 3cdf14d879be05e2749edee7570d8747ce63df72312cb66cc51b37ab258ac5c2 SHA512 6648443c55f7e427e700a2bcb5cce8e4b796c42c0afb53a455dc847b0636f2e009171a39f96f0c317fdc1080ddc106dcd4c8066cfbd71091db3ad83bf7c0ae2c WHIRLPOOL 03be8d2069f2653c596baaf82eeeffea45c94272961e9a62f8e04823840813e7a9284592e90d2e6e6bb8c9fbb31aea76229786495d5c0f997e53d9306ebd0047

@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@ -8,7 +8,7 @@ inherit java-pkg-2 java-pkg-simple
DESCRIPTION="Java implementation of the JavaScript Object Notation"
HOMEPAGE="http://www.json.org/java/"
SRC_URI="https://github.com/douglascrockford/JSON-java/archive/${PV}.zip"
SRC_URI="https://github.com/douglascrockford/JSON-java/archive/${PV}.zip -> ${P}.zip"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@ -8,7 +8,7 @@ inherit java-pkg-2 java-pkg-simple
DESCRIPTION="Java implementation of the JavaScript Object Notation"
HOMEPAGE="http://www.json.org/java/"
SRC_URI="https://github.com/douglascrockford/JSON-java/archive/${PV}.zip"
SRC_URI="https://github.com/douglascrockford/JSON-java/archive/${PV}.zip -> ${P}.zip"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"

@ -1,4 +1,4 @@
DIST v0.10.1.zip 296228 SHA256 05de4cd5a15ea37e505049c5d7e9c75fbb61ce1bcabec39d762df3dbeda7d814 SHA512 94719b42ecf6dc5505ea649df00b255b1e901d6104426192f34692e2f7bc85940b96b39fd1bfa00577b63c17e10d8fd51d3de743c02d8ac2263abe2fb47d4498 WHIRLPOOL a3c4420421afd45bf6a0908a3a0f42319a094d4d186636eebe5f58b4f2d11192c0a7cbc6eee7dbc1aa48f326fed8c1869932e4d277c41387f790006675f4985d
DIST lfe-0.10.1.zip 296228 SHA256 05de4cd5a15ea37e505049c5d7e9c75fbb61ce1bcabec39d762df3dbeda7d814 SHA512 94719b42ecf6dc5505ea649df00b255b1e901d6104426192f34692e2f7bc85940b96b39fd1bfa00577b63c17e10d8fd51d3de743c02d8ac2263abe2fb47d4498 WHIRLPOOL a3c4420421afd45bf6a0908a3a0f42319a094d4d186636eebe5f58b4f2d11192c0a7cbc6eee7dbc1aa48f326fed8c1869932e4d277c41387f790006675f4985d
DIST v0.7a.zip 216133 SHA256 c494135bf50a8dd62723e026a6b4cf4c5c4d6b8a01e59b6e41bbb6daf5c25dd3 SHA512 93f1b0e81275af21d3dbee73f364f4b67d4ce2d6beb7fe2c17e17d5f5330ec8762d63978ae291267ddd92d311b2ad7d2572854b5e3da9c884f4c706e23551aaa WHIRLPOOL 44067ac8e529d54e66cb18d0ae11c3f7d3a489b530f995e90eb000aae9e212ce79abc57388c515a681265a0242f568ae7efb3e1307e937c3aad55438b6d7b0da
DIST v1.0.zip 303894 SHA256 1f3d9fe22bbaa1c5df50ba03595a0aa764e708f6eb52bcb5557a69426ca60114 SHA512 752ac6b142db95f63ba88ee92de28f846f3a7ccd605eea0da73da24ed0b7b4f0a06fb48697ea6064ccc28dda225ecd01843386085629b6b5465b09df66722bce WHIRLPOOL f4ca4ae467a2e534597e5f211c5f0758de27dc9a5613976ac3c86a22071ea8305c03f0dda17f9d2c61af3e45ca57152bd6b566289b8d25c3dcbe4a8e3bf25f08
DIST v1.1.1.zip 386864 SHA256 6ab0581f3a61541a7afb507a3cfe1506b688c8a88890239dad25cb93823aec30 SHA512 8660716a73126615bd0cde161a780cc49ba57718afd820dbe891da5e1d9ec2f52cc1864159dcedba1c674ccfef42b9662ec8e0bbfe82c10798527ae0979b8f8e WHIRLPOOL 1930da778ec2c03ddc0033664d5a30ba2c000bffe68416775348466150aba8c5ad275b0a62a3520d436999e7f57a0a4b04bacb00d372f24e3b18ea52980b3d0b

@ -7,7 +7,7 @@ inherit multilib
DESCRIPTION="Lisp-flavoured Erlang"
HOMEPAGE="http://lfe.github.io/"
SRC_URI="https://github.com/rvirding/lfe/archive/v${PV}.zip"
SRC_URI="https://github.com/rvirding/lfe/archive/v${PV}.zip -> ${P}.zip"
LICENSE="BSD-2"
SLOT="0"

@ -8,7 +8,7 @@ DIST perl-5.24.1-patches-2.tar.xz 21124 SHA256 6b00ee799d0d2b88e641eb49800d0f756
DIST perl-5.24.1-patches-3.tar.xz 24012 SHA256 b8f8164c1fb34c5db82d9f16c5330cdb2d56e283562dd2d684c2abc26e58bf83 SHA512 1af59b80fca8317fe8df171eba6fcc0830c65f94ad7f73bac611877afdd6e5dfe9ce7c67205a860703fcf6c5b87ba14a0163196e1b833a20562525d06b26b6f3 WHIRLPOOL 9d1f7d3050f544d04e413e1c6c4a8cc6bc593a8250dbf45fb166cf92060ea8bb8e4b09bb73a686cce8101395a04c853842588c1c223c903c5b74cedaf68c5d18
DIST perl-5.24.1.tar.xz 11569284 SHA256 03a77bac4505c270f1890ece75afc7d4b555090b41aa41ea478747e23b2afb3f SHA512 9429608eb4d7f6a01b5a7df8601e0757acdf3e6d5af960d5cf710f8e4fd20ffe082bb42eedc2cd079d5173e48cf5574d55477e1c51f7f53b32fb5d1b89f6db8c WHIRLPOOL 26d401f03af54ba61ea8e761f483f3d374737660fa4beaa3bd77951c0f920f88f9e47f327754c32d4c3c49557882a2a531b9eebef420ad6155d62423f7753406
DIST perl-5.25.11-patches-1.tar.xz 16776 SHA256 43dda2f9a20b44442d25caa733ba94acb0c48b26e8201b3f8fa3d2be24a6667e SHA512 ee340824746d3b626b41c76bfa901543869fb9560ef75ff6d338df017e5528e33c344a91ce7cbe9f2fa9e813bf61bbe9eb290433baceb05b832110e746ce9036 WHIRLPOOL 98681898039e1bcc3e9a33498a8b7b8b3f24cc4c49396b33dfd04a853c329323ad47081d64da61ba2880fbd3505e10ffe90367dffa8005bda86c4f114b283934
DIST perl-5.26.0-RC2.tar.xz 11961228 SHA256 bf7afa738c3c95a3da96c3d15be84a78bcbb32d01e3babd6634a31b604fa02b1 SHA512 3fb1e23470c9aaac30f1b44774edaec7f22bc1fa8b371b927cafeed809de36e086ca0ae6956dde75aa710db61435f365819d4c9e1ed4c2e9f9d2682dbc3b4bcc WHIRLPOOL cdd3266adac62156bfe461c601e6e1ce1ff07b4db0e979c52ecfda9aaebd59c9241d5e0ea13721ae8872ae8a08ee231e86f35f35960348a176607821357352ad
DIST perl-5.26.0.tar.xz 11961692 SHA256 9bf2e3d0d72aad77865c3bdbc20d3b576d769c5c255c4ceb30fdb9335266bf55 SHA512 cd5af6495fe4c46c0d5d0f51d4015b54daa221f08a5fb48899c247cb57c2ba85cffb97e6d258d0f931504828bb23e175d899f311c73805d924d1042058ac42e4 WHIRLPOOL 9b87a1fd5371871c747351440e40f5d1345b8bf6ac5810b9ef239e58947fe0c243583fdac6888f0450bdca437b6031cc5281a4e045d5014642ef2dc671e24e47
DIST perl-cross-1.1.1.tar.gz 88283 SHA256 8ee72f39119b342f3b911266e5c965914a44a484fd18d9c444d106aca4dd7abc SHA512 8ad958d08d8e7ff2b80333959544aaf0e83a74f2e34c9e8aca543052d039c0f4b00cda694ee940874b192b0d83656a9f6854ebbf2c444b212ba9d4417c576591 WHIRLPOOL e6739ca8fc4dcafa14a20585d75931cf6b6a98fad9c732312d15507b29b926452668afc4f27f2b6c5bb6faa623fc506538a53ed9d303d21897f42d47c26e4924
DIST perl-cross-1.1.3.tar.gz 93856 SHA256 181b24ff71815fb2c8065e6ea139d106796eee0964aebfd8081f0b7f69e0696d SHA512 d1ea6ab8a431f831ec9c4c6b71a238a66f021f5610505ebb48c3b0d0b8c9afb0fcb8050779abe1a126afdd92e65f8c86e134832b45a0a6c26ca4b46735e3021d WHIRLPOOL f7313b859031d13516193a88a70fff845987eea93eab3d0d3bac6f3b47c781324acddeed72d6cef8c7d8ee06c8ca5f59a10560b20a53575ffdfd2ce36272a723
DIST perl-cross-1.1.4.tar.gz 94623 SHA256 c840a327d5464ca271cac40d52e2d199330875527bf1003c28a6e550fb7bcc57 SHA512 3bfc108245f0c05b7d45c317eb28c2eb70aba528dfe8a39bc99d6e49b4751f5dca4f4ac661484bfc7528c3e28fcdbd8994c36daa49c25516618fec1f58116d79 WHIRLPOOL c4a150cf15d067cd58db63dae01bbe810808888477f9a2bfcd8557b2eeee097bbf93509bb9128feef84e8a2913724a82de0accc3b9c5d65207ee9dcd2989fe51

@ -29,7 +29,7 @@ HOMEPAGE="http://www.perl.org/"
LICENSE="|| ( Artistic GPL-1+ )"
SLOT="0/${SHORT_PV}"
KEYWORDS="alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="berkdb debug doc gdbm ithreads"
RDEPEND="

@ -0,0 +1,595 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils alternatives flag-o-matic toolchain-funcs multilib multiprocessing
PATCH_VER=1
CROSS_VER=1.1.4
PATCH_BASE="perl-5.25.11-patches-${PATCH_VER}"
DIST_AUTHOR=XSAWYERX
# Greatest first, don't include yourself
# Devel point-releases are not ABI-intercompatible, but stable point releases are
# BIN_OLDVERSEN is contains only C-ABI-intercompatible versions
PERL_BIN_OLDVERSEN=""
# Don't add more -RC values, its historical bungling
PERL_OLDVERSEN="5.26.0-RC1 5.25.12 5.25.11 5.24.2 5.24.1 5.24.0 5.22.3 5.22.2 5.22.1 5.22.0"
if [[ "${PV##*.}" == "9999" ]]; then
DIST_VERSION=5.26.0
else
DIST_VERSION="${PV/_rc/-RC}"
fi
SHORT_PV="${DIST_VERSION%.*}"
# Even numbered major versions are ABI intercompatible
# Odd numbered major versions are not
if [[ $(( ${SHORT_PV#*.} % 2 )) == 1 ]]; then
SUBSLOT="${DIST_VERSION%-RC*}"
else
SUBSLOT="${DIST_VERSION%.*}"
fi
# Used only in tar paths
MY_P="perl-${DIST_VERSION}"
# Used in library paths
MY_PV="${DIST_VERSION%-RC*}"
DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
SRC_URI="
mirror://cpan/src/5.0/${MY_P}.tar.xz
mirror://cpan/authors/id/${DIST_AUTHOR:0:1}/${DIST_AUTHOR:0:2}/${DIST_AUTHOR}/${MY_P}.tar.xz
https://github.com/gentoo-perl/perl-patchset/releases/download/${PATCH_BASE}/${PATCH_BASE}.tar.xz
mirror://gentoo/${PATCH_BASE}.tar.xz
https://dev.gentoo.org/~kentnl/distfiles/${PATCH_BASE}.tar.xz
https://github.com/arsv/perl-cross/releases/download/${CROSS_VER}/perl-cross-${CROSS_VER}.tar.gz
"
HOMEPAGE="http://www.perl.org/"
LICENSE="|| ( Artistic GPL-1+ )"
SLOT="0/${SUBSLOT}"
if [[ "${PV##*.}" != "9999" ]]; then
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
IUSE="berkdb debug doc gdbm ithreads"
RDEPEND="
berkdb? ( sys-libs/db:= )
gdbm? ( >=sys-libs/gdbm-1.8.3 )
app-arch/bzip2
sys-libs/zlib
"
DEPEND="${RDEPEND}
!prefix? ( elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs ) )
"
PDEPEND="
>=app-admin/perl-cleaner-2.5
>=virtual/perl-File-Temp-0.230.400-r2
>=virtual/perl-Data-Dumper-2.154.0
virtual/perl-Test-Harness
"
# bug 390719, bug 523624
# virtual/perl-Test-Harness is here for the bundled ExtUtils::MakeMaker
S="${WORKDIR}/${MY_P}"
dual_scripts() {
src_remove_dual perl-core/Archive-Tar 2.240.0 ptar ptardiff ptargrep
src_remove_dual perl-core/CPAN 2.180.0 cpan
src_remove_dual perl-core/Digest-SHA 5.960.0 shasum
src_remove_dual perl-core/Encode 2.880.0 enc2xs piconv
src_remove_dual perl-core/ExtUtils-MakeMaker 7.240.0 instmodsh
src_remove_dual perl-core/ExtUtils-ParseXS 3.340.0 xsubpp
src_remove_dual perl-core/IO-Compress 2.74.0 zipdetails
src_remove_dual perl-core/JSON-PP 2.274.0.200_rc json_pp
src_remove_dual perl-core/Module-CoreList 5.201.705.300 corelist
src_remove_dual perl-core/Pod-Parser 1.630.0 pod2usage podchecker podselect
src_remove_dual perl-core/Pod-Perldoc 3.280.0 perldoc
src_remove_dual perl-core/Test-Harness 3.380.0 prove
src_remove_dual perl-core/podlators 4.90.0 pod2man pod2text
src_remove_dual_man perl-core/podlators 4.90.0 /usr/share/man/man1/perlpodstyle.1
}
check_rebuild() {
# Fresh install
if [[ -z "${REPLACING_VERSIONS}" ]]; then
return 0;
# Major Upgrade
# doesn't matter if there's multiple copies, it still needs a rebuild
# if the string is anything other than "5.CURRENTMAJOR"
elif [[ "${REPLACING_VERSIONS%.*}" != "${PV%.*}" ]]; then
echo ""
ewarn "UPDATE THE PERL MODULES:"
ewarn "After updating dev-lang/perl the installed Perl modules"
ewarn "have to be re-installed. In most cases, this is done automatically"
ewarn "by the package manager, but subsequent steps are still recommended"
ewarn "to ensure system consistency."
ewarn
ewarn "You should start with a depclean to remove any unused perl dependencies"
ewarn "that may confuse portage in future. Regular depcleans are also encouraged"
ewarn "as part of your regular update cycle, as that will keep perl upgrades working."
ewarn "Recommended: emerge --depclean -va"
ewarn
ewarn "You should then call perl-cleaner to clean up any old files and trigger any"
ewarn "remaining rebuilds portage may have missed."
ewarn "Use: perl-cleaner --all"
return 0;
# Reinstall w/ USE Change
elif ( use ithreads && ! has_version dev-lang/perl[ithreads] ) || \
( ! use ithreads && has_version dev-lang/perl[ithreads] ) || \
( use debug && ! has_version dev-lang/perl[debug] ) || \
( ! use debug && has_version dev-lang/perl[debug] ) ; then
echo ""
ewarn "TOGGLED USE-FLAGS WARNING:"
ewarn "You changed one of the use-flags ithreads or debug."
ewarn "You must rebuild all perl-modules installed."
ewarn "Use: perl-cleaner --modules ; perl-cleaner --force --libperl"
fi
}
pkg_setup() {
case ${CHOST} in
*-freebsd*) osname="freebsd" ;;
*-dragonfly*) osname="dragonfly" ;;
*-netbsd*) osname="netbsd" ;;
*-openbsd*) osname="openbsd" ;;
*-darwin*) osname="darwin" ;;
*-interix*) osname="interix" ;;
*-aix*) osname="aix" ;;
*-cygwin*) osname="cygwin" ;;
*) osname="linux" ;;
esac
myarch="${CHOST%%-*}-${osname}"
if use debug ; then
myarch+="-debug"
fi
if use ithreads ; then
mythreading="-multi"
myarch+="-thread"
fi
LIBPERL="libperl$(get_libname ${MY_PV} )"
PRIV_LIB="/usr/$(get_libdir)/perl5/${MY_PV}"
ARCH_LIB="/usr/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading}"
SITE_LIB="/usr/local/$(get_libdir)/perl5/${MY_PV}"
SITE_ARCH="/usr/local/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading}"
VENDOR_LIB="/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}"
VENDOR_ARCH="/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}/${myarch}${mythreading}"
dual_scripts
}
src_remove_dual_file() {
local i pkg ver
pkg="$1"
ver="$2"
shift 2
case "${EBUILD_PHASE:-none}" in
postinst|postrm)
for i in "$@" ; do
alternatives_auto_makesym "${i}" "${i}-[0-9]*"
done
;;
setup)
for i in "$@" ; do
if [[ -f ${EROOT}${i} && ! -h ${EROOT}${i} ]] ; then
has_version ${pkg} && ewarn "You must reinstall ${pkg} !"
break
fi
done
;;
install)
for i in "$@" ; do
if ! [[ -f "${ED}"${i} ]] ; then
ewarn "${i} does not exist!"
continue
fi
mv "${ED}"${i}{,-${ver}-${P}} || die
done
;;
esac
}
src_remove_dual_man() {
local i pkg ver ff
pkg="$1"
ver="$2"
shift 2
case "${EBUILD_PHASE:-none}" in
postinst|postrm)
for i in "$@" ; do
ff=`echo "${EROOT}${i%.[0-9]}-${ver}-${P}${i#${i%.[0-9]}}"*`
ff=${ff##*${i#${i%.[0-9]}}}
alternatives_auto_makesym "${i}${ff}" "${i%.[0-9]}-[0-9]*"
done
;;
install)
for i in "$@" ; do
if ! [[ -f "${ED}"${i} ]] ; then
ewarn "${i} does not exist!"
continue
fi
mv "${ED}"${i} "${ED}"${i%.[0-9]}-${ver}-${P}${i#${i%.[0-9]}} || die
done
;;
esac
}
src_remove_dual() {
local i pkg ver
pkg="$1"
ver="$2"
shift 2
for i in "$@" ; do
src_remove_dual_file "${pkg}" "${ver}" "/usr/bin/${i}"
src_remove_dual_man "${pkg}" "${ver}" "/usr/share/man/man1/${i}.1"
done
}
src_prepare_update_patchlevel_h() {
# Copied and modified from debian:
# Copyright 2011 Niko Tyni
# This program is free software; you can redistribute it and/or modify
# it under the same terms as Perl itself.
local patchdir="${WORKDIR}/patches"
local prefix
local patchoutput="patchlevel-gentoo.h"
[[ -f ${patchdir}/series ]] || return 0
while read patch
do
patchname=$(echo $patch | sed 's/\.diff$//')
< $patchdir/$patch sed -e '/^Subject:/ { N; s/\n / / }' | sed -n -e '
# massage the patch headers
s|^Bug: .*https\?://rt\.perl\.org/.*id=\(.*\).*|[perl #\1]|; tprepend;
s|^Bug: .*https\?://rt\.cpan\.org/.*id=\(.*\).*|[rt.cpan.org #\1]|; tprepend;
s|^Bug-Gentoo: ||; tprepend;
s/^\(Subject\|Description\): //; tappend;
s|^Origin: .*http://perl5\.git\.perl\.org/perl\.git/commit\(diff\)\?/\(.......\).*|[\2]|; tprepend;
# post-process at the end of input
$ { x;
# include the version number in the patchlevel.h description (if available)
s/List packaged patches/&'" for ${PF}(#${PATCH_VER})"'/;
# escape any backslashes and double quotes
s|\\|\\\\|g; s|"|\\"|g;
# add a prefix
s|^|\t,"'"$prefix$patchname"' - |;
# newlines away
s/\n/ /g; s/ */ /g;
# add a suffix
s/ *$/"/; p
};
# stop all processing
d;
# label: append to the hold space
:append H; d;
# label: prepend to the hold space
:prepend x; H; d;
'
done < "${WORKDIR}"/patches/series > "${S}/${patchoutput}"
echo "${patchoutput}" >> "${S}/MANIFEST"
}
src_prepare_perlcross() {
cp -a ../perl-cross-${CROSS_VER}/* . || die
sed -i \
-e 's/(15 + $CLEANUP)/(13 + $CLEANUP)/' \
cnf/diffs/perl5-${PV}/makemaker-test.patch || die
sed -i \
-e 's/MakeMaker\.pm .*/MakeMaker.pm bf9174c70a0e50ff2fee4552c7df89b37d292da1/' \
-e 's/MM_Unix\.pm .*/MM_Unix.pm b0ec308fe2d7dcfcef5732880db0fae1f4ea80fa/' \
cnf/diffs/perl5-${PV}/customized.patch || die
sed -i \
-e 's|^lib/unicore/CombiningClass.pl pod/perluniprops.pod:|lib/unicore/CombiningClass.pl pod/perluniprops.pod: $(CONFIGPM)|' \
Makefile || die
# bug 604072
MAKEOPTS+=" -j1"
export MAKEOPTS
}
src_prepare_dynamic() {
ln -s ${LIBPERL} libperl$(get_libname ${SHORT_PV}) || die
ln -s ${LIBPERL} libperl$(get_libname ) || die
}
src_prepare() {
local patch
EPATCH_OPTS+=" -p1"
einfo "Applying patches from ${PATCH_BASE} ..."
while read patch ; do
EPATCH_SINGLE_MSG=" ${patch} ..."
epatch "${WORKDIR}"/patches/${patch}
done < "${WORKDIR}"/patches/series
src_prepare_update_patchlevel_h
tc-is-cross-compiler && src_prepare_perlcross
tc-is-static-only || src_prepare_dynamic
if use gdbm; then
sed -i "s:INC => .*:INC => \"-I${EROOT}usr/include/gdbm\":g" \
ext/NDBM_File/Makefile.PL || die
fi
default
}
myconf() {
# the myconf array is declared in src_configure
myconf=( "${myconf[@]}" "$@" )
}
src_configure() {
declare -a myconf
export LC_ALL="C"
[[ ${COLUMNS:-1} -ge 1 ]] || unset COLUMNS # bug #394091
# some arches and -O do not mix :)
use ppc && replace-flags -O? -O1
# Perl has problems compiling with -Os in your flags with glibc
use elibc_uclibc || replace-flags "-Os" "-O2"
# This flag makes compiling crash in interesting ways
filter-flags "-malign-double"
# Fixes bug #97645
use ppc && filter-flags "-mpowerpc-gpopt"
# Fixes bug #143895 on gcc-4.1.1
filter-flags "-fsched2-use-superblocks"
use sparc && myconf -Ud_longdbl
export BUILD_BZIP2=0
export BZIP2_INCLUDE=${EROOT}/usr/include
export BZIP2_LIB=${EROOT}/usr/$(get_libdir)
export BUILD_ZLIB=False
export ZLIB_INCLUDE=${EROOT}/usr/include
export ZLIB_LIB=${EROOT}/usr/$(get_libdir)
# allow either gdbm to provide ndbm (in <gdbm/ndbm.h>) or db1
myndbm='U'
mygdbm='U'
mydb='U'
if use gdbm ; then
mygdbm='D'
if use berkdb ; then
myndbm='D'
fi
fi
if use berkdb ; then
mydb='D'
has_version '=sys-libs/db-1*' && myndbm='D'
fi
myconf "-${myndbm}i_ndbm" "-${mygdbm}i_gdbm" "-${mydb}i_db"
if use alpha && [[ "$(tc-getCC)" = "ccc" ]] ; then
ewarn "Perl will not be built with berkdb support, use gcc if you needed it..."
myconf -Ui_db -Ui_ndbm
fi
use ithreads && myconf -Dusethreads
if use debug ; then
append-cflags "-g"
myconf -DDEBUGGING
elif [[ ${CFLAGS} == *-g* ]] ; then
myconf -DDEBUGGING=-g
else
myconf -DDEBUGGING=none
fi
if [[ -n ${PERL_OLDVERSEN} ]] ; then
local inclist=$(
for v in ${PERL_OLDVERSEN}; do
has "${v}" ${PERL_BIN_OLDVERSEN} && echo -n "${v}/${myarch}${mythreading} ";
echo -n "${v} ";
done )
myconf -Dinc_version_list="${inclist}"
fi
[[ ${ELIBC} == "FreeBSD" ]] && myconf "-Dlibc=/usr/$(get_libdir)/libc.a"
# Make sure we can do the final link #523730, need to set deployment
# target to override hardcoded 10.3 which breaks on modern OSX
[[ ${CHOST} == *-darwin* ]] && \
myconf "-Dld=env MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET} $(tc-getCC)"
# Prefix: the host system needs not to follow Gentoo multilib stuff, and in
# Prefix itself we don't do multilib either, so make sure perl can find
# something compatible.
if use prefix ; then
# Set a hook to check for each detected library whether it actually works.
export libscheck="
( echo 'main(){}' > '${T}'/conftest.c &&
$(tc-getCC) -o '${T}'/conftest '${T}'/conftest.c -l\$thislib >/dev/null 2>/dev/null
) || xxx=/dev/null"
# Use all host paths that might contain useful stuff, the hook above will filter out bad choices.
local paths="/lib/*-linux-gnu /usr/lib/*-linux-gnu /lib64 /lib/64 /usr/lib64 /usr/lib/64 /lib32 /usr/lib32 /lib /usr/lib"
myconf "-Dlibpth=${EPREFIX}/$(get_libdir) ${EPREFIX}/usr/$(get_libdir) ${paths}"
elif [[ $(get_libdir) != "lib" ]] ; then
# We need to use " and not ', as the written config.sh use ' ...
myconf "-Dlibpth=/usr/local/$(get_libdir) /$(get_libdir) /usr/$(get_libdir)"
fi
# don't try building ODBM, bug #354453
disabled_extensions="ODBM_File"
if ! use gdbm ; then
# workaround for bug #157774: don't try building GDBM related stuff with USE="-gdbm"
disabled_extensions="${disabled_extensions} GDBM_File NDBM_File"
fi
myconf -Dnoextensions="${disabled_extensions}"
[[ "${PV##*.}" == "9999" ]] && myconf -Dusedevel -Uversiononly
[[ -n "${EXTRA_ECONF}" ]] && ewarn During Perl build, EXTRA_ECONF=${EXTRA_ECONF}
# allow fiddling via EXTRA_ECONF, bug 558070
eval "local -a EXTRA_ECONF=(${EXTRA_ECONF})"
myconf \
-Duseshrplib \
-Darchname="${myarch}" \
-Dcc="$(tc-getCC)" \
-Doptimize="${CFLAGS}" \
-Dldflags="${LDFLAGS}" \
-Dprefix="${EPREFIX}"'/usr' \
-Dsiteprefix="${EPREFIX}"'/usr/local' \
-Dvendorprefix="${EPREFIX}"'/usr' \
-Dscriptdir="${EPREFIX}"'/usr/bin' \
-Dprivlib="${EPREFIX}${PRIV_LIB}" \
-Darchlib="${EPREFIX}${ARCH_LIB}" \
-Dsitelib="${EPREFIX}${SITE_LIB}" \
-Dsitearch="${EPREFIX}${SITE_ARCH}" \
-Dvendorlib="${EPREFIX}${VENDOR_LIB}" \
-Dvendorarch="${EPREFIX}${VENDOR_ARCH}" \
-Dman1dir="${EPREFIX}"/usr/share/man/man1 \
-Dman3dir="${EPREFIX}"/usr/share/man/man3 \
-Dsiteman1dir="${EPREFIX}"/usr/local/man/man1 \
-Dsiteman3dir="${EPREFIX}"/usr/local/man/man3 \
-Dvendorman1dir="${EPREFIX}"/usr/share/man/man1 \
-Dvendorman3dir="${EPREFIX}"/usr/share/man/man3 \
-Dman1ext='1' \
-Dman3ext='3pm' \
-Dlibperl="${LIBPERL}" \
-Dlocincpth="${EPREFIX}"'/usr/include ' \
-Dglibpth="${EPREFIX}/$(get_libdir) ${EPREFIX}/usr/$(get_libdir)"' ' \
-Duselargefiles \
-Dd_semctl_semun \
-Dcf_by='Gentoo' \
-Dmyhostname='localhost' \
-Dperladmin='root@localhost' \
-Ud_csh \
-Dsh="${EPREFIX}"/bin/sh \
-Dtargetsh="${EPREFIX}"/bin/sh \
-Uusenm \
"${myconf[@]}" \
"${EXTRA_ECONF[@]}"
if tc-is-cross-compiler; then
./configure \
--target="${CHOST}" \
--build="${CBUILD}" \
-Dinstallprefix='' \
-Dinstallusrbinperl='undef' \
-Dusevendorprefix='define' \
"${myconf[@]}" \
|| die "Unable to configure"
else
sh Configure \
-des \
-Dinstallprefix="${EPREFIX}"'/usr' \
-Dinstallusrbinperl='n' \
"${myconf[@]}" \
|| die "Unable to configure"
fi
}
src_test() {
export NO_GENTOO_NETWORK_TESTS=1;
if [[ ${EUID} == 0 ]] ; then
ewarn "Test fails with a sandbox error (#328793) if run as root. Skipping tests..."
return 0
fi
use elibc_uclibc && export MAKEOPTS+=" -j1"
TEST_JOBS="$(makeopts_jobs)" make test_harness || die "test failed"
}
src_install() {
local i
local coredir="${ARCH_LIB}/CORE"
emake DESTDIR="${D}" install
rm -f "${ED}/usr/bin/perl${MY_PV}"
ln -s perl "${ED}"/usr/bin/perl${MY_PV} || die
if ! tc-is-static-only ; then
dolib.so "${ED}"${coredir}/${LIBPERL}
rm -f "${ED}"${coredir}/${LIBPERL}
ln -sf ${LIBPERL} "${ED}"/usr/$(get_libdir)/libperl$(get_libname ${SHORT_PV}) || die
ln -sf ${LIBPERL} "${ED}"/usr/$(get_libdir)/libperl$(get_libname) || die
ln -sf ../../../../../$(get_libdir)/${LIBPERL} "${ED}"${coredir}/${LIBPERL} || die
ln -sf ../../../../../$(get_libdir)/${LIBPERL} "${ED}"${coredir}/libperl$(get_libname ${SHORT_PV}) || die
ln -sf ../../../../../$(get_libdir)/${LIBPERL} "${ED}"${coredir}/libperl$(get_libname) || die
fi
rm -rf "${ED}"/usr/share/man/man3 || die "Unable to remove module man pages"
# This removes ${D} from Config.pm
for i in $(find "${D}" -iname "Config.pm" ) ; do
einfo "Removing ${D} from ${i}..."
sed -i -e "s:${D}::" "${i}" || die "Sed failed"
done
dodoc Changes* README AUTHORS
if use doc ; then
# HTML Documentation
# We expect errors, warnings, and such with the following.
dodir /usr/share/doc/${PF}/html
LD_LIBRARY_PATH=. ./perl installhtml \
--podroot='.' \
--podpath='lib:ext:pod:vms' \
--recurse \
--htmldir="${ED}/usr/share/doc/${PF}/html"
fi
[[ -d ${ED}/usr/local ]] && rm -r "${ED}"/usr/local
dual_scripts
}
pkg_preinst() {
check_rebuild
}
pkg_postinst() {
dual_scripts
if [[ "${ROOT}" = "/" ]] ; then
local INC DIR file
INC=$(perl -e 'for $line (@INC) { next if $line eq "."; next if $line =~ m/'${SHORT_PV}'|etc|local|perl$/; print "$line\n" }')
einfo "Removing old .ph files"
for DIR in ${INC} ; do
if [[ -d "${DIR}" ]] ; then
for file in $(find "${DIR}" -name "*.ph" -type f ) ; do
rm -f "${file}"
einfo "<< ${file}"
done
fi
done
# Silently remove the now empty dirs
for DIR in ${INC} ; do
if [[ -d "${DIR}" ]] ; then
find "${DIR}" -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null
fi
done
fi
}
pkg_postrm(){
dual_scripts
}

@ -18,7 +18,7 @@ PERL_BIN_OLDVERSEN=""
# Don't add more -RC values, its historical bungling
PERL_OLDVERSEN="5.26.0-RC1 5.25.12 5.25.11 5.24.2 5.24.1 5.24.0 5.22.3 5.22.2 5.22.1 5.22.0"
if [[ "${PV##*.}" == "9999" ]]; then
DIST_VERSION=5.26.0-RC2
DIST_VERSION=5.26.0
else
DIST_VERSION="${PV/_rc/-RC}"
fi
@ -85,7 +85,7 @@ dual_scripts() {
src_remove_dual perl-core/ExtUtils-ParseXS 3.340.0 xsubpp
src_remove_dual perl-core/IO-Compress 2.74.0 zipdetails
src_remove_dual perl-core/JSON-PP 2.274.0.200_rc json_pp
src_remove_dual perl-core/Module-CoreList 5.201.705.200 corelist
src_remove_dual perl-core/Module-CoreList 5.201.705.300 corelist
src_remove_dual perl-core/Pod-Parser 1.630.0 pod2usage podchecker podselect
src_remove_dual perl-core/Pod-Perldoc 3.280.0 perldoc
src_remove_dual perl-core/Test-Harness 3.380.0 prove

@ -1,3 +1 @@
DIST apr-util-1.5.2.tar.bz2 693258 SHA256 9ace3d2e3129d5c244ef695a88b3b47897695e8e6ca2b96e92e4a635d9ed12a7 SHA512 14e890aa1a34369ddf0d041d397231e21994c0a51d3a07dd126985699184ee59c2df32dd752339dd90278988a9461c714f0a157126229be57450259646a1d6df WHIRLPOOL 94972bf43b21527015a489e640d81087021a7818fb4435b60a0b753d214e53b05630976894c81a70a069bb6918150c22df7621c63a539082a8b90ca442adce0e
DIST apr-util-1.5.3.tar.bz2 695303 SHA256 78edb174f13e25ee15ded2b849b741a248b879a93a77a2d31c20f7e225be3968 SHA512 b03588fd10c8705ea72cb35e821a99ba160c5a480d91d766969672c72a4db5bc2ec01b13cbe0eccc1cd1eadd96e8198994296bc2f0232b3fce4e82271a382db6 WHIRLPOOL 4e3d131c2fcb5818db76c2d663caf7ab193a020011d21a1b03238075ba1ddb9778aa3df1e165cb13833efc446c81d13893a126d91e8da6cc55a5431e50f3b797
DIST apr-util-1.5.4.tar.bz2 694427 SHA256 a6cf327189ca0df2fb9d5633d7326c460fe2b61684745fd7963e79a6dd0dc82e SHA512 ca877d8e444218c4ba0f28063ee075ddcd6c0a487b692dc80ef442fe775ec4eeb337c6957853772e8082e27edcb450d7e909c2c6c3ab4a95bbf0a5ee5ea4a2d1 WHIRLPOOL bc4ce82785513f4bf2207bb26758abc79e6bfef62a57d3e2ead570abc618b321c302390b9dcd8eab1ec44a9e5d398c2cc4d35af2549636e20d7c20678725ac2e

@ -1,102 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
# Usually apr-util has the same PV as apr, but in case of security fixes, this may change.
# APR_PV="${PV}"
APR_PV="1.4.6"
inherit autotools db-use eutils libtool multilib toolchain-funcs
DESCRIPTION="Apache Portable Runtime Utility Library"
HOMEPAGE="http://apr.apache.org/"
SRC_URI="mirror://apache/apr/${P}.tar.bz2"
LICENSE="Apache-2.0"
SLOT="1"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="berkdb doc freetds gdbm ldap mysql nss odbc openssl postgres sqlite static-libs"
RESTRICT="test"
RDEPEND="dev-libs/expat
>=dev-libs/apr-${APR_PV}:1
berkdb? ( >=sys-libs/db-4 )
freetds? ( dev-db/freetds )
gdbm? ( sys-libs/gdbm )
ldap? ( =net-nds/openldap-2* )
mysql? ( =virtual/mysql-5* )
nss? ( dev-libs/nss )
odbc? ( dev-db/unixODBC )
openssl? ( dev-libs/openssl )
postgres? ( dev-db/postgresql )
sqlite? ( dev-db/sqlite:3 )"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"
DOCS=(CHANGES NOTICE README)
src_prepare() {
eautoreconf
elibtoolize
}
src_configure() {
local myconf
tc-is-static-only && myconf+=" --disable-util-dso"
if use berkdb; then
local db_version
db_version="$(db_findver sys-libs/db)" || die "Unable to find Berkeley DB version"
db_version="$(db_ver_to_slot "${db_version}")"
db_version="${db_version/\./}"
myconf+=" --with-dbm=db${db_version} --with-berkeley-db=$(db_includedir 2> /dev/null):${EPREFIX}/usr/$(get_libdir)"
else
myconf+=" --without-berkeley-db"
fi
econf \
--datadir="${EPREFIX}"/usr/share/apr-util-1 \
--with-apr="${EPREFIX}"/usr \
--with-expat="${EPREFIX}"/usr \
--without-sqlite2 \
$(use_with freetds) \
$(use_with gdbm) \
$(use_with ldap) \
$(use_with mysql) \
$(use_with nss) \
$(use_with odbc) \
$(use_with openssl) \
$(use_with postgres pgsql) \
$(use_with sqlite sqlite3) \
${myconf}
}
src_compile() {
emake CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
if use doc; then
emake dox
fi
}
src_install() {
default
find "${ED}" -name "*.la" -exec rm -f {} +
find "${ED}usr/$(get_libdir)/apr-util-${SLOT}" -name "*.a" -exec rm -f {} +
if use doc; then
dohtml -r docs/dox/html/*
fi
if ! use static-libs; then
find "${ED}" -name "*.a" -exec rm -f {} +
fi
# This file is only used on AIX systems, which Gentoo is not,
# and causes collisions between the SLOTs, so remove it.
rm -f "${ED}usr/$(get_libdir)/aprutil.exp"
}

@ -1,11 +1,11 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
EAPI=6
# Usually apr-util has the same PV as apr, but in case of security fixes, this may change.
# APR_PV="${PV}"
APR_PV="1.4.6"
APR_PV="1.5.2"
inherit autotools db-use eutils libtool multilib toolchain-funcs
@ -15,31 +15,41 @@ SRC_URI="mirror://apache/apr/${P}.tar.bz2"
LICENSE="Apache-2.0"
SLOT="1"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="berkdb doc freetds gdbm ldap mysql nss odbc openssl postgres sqlite static-libs"
RESTRICT="test"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="berkdb doc freetds gdbm ldap libressl nss odbc openssl postgres sqlite static-libs"
#RESTRICT="test"
RDEPEND="dev-libs/expat
RDEPEND="
dev-libs/expat
>=dev-libs/apr-${APR_PV}:1
berkdb? ( >=sys-libs/db-4 )
berkdb? ( >=sys-libs/db-4:= )
freetds? ( dev-db/freetds )
gdbm? ( sys-libs/gdbm )
ldap? ( =net-nds/openldap-2* )
mysql? ( =virtual/mysql-5* )
nss? ( dev-libs/nss )
odbc? ( dev-db/unixODBC )
openssl? ( dev-libs/openssl )
postgres? ( dev-db/postgresql )
sqlite? ( dev-db/sqlite:3 )"
DEPEND="${RDEPEND}
openssl? (
!libressl? ( dev-libs/openssl:0 )
libressl? ( dev-libs/libressl )
)
postgres? ( dev-db/postgresql:= )
sqlite? ( dev-db/sqlite:3 )
"
DEPEND="
${RDEPEND}
>=sys-devel/libtool-2.4.2
doc? ( app-doc/doxygen )"
doc? ( app-doc/doxygen )
"
DOCS=(CHANGES NOTICE README)
PATCHES=(
"${FILESDIR}"/${PN}-1.5.3-sysroot.patch #385775
)
src_prepare() {
epatch "${FILESDIR}"/${P}-berkdb6.patch #476374
epatch "${FILESDIR}"/${PN}-1.5.3-sysroot.patch #385775
default
mv configure.{in,ac} || die
eautoreconf
elibtoolize
}
@ -69,21 +79,23 @@ src_configure() {
myconf+=( --with-crypto ) # 518708
fi
econf \
--datadir="${EPREFIX}"/usr/share/apr-util-1 \
--with-apr="${SYSROOT}${EPREFIX}"/usr \
--with-expat="${EPREFIX}"/usr \
--without-sqlite2 \
$(use_with freetds) \
$(use_with gdbm) \
$(use_with ldap) \
$(use_with mysql) \
$(use_with nss) \
$(use_with odbc) \
$(use_with openssl) \
$(use_with postgres pgsql) \
$(use_with sqlite sqlite3) \
local myeconfargs=(
--datadir="${EPREFIX}"/usr/share/apr-util-1
--with-apr="${SYSROOT}${EPREFIX}"/usr
--with-expat="${EPREFIX}"/usr
--without-mysql
--without-sqlite2
$(use_with freetds)
$(use_with gdbm)
$(use_with ldap)
$(use_with nss)
$(use_with odbc)
$(use_with openssl)
$(use_with postgres pgsql)
$(use_with sqlite sqlite3)
"${myconf[@]}"
)
econf "${myeconfargs[@]}"
# Use the current env build settings rather than whatever apr was built with.
sed -i -r \
-e "/^(apr_builddir|apr_builders|top_builddir)=/s:=:=${SYSROOT}:" \
@ -101,13 +113,18 @@ src_compile() {
src_install() {
default
find "${ED}" -name "*.la" -delete
find "${ED}usr/$(get_libdir)/apr-util-${SLOT}" -name "*.a" -delete
use static-libs || find "${ED}" -name "*.a" -delete
find "${ED}" -name "*.la" -delete || die
find "${ED}usr/$(get_libdir)/apr-util-${SLOT}" -name "*.a" -delete || die
if ! use static-libs ; then
find "${ED}" -name "*.a" -not -name "*$(get_libname)" -delete || die
fi
use doc && dohtml -r docs/dox/html/*
if use doc ; then
docinto html
dodoc -r docs/dox/html/*
fi
# This file is only used on AIX systems, which Gentoo is not,
# and causes collisions between the SLOTs, so remove it.
rm -f "${ED}usr/$(get_libdir)/aprutil.exp"
rm "${ED}usr/$(get_libdir)/aprutil.exp" || die
}

@ -1,3 +1 @@
DIST apr-1.5.0.tar.bz2 813976 SHA256 17287d36a5917e27281e60d47e7b147bd5ddcd1ca832702c2318f5e0724f1221 SHA512 d54d995a67fe13a619d4781cbfcfae07679d15defa49634ee472c6a93f9521f7964e6e3e366188f1817c01a8fdb98b4ff042e56d8bd9bc379683d6c4ccff2a3e WHIRLPOOL 083da7589f85fb2212b4ced33004ee30848a40cf4718de36a21dfcba15b794dc9b57a9324cdd400e2df74564f9ad27899119de55075f1e0285415471b47f90e7
DIST apr-1.5.1.tar.bz2 817569 SHA256 e94abe431d4da48425fcccdb27b469bd0f8151488f82e5630a56f26590e198ac SHA512 0d8dea97490cd0b0689eb090d0e32ab9b582e4a0248ea7028e2a44552fc3839013b18cff985547aa9bbb549d93bc4859cca1d8ef95b32d4d4fd610ed19bde435 WHIRLPOOL 553efdefdb58ae44015ef36505c70b52122b750e6c3f63d9ccaa0878efd476dac249a62e2fb644d3e709c372a2805b1d76869c0e9b880b6273f46ef2e9937ace
DIST apr-1.5.2.tar.bz2 826885 SHA256 7d03ed29c22a7152be45b8e50431063736df9e1daa1ddf93f6a547ba7a28f67a SHA512 d1156ad16abf07887797777b56c2147c890f16d8445829b3e3b4917950d24c5fd2f8febd439992467a5ea0511da562c0fb4a7cfd8a235ab55882388bfa2b919d WHIRLPOOL 3f6fbb9410f7cd3ace2f80f361a02b190e14d744f38dbd6f87a5c60b4b1c4a99cd902ba9351a235d9f3bab044a981de21fb6c193d3ab3caba2448bf6c4e1bd1b

@ -1,139 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
inherit autotools eutils libtool multilib toolchain-funcs
DESCRIPTION="Apache Portable Runtime Library"
HOMEPAGE="http://apr.apache.org/"
SRC_URI="mirror://apache/apr/${P}.tar.bz2"
LICENSE="Apache-2.0"
SLOT="1"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc elibc_FreeBSD older-kernels-compatibility selinux static-libs +urandom"
CDEPEND="elibc_glibc? ( >=sys-apps/util-linux-2.16 )
elibc_mintlib? ( >=sys-apps/util-linux-2.18 )"
RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-apache )"
DEPEND="${CDEPEND}
>=sys-devel/libtool-2.4.2
doc? ( app-doc/doxygen )"
DOCS=(CHANGES NOTICE README)
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.5.0-mint.patch
epatch "${FILESDIR}"/${PN}-1.5.0-libtool.patch
epatch "${FILESDIR}"/${PN}-1.5.0-cross-types.patch
epatch "${FILESDIR}"/${PN}-1.5.0-sysroot.patch #385775
epatch_user #449048
AT_M4DIR="build" eautoreconf
elibtoolize
epatch "${FILESDIR}/config.layout.patch"
}
src_configure() {
local myconf=()
[[ ${CHOST} == *-mint* ]] && export ac_cv_func_poll=no
if use older-kernels-compatibility; then
local apr_cv_accept4 apr_cv_dup3 apr_cv_epoll_create1 apr_cv_sock_cloexec
export apr_cv_accept4="no"
export apr_cv_dup3="no"
export apr_cv_epoll_create1="no"
export apr_cv_sock_cloexec="no"
fi
if tc-is-cross-compiler; then
# The apache project relies heavily on AC_TRY_RUN and doesn't
# have any sane cross-compiling fallback logic.
export \
ac_cv_file__dev_zero="yes" \
ac_cv_func_sem_open="yes" \
ac_cv_negative_eai="yes" \
ac_cv_o_nonblock_inherited="no" \
ac_cv_struct_rlimit="yes" \
ap_cv_atomic_builtins="yes" \
apr_cv_accept4="yes" \
apr_cv_dup3="yes" \
apr_cv_epoll="yes" \
apr_cv_epoll_create1="yes" \
apr_cv_gai_addrconfig="yes" \
apr_cv_mutex_recursive="yes" \
apr_cv_mutex_robust_shared="yes" \
apr_cv_process_shared_works="yes" \
apr_cv_pthreads_lib="-pthread" \
apr_cv_sock_cloexec="yes" \
apr_cv_tcp_nodelay_with_cork="yes"
fi
if use urandom; then
myconf+=( --with-devrandom=/dev/urandom )
elif (( ${CHOST#*-hpux11.} <= 11 )); then
: # no /dev/*random on hpux11.11 and before, $PN detects this.
else
myconf+=( --with-devrandom=/dev/random )
fi
tc-is-static-only && myconf+=( --disable-dso )
# shl_load does not search runpath, but hpux11 supports dlopen
[[ ${CHOST} == *-hpux11* ]] && myconf+=( --enable-dso=dlfcn )
if [[ ${CHOST} == *-solaris2.10 ]]; then
case $(<$([[ ${CHOST} != ${CBUILD} ]] && echo "${EPREFIX}/usr/${CHOST}")/usr/include/atomic.h) in
*atomic_cas_ptr*) ;;
*)
elog "You do not have Solaris Patch ID "$(
[[ ${CHOST} == sparc* ]] && echo 118884 || echo 118885
)" (Problem 4954703) installed on your host ($(hostname)),"
elog "using generic atomic operations instead."
myconf+=( --disable-nonportable-atomics )
;;
esac
fi
econf \
--enable-layout=gentoo \
--enable-nonportable-atomics \
--enable-threads \
$(use_enable static-libs static) \
"${myconf[@]}"
}
src_compile() {
if tc-is-cross-compiler; then
# This header is the same across targets, so use the build compiler.
emake tools/gen_test_char
tc-export_build_env BUILD_CC
${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} \
tools/gen_test_char.c -o tools/gen_test_char || die
fi
emake
if use doc; then
emake dox
fi
}
src_install() {
default
find "${ED}" -name "*.la" -delete
if use doc; then
dohtml -r docs/dox/html/*
fi
# This file is only used on AIX systems, which Gentoo is not,
# and causes collisions between the SLOTs, so remove it.
# Even in Prefix, we don't need this on AIX.
rm -f "${ED}usr/$(get_libdir)/apr.exp"
}

@ -1,144 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit autotools eutils libtool multilib toolchain-funcs
DESCRIPTION="Apache Portable Runtime Library"
HOMEPAGE="http://apr.apache.org/"
SRC_URI="mirror://apache/apr/${P}.tar.bz2"
LICENSE="Apache-2.0"
SLOT="1"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc elibc_FreeBSD older-kernels-compatibility selinux static-libs +urandom"
CDEPEND="elibc_glibc? ( >=sys-apps/util-linux-2.16 )
elibc_mintlib? ( >=sys-apps/util-linux-2.18 )"
RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-apache )"
DEPEND="${CDEPEND}
>=sys-devel/libtool-2.4.2
doc? ( app-doc/doxygen )"
DOCS=(CHANGES NOTICE README)
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.5.0-mint.patch
epatch "${FILESDIR}"/${PN}-1.5.0-libtool.patch
epatch "${FILESDIR}"/${PN}-1.5.0-cross-types.patch
epatch "${FILESDIR}"/${PN}-1.5.0-sysroot.patch #385775
epatch "${FILESDIR}"/${PN}-1.5.1-parallel_make_install.patch
epatch_user #449048
AT_M4DIR="build" eautoreconf
elibtoolize
epatch "${FILESDIR}/config.layout.patch"
}
src_configure() {
local myconf=()
[[ ${CHOST} == *-mint* ]] && export ac_cv_func_poll=no
if use older-kernels-compatibility; then
local apr_cv_accept4 apr_cv_dup3 apr_cv_epoll_create1 apr_cv_sock_cloexec
export apr_cv_accept4="no"
export apr_cv_dup3="no"
export apr_cv_epoll_create1="no"
export apr_cv_sock_cloexec="no"
fi
if tc-is-cross-compiler; then
# The apache project relies heavily on AC_TRY_RUN and doesn't
# have any sane cross-compiling fallback logic.
export \
ac_cv_file__dev_zero="yes" \
ac_cv_func_sem_open="yes" \
ac_cv_negative_eai="yes" \
ac_cv_o_nonblock_inherited="no" \
ac_cv_struct_rlimit="yes" \
ap_cv_atomic_builtins="yes" \
apr_cv_accept4="yes" \
apr_cv_dup3="yes" \
apr_cv_epoll="yes" \
apr_cv_epoll_create1="yes" \
apr_cv_gai_addrconfig="yes" \
apr_cv_mutex_recursive="yes" \
apr_cv_mutex_robust_shared="yes" \
apr_cv_process_shared_works="yes" \
apr_cv_pthreads_lib="-pthread" \
apr_cv_sock_cloexec="yes" \
apr_cv_tcp_nodelay_with_cork="yes"
fi
if use urandom; then
myconf+=( --with-devrandom=/dev/urandom )
elif (( ${CHOST#*-hpux11.} <= 11 )); then
: # no /dev/*random on hpux11.11 and before, $PN detects this.
else
myconf+=( --with-devrandom=/dev/random )
fi
tc-is-static-only && myconf+=( --disable-dso )
# shl_load does not search runpath, but hpux11 supports dlopen
[[ ${CHOST} == *-hpux11* ]] && myconf+=( --enable-dso=dlfcn )
if [[ ${CHOST} == *-solaris2.10 ]]; then
case $(<$([[ ${CHOST} != ${CBUILD} ]] && echo "${EPREFIX}/usr/${CHOST}")/usr/include/atomic.h) in
*atomic_cas_ptr*) ;;
*)
elog "You do not have Solaris Patch ID "$(
[[ ${CHOST} == sparc* ]] && echo 118884 || echo 118885
)" (Problem 4954703) installed on your host ($(hostname)),"
elog "using generic atomic operations instead."
myconf+=( --disable-nonportable-atomics )
;;
esac
fi
econf \
--enable-layout=gentoo \
--enable-nonportable-atomics \
--enable-posix-shm \
--enable-threads \
$(use_enable static-libs static) \
"${myconf[@]}"
}
src_compile() {
if tc-is-cross-compiler; then
# This header is the same across targets, so use the build compiler.
emake tools/gen_test_char
tc-export_build_env BUILD_CC
${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} \
tools/gen_test_char.c -o tools/gen_test_char || die
fi
emake
if use doc; then
emake dox
fi
}
src_install() {
default
# Prallel install breaks since apr-1.5.1
#make -j1 DESTDIR="${D}" install || die
prune_libtool_files --all
if use doc; then
dohtml -r docs/dox/html/*
fi
# This file is only used on AIX systems, which Gentoo is not,
# and causes collisions between the SLOTs, so remove it.
# Even in Prefix, we don't need this on AIX.
rm -f "${ED}usr/$(get_libdir)/apr.exp"
}

@ -1,19 +0,0 @@
http://www.mail-archive.com/dev@apr.apache.org/msg25738.html
--- apr-1.5.1/Makefile.in
+++ apr-1.5.1/Makefile.in
@@ -129,11 +129,11 @@
etags:
etags `find . -name '*.[ch]'`
-make_tools_dir:
+OBJECTS_gen_test_char = tools/gen_test_char.lo $(LOCAL_LIBS)
+tools/gen_test_char.lo: tools/gen_test_char.c
$(APR_MKDIR) tools
+ $(LT_COMPILE)
-OBJECTS_gen_test_char = tools/gen_test_char.lo $(LOCAL_LIBS)
-tools/gen_test_char.lo: make_tools_dir
tools/gen_test_char@EXEEXT@: $(OBJECTS_gen_test_char)
$(LINK_PROG) $(OBJECTS_gen_test_char) $(ALL_LIBS)

@ -1 +1 @@
DIST v4.4.1.tar.gz 1515106 SHA256 3a082d92a3cb0cd724bc1190d24cc39752bd3db35d22115fda03d2e91ccd94cd SHA512 5e3463061110f81ad145dccf566f8308eed7bfd6711af59461b59903dd77b20963df3dd0f0ec8fc925837e76b658352b420b1ce210c4c91a4cb128a4d5f83056 WHIRLPOOL 1eff40644b4284615f8011e4fd516005381468d651a2675c0e4b46b2b34a9986a5c242590314ef04ebe8528e6ee9090c07830d868de6fed84a0c244ad5ebf28d
DIST hyperscan-4.4.1.tar.gz 1515106 SHA256 3a082d92a3cb0cd724bc1190d24cc39752bd3db35d22115fda03d2e91ccd94cd SHA512 5e3463061110f81ad145dccf566f8308eed7bfd6711af59461b59903dd77b20963df3dd0f0ec8fc925837e76b658352b420b1ce210c4c91a4cb128a4d5f83056 WHIRLPOOL 1eff40644b4284615f8011e4fd516005381468d651a2675c0e4b46b2b34a9986a5c242590314ef04ebe8528e6ee9090c07830d868de6fed84a0c244ad5ebf28d

@ -6,7 +6,7 @@ EAPI=5
inherit cmake-utils
DESCRIPTION="High-performance regular expression matching library"
SRC_URI="https://github.com/01org/hyperscan/archive/v${PV}.tar.gz"
SRC_URI="https://github.com/01org/hyperscan/archive/v${PV}.tar.gz -> ${P}.tar.gz"
HOMEPAGE="https://01.org/hyperscan"
LICENSE="BSD"

@ -6,7 +6,7 @@ EAPI=5
inherit cmake-utils
DESCRIPTION="High-performance regular expression matching library"
SRC_URI="https://github.com/01org/hyperscan/archive/v${PV}.tar.gz"
SRC_URI="https://github.com/01org/hyperscan/archive/v${PV}.tar.gz -> ${P}.tar.gz"
HOMEPAGE="https://01.org/hyperscan"
LICENSE="BSD"

@ -2,3 +2,4 @@ DIST jemalloc-2.2.5.tar.bz2 224118 SHA256 efcc9636757bd7f53a0fde084c2988bfe26f28
DIST jemalloc-3.3.1.tar.bz2 252997 SHA256 35c433cc1df5cdf9eb58b7980338552fc1d7aa64f89fe5643a972ccedb7cf20a SHA512 32814e8678af4954e26c0c0a0e5d06aba8f3844205fe212c5e41929dfab6a94ff11127a9238b5c18d72749827c467ecb874b8f3a9bc161cf1afdf4ea84c58690 WHIRLPOOL 35e8948e18ea7111ae830a8245be995b35f44ed2c2f687f706ee6941c78350c2cfaabefba223c4433069de47a9f92d621feaf176ec0c728e513e5f076e5fc874
DIST jemalloc-3.6.0.tar.bz2 338964 SHA256 e16c2159dd3c81ca2dc3b5c9ef0d43e1f2f45b04548f42db12e7c12d7bdf84fe SHA512 ebe7c64558a87a735b5906d5cb7527c241664eeae7328538675a12eabe7a1004be0f8766a3bd2a78e61334b196ca7ffc0ee8b8ff59167922a35f126cd1e76e43 WHIRLPOOL d5452005951b10d9d529349481779d79361ec8d8ac1f36f4b54408b5e0184f35d79fee8378188d98f1b8e41ae13557a2cf41ab849b68856ba69f33870fe6e980
DIST jemalloc-4.4.0.tar.bz2 440144 SHA256 a7aea63e9718d2f1adf81d87e3df3cb1b58deb86fc77bad5d702c4c59687b033 SHA512 2f88fb17ede3bf87e334e9c80949870e0dd85b5adcdd89a1750ccf6df5240f35293159ac0a360d3a29cf0b1d17edf86dcc7997c6bf3190ae7da7442d3a3cc14e WHIRLPOOL 1485ce6cf08ee2233117e281d1a61f376d2b6c73f28c68f2cc1956471bcb56a4eef045c0011de141b669d94d7339de5e79860f6b21bfbeffab821d5eb528759c
DIST jemalloc-4.5.0.tar.bz2 449992 SHA256 9409d85664b4f135b77518b0b118c549009dc10f6cba14557d170476611f6780 SHA512 76953363fe1007952232220afa1a91da4c1c33c02369b5ad239d8dd1d0792141197c15e8489a8f4cd301b08494e65cadd8ecd34d025cb0285700dd78d7248821 WHIRLPOOL 33dc51258d6d27942b656fc355cdde24becf0cd50a507375dd51b2fa6c55a6444ff21bcdae0ebe4fae8d2e95fa31989f5cf8bd435a7a59385ebb225a0a4441fe

@ -0,0 +1,25 @@
From c04d0b954adef2d3f1a30d91dc687f6a03b108eb Mon Sep 17 00:00:00 2001
From:
Date: Mon, 29 May 2017 00:58:32 -0500
Subject: [PATCH 2/2] Do not install html doc
---
Makefile.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.in b/Makefile.in
index e49a871..733932a 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -381,7 +381,7 @@ install_doc_man:
$(INSTALL) -m 644 $$d $(MANDIR)/man3; \
done
-install_doc: install_doc_html install_doc_man
+install_doc: install_doc_man
install: install_bin install_include install_lib install_doc
--
2.13.0

@ -0,0 +1,35 @@
From c568271163445e380679788388f1cb1edbdeaf88 Mon Sep 17 00:00:00 2001
From:
Date: Mon, 29 May 2017 00:57:15 -0500
Subject: [PATCH 1/2] Strip all optimization, let portage handle.
---
configure.ac | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/configure.ac b/configure.ac
index 20a8a64..d8af618 100644
--- a/configure.ac
+++ b/configure.ac
@@ -851,18 +851,6 @@ if test "x$enable_ivsalloc" = "x1" ; then
AC_DEFINE([JEMALLOC_IVSALLOC], [ ])
fi
-dnl Only optimize if not debugging.
-if test "x$enable_debug" = "x0" ; then
- if test "x$GCC" = "xyes" ; then
- JE_CFLAGS_ADD([-O3])
- JE_CFLAGS_ADD([-funroll-loops])
- elif test "x$je_cv_msvc" = "xyes" ; then
- JE_CFLAGS_ADD([-O2])
- else
- JE_CFLAGS_ADD([-O])
- fi
-fi
-
dnl Enable statistics calculation by default.
AC_ARG_ENABLE([stats],
[AS_HELP_STRING([--disable-stats],
--
2.13.0

@ -0,0 +1,59 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools toolchain-funcs multilib-minimal
DESCRIPTION="Jemalloc is a general-purpose scalable concurrent allocator"
HOMEPAGE="http://www.canonware.com/jemalloc/"
SRC_URI="https://github.com/jemalloc/jemalloc/releases/download/${PV}/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0/2"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
IUSE="debug hardened static-libs stats"
HTML_DOCS=( doc/jemalloc.html )
PATCHES=( "${FILESDIR}/${PN}-4.5.0-strip-optimization.patch"
"${FILESDIR}/${PN}-4.5.0-fix_html_install.patch"
)
MULTILIB_WRAPPED_HEADERS=( /usr/include/jemalloc/jemalloc.h )
# autotools-utils.eclass auto-adds configure options when static-libs is in IUSE
# but jemalloc doesn't implement them in its configure; need this here to
# supress the warnings until automagic is removed from the eclass
QA_CONFIGURE_OPTIONS="--enable-static --disable-static --enable-shared --disable-shared"
src_prepare() {
default
eautoreconf
}
multilib_src_configure() {
local myconf=()
if use hardened ; then
myconf+=( --disable-syscall )
fi
ECONF_SOURCE="${S}" \
econf \
$(use_enable debug) \
$(use_enable stats) \
"${myconf[@]}"
}
multilib_src_install() {
# Copy man file which the Makefile looks for
cp "${S}/doc/jemalloc.3" "${BUILD_DIR}/doc" || die
emake DESTDIR="${D}" install
}
multilib_src_install_all() {
if [[ ${CHOST} == *-darwin* ]] ; then
# fixup install_name, #437362
install_name_tool \
-id "${EPREFIX}"/usr/$(get_libdir)/libjemalloc.1.dylib \
"${ED}"/usr/$(get_libdir)/libjemalloc.1.dylib || die
fi
use static-libs || find "${ED}" -name '*.a' -delete
}

@ -0,0 +1,42 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit multilib-minimal
DESCRIPTION="An library to provide useful functions commonly found on BSD systems"
HOMEPAGE="https://libbsd.freedesktop.org/wiki/"
SRC_URI="https://${PN}.freedesktop.org/releases/${P}.tar.xz"
LICENSE="BSD BSD-2 BSD-4 ISC"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="static-libs"
DEPEND=">=sys-kernel/linux-headers-3.17"
RDEPEND=""
pkg_setup() {
local f="${EROOT}/usr/$(get_libdir)/${PN}.a"
local m="You need to remove ${f} by hand or re-emerge sys-libs/glibc first."
if ! has_version ${CATEGORY}/${PN}; then
if [[ -e ${f} ]]; then
eerror "${m}"
die "${m}"
fi
fi
}
multilib_src_configure() {
# The build system will install libbsd-ctor.a despite of USE="-static-libs"
# which is correct, see:
# https://cgit.freedesktop.org/libbsd/commit/?id=c5b959028734ca2281250c85773d9b5e1d259bc8
ECONF_SOURCE="${S}" econf $(use_enable static-libs static)
}
multilib_src_install() {
emake DESTDIR="${D}" install
find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
rm "${ED%/}"/usr/share/man/man3/explicit_bzero.3 || die # 617462
}

@ -1,3 +1,4 @@
DIST qcheck-0.5.2.tar.gz 154637 SHA256 4ec34a0b3a241d41f9af2d7f4fb3947dba3646856b8db252c66c7380d7f3e316 SHA512 35350914bb37f677b029293922fcc6cd9dfb2e6871665dfaace17c61f468c9dd052870d62b0cdb80912430142f80625b89c615dbd7e572c0dce5754217900883 WHIRLPOOL 3b7f8a51335bdad443ca65f690ce39e9cd9e9c2c8cf14c52c9a836bab1fcda4bb26853f6703a4c58e08e0ff3690816683bd880a18f753607fb5df2d55c00b12a
DIST qcheck-0.5.3.1.tar.gz 212613 SHA256 46c1d1cab40e85b07eed1ff5a4b0ae3c6bfa62ad8d8d4d4af13986c5cabb41ff SHA512 7c13923b39be2de04a11bca9e7bb91da81319113a601af0939a54835c0b6021d1b21f36211eb5755faa46f84dc7c04d857e775b8dd57c97b056152a85e07c113 WHIRLPOOL 63b0724bad0e6dfbac7b4b1425b2b8a136c5eb4d778770c0b8101513a090b2c3f0f0d9f42d8e12718bcf611e5433de074400a7c4f5f9d8930806570321ac7413
DIST qcheck-0.5.3.tar.gz 179444 SHA256 297afc9a68d1873ea4bfbd74da42df9e69b368712f3ba81ab135b6c8761967ac SHA512 ede60f87b4cdf63e123aa7f2b9c8370d8538077eaea41e32439610bebdd990d539dc54db8a41c94b506a8a18235636031a49b1985dd1c4e05ae13509d27a1290 WHIRLPOOL befffb59bcef9253a7625caccf85546d3db968397e9e934c4ab557c22ad67c72a11a1d0dddaafca66ca665f717b6a6782a8dd624b788b1602f2d9f63acad27ea
DIST qcheck-0.6.tar.gz 255625 SHA256 0293b859ae67a2ec58735331c73ac157b5bad380da8538181418410175a8391b SHA512 e4298f00c49febe36ae64f287e032081bb2d7713d9412db95441d6b84fb3030f45d07519369ba00be81615a737dc45a246d609772b318084a2b2a28e77e05e1c WHIRLPOOL ca120e08c01c02a8aaf8ecba534db7616b6c0dd255191d72d2c2b989157822f2be6a891f02267cc378d9a0beaee28ace3a2696d29dfd57db45268182e4e8c9ef

@ -0,0 +1,23 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
OASIS_BUILD_TESTS=1
OASIS_BUILD_DOCS=1
inherit oasis
DESCRIPTION="QuickCheck inspired property-based testing for OCaml"
HOMEPAGE="https://github.com/c-cube/qcheck/"
SRC_URI="https://github.com/c-cube/qcheck/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="dev-ml/ounit:=
!<dev-ml/iTeML-2.5"
DEPEND="${RDEPEND}
dev-ml/ocamlbuild"

@ -1,3 +1 @@
DIST reason-1.13.3.tar.gz 10253108 SHA256 b92840f8238dd6266c5678da3e4dc832776bcc98990ac47773020e34dce708a6 SHA512 82398fbbf72bcadfc868e5f33e8666ef80ef610f8313d08bc16593944569b7a16693fcc6397a117518bf8e32f71083f0ac4a416112f97cd220715f4293136b84 WHIRLPOOL a82dd8e28a012ed0716fba6bc79eee849110bfb42cd8221eb15847cadae90d62d909e635f3da465c6220382d6eee62f2f69a739d96d3d6a5baddc58623cd059e
DIST reason-1.13.4.tar.gz 6856260 SHA256 07b0f4a471b570b9f6ee699016d2fb9d98788d1ccfb428a2b2f20f1ee6f42b9e SHA512 ee2270ffbb3c3c818aafec2ef0f23f3741e66e5b077b3a84b49b357b003d24d639165c521bf0afe92bf81ef626ed6d863ea6d097b83a2e1b5a0349a679cc8c7f WHIRLPOOL ffc8b96ce5b653c1d78877f0422315cce3d42615b88bb6f09f52d3af9799fe30ed221094a5acbc49448f0d1e865b1702a2b5956a8d327a22b2db01eb33aa0da7
DIST reason-1.13.5.tar.gz 6681110 SHA256 d769e15e507ae401e5f7d8e59a1c327729824dd9914d05d7fe0ee51c84afeb2f SHA512 e47836281fb36094358f746b3460ac9671782fbf51058b220f5fe2be060592db75b688c917e162345c3fdcf8822d9b7fad0483ae274a97ccf640bdd7853510a9 WHIRLPOOL 21e86a487263735af8968577f4b3dc8fb4492c9b831b24e27faf30d421e0e164342bc76661fa674c90a2bb78b911639ea12e5eb7562cb6144c6b0d414844e4fe

@ -0,0 +1,17 @@
commit a8cfc8636ac2ab3292156d0038d54af730a59007
Author: Cristiano Calcagno <cristianoc@fb.com>
Date: Tue May 30 16:23:57 2017 +0200
Fix utop compilation
diff --git a/_tags b/_tags
index ac43e8d..788a36e 100644
--- a/_tags
+++ b/_tags
@@ -1,5 +1,6 @@
true: warn(@5@8@10@11@12@14@23-24@26@29@40), bin_annot, safe_string, debug
+<src/reason_utop.ml>: thread
<editorSupport/**>: -traverse
<node_modules/**>: -traverse
<bspacks/**>: -traverse

@ -1,42 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="Meta Language Toolchain"
HOMEPAGE="https://github.com/facebook/reason"
SRC_URI="https://github.com/facebook/reason/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="+ocamlopt"
DEPEND="
dev-lang/ocaml:=[ocamlopt?]
dev-ml/reason-parser:=
dev-ml/merlin-extend:=
dev-ml/result:=
dev-ml/topkg:=
dev-ml/ocaml-migrate-parsetree:=
dev-ml/utop:=
"
RDEPEND="${DEPEND}"
DEPEND="${DEPEND}
dev-ml/findlib
dev-ml/ocamlbuild
dev-ml/opam"
src_compile() {
emake precompile
emake build
}
src_install() {
opam-installer -i \
--prefix="${ED}/usr" \
--libdir="${D}/$(ocamlc -where)" \
--docdir="${ED}/usr/share/doc/${PF}" \
--mandir="${ED}/usr/share/man" \
${PN}.install || die
}

@ -1,42 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="Meta Language Toolchain"
HOMEPAGE="https://github.com/facebook/reason"
SRC_URI="https://github.com/facebook/reason/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="+ocamlopt"
DEPEND="
dev-lang/ocaml:=[ocamlopt?]
dev-ml/reason-parser:=
dev-ml/merlin-extend:=
dev-ml/result:=
dev-ml/topkg:=
dev-ml/ocaml-migrate-parsetree:=
dev-ml/utop:=
"
RDEPEND="${DEPEND}"
DEPEND="${DEPEND}
dev-ml/findlib
dev-ml/ocamlbuild
dev-ml/opam"
src_compile() {
emake precompile
emake build
}
src_install() {
opam-installer -i \
--prefix="${ED}/usr" \
--libdir="${D}/$(ocamlc -where)" \
--docdir="${ED}/usr/share/doc/${PF}" \
--mandir="${ED}/usr/share/man" \
${PN}.install || die
}

@ -27,6 +27,8 @@ DEPEND="${DEPEND}
dev-ml/ocamlbuild
dev-ml/opam"
PATCHES=( "${FILESDIR}/utop.patch" )
src_compile() {
emake precompile
emake build

@ -1,2 +1,3 @@
DIST utop-1.19.3.tar.gz 105213 SHA256 9dbca07b8c55700473cca1d9dd975abb9c6cd03e715dec4857f1249bee16e09b SHA512 97b3fec8b6f930efa742230058eba6fb846900d71e5758903dcefe03fa08e93b54e32642a5b8b6ad02aed7e81ccd6146e87a92805eb74aa4fae275a1188818cd WHIRLPOOL 470e5739639440b11905fbd4f755643aa3117f9fe76690723df7e2fba07e1bdcfcb7ad796a9dc2d00b3be3a6f0eba1afa335ce826a8c715ac40681ad38165599
DIST utop-2.0.0.tar.gz 57421 SHA256 0a69e5ec055db223cf878d7fdda3b389dc5d42649cc99b5877db507767ce52b6 SHA512 12def269f18be292645d6339f80ffe85823d8095940acb57a03f99ea3f2fe2559662921e3a38d6381ec7246245164b5e2c6b5fc843bdb4fd07ad2377c73da207 WHIRLPOOL 8baf739295132c785d55001bba2aabe24e0f4b3e78214be3a3ac19ffa8baa80ab513d31225500f2dc18018284267be6a235d012f32d7e6c68c829e98358f1410
DIST utop-2.0.1.tar.gz 57523 SHA256 5a93793a3a33724716bdb8e6829eaa85a792c5f5939eb86f5d8bbf1df85f42ec SHA512 66e7858a44ddd038f08073f9530c790f3ad44134899793c9f5e689d0e1786d2e2751bf38c6be33979292942b00dd6ff2db421025e12f49e05c4a694df36d23e3 WHIRLPOOL bfb06654e52f124739eeeb1568157d6377f8749eddaaf5c0761056da5754a486f9db0f89a21d60c1030be88400bd1cf5782c58337421c56412ea8b5b7631ed9f

@ -0,0 +1,41 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit findlib
DESCRIPTION="A new toplevel for OCaml with completion and colorization"
HOMEPAGE="https://github.com/diml/utop"
SRC_URI="https://github.com/diml/utop/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE=""
DEPEND="
dev-lang/ocaml:=
>=dev-ml/lwt-2.4.0:=
dev-ml/lwt_react:=
>=dev-ml/lambda-term-1.2:=
>=dev-ml/zed-1.2:=
>=dev-ml/cppo-1.0.1:=
dev-ml/findlib:=
"
RDEPEND="${DEPEND}"
DEPEND="${DEPEND}
dev-ml/opam
dev-ml/jbuilder"
DOCS=( "CHANGES.md" "README.md" )
SITEFILE="50${PN}-gentoo.el"
src_install() {
opam-installer -i \
--prefix="${ED}/usr" \
--libdir="${D}/$(ocamlc -where)" \
--docdir="${ED}/usr/share/doc/${PF}" \
--mandir="${ED}/usr/share/man" \
${PN}.install || die
}

@ -0,0 +1,50 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DIST_AUTHOR=DJZORT
DIST_VERSION=4.4002
DIST_EXAMPLES=("eg/*")
inherit perl-module
DESCRIPTION="A client for the Bugzilla web services API."
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="
dev-perl/DateTime-Format-ISO8601
dev-perl/DateTime-Format-Strptime
dev-perl/DateTime-TimeZone
virtual/perl-Encode
virtual/perl-File-Spec
dev-perl/HTTP-CookieJar
virtual/perl-HTTP-Tiny
virtual/perl-MIME-Base64
dev-perl/URI
dev-perl/XML-Parser
dev-perl/XML-Writer
virtual/perl-parent
"
DEPEND="${RDEPEND}
>=dev-perl/Module-Build-0.280.0
virtual/perl-ExtUtils-MakeMaker
test? (
>=virtual/perl-CPAN-Meta-2.120.900
dev-perl/Clone
virtual/perl-Data-Dumper
dev-perl/DateTime
dev-perl/IO-Socket-SSL
dev-perl/Test-RequiresInternet
virtual/perl-Test-Simple
dev-perl/Text-Password-Pronounceable
)
"
src_test() {
has network ${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}} && export TEST_AUTHOR=1
perl_rm_files t/author-* t/release-*
perl-module_src_test
}

@ -1,3 +1,4 @@
DIST BZ-Client-1.072.tar.gz 32692 SHA256 4f39e7739af68df67231719865e579b08d0bf1befebee69aad8015b229388f1a SHA512 d26c7e03d62013e5b308e33920e350ddaf5f93cc7a2939f1a6cee6746fa8e25138fad31454c0f0b8c1f4834ec939226b98d472891c0c1f22120e18a751755898 WHIRLPOOL 3415f6ad89d477c7c2fc2291428ee8144d57ee705af749c79f9b257054ccaca4510a53e79fd30f494f056891852f2c3cd098e14a393617ea2ff9f77833652a48
DIST BZ-Client-4.4.tar.gz 64706 SHA256 74d821f512ef50fc1e943b8b4170ed0f496a41e49b93960f7793cb5d23b8835b SHA512 b3967179ba9f8139cb1921ffa1b154fdc0fced8a80425db4780eb940499bf62fd669da32673ee176ed65fbe47d168548fa267813cb42264cb9207a3c807e3ed8 WHIRLPOOL eb4d1c195897e891feecd8014e017ebe520ff1584ed3dcfa436822c85a281a208766f05916d01db1134f6d500f9793aed4e54bdce11b166f5d10526ab03d9911
DIST BZ-Client-4.4001.tar.gz 79167 SHA256 c8bc81eefdc48f029cdcc3a18d3ad268de7e43f8a4d1cb3e120ec5669ecfde9b SHA512 36eb0f50e0d3a88a4ef49c3fe277bf12dc86dfbd5ad0cfe869ca68962c4c8bc1601a7ac16c817488c9700f92932a8e900a3ae9641b21042a08dcf939f4e367aa WHIRLPOOL a47697fda011d53bc6a0471067165417ed9e02a061fc03f3d1cb6a3107de18dbf5e203e4eb7839405a7f7613d72f58f182b6b34f57f3e8f49f2cb90694706809
DIST BZ-Client-4.4002.tar.gz 83998 SHA256 da7faf460ca71770a5872345d48dc9282e09e596602dcde86a3d9cd185e2d5cb SHA512 7027554b423c114396d338a6f477f5f8c36077735e3586ee293ce1a4beed189479b9c33554f8af1532e096b5b3b9a0720efbe4390392ebd503af70ce2ec3844d WHIRLPOOL 4eedcf95fe232681f72fc3781bbc6ca25ffe9736260e335d3244d6833909f33cc55fa8a02e00b8f99ec666a8b51f7bf3cddc9740ac43751d4f6ec1ae4890a663

@ -28,6 +28,7 @@
<remote-id type="cpan-module">BZ::Client::XMLRPC::Response</remote-id>
<remote-id type="cpan-module">BZ::Client::XMLRPC::Struct</remote-id>
<remote-id type="cpan-module">BZ::Client::XMLRPC::Value</remote-id>
<remote-id type="cpan-module">BZ::Client::XMLRPC::base64</remote-id>
<remote-id type="cpan-module">BZ::Client::XMLRPC::boolean</remote-id>
<remote-id type="cpan-module">BZ::Client::XMLRPC::double</remote-id>
<remote-id type="cpan-module">BZ::Client::XMLRPC::int</remote-id>

@ -1,34 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DIST_AUTHOR=CJFIELDS
DIST_VERSION=1.70
DIST_EXAMPLES=("examples/*")
inherit perl-module
DESCRIPTION="Regular expression-based Perl Parser for NCBI Entrez Gene"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="
virtual/perl-Carp
virtual/perl-parent
>=sci-biology/bioperl-1.6.0
"
DEPEND="${RDEPEND}
>=virtual/perl-ExtUtils-MakeMaker-6.300.0
test? (
virtual/perl-File-Spec
virtual/perl-IO
virtual/perl-Test-Simple
)
"
src_test() {
perl_rm_files t/release-{eol,mojibake,no-tabs,pod-{coverage,syntax}}.t
perl-module_src_test
}

@ -1,21 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
MODULE_AUTHOR=MINGYILIU
MODULE_VERSION=1.091
MODULE_A_EXT=tgz
inherit perl-module
DESCRIPTION="Regular expression-based Perl Parser for NCBI Entrez Gene"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
DEPEND=">=sci-biology/bioperl-1.6.0"
RDEPEND="${DEPEND}"
SRC_TEST="do"
S="${WORKDIR}/${PN}-1.09"

@ -1,3 +1 @@
DIST Bio-ASN1-EntrezGene-1.091.tgz 36360 SHA256 a053fb71906fa58cbd6a80af1e3d4d9142f6a1fc99b642a6065f9a8ce93ad2bc SHA512 01c58cc3afe1fb9df1e9db43dbf0ed53fe4dcd953728d6363d2488b0319b9cabe444ec2856ae8922cb8eb16fe5709f7353f715681e098498c1a203699fb21960 WHIRLPOOL e1102f45e37c896dae90df58d99b97b8d9af22babc9298b95a4c2f2490a824926db6bd0517c85c42b00b204ff702c761d7ece8f6e3c04e656df858e4f97e033d
DIST Bio-ASN1-EntrezGene-1.70.tar.gz 46969 SHA256 342ce97702e101da813e76221e15414be3fd608fc9059fcc36a141d939048dfb SHA512 72ab5d1741bfd699bb38496590d267fc29f1d75e462ee9586a3ee01b0a0741bd1de5ad41d8e47a7afce993caa2bbea2ae2e8b7c716f727c1d65a66a860a3f8cf WHIRLPOOL a0d6a8ae24bc8f1d7ddfeb81293fbef491ac39189ec6925662dcd7307bb4c4ab07b42d77f2a756edd1143039e45952985f6bd0194ba62815b3a49a49d4ee1739
DIST Bio-ASN1-EntrezGene-1.72.tar.gz 49080 SHA256 7f55f69cccfab37d976338ed77d245a62a44b03b7b9954484d8976eab14d575b SHA512 eb8d2c76d0a77febafb7f06e276de3e9d0c9128e1b14e3899edaca25d6c00fffd11a9b0e589ed143bd5ec7807d18c2df599b0cd95e5c77cb20787f6df8c0b315 WHIRLPOOL d09e6f7aca6c0767eb95f04de8f17282200759b68556dbc3cdf815c4b4a66b7680585dec2a23faf39b533a7fac184d706bfe44e538b0da4482419a2627fe089a

@ -0,0 +1,27 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DIST_AUTHOR=BINGOS
DIST_VERSION=3.20
inherit perl-module
DESCRIPTION="Mapping Perl releases on CPAN to the location of the tarballs"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND=""
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? (
virtual/perl-File-Spec
virtual/perl-IO
>=virtual/perl-Test-Simple-0.470.0
)
"
src_test() {
perl_rm_files t/author-pod-coverage.t t/author-pod-syntax.t
perl-module_src_test
}

@ -9,3 +9,4 @@ DIST CPAN-Perl-Releases-3.08.tar.gz 24908 SHA256 2e89244eb1aedc7fae2a77727a6cb39
DIST CPAN-Perl-Releases-3.12.tar.gz 24920 SHA256 5a995fba2f998b878e5c5642894b0cecc9f99cdd2986f62e17a81aa466ec9601 SHA512 3300ef63fba18eb8448204884335ede9e1d35a4bf6a1b52892b59adcde9211ef15fd041bd3f15053050b4798aff581689d98785f96ad1757da4df9e00afbd62d WHIRLPOOL 6f6e9b4c24cc341abf64766edad7f3388c9037e027ddc8b1a219f16bdc5365a78fb23e4db08ec7f866ca25074b6bf849e28a83fc20f52a77dce66a29bbd1e719
DIST CPAN-Perl-Releases-3.16.tar.gz 24999 SHA256 59065fccd8502a65fbe3bf03ad8e4ca0ba689261a7cfc089cf4fb2a81f2df06f SHA512 129126320adbc7470946675dc3d9323030209b9ac3baef414cf1e72a6c843f6efe845de42dcf7400d6382c74a1b0ddd9eb818f4abd73e65363b67fcac90f2f59 WHIRLPOOL acaf98c070a2232bb1ff5f5abaece117173b5835a9ad5ad2735ba869c3e5affa6412866ed317bace877af28af4cb63def429d77c9a90be78c45cf4bd8f373414
DIST CPAN-Perl-Releases-3.18.tar.gz 24827 SHA256 c9d4ebd3dacab6dc25ff79a234a406821ee23a483a062becf7a98ed4d01e04ba SHA512 be3faa12f47b336480e2f5806334f5c8c03f5cec94c1cd6042125f07c2c1f98340cb79ed39a8de6a82956ef1a08434da1440a0af6bbf1fc7da821d416ec86626 WHIRLPOOL d5c492349015c89216b93c4085657d92b879e8ad446ccd156137e1a8187dd889c00710dd71396005394197daff43cd3747362a3b7126f4a0e7c8b34ffbaa9bc0
DIST CPAN-Perl-Releases-3.20.tar.gz 24849 SHA256 8cc19b619d1e3f448a9b1ad233c194d62409d4f5d9ab78fe9630653d576481f8 SHA512 205e2a81be88464fa932f564076ac502229990afe6eb2967d357fee3ec18716a7d4d538ec088d8fd354f1cf8bdd5fa4699a29d2014a22a0f185685d4db135606 WHIRLPOOL c878dd2f5d93f297582cfa750373f7c4ebd107bbb6581145a28c41a8f15f2c03891fd8400500a1082c33f7430dbe062cc9f597d6f441e43f659ef4e9e3ba7b9f

@ -0,0 +1,43 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DIST_AUTHOR=PALIK
DIST_VERSION=2.004.007
inherit perl-module
DESCRIPTION="Gearman distributed job system, client and worker libraries"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="test"
RDEPEND="
virtual/perl-Carp
virtual/perl-IO
virtual/perl-IO-Socket-IP
dev-perl/IO-Socket-SSL
dev-perl/List-MoreUtils
virtual/perl-Scalar-List-Utils
virtual/perl-Socket
virtual/perl-Storable
dev-perl/String-CRC32
virtual/perl-Time-HiRes
>=virtual/perl-version-0.770.0
"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? (
dev-perl/File-Which
virtual/perl-Perl-OSType
>=dev-perl/Proc-Guard-0.70.0
dev-perl/Test-Differences
dev-perl/Test-Exception
virtual/perl-Test-Simple
>=dev-perl/Test-TCP-2.170.0
dev-perl/Test-Timer
)
"
mydoc="CHANGES HACKING TODO"

@ -2,3 +2,4 @@ DIST Gearman-2.003.002.tar.gz 45859 SHA256 4353b9210e711349a97c4c13c0130585fd428
DIST Gearman-2.004.002.tar.gz 46165 SHA256 b520d3aefc989164e8e023b978abb926207a73789b4223ab3db5e12e8e685d57 SHA512 9101582ffe3bc89bc842a57f5445e1dbf0f5459144c3979656768356a457a8b7d43a75057513909eb09b1590956959afc508f46734efd6cccfd701eabbec18dc WHIRLPOOL 2901dc732b935a6e763bb1d5f4e232b7a2e9ddf6223932fe18fe107885fd7919e23887a6b2d682a9db8d03107663c750b570d26c525f220df1f053f62fc9cd70
DIST Gearman-2.004.003.tar.gz 46222 SHA256 34441d73e26556065362ba02ba9921b001cca603762b7d846fcd29ae169f2d2e SHA512 6860e1795f795ab5d08098ba6b9fa96ef5ce1893041971e29757ce6d0a27e385cab5e9ea670ae6522a092a414bd108894c4f0e91f885b66341ade37c22be24a9 WHIRLPOOL e99e866eca2830c169485912f2f02bc952c1c450de077d7f26a588615d3bd2096a07fad48f356cb26ef83dc2a3eb5f2ac437fb58e27c0c2982a1e27a7c0db2e2
DIST Gearman-2.004.006.tar.gz 46875 SHA256 caff2baaaa53b21520c4960b502533519d067167f8249f4f004695e7fa794990 SHA512 e2d4f1c70eeea985d7b437bfd01f7b560b576f61e6f82638cb7c93c8a0f45819ba6477d0fb4edd4f12f19d1667896b4165195c72531bf3856368aac174cb66c4 WHIRLPOOL a94ae2fcf5ba7bd8135f15987d9d541024d9c3716ca1b70b5a16ae2d74cc598eb17ad74d2f1e6f0f462004884ec6405deabd0396a15b7cd0c214687e9d3926bf
DIST Gearman-2.004.007.tar.gz 46892 SHA256 b8284531a40d660901d44fa9b6f670ff738ef4d766ea6e12c3a963eab153f34d SHA512 fcfdaa9b0c7a8699639833d1d9d424a6b8784aed8c37930f8d329dae5e2ae9b5ddd1f33c7f1fa379132300fc99dcb1b2df2af56d2110fecf64a84115b3dda5bc WHIRLPOOL e5b68e3e3a9f7ee357349b02ac47feb5763bfa6851280e9c5d29c44197ad207bdedb633316138872ce98dc1597ccdded901060fd470e82fe7242d070ff825f75

@ -0,0 +1,43 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DIST_AUTHOR=TINITA
DIST_VERSION=0.78
DIST_EXAMPLES=("example/modules/*")
inherit perl-module
DESCRIPTION="C Language Support for Inline"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~sparc ~x86"
IUSE="test"
DIST_TEST="do" # parallelism thwarted by race conditions
RDEPEND="
>=virtual/perl-ExtUtils-MakeMaker-7
>=virtual/perl-File-Spec-0.800.0
>=dev-perl/Inline-0.790.0
>=dev-perl/Parse-RecDescent-1.967.9
>=dev-perl/Pegex-0.580.0
!<dev-perl/Inline-0.510.0
"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
>=dev-perl/File-ShareDir-Install-0.60.0
test? (
dev-perl/File-Copy-Recursive
virtual/perl-File-Path
>=virtual/perl-Test-Simple-0.880.0
>=dev-perl/Test-Warn-0.230.0
dev-perl/YAML-LibYAML
virtual/perl-autodie
>=virtual/perl-version-0.770.0
)
"
src_test() {
perl_rm_files t/author-*.t
perl-module_src_test
}

@ -1 +1,2 @@
DIST Inline-C-0.76.tar.gz 73384 SHA256 22e9713b4d331d3c49e4a9a9f012dbf84cec25a01e5da4f57091be287f1a9a35 SHA512 43bf0bc6addf08c4c3347b074babdc514b1d6cee052d1124c5d9d4a4b52bd0e92ac79f8393f35252a98ef337fb18a9da47cdf545b1010b3f0d9c4b7fd9eb8c6d WHIRLPOOL 097f51fde1e1b51879b04fe78d2bf2172a207c4ef8c28e3773613cb006320aeb938127fe362e3b71dccee6b52928bb281c905a768c698ab56579b4e8879a426a
DIST Inline-C-0.78.tar.gz 73695 SHA256 9a7804d85c01a386073d2176582b0262b6374c5c0341049da3ef84c6f53efbc7 SHA512 368e68dfb9f1700534d9b391090e340172e3adde5fe15576f883e9341047fec35cea8660751883b27e128ad91dda363d513547368097a989457d669bbbdc8ce4 WHIRLPOOL 24df9094372b8bc3fec6373ca2c4d0fa33f6f33a3955ffd26127ea4aaae8451125adfe9c2d22be628e62c98a2772438c9a35507a0734aea0825da16a3ad17da1

@ -5,4 +5,8 @@
<email>perl@gentoo.org</email>
<name>Gentoo Perl Project</name>
</maintainer>
<upstream>
<remote-id type="cpan">Inline-C</remote-id>
<remote-id type="cpan-module">Inline::C</remote-id>
</upstream>
</pkgmetadata>

@ -1,21 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
MODULE_AUTHOR=ILYAZ
MODULE_VERSION=1.13
MODULE_SECTION=modules
inherit perl-module
DESCRIPTION="Tag - Module for reading tags of mp3 files"
SLOT="0"
LICENSE="Artistic"
KEYWORDS="amd64 ~arm ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
IUSE=""
RDEPEND="dev-perl/MP3-Info"
DEPEND="${RDEPEND}"
SRC_TEST="do"

@ -1,2 +1 @@
DIST MP3-Tag-1.13.tar.gz 275907 SHA256 34d3c33c1efa4c4448e27a45b1689ca20a27882fb3c74c0d3588e6aa315f33ae SHA512 3dcdc186d8e2f00fc474eccadb755058fcba6cb80637c87d8565981f073bb19fa867a755de7423e3d58393bc730fe85f601f63dd928f4fe27a9fe9b80f63bfc3 WHIRLPOOL 1a0d203f0070af4f6fd5ae349f5957d7ca79795021b0f5ad1cabb8d1132f68b0fd916f4a63cbf15aa806d214e7d9339a8f9dce43b808015ad0759c44c0eb45c2
DIST MP3-Tag-1.14.tar.gz 279630 SHA256 3ec392f273ce38228ee2d7e53f7622f6f90a9c31c5079e6c9f354fb04a98c259 SHA512 05e35f024868505cfc8a07146442e248ef1e80c3c156fd1eabeb874d458356f6b391793e343a24e9e490fd537e7f280316f651b6717378c06953480d271ed2e1 WHIRLPOOL 2db6994d83dcca06d48cd82275a786b01fb9deb3c4c56b5d63eb96434aea897c91c40375c4bbe54a617902b93b2cda31d211f3b1e65d53fe5eed8ec31bf54768

@ -1,3 +1 @@
DIST Path-Tiny-0.061.tar.gz 71937 SHA256 e8290aac8c0623eea1b20b4a9d9a1be08db7f5a92ea51a514677964f3fa01cca SHA512 36efc16e8dc2046f4a0c458be464be54769ec721d09201970d7f4d9c87acb03b91f16b673e63fc8212574f47bad31f59006cc50eb242f071d271294408c397a0 WHIRLPOOL c0bf53e78b82a8f9351698de875dad339c821e3dccf5f7ee8add3ed7d3d11baacf43e5442d8481d1cdefce94da89e2d80eff28dbbaa1c6a5d6519e51a647d375
DIST Path-Tiny-0.084.tar.gz 89052 SHA256 633f463e380404d4aaa8ebdd1977b5e387256aa2770eb142b169737978749bea SHA512 c8a5853f04afdb5d8db1e8f533d4706cf1030caefbb0f1b05f0fab7b71de34a0463269ba1733f549d1c1c7a370ce88f428d108387b10c6cb56c668280e2449c6 WHIRLPOOL ecf8a851796e958520e1433a4b4e7861b6c94a8ef215a41df7392d6414d9bd9df54aa7ca87f47a13f8c234ebc71d1b8aefdc5245c9c519e8cc42ecf7aa3abf43
DIST Path-Tiny-0.104.tar.gz 93011 SHA256 c69f1dcfeb4aa004086deb9bc14c7d79f45798b947f1efbd634a3442e267aaef SHA512 6574e48645ebb4f61d45c1365e8b63cfaac6423394ba08363cfd62d3d98d163bd333d997bf5f7fd0e37ff94fcb3a3e19871eb7499b295399f048fd6a4bd3c78c WHIRLPOOL 6ca6eb2a0000e0569bf022e75044c3f1737b5d53dd2f3eb5f1038f36607612c3f6c5b459313ed6706629880509c956c0ce07bf1557de92daac7bffa3222aae0d

@ -1,39 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
MODULE_AUTHOR=DAGOLDEN
MODULE_VERSION=0.061
inherit perl-module
DESCRIPTION="File path utility"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm ~hppa ppc x86"
IUSE="test"
RDEPEND="
>=dev-perl/Unicode-UTF8-0.580.0
virtual/perl-Carp
>=virtual/perl-Digest-1.30.0
>=virtual/perl-Digest-SHA-5.450.0
virtual/perl-Exporter
>=virtual/perl-File-Path-2.70.0
>=virtual/perl-File-Spec-3.400.0
>=virtual/perl-File-Temp-0.190.0
virtual/perl-if
"
DEPEND="${RDEPEND}
>=virtual/perl-ExtUtils-MakeMaker-6.300.0
test? (
dev-perl/Devel-Hide
dev-perl/Test-Deep
virtual/perl-File-Spec
dev-perl/Test-Fatal
>=virtual/perl-Test-Simple-0.960.0
)
"
SRC_TEST=do

@ -1,40 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DIST_AUTHOR=DAGOLDEN
DIST_VERSION=0.084
inherit perl-module
DESCRIPTION="File path utility"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
IUSE="test minimal"
RDEPEND="
!minimal? (
>=dev-perl/Unicode-UTF8-0.580.0
)
virtual/perl-Carp
>=virtual/perl-Digest-1.30.0
>=virtual/perl-Digest-SHA-5.450.0
>=virtual/perl-Exporter-5.570.0
>=virtual/perl-File-Path-2.70.0
>=virtual/perl-File-Spec-0.860.0
>=virtual/perl-File-Temp-0.190.0
virtual/perl-if
"
DEPEND="${RDEPEND}
>=virtual/perl-ExtUtils-MakeMaker-6.170.0
test? (
!minimal? (
>=virtual/perl-JSON-PP-2.273.0
dev-perl/Test-FailWarnings
dev-perl/Test-MockRandom
)
>=virtual/perl-Test-Simple-0.960.0
)
"

@ -1,2 +1 @@
DIST SQL-Abstract-1.81.tar.gz 103010 SHA256 5f4d5618ce2424d62bbfdb5228b382e8be0e0ccedbb273d6d850e25d07e64f9f SHA512 1ca38403707117c6a7927e1d89e70d22bf75429137409aa9dee48bb75dd17ca941dd0012c5d388e8e39ea75ae800a1d62b04c0b12b700f2e3137e40f651f961c WHIRLPOOL 9a8ab7b868a14a68a74edc65e04d145c36bdd3c28938db27fd19c29c12e1d02bd0d2f689c1294d36cf91b5e6cd91872159c52ad6937f706f1a7db518a870fbbf
DIST SQL-Abstract-1.84.tar.gz 98744 SHA256 655f4aa3d4ea7ca0a7bafb2beff84010d5c77f0ee4413baa0c86456bf6db5e75 SHA512 2d41ca76cc50dcf85e40b6585b3036ae62801ce78b64cc3b6a6471540901bfacdbfe2f76e68fdea2d1caa509f57216d4bb4f214cee7008380d5f60643e1a3a6b WHIRLPOOL 203bddfab4f08877004e1f3e83d5eba41999dcb4dc37320aca2470222ed9dae4eebe61de9538866cfbfd3e6a7a3ef8eda71ac5ed1089a28ecb51df32a9f3d7d2

@ -1,35 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
MODULE_AUTHOR=RIBASUSHI
MODULE_VERSION=1.81
inherit perl-module
DESCRIPTION="Generate SQL from Perl data structures"
SLOT="0"
KEYWORDS="amd64 ~ppc x86 ~ppc-aix ~ppc-macos ~x86-solaris"
IUSE="test"
RDEPEND="
>=virtual/perl-Exporter-5.570.0
>=dev-perl/Hash-Merge-0.120.0
virtual/perl-Scalar-List-Utils
>=dev-perl/MRO-Compat-0.120.0
>=dev-perl/Moo-1.4.2
>=virtual/perl-Text-Balanced-2.0.0
"
DEPEND="${RDEPEND}
>=virtual/perl-ExtUtils-MakeMaker-6.590.0
test? (
virtual/perl-Storable
>=dev-perl/Test-Deep-0.101.0
>=dev-perl/Test-Exception-0.310.0
>=virtual/perl-Test-Simple-0.880.0
dev-perl/Test-Warn
)
"
SRC_TEST="do"

@ -1,4 +1 @@
DIST SQL-Statement-1.405.tar.gz 138703 SHA256 239094b6f18c36d174a7a9aa73c13cbaf9fec83d68dce5a2226a6120bb673026 SHA512 e7aa4cd9c300d3638e07e078c09d0e551fe799311b871f1a669efd4bf3f4675068895f86d15b852aa0230decacc3f019ad55a2972d0d298813ca189e9b57281b WHIRLPOOL 65602df50ef0f81a79a76bad4ea2cb37fb45d9235740e0c46a2f7ce2c044f23217d21fd6d59cd50a6422e9eda1b3ca5779823d3d76997957a658b44d566bec46
DIST SQL-Statement-1.409.tar.gz 148582 SHA256 76550db181cec75dfac55942c85be89b55be69568b9e9535ad6a9ffb603e5fb4 SHA512 f986eef8f911b3d903582a1d48d4d9446ebb63c45e6daee85fdcf144bef874125c7ff92fa1b4eeca680fb39aaff27541da3538ef04a7ea0d79f3297feeb2c8e0 WHIRLPOOL d106213a1f061eb8fe28c44525e01ef8bf781cbd3e91301b5f5fd7a2ad9c663deaf4b7e9407741fca1d3e3141f5fa11796b085cc2f54c58c4e1f5ae97425ed53
DIST SQL-Statement-1.410.tar.gz 153271 SHA256 7367fcda896367c96d98416cad423c9f98adb7e04b793c5c7deb3052a1213182 SHA512 1e97a3abf97de5064fd136e42b05c9dbf934affdfca93753fde82d04ddb2ee667bbcdf68cf7a69c069eb9b07c2e49df66abe71d62e51d9e485558611565d0772 WHIRLPOOL 950d558c882a3e04ce1138eb9fb68ff78d64bbc906f37c13002c598d53a4483c9898b735aa688fba18f8a2689ba2265fca7dbff17bc8fa937e8422d2825da197
DIST SQL-Statement-1.412.tar.gz 154608 SHA256 65c870883379c11b53f19ead10aaac241ccc86a90bbab77f6376fe750720e5c8 SHA512 73b65cd3d1b1be2ba1e80e2cbdd2aae0aa79a23252f28caf3c3a91c78f31c2f2d698e91ae474d44efc02f608a0ca042bf47cc4e76832864b49c590f54687e3fa WHIRLPOOL 4bab7ab4a52f3e1f37a47fea387b90b9555135be4a3c8ab257cd21e6d444df756f91d9192caf276f800e57c7edfb5f9b654bae7cc88f975d84718de56017cfa2

@ -1,39 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
MODULE_AUTHOR=REHSACK
MODULE_VERSION=1.405
inherit perl-module
DESCRIPTION="Small SQL parser and engine"
SLOT="0"
KEYWORDS="amd64 ~arm ppc ppc64 x86 ~x86-fbsd"
IUSE="test"
RDEPEND=">=dev-perl/DBI-1.616
>=dev-perl/Clone-0.30
>=dev-perl/Params-Util-0.35
virtual/perl-Scalar-List-Utils"
DEPEND="${RDEPEND}
test? ( virtual/perl-Test-Simple )"
SRC_TEST="do"
pkg_setup() {
export SQL_STATEMENT_WARN_UPDATE=sure
if has_version "<=dev-perl/SQL-Statement-1.20" ; then
ewarn "Changes include (1.22):"
ewarn " * behavior for unquoted identifiers modified to lower case them"
ewarn " * IN and BETWEEN operators are supported native"
fi
}
src_test() {
# XT tests don't normally run, but upstream...
perl_rm_files "xt/pod.t" "xt/pod-cm.t" "xt/pod_coverage.t"
perl-module_src_test
}

@ -1,39 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DIST_AUTHOR=REHSACK
DIST_VERSION=1.409
inherit perl-module
DESCRIPTION="Small SQL parser and engine"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="test minimal"
RDEPEND="
!minimal? (
dev-perl/Math-Base-Convert
>=virtual/perl-Math-Complex-1.560.0
>=dev-perl/Text-Soundex-3.40.0
)
virtual/perl-Carp
>=dev-perl/Clone-0.300.0
virtual/perl-Data-Dumper
dev-perl/Module-Runtime
>=dev-perl/Params-Util-1.0.0
>=virtual/perl-Scalar-List-Utils-1.0.0
virtual/perl-Text-Balanced
"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? (
dev-perl/Math-Base-Convert
>=virtual/perl-Math-Complex-1.560.0
dev-perl/Test-Deep
>=virtual/perl-Test-Simple-0.900.0
>=dev-perl/Text-Soundex-3.40.0
)
"

@ -1,39 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DIST_AUTHOR=REHSACK
DIST_VERSION=1.410
inherit perl-module
DESCRIPTION="Small SQL parser and engine"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd"
IUSE="test minimal"
RDEPEND="
!minimal? (
dev-perl/Math-Base-Convert
>=virtual/perl-Math-Complex-1.560.0
>=dev-perl/Text-Soundex-3.40.0
)
virtual/perl-Carp
>=dev-perl/Clone-0.300.0
virtual/perl-Data-Dumper
dev-perl/Module-Runtime
>=dev-perl/Params-Util-1.0.0
>=virtual/perl-Scalar-List-Utils-1.0.0
virtual/perl-Text-Balanced
"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? (
dev-perl/Math-Base-Convert
>=virtual/perl-Math-Complex-1.560.0
dev-perl/Test-Deep
>=virtual/perl-Test-Simple-0.900.0
>=dev-perl/Text-Soundex-3.40.0
)
"

@ -1,2 +1 @@
DIST String-Approx-3.27.tar.gz 45497 SHA256 2b8c1acd24fa9681ebba0ccb3c49f16289de1d579af8a0c898ea8f8d1baf5d36 SHA512 f9028512de964263f9018f076cc4cdb1c93748d1fbcfde873b909bf2dd97a14213e314d9c2dc0c360f6128a89e27e9340538d0802ddf3ee33f0c224c30f9b9c9 WHIRLPOOL 8f9b2cc338dadf877c0d1d4c2f393f3803d915689e7844a6d6ae12638459804c2ccac227263ccdec7e3ecbd9d8c3b70e7d0902afacef536843188d5e116b5302
DIST String-Approx-3.28.tar.gz 45093 SHA256 43201e762d8699cb0ac2c0764a5454bdc2306c0771014d6c8fba821480631342 SHA512 0564de1ace09dbbbd001f7676cb55c8bd5a763525399c3da8ef44584a83f1923488e0d6eea35a937e01c9c3f7e2097d1fdf6a72e7b1c2dec119aecd9e8f856c9 WHIRLPOOL 97cc6522412ce58e4908a0b2e682ff5570413c75de7ec60ff0c1368b4ef94419a96d7960f16871199a90f7450aa8e3ac28893f444384a66bbf367105edea3643

@ -1,17 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
MODULE_AUTHOR=JHI
MODULE_VERSION=3.27
inherit perl-module
DESCRIPTION="Perl extension for approximate string matching (fuzzy matching)"
LICENSE="|| ( Artistic-2 LGPL-2 )"
SLOT="0"
KEYWORDS="~alpha amd64 ~ppc ~ppc64 sparc x86"
IUSE=""
SRC_TEST="do"

@ -1,2 +1 @@
DIST Test-NoTabs-1.4.tar.gz 32904 SHA256 1231f42aca5c62f7ae9c605b7ceb2caecd9cf1e9fd7f23f6fd998d416f83b098 SHA512 96363bb3de1211819e0cd8ce50c8e03c8b9d05f7a2b7cdd6c41ddc8a267ffa1245b319ecb2f752a351b0c6ea9dcdea9a0044b24fe6d0406c54e7d8e6b2b2a423 WHIRLPOOL 9d0e33d60e6e60c66aa2db750b9a161d58d62ef24c4a7d8df60f987aa55ff625d3ef8706195acba9749887a906ac866ec654be7e17c430ccb3c73bcaaea43c9b
DIST Test-NoTabs-2.00.tar.gz 28343 SHA256 8f1911357abd3e798bd443358ba5f04b9ab4ba108ca828b2c2c708b503bdf388 SHA512 e776f5c12029376a7754492482f62385a391aec31b3dfd979a8eb20aa81dd66ef8c7d33435e67f8f1eb151cf5833e5bde33c09ceccef27ac6e20958f28ff83e8 WHIRLPOOL 215c9e94b2b719b193d26a12b0b78ad5fab4c23c1d05affd2283713126cdacc21942b5e2ede9354e60da27e2ef9e5d68a34dae73291406c344de6eb636a554aa

@ -1,20 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
MODULE_AUTHOR=BOBTFISH
MODULE_VERSION=1.4
inherit perl-module
DESCRIPTION="Check the presence of tabs in your project"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86"
IUSE="test"
RDEPEND=""
DEPEND="${RDEPEND}"
SRC_TEST="do"

@ -1 +1,2 @@
DIST Tie-Cycle-1.221.tar.gz 9741 SHA256 c6e263bdfd19eea4ceaade3c8af33b35ef83e8251ea53759a3ca49e3729ce681 SHA512 39ed261ef2e3a6a93cc63197966ccae6ddee2473c24241067223448badeb76509682c52043bb34299a27f2f3a35956d3022af2fb13bd331ed2cc132dbc703087 WHIRLPOOL 3850783ebcb4262094105a9de9c5b772fc990ea0d4e5856110dae6fdac292de9189e559e2997410733d3695e29d19e4c1c00aeca2664def5b374ad65c794513c
DIST Tie-Cycle-1.224.tar.gz 11085 SHA256 d9b1aca31d66354ad0dd3bd6fb0a8820de8a633dfd7a01cbfdedac9c80d34a02 SHA512 291f012e85108809d75302bb6554beffdfbf3ec3153acef667d0dfa34a0309190f9211a19728620c1ff6bedfeff5fd9209d2d4589f13fba144d0c0fade53f9b6 WHIRLPOOL fd0d173542e17a71f926640986f149383ca7ce4610f38138aa9a18a831ef9fb83e41d6dc410a28de8de388e3281ba7d18784cbc514ffbc734481b8d3f04e9fb3

@ -0,0 +1,28 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DIST_AUTHOR=BDFOY
DIST_VERSION=1.224
inherit perl-module
DESCRIPTION="Cycle through a list of values via a scalar"
LICENSE="Artistic-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="virtual/perl-Carp"
DEPEND="${RDEPEND}
>=virtual/perl-ExtUtils-MakeMaker-6.640.0
virtual/perl-File-Spec
test? (
>=virtual/perl-Test-Simple-0.950.0
)
"
src_test() {
perl_rm_files t/pod_coverage.t t/pod.t
sed -i -e '/^pod/d' t/test_manifest || die "Can't patch test_manifest"
perl-module_src_test
}

@ -1,2 +1 @@
DIST Unicode-UTF8-0.60.tar.gz 81322 SHA256 f6ccf25a2a3be9d36d97e014af2f3dda5141c6bb33a130fee2676aaa0fb96ebc SHA512 9874d83cd142e7fc9503d5282015e2bda219332a393326cd2521c73849ce55f25eb125ab46879717ccf23c16a15491242ddb9c0535da9d323b56c0ba4fe1d77e WHIRLPOOL 456ca11f4aa6fc3a6309ea1e5cc851980fac51d13b55acee90d874ef9a1b87bbd2ffc4f2df77aa0c6731d7de342b55a9e0ba38b1ada297c0361878299e80be53
DIST Unicode-UTF8-0.62.tar.gz 87838 SHA256 fa8722d0b74696e332fddd442994436ea93d3bfc7982d4babdcedfddd657d0f6 SHA512 056026ac2ee4c101de5ea6017db59f875121dba8fd23ab5c2ae525effb8cf864e8a1c24588bb2a027792e27568742fc75bd5765694027b110afef867a4b982e0 WHIRLPOOL c730625c0f3171b5ff60c72ed7e16f61814168d56be6f24c0b932c1bc1a517e0bd2915790d364878b3d31383975330f60e0306a3fddba6670903f85d70936874

@ -1,39 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
MODULE_AUTHOR=CHANSEN
MODULE_VERSION=0.60
inherit perl-module
DESCRIPTION="Encoding and decoding of UTF-8 encoding form"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ppc ~ppc64 ~sparc x86"
IUSE="test"
RDEPEND="
virtual/perl-Carp
virtual/perl-Exporter
virtual/perl-XSLoader
"
DEPEND="${RDEPEND}
>=virtual/perl-ExtUtils-MakeMaker-6.590.0
test? (
>=virtual/perl-Encode-1.980.100
>=dev-perl/Test-Fatal-0.6.0
>=virtual/perl-Test-Simple-0.470.0
dev-perl/Taint-Runtime
dev-perl/Variable-Magic
dev-perl/Test-LeakTrace
)
"
SRC_TEST=do
src_test() {
perl_rm_files t/999_pod.t
perl-module_src_test
}

@ -1,3 +1,4 @@
DIST YAML-LibYAML-0.62.tar.gz 142911 SHA256 1a334a7ea9fe444ddb384a378b9f6eb2b77f4564fe481a778b48fb48b82d31db SHA512 05d2fa1e656034da0c903a267037a08855040843dc6ec68d91e99df5c64f6896d29be0d170b5c08c0d601a1c87b595c90786a7ff1a12a33fa2bfff21f86aec81 WHIRLPOOL 899f316f1319f081512e7086a230e1a61d948cafa98517db7a6c6e6bbcbd56c5679450cc0c1e3703d6f5105dcf9c395267b3eab662aecd7864e0007ef83936fe
DIST YAML-LibYAML-0.63.tar.gz 143075 SHA256 3cf0044a8838966f63c850a442e36039b8aec2db291089fffa11b786d1d164c8 SHA512 c1161ac72f678e4531f8fe5daf09553ba946513c3d1efa1d354ea17ef4dfefd4281a2d77e2fe49960388d338681a24d7547b36dc08ad8993651e807a303df954 WHIRLPOOL 1772e3416c045d7fd13fede6488ab4c6cb6f7ec7742e80f4fad6a062fed9f95d0008e59731316443010652216e8dd98754f7d51f2aa38ad7cb09626e2f24ac2e
DIST YAML-LibYAML-0.64.tar.gz 143095 SHA256 c79c18550c44230a2fdeaea55a86be60fd65d927ab9dac02945e056cf637aefd SHA512 c8d996a9bc86e644c85fa8662b91afb75e0e9bcfeaba88b0a661ef83c9d1dfbcd4464fdba8fcc16269dc3c561c3c5257818f7f15df78bf4331ec2f91a6245faf WHIRLPOOL d39003a19fef1e588a6775f61031b36ab268a1289b2fb95a378becba08cf6ca876c2d586de0c72f563ae1cf2537be8f580d8821c455e2aef5d03f9b61efd3581
DIST YAML-LibYAML-0.65.tar.gz 143204 SHA256 db710b0fc83291e467a5e7bc2de555e7d38023a8cf71084171a127e1d0dff047 SHA512 87998f9d8458476168c06e984696ac562e77f6cfc252c57a8159bb45353bacab7fa159c983275f08fcd54479d7a994feebc2568f51b564d685d99cc66ee87cf0 WHIRLPOOL 07f961de9453082140c8b03f3330554009311dd80b92f4bb3604297557eb8a6b06d072dca52ccb9af01075cf5da29d9b41861dd442a190d659fdd1a6303c1bb0

@ -0,0 +1,23 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DIST_AUTHOR=TINITA
DIST_VERSION=0.65
inherit perl-module
DESCRIPTION="Perl YAML Serialization using XS and libyaml"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~sparc ~x86"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker"
export OPTIMIZE="$CFLAGS"
src_test() {
perl_rm_files t/author-pod-syntax.t
perl-module_src_test
}

@ -1,2 +1 @@
DIST autobox-2.83.tar.gz 76003 SHA256 3f83a33fa9566c859c786815d3790299a8e95f181a5866f9b810645bb41e89c4 SHA512 2c347ee61240ba7ba8fdf0bddebceab554c602ce673a524255a73ee7b53a9765f9679bd613f796f74e6588ebfd6beb877fa6f49720fa6da108f91ebb365b1dc6 WHIRLPOOL 9fe89b2c2d5378358bc4875b39017dc07889118d7eff8201f2326bf9691b78cd0f1e3c681e84c23273c6c418982a2b580a8a8c63dbdbcf0451a4593355ae39aa
DIST autobox-2.85.tar.gz 80443 SHA256 d0b8d0f27f3d1c1e8ef47f806fa06b9c229c3ca84057004fedc35dbbc0341140 SHA512 2f9c0ef556655eb19a2e50aa2ec47769ef2fd7bb15806a7f22320be9d79178811c418dbe58cf792fdc48dc3e7b80b70c1882956559373cc6eb152c0b94d52081 WHIRLPOOL 1f41cad40486faeb490911dc15b41c37846645947da0835b02c29e272396d05eba3826890b822e2bfa43efb8df7b3da64f7608b7084fa95215323a616d0669e7

@ -1,21 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
MODULE_AUTHOR=CHOCOLATE
MODULE_VERSION=2.83
inherit perl-module
DESCRIPTION="Call methods on native types"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND="
>=dev-perl/Scope-Guard-0.200.0
"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
"
SRC_TEST=do

@ -1,3 +1 @@
DIST local-lib-2.000014.tar.gz 51593 SHA256 ae63356ab780c5a3aa46287b48daea748a3dd021d9b52dff8bf480b43787fa2b SHA512 3a7bb68af992215eb6787082fea7c09d5468aabe5c6478d028ce99ae878f6efdd8982804ba2c396af1fc0a5b46a4fa7f0e4831d9c32f1abd41ef631976c5efe8 WHIRLPOOL 990e3ca60a88544a0394fbb994832aff9c50988dde0372d8d7e437a72c28d30bf27438acfb8423aa57965bf58140e7a3284d6151a80cbd51bffc4ed201b6e6c1
DIST local-lib-2.000018.tar.gz 59350 SHA256 9ba8f5d55a03e029c3e18799942b89d2c457bb4414b9dce912dc1c8797d94894 SHA512 d94672b623de5c4e99270733a4de59f95c01b3c89cd552da05b04892893696cf57c9988b695cca2eda624a2c48bb392fe51d17eb842ed09e0824d71fcb4eb80e WHIRLPOOL df53e7ae77cf6758b69bfc3291c7b4a77c030c2ae428123a93ce3a4fcd460d70be33f2b8bf8bfa6b20f12eb109707a58863adcf44c7bfeddafdec6f06557bb70
DIST local-lib-2.000019.tar.gz 62149 SHA256 36ad327a099667b8cb292c10229c33849c787470e0b978e4963b69b6df4c0b01 SHA512 ab7d2d43566fef1d5dce41649859a01306d302b46739cf110b4d0330ae3cec3e49e3b06f67612f9e33b6bcb7654ec5ff0a97cf44fecc8a9cd6d5b24421671614 WHIRLPOOL 59fbcc768ea82d88add5ac96fb463c0e7990f8b94787a3fa476b2cd5800a1db4fc3b45dbe686f05b714d009fea983003b77fcc6a23d04479abec3f11e657f8c4

@ -1,25 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
MODULE_AUTHOR=HAARG
MODULE_VERSION=2.000014
inherit perl-module
DESCRIPTION='create and use a local lib/ for perl modules with PERL5LIB'
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
RDEPEND="
>=virtual/perl-CPAN-1.820.0
>=virtual/perl-ExtUtils-Install-1.430.0
>=virtual/perl-ExtUtils-MakeMaker-6.740.0
>=dev-perl/Module-Build-0.360.0
"
DEPEND="${RDEPEND}
>=virtual/perl-ExtUtils-MakeMaker-6.590.0
test? ( virtual/perl-Test-Simple )
"
SRC_TEST="do parallel"

@ -1,23 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DIST_AUTHOR=HAARG
DIST_VERSION=2.000018
inherit perl-module
DESCRIPTION='create and use a local lib/ for perl modules with PERL5LIB'
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="
>=virtual/perl-CPAN-1.820.0
>=virtual/perl-ExtUtils-Install-1.430.0
>=virtual/perl-ExtUtils-MakeMaker-7.0.0
>=dev-perl/Module-Build-0.360.0
"
DEPEND="${RDEPEND}
>=virtual/perl-ExtUtils-MakeMaker-6.590.0
test? ( virtual/perl-Test-Simple )
"

@ -3,7 +3,7 @@
EAPI="6"
PYTHON_COMPAT=( python{2_{5,6,7},3_{3,4,5}} )
PYTHON_COMPAT=( python{2_{5,6,7},3_{3,4,5,6}} )
inherit distutils-r1

@ -1,2 +0,0 @@
DIST RubyInline-3.12.3.gem 31232 SHA256 c1ececb4057d22638818c1bf1998cdbe485bf6eda81c3fe52a543487c9c35ad6 SHA512 26b852abe21b077deca6206bac3a29e402e37b9bd96997275a8075172fee34d25e68b9455a933188bb71807e3fe2a35bf15350f568ba3786034796bc5a33f7cf WHIRLPOOL b42ba1f45206758d1dc50990c9be3b4167a40771f09eaeb352fbd2038515979fd307983d37c3a5aa4a1b32edc114aa5ed229e7573e387c112e54cb45fd5f5e16
DIST RubyInline-3.12.4.gem 31232 SHA256 205bbc14c02d3d55e1b497241ede832ab87f3d981f92f3bda98b75e8144103e0 SHA512 9bdef81653a6c8da86aac638ff402b226526fbd38b9b8538382ac2d1a7655e232eafff4979b57d667ad9b0f3955b13c6f4cc01eb9dfa287c3a7abbfc5e9416fe WHIRLPOOL 5b92ecde15ee188d5d1ef51c83327e96486527680b33e3b4d0b4057df6804c8e566748e14d656a9ae62c6d549b462b148776a3f92707c456c28a8820f4410c1e

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save