Sync with portage [Thu Mar 31 09:27:00 MSK 2016].

mhiretskiy 279
root 8 years ago
parent abe821d438
commit 78c16f8d20

@ -0,0 +1 @@
DIST aerospike-amc-community-3.6.8.all.x86_64.deb 1429404 SHA256 7c29269746a806f04c3828188a249af6407135ebcf151fe55550d84d2e8dc464 SHA512 de44333471307410461bd53266b84fdc9fa92f7115012eb4b29b3ad415dd471ca3d9bf1a7c52bec7063df02a7e600dce9366910a089751dd19163cc212574d28 WHIRLPOOL 134a8f6dbd006b9918be787f090ca762b45b4c9083f43b6f039b3f33ab1a43ef38be30e3fa31c137185e35672620eace1a2cff7615091f9a9bfab955dfa1f914

@ -0,0 +1,64 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils user
DESCRIPTION="Web UI based monitoring tool for Aerospike Community Edition Server"
HOMEPAGE="http://www.aerospike.com"
SRC_URI="http://www.aerospike.com/artifacts/${PN}/${PV}/${P}.all.x86_64.deb"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="app-crypt/gcr
dev-python/eventlet
dev-python/flask
dev-python/greenlet
dev-python/setproctitle
www-servers/gunicorn"
DEPEND="${RDEPEND}"
src_unpack() {
default
mkdir "${P}"
tar -xf data.tar.xz -C "${S}" || die
tar -xzf "${S}"/opt/amc.tar.gz -C "${S}"/opt/ || die
}
src_install() {
mv opt/amc/amc/* opt/amc/
rm -rf opt/amc/amc
rm -f opt/amc/install
rm -f opt/amc/bin/uninstall
rm -f opt/amc/bin/amc_*.sh
rm -f opt/amc/bin/gunicorn
rm -rf opt/amc/server/site-packages/
rm -rf opt/amc/server/setups/
insinto /etc/logrotate.d
newins opt/amc/config/logrotate amc
rm -f opt/amc/config/logrotate
insinto /etc/cron.daily
newins opt/amc/config/logcron amc
rm -f opt/amc/config/logcron
sed -e 's@/tmp/amc.pid@/run/amc.pid@g' -i opt/amc/config/gunicorn_config.py || die
insinto /etc/amc/config
doins -r opt/amc/config/*
rm -rf opt/amc/config/
echo "${PV}" > opt/amc/amc_version
insinto /opt/amc/
doins -r opt/amc/*
keepdir /var/log/amc
newinitd "${FILESDIR}"/amc.init amc
}

@ -0,0 +1,24 @@
#!/sbin/runscript
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/files/mongodb.initd-r2,v 1.2 2014/05/26 08:03:45 ultrabug Exp $
config_file=${config_file:-/etc/amc/config/gunicorn_config.py}
run_dir=${run_dir:-/run}
command="/usr/bin/gunicorn"
command_args="--daemon --config ${config_file} flaskapp:app"
command_background="true"
pidfile=${run_dir}/${SVCNAME}.pid
user=${user:-root}
group=${group:-root}
start_stop_daemon_args="--user ${user} --group ${group}"
required_files="${config_file}"
depend() {
use net
}
start_post() {
ewaitfile 60 "${pidfile}"
}

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>patrick@gentoo.org</email>
</maintainer>
</pkgmetadata>

@ -5,6 +5,8 @@
<email>lxnay@gentoo.org</email>
<name>Fabio Erculiani</name>
</maintainer>
<use>
</use>
<maintainer type="person">
<email>johu@gentoo.org</email>
<name>Johannes Huber</name>
</maintainer>
</pkgmetadata>

@ -1,73 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
inherit eutils multilib toolchain-funcs flag-o-matic
DESCRIPTION="A high-quality data compressor used extensively by Gentoo Linux"
HOMEPAGE="http://www.bzip.org/"
SRC_URI="http://www.bzip.org/${PV}/${P}.tar.gz"
LICENSE="BZIP2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
IUSE="static"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-1.0.4-makefile-CFLAGS.patch
epatch "${FILESDIR}"/${PN}-1.0.6-saneso.patch
epatch "${FILESDIR}"/${PN}-1.0.4-man-links.patch #172986
epatch "${FILESDIR}"/${PN}-1.0.2-progress.patch
epatch "${FILESDIR}"/${PN}-1.0.3-no-test.patch
epatch "${FILESDIR}"/${PN}-1.0.4-POSIX-shell.patch #193365
# - Use right man path
# - Generate symlinks instead of hardlinks
# - pass custom variables to control libdir
sed -i \
-e 's:\$(PREFIX)/man:\$(PREFIX)/share/man:g' \
-e 's:ln -s -f $(PREFIX)/bin/:ln -s :' \
-e 's:$(PREFIX)/lib:$(PREFIX)/$(LIBDIR):g' \
Makefile || die
}
bemake() {
emake \
CC="$(tc-getCC)" \
AR="$(tc-getAR)" \
RANLIB="$(tc-getRANLIB)" \
"$@" || die
}
src_compile() {
bemake -f Makefile-libbz2_so all || die
use static && append-flags -static
bemake all || die
}
src_install() {
emake PREFIX="${D}"/usr LIBDIR=$(get_libdir) install || die
dodoc README* CHANGES bzip2.txt manual.*
# Install the shared lib manually. We install:
# .x.x.x - standard shared lib behavior
# .x.x - SONAME some distros use #338321
# .x - SONAME Gentoo uses
dolib.so libbz2.so.${PV} || die
local s
for v in libbz2.so{,.{${PV%%.*},${PV%.*}}} ; do
dosym libbz2.so.${PV} /usr/$(get_libdir)/${v} || die
done
gen_usr_ldscript -a bz2
if ! use static ; then
newbin bzip2-shared bzip2 || die
fi
# move "important" bzip2 binaries to /bin and use the shared libbz2.so
dodir /bin
mv "${D}"/usr/bin/b{zip2,zcat,unzip2} "${D}"/bin/ || die
dosym bzip2 /bin/bzcat || die
dosym bzip2 /bin/bunzip2 || die
}

@ -1,73 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="2"
inherit eutils multilib toolchain-funcs flag-o-matic
DESCRIPTION="A high-quality data compressor used extensively by Gentoo Linux"
HOMEPAGE="http://www.bzip.org/"
SRC_URI="http://www.bzip.org/${PV}/${P}.tar.gz"
LICENSE="BZIP2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
IUSE="static"
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.0.4-makefile-CFLAGS.patch
epatch "${FILESDIR}"/${PN}-1.0.6-saneso.patch
epatch "${FILESDIR}"/${PN}-1.0.4-man-links.patch #172986
epatch "${FILESDIR}"/${PN}-1.0.6-progress.patch
epatch "${FILESDIR}"/${PN}-1.0.3-no-test.patch
epatch "${FILESDIR}"/${PN}-1.0.4-POSIX-shell.patch #193365
# - Use right man path
# - Generate symlinks instead of hardlinks
# - pass custom variables to control libdir
sed -i \
-e 's:\$(PREFIX)/man:\$(PREFIX)/share/man:g' \
-e 's:ln -s -f $(PREFIX)/bin/:ln -s :' \
-e 's:$(PREFIX)/lib:$(PREFIX)/$(LIBDIR):g' \
Makefile || die
}
bemake() {
emake \
CC="$(tc-getCC)" \
AR="$(tc-getAR)" \
RANLIB="$(tc-getRANLIB)" \
"$@" || die
}
src_compile() {
bemake -f Makefile-libbz2_so all || die
use static && append-flags -static
bemake all || die
}
src_install() {
emake PREFIX="${D}"/usr LIBDIR=$(get_libdir) install || die
dodoc README* CHANGES bzip2.txt manual.*
# Install the shared lib manually. We install:
# .x.x.x - standard shared lib behavior
# .x.x - SONAME some distros use #338321
# .x - SONAME Gentoo uses
dolib.so libbz2.so.${PV} || die
local s
for v in libbz2.so{,.{${PV%%.*},${PV%.*}}} ; do
dosym libbz2.so.${PV} /usr/$(get_libdir)/${v} || die
done
gen_usr_ldscript -a bz2
if ! use static ; then
newbin bzip2-shared bzip2 || die
fi
# move "important" bzip2 binaries to /bin and use the shared libbz2.so
dodir /bin
mv "${D}"/usr/bin/b{zip2,zcat,unzip2} "${D}"/bin/ || die
dosym bzip2 /bin/bzcat || die
dosym bzip2 /bin/bunzip2 || die
}

@ -1,80 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
# XXX: atm, libbz2.a is always PIC :(, so it is always built quickly
# (since we're building shared libs) ...
EAPI="2"
inherit eutils multilib toolchain-funcs flag-o-matic
DESCRIPTION="A high-quality data compressor used extensively by Gentoo Linux"
HOMEPAGE="http://www.bzip.org/"
SRC_URI="http://www.bzip.org/${PV}/${P}.tar.gz"
LICENSE="BZIP2"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
IUSE="static static-libs"
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.0.4-makefile-CFLAGS.patch
epatch "${FILESDIR}"/${PN}-1.0.6-saneso.patch
epatch "${FILESDIR}"/${PN}-1.0.4-man-links.patch #172986
epatch "${FILESDIR}"/${PN}-1.0.6-progress.patch
epatch "${FILESDIR}"/${PN}-1.0.3-no-test.patch
epatch "${FILESDIR}"/${PN}-1.0.4-POSIX-shell.patch #193365
epatch "${FILESDIR}"/${PN}-1.0.6-mingw.patch #393573
# - Use right man path
# - Generate symlinks instead of hardlinks
# - pass custom variables to control libdir
sed -i \
-e 's:\$(PREFIX)/man:\$(PREFIX)/share/man:g' \
-e 's:ln -s -f $(PREFIX)/bin/:ln -s :' \
-e 's:$(PREFIX)/lib:$(PREFIX)/$(LIBDIR):g' \
Makefile || die
}
bemake() {
emake \
CC="$(tc-getCC)" \
AR="$(tc-getAR)" \
RANLIB="$(tc-getRANLIB)" \
"$@" || die
}
src_compile() {
bemake -f Makefile-libbz2_so all || die
use static && append-flags -static
bemake all || die
}
src_install() {
emake PREFIX="${D}"/usr LIBDIR=$(get_libdir) install || die
dodoc README* CHANGES bzip2.txt manual.*
# Install the shared lib manually. We install:
# .x.x.x - standard shared lib behavior
# .x.x - SONAME some distros use #338321
# .x - SONAME Gentoo uses
dolib.so libbz2.so.${PV} || die
local s
for v in libbz2.so{,.{${PV%%.*},${PV%.*}}} ; do
dosym libbz2.so.${PV} /usr/$(get_libdir)/${v} || die
done
gen_usr_ldscript -a bz2
if ! use static ; then
newbin bzip2-shared bzip2 || die
fi
if ! use static-libs ; then
rm -f "${D}"/usr/lib*/libbz2.a || die
fi
# move "important" bzip2 binaries to /bin and use the shared libbz2.so
dodir /bin
mv "${D}"/usr/bin/b{zip2,zcat,unzip2} "${D}"/bin/ || die
dosym bzip2 /bin/bzcat || die
dosym bzip2 /bin/bunzip2 || die
}

@ -1,87 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
# XXX: atm, libbz2.a is always PIC :(, so it is always built quickly
# (since we're building shared libs) ...
EAPI=4
inherit eutils toolchain-funcs multilib multilib-minimal
DESCRIPTION="A high-quality data compressor used extensively by Gentoo Linux"
HOMEPAGE="http://www.bzip.org/"
SRC_URI="http://www.bzip.org/${PV}/${P}.tar.gz"
LICENSE="BZIP2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
IUSE="static static-libs"
RDEPEND="abi_x86_32? (
!<=app-emulation/emul-linux-x86-baselibs-20130224
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
)"
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.0.4-makefile-CFLAGS.patch
epatch "${FILESDIR}"/${PN}-1.0.6-saneso.patch
epatch "${FILESDIR}"/${PN}-1.0.4-man-links.patch #172986
epatch "${FILESDIR}"/${PN}-1.0.6-progress.patch
epatch "${FILESDIR}"/${PN}-1.0.3-no-test.patch
epatch "${FILESDIR}"/${PN}-1.0.4-POSIX-shell.patch #193365
epatch "${FILESDIR}"/${PN}-1.0.6-mingw.patch #393573
# - Use right man path
# - Generate symlinks instead of hardlinks
# - pass custom variables to control libdir
sed -i \
-e 's:\$(PREFIX)/man:\$(PREFIX)/share/man:g' \
-e 's:ln -s -f $(PREFIX)/bin/:ln -s -f :' \
-e 's:$(PREFIX)/lib:$(PREFIX)/$(LIBDIR):g' \
Makefile || die
multilib_copy_sources
}
bemake() {
emake \
CC="$(tc-getCC)" \
AR="$(tc-getAR)" \
RANLIB="$(tc-getRANLIB)" \
"$@"
}
multilib_src_compile() {
bemake -f Makefile-libbz2_so all
bemake all LDFLAGS="${LDFLAGS} $(usex static -static '')"
}
multilib_src_install() {
emake PREFIX="${ED}"/usr LIBDIR=$(get_libdir) install
# Install the shared lib manually. We install:
# .x.x.x - standard shared lib behavior
# .x.x - SONAME some distros use #338321
# .x - SONAME Gentoo uses
dolib.so libbz2.so.${PV}
local v
for v in libbz2.so{,.{${PV%%.*},${PV%.*}}} ; do
dosym libbz2.so.${PV} /usr/$(get_libdir)/${v}
done
gen_usr_ldscript -a bz2
use static || newbin bzip2-shared bzip2
}
multilib_src_install_all() {
dodoc README* CHANGES bzip2.txt manual.*
# move "important" bzip2 binaries to /bin and use the shared libbz2.so
dodir /bin
mv "${ED}"/usr/bin/b{zip2,zcat,unzip2} "${ED}"/bin/ || die
dosym bzip2 /bin/bzcat
dosym bzip2 /bin/bunzip2
use static-libs || find "${ED}"/usr -name libbz2.a -delete
}

@ -1,68 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
inherit eutils multilib toolchain-funcs flag-o-matic
DESCRIPTION="A high-quality data compressor used extensively by Gentoo Linux"
HOMEPAGE="http://www.bzip.org/"
SRC_URI="http://www.bzip.org/${PV}/${P}.tar.gz"
LICENSE="BZIP2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
IUSE="static"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-1.0.4-makefile-CFLAGS.patch
epatch "${FILESDIR}"/${PN}-1.0.6-saneso.patch
epatch "${FILESDIR}"/${PN}-1.0.4-man-links.patch #172986
epatch "${FILESDIR}"/${PN}-1.0.2-progress.patch
epatch "${FILESDIR}"/${PN}-1.0.3-no-test.patch
epatch "${FILESDIR}"/${PN}-1.0.4-POSIX-shell.patch #193365
# - Use right man path
# - Generate symlinks instead of hardlinks
# - pass custom variables to control libdir
sed -i \
-e 's:\$(PREFIX)/man:\$(PREFIX)/share/man:g' \
-e 's:ln -s -f $(PREFIX)/bin/:ln -s :' \
-e 's:$(PREFIX)/lib:$(PREFIX)/$(LIBDIR):g' \
Makefile || die
}
bemake() {
emake \
CC="$(tc-getCC)" \
AR="$(tc-getAR)" \
RANLIB="$(tc-getRANLIB)" \
"$@" || die
}
src_compile() {
bemake -f Makefile-libbz2_so all || die
use static && append-flags -static
bemake all || die
}
src_install() {
emake PREFIX="${D}"/usr LIBDIR=$(get_libdir) install || die
dodoc README* CHANGES bzip2.txt manual.*
# Install the shared lib manually
dolib.so libbz2.so.${PV} || die
dosym libbz2.so.${PV} /usr/$(get_libdir)/libbz2.so || die
dosym libbz2.so.${PV} /usr/$(get_libdir)/libbz2.so.${PV%%.*} || die
gen_usr_ldscript -a bz2
if ! use static ; then
newbin bzip2-shared bzip2 || die
fi
# move "important" bzip2 binaries to /bin and use the shared libbz2.so
dodir /bin
mv "${D}"/usr/bin/b{zip2,zcat,unzip2} "${D}"/bin/ || die
dosym bzip2 /bin/bzcat || die
dosym bzip2 /bin/bunzip2 || die
}

@ -1,175 +0,0 @@
Ripped from Mandrake.
http://bugs.gentoo.org/show_bug.cgi?id=82192
--- bzip2-1.0.2.org/bzip2.1
+++ bzip2-1.0.2/bzip2.1
@@ -235,6 +235,10 @@
Suppress non-essential warning messages. Messages pertaining to
I/O errors and other critical events will not be suppressed.
.TP
+.B \-p --show-progress
+Show percentage of input-file done and while compressing show the percentage
+of the original file the new file is.
+.TP
.B \-v --verbose
Verbose mode -- show the compression ratio for each file processed.
Further \-v's increase the verbosity level, spewing out lots of
--- bzip2-1.0.2.org/bzip2.c
+++ bzip2-1.0.2/bzip2.c
@@ -145,6 +145,7 @@
#include <signal.h>
#include <math.h>
#include <errno.h>
+#include <time.h>
#include <ctype.h>
#include "bzlib.h"
@@ -301,6 +302,7 @@
Char progNameReally[FILE_NAME_LEN];
FILE *outputHandleJustInCase;
Int32 workFactor;
+Char showProgress;
static void panic ( Char* ) NORETURN;
static void ioError ( void ) NORETURN;
@@ -425,6 +427,12 @@
UInt32 nbytes_in_lo32, nbytes_in_hi32;
UInt32 nbytes_out_lo32, nbytes_out_hi32;
Int32 bzerr, bzerr_dummy, ret;
+ double fileSize = 0; /* initialized to make the compiler stop crying */
+ /* double because big files might otherwhise give
+ * overflows. not long long since not all compilers
+ * support that one
+ */
+ time_t startTime, currentTime;
SET_BINARY_MODE(stream);
SET_BINARY_MODE(zStream);
@@ -432,12 +440,21 @@
if (ferror(stream)) goto errhandler_io;
if (ferror(zStream)) goto errhandler_io;
+ if ((srcMode == SM_F2F || srcMode == SM_F2O) && showProgress == True) {
+ (void)fseek(stream, 0, SEEK_END);
+ fileSize = (double)ftell(stream);
+ rewind(stream);
+ if (verbosity >= 1)
+ fprintf(stderr, "Input-file size: %ld\n", (long)fileSize);
+ }
+
bzf = BZ2_bzWriteOpen ( &bzerr, zStream,
blockSize100k, verbosity, workFactor );
if (bzerr != BZ_OK) goto errhandler;
if (verbosity >= 2) fprintf ( stderr, "\n" );
+ time(&startTime);
while (True) {
if (myfeof(stream)) break;
@@ -446,13 +463,32 @@
if (nIbuf > 0) BZ2_bzWrite ( &bzerr, bzf, (void*)ibuf, nIbuf );
if (bzerr != BZ_OK) goto errhandler;
+ if ((srcMode == SM_F2F || srcMode == SM_F2O) && showProgress == True)
+ {
+ time(&currentTime);
+
+ if ((currentTime - startTime) > 1) { /* show progress every 2 seconds */
+ double curInPos = (double)ftell(stream);
+ double curOutPos = (double)ftell(zStream);
+
+ startTime = currentTime;
+
+ fprintf(stderr, "%.2f%% done", (curInPos * 100.0) / fileSize);
+ if (srcMode == SM_F2F)
+ {
+ fprintf(stderr, ", new size: %.2f%%", (curOutPos * 100.0) / curInPos);
+ }
+
+ fprintf(stderr, " \r");
+ }
+ }
}
BZ2_bzWriteClose64 ( &bzerr, bzf, 0,
&nbytes_in_lo32, &nbytes_in_hi32,
&nbytes_out_lo32, &nbytes_out_hi32 );
if (bzerr != BZ_OK) goto errhandler;
-
+
if (ferror(zStream)) goto errhandler_io;
ret = fflush ( zStream );
if (ret == EOF) goto errhandler_io;
@@ -526,6 +562,8 @@
UChar unused[BZ_MAX_UNUSED];
Int32 nUnused;
UChar* unusedTmp;
+ double fileSize = 0; /* initialized to make the compiler stop crying */
+ time_t startTime, currentTime;
nUnused = 0;
streamNo = 0;
@@ -533,9 +571,19 @@
SET_BINARY_MODE(stream);
SET_BINARY_MODE(zStream);
+ if ((srcMode == SM_F2F || srcMode == SM_F2O) && showProgress == True) {
+ long dummy = ftell(zStream);
+ (void)fseek(zStream, 0, SEEK_END);
+ fileSize = (double)ftell(zStream);
+ (void)fseek(zStream, dummy, SEEK_SET);
+ if (verbosity >= 1)
+ fprintf(stderr, "Input-file size: %ld\n", (long)fileSize);
+ }
+
if (ferror(stream)) goto errhandler_io;
if (ferror(zStream)) goto errhandler_io;
+ time(&startTime);
while (True) {
bzf = BZ2_bzReadOpen (
@@ -551,6 +599,17 @@
if ((bzerr == BZ_OK || bzerr == BZ_STREAM_END) && nread > 0)
fwrite ( obuf, sizeof(UChar), nread, stream );
if (ferror(stream)) goto errhandler_io;
+
+ if ((srcMode == SM_F2F || srcMode == SM_F2O) && showProgress == True) {
+ time(&currentTime);
+ if ((currentTime - startTime) >= 2)
+ {
+ double curInPos = (double)ftell(zStream);
+ startTime = currentTime;
+
+ fprintf(stderr, "%.2f%% done\r", (curInPos * 100.0) / fileSize);
+ }
+ }
}
if (bzerr != BZ_STREAM_END) goto errhandler;
@@ -1872,6 +1931,7 @@
deleteOutputOnInterrupt = False;
exitValue = 0;
i = j = 0; /* avoid bogus warning from egcs-1.1.X */
+ showProgress = False;
/*-- Set up signal handlers for mem access errors --*/
signal (SIGSEGV, mySIGSEGVorSIGBUScatcher);
@@ -1949,6 +2009,7 @@
case 'k': keepInputFiles = True; break;
case 's': smallMode = True; break;
case 'q': noisy = False; break;
+ case 'p': showProgress = True; break;
case '1': blockSize100k = 1; break;
case '2': blockSize100k = 2; break;
case '3': blockSize100k = 3; break;
@@ -1985,6 +2046,7 @@
if (ISFLAG("--keep")) keepInputFiles = True; else
if (ISFLAG("--small")) smallMode = True; else
if (ISFLAG("--quiet")) noisy = False; else
+ if (ISFLAG("--show-progress")) showProgress = True; else
if (ISFLAG("--version")) license(); else
if (ISFLAG("--license")) license(); else
if (ISFLAG("--exponential")) workFactor = 1; else

@ -1,4 +1 @@
DIST xz-5.0.8.tar.gz 1329117 SHA256 cac71b31ed322a487f1da1f10dfcf47f8855f97ff2c23b92680c7ae7be58babb SHA512 402079001c280e0e957d666da724158b134fd0b17320c4c387413dd2cc88400ea0a7f88819e06de3b35d864f51cb3e3a50495265382cabd6c1080920b4c70847 WHIRLPOOL d8a5748ef85000e81d535a98448fbf4198c59da7183fa8e25d5311b0e122f8b9342d706fceb1a6151a1b40a2a4bc264d4e799c65a89dd5ed80d1fbebf29e5049
DIST xz-5.2.0.tar.gz 1445562 SHA256 231ef369982240bb20ed7cffa52bb12a4a297ce6871f480ab85e8a7ba98bf3d6 SHA512 dc272d4f8d437bfe22ed75355fcd647018a2514e4b011552c913074c0ae7d306ae2a20f3227895ea8123918088d826b2c5595dc15ba6ba2d8062e780d8707a28 WHIRLPOOL a629c42215c5c8ee366d757a4a08ecf9773aea3422f8c51cf8dffcb74edaab4fa3f760a7a3c11e85564b3a2d6154e06f9a76afc460c1120406539233254caa9e
DIST xz-5.2.1.tar.gz 1454491 SHA256 b918b6648076e74f8d7ae19db5ee663df800049e187259faf5eb997a7b974681 SHA512 61d059c51c7cdbab803d006ee47b0be116fd6ba4ba05b9234c43c8b1d8b0021b44735c1335a911a4bccb8543548563cef16dafd7d76dd8ef6c4f763fc023afc2 WHIRLPOOL d4d90f7230c0880c1c392a2767c398510a69e24c18f5c5947472e108902aebb6e94aad0245f16720c60729a7a50199fb4250ae3f6801a0cc25086e7858c55d19
DIST xz-5.2.2.tar.gz 1464228 SHA256 73df4d5d34f0468bd57d09f2d8af363e95ed6cc3a4a86129d2f2c366259902a2 SHA512 8d6249f93c5c43e1c8eeb21f93b22330fd54575e20bbb4af3d06721192d9f0ca3351878964c9640238ac410b7dd9f16329793c7be7355c7ca0db92c6db6ab813 WHIRLPOOL 7707f10908a57b5780cdb9dda6bac2674f4c5e3350660ea61539b4df5ecc7dbeeb03f05a9b32873d28a14343f9c6491d68095769d3b283018e8139a95bf5f369

@ -1,73 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
# Remember: we cannot leverage autotools in this ebuild in order
# to avoid circular deps with autotools
EAPI="4"
inherit eutils multilib toolchain-funcs libtool multilib-minimal
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="http://git.tukaani.org/xz.git"
inherit git-2 autotools
SRC_URI=""
EXTRA_DEPEND="sys-devel/gettext dev-vcs/cvs >=sys-devel/libtool-2" #272880 286068
else
MY_P="${PN/-utils}-${PV/_}"
SRC_URI="http://tukaani.org/xz/${MY_P}.tar.gz"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
S=${WORKDIR}/${MY_P}
EXTRA_DEPEND=
fi
DESCRIPTION="utils for managing LZMA compressed files"
HOMEPAGE="http://tukaani.org/xz/"
# See top-level COPYING file as it outlines the various pieces and their licenses.
LICENSE="public-domain LGPL-2.1+ GPL-2+"
SLOT="0"
IUSE="nls static-libs +threads"
RDEPEND="!<app-arch/lzma-4.63
!app-arch/lzma-utils
!<app-arch/p7zip-4.57"
DEPEND="${RDEPEND}
${EXTRA_DEPEND}"
src_prepare() {
if [[ ${PV} == "9999" ]] ; then
eautopoint
eautoreconf
else
elibtoolize # to allow building shared libs on Solaris/x64
fi
}
multilib_src_configure() {
ECONF_SOURCE="${S}" econf \
$(use_enable nls) \
$(use_enable threads) \
$(use_enable static-libs static) \
$(multilib_is_native_abi || echo --disable-{xz,xzdec,lzmadec,lzmainfo,lzma-links,scripts})
}
multilib_src_install() {
default
multilib_is_native_abi && gen_usr_ldscript -a lzma
}
multilib_src_install_all() {
prune_libtool_files --all
rm "${ED}"/usr/share/doc/xz/COPYING* || die
mv "${ED}"/usr/share/doc/{xz,${PF}} || die
}
pkg_preinst() {
preserve_old_lib /usr/$(get_libdir)/liblzma$(get_libname 0)
}
pkg_postinst() {
preserve_old_lib_notify /usr/$(get_libdir)/liblzma$(get_libname 0)
}

@ -1,73 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
# Remember: we cannot leverage autotools in this ebuild in order
# to avoid circular deps with autotools
EAPI="4"
inherit eutils multilib toolchain-funcs libtool multilib-minimal
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="http://git.tukaani.org/xz.git"
inherit git-2 autotools
SRC_URI=""
EXTRA_DEPEND="sys-devel/gettext dev-vcs/cvs >=sys-devel/libtool-2" #272880 286068
else
MY_P="${PN/-utils}-${PV/_}"
SRC_URI="http://tukaani.org/xz/${MY_P}.tar.gz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
S=${WORKDIR}/${MY_P}
EXTRA_DEPEND=
fi
DESCRIPTION="utils for managing LZMA compressed files"
HOMEPAGE="http://tukaani.org/xz/"
# See top-level COPYING file as it outlines the various pieces and their licenses.
LICENSE="public-domain LGPL-2.1+ GPL-2+"
SLOT="0"
IUSE="nls static-libs +threads"
RDEPEND="!<app-arch/lzma-4.63
!app-arch/lzma-utils
!<app-arch/p7zip-4.57"
DEPEND="${RDEPEND}
${EXTRA_DEPEND}"
src_prepare() {
if [[ ${PV} == "9999" ]] ; then
eautopoint
eautoreconf
else
elibtoolize # to allow building shared libs on Solaris/x64
fi
}
multilib_src_configure() {
ECONF_SOURCE="${S}" econf \
$(use_enable nls) \
$(use_enable threads) \
$(use_enable static-libs static) \
$(multilib_is_native_abi || echo --disable-{xz,xzdec,lzmadec,lzmainfo,lzma-links,scripts})
}
multilib_src_install() {
default
multilib_is_native_abi && gen_usr_ldscript -a lzma
}
multilib_src_install_all() {
prune_libtool_files --all
rm "${ED}"/usr/share/doc/xz/COPYING* || die
mv "${ED}"/usr/share/doc/{xz,${PF}} || die
}
pkg_preinst() {
preserve_old_lib /usr/$(get_libdir)/liblzma$(get_libname 0)
}
pkg_postinst() {
preserve_old_lib_notify /usr/$(get_libdir)/liblzma$(get_libname 0)
}

@ -1,74 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
# Remember: we cannot leverage autotools in this ebuild in order
# to avoid circular deps with autotools
EAPI="4"
inherit eutils multilib toolchain-funcs libtool multilib-minimal
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="http://git.tukaani.org/xz.git"
inherit git-2 autotools
SRC_URI=""
EXTRA_DEPEND="sys-devel/gettext dev-vcs/cvs >=sys-devel/libtool-2" #272880 286068
else
MY_P="${PN/-utils}-${PV/_}"
SRC_URI="http://tukaani.org/xz/${MY_P}.tar.gz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
S=${WORKDIR}/${MY_P}
EXTRA_DEPEND=
fi
DESCRIPTION="utils for managing LZMA compressed files"
HOMEPAGE="http://tukaani.org/xz/"
# See top-level COPYING file as it outlines the various pieces and their licenses.
LICENSE="public-domain LGPL-2.1+ GPL-2+"
SLOT="0"
IUSE="elibc_FreeBSD nls static-libs +threads"
RDEPEND="!<app-arch/lzma-4.63
!app-arch/lzma-utils
!<app-arch/p7zip-4.57"
DEPEND="${RDEPEND}
${EXTRA_DEPEND}"
src_prepare() {
if [[ ${PV} == "9999" ]] ; then
eautopoint
eautoreconf
else
elibtoolize # to allow building shared libs on Solaris/x64
fi
}
multilib_src_configure() {
use elibc_FreeBSD && export ac_cv_header_sha256_h=no #545714
ECONF_SOURCE="${S}" econf \
$(use_enable nls) \
$(use_enable threads) \
$(use_enable static-libs static) \
$(multilib_is_native_abi || echo --disable-{xz,xzdec,lzmadec,lzmainfo,lzma-links,scripts})
}
multilib_src_install() {
default
multilib_is_native_abi && gen_usr_ldscript -a lzma
}
multilib_src_install_all() {
prune_libtool_files --all
rm "${ED}"/usr/share/doc/xz/COPYING* || die
mv "${ED}"/usr/share/doc/{xz,${PF}} || die
}
pkg_preinst() {
preserve_old_lib /usr/$(get_libdir)/liblzma$(get_libname 0)
}
pkg_postinst() {
preserve_old_lib_notify /usr/$(get_libdir)/liblzma$(get_libname 0)
}

@ -17,7 +17,7 @@ if [[ ${PV} == "9999" ]] ; then
else
MY_P="${PN/-utils}-${PV/_}"
SRC_URI="http://tukaani.org/xz/${MY_P}.tar.gz"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~amd64-linux ~arm-linux ~ia64-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 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
S=${WORKDIR}/${MY_P}
EXTRA_DEPEND=
fi
@ -56,7 +56,7 @@ multilib_src_configure() {
multilib_src_install() {
default
multilib_is_native_abi && gen_usr_ldscript -a lzma
gen_usr_ldscript -a lzma
}
multilib_src_install_all() {

@ -56,7 +56,7 @@ multilib_src_configure() {
multilib_src_install() {
default
multilib_is_native_abi && gen_usr_ldscript -a lzma
gen_usr_ldscript -a lzma
}
multilib_src_install_all() {

@ -1,2 +1,3 @@
DIST burn-cd-1.7.4.gz 14618 SHA256 2b86395358adf96a5b0b60c8869f1d2e62e6c7d43c9d6eabd64899c9f2ef2f66 SHA512 21009659342b284654cec17ac597a5d8f7421a3c0112937db1b70563a42f00a781a7156eeb3877d9c23d6338cffa525cf2f25e4191d9444cca72c4821c9690d6 WHIRLPOOL af2bf7f9832676fe9f508828445d4e41586caee14ff90ce8d50a9e9ac16a0a71290002d5eb92140b2430729700021ee507e72b9a615832840144cc7908230be4
DIST burn-cd-1.8.0.gz 14977 SHA256 89b01f1c736ffa494aa3d089516db479e0567c5f3784c96df5ce87a4880bbf75 SHA512 d052d6bd909af3f3c96cee727e222e179d913aa42c2d2afe8104c57b5263b06f318d6ec870ad2862779d757c4d522b7d82892eb0725255261a28243c919b82cf WHIRLPOOL 6a08964511a5a27803d6941971b923e8b73a90cfee7d137d529c313815b2ed911f0a2e4478b2272c465fd96421d83c9f5db1b6cbc81f6c9272c31aebfb287019
DIST burn-cd-1.8.1.tar.gz 153586 SHA256 8445937d904cf36e690764b1956e6736d4729cf639bc237a67df09d2f24218b2 SHA512 2da40c703351e97d164eeef7c5662cad66292b71a97f47ae4ddcbcf11a09fb298c6c9e8160da53b0908434e64048c2397beaa988b1cbc1513660f73d8f2fe1fe WHIRLPOOL 22caa838520970aa0af5844f8d95e18bff601a3142c61019b6f1e19a61b66b4d561b6a3fe0068c8a6adc2392174fa4f72b097f0a00bba3e917e0dde8a723004c

@ -0,0 +1,27 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit python-r1
DESCRIPTION="Smart console frontend for the cdrkit/cdrtools & dvd+rw-tools"
HOMEPAGE="https://github.com/aglyzov/burn-cd/"
SRC_URI="https://github.com/aglyzov/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}
virtual/cdrtools
app-cdr/dvd+rw-tools"
src_install() {
newbin ${P} ${PN}
insinto /etc
newins dotburn-cd.conf burn-cd.conf
}

@ -1,9 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<longdescription>CD and DVD command line recording and ripping tools.</longdescription>
<upstream>
<remote-id type="sourceforge">burn-cd</remote-id>
</upstream>
<maintainer type="person">
<email>canutethegreat@gmail.com</email>
<name>Ronald Farrer</name>
<description>Proxy-maintainer; ADD or CC him for bugs</description>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<longdescription>CD and DVD command line recording and ripping tools.</longdescription>
<upstream>
<remote-id type="github">aglyzov/burn-cd</remote-id>
</upstream>
</pkgmetadata>

@ -1,2 +1 @@
DIST docker-swarm-1.0.1.tar.gz 1187966 SHA256 33c6566af395affbf9861d1491613c48a70e6c61c532910cef2210be7b1323f7 SHA512 ed5e6a37cd0f5a816367cab451d21ac20183f8ce767a30dc3086f849da8e0d2662c9f9b7e56d826e7e8cf5d4ec3d9f1ee8c159cca294af7ec45c2c1a21eaaf80 WHIRLPOOL e17705a3bef077e5fed552131aa7cd4891934a537dc93bbb8dfe81bf2e82c281d7f74a5150febdde26f492cf5ad4eec8417aac9a7edc6e48812f4af3ed1b624e
DIST docker-swarm-1.1.3.tar.gz 4144842 SHA256 bf9d7a2fe2cc69e34ead33952f38b621dd3bb006ec28e0185f9f7b18956a64e5 SHA512 661b7a1f2a663a18ef5dfe07cf2e1bb4e496e42709f986f8f6d78ecaccea5b3fd5d67d54db5154ec2ad0f1ac791dc3602d2451816b331c29e6d41a3a076cbc60 WHIRLPOOL 0c14ebea9c0ed90fa3b4eaae79fea1de83bbc83bbe2e54418f73cce105c1daa42aefd0a0216f619ed4e0593ec3a11b441cbcb1b94dd243be146acdcce6c3f831

@ -1,37 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
EGO_PN=github.com/docker/${PN##*-}/...
if [[ ${PV} = *9999* ]]; then
inherit golang-vcs
else
KEYWORDS="~amd64"
EGIT_COMMIT="v${PV}"
SRC_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
inherit golang-vcs-snapshot
fi
inherit golang-build
DESCRIPTION="A Docker-native clustering system"
HOMEPAGE="https://docs.docker.com/${PN##*-}/"
LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
RESTRICT="test"
DEPEND="!!<app-admin/consul-0.6.3-r1"
RDEPEND=""
S=${WORKDIR}/${P}/src/${EGO_PN%/*}
src_compile() {
GOPATH="${WORKDIR}/${P}:${S}/Godeps/_workspace:$(get_golibdir_gopath)" \
go build -v -work -x ${EGO_BUILD_FLAGS} -o ${PN} || die
}
src_install() {
dobin ${PN}
dodoc CHANGELOG.md CONTRIBUTING.md README.md ROADMAP.md
}

@ -22,7 +22,8 @@ LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
RESTRICT="test"
DEPEND="!!<app-admin/consul-0.6.3-r1"
DEPEND=">=dev-lang/go-1.6:=
!!<app-admin/consul-0.6.3-r1"
RDEPEND=""
S=${WORKDIR}/${P}/src/${EGO_PN%/*}

@ -1,2 +1,2 @@
DIST winetricks-20160109.tar.gz 176741 SHA256 6a55db3c1441021bfcb8653b3f0c6eb4260e1ab22fbe98083d28f21470f0ca71 SHA512 41fd0f7bfa2155131d26eb185a584d6e276931f6cc22341847690fa82d3f35e0c9fdeec877a5dc6d4d6092d6a15299e98015be9aaa84677cd5442fbff4fa3891 WHIRLPOOL f6bfa5596c855a942a1ffebcc6252274c379187a9763c036795b3e431ccdcadb7116e48e23ac3109547d96e5cfa9302c3d99a911190ac0d70b073d355974f95e
DIST winetricks-20160329.tar.gz 170236 SHA256 a2a6f93e5242c22dd284710d26d6c98169eebcd57e5db71dae4c8e4fbad34c39 SHA512 e128a8ec1422c2864ef8919f26e1218ea1b663a5ebac789669b1451616213e406f474ed29f160bdcbfa5357475d43ffc9ee6d4587548ca10f23376759150812e WHIRLPOOL bf1abe3cf8d4f10c7f28112f583d825f70bfc3b4a77386b7e463e73a74713067f77a8f30714d476b464e8d8a8ed1f70d4b203a75f34904821c7bfa75860a557b
DIST winetricks-gentoo-2012.11.24.tar.bz2 6398 SHA256 dded8c294cc5c2e71e4a5d1531ab165178cf3d2d1d890d0656368c2e499bfeb9 SHA512 59c93b73f3a7b2d11aefcde2ff66659ff1de21ad4b5f232f4b60572f3a48b15a6c49f369b1696862bf1b33fde190bf5598945e9536fb41ddec42d8def4d2be2a WHIRLPOOL 268da9e06712a678fbbcfff8eac1fca364b5e46f0a9c48a591eb88f03260b1a55f203eb2908bfe1f0a534b77c866127ff6f7049b0e43fe8abeaaa26fe55de75b

@ -1,18 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>Chiitoo@gentoo.org</email>
<name>Jimi Huotari</name>
<description>Proxied maintainer; assign all bugs to him</description>
</maintainer>
<maintainer type="person">
<email>NP-Hardass@gentoo.org</email>
<name>NP-Hardass</name>
<description>Proxy maintainer; CC on all bugs</description>
</maintainer>
<maintainer type="project">
<email>wine@gentoo.org</email>
<name>Wine</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<upstream>
<remote-id type="google-code">winetricks</remote-id>
<remote-id type="github">Winetricks/winetricks</remote-id>

@ -1,8 +1,8 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
EAPI=6
inherit gnome2-utils eutils
@ -14,7 +14,9 @@ else
SRC_URI="https://github.com/Winetricks/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
wtg=winetricks-gentoo-2012.11.24
SRC_URI="${SRC_URI}
gtk? ( https://dev.gentoo.org/~tetromino/distfiles/wine/${wtg}.tar.bz2 )
kde? ( https://dev.gentoo.org/~tetromino/distfiles/wine/${wtg}.tar.bz2 )"
@ -37,10 +39,10 @@ RDEPEND="app-arch/cabextract
kde? ( kde-apps/kdialog )
rar? ( app-arch/unrar )"
# Uses non-standard "Wine" category, which is provided by app-emulation/wine; #451552
# Uses a non-standard "Wine" category, which is provided by app-emulation/wine; #451552
QA_DESKTOP_FILE="usr/share/applications/winetricks.desktop"
# Tests require network access and run wine, which is unreliable from a portage environment
# Tests require network access and run Wine, which is unreliable from a portage environment.
RESTRICT="test"
src_unpack() {

@ -1,8 +1,8 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
EAPI=6
inherit gnome2-utils eutils
@ -14,7 +14,9 @@ else
SRC_URI="https://github.com/Winetricks/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
wtg=winetricks-gentoo-2012.11.24
SRC_URI="${SRC_URI}
gtk? ( https://dev.gentoo.org/~tetromino/distfiles/wine/${wtg}.tar.bz2 )
kde? ( https://dev.gentoo.org/~tetromino/distfiles/wine/${wtg}.tar.bz2 )"
@ -40,7 +42,7 @@ RDEPEND="app-arch/cabextract
# Uses non-standard "Wine" category, which is provided by app-emulation/wine; #451552
QA_DESKTOP_FILE="usr/share/applications/winetricks.desktop"
# Tests require network access and run wine, which is unreliable from a portage environment
# Tests require network access and run Wine, which is unreliable from a portage environment.
RESTRICT="test"
src_unpack() {

@ -13,7 +13,7 @@ SRC_URI="ftp://ftp.pangeia.com.br/pub/seg/pac/${P}.tar.gz
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="+cron"
RDEPEND="cron? ( virtual/cron )"

@ -14,7 +14,7 @@ SRC_URI="http://www.midnight-commander.org/downloads/${MY_P}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 arm ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
IUSE="+edit gpm mclib nls samba sftp +slang spell test X +xdg"
REQUIRED_USE="spell? ( edit )"

@ -13,7 +13,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~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 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="nls static"
RDEPEND="dev-libs/iniparser:0"

@ -0,0 +1 @@
DIST aerospike-server-community-3.7.5-debian7.tgz 10810815 SHA256 9177bc49b732534371a27544adafa6792504b90ecb2e1992de7882ed7b221c32 SHA512 55b78b1992fac52f85d0405ae78b590b8af60880da0fc307570e13c2468f7e83fc1b61c3425e4c98fdb955c3d19c96c3f8e557f803c6d8154ec9d3fd453b2ca9 WHIRLPOOL 5569dd54bf68ee68ebb4bc709d8a5d816115781dd3a05997685c1408dfc1129e83f251b973c4f5e736a728998cf8f54543f9800214c9efe6077f1a92c5f40cee

@ -0,0 +1,69 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils user
DESCRIPTION="Flash-optimized, in-memory, nosql database"
HOMEPAGE="http://www.aerospike.com"
SRC_URI="http://www.aerospike.com/artifacts/${PN}/${PV}/${P}-debian7.tgz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="app-crypt/gcr"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${P}-debian7"
pkg_setup() {
enewgroup aerospike
enewuser aerospike -1 /bin/bash /opt/aerospike aerospike
}
src_prepare() {
local server_deb="${P}.debian7.x86_64.deb"
local tools_deb="aerospike-tools-${PV}.debian7.x86_64.deb"
ar x "${server_deb}" || die
tar xzf data.tar.gz && rm data.tar.gz || die
ar x "${tools_deb}" || die
tar xzf data.tar.gz && rm data.tar.gz || die
rm *.deb asinstall control.tar.gz debian-binary LICENSE SHA256SUMS
rm usr/bin/{asfixownership,asmigrate2to3}
}
src_install() {
insinto /opt/
doins -r opt/aerospike
fperms +x -R /opt/aerospike/bin/
fperms +x -R /opt/aerospike/lib/python/
for dir in '/etc' '/var/log'; do
keepdir "${dir}/aerospike"
done
insinto /etc/aerospike
for conf in 'aerospike.conf' 'aerospike_mesh.conf' 'aerospike_ssd.conf'; do
doins "${FILESDIR}/${conf}"
done
insinto /usr/bin
doins usr/bin/*
fperms +x -R /usr/bin/asd
insinto /etc/logrotate.d
newins "${FILESDIR}"/aerospike.logrotate aerospike
newinitd "${FILESDIR}"/aerospike.init aerospike
fowners -R aerospike:aerospike /opt/aerospike/
fowners aerospike:aerospike /usr/bin/asd
fowners -R aerospike:aerospike /var/log/aerospike
}

@ -0,0 +1,87 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
EGIT_REPO_URI="https://github.com/aerospike/aerospike-server.git"
inherit git-2 systemd user
DESCRIPTION="Flash-optimized, in-memory, nosql database"
HOMEPAGE="http://www.aerospike.com"
SRC_URI=""
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS=""
IUSE="+tools"
RDEPEND="app-crypt/gcr
dev-libs/jansson
dev-libs/jemalloc"
DEPEND="${RDEPEND}"
DOCS=(
README.md
)
PATCHES=(
"${FILESDIR}"/3.5.8-use-system-libs.patch
)
pkg_setup() {
enewgroup aerospike
enewuser aerospike -1 /bin/bash /opt/aerospike aerospike
}
src_prepare() {
base_src_prepare
git submodule update --init
sed \
-e 's/USE_SYSTEM_JEM = 0/USE_SYSTEM_JEM = 1/g' \
-e 's/USE_SYSTEM_JANSSON = 0/USE_SYSTEM_JANSSON = 1/g' \
-e 's/LD_CRYPTO = static/LD_CRYPTO = dynamic/g' \
-e 's/LD_JANSSON = static/LD_JANSSON = dynamic/g' \
-e 's/LD_JEM = static/LD_JEM = dynamic/g' \
-i make_in/Makefile.vars || die
rm -rf modules/jansson
rm -rf modules/jemalloc
}
src_install() {
base_src_install_docs
dobin target/Linux-x86_64/bin/asd
insinto /opt/aerospike/sys/udf/lua
doins -r modules/lua-core/src/*
if use tools; then
insinto /opt/aerospike/bin
doins tools/afterburner/afterburner.sh
fperms +x /opt/aerospike/bin/afterburner.sh
fi
keepdir /opt/aerospike/usr/udf/lua
keepdir /var/log/aerospike
insinto /etc/aerospike
for conf in aerospike.conf aerospike_mesh.conf aerospike_ssd.conf; do
sed -e "s@/var/run/aerospike/asd.pid@/run/aerospike/aerospike.pid@g" -i as/etc/"${conf}" || die
doins as/etc/"${conf}"
done
insinto /etc/logrotate.d
newins as/etc/logrotate_asd aerospike
newinitd "${FILESDIR}"/aerospike.init aerospike
systemd_newunit as/etc/aerospike-server.service aerospike.service
fowners -R aerospike:aerospike /opt/aerospike/
fowners aerospike:aerospike /usr/bin/asd
fowners -R aerospike:aerospike /var/log/aerospike
}

@ -0,0 +1,63 @@
diff --git a/Makefile b/Makefile
index d4ce8ac..26271fd 100644
--- a/Makefile
+++ b/Makefile
@@ -54,12 +54,16 @@ ifeq ($(USE_ASM),1)
$(MAKE) -C $(ASMALLOC) jem SRCDIR=src
endif
ifeq ($(USE_JEM),1)
+ifeq ($(USE_SYSTEM_JEM),0)
$(MAKE) -C $(JEMALLOC)
endif
+endif
ifeq ($(USE_LUAJIT),1)
$(MAKE) -C $(LUAJIT) Q= TARGET_SONAME=libluajit.so CCDEBUG=-g
endif
+ifeq ($(USE_SYSTEM_JANSSON),0)
$(MAKE) -C $(JANSSON)
+endif
$(MAKE) -C $(COMMON) CF=$(CF) EXT_CFLAGS="$(EXT_CFLAGS)"
$(MAKE) -C $(CF)
$(MAKE) -C $(MOD_LUA) CF=$(CF) COMMON=$(COMMON) LUA_CORE=$(LUA_CORE) EXT_CFLAGS="$(EXT_CFLAGS)" USE_LUAJIT=$(USE_LUAJIT) LUAJIT=$(LUAJIT)
@@ -174,16 +178,24 @@ mexp2: mexp1
$(MAKE) MEXP_PHASE=2 SRCDIR=$(realpath $(MEXP_DIR))/
$(JANSSON)/configure:
+ifeq ($(USE_SYSTEM_JANSSON),0)
cd $(JANSSON) && autoreconf -i
+endif
$(JANSSON)/Makefile: $(JANSSON)/configure
+ifeq ($(USE_SYSTEM_JANSSON),0)
cd $(JANSSON) && ./configure $(JANSSON_CONFIG_OPT)
+endif
$(JEMALLOC)/configure:
+ifeq ($(USE_SYSTEM_JEM),0)
cd $(JEMALLOC) && autoconf
+endif
$(JEMALLOC)/Makefile: $(JEMALLOC)/configure
+ifeq ($(USE_SYSTEM_JEM),0)
cd $(JEMALLOC) && ./configure $(JEM_CONFIG_OPT)
+endif
$(LUAJIT)/src/luaconf.h: $(LUAJIT)/src/luaconf.h.orig
ln -s $(notdir $<) $@
diff --git a/make_in/Makefile.vars b/make_in/Makefile.vars
index efe3226..0b54701 100644
--- a/make_in/Makefile.vars
+++ b/make_in/Makefile.vars
@@ -31,6 +31,12 @@ ifeq ($(USE_ASM),1)
EXT_CFLAGS += -DUSE_ASM
endif
+# Use the system provided JEMalloc memory allocator? [By default, no.]
+USE_SYSTEM_JEM = 0
+
+# Use the system provided Jansson JSON API Library? [By default, no.]
+USE_SYSTEM_JANSSON = 0
+
# Use the JEMalloc memory allocator? [By default, yes.]
USE_JEM = 1

@ -0,0 +1,70 @@
# Aerospike database configuration file.
service {
user root
group root
paxos-single-replica-limit 1 # Number of nodes where the replica count is automatically reduced to 1.
pidfile /run/aerospike/aerospike.pid
service-threads 4
transaction-queues 4
transaction-threads-per-queue 4
proto-fd-max 15000
}
logging {
# Log file must be an absolute path.
file /var/log/aerospike/aerospike.log {
context any info
}
}
network {
service {
address any
port 3000
}
heartbeat {
mode multicast
address 239.1.99.222
port 9918
# To use unicast-mesh heartbeats, remove the 3 lines above, and see
# aerospike_mesh.conf for alternative.
interval 150
timeout 10
}
fabric {
port 3001
}
info {
port 3003
}
}
namespace test {
replication-factor 2
memory-size 4G
default-ttl 30d # 30 days, use 0 to never expire/evict.
storage-engine memory
}
namespace bar {
replication-factor 2
memory-size 4G
default-ttl 30d # 30 days, use 0 to never expire/evict.
storage-engine memory
# To use file storage backing, comment out the line above and use the
# following lines instead.
# storage-engine device {
# file /opt/aerospike/data/bar.dat
# filesize 16G
# data-in-memory true # Store data in memory in addition to file.
# }
}

@ -0,0 +1,53 @@
#!/sbin/runscript
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
config_file=${config_file:-/etc/aerospike/${SVCNAME}.conf}
run_dir=${run_dir:-/run/aerospike}
command="/usr/bin/asd"
command_args="--config-file ${config_file}"
command_background="false"
pidfile=${run_dir}/${SVCNAME}.pid
user=${user:-aerospike}
group=${group:-aerospike}
start_stop_daemon_args="--user ${user} --group ${group}"
required_files="${config_file}"
depend() {
use net
}
set_shmall() {
mem=`/sbin/sysctl -n kernel.shmall`
min=4294967296
if [ ${#mem} -le ${#min} ]; then
if [ $mem -lt $min ]; then
ewarn "kernel.shmall too low, setting to 4G pages = 16TB"
/sbin/sysctl -w kernel.shmall=$min
fi
fi
}
set_shmmax() {
mem=`/sbin/sysctl -n kernel.shmmax`
min=1073741824
if [ ${#mem} -le ${#min} ]; then
if [ $mem -lt $min ]; then
ewarn "kernel.shmmax too low, setting to 1GB"
/sbin/sysctl -w kernel.shmmax=$min
fi
fi
}
start_pre() {
checkpath -d -m 0755 -o "${user}":"${group}" "${run_dir}"
set_shmall
set_shmmax
ulimit -n 100000
if [ -n $LD_PRELOAD ]; then export LD_PRELOAD; fi
}
start_post() {
ewaitfile 60 "${pidfile}"
}

@ -0,0 +1,10 @@
/var/log/aerospike/aerospike.log {
daily
rotate 90
dateext
compress
olddir /var/log/aerospike/
postrotate
kill -HUP `cat /var/run/aerospike/aerospike.pid`
endscript
}

@ -0,0 +1,73 @@
# Aerospike database configuration file for deployments using mesh heartbeats.
service {
user root
group root
paxos-single-replica-limit 1 # Number of nodes where the replica count is automatically reduced to 1.
pidfile /run/aerospike/aerospike.pid
service-threads 4
transaction-queues 4
transaction-threads-per-queue 4
proto-fd-max 15000
}
logging {
# Log file must be an absolute path.
file /var/log/aerospike/aerospike.log {
context any info
}
}
network {
service {
address any
port 3000
}
heartbeat {
mode mesh
port 3002 # Heartbeat port for this node.
# List one or more other nodes, one ip-address & port per line:
mesh-seed-address-port 10.10.10.10 3002
# mesh-seed-address-port 10.10.10.11 3002
# mesh-seed-address-port 10.10.10.12 3002
# mesh-seed-address-port 10.10.10.13 3002
# mesh-seed-address-port 10.10.10.14 3002
interval 250
timeout 10
}
fabric {
port 3001
}
info {
port 3003
}
}
namespace test {
replication-factor 2
memory-size 4G
default-ttl 30d # 30 days, use 0 to never expire/evict.
storage-engine memory
}
namespace bar {
replication-factor 2
memory-size 4G
default-ttl 30d # 30 days, use 0 to never expire/evict.
storage-engine memory
# To use file storage backing, comment out the line above and use the
# following lines instead.
# storage-engine device {
# file /opt/aerospike/data/bar.dat
# filesize 16G
# data-in-memory true # Store data in memory in addition to file.
# }
}

@ -0,0 +1,68 @@
# Aerospike database configuration file for deployments using raw storage.
service {
user root
group root
paxos-single-replica-limit 1 # Number of nodes where the replica count is automatically reduced to 1.
pidfile /run/aerospike/aerospike.pid
service-threads 8
transaction-queues 8
transaction-threads-per-queue 8
proto-fd-max 15000
}
logging {
# Log file must be an absolute path.
file /var/log/aerospike/aerospike.log {
context any info
}
}
network {
service {
address any
port 3000
}
heartbeat {
mode multicast
address 239.1.99.222
port 9918
# To use unicast-mesh heartbeats, remove the 3 lines above, and see
# aerospike_mesh.conf for alternative.
interval 150
timeout 10
}
fabric {
port 3001
}
info {
port 3003
}
}
namespace test {
replication-factor 2
memory-size 4G
default-ttl 30d # 30 days, use 0 to never expire/evict.
# Warning - legacy data in defined raw partition devices will be erased.
# These partitions must not be mounted by the file system.
storage-engine device {
# Use one or more lines like those below with actual device paths.
# device /dev/sdb
# device /dev/sdc
# The 2 lines below optimize for SSD.
scheduler-mode noop
write-block-size 128K
# Use the line below to store data in memory in addition to devices.
# data-in-memory true
}
}

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>patrick@gentoo.org</email>
</maintainer>
<use>
<flag name="tools">Install extra tools</flag>
</use>
</pkgmetadata>

@ -11,7 +11,7 @@ SRC_URI="https://github.com/LMDB/lmdb/archive/LMDB_${PV}.tar.gz"
LICENSE="OPENLDAP"
SLOT="0/${PV}"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ppc ppc64 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ppc ppc64 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
IUSE="static-libs"
DEPEND=""

@ -3,6 +3,7 @@ DIST mariadb-10.0.24.tar.gz 57438082 SHA256 65de16f5f9b1696e2a537bc7a99d122bc38f
DIST mariadb-10.1.10.tar.gz 55158771 SHA256 d2c26fc76ff7397bdf25924161174c30a2b7fbd59893048f50145fc0a8278f76 SHA512 a33f813bf90380ce480cf5cb909032536629f7c06b68e90ceb061e13606a93824511196736ecf1149a15017026c098edfc4ce540d0e30f8ec2c69c7b0350c1b3 WHIRLPOOL 72110267deae404762756c500719f0bd6aaa648451bde3d83db869ed40ab402c71463044d52092dc8dbc031a808a50dc30fc13be37b16974294f8f94d780dbb8
DIST mariadb-10.1.11.tar.gz 55184229 SHA256 cd32927370343b4f14bcc6073bca163623c27843ae7bc59c8c6a9ebeda0325ce SHA512 5963aa4a7ce468ae46296cd4f83ed5922b1c00274a5d678ad6d0c36754c6e3edb3adc7286d398aac31a5652fca6c5d5480320e4ebae5b4a78619b4bd358bd80b WHIRLPOOL 2021b0457e296b8e20f4b2c1721bcc65383fd491ef8e90cb080dc1ef00ebfe054be32efaca829dec134fed78fd35b5283315ff1080ec9cf5e596efbe76290c54
DIST mariadb-10.1.12.tar.gz 55254244 SHA256 795f466ac0e4df148981b85df735855d41614abaedcda51520a513a4ad60f4e7 SHA512 c0f28de80e22b7fc1f74946f309c364601036aefeea2bb464b11e3658e102dd80ef0d6d156d0af67af76e54741e60334be8c48630766141b01b885d53068b659 WHIRLPOOL 28ceaa2445a89c82c91ca4f6806fb78fd40705b823b95817625e6fc97112f9a5eddfd4e1d1527c5ad588a9fec33353e4f88174272409637090d8495175a8cd3d
DIST mariadb-10.1.13.tar.gz 55272572 SHA256 21e1c7da1421146c69f5e8077333aaac06778a87046a1943ee4f449fbcefc00d SHA512 fdaa35f1a93e2a124339f3a4a85d7247c223ffec2cd7ed36f029f63a76bd348b8f41f491e5b2f81f53bed82ed79bc89b62dd6966d5a946910299070ece667b5e WHIRLPOOL 0ff2891af910380749be8b31bdacec02777cc4f2b474172b3257cecc10b900222c3c089515c9fd4621ea75ea58179b1f1336b7c26185ec43282df0ce661e621d
DIST mariadb-5.5.47.tar.gz 45705343 SHA256 62b9378677433461d2a79b1ebe3182ba249994eb0cff2054ae8de8f646364209 SHA512 76359229448abec40100c916d69eab0d8e37bd480025edbacb70b7bfe965151953bfc8c9b36f6645e9c4b5ede8d970886373b6a069abf8e0026059cac1b09d76 WHIRLPOOL ce3548d2eec369be96ea373438c1cf586bdff536e8b61116b110ccc39ab412a46423353f4cddd6d816e93b43c707f40a3bb5b97349fa709fe2c86f484f54f62a
DIST mariadb-5.5.48.tar.gz 45727158 SHA256 50f753e003af6bd9c50b6257cca9d0cced5c877690824eac05f8d54fb9f6b421 SHA512 e4485a17589aad77e8d375d1c72065ea0d84da5954af029099dab19ffa852b4e3541ad13a77179e5c4722afc0574f2998a4f854b2b08a0689bb1428deb7de171 WHIRLPOOL d9c15aae23d2104eb15a8003810b2e11618ee159cda923bf5e521eace635c6a2731ccb292d73425f0346fd88ff382c6dbfb686996118f84fccdcfb89504e729b
DIST mysql-extras-20150509-1847Z.tar.bz2 1494301 SHA256 de9c9fbb67998604cb3c0409842e4601646c8ad17f2aa301f55ffd4aed7a483d SHA512 f87d96ab8c35236d4453182c49f87f6e703af9dc217916546e4dd7368caa18a2340c9063decd96c22251d1097d7e2cac58bef30e6ff75c23aedf8926dbc3d3b4 WHIRLPOOL f60297c8ee1dfd9867ed6b29a8b04a002f23bc36b1e8d9b5db30e1e454a49fe06ffc37b10d934b11235364eecdc62beb50ce24690ab3d07a50056357906fa0fa

@ -0,0 +1,213 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="6"
MY_EXTRAS_VER="20160131-0252Z"
# The wsrep API version must match between upstream WSREP and sys-cluster/galera major number
WSREP_REVISION="25"
SUBSLOT="18"
MYSQL_PV_MAJOR="5.6"
inherit toolchain-funcs mysql-multilib-r1
HOMEPAGE="http://mariadb.org/"
DESCRIPTION="An enhanced, drop-in replacement for MySQL"
IUSE="bindist cracklib galera kerberos innodb-lz4 innodb-lzo innodb-snappy mroonga odbc oqgraph pam sphinx sst-rsync sst-xtrabackup tokudb systemd xml"
RESTRICT="!bindist? ( bindist )"
REQUIRED_USE="server? ( tokudb? ( jemalloc ) ) static? ( !pam ) "
# REMEMBER: also update eclass/mysql*.eclass before committing!
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
MY_PATCH_DIR="${WORKDIR}/mysql-extras-${MY_EXTRAS_VER}"
PATCHES=(
"${MY_PATCH_DIR}"/20004_all_mariadb-filter-tokudb-flags-10.1.10.patch
"${MY_PATCH_DIR}"/20006_all_cmake_elib-mariadb-10.1.8.patch
"${MY_PATCH_DIR}"/20009_all_mariadb_myodbc_symbol_fix-5.5.38.patch
"${MY_PATCH_DIR}"/20015_all_mariadb-pkgconfig-location.patch
"${MY_PATCH_DIR}"/20018_all_mariadb-10.1.7-without-clientlibs-tools.patch
)
COMMON_DEPEND="
mroonga? ( app-text/groonga-normalizer-mysql )
kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] )
systemd? ( sys-apps/systemd:= )
!bindist? ( >=sys-libs/readline-4.1:0= )
server? (
cracklib? ( sys-libs/cracklib:0= )
extraengine? (
odbc? ( dev-db/unixODBC:0= )
xml? ( dev-libs/libxml2:2= )
)
innodb-lz4? ( app-arch/lz4 )
innodb-lzo? ( dev-libs/lzo )
innodb-snappy? ( app-arch/snappy )
oqgraph? ( >=dev-libs/boost-1.40.0:0= dev-libs/judy:0= )
pam? ( virtual/pam:0= )
tokudb? ( app-arch/snappy )
)
>=dev-libs/libpcre-8.35:3=
"
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
${COMMON_DEPEND}"
RDEPEND="${RDEPEND} ${COMMON_DEPEND}
galera? (
sys-apps/iproute2
=sys-cluster/galera-${WSREP_REVISION}*
sst-rsync? ( sys-process/lsof )
sst-xtrabackup? ( net-misc/socat[ssl] )
)
perl? ( !dev-db/mytop
virtual/perl-Getopt-Long
dev-perl/TermReadKey
virtual/perl-Term-ANSIColor
virtual/perl-Time-HiRes )
"
# xtrabackup-bin causes a circular dependency if DBD-mysql is not already installed
PDEPEND="galera? ( sst-xtrabackup? ( >=dev-db/xtrabackup-bin-2.2.4 ) )"
MULTILIB_WRAPPED_HEADERS+=( /usr/include/mysql/mysql_version.h )
src_configure(){
# bug 508724 mariadb cannot use ld.gold
tc-ld-disable-gold
local MYSQL_CMAKE_NATIVE_DEFINES=(
-DWITH_JEMALLOC=$(usex jemalloc system)
-DWITH_PCRE=system
)
local MYSQL_CMAKE_EXTRA_DEFINES=(
-DPLUGIN_AUTH_GSSAPI_CLIENT=$(usex kerberos YES NO)
)
if use server ; then
# Federated{,X} must be treated special otherwise they will not be built as plugins
if ! use extraengine ; then
MYSQL_CMAKE_NATIVE_DEFINES+=(
-DPLUGIN_FEDERATED=NO
-DPLUGIN_FEDERATEDX=NO )
fi
MYSQL_CMAKE_NATIVE_DEFINES+=(
-DPLUGIN_OQGRAPH=$(usex oqgraph YES NO)
-DPLUGIN_SPHINX=$(usex sphinx YES NO)
-DPLUGIN_TOKUDB=$(usex tokudb YES NO)
-DPLUGIN_AUTH_PAM=$(usex pam YES NO)
-DPLUGIN_CRACKLIB_PASSWORD_CHECK=$(usex cracklib YES NO)
-DPLUGIN_CASSANDRA=NO
-DPLUGIN_SEQUENCE=$(usex extraengine YES NO)
-DPLUGIN_SPIDER=$(usex extraengine YES NO)
-DPLUGIN_CONNECT=$(usex extraengine YES NO)
-DCONNECT_WITH_MYSQL=1
-DCONNECT_WITH_LIBXML2=$(usex xml)
-DCONNECT_WITH_ODBC=$(usex odbc)
-DWITH_WSREP=$(usex galera)
-DWITH_INNODB_LZ4=$(usex innodb-lz4)
-DWITH_INNODB_LZO=$(usex innodb-lzo)
-DWITH_INNODB_SNAPPY=$(usex innodb-snappy)
-DPLUGIN_MROONGA=$(usex mroonga YES NO)
-DPLUGIN_AUTH_GSSAPI=$(usex kerberos YES NO)
)
fi
mysql-multilib-r1_src_configure
}
# Official test instructions:
# USE='embedded extraengine perl server openssl static-libs' \
# FEATURES='test userpriv -usersandbox' \
# ebuild mariadb-X.X.XX.ebuild \
# digest clean package
multilib_src_test() {
if ! multilib_is_native_abi ; then
einfo "Server tests not available on non-native abi".
return 0;
fi
local TESTDIR="${BUILD_DIR}/mysql-test"
local retstatus_unit
local retstatus_tests
if use server ; then
# Bug #213475 - MySQL _will_ object strenously if your machine is named
# localhost. Also causes weird failures.
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
if [[ $UID -eq 0 ]]; then
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
fi
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
addpredict /this-dir-does-not-exist/t9.MYI
# Run CTest (test-units)
cmake-utils_src_test
retstatus_unit=$?
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
# Ensure that parallel runs don't die
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
# Enable parallel testing, auto will try to detect number of cores
# You may set this by hand.
# The default maximum is 8 unless MTR_MAX_PARALLEL is increased
export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
# create directories because mysqladmin might run out of order
mkdir -p "${T}"/var-tests{,/log}
# These are failing in MariaDB 10.0 for now and are believed to be
# false positives:
#
# main.information_schema, binlog.binlog_statement_insert_delayed,
# main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql,
# funcs_1.is_columns_mysql main.bootstrap
# fails due to USE=-latin1 / utf8 default
#
# main.mysql_client_test, main.mysql_client_test_nonblock
# main.mysql_client_test_comp:
# segfaults at random under Portage only, suspect resource limits.
#
# plugins.cracklib_password_check
# Can randomly fail due to cracklib return message
for t in main.mysql_client_test main.mysql_client_test_nonblock \
main.mysql_client_test_comp main.bootstrap \
binlog.binlog_statement_insert_delayed main.information_schema \
main.mysqld--help plugins.cracklib_password_check \
funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do
mysql-multilib-r1_disable_test "$t" "False positives in Gentoo"
done
# Run mysql tests
pushd "${TESTDIR}" || die
# run mysql-test tests
perl mysql-test-run.pl --force --vardir="${T}/var-tests" --reorder
retstatus_tests=$?
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
popd || die
# Cleanup is important for these testcases.
pkill -9 -f "${S}/ndb" 2>/dev/null
pkill -9 -f "${S}/sql" 2>/dev/null
failures=""
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
[[ -z "$failures" ]] || die "Test failures: $failures"
einfo "Tests successfully completed"
else
einfo "Skipping server tests due to minimal build."
fi
}

@ -1,3 +1,4 @@
DIST godep-50.tar.gz 70100 SHA256 e474e663e9d696445129201e3d3598a724de9a673ce3ad6652af75a93da2aeed SHA512 b3c114885d7de362c8a3fa3a65f609f37c8610eeb3d9807628f70d49b5b813770a5445c4048bd749df635d9526e5136abcbd2c1d4bd415fd97e86d6599b98438 WHIRLPOOL d4b4e0e2dc3f9ecfd2a1f25cdb56b156b601fc5393527695655769ccb29fa2a45a104b09f95a182df7587e61a5311c1966e5f73ed9bab5cfb891a46fddf35c08
DIST godep-51.tar.gz 70357 SHA256 7829d6ed805df5ab3b35d74685e2d471869b66cf4e4e408dabf098d2bfaafebe SHA512 0d2500b19ec804c626b16407df3a925d7307b667a90475e0aad26b2b511e1d24e333bc03341aa62879d6538b48d5a12173341bbe1fcd6fbe1116909d21c4f3d5 WHIRLPOOL 5e0a7db6431a15b2c31e405748f2feb86bd169677bd8710dc1f1a35b19fa807719433d0201283e470bdec49dc3c44e4c11b585f623a27b1f965d10ff38110073
DIST godep-52.tar.gz 70407 SHA256 37a526b6af329b05f81ec92b72488b2a4cdc8457aa9ac5643ca20c28844e277d SHA512 76f473a2eb26f480f0d3e61bdc3fffc6eebb968203ac89613519482bd29433a2ef7c25342cba0b6ad424c070b672e89d1731e1529741312ca8c9f5bfe30ca1cd WHIRLPOOL c6dac3af106d99549c22130f0b47fd108938405a135338e1c1c4d883015020f5abc085c7c5ad9d1615be8f866b2b35a2d06eb35db16cebc81ca4b1827ef423a1
DIST godep-60.tar.gz 66591 SHA256 a9dafa87d571dfc817e9e101b20a856c534951d52059cf5af1be599d88b7e6d6 SHA512 04c5874649fbbcb2669c0940f9307675271dc2b62f6c3adcac6ef26b15e0e5df53c725593d5c82960a3adb97d19960e056d79f6c9d3207826fd45fc77a9a7a15 WHIRLPOOL 72a6cf4c5d958b4068e465d4dbe85f7db1e1a46f1c1362329c40ed16e84d079194096c333f9efe41a177d29be89f679fb6ae5d4cc03eedc49375f8251ba954da

@ -0,0 +1,29 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
EGO_PN=github.com/tools/godep
if [[ ${PV} = *9999* ]]; then
inherit golang-vcs
else
KEYWORDS="~amd64"
EGIT_COMMIT=v${PV}
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
inherit golang-vcs-snapshot
fi
inherit golang-build
DESCRIPTION="dependency tool for go"
HOMEPAGE="https://github.com/tools/godep"
LICENSE="BSD"
SLOT="0"
IUSE=""
DEPEND=""
RDEPEND=""
src_install() {
dobin godep
dodoc src/${EGO_PN}/*.md
}

@ -1,2 +1 @@
DIST gnu-regexp-1.1.4.tar.gz 164741 SHA256 493d9cbcb2cc08580be255f21543f3fe638a1eb93f605180583c91e1c5622080 SHA512 4397ecd2a485f67213ee74e1c942a1bfd1af5f261f964546cb3c7bc32fe88702a557d717f07d2a4d7d1db2d684ddc4191c120b35b44d1a68a126f7b81d8b0331 WHIRLPOOL 38b14b8dff8d214280f35893ad0c16ec6e8ec74e7ecd6d1d5df44bb3b88ef557589cf0d7011730bfd3fa40cb1c2861dc6655b73910aee4fc976a87da8e0e8de6
DIST gnu.regexp-1.1.4.tar.gz 164741 SHA256 493d9cbcb2cc08580be255f21543f3fe638a1eb93f605180583c91e1c5622080 SHA512 4397ecd2a485f67213ee74e1c942a1bfd1af5f261f964546cb3c7bc32fe88702a557d717f07d2a4d7d1db2d684ddc4191c120b35b44d1a68a126f7b81d8b0331 WHIRLPOOL 38b14b8dff8d214280f35893ad0c16ec6e8ec74e7ecd6d1d5df44bb3b88ef557589cf0d7011730bfd3fa40cb1c2861dc6655b73910aee4fc976a87da8e0e8de6

@ -1,19 +0,0 @@
--- src/Makefile 2005-05-18 13:26:10.000000000 +0200
+++ src/Makefile.new 2005-05-18 13:26:27.000000000 +0200
@@ -57,12 +57,12 @@
# Change JAVAC variable to your java compiler.
# Change JAVAFLAGS variable to any java flags you want to compile with.
-JAVAC = jikes
-JAVAFLAGS = -O
-
-#JAVAC = javac
+#JAVAC = jikes
#JAVAFLAGS = -O
+JAVAC = javac
+JAVAFLAGS = -O
+
JAVACOMPILE = $(JAVAC) -d "$(LIBPATH)" $(JAVAFLAGSCLASSPATH) $(JAVAFLAGS)
# This is the directory the gnu.regexp JAR file will be installed in when

@ -1,42 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
inherit java-pkg-2 eutils
MY_P=gnu.regexp-${PV}
DESCRIPTION="GNU regular expression package for Java"
HOMEPAGE="http://www.cacas.org/java/gnu/regexp/"
SRC_URI="ftp://ftp.tralfamadore.com/pub/java/${MY_P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="1"
KEYWORDS="amd64 ~arm ppc64 x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
IUSE="doc source"
DEPEND=">=virtual/jdk-1.4
source? ( app-arch/zip )"
RDEPEND=">=virtual/jre-1.4"
S="${WORKDIR}/${MY_P}"
src_unpack() {
unpack ${A}
cd "${S}"
rm lib/*.jar
rm -rf docs/api
}
src_compile() {
cd "${S}/src"
emake -j1 JAVAC="${JAVAC}" JAVAFLAGS="${JAVACFLAGS}" || die "emake failed"
use doc && emake javadocs
}
src_install() {
java-pkg_newjar lib/gnu-regexp-${PV}.jar ${PN}.jar
dodoc README TODO
use doc && java-pkg_dohtml -r docs/*
use source && java-pkg_dosrc src/gnu
}

@ -16,7 +16,7 @@ SRC_URI="mirror://gentoo/${MY_P}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="1"
KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
KEYWORDS="amd64 ~arm ppc64 x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
IUSE=""
CDEPEND="dev-java/java-getopt:1"

@ -1,2 +1 @@
DIST rundoc-0.11-src.tar.gz 26109 SHA256 e123a38260df24f7641c3c0b5164be810ba6770d14d546d60b09a55e86333bc1 SHA512 e27f4f6ecbb4a78bc8ed245829e0ab7d727166890bfd4f55d544d4073f20691681bcb223e5cd353f786e79fc446bee24f10d955ed9844a44dd610b7eb7b773d4 WHIRLPOOL 5edd6a1b8b2865b60e82b3bd41640591919079f85283581343c1069c934edc0236a5e9a73683401618e6862abd892aaf9c0094711a04e7c8d8e2ac552ca2acb7
DIST rundoc-0.11.zip 47013 SHA256 54cfc962032578d07ffc0a057f1659a8f8585b6da8935288475842f1bed1d647 SHA512 d16aef5455ac2c6bbae16e4a12df798eca88e9c15225af8dc28edfa0b88b73ca6119ca22c6c4319665fef1203b986f1401029318fb094fe30fe985497fb1c269 WHIRLPOOL 993146a53478d151689a01c2ffedcc81b2ec8649b5914804999c8d621f10b1a5f8d80634e861b214e065b90ab84b4a8a617ce76844a5b5896035f12f4a698c68

@ -14,7 +14,7 @@ SRC_URI="http://www.martiansoftware.com/lab/${PN}/${P}-src.zip -> ${P}.zip"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
IUSE=""
CDEPEND="dev-java/ant-core:0"

@ -1,37 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
DESCRIPTION="A Ant helper task for keeping documentation in source files"
HOMEPAGE="http://www.martiansoftware.com/lab/index.html"
SRC_URI="http://www.martiansoftware.com/lab/${PN}/${P}-src.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
IUSE=""
COMMON_DEP=">=dev-java/ant-core-1.5.4"
RDEPEND=">=virtual/jre-1.4
${COMMON_DEP}"
DEPEND=">=virtual/jdk-1.4
${COMMON_DEP}"
src_unpack() {
unpack ${A}
cd "${S}"
rm -v *.jar
java-ant_rewrite-classpath
}
EANT_GENTOO_CLASSPATH="ant-core"
src_install() {
java-pkg_newjar dist/${P}.jar
use doc && java-pkg_dojavadoc javadoc
use source && java-pkg_dosrc src/java/com
}

@ -1,2 +1 @@
DIST sac-1.3.zip 163617 SHA256 a228cae0e4c0cbefc7087cd1e17c0e8f91ee648949c6f0b9854c22f7ad1557b6 SHA512 e179d2e672f1e9e134c4bec92742410bcf2c5d423e5d236856bb53e849d7fcdb2bb09518796d30862685a9ab2344bfeea9b4c7f3c3dd4a1007c8056e120c87b9 WHIRLPOOL 306315955e0fd94e11d601e8de04c6acee104b3a8662b4d10fe3c336aff940af6ef10037c6117c218ece03cd042abf02c061daed40568087009db15bfa352086
DIST sacjava-1.3.zip 163617 SHA256 a228cae0e4c0cbefc7087cd1e17c0e8f91ee648949c6f0b9854c22f7ad1557b6 SHA512 e179d2e672f1e9e134c4bec92742410bcf2c5d423e5d236856bb53e849d7fcdb2bb09518796d30862685a9ab2344bfeea9b4c7f3c3dd4a1007c8056e120c87b9 WHIRLPOOL 306315955e0fd94e11d601e8de04c6acee104b3a8662b4d10fe3c336aff940af6ef10037c6117c218ece03cd042abf02c061daed40568087009db15bfa352086

@ -1,33 +0,0 @@
<?xml version="1.0"?>
<project name="sac" default="jar">
<!-- some properties -->
<property name="src" value="src" />
<property name="build" value="build" />
<property name="dist" value="dist"/>
<property name="jarfile" value="${ant.project.name}.jar"/>
<!-- init -->
<target name="init">
<tstamp/>
<mkdir dir="${dist}"/>
<mkdir dir="${build}"/>
</target>
<!-- compile everything -->
<target name="compile" depends="init">
<javac srcdir="${src}" destdir="${build}"/>
</target>
<!-- build the jar file -->
<target name="jar" depends="compile">
<jar jarfile="${dist}/${jarfile}" basedir="${build}"/>
</target>
<!-- clean up -->
<target name="clean">
<delete dir="${build}"/>
<delete dir="${dist}"/>
</target>
</project>

@ -1,41 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
DESCRIPTION="SAC is a standard interface for CSS parser"
HOMEPAGE="http://www.w3.org/Style/CSS/SAC/"
SRC_URI="http://www.w3.org/2002/06/sacjava-${PV}.zip"
LICENSE="W3C"
SLOT="0"
KEYWORDS="amd64 x86 ~x86-fbsd"
IUSE=""
DEPEND=">=virtual/jdk-1.4
app-arch/unzip"
RDEPEND=">=virtual/jre-1.4"
src_unpack() {
unpack ${A}
cp "${FILESDIR}/build.xml" "${S}"
cd "${S}"
rm -rv sac.jar META-INF/ || die
mkdir src
mv org src
}
EANT_DOC_TARGET=""
src_install() {
java-pkg_dojar dist/sac.jar
use doc && java-pkg_dojavadoc doc
use source && java-pkg_dosrc src/*
}

@ -14,13 +14,15 @@ SRC_URI="http://www.w3.org/2002/06/sacjava-${PV}.zip -> ${P}.zip"
LICENSE="W3C"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND=">=virtual/jdk-1.6"
RDEPEND=">=virtual/jre-1.6"
DEPEND="
>=virtual/jdk-1.6
source? ( app-arch/zip )"
S="${WORKDIR}/${P}"
JAVA_SRC_DIR="org"

@ -0,0 +1,39 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="Sun Java Streaming XML Parser"
HOMEPAGE="http://sjsxp.dev.java.net/"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="bea.ri.jsr173"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
IUSE=""
CDEPEND="dev-java/xpp3:0"
RDEPEND="
${CDEPEND}
>=virtual/jre-1.6"
DEPEND="
${CDEPEND}
>=virtual/jdk-1.6
source? ( app-arch/zip )"
S="${WORKDIR}/zephyr"
JAVA_GENTOO_CLASSPATH="xpp3"
JAVA_SRC_DIR="src"
java_prepare() {
java-pkg_clean
rm -rv tests || die
}

@ -2,6 +2,7 @@ DIST ruby-2.0.0-p647.tar.xz 8301008 SHA256 9f793880df1209ea4e5c10ee9d8ef79caa0e7
DIST ruby-2.0.0-p648.tar.xz 8303584 SHA256 22fe97739110ba9171b13fc4dcd1a92e767f16769de3593ee41ef1283d218402 SHA512 95df515d37f04193eaceaded4a4f568f83041683349cd44767803f77361a66533226d83eac6586ac894ae61d79bd36ce047f951aed43f9a8356dbb3244280774 WHIRLPOOL ef78b838d061b1707219453a70c8b4a503d46e9f95797007555943a837de21f22c0c93039c75172d7df4fe9b5eca38472ee7177f98785cb5993c7e80140a1d27
DIST ruby-2.1.7.tar.xz 9371208 SHA256 225c067d9820fe52fcffbfb91d5b5243708a0b666b9929bea466e9379eb40ad7 SHA512 a4f2a3a684517678442b4ad3bda50433634317c910e8c13c844dffe470532bae5fd8d72b3f83c9a36865f303fe0464703e30854b3e55a558a758252b5e594406 WHIRLPOOL 54fae59b754aebbf1736720e042574ed4a0b4f7c1518742f8215bb396bb7416ee7b50df7d27167337e10eef518f1d488a48d064bfcbfac0065aa8313296fe263
DIST ruby-2.1.8.tar.xz 9382672 SHA256 94eeae3b3e3ac93cfd205e1aaef4c5325227b7656cbb2fc1ee217618145dd19d SHA512 c712ee69cb1d41ad8420177b9564e451ab795e4903f1edc20c14aa189b8e38c54c5119d913204d13a5f8fa424f2ec43bfad04c77b313ea4533e23a9b1d161392 WHIRLPOOL 542e61ec35a5dacf0ee49daeaf70c2cc3efb605685013eea48208709a4eea6eb83413ff32839dab1d316a60d6d5ebc75811f8085c39b08205c36d815460e7549
DIST ruby-2.1.9.tar.xz 9395648 SHA256 39f203f7498aed2456fb500147fada5adcbf102d89d4f6aca773ebcadd8ea82a SHA512 1f331a8910fd7a9ab9c41bf56aef12041dd413ad49c696f6df2c9a7ec3a3d5cdf383f2a3d30949ea37b8ecb39f50355e526412b36ed4e07b60733d9db4d2bd14 WHIRLPOOL bb2fa158d837f9c278cab93ecb1a8f6a00ddff12c40d1fa5ffb6b55741dc71268fef40fc9f30508dc89b27a05fe9f3b4fbf739ba69ab4e62f669f82a15d26dfa
DIST ruby-2.2.2.tar.xz 10463044 SHA256 f033b5d08ab57083e48c1d81bcd7399967578c370b664da90e12a32891424462 SHA512 bd72d0a4c017e2527659f64ef2781bbe8bd540a2302eaa60234a12282fd53c359e04205c56385402c67e81bb9dab3b88de53de82e12bb13e3386c26301043b64 WHIRLPOOL ee9c3a664ac1d67bd9ff4ed8fcc7d4c8e9b6e2f5774c938f876223b22022b498932afc41990890a03b560c65ffe29a039761d18bbeeab46fe13cbfff515bc115
DIST ruby-2.2.3.tar.xz 10453204 SHA256 c6ec90e9ed018e6d9a578fc93755d8565839908d5796809e1aecd1798c7ea8a7 SHA512 e3ce3333e8d59f4f3bfc84cf9bbbc6f74272470e12913d299fd1d41fc166dee21921eed1789591f50c3f3b6e5fd38fd1b99855c16aff28bdc4ae8fcc680c71bd WHIRLPOOL 3fae4fc3112f24004f0f043d29b2e624e559fa3d53e6b0479af03df910d210aaeb8274c294dfe1ef0602f63790b4cdc31147d5fd92707e38ea29f01fd07e8839
DIST ruby-2.2.4.tar.xz 10464500 SHA256 d28bff4641e382681c58072ddc244d025ac47ff71dd9426a92fcfc3830d1773c SHA512 755257eea0cb79f28f1d2dc6e2a5ee4b1954280f51153e5fe90605a875b1d52077660b87e4e04d11552591a1f60a1241e4c70056f073a217b3bad896f64780da WHIRLPOOL 9d3d549dce991d2d594df624bf2f55f4ff9269c35193b190e3fd774b8883facb568f010a3b79927e083cc5bad277281e4c8a9fc3979f609fca50f86775563484
@ -11,6 +12,7 @@ DIST ruby-patches-2.0.0_p648.tar.bz2 3341 SHA256 7d82403fed6216baed59ac1fbba888e
DIST ruby-patches-2.1.7-r1.tar.bz2 1931 SHA256 7e02c1b6a6352693bfd5828c9d1a7633a52baa57d8770df182ed0d8b450a3341 SHA512 85928207db4f76e58925e50d39d73db2d521674385ce3232828377e7d7bb4252aafb9f93d6045d4c159bf094b472af61ef9307203db313bf28918fe35e0f3a21 WHIRLPOOL 17a698b0a09be15f444ea34b33e9aa1d029fbd572c565072a92480bf7b6b21f1b6b88b0da3183a486bae30e7e65f3172cd72b7336be1dc5974b62bd8e2b9ef7a
DIST ruby-patches-2.1.7.tar.bz2 1931 SHA256 7e02c1b6a6352693bfd5828c9d1a7633a52baa57d8770df182ed0d8b450a3341 SHA512 85928207db4f76e58925e50d39d73db2d521674385ce3232828377e7d7bb4252aafb9f93d6045d4c159bf094b472af61ef9307203db313bf28918fe35e0f3a21 WHIRLPOOL 17a698b0a09be15f444ea34b33e9aa1d029fbd572c565072a92480bf7b6b21f1b6b88b0da3183a486bae30e7e65f3172cd72b7336be1dc5974b62bd8e2b9ef7a
DIST ruby-patches-2.1.8.tar.bz2 1931 SHA256 7e02c1b6a6352693bfd5828c9d1a7633a52baa57d8770df182ed0d8b450a3341 SHA512 85928207db4f76e58925e50d39d73db2d521674385ce3232828377e7d7bb4252aafb9f93d6045d4c159bf094b472af61ef9307203db313bf28918fe35e0f3a21 WHIRLPOOL 17a698b0a09be15f444ea34b33e9aa1d029fbd572c565072a92480bf7b6b21f1b6b88b0da3183a486bae30e7e65f3172cd72b7336be1dc5974b62bd8e2b9ef7a
DIST ruby-patches-2.1.9.tar.bz2 1931 SHA256 7e02c1b6a6352693bfd5828c9d1a7633a52baa57d8770df182ed0d8b450a3341 SHA512 85928207db4f76e58925e50d39d73db2d521674385ce3232828377e7d7bb4252aafb9f93d6045d4c159bf094b472af61ef9307203db313bf28918fe35e0f3a21 WHIRLPOOL 17a698b0a09be15f444ea34b33e9aa1d029fbd572c565072a92480bf7b6b21f1b6b88b0da3183a486bae30e7e65f3172cd72b7336be1dc5974b62bd8e2b9ef7a
DIST ruby-patches-2.2.2-r1.tar.bz2 3066 SHA256 65342c7cd5146f0d5025932d31e2ed40e1247355d68356e17a06b0ff728fbef1 SHA512 1c578b868db179bca6dd7800528ac23076b1f44519d93b92fafd724d8e5a158512b05cb3d5f7a4f5ada156692978f98cab7dd5b4282701e57c33d50bcda977de WHIRLPOOL 241622b25acdc8b2a7cb912bac2f6e29a4331798ba67507821b3fb295791d7bea8b7933540f2cd47cc7e8477df14be478286d018b7afe9ae121cd8c49c58dc83
DIST ruby-patches-2.2.3-r1.tar.bz2 3143 SHA256 45ce438c31c62313f193546a883afe19ccb6dda3276d1378eb5dfd33bd7b8bbe SHA512 e5799b8008276d98f3cd1bd57b1b76a39d052a7c920d84ef245961c2db55e96e7b7081b71aa04843844786cdeee759eb415b46d8e44611d5ff8f658ad12be7bb WHIRLPOOL d9d6dd5562574c2597cbb81b9dbb15c345cad9096e24cc82515fd021882a4e7fa375f37e660b1ce2075ef66bc7582bae4d0c3e819713549dbe7c5c3d4c658ded
DIST ruby-patches-2.2.3-r2.tar.bz2 3143 SHA256 45ce438c31c62313f193546a883afe19ccb6dda3276d1378eb5dfd33bd7b8bbe SHA512 e5799b8008276d98f3cd1bd57b1b76a39d052a7c920d84ef245961c2db55e96e7b7081b71aa04843844786cdeee759eb415b46d8e44611d5ff8f658ad12be7bb WHIRLPOOL d9d6dd5562574c2597cbb81b9dbb15c345cad9096e24cc82515fd021882a4e7fa375f37e660b1ce2075ef66bc7582bae4d0c3e819713549dbe7c5c3d4c658ded

@ -0,0 +1,230 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
#PATCHSET=1
inherit autotools eutils flag-o-matic multilib versionator
RUBYPL=$(get_version_component_range 4)
MY_P="${PN}-$(get_version_component_range 1-3)"
#MY_P="${PN}-$(get_version_component_range 1-3)-${RUBYPL:-0}"
S=${WORKDIR}/${MY_P}
SLOT=$(get_version_component_range 1-2)
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
RUBYVERSION=2.1.0
if [[ -n ${PATCHSET} ]]; then
if [[ ${PVR} == ${PV} ]]; then
PATCHSET="${PV}-r0.${PATCHSET}"
else
PATCHSET="${PVR}.${PATCHSET}"
fi
else
PATCHSET="${PVR}"
fi
DESCRIPTION="An object-oriented scripting language"
HOMEPAGE="http://www.ruby-lang.org/"
SRC_URI="mirror://ruby/2.1/${MY_P}.tar.xz
https://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
LICENSE="|| ( Ruby-BSD BSD-2 )"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
IUSE="berkdb debug doc examples gdbm ipv6 +rdoc rubytests socks5 ssl xemacs ncurses +readline"
RDEPEND="
berkdb? ( sys-libs/db:= )
gdbm? ( sys-libs/gdbm )
ssl? ( dev-libs/openssl:0 )
socks5? ( >=net-proxy/dante-1.1.13 )
ncurses? ( sys-libs/ncurses:0= )
readline? ( sys-libs/readline:0 )
dev-libs/libyaml
virtual/libffi
sys-libs/zlib
>=app-eselect/eselect-ruby-20131227
!<dev-ruby/rdoc-3.9.4
!<dev-ruby/rubygems-1.8.10-r1"
DEPEND="${RDEPEND}"
PDEPEND="
virtual/rubygems[ruby_targets_ruby21]
>=dev-ruby/json-1.8.1[ruby_targets_ruby21]
>=dev-ruby/rake-0.9.6[ruby_targets_ruby21]
rdoc? ( >=dev-ruby/rdoc-4.0.1[ruby_targets_ruby21] )
xemacs? ( app-xemacs/ruby-modes )"
src_prepare() {
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
epatch "${WORKDIR}/patches"
# We can no longer unbundle all of rake because rubygems now depends
# on this. We leave the actual rake code around to bootstrap
# rubygems, but remove the bits that would cause a file collision.
einfo "Unbundling gems..."
cd "$S"
rm -r \
{bin,lib}/rake lib/rake.rb man/rake.1 \
bin/gem || die "removal failed"
# Fix a hardcoded lib path in configure script
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
configure.in || die "sed failed"
eautoreconf
}
src_configure() {
local myconf=
# The Tk module can no longer be built because the module code is no
# longer compatible with newer stable versions.
# https://bugs.gentoo.org/show_bug.cgi?id=500894
local modules="tk"
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
filter-flags -fomit-frame-pointer
# In many places aliasing rules are broken; play it safe
# as it's risky with newer compilers to leave it as it is.
append-flags -fno-strict-aliasing
# SuperH needs this
use sh && append-flags -mieee
# Socks support via dante
if use socks5 ; then
# Socks support can't be disabled as long as SOCKS_SERVER is
# set and socks library is present, so need to unset
# SOCKS_SERVER in that case.
unset SOCKS_SERVER
fi
# Increase GC_MALLOC_LIMIT if set (default is 8000000)
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
fi
# ipv6 hack, bug 168939. Needs --enable-ipv6.
use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
# Determine which modules *not* to build depending in the USE flags.
if ! use readline ; then
modules="${modules},readline"
fi
if ! use berkdb ; then
modules="${modules},dbm"
fi
if ! use gdbm ; then
modules="${modules},gdbm"
fi
if ! use ssl ; then
modules="${modules},openssl"
fi
if ! use ncurses ; then
modules="${modules},curses"
fi
# Provide an empty LIBPATHENV because we disable rpath but we do not
# need LD_LIBRARY_PATH by default since that breaks USE=multitarget
# #564272
INSTALL="${EPREFIX}/usr/bin/install -c" LIBPATHENV="" econf \
--program-suffix=${MY_SUFFIX} \
--with-soname=ruby${MY_SUFFIX} \
--docdir=${EPREFIX}/usr/share/doc/${P} \
--enable-shared \
--enable-pthread \
--disable-rpath \
--with-out-ext="${modules}" \
$(use_enable socks5 socks) \
$(use_enable doc install-doc) \
--enable-ipv6 \
$(use_enable debug) \
${myconf} \
--enable-option-checking=no \
|| die "econf failed"
}
src_compile() {
emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
}
src_test() {
emake -j1 V=1 test || die "make test failed"
elog "Ruby's make test has been run. Ruby also ships with a make check"
elog "that cannot be run until after ruby has been installed."
elog
if use rubytests; then
elog "You have enabled rubytests, so they will be installed to"
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
elog "than root, and you must place them into a writeable directory."
elog "Then call: "
elog
elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb"
else
elog "Enable the rubytests USE flag to install the make check tests"
fi
}
src_install() {
# Remove the remaining bundled gems. We do this late in the process
# since they are used during the build to e.g. create the
# documentation.
rm -rf ext/json || die
# Ruby is involved in the install process, we don't want interference here.
unset RUBYOPT
local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
LD_LIBRARY_PATH="${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"
for d in $(find "${S}/ext" -type d) ; do
RUBYLIB="${RUBYLIB}:$d"
done
export LD_LIBRARY_PATH RUBYLIB
emake V=1 DESTDIR="${D}" install || die "make install failed"
# Remove installed rubygems copy
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed"
rm -r "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed"
if use doc; then
make DESTDIR="${D}" install-doc || die "make install-doc failed"
fi
if use examples; then
insinto /usr/share/doc/${PF}
doins -r sample
fi
dodoc ChangeLog NEWS doc/NEWS* README* || die
if use rubytests; then
pushd test
insinto /usr/share/${PN}-${SLOT}/test
doins -r .
popd
fi
}
pkg_postinst() {
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
eselect ruby set ruby${MY_SUFFIX}
fi
elog
elog "To switch between available Ruby profiles, execute as root:"
elog "\teselect ruby set ruby(19|20|...)"
elog
}
pkg_postrm() {
eselect ruby cleanup
}

@ -0,0 +1,158 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit python-any-r1 versionator toolchain-funcs
if [[ ${PV} = *beta* ]]; then
betaver=${PV//*beta}
BETA_SNAPSHOT="${betaver:0:4}-${betaver:4:2}-${betaver:6:2}"
MY_P="rustc-beta"
SLOT="beta/${PV}"
SRC="${BETA_SNAPSHOT}/rustc-beta-src.tar.gz"
KEYWORDS=""
else
ABI_VER="$(get_version_component_range 1-2)"
SLOT="stable/${ABI_VER}"
MY_P="rustc-${PV}"
SRC="${MY_P}-src.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
# from src/snapshots.txt
RUST_SNAPSHOT_DATE="2016-02-17"
RUST_SNAPSHOT_SRCHASH="4d3eebf"
RUST_SNAPSHOT_HASH_amd64="d29b7607d13d64078b6324aec82926fb493f59ba"
RUST_SNAPSHOT_HASH_x86="5f194aa7628c0703f0fd48adc4ec7f3cc64b98c7"
RUST_STAGE0="rust-stage0-${RUST_SNAPSHOT_DATE}-${RUST_SNAPSHOT_SRCHASH}"
RUST_STAGE0_amd64="${RUST_STAGE0}-linux-x86_64-${RUST_SNAPSHOT_HASH_amd64}"
RUST_STAGE0_x86="${RUST_STAGE0}-linux-i386-${RUST_SNAPSHOT_HASH_x86}"
DESCRIPTION="Systems programming language from Mozilla"
HOMEPAGE="http://www.rust-lang.org/"
SRC_URI="http://static.rust-lang.org/dist/${SRC} -> rustc-${PV}-src.tar.gz
amd64? ( http://static.rust-lang.org/stage0-snapshots/${RUST_STAGE0_amd64}.tar.bz2 )
x86? ( http://static.rust-lang.org/stage0-snapshots/${RUST_STAGE0_x86}.tar.bz2 )
"
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
IUSE="clang debug doc libcxx +system-llvm"
REQUIRED_USE="libcxx? ( clang )"
RDEPEND="libcxx? ( sys-libs/libcxx )
system-llvm? ( >=sys-devel/llvm-3.7.1-r1:=[multitarget]
<sys-devel/llvm-3.8.0:=[multitarget] )
"
DEPEND="${RDEPEND}
${PYTHON_DEPS}
>=dev-lang/perl-5.0
clang? ( sys-devel/clang )
"
PDEPEND=">=app-eselect/eselect-rust-0.3_pre20150425"
S="${WORKDIR}/${MY_P}"
src_unpack() {
unpack "rustc-${PV}-src.tar.gz" || die
mkdir "${MY_P}/dl" || die
local stagename="RUST_STAGE0_${ARCH}"
local stage0="${!stagename}"
cp "${DISTDIR}/${stage0}.tar.bz2" "${MY_P}/dl/" || die "cp stage0"
}
src_prepare() {
find mk -name '*.mk' -exec \
sed -i -e "s/-Werror / /g" {} \; || die
eapply_user
}
src_configure() {
export CFG_DISABLE_LDCONFIG="notempty"
"${ECONF_SOURCE:-.}"/configure \
--prefix="${EPREFIX}/usr" \
--libdir="${EPREFIX}/usr/$(get_libdir)/${P}" \
--mandir="${EPREFIX}/usr/share/${P}/man" \
--release-channel=${SLOT%%/*} \
--disable-manage-submodules \
--default-linker=$(tc-getBUILD_CC) \
--default-ar=$(tc-getBUILD_AR) \
--python=${EPYTHON} \
$(use_enable clang) \
$(use_enable debug) \
$(use_enable debug llvm-assertions) \
$(use_enable !debug optimize) \
$(use_enable !debug optimize-cxx) \
$(use_enable !debug optimize-llvm) \
$(use_enable !debug optimize-tests) \
$(use_enable doc docs) \
$(use_enable libcxx libcpp) \
$(usex system-llvm "--llvm-root=${EPREFIX}/usr" " ") \
|| die
}
src_compile() {
emake VERBOSE=1
}
src_install() {
unset SUDO_USER
default
mv "${D}/usr/bin/rustc" "${D}/usr/bin/rustc-${PV}" || die
mv "${D}/usr/bin/rustdoc" "${D}/usr/bin/rustdoc-${PV}" || die
mv "${D}/usr/bin/rust-gdb" "${D}/usr/bin/rust-gdb-${PV}" || die
dodoc COPYRIGHT
dodir "/usr/share/doc/rust-${PV}/"
mv "${D}/usr/share/doc/rust"/* "${D}/usr/share/doc/rust-${PV}/" || die
rmdir "${D}/usr/share/doc/rust/" || die
cat <<-EOF > "${T}"/50${P}
LDPATH="/usr/$(get_libdir)/${P}"
MANPATH="/usr/share/${P}/man"
EOF
doenvd "${T}"/50${P}
cat <<-EOF > "${T}/provider-${P}"
/usr/bin/rustdoc
/usr/bin/rust-gdb
EOF
dodir /etc/env.d/rust
insinto /etc/env.d/rust
doins "${T}/provider-${P}"
}
pkg_postinst() {
eselect rust update --if-unset
elog "Rust installs a helper script for calling GDB now,"
elog "for your convenience it is installed under /usr/bin/rust-gdb-${PV}."
if has_version app-editors/emacs || has_version app-editors/emacs-vcs; then
elog "install app-emacs/rust-mode to get emacs support for rust."
fi
if has_version app-editors/gvim || has_version app-editors/vim; then
elog "install app-vim/rust-mode to get vim support for rust."
fi
if has_version 'app-shells/zsh'; then
elog "install app-shells/rust-zshcomp to get zsh completion for rust."
fi
}
pkg_postrm() {
eselect rust unset --if-invalid
}

@ -0,0 +1,158 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit python-any-r1 versionator toolchain-funcs
if [[ ${PV} = *beta* ]]; then
betaver=${PV//*beta}
BETA_SNAPSHOT="${betaver:0:4}-${betaver:4:2}-${betaver:6:2}"
MY_P="rustc-beta"
SLOT="beta/${PV}"
SRC="${BETA_SNAPSHOT}/rustc-beta-src.tar.gz"
KEYWORDS=""
else
ABI_VER="$(get_version_component_range 1-2)"
SLOT="stable/${ABI_VER}"
MY_P="rustc-${PV}"
SRC="${MY_P}-src.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
# from src/snapshots.txt
RUST_SNAPSHOT_DATE="2016-02-17"
RUST_SNAPSHOT_SRCHASH="4d3eebf"
RUST_SNAPSHOT_HASH_amd64="d29b7607d13d64078b6324aec82926fb493f59ba"
RUST_SNAPSHOT_HASH_x86="5f194aa7628c0703f0fd48adc4ec7f3cc64b98c7"
RUST_STAGE0="rust-stage0-${RUST_SNAPSHOT_DATE}-${RUST_SNAPSHOT_SRCHASH}"
RUST_STAGE0_amd64="${RUST_STAGE0}-linux-x86_64-${RUST_SNAPSHOT_HASH_amd64}"
RUST_STAGE0_x86="${RUST_STAGE0}-linux-i386-${RUST_SNAPSHOT_HASH_x86}"
DESCRIPTION="Systems programming language from Mozilla"
HOMEPAGE="http://www.rust-lang.org/"
SRC_URI="http://static.rust-lang.org/dist/${SRC} -> rustc-${PV}-src.tar.gz
amd64? ( http://static.rust-lang.org/stage0-snapshots/${RUST_STAGE0_amd64}.tar.bz2 )
x86? ( http://static.rust-lang.org/stage0-snapshots/${RUST_STAGE0_x86}.tar.bz2 )
"
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
IUSE="clang debug doc libcxx +system-llvm"
REQUIRED_USE="libcxx? ( clang )"
RDEPEND="libcxx? ( sys-libs/libcxx )
system-llvm? ( >=sys-devel/llvm-3.7.1-r1:=[multitarget]
<sys-devel/llvm-3.9.0:=[multitarget] )
"
DEPEND="${RDEPEND}
${PYTHON_DEPS}
>=dev-lang/perl-5.0
clang? ( sys-devel/clang )
"
PDEPEND=">=app-eselect/eselect-rust-0.3_pre20150425"
S="${WORKDIR}/${MY_P}"
src_unpack() {
unpack "rustc-${PV}-src.tar.gz" || die
mkdir "${MY_P}/dl" || die
local stagename="RUST_STAGE0_${ARCH}"
local stage0="${!stagename}"
cp "${DISTDIR}/${stage0}.tar.bz2" "${MY_P}/dl/" || die "cp stage0"
}
src_prepare() {
find mk -name '*.mk' -exec \
sed -i -e "s/-Werror / /g" {} \; || die
eapply_user
}
src_configure() {
export CFG_DISABLE_LDCONFIG="notempty"
"${ECONF_SOURCE:-.}"/configure \
--prefix="${EPREFIX}/usr" \
--libdir="${EPREFIX}/usr/$(get_libdir)/${P}" \
--mandir="${EPREFIX}/usr/share/${P}/man" \
--release-channel=${SLOT%%/*} \
--disable-manage-submodules \
--default-linker=$(tc-getBUILD_CC) \
--default-ar=$(tc-getBUILD_AR) \
--python=${EPYTHON} \
$(use_enable clang) \
$(use_enable debug) \
$(use_enable debug llvm-assertions) \
$(use_enable !debug optimize) \
$(use_enable !debug optimize-cxx) \
$(use_enable !debug optimize-llvm) \
$(use_enable !debug optimize-tests) \
$(use_enable doc docs) \
$(use_enable libcxx libcpp) \
$(usex system-llvm "--llvm-root=${EPREFIX}/usr" " ") \
|| die
}
src_compile() {
emake VERBOSE=1
}
src_install() {
unset SUDO_USER
default
mv "${D}/usr/bin/rustc" "${D}/usr/bin/rustc-${PV}" || die
mv "${D}/usr/bin/rustdoc" "${D}/usr/bin/rustdoc-${PV}" || die
mv "${D}/usr/bin/rust-gdb" "${D}/usr/bin/rust-gdb-${PV}" || die
dodoc COPYRIGHT
dodir "/usr/share/doc/rust-${PV}/"
mv "${D}/usr/share/doc/rust"/* "${D}/usr/share/doc/rust-${PV}/" || die
rmdir "${D}/usr/share/doc/rust/" || die
cat <<-EOF > "${T}"/50${P}
LDPATH="/usr/$(get_libdir)/${P}"
MANPATH="/usr/share/${P}/man"
EOF
doenvd "${T}"/50${P}
cat <<-EOF > "${T}/provider-${P}"
/usr/bin/rustdoc
/usr/bin/rust-gdb
EOF
dodir /etc/env.d/rust
insinto /etc/env.d/rust
doins "${T}/provider-${P}"
}
pkg_postinst() {
eselect rust update --if-unset
elog "Rust installs a helper script for calling GDB now,"
elog "for your convenience it is installed under /usr/bin/rust-gdb-${PV}."
if has_version app-editors/emacs || has_version app-editors/emacs-vcs; then
elog "install app-emacs/rust-mode to get emacs support for rust."
fi
if has_version app-editors/gvim || has_version app-editors/vim; then
elog "install app-vim/rust-mode to get vim support for rust."
fi
if has_version 'app-shells/zsh'; then
elog "install app-shells/rust-zshcomp to get zsh completion for rust."
fi
}
pkg_postrm() {
eselect rust unset --if-invalid
}

@ -42,6 +42,18 @@ S="${WORKDIR}/${MY_P}"
# there is no point in having them in the ebuild to begin with.
RESTRICT="test"
PATCHES=(
"${FILESDIR}/${PN}-1.51.0-respect_python-buildid.patch"
"${FILESDIR}/${PN}-1.51.0-support_dots_in_python-buildid.patch"
"${FILESDIR}/${PN}-1.48.0-no_strict_aliasing_python2.patch"
"${FILESDIR}/${PN}-1.48.0-disable_libboost_python3.patch"
"${FILESDIR}/${PN}-1.48.0-python_linking.patch"
"${FILESDIR}/${PN}-1.48.0-disable_icu_rpath.patch"
"${FILESDIR}/${PN}-1.55.0-context-x32.patch"
"${FILESDIR}/${PN}-1.56.0-build-auto_index-tool.patch"
"${FILESDIR}/${PN}-1.60.0-deprecated-header-ice_not.patch"
)
python_bindings_needed() {
multilib_is_native_abi && use python
}
@ -111,22 +123,12 @@ pkg_setup() {
}
src_prepare() {
epatch \
"${FILESDIR}/${PN}-1.51.0-respect_python-buildid.patch" \
"${FILESDIR}/${PN}-1.51.0-support_dots_in_python-buildid.patch" \
"${FILESDIR}/${PN}-1.48.0-no_strict_aliasing_python2.patch" \
"${FILESDIR}/${PN}-1.48.0-disable_libboost_python3.patch" \
"${FILESDIR}/${PN}-1.48.0-python_linking.patch" \
"${FILESDIR}/${PN}-1.48.0-disable_icu_rpath.patch" \
"${FILESDIR}/${PN}-1.55.0-context-x32.patch" \
"${FILESDIR}/${PN}-1.56.0-build-auto_index-tool.patch"
default
# Do not try to build missing 'wave' tool, bug #522682
# Upstream bugreport - https://svn.boost.org/trac/boost/ticket/10507
sed -i -e 's:wave/build//wave::' tools/Jamfile.v2 || die
eapply_user
multilib_copy_sources
}
@ -172,7 +174,7 @@ src_configure() {
use context || OPTIONS+=" --without-context --without-coroutine"
OPTIONS+=" pch=off"
OPTIONS+=" --boost-build=${EPREFIX}/usr/share/boost-build --prefix=\"${ED}usr\""
OPTIONS+=" --boost-build=\"${EPREFIX}\"/usr/share/boost-build --prefix=\"${ED}usr\""
OPTIONS+=" --layout=system"
OPTIONS+=" threading=$(usex threads multi single) link=$(usex static-libs shared,static shared)"

@ -1,5 +1,5 @@
--- libs/locale/build/Jamfile.v2
+++ libs/locale/build/Jamfile.v2
--- a/libs/locale/build/Jamfile.v2
+++ b/libs/locale/build/Jamfile.v2
@@ -58,8 +58,8 @@
if $(ICU_LINK)

@ -1,5 +1,5 @@
--- libs/python/build/Jamfile.v2
+++ libs/python/build/Jamfile.v2
--- a/libs/python/build/Jamfile.v2
+++ b/libs/python/build/Jamfile.v2
@@ -39,23 +39,6 @@
PYTHON_ID = [ regex.replace $(python-id) "[*\\/:\"\']" "_" ] ;
}

@ -1,5 +1,5 @@
--- libs/python/build/Jamfile.v2
+++ libs/python/build/Jamfile.v2
--- a/libs/python/build/Jamfile.v2
+++ b/libs/python/build/Jamfile.v2
@@ -85,6 +85,12 @@
rule lib_boost_python ( is-py3 ? )
{

@ -1,5 +1,5 @@
--- libs/python/build/Jamfile.v2
+++ libs/python/build/Jamfile.v2
--- a/libs/python/build/Jamfile.v2
+++ b/libs/python/build/Jamfile.v2
@@ -109,20 +109,7 @@
<link>static:<define>BOOST_PYTHON_STATIC_LIB
<define>BOOST_PYTHON_SOURCE

@ -1,7 +1,7 @@
https://svn.boost.org/trac/boost/ticket/6286
--- boostcpp.jam
+++ boostcpp.jam
--- a/boostcpp.jam
+++ b/boostcpp.jam
@@ -99,13 +99,6 @@
BUILD_ID = [ regex.replace $(build-id) "[*\\/:.\"\' ]" _ ] ;
}
@ -16,8 +16,8 @@ https://svn.boost.org/trac/boost/ticket/6286
################################################################################
#
--- libs/mpi/build/Jamfile.v2
+++ libs/mpi/build/Jamfile.v2
--- a/libs/mpi/build/Jamfile.v2
+++ b/libs/mpi/build/Jamfile.v2
@@ -8,6 +8,8 @@
# Authors: Douglas Gregor
# Andrew Lumsdaine
@ -41,8 +41,8 @@ https://svn.boost.org/trac/boost/ticket/6286
rule tag ( name : type ? : property-set )
{
local result = $(name) ;
--- libs/python/build/Jamfile.v2
+++ libs/python/build/Jamfile.v2
--- a/libs/python/build/Jamfile.v2
+++ b/libs/python/build/Jamfile.v2
@@ -2,6 +2,8 @@
# Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

@ -1,5 +1,5 @@
--- libs/mpi/build/Jamfile.v2
+++ libs/mpi/build/Jamfile.v2
--- a/libs/mpi/build/Jamfile.v2
+++ b/libs/mpi/build/Jamfile.v2
@@ -30,7 +30,7 @@
python-id = [ option.get "python-buildid" ] ;
if $(python-id)
@ -9,8 +9,8 @@
}
rule tag ( name : type ? : property-set )
--- libs/python/build/Jamfile.v2
+++ libs/python/build/Jamfile.v2
--- a/libs/python/build/Jamfile.v2
+++ b/libs/python/build/Jamfile.v2
@@ -36,7 +36,7 @@
python-id = [ option.get "python-buildid" ] ;
if $(python-id)

@ -1,8 +1,8 @@
Build auto_index tool with USE="tools"
Gentoo bug report: https://bugs.gentoo.org/show_bug.cgi?id=529066
--- tools/Jamfile.v2.orig 2014-12-24 12:57:32.290880067 +0300
+++ tools/Jamfile.v2 2014-12-24 12:58:38.403883250 +0300
--- a/tools/Jamfile.v2.orig 2014-12-24 12:57:32.290880067 +0300
+++ b/tools/Jamfile.v2 2014-12-24 12:58:38.403883250 +0300
@@ -20,6 +20,7 @@
use-project /boost/regression : regression/build ;

@ -0,0 +1,42 @@
From: jzmaddock <john@johnmaddock.co.uk>
Date: Tue, 21 Jul 2015 18:54:48 +0100
Subject: [PATCH] Remove deprecated type_traits usage.
---
include/boost/graph/adjacency_matrix.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/boost/graph/adjacency_matrix.hpp b/include/boost/graph/adjacency_matrix.hpp
index b1078d9..ade7351 100644
--- a/boost/graph/adjacency_matrix.hpp
+++ b/boost/graph/adjacency_matrix.hpp
@@ -443,7 +443,7 @@ namespace boost {
// graph type. Instead, use directedS, which also provides the
// functionality required for a Bidirectional Graph (in_edges,
// in_degree, etc.).
- BOOST_STATIC_ASSERT(type_traits::ice_not<(is_same<Directed, bidirectionalS>::value)>::value);
+ BOOST_STATIC_ASSERT(!(is_same<Directed, bidirectionalS>::value));
typedef typename mpl::if_<is_directed,
bidirectional_tag, undirected_tag>::type
From: Vladimir Prus <vladimir.prus@gmail.com>
Date: Mon, 7 Dec 2015 13:55:07 +0300
Subject: [PATCH] Add missing include of <list>.
Thanks to Amit Prakash Ambasta for the report.
---
include/boost/graph/r_c_shortest_paths.hpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/boost/graph/r_c_shortest_paths.hpp b/include/boost/graph/r_c_shortest_paths.hpp
index afa50cf..7e490fc 100644
--- a/boost/graph/r_c_shortest_paths.hpp
+++ b/boost/graph/r_c_shortest_paths.hpp
@@ -11,6 +11,7 @@
#include <map>
#include <queue>
#include <vector>
+#include <list>
#include <boost/graph/graph_traits.hpp>
#include <boost/graph/iteration_macros.hpp>

@ -14,7 +14,7 @@ SRC_URI="https://s3.amazonaws.com/json-c_releases/releases/${P}.tar.gz"
LICENSE="MIT"
SLOT="0/0"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc static-libs"
RDEPEND="

@ -1,3 +1 @@
DIST libedit-20120311-3.0.tar.gz 469830 SHA256 c64a9ee6cac6e7bd3b9a8a24c0586316333f381b1fa6125b027294f29303cf6f SHA512 e246c51704a8dbe476016b26c120324cdbe00a7499ac358cbf45a0fc1306bc6efcbdb0581b1e85d09092c6792f8f39d378f79fe64af28e84920ed7f99a0f388d WHIRLPOOL cc06e3dce095c4393786940a14c0475fab7d4d4c6873cf0f5931616d108fcaeee216f8a7b5e7c3afba2b0d42ba171194ab534d0a560eafa6d844cf2a4ce8766d
DIST libedit-20130611-3.1.tar.gz 478553 SHA256 ea35592f9a54016fc29dc568d2b4d542822fa4a4660225a3702abfb5b49ab50c SHA512 85f0e901fa4b0dbc7403d18d53d45e196682b78f7fee0f824d73faf2ac1578c84b9cb05249185d8cb3e631ce0926ec08caf9ae9f873c7f820750b11ad721cbb5 WHIRLPOOL c73fefa3f2497755939ab839003706b836d69884aa270fcb1ea354aa0c6519f36b15ac3a057b9a9eac6704c0ae77945a07e7ba03acadf655b51b817641ad9c63
DIST libedit-20130712-3.1.tar.gz 483857 SHA256 5d9b1a9dd66f1fe28bbd98e4d8ed1a22d8da0d08d902407dcc4a0702c8d88a37 SHA512 9fb3173a65ea2cd2ffa9af0666aa3e227b7d6be26f3e84f30ea3449b0c80fc5e91b618e939f7047bf885b96689ede93733f7eba614d4fdd1a4baff3f130b432e WHIRLPOOL 550553af1cf3bbd863ef4ce86ef5fd7adf257a7f5946ad186a104c5920d0f58216c135d496d52fd2d6ad51a1fb954bb87719d731aa0eebf6980d1c15345d6034

@ -1,48 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=2
inherit eutils toolchain-funcs versionator base
MY_PV=$(get_major_version)-$(get_after_major_version)
MY_P=${PN}-${MY_PV}
DESCRIPTION="BSD replacement for libreadline"
HOMEPAGE="http://www.thrysoee.dk/editline/"
SRC_URI="http://www.thrysoee.dk/editline/${MY_P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos"
IUSE="static-libs"
DEPEND=">=sys-libs/ncurses-5.7-r5[static-libs?]
!<=sys-freebsd/freebsd-lib-6.2_rc1"
RDEPEND=${DEPEND}
S="${WORKDIR}/${MY_P}"
PATCHES=(
"${FILESDIR}/${PN}-ncursesprivate.patch"
"${FILESDIR}/${PN}-20100424.3.0-bsd.patch"
"${FILESDIR}/${PN}-20110709.3.0-weak-reference.patch"
"${FILESDIR}/${PN}-20120311-3.0-el_fn_sh_complete.patch"
)
src_configure() {
econf \
$(use_enable static-libs static) \
--enable-widec \
--disable-dependency-tracking \
--enable-fast-install
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
find "${D}" -name '*.la' -delete
gen_usr_ldscript -a edit
}

@ -1,50 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils toolchain-funcs versionator base multilib-minimal
MY_PV=$(get_major_version)-$(get_after_major_version)
MY_P=${PN}-${MY_PV}
DESCRIPTION="BSD replacement for libreadline"
HOMEPAGE="http://www.thrysoee.dk/editline/"
SRC_URI="http://www.thrysoee.dk/editline/${MY_P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos"
IUSE="static-libs"
DEPEND=">=sys-libs/ncurses-5.9-r3[static-libs?,${MULTILIB_USEDEP}]
!<=sys-freebsd/freebsd-lib-6.2_rc1"
RDEPEND=${DEPEND}
S="${WORKDIR}/${MY_P}"
PATCHES=(
"${FILESDIR}/${PN}-ncursesprivate.patch"
"${FILESDIR}/${PN}-20100424.3.0-bsd.patch"
"${FILESDIR}/${PN}-20110709.3.0-weak-reference.patch"
"${FILESDIR}/${PN}-20120311-3.0-el_fn_sh_complete.patch"
)
multilib_src_configure() {
ECONF_SOURCE="${S}" econf \
$(use_enable static-libs static) \
--enable-widec \
--enable-fast-install
}
multilib_src_install() {
emake DESTDIR="${D}" install
multilib_is_native_abi && gen_usr_ldscript -a edit
}
multilib_src_install_all() {
einstalldocs
prune_libtool_files --all
}

@ -41,7 +41,7 @@ multilib_src_configure() {
multilib_src_install() {
emake DESTDIR="${D}" install
multilib_is_native_abi && gen_usr_ldscript -a edit
gen_usr_ldscript -a edit
}
multilib_src_install_all() {

@ -1,5 +1,2 @@
DIST pcre-7.9.tar.bz2 861580 SHA256 40a13a9759f1de5b16bc2f0d47b6aa5f0ec010325646922f54b013c040dcd740 SHA512 b4c47a9b196750d4bead9e3904702fc793d282a22af1b34e24081077b4c167ec787cf7dec9a565fa9df4dafb5927b7accdd49568f5c2f8733842cbbec5d4d25c WHIRLPOOL 412cf0a128861cbb991a0424e9f4ba551093b7853465776e17465f9c2b4222002a8b26d7a234b91a49e055a04ae840ad5d6c1613615c98db3d44413a723a6152
DIST pcre-8.35.tar.bz2 1522220 SHA256 a961c1c78befef263cc130756eeca7b674b4e73a81533293df44e4265236865b SHA512 e94c652b40de60b391e28afbddc67b5a034650f6f62027e52f2d7aef53caf5f0da9f2d4f6872d1558f965dd9d4d696e5e23d2a50f20a4fbc9f0a707fb6f55fae WHIRLPOOL 677dd9673299438c4d76c68947124069b9c2b88ac837e59d00fc4e92113498357041f173ec4ae1cd61e760debad0a2392710f986794796678e596b9a22ba62a2
DIST pcre-8.36.tar.bz2 1533818 SHA256 ef833457de0c40e82f573e34528f43a751ff20257ad0e86d272ed5637eb845bb SHA512 acd2bc6911be7b518ad4aca3c3ccbe98bdbeabf0e77d6b04009838c7825b563a001377f8c3a6a8a0583ec32ee9fefe05e3c1a69f272fe5084469a6b6c2148fbf WHIRLPOOL 4c144e3c468a76d8bac3d8a0d4642f7b2e2bd03f84ca915d51a81af7128d7d9c6ed7272bf25e2b9c5eb435037b77ffc41b871bd7257efde0a14a20f5fb4b8432
DIST pcre-8.37.tar.bz2 1557603 SHA256 51679ea8006ce31379fb0860e46dd86665d864b5020fc9cd19e71260eef4789d SHA512 19344c9add2ebbd26c528505d07d3b028d79bc3e6103d51453a449cebd76bc76f5bc7ddd9ef0de41f98c50be74a2d9a65db539ed60f1add1086d99bde8a81466 WHIRLPOOL 43f723a9107fd6d78a88d4682502d79d5b9b0df90a579667a80b9862611a1c7bee25a1d5a1f9facec7c077f89605d7d96e3843d4aa5b94113b49b06a974331e5
DIST pcre-8.38.tar.bz2 1562265 SHA256 b9e02d36e23024d6c02a2e5b25204b3a4fa6ade43e0a5f869f254f49535079df SHA512 ad3412ceee8f992787a3e7cbe0155ffba67affd4b2dfece6c4501dc8d2012f52dcc1ee1f56759362e04bbbd10ea9370b3e46f238e2f75005cb69f6c8439e52c0 WHIRLPOOL 68533f741a3faa618f4d7341bfa59aaac295ac6af6085772e4c169ad73fae38e98cace2ce2af2899a619bb05dce79859dcd175a158a73729082f7cf52107d1df

@ -1,91 +0,0 @@
https://bugs.exim.org/show_bug.cgi?id=1636
https://bugs.gentoo.org/551240
https://bugzilla.redhat.com/1236659
From 68ff1beb43bb3d4d8838f3285c97023d1e50513a Mon Sep 17 00:00:00 2001
From: ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>
Date: Fri, 15 May 2015 17:17:03 +0000
Subject: [PATCH] Fix buffer overflow for named recursive back reference when
the name is duplicated.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Upstream commit ported to pcre-8.37:
commit 4b79af6b4cbeb5326ae5e4d83f3e935e00286c19
Author: ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>
Date: Fri May 15 17:17:03 2015 +0000
Fix buffer overflow for named recursive back reference when the name is
duplicated.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1558 2f5784b3-3f2a-0410-8824-cb99058d5e15
This fixes CVE-2015-3210.
Signed-off-by: Petr Písař <ppisar@redhat.com>
---
pcre_compile.c | 16 ++++++++++++++--
testdata/testinput2 | 2 ++
testdata/testoutput2 | 2 ++
3 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/pcre_compile.c b/pcre_compile.c
index 0efad26..6f06912 100644
--- a/pcre_compile.c
+++ b/pcre_compile.c
@@ -7173,14 +7173,26 @@ for (;; ptr++)
number. If the name is not found, set the value to 0 for a forward
reference. */
+ recno = 0;
ng = cd->named_groups;
for (i = 0; i < cd->names_found; i++, ng++)
{
if (namelen == ng->length &&
STRNCMP_UC_UC(name, ng->name, namelen) == 0)
- break;
+ {
+ open_capitem *oc;
+ recno = ng->number;
+ if (is_recurse) break;
+ for (oc = cd->open_caps; oc != NULL; oc = oc->next)
+ {
+ if (oc->number == recno)
+ {
+ oc->flag = TRUE;
+ break;
+ }
+ }
+ }
}
- recno = (i < cd->names_found)? ng->number : 0;
/* Count named back references. */
diff --git a/testdata/testinput2 b/testdata/testinput2
index 58fe53b..83bb471 100644
--- a/testdata/testinput2
+++ b/testdata/testinput2
@@ -4152,4 +4152,6 @@ backtracking verbs. --/
/((?2){73}(?2))((?1))/
+"(?J)(?'d'(?'d'\g{d}))"
+
/-- End of testinput2 --/
diff --git a/testdata/testoutput2 b/testdata/testoutput2
index b718df0..7dff52a 100644
--- a/testdata/testoutput2
+++ b/testdata/testoutput2
@@ -14423,4 +14423,6 @@ Failed: lookbehind assertion is not fixed length at offset 17
/((?2){73}(?2))((?1))/
+"(?J)(?'d'(?'d'\g{d}))"
+
/-- End of testinput2 --/
--
2.4.3

@ -1,72 +0,0 @@
https://bugs.exim.org/show_bug.cgi?id=1651
https://bugs.gentoo.org/553300
https://bugzilla.redhat.com/1237224
From 354e1f8e921dcb9cf2f3a5eac93cd826d01a7d8a Mon Sep 17 00:00:00 2001
From: ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>
Date: Tue, 23 Jun 2015 16:34:53 +0000
Subject: [PATCH] Fix buffer overflow for forward reference within backward
assertion with excess closing parenthesis. Bugzilla 1651.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This is upstream commit ported to 8.37:
commit 764692f9aea9eab50fdba6cb537441d8b34c6c37
Author: ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>
Date: Tue Jun 23 16:34:53 2015 +0000
Fix buffer overflow for forward reference within backward assertion with excess
closing parenthesis. Bugzilla 1651.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1571 2f5784b3-3f2a-0410-8824-cb99058d5e15
It fixes CVE-2015-5073.
Signed-off-by: Petr Písař <ppisar@redhat.com>
---
pcre_compile.c | 2 +-
testdata/testinput2 | 2 ++
testdata/testoutput2 | 3 +++
3 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/pcre_compile.c b/pcre_compile.c
index 6f06912..b66b1f6 100644
--- a/pcre_compile.c
+++ b/pcre_compile.c
@@ -9392,7 +9392,7 @@ OP_RECURSE that are not fixed length get a diagnosic with a useful offset. The
exceptional ones forgo this. We scan the pattern to check that they are fixed
length, and set their lengths. */
-if (cd->check_lookbehind)
+if (errorcode == 0 && cd->check_lookbehind)
{
pcre_uchar *cc = (pcre_uchar *)codestart;
diff --git a/testdata/testinput2 b/testdata/testinput2
index 83bb471..5cc9ce6 100644
--- a/testdata/testinput2
+++ b/testdata/testinput2
@@ -4154,4 +4154,6 @@ backtracking verbs. --/
"(?J)(?'d'(?'d'\g{d}))"
+/(?=di(?<=(?1))|(?=(.))))/
+
/-- End of testinput2 --/
diff --git a/testdata/testoutput2 b/testdata/testoutput2
index 7dff52a..4decb8d 100644
--- a/testdata/testoutput2
+++ b/testdata/testoutput2
@@ -14425,4 +14425,7 @@ Failed: lookbehind assertion is not fixed length at offset 17
"(?J)(?'d'(?'d'\g{d}))"
+/(?=di(?<=(?1))|(?=(.))))/
+Failed: unmatched parentheses at offset 23
+
/-- End of testinput2 --/
--
2.4.3

@ -1,95 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="4"
inherit eutils multilib libtool flag-o-matic toolchain-funcs multilib-minimal
DESCRIPTION="Perl-compatible regular expression library"
HOMEPAGE="http://www.pcre.org/"
MY_P="pcre-${PV/_rc/-RC}"
if [[ ${PV} != *_rc* ]] ; then
# Only the final releases are available here.
SRC_URI="mirror://sourceforge/pcre/${MY_P}.tar.bz2
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${MY_P}.tar.bz2"
else
SRC_URI="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/${MY_P}.tar.bz2"
fi
LICENSE="BSD"
SLOT="3"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="bzip2 +cxx +jit libedit pcre16 pcre32 +readline +recursion-limit static-libs unicode zlib"
REQUIRED_USE="readline? ( !libedit )
libedit? ( !readline )"
RDEPEND="bzip2? ( app-arch/bzip2 )
zlib? ( sys-libs/zlib )
libedit? ( dev-libs/libedit )
readline? ( sys-libs/readline )"
DEPEND="${RDEPEND}
virtual/pkgconfig"
RDEPEND="${RDEPEND}
abi_x86_32? (
!<=app-emulation/emul-linux-x86-baselibs-20131008-r2
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
)"
S=${WORKDIR}/${MY_P}
MULTILIB_CHOST_TOOLS=(
/usr/bin/pcre-config
)
src_prepare() {
local pc
for pc in *.pc.in ; do
echo "Libs.private: @PTHREAD_CFLAGS@" >> ${pc} #454478
done
sed -i -e "s:-lpcre ::" libpcrecpp.pc.in || die
elibtoolize
}
multilib_src_configure() {
ECONF_SOURCE="${S}" econf \
--with-match-limit-recursion=$(usex recursion-limit 8192 MATCH_LIMIT) \
$(multilib_native_use_enable bzip2 pcregrep-libbz2) \
$(use_enable cxx cpp) \
$(use_enable jit) $(use_enable jit pcregrep-jit) \
$(use_enable pcre16) \
$(use_enable pcre32) \
$(multilib_native_use_enable libedit pcretest-libedit) \
$(multilib_native_use_enable readline pcretest-libreadline) \
$(use_enable static-libs static) \
$(use_enable unicode utf) $(use_enable unicode unicode-properties) \
$(multilib_native_use_enable zlib pcregrep-libz) \
--enable-pcre8 \
--enable-shared \
--htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
--docdir="${EPREFIX}"/usr/share/doc/${PF}
}
multilib_src_compile() {
emake V=1 $(multilib_is_native_abi || echo "bin_PROGRAMS=")
}
multilib_src_install() {
emake \
DESTDIR="${D}" \
$(multilib_is_native_abi || echo "bin_PROGRAMS= dist_html_DATA=") \
install
multilib_is_native_abi && gen_usr_ldscript -a pcre
}
multilib_src_install_all() {
prune_libtool_files
}
pkg_preinst() {
preserve_old_lib /$(get_libdir)/libpcre.so.0
}
pkg_postinst() {
preserve_old_lib_notify /$(get_libdir)/libpcre.so.0
}

@ -1,95 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="4"
inherit eutils multilib libtool flag-o-matic toolchain-funcs multilib-minimal
DESCRIPTION="Perl-compatible regular expression library"
HOMEPAGE="http://www.pcre.org/"
MY_P="pcre-${PV/_rc/-RC}"
if [[ ${PV} != *_rc* ]] ; then
# Only the final releases are available here.
SRC_URI="mirror://sourceforge/pcre/${MY_P}.tar.bz2
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${MY_P}.tar.bz2"
else
SRC_URI="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/${MY_P}.tar.bz2"
fi
LICENSE="BSD"
SLOT="3"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="bzip2 +cxx +jit libedit pcre16 pcre32 +readline +recursion-limit static-libs unicode zlib"
REQUIRED_USE="readline? ( !libedit )
libedit? ( !readline )"
RDEPEND="bzip2? ( app-arch/bzip2 )
zlib? ( sys-libs/zlib )
libedit? ( dev-libs/libedit )
readline? ( sys-libs/readline )"
DEPEND="${RDEPEND}
virtual/pkgconfig"
RDEPEND="${RDEPEND}
abi_x86_32? (
!<=app-emulation/emul-linux-x86-baselibs-20131008-r2
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
)"
S=${WORKDIR}/${MY_P}
MULTILIB_CHOST_TOOLS=(
/usr/bin/pcre-config
)
src_prepare() {
local pc
for pc in *.pc.in ; do
echo "Libs.private: @PTHREAD_CFLAGS@" >> ${pc} #454478
done
sed -i -e "s:-lpcre ::" libpcrecpp.pc.in || die
elibtoolize
}
multilib_src_configure() {
ECONF_SOURCE="${S}" econf \
--with-match-limit-recursion=$(usex recursion-limit 8192 MATCH_LIMIT) \
$(multilib_native_use_enable bzip2 pcregrep-libbz2) \
$(use_enable cxx cpp) \
$(use_enable jit) $(use_enable jit pcregrep-jit) \
$(use_enable pcre16) \
$(use_enable pcre32) \
$(multilib_native_use_enable libedit pcretest-libedit) \
$(multilib_native_use_enable readline pcretest-libreadline) \
$(use_enable static-libs static) \
$(use_enable unicode utf) $(use_enable unicode unicode-properties) \
$(multilib_native_use_enable zlib pcregrep-libz) \
--enable-pcre8 \
--enable-shared \
--htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
--docdir="${EPREFIX}"/usr/share/doc/${PF}
}
multilib_src_compile() {
emake V=1 $(multilib_is_native_abi || echo "bin_PROGRAMS=")
}
multilib_src_install() {
emake \
DESTDIR="${D}" \
$(multilib_is_native_abi || echo "bin_PROGRAMS= dist_html_DATA=") \
install
multilib_is_native_abi && gen_usr_ldscript -a pcre
}
multilib_src_install_all() {
prune_libtool_files
}
pkg_preinst() {
preserve_old_lib /$(get_libdir)/libpcre.so.0
}
pkg_postinst() {
preserve_old_lib_notify /$(get_libdir)/libpcre.so.0
}

@ -1,93 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
inherit eutils multilib libtool flag-o-matic toolchain-funcs multilib-minimal
DESCRIPTION="Perl-compatible regular expression library"
HOMEPAGE="http://www.pcre.org/"
MY_P="pcre-${PV/_rc/-RC}"
if [[ ${PV} != *_rc* ]] ; then
# Only the final releases are available here.
SRC_URI="mirror://sourceforge/pcre/${MY_P}.tar.bz2
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${MY_P}.tar.bz2"
else
SRC_URI="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/${MY_P}.tar.bz2"
fi
LICENSE="BSD"
SLOT="3"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="bzip2 +cxx +jit libedit pcre16 pcre32 +readline +recursion-limit static-libs unicode zlib"
REQUIRED_USE="readline? ( !libedit )
libedit? ( !readline )"
RDEPEND="bzip2? ( app-arch/bzip2 )
zlib? ( sys-libs/zlib )
libedit? ( dev-libs/libedit )
readline? ( sys-libs/readline:0= )"
DEPEND="${RDEPEND}
virtual/pkgconfig"
RDEPEND="${RDEPEND}
abi_x86_32? (
!<=app-emulation/emul-linux-x86-baselibs-20131008-r2
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
)"
S=${WORKDIR}/${MY_P}
MULTILIB_CHOST_TOOLS=(
/usr/bin/pcre-config
)
src_prepare() {
epatch "${FILESDIR}"/${P}-CVE-2015-3210.patch #551240
epatch "${FILESDIR}"/${P}-CVE-2015-5073.patch #553300
sed -i -e "s:-lpcre ::" libpcrecpp.pc.in || die
elibtoolize
}
multilib_src_configure() {
ECONF_SOURCE="${S}" econf \
--with-match-limit-recursion=$(usex recursion-limit 8192 MATCH_LIMIT) \
$(multilib_native_use_enable bzip2 pcregrep-libbz2) \
$(use_enable cxx cpp) \
$(use_enable jit) $(use_enable jit pcregrep-jit) \
$(use_enable pcre16) \
$(use_enable pcre32) \
$(multilib_native_use_enable libedit pcretest-libedit) \
$(multilib_native_use_enable readline pcretest-libreadline) \
$(use_enable static-libs static) \
$(use_enable unicode utf) $(use_enable unicode unicode-properties) \
$(multilib_native_use_enable zlib pcregrep-libz) \
--enable-pcre8 \
--enable-shared \
--htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
--docdir="${EPREFIX}"/usr/share/doc/${PF}
}
multilib_src_compile() {
emake V=1 $(multilib_is_native_abi || echo "bin_PROGRAMS=")
}
multilib_src_install() {
emake \
DESTDIR="${D}" \
$(multilib_is_native_abi || echo "bin_PROGRAMS= dist_html_DATA=") \
install
multilib_is_native_abi && gen_usr_ldscript -a pcre
}
multilib_src_install_all() {
prune_libtool_files
}
pkg_preinst() {
preserve_old_lib /$(get_libdir)/libpcre.so.0
}
pkg_postinst() {
preserve_old_lib_notify /$(get_libdir)/libpcre.so.0
}

@ -75,7 +75,7 @@ multilib_src_install() {
DESTDIR="${D}" \
$(multilib_is_native_abi || echo "bin_PROGRAMS= dist_html_DATA=") \
install
multilib_is_native_abi && gen_usr_ldscript -a pcre
gen_usr_ldscript -a pcre
}
multilib_src_install_all() {

@ -1,2 +1 @@
DIST libpwquality-1.2.4.tar.bz2 394060 SHA256 9ad67be364a66dc8b334a473c77d9f531137ee0e9d85d81f567f410a375857c7 SHA512 63ead296320e8eadc1a3341c28b015f9dbbf30e610e9226a11018d81aeb412d0e211753ebdb45f959c35cedfc6ed580bba9e6b0f8822c3b5f38062428f637049 WHIRLPOOL 94166db5bba425fb19a9a27fe27eb082716e887b90fa2d2bd64e56f4d9202c6cc1f7f16779185a5c44ce3145f8a8df92ecca9b6628ae63daba99aca4d5a9c1a9
DIST libpwquality-1.3.0.tar.bz2 423910 SHA256 74d2ea90e103323c1f2d6a6cc9617cdae6877573eddb31aaf31a40f354cc2d2a SHA512 c3817c7a5ca962b161911b97b413a0db7c34a99ba2cd191435024abdbe060e248c0f88436f24d3992dcb1b00d34b88afb731ef1fd23efc3ad1abe56d4d7d53ea WHIRLPOOL b6451083551a13be259d1a81eb089889d9ee430c30afb2555aa2e5e7c4240febc71b152ce3c210b592a56db8988fc88a827d8e9f368c5aa478d5babf4e316b8c

@ -1,76 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
inherit eutils multilib pam python-r1 toolchain-funcs
DESCRIPTION="Library for password quality checking and generating random passwords"
HOMEPAGE="https://fedorahosted.org/libpwquality/"
SRC_URI="https://fedorahosted.org/releases/l/i/${PN}/${P}.tar.bz2"
LICENSE="|| ( BSD GPL-2 )"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
IUSE="pam python static-libs"
RDEPEND="
>=sys-libs/cracklib-2.8:=
pam? ( virtual/pam )
python? ( ${PYTHON_DEPS} )
"
DEPEND="${RDEPEND}
>=sys-devel/gettext-0.18.2
virtual/pkgconfig
"
src_prepare() {
# ensure pkgconfig files go in /usr
sed -e 's:\(pkgconfigdir *=\).*:\1 '${EPREFIX}/usr/$(get_libdir)'/pkgconfig:' \
-i src/Makefile.{am,in} || die "sed failed"
use python && python_copy_sources
}
src_configure() {
# Install library in /lib for pam
configuring() {
local sitedir
econf \
--libdir="${EPREFIX}/$(get_libdir)" \
$(use_enable pam) \
--with-securedir="${EPREFIX}/$(getpam_mod_dir)" \
$(use_enable python python-bindings) \
$(usex python "--with-pythonsitedir=$(use python && python_get_sitedir)" "") \
$(use_enable static-libs static)
}
if_use_python_python_foreach_impl configuring
}
src_compile() {
if_use_python_python_foreach_impl default
}
src_test() {
if_use_python_python_foreach_impl default
}
src_install() {
if_use_python_python_foreach_impl default
if use static-libs; then
# Do not install static libs in /lib
mkdir -p "${ED}usr/$(get_libdir)"
mv "${ED}$(get_libdir)/libpwquality.a" "${ED}/usr/$(get_libdir)/" || die
gen_usr_ldscript libpwquality.so
fi
prune_libtool_files --modules
}
if_use_python_python_foreach_impl() {
if use python; then
python_foreach_impl run_in_build_dir "$@"
else
"$@"
fi
}

@ -13,7 +13,7 @@ SRC_URI="https://fedorahosted.org/releases/l/i/${PN}/${P}.tar.bz2"
LICENSE="|| ( BSD GPL-2 )"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
IUSE="pam python static-libs"
RDEPEND="

@ -39,7 +39,7 @@ multilib_src_configure() {
multilib_src_install() {
emake DESTDIR="${D}" install
multilib_is_native_abi && gen_usr_ldscript -a usb
gen_usr_ldscript -a usb
}
multilib_src_install_all() {

@ -43,7 +43,7 @@ multilib_src_configure() {
multilib_src_install() {
emake DESTDIR="${D}" install
multilib_is_native_abi && gen_usr_ldscript -a usb
gen_usr_ldscript -a usb
}
multilib_src_install_all() {

@ -32,7 +32,7 @@ multilib_src_configure() {
multilib_src_install() {
emake DESTDIR="${D}" install
multilib_is_native_abi && gen_usr_ldscript -a lzo2
gen_usr_ldscript -a lzo2
}
multilib_src_install_all() {

@ -32,7 +32,7 @@ multilib_src_configure() {
multilib_src_install() {
emake DESTDIR="${D}" install
multilib_is_native_abi && gen_usr_ldscript -a lzo2
gen_usr_ldscript -a lzo2
}
multilib_src_install_all() {

@ -1,4 +1,3 @@
DIST Mouse-0.64-ppport.h.bz2 39634 SHA256 adbd5a9eb45a677b948b9c119815977df82981991dfd66b2eecb44a47ff61c7a SHA512 23316f5e814677ae84968da9733cc19f0b6732e4e8dcc97333e4d56523ed9bf2f41cc2ec8a82d6d66b43161f8ec0d0b9e661a2b01432f8dd9fdf4167c4a697fd WHIRLPOOL c4551c16c3146ce57753d1c005ffbd75d223d526681e4562bcc9520a5d77bbf4ff52412ea29021757bb731d271173ef39683e3a56b4359f2b61fb494560acefb
DIST Mouse-0.97.tar.gz 229149 SHA256 dfb1f3abbc46e7646a685efa4e5804c4cf9772eb807ac6abf8f1d1529b57b97a SHA512 a213d22701f9beef91d97eb6f9223a57a13f8d23d9452cd7802e951d95b42997525362a0e5cc7799fb628cceb1ca88541bb9f649c365e65a18463ad88e24efdf WHIRLPOOL bc2138bd62bad92fc476eff62f0c06cc36130859a4a415b4faf65feb11e089d88c386504ca6c40fd7352562fe2d5d419d328d13eeaed5092f070ba89fe235592
DIST Mouse-2.4.1.tar.gz 220438 SHA256 3f1000351ae419ecc68e439671e3352d80424568c37b3e6ac7c6bdcbbe8711e1 SHA512 2e76a8c7cc27d7bc128127dd38cb7bc1d3d7eed324f0a8fdea90f21e234c132884e460a6e19c9bf9f26e9f78cb24afea5dbf08495cd980db5bd56d0c8f0200f2 WHIRLPOOL 1ff91b97639879a5eec2dfe4e413dcfdb3b9610d167721bd17b9e9ed1e2e4fa59567578d727d5bb7e0ab9b396b91928c5cbd012f04fda0a01535669e3fe68cea
DIST Mouse-v2.4.5.tar.gz 221446 SHA256 14223cf0864e307e674e39c0b109398d2fb6289d245f273177810b878cbe8db8 SHA512 555b0543a1bfda2b07c53c2f1d1a62dabfc5261dac5f22cfd227d739e52f85c669ca3570a209eff041528e32bb84ad9cc656fe35b212aea7ff6b287bad5937b9 WHIRLPOOL 1613f023b4d68ba945d9ccc1edbc9b1c94326d97de7e3d20de5724779d3bb7d718245096271b827934b6d6dd1e8bb3a0b564d89f6fd65075d61ea8108d9d8dc7

@ -1,37 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
MODULE_AUTHOR=GFUJI
inherit perl-module
DESCRIPTION="Moose minus the antlers"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
IUSE="test"
RDEPEND="
>=virtual/perl-Scalar-List-Utils-1.140.0
>=virtual/perl-XSLoader-0.20.0
"
# Test::Exception::LessClever -> Nowhere because upstream are wrong
DEPEND="
>=virtual/perl-ExtUtils-ParseXS-3.220.0
>=virtual/perl-Devel-PPPort-3.190.0
>=dev-perl/Module-Build-0.400.500
dev-perl/Module-Build-XSUtil
${RDEPEND}
test? (
dev-perl/Test-Exception
dev-perl/Test-Fatal
dev-perl/Test-LeakTrace
>=virtual/perl-Test-Simple-0.880.0
dev-perl/Test-Output
dev-perl/Test-Requires
dev-perl/Try-Tiny
)
"
SRC_TEST="do parallel"

@ -1,2 +1 @@
DIST Net-Amazon-S3-0.59.tar.gz 52272 SHA256 94f2bd6b317a9142e400d7d17bd573dc9d22284c3ceaa4864474ba674e0e2e9f SHA512 183fce9c9375a3c6d7ef9e1278e4684bb98a19e871c5cfe9bfb99607a0c3d697df1337c682d13305477fc143c22563b218325017506871c78e70f8e57c0a787f WHIRLPOOL e4c980d4f6cda542c8305c9bd1d190bd1136f17d7cc7a1cdffc07b849ca852c346c8e8b661be403cb4ffbdd9adc3bac04f7a824eb7b99f0b4a3b9942ac153c4b
DIST Net-Amazon-S3-0.80.tar.gz 60202 SHA256 efb73dd9a96078742cb8564f7b58f5abe5168277342c7634961d63b4ef278848 SHA512 0a6a60e9c227e5646c21585b90c6d2cc437cb7c898cc69b8d4165ee426b9b22e14c94c5c95cffcbfc4b1f310a910dbcd2a03eba06d0eb86192d25458856ed254 WHIRLPOOL 141ace70bbafb91703066d6915dc5128348e8f573b820ab057e66707d24700c35f8e5fd097a3895a5c1811bf2016c62f669aef6a8463824d3624942adbf4b343

@ -1,35 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
MODULE_AUTHOR=PFIG
MODULE_VERSION=0.59
inherit perl-module
DESCRIPTION="Framework for accessing the Amazon S3 Simple Storage Service"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=dev-perl/Moose-1.990.0
>=dev-perl/Data-Stream-Bulk-0.60.0
dev-perl/DateTime-Format-HTTP
dev-perl/Digest-HMAC
dev-perl/Digest-MD5-File
dev-perl/libwww-perl
virtual/perl-IO
dev-perl/LWP-UserAgent-Determined
virtual/perl-MIME-Base64
>=dev-perl/Moose-0.850.0
>=dev-perl/MooseX-StrictConstructor-0.160.0
>=dev-perl/MooseX-Types-DateTime-MoreCoercions-0.70.0
dev-perl/regexp-common
dev-perl/XML-LibXML
dev-perl/URI"
RDEPEND="${DEPEND}"
SRC_TEST=no

@ -1,2 +1 @@
DIST Net-DNS-SEC-0.22.tar.gz 76844 SHA256 381830970220ee6175e19dfaa1d5589fd65137f6c54aa2542b61a826e1cb72ad SHA512 d51f35d778a0c1d2b461e1ac851a50534e56889ce2c6444c88bad268cb386aaed4be8e1314c5a16cfa825ddf5cfda23501b8536175c45c66c0da41954db29364 WHIRLPOOL 9360ed39b09b2df9eca0ca9bb4b771e566f9fe55edb66e95b0280b1174336724aa3ee031aaaad8cb87927b7fc498ae96e3a7a3a9c55c7e9646fa1eff5494eb73
DIST Net-DNS-SEC-1.02.tar.gz 35915 SHA256 e78090addfd4a5d4068b173e6e071d984ae8b67dd803f8f33b73eb7692085fbf SHA512 cbbf0a4eb6948047a991cf473b0824cfa69c7f7e2d07190fbc9fe62be79106635ebfc02ab02a559079f2936ff354f5ff9275fd16cf37d7bc2d78a87cf0b103b0 WHIRLPOOL 299823533e31d1c90fb637179711053c3a658f8435699acb27f07983a1600b065e025d61f4bbebce5a6808b2c81767ff6665ef5b17b9476d29b28a32deecc704

@ -1,33 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
MODULE_AUTHOR=NLNETLABS
MODULE_VERSION=0.22
inherit perl-module
DESCRIPTION='DNSSEC extensions to Net::DNS'
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="
>=dev-perl/Crypt-OpenSSL-Bignum-0.40.0
>=dev-perl/Crypt-OpenSSL-DSA-0.100.0
>=dev-perl/Crypt-OpenSSL-RSA-0.190.0
>=virtual/perl-Digest-SHA-5.230.0
virtual/perl-MIME-Base64
>=dev-perl/Net-DNS-0.690.0
>=virtual/perl-Test-Simple-0.470.0
virtual/perl-Time-Local
"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? (
>=virtual/perl-Test-Simple-0.470.0
)
"
SRC_TEST="do"

@ -1,3 +1,2 @@
DIST Net-DNS-0.74.tar.gz 200829 SHA256 ef64af502e94f2d0e0a672ab951d846fd1406544eca596a86943bc8f2da19c32 SHA512 f0bb5482247c9b01dc6e704d1d6f93881b209001d5b43488c453f24b48ddbb07aefa4bb8e71d1d61f3f5d81ad918627f66e56a8a14d2d9adcccf0fe1af15389d WHIRLPOOL dd15330e82b2d06867cae1461d6115b9545aaf0042e9c7e674022330870f18fbf2af4349fb3350bd755e35cdaca6437258ce39293d2f0cd6665b4ad8372babd7
DIST Net-DNS-0.81.tar.gz 197700 SHA256 b36c8ead6edf68da5d9de2b0a22a47d7216e2d7eb52c8cde96724988f68a6d46 SHA512 594d1de98012d7f364f3e9300c0904dc09deb4589cf40cd7c1377da11f7c9203b0171d7eb1f299c3aa519c2f595e644ef960703808d4a42818706dfc7ac7bf53 WHIRLPOOL 0f24e0e53c19a387f75975ddfbc6ecb071c8e28a2b86a687cadbfd7ac218c835ad3db294a1d2f1cda9c9a2c8c45701a9cd7ba1578193f224aeed3d3f85e8df4b
DIST Net-DNS-1.04.tar.gz 245064 SHA256 4b9f220304c5722658fbdbe4db31ab77486b5f0aaada78c9d1b528e4b0680965 SHA512 ff32c1bf52e553fcd64f8a0f9fcd30f6eae4e1350c4c5c97da3b745f1713acd75533694ec834e1b1e9bee0a13b7a8ee0c347dfaa36433052f020e41e36829d59 WHIRLPOOL 5c09639ffc7bdaac4625bf9fc592c6109b43ebb7ab0eed29b9bb7cc42d35f155736a9125787adabb3ee47fb2374189b9d940ea6bf626fa8d837cd5be2511ea83

@ -1,46 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
MODULE_AUTHOR=NLNETLABS
MODULE_VERSION=0.81
inherit toolchain-funcs perl-module
DESCRIPTION="Perl Net::DNS - Perl DNS Resolver Module"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="ipv6 test"
RDEPEND="
virtual/perl-Digest-MD5
dev-perl/Digest-HMAC
virtual/perl-Digest-SHA
dev-perl/Net-IP
virtual/perl-MIME-Base64
ipv6? (
dev-perl/IO-Socket-INET6
)
"
DEPEND="${RDEPEND}
test? (
virtual/perl-Test-Simple
dev-perl/Test-Pod
)"
PATCHES=( ${FILESDIR}/${PN}-0.68-ar.patch )
SRC_TEST="do"
src_prepare() {
perl-module_src_prepare
mydoc="TODO"
# --IPv6-tests requires that you have external IPv6 connectivity
# as it connects to 2001:7b8:206:1:0:1234:be21:e31e
myconf="${myconf} --no-online-tests --no-IPv6-tests"
}
src_compile() {
emake FULL_AR="$(tc-getAR)" OTHERLDFLAGS="${LDFLAGS}"
}

@ -1,3 +1,2 @@
DIST namespace-autoclean-0.13.tar.gz 12954 SHA256 04d4708654016bfc157b0779e1f93362b38f7a4bccb3631b0649d19f5c9aa3f0 SHA512 9310f9d7081ac4cccecdc9ccb557b53b144f030d41acaf0aee08358bbf5cf52a348229deef6ade81e0a02b8fc1d0b8f8466c2b4a6875b5ecc09e2c4e9049b29a WHIRLPOOL 6938bc364423d6ae2717510ca14ff8bff9e223bd22eec84b9466a49f5390d49d98a2cf510c4d5f337eb1e8503e29562a3639db3ec767a8710d5653a23082805e
DIST namespace-autoclean-0.24.tar.gz 36241 SHA256 6069c95585cfd910f02592b0ef9aed5b3def014c413517b0ec3dae2fde7a4f57 SHA512 6fb224e27b631c8b8f14936812d40fe69a5a8e33a0afffd5a4a1e7bb26a2afacdf6179744621fa2eb5540d151676e81ad375de2d76d52c004252ff3304f4552c WHIRLPOOL d61de0bafc3b321d561d6ff888e46835dac80eecc111d15603420791920a896c8d130601d9f3786d59bbdd7abf90bb2f00a34b1ac7684615ecde73a9ffab8d7f
DIST namespace-autoclean-0.28.tar.gz 36130 SHA256 cd410a1681add521a28805da2e138d44f0d542407b50999252a147e553c26c39 SHA512 2541f69862b334fcfe30059d025668175de1b182a5c8ee8f2619bf1d661c316a38fe2014f274bb23e887cd36959f98abb297154ac8ceb600e2e93cbd4a75e28d WHIRLPOOL 7841cb5d53cd8d9bc090e3d39ca81d2eee19262200e6601b1f9edce11dae18a39825aa7b623611c78fe5056648d42a14fcc72f6e72e1e4d90ba15e9f80ab46a5

@ -1,36 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
MODULE_AUTHOR=ETHER
MODULE_VERSION=0.24
inherit perl-module
DESCRIPTION="Keep imports out of your namespace"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x64-macos"
IUSE="test"
RDEPEND="
>=dev-perl/B-Hooks-EndOfScope-0.120.0
virtual/perl-Scalar-List-Utils
dev-perl/Sub-Identify
>=dev-perl/namespace-clean-0.200.0
"
DEPEND="${RDEPEND}
>=dev-perl/Module-Build-Tiny-0.39.0
test? (
virtual/perl-Carp
virtual/perl-ExtUtils-MakeMaker
virtual/perl-File-Spec
virtual/perl-Scalar-List-Utils
>=virtual/perl-Test-Simple-0.880.0
dev-perl/Test-Requires
)
"
SRC_TEST=do
mytargets=install

@ -1,3 +1,2 @@
DIST namespace-clean-0.21.tar.gz 11809 SHA256 b16069bc9261f8c9f2bd541f96076e0961fa4424ce299dac0c9c5523a18e5836 SHA512 927ebed43fad2096705f6633d9eb5d7b4b3ec053b008fc8130886215be482ab373fb2a20ef3404b654ffb49c336e7a5e6a4a4ff6474e9e376b476478b86b68e1 WHIRLPOOL f4a75dd3309fe0744e153cb405b50a6f951640ccfa4001c290f97beeaabbd5640123ccc85fb1c4f7444a266d970b980de829a320246c37e40007c066c16f2a04
DIST namespace-clean-0.25.tar.gz 12816 SHA256 946a2b7b8219562818867ad915cd493637e2639f901db050b835500c8e6ecd04 SHA512 69d46adac8d3f249b36310583568705e9dea6a308ce9265f4986063ef48b8bdfd4fdff86c602639090edc5936422a1b455d0a5e89d9c3bd5d7443beba8de5d14 WHIRLPOOL 07211d70f5f61f7c37ac8e47a2be52565ef00875db1c85ee4949eff3e64ce3bbdef0f13c1f30eaeeba382956dcf49a4436b605bab9d141d03d99ed7f5f7c7d94
DIST namespace-clean-0.26.tar.gz 15414 SHA256 73986e19c4ad0e634e35f4f26e81437f152d8026eb1d91fe795725746ce13eca SHA512 b3d0d9d4401abdc9c53a3a7d0b62804304786a71eabd05205c993157be2a2037325f865350b84bc80de93a966e16ec8c28f8aa84154896f8feab86500f63a9f9 WHIRLPOOL cd2005eb4e2c807e2cff63e56b1570f1e603939ab4278ef7b93f0561d4e9f08ba1064f703744a289761b24d5fc4f26a776c6a532a67d7cd5c193548e86239661

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

Loading…
Cancel
Save