Sync with portage [Thu Feb 19 16:57:20 MSK 2015].

mhiretskiy
root 9 years ago
parent 3d2aec4b91
commit 926e7bf096

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/kedpm/kedpm-0.4.0-r2.ebuild,v 1.1 2014/12/15 05:18:32 mgorny Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/kedpm/kedpm-0.4.0-r2.ebuild,v 1.2 2015/02/19 09:04:28 ago Exp $
EAPI=5
@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
KEYWORDS="amd64 ~ppc ~x86"
IUSE="gtk"
DEPEND="dev-python/pycrypto[${PYTHON_USEDEP}]

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/dpkg/dpkg-1.17.23.ebuild,v 1.3 2015/02/13 21:16:05 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/app-arch/dpkg/dpkg-1.17.23.ebuild,v 1.4 2015/02/19 09:02:46 ago Exp $
EAPI=5
inherit eutils multilib autotools toolchain-funcs
@ -11,7 +11,7 @@ SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-solaris ~x86-solaris"
IUSE="+bzip2 +lzma nls selinux test unicode +update-alternatives +zlib"
RDEPEND="

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/cdrtools-3.01_alpha17.ebuild,v 1.19 2015/02/18 15:33:08 zerochaos Exp $
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/cdrtools-3.01_alpha17.ebuild,v 1.20 2015/02/19 03:08:59 floppym Exp $
EAPI=5
@ -15,10 +15,10 @@ SRC_URI="mirror://sourceforge/${PN}/$([[ -z ${PV/*_alpha*} ]] && echo 'alpha')/$
LICENSE="GPL-2 LGPL-2.1 CDDL-Schily"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="acl nls unicode"
IUSE="acl caps nls unicode"
RDEPEND="acl? ( virtual/acl )
filecaps? ( sys-libs/libcap )
caps? ( sys-libs/libcap )
nls? ( virtual/libintl )
!app-cdr/cdrkit"
DEPEND="${RDEPEND}
@ -111,7 +111,7 @@ src_compile() {
fi
fi
if ! use filecaps; then
if ! use caps; then
CFLAGS="${CFLAGS} -DNO_LINUX_CAPS"
fi

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/cdrtools-3.01_alpha24.ebuild,v 1.5 2015/02/18 15:33:08 zerochaos Exp $
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/cdrtools-3.01_alpha24.ebuild,v 1.6 2015/02/19 03:08:59 floppym Exp $
EAPI=5
@ -15,10 +15,10 @@ SRC_URI="mirror://sourceforge/${PN}/$([[ -z ${PV/*_alpha*} ]] && echo 'alpha')/$
LICENSE="GPL-2 LGPL-2.1 CDDL-Schily"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="acl nls unicode"
IUSE="acl caps nls unicode"
RDEPEND="acl? ( virtual/acl )
filecaps? ( sys-libs/libcap )
caps? ( sys-libs/libcap )
nls? ( virtual/libintl )
!app-cdr/cdrkit"
DEPEND="${RDEPEND}
@ -218,7 +218,7 @@ src_compile() {
fi
fi
if ! use filecaps; then
if ! use caps; then
CFLAGS="${CFLAGS} -DNO_LINUX_CAPS"
fi

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/cdrtools-3.01_alpha27.ebuild,v 1.2 2015/02/18 15:33:08 zerochaos Exp $
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/cdrtools-3.01_alpha27.ebuild,v 1.3 2015/02/19 03:08:59 floppym Exp $
EAPI=5
@ -15,10 +15,10 @@ SRC_URI="mirror://sourceforge/${PN}/$([[ -z ${PV/*_alpha*} ]] && echo 'alpha')/$
LICENSE="GPL-2 LGPL-2.1 CDDL-Schily"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="acl nls unicode"
IUSE="acl caps nls unicode"
RDEPEND="acl? ( virtual/acl )
filecaps? ( sys-libs/libcap )
caps? ( sys-libs/libcap )
nls? ( virtual/libintl )
!app-cdr/cdrkit"
DEPEND="${RDEPEND}
@ -129,6 +129,9 @@ ac_cv_sizeof() {
}
src_configure() {
use acl || export ac_cv_header_sys_acl_h="no"
use caps || export ac_cv_lib_cap_cap_get_proc="no"
# skip obsolete configure script
if tc-is-cross-compiler ; then
# Cache known values for targets. #486680
@ -218,14 +221,6 @@ src_compile() {
fi
fi
if ! use filecaps; then
CFLAGS="${CFLAGS} -DNO_LINUX_CAPS"
fi
if ! use acl; then
CFLAGS="${CFLAGS} -DNO_ACL"
fi
# If not built with -j1, "sometimes" cdda2wav will not be built.
emake -j1 CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" C++OPTX="${CXXFLAGS}" \
LDOPTX="${LDFLAGS}" GMAKE_NOWARN="true"

@ -1 +1,2 @@
DIST cdw-0.7.1.tar.gz 771099 SHA256 6364c2b836bfe4bf3a672eee1eda2a32061e31d94f73abb02cd5f3e1b69a744e SHA512 8577281841ec3638157473004c835b17167e751594cf19a8960ab37bcad58179abbaa49da9ce37f841adbb79e0e75488d780dbfe348241b1f83a084a88dde205 WHIRLPOOL 58fdfd4e7375b3022a34e2ab6afc14625d3e7e24538069b0c6fd90ed645ba79d8d167d96c42204a1732095ebe8ea4b16d8e4321355cddd2d7a1fb8766ed3f806
DIST cdw-0.8.0.tar.gz 849851 SHA256 8f5bd7ed41bc07a84c5aa693bed3c38420e60ba6a3b5ae6ff8e41d78a4665fd2 SHA512 67fd9e397800187baafff425fd77ae9ba679a7b396736004f305accea3c3c9ca215d70dac0410fd8ef9ed016f7ce11c3859c84bfa04e3234cee84201605175d0 WHIRLPOOL 1ad447f47bb8d1fdd5868aa0c6a5bba2f76d65aa93a7be6841823215794c094a25f8e03be6573b3d46256ad33e8d20185e5f790b3f1b5320623b74fd7a2eef6c

@ -0,0 +1,24 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdw/cdw-0.8.0.ebuild,v 1.2 2015/02/19 09:59:26 mr_bones_ Exp $
EAPI=5
DESCRIPTION="An ncurses based console frontend for cdrtools and dvd+rw-tools"
HOMEPAGE="http://cdw.sourceforge.net"
SRC_URI="mirror://sourceforge/cdw/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND="virtual/cdrtools
app-cdr/dvd+rw-tools
dev-libs/libburn
dev-libs/libcdio[-minimal]
sys-libs/ncurses[unicode]"
src_install() {
DOCS="AUTHORS ChangeLog NEWS README THANKS cdw.conf" \
default
}

@ -1,8 +1,8 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdw/cdw-9999.ebuild,v 1.3 2012/01/20 18:45:04 mr_bones_ Exp $
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdw/cdw-9999.ebuild,v 1.4 2015/02/19 09:58:10 mr_bones_ Exp $
EAPI=2
EAPI=5
ECVS_SERVER="cdw.cvs.sourceforge.net:/cvsroot/cdw"
ECVS_MODULE="cdw"
ECVS_TOPDIR="${DISTDIR}/cvs-src/${ECVS_MODULE}"
@ -31,6 +31,6 @@ src_prepare() {
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS ChangeLog NEWS README THANKS cdw.conf
DOCS="AUTHORS ChangeLog NEWS README THANKS cdw.conf" \
default
}

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/pinentry-0.9.0.ebuild,v 1.2 2015/02/14 11:18:33 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/pinentry-0.9.0.ebuild,v 1.3 2015/02/19 09:07:33 ago Exp $
EAPI=5
@ -12,7 +12,7 @@ SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="gtk ncurses qt4 caps static"
RDEPEND="

@ -0,0 +1,499 @@
Created by: Karl Hakimian
Added by: Jesus Rivero <neurogeek@gentoo.org>
Added on: Feb 18, 2015
diff -rupN nvi-1.81.6.orig/common/api.c nvi-1.81.6/common/api.c
--- nvi-1.81.6.orig/common/api.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/common/api.c 2015-02-17 11:04:50.199111784 -0800
@@ -423,7 +423,7 @@ api_opts_get(SCR *sp, CHAR_T *name, char
switch (op->type) {
case OPT_0BOOL:
case OPT_1BOOL:
- MALLOC_RET(sp, *value, char *, STRLEN(op->name) + 2 + 1);
+ MALLOC_RET(sp, *value, char *, NVI_STRLEN(op->name) + 2 + 1);
(void)sprintf(*value,
"%s"WS, O_ISSET(sp, offset) ? "" : "no", op->name);
if (boolvalue != NULL)
diff -rupN nvi-1.81.6.orig/common/msg.c nvi-1.81.6/common/msg.c
--- nvi-1.81.6.orig/common/msg.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/common/msg.c 2015-02-17 11:04:50.203891722 -0800
@@ -378,7 +378,7 @@ msgq_wstr(SCR *sp, mtype_t mtype, CHAR_T
msgq(sp, mtype, fmt);
return;
}
- INT2CHAR(sp, str, STRLEN(str) + 1, nstr, nlen);
+ INT2CHAR(sp, str, NVI_STRLEN(str) + 1, nstr, nlen);
msgq_str(sp, mtype, nstr, fmt);
}
diff -rupN nvi-1.81.6.orig/common/multibyte.h nvi-1.81.6/common/multibyte.h
--- nvi-1.81.6.orig/common/multibyte.h 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/common/multibyte.h 2015-02-17 11:04:50.204262910 -0800
@@ -12,7 +12,7 @@ typedef wchar_t CHAR_T;
typedef u_int UCHAR_T;
#define RCHAR_BIT 24
-#define STRLEN wcslen
+#define NVI_STRLEN wcslen
#define STRTOL wcstol
#define STRTOUL wcstoul
#define SPRINTF swprintf
@@ -31,7 +31,7 @@ typedef u_char CHAR_T;
typedef u_char UCHAR_T;
#define RCHAR_BIT CHAR_BIT
-#define STRLEN strlen
+#define NVI_STRLEN strlen
#define STRTOL strtol
#define STRTOUL strtoul
#define SPRINTF snprintf
diff -rupN nvi-1.81.6.orig/common/options.c nvi-1.81.6/common/options.c
--- nvi-1.81.6.orig/common/options.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/common/options.c 2015-02-17 11:04:50.195900457 -0800
@@ -315,7 +315,7 @@ opts_init(SCR *sp, int *oargs)
/* Set numeric and string default values. */
#define OI(indx, str) { \
- a.len = STRLEN(str); \
+ a.len = NVI_STRLEN(str); \
if ((CHAR_T*)str != b2) /* GCC puts strings in text-space. */ \
(void)MEMCPY(b2, str, a.len+1); \
if (opts_set(sp, argv, NULL)) { \
@@ -620,10 +620,10 @@ opts_set(SCR *sp, ARGS **argv, char *usa
goto badnum;
if ((nret =
nget_uslong(sp, &value, sep, &endp, 10)) != NUM_OK) {
- INT2CHAR(sp, name, STRLEN(name) + 1,
+ INT2CHAR(sp, name, NVI_STRLEN(name) + 1,
np, nlen);
p2 = msg_print(sp, np, &nf);
- INT2CHAR(sp, sep, STRLEN(sep) + 1,
+ INT2CHAR(sp, sep, NVI_STRLEN(sep) + 1,
np, nlen);
t2 = msg_print(sp, np, &nf2);
switch (nret) {
@@ -647,10 +647,10 @@ opts_set(SCR *sp, ARGS **argv, char *usa
break;
}
if (*endp && !ISBLANK(*endp)) {
-badnum: INT2CHAR(sp, name, STRLEN(name) + 1,
+badnum: INT2CHAR(sp, name, NVI_STRLEN(name) + 1,
np, nlen);
p2 = msg_print(sp, np, &nf);
- INT2CHAR(sp, sep, STRLEN(sep) + 1,
+ INT2CHAR(sp, sep, NVI_STRLEN(sep) + 1,
np, nlen);
t2 = msg_print(sp, np, &nf2);
msgq(sp, M_ERR,
@@ -680,7 +680,7 @@ badnum: INT2CHAR(sp, name, STRLEN(nam
break;
/* Report to subsystems. */
- INT2CHAR(sp, sep, STRLEN(sep) + 1, np, nlen);
+ INT2CHAR(sp, sep, NVI_STRLEN(sep) + 1, np, nlen);
if (op->func != NULL &&
op->func(sp, spo, np, &value) ||
ex_optchange(sp, offset, np, &value) ||
@@ -712,7 +712,7 @@ badnum: INT2CHAR(sp, name, STRLEN(nam
* Do nothing if the value is unchanged, the underlying
* functions can be expensive.
*/
- INT2CHAR(sp, sep, STRLEN(sep) + 1, np, nlen);
+ INT2CHAR(sp, sep, NVI_STRLEN(sep) + 1, np, nlen);
if (!F_ISSET(op, OPT_ALWAYS) &&
O_STR(sp, offset) != NULL &&
!strcmp(O_STR(sp, offset), np))
@@ -879,7 +879,7 @@ opts_dump(SCR *sp, enum optdisp type)
}
F_CLR(&sp->opts[cnt], OPT_SELECTED);
- curlen = STRLEN(op->name);
+ curlen = NVI_STRLEN(op->name);
switch (op->type) {
case OPT_0BOOL:
case OPT_1BOOL:
@@ -1049,7 +1049,7 @@ opts_search(CHAR_T *name)
* Check to see if the name is the prefix of one (and only one)
* option. If so, return the option.
*/
- len = STRLEN(name);
+ len = NVI_STRLEN(name);
for (found = NULL, op = optlist; op->name != NULL; ++op) {
if (op->name[0] < name[0])
continue;
diff -rupN nvi-1.81.6.orig/dist/tags nvi-1.81.6/dist/tags
--- nvi-1.81.6.orig/dist/tags 2007-11-18 08:43:55.000000000 -0800
+++ nvi-1.81.6/dist/tags 2015-02-17 11:04:50.225314084 -0800
@@ -1068,8 +1068,8 @@ SPRINTF ../common/multibyte.h 37;" d
STANDARD_TAB ../common/key.h 213;" d
STRCMP ../common/multibyte.h 19;" d
STRCMP ../common/multibyte.h 38;" d
-STRLEN ../common/multibyte.h 15;" d
-STRLEN ../common/multibyte.h 34;" d
+NVI_STRLEN ../common/multibyte.h 15;" d
+NVI_STRLEN ../common/multibyte.h 34;" d
STRPBRK ../common/multibyte.h 20;" d
STRPBRK ../common/multibyte.h 39;" d
STRSET ../common/multibyte.h 22;" d
diff -rupN nvi-1.81.6.orig/ex/ex_argv.c nvi-1.81.6/ex/ex_argv.c
--- nvi-1.81.6.orig/ex/ex_argv.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/ex/ex_argv.c 2015-02-17 11:04:50.267171388 -0800
@@ -217,7 +217,7 @@ argv_exp2(SCR *sp, EXCMD *excp, CHAR_T *
*p = '\0';
INT2CHAR(sp, bp + SHELLOFFSET,
- STRLEN(bp + SHELLOFFSET) + 1, np, nlen);
+ NVI_STRLEN(bp + SHELLOFFSET) + 1, np, nlen);
d = strdup(np);
rval = argv_lexp(sp, excp, d);
free (d);
@@ -332,7 +332,7 @@ argv_fexp(SCR *sp, EXCMD *excp, CHAR_T *
"115|No previous command to replace \"!\"");
return (1);
}
- len += tlen = STRLEN(exp->lastbcomm);
+ len += tlen = NVI_STRLEN(exp->lastbcomm);
off = p - bp;
ADD_SPACE_RETW(sp, bp, blen, len);
p = bp + off;
@@ -683,7 +683,7 @@ err: if (ifp != NULL)
* XXX
* Assume that all shells have -c.
*/
- INT2CHAR(sp, bp, STRLEN(bp)+1, np, nlen);
+ INT2CHAR(sp, bp, NVI_STRLEN(bp)+1, np, nlen);
execl(sh_path, sh, "-c", np, (char *)NULL);
msgq_str(sp, M_SYSERR, sh_path, "118|Error: execl: %s");
_exit(127);
diff -rupN nvi-1.81.6.orig/ex/ex_cscope.c nvi-1.81.6/ex/ex_cscope.c
--- nvi-1.81.6.orig/ex/ex_cscope.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/ex/ex_cscope.c 2015-02-17 11:04:50.261539058 -0800
@@ -140,7 +140,7 @@ ex_cscope(SCR *sp, EXCMD *cmdp)
for (; *p && isspace(*p); ++p);
}
- INT2CHAR(sp, cmd, STRLEN(cmd) + 1, np, nlen);
+ INT2CHAR(sp, cmd, NVI_STRLEN(cmd) + 1, np, nlen);
if ((ccp = lookup_ccmd(np)) == NULL) {
usage: msgq(sp, M_ERR, "309|Use \"cscope help\" for help");
return (1);
@@ -214,7 +214,7 @@ cscope_add(SCR *sp, EXCMD *cmdp, CHAR_T
* >1 additional args: object, too many args.
*/
cur_argc = cmdp->argc;
- if (argv_exp2(sp, cmdp, dname, STRLEN(dname))) {
+ if (argv_exp2(sp, cmdp, dname, NVI_STRLEN(dname))) {
return (1);
}
if (cmdp->argc == cur_argc) {
@@ -228,7 +228,7 @@ cscope_add(SCR *sp, EXCMD *cmdp, CHAR_T
return (1);
}
- INT2CHAR(sp, dname, STRLEN(dname)+1, np, nlen);
+ INT2CHAR(sp, dname, NVI_STRLEN(dname)+1, np, nlen);
/*
* The user can specify a specific file (so they can have multiple
@@ -471,7 +471,7 @@ cscope_find(SCR *sp, EXCMD *cmdp, CHAR_T
}
/* Create the cscope command. */
- INT2CHAR(sp, pattern, STRLEN(pattern) + 1, np, nlen);
+ INT2CHAR(sp, pattern, NVI_STRLEN(pattern) + 1, np, nlen);
np = strdup(np);
if ((tqp = create_cs_cmd(sp, np, &search)) == NULL)
goto err;
@@ -801,7 +801,7 @@ cscope_help(SCR *sp, EXCMD *cmdp, CHAR_T
char *np;
size_t nlen;
- INT2CHAR(sp, subcmd, STRLEN(subcmd) + 1, np, nlen);
+ INT2CHAR(sp, subcmd, NVI_STRLEN(subcmd) + 1, np, nlen);
return (csc_help(sp, np));
}
@@ -842,7 +842,7 @@ cscope_kill(SCR *sp, EXCMD *cmdp, CHAR_T
char *np;
size_t nlen;
- INT2CHAR(sp, cn, STRLEN(cn) + 1, np, nlen);
+ INT2CHAR(sp, cn, NVI_STRLEN(cn) + 1, np, nlen);
return (terminate(sp, NULL, atoi(np)));
}
diff -rupN nvi-1.81.6.orig/ex/ex_filter.c nvi-1.81.6/ex/ex_filter.c
--- nvi-1.81.6.orig/ex/ex_filter.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/ex/ex_filter.c 2015-02-17 11:04:50.263257613 -0800
@@ -138,7 +138,7 @@ err: if (input[0] != -1)
else
++name;
- INT2SYS(sp, cmd, STRLEN(cmd)+1, np, nlen);
+ INT2SYS(sp, cmd, NVI_STRLEN(cmd)+1, np, nlen);
execl(O_STR(sp, O_SHELL), name, "-c", np, (char *)NULL);
msgq_str(sp, M_SYSERR, O_STR(sp, O_SHELL), "execl: %s");
_exit (127);
@@ -283,7 +283,7 @@ err: if (input[0] != -1)
* Ignore errors on vi file reads, to make reads prettier. It's
* completely inconsistent, and historic practice.
*/
-uwait: INT2CHAR(sp, cmd, STRLEN(cmd) + 1, np, nlen);
+uwait: INT2CHAR(sp, cmd, NVI_STRLEN(cmd) + 1, np, nlen);
return (proc_wait(sp, (long)utility_pid, np,
ftype == FILTER_READ && F_ISSET(sp, SC_VI) ? 1 : 0, 0) || rval);
}
diff -rupN nvi-1.81.6.orig/ex/ex_init.c nvi-1.81.6/ex/ex_init.c
--- nvi-1.81.6.orig/ex/ex_init.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/ex/ex_init.c 2015-02-17 11:04:50.279419412 -0800
@@ -61,7 +61,7 @@ ex_screen_copy(SCR *orig, SCR *sp)
if (oexp->lastbcomm != NULL &&
(nexp->lastbcomm = v_wstrdup(sp, oexp->lastbcomm,
- STRLEN(oexp->lastbcomm))) == NULL) {
+ NVI_STRLEN(oexp->lastbcomm))) == NULL) {
msgq(sp, M_SYSERR, NULL);
return(1);
}
diff -rupN nvi-1.81.6.orig/ex/ex_tag.c nvi-1.81.6/ex/ex_tag.c
--- nvi-1.81.6.orig/ex/ex_tag.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/ex/ex_tag.c 2015-02-17 11:04:50.275254557 -0800
@@ -68,7 +68,7 @@ ex_tag_first(SCR *sp, CHAR_T *tagarg)
/* Build an argument for the ex :tag command. */
ex_cinit(sp, &cmd, C_TAG, 0, OOBLNO, OOBLNO, 0);
- argv_exp0(sp, &cmd, tagarg, STRLEN(tagarg));
+ argv_exp0(sp, &cmd, tagarg, NVI_STRLEN(tagarg));
/*
* XXX
@@ -115,7 +115,7 @@ ex_tag_push(SCR *sp, EXCMD *cmdp)
/* Taglength may limit the number of characters. */
if ((tl =
- O_VAL(sp, O_TAGLENGTH)) != 0 && STRLEN(exp->tag_last) > tl)
+ O_VAL(sp, O_TAGLENGTH)) != 0 && NVI_STRLEN(exp->tag_last) > tl)
exp->tag_last[tl] = '\0';
break;
case 0:
@@ -587,7 +587,7 @@ ex_tag_copy(SCR *orig, SCR *sp)
/* Copy the last tag. */
if (oexp->tag_last != NULL &&
(nexp->tag_last = v_wstrdup(sp, oexp->tag_last,
- STRLEN(oexp->tag_last))) == NULL) {
+ NVI_STRLEN(oexp->tag_last))) == NULL) {
msgq(sp, M_SYSERR, NULL);
return (1);
}
@@ -997,7 +997,7 @@ ctag_slist(SCR *sp, CHAR_T *tag)
exp = EXP(sp);
/* Allocate and initialize the tag queue structure. */
- INT2CHAR(sp, tag, STRLEN(tag) + 1, np, nlen);
+ INT2CHAR(sp, tag, NVI_STRLEN(tag) + 1, np, nlen);
len = nlen - 1;
CALLOC_GOTO(sp, tqp, TAGQ *, 1, sizeof(TAGQ) + len + 1);
CIRCLEQ_INIT(&tqp->tagq);
diff -rupN nvi-1.81.6.orig/ex/ex_util.c nvi-1.81.6/ex/ex_util.c
--- nvi-1.81.6.orig/ex/ex_util.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/ex/ex_util.c 2015-02-17 11:04:50.268378054 -0800
@@ -153,7 +153,7 @@ ex_wemsg(SCR* sp, CHAR_T *p, exm_t which
char *np;
size_t nlen;
- if (p) INT2CHAR(sp, p, STRLEN(p), np, nlen);
+ if (p) INT2CHAR(sp, p, NVI_STRLEN(p), np, nlen);
else np = NULL;
ex_emsg(sp, np, which);
}
diff -rupN nvi-1.81.6.orig/ex/ex_write.c nvi-1.81.6/ex/ex_write.c
--- nvi-1.81.6.orig/ex/ex_write.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/ex/ex_write.c 2015-02-17 11:04:50.277249383 -0800
@@ -158,7 +158,7 @@ exwr(SCR *sp, EXCMD *cmdp, enum which cm
ex_emsg(sp, cmdp->cmd->usage, EXM_USAGE);
return (1);
}
- if (argv_exp1(sp, cmdp, p, STRLEN(p), 1))
+ if (argv_exp1(sp, cmdp, p, NVI_STRLEN(p), 1))
return (1);
/*
@@ -203,7 +203,7 @@ exwr(SCR *sp, EXCMD *cmdp, enum which cm
&cmdp->addr1, &cmdp->addr2, NULL, flags));
/* Build an argv so we get an argument count and file expansion. */
- if (argv_exp2(sp, cmdp, p, STRLEN(p)))
+ if (argv_exp2(sp, cmdp, p, NVI_STRLEN(p)))
return (1);
/*
@@ -255,7 +255,7 @@ exwr(SCR *sp, EXCMD *cmdp, enum which cm
set_alt_name(sp, name);
break;
default:
- INT2CHAR(sp, p, STRLEN(p) + 1, n, nlen);
+ INT2CHAR(sp, p, NVI_STRLEN(p) + 1, n, nlen);
ex_emsg(sp, n, EXM_FILECOUNT);
return (1);
}
diff -rupN nvi-1.81.6.orig/ip/ip_term.c nvi-1.81.6/ip/ip_term.c
--- nvi-1.81.6.orig/ip/ip_term.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/ip/ip_term.c 2015-02-17 11:04:50.280203225 -0800
@@ -127,7 +127,7 @@ ip_optchange(SCR *sp, int offset, char *
ipb.code = SI_EDITOPT;
ipb.str1 = (char*)opt->name;
- ipb.len1 = STRLEN(opt->name) * sizeof(CHAR_T);
+ ipb.len1 = NVI_STRLEN(opt->name) * sizeof(CHAR_T);
(void)vi_send(ipp->o_fd, "ab1", &ipb);
return (0);
diff -rupN nvi-1.81.6.orig/perl_api/perl.xs nvi-1.81.6/perl_api/perl.xs
--- nvi-1.81.6.orig/perl_api/perl.xs 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/perl_api/perl.xs 2015-02-17 11:04:50.189684363 -0800
@@ -326,7 +326,7 @@ perl_ex_perl(scrp, cmdp, cmdlen, f_lno,
newVIrv(pp->svid, scrp);
istat = signal(SIGINT, my_sighandler);
- INT2CHAR(scrp, cmdp, STRLEN(cmdp)+1, np, nlen);
+ INT2CHAR(scrp, cmdp, NVI_STRLEN(cmdp)+1, np, nlen);
perl_eval(np);
signal(SIGINT, istat);
@@ -421,7 +421,7 @@ perl_ex_perldo(scrp, cmdp, cmdlen, f_lno
/* Backwards compatibility. */
newVIrv(pp->svid, scrp);
- INT2CHAR(scrp, cmdp, STRLEN(cmdp)+1, np, nlen);
+ INT2CHAR(scrp, cmdp, NVI_STRLEN(cmdp)+1, np, nlen);
if (!(command = malloc(length = nlen - 1 + sizeof("sub {}"))))
return 1;
snprintf(command, length, "sub {%s}", np);
diff -rupN nvi-1.81.6.orig/regex/engine.c nvi-1.81.6/regex/engine.c
--- nvi-1.81.6.orig/regex/engine.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/regex/engine.c 2015-02-17 11:04:50.181456859 -0800
@@ -161,7 +161,7 @@ int eflags;
stop = string + pmatch[0].rm_eo;
} else {
start = string;
- stop = start + STRLEN(start);
+ stop = start + NVI_STRLEN(start);
}
if (stop < start)
return(REG_INVARG);
diff -rupN nvi-1.81.6.orig/regex/regcomp.c nvi-1.81.6/regex/regcomp.c
--- nvi-1.81.6.orig/regex/regcomp.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/regex/regcomp.c 2015-02-17 11:04:50.175705539 -0800
@@ -198,7 +198,7 @@ regcomp(regex_t *preg, const RCHAR_T *pa
return(REG_INVARG);
len = preg->re_endp - pattern;
} else
- len = STRLEN(pattern);
+ len = NVI_STRLEN(pattern);
/* do the mallocs early so failure handling is easy */
g = (struct re_guts *)malloc(sizeof(struct re_guts) +
@@ -818,7 +818,7 @@ p_b_cclass(register struct parse *p, reg
NEXT();
len = p->next - sp;
for (cp = cclasses; cp->name != NULL; cp++)
- if (STRLEN(cp->name) == len && MEMCMP(cp->name, sp, len))
+ if (NVI_STRLEN(cp->name) == len && MEMCMP(cp->name, sp, len))
break;
if (cp->name == NULL) {
/* oops, didn't find it */
@@ -889,7 +889,7 @@ p_b_coll_elem(register struct parse *p,
}
len = p->next - sp;
for (cp = cnames; cp->name != NULL; cp++)
- if (STRLEN(cp->name) == len && MEMCMP(cp->name, sp, len))
+ if (NVI_STRLEN(cp->name) == len && MEMCMP(cp->name, sp, len))
return(cp->code); /* known name */
if (len == 1)
return(*sp); /* single character */
diff -rupN nvi-1.81.6.orig/vi/v_event.c nvi-1.81.6/vi/v_event.c
--- nvi-1.81.6.orig/vi/v_event.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/vi/v_event.c 2015-02-17 11:04:50.242966563 -0800
@@ -97,7 +97,7 @@ v_editopt(SCR *sp, VICMD *vp)
size_t nlen;
char *p2;
- INT2CHAR(sp, vp->ev.e_str2, STRLEN(vp->ev.e_str2)+1, np, nlen);
+ INT2CHAR(sp, vp->ev.e_str2, NVI_STRLEN(vp->ev.e_str2)+1, np, nlen);
p2 = strdup(np);
rval = api_opts_set(sp, vp->ev.e_str1, p2,
vp->ev.e_val1, vp->ev.e_val1);
@@ -135,7 +135,7 @@ v_tag(SCR *sp, VICMD *vp)
return (1);
ex_cinit(sp, &cmd, C_TAG, 0, OOBLNO, OOBLNO, 0);
- argv_exp0(sp, &cmd, VIP(sp)->keyw, STRLEN(VIP(sp)->keyw));
+ argv_exp0(sp, &cmd, VIP(sp)->keyw, NVI_STRLEN(VIP(sp)->keyw));
return (v_exec_ex(sp, vp, &cmd));
}
@@ -167,7 +167,7 @@ v_tagsplit(SCR *sp, VICMD *vp)
ex_cinit(sp, &cmd, C_TAG, 0, OOBLNO, OOBLNO, 0);
F_SET(&cmd, E_NEWSCREEN);
- argv_exp0(sp, &cmd, VIP(sp)->keyw, STRLEN(VIP(sp)->keyw));
+ argv_exp0(sp, &cmd, VIP(sp)->keyw, NVI_STRLEN(VIP(sp)->keyw));
return (v_exec_ex(sp, vp, &cmd));
}
diff -rupN nvi-1.81.6.orig/vi/v_ex.c nvi-1.81.6/vi/v_ex.c
--- nvi-1.81.6.orig/vi/v_ex.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/vi/v_ex.c 2015-02-17 11:04:50.246380280 -0800
@@ -210,7 +210,7 @@ v_tagpush(SCR *sp, VICMD *vp)
EXCMD cmd;
ex_cinit(sp, &cmd, C_TAG, 0, OOBLNO, 0, 0);
- argv_exp0(sp, &cmd, VIP(sp)->keyw, STRLEN(VIP(sp)->keyw) + 1);
+ argv_exp0(sp, &cmd, VIP(sp)->keyw, NVI_STRLEN(VIP(sp)->keyw) + 1);
return (v_exec_ex(sp, vp, &cmd));
}
diff -rupN nvi-1.81.6.orig/vi/vs_msg.c nvi-1.81.6/vi/vs_msg.c
--- nvi-1.81.6.orig/vi/vs_msg.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/vi/vs_msg.c 2015-02-17 11:04:50.251093618 -0800
@@ -175,7 +175,7 @@ vs_update(SCR *sp, const char *m1, const
*/
if (F_ISSET(sp, SC_SCR_EXWROTE)) {
if (m2 != NULL)
- INT2CHAR(sp, m2, STRLEN(m2) + 1, np, nlen);
+ INT2CHAR(sp, m2, NVI_STRLEN(m2) + 1, np, nlen);
(void)ex_printf(sp,
"%s\n", m1 == NULL? "" : m1, m2 == NULL ? "" : np);
(void)ex_fflush(sp);
@@ -203,7 +203,7 @@ vs_update(SCR *sp, const char *m1, const
} else
len = 0;
if (m2 != NULL) {
- mlen = STRLEN(m2);
+ mlen = NVI_STRLEN(m2);
if (len + mlen > sp->cols - 2)
mlen = (sp->cols - 2) - len;
(void)gp->scr_waddstr(sp, m2, mlen);
diff -rupN nvi-1.81.6.orig/vi/vs_split.c nvi-1.81.6/vi/vs_split.c
--- nvi-1.81.6.orig/vi/vs_split.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/vi/vs_split.c 2015-02-17 11:04:50.256136584 -0800
@@ -628,7 +628,7 @@ vs_fg(SCR *sp, SCR **nspp, CHAR_T *name,
wp = sp->wp;
if (name)
- INT2CHAR(sp, name, STRLEN(name) + 1, np, nlen);
+ INT2CHAR(sp, name, NVI_STRLEN(name) + 1, np, nlen);
else
np = NULL;
if (newscreen)
diff -rupN nvi-1.81.6.orig/vi/v_txt.c nvi-1.81.6/vi/v_txt.c
--- nvi-1.81.6.orig/vi/v_txt.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/vi/v_txt.c 2015-02-17 11:04:50.240596567 -0800
@@ -2049,7 +2049,7 @@ retry: for (len = 0,
return (0);
case 1: /* One match. */
/* If something changed, do the exchange. */
- nlen = STRLEN(cmd.argv[0]->bp);
+ nlen = NVI_STRLEN(cmd.argv[0]->bp);
if (len != nlen || MEMCMP(cmd.argv[0]->bp, p, len))
break;

@ -0,0 +1,102 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/nvi/nvi-1.81.6-r5.ebuild,v 1.1 2015/02/19 02:45:24 neurogeek Exp $
EAPI=4
inherit autotools db-use eutils flag-o-matic
DBVERS="4.8.30 4.7 4.6 4.5 4.4 4.3 4.2"
DBSLOTS=
DBDEPENDS=
for DBVER in ${DBVERS}
do
if [[ ${DBVER} = *.*.* ]]; then
DBSLOTS="${DBSLOTS} ${DBVER%.*}"
DBDEPENDS="${DBDEPENDS} >=sys-libs/db-${DBVER}:${DBVER%.*}"
else
DBSLOTS="${DBSLOTS} ${DBVER}"
DBDEPENDS="${DBDEPENDS} sys-libs/db:${DBVER}"
fi
done
DESCRIPTION="Vi clone"
HOMEPAGE="https://sites.google.com/a/bostic.com/keithbostic/vi"
SRC_URI="http://garage.linux.student.kuleuven.be/~skimo/nvi/devel/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
IUSE="perl tcl unicode"
CDEPEND="|| ( ${DBDEPENDS} )
>=sys-libs/ncurses-5.6-r2
perl? ( dev-lang/perl )
tcl? ( !unicode? ( >=dev-lang/tcl-8.5 ) )"
DEPEND="${CDEPEND}
virtual/pkgconfig"
RDEPEND="${CDEPEND}
app-admin/eselect-vi"
REQUIRED_USE="tcl? ( !unicode )"
src_prepare() {
epatch "${FILESDIR}"/${P}-strlen-macro-renaming.patch
epatch "${FILESDIR}"/${P}-db44.patch
epatch "${FILESDIR}"/${P}-db.patch
epatch "${FILESDIR}"/${P}-perl-as-needed.patch
epatch "${FILESDIR}"/${P}-perl-shortnames.patch
epatch "${FILESDIR}"/${P}-ac_config_header.patch
epatch "${FILESDIR}"/${P}-use_pkgconfig_for_ncurses.patch
cd dist || die
chmod +x findconfig || die
append-cppflags -I"$(db_includedir ${DBSLOTS})"
sed -i -e "s@-ldb@-l$(db_libname ${DBSLOTS})@" configure.in || die
rm -f configure || die
eautoreconf -Im4
}
src_configure() {
local myconf
use perl && myconf="${myconf} --enable-perlinterp"
use unicode && myconf="${myconf} --enable-widechar"
use tcl && ! use unicode && myconf="${myconf} --enable-tclinterp"
append-cppflags '-D_PATH_MSGCAT="\"/usr/share/vi/catalog/\""'
pushd dist 2>/dev/null
econf \
--program-prefix=n \
${myconf} \
|| die "configure failed"
popd 2>/dev/null
}
src_compile() {
pushd dist 2>/dev/null
emake || die "make failed"
popd 2>/dev/null
}
src_install() {
pushd dist 2>/dev/null
emake -j1 DESTDIR="${D}" install || die "install failed"
popd 2>/dev/null
}
pkg_postinst() {
einfo "Setting /usr/bin/vi symlink"
eselect vi update --if-unset
}
pkg_postrm() {
einfo "Updating /usr/bin/vi symlink"
eselect vi update --if-unset
}

@ -1,3 +1 @@
DIST docker-1.3.3.tar.gz 5886211 SHA256 9c054e438eee94e7028e860fcb2356a0983e98522223089902d0c61f505dbbcb SHA512 d0f928c1edfcd6d3e11893c2c41da430041fcbe53217e1abc978b379e5464c41204de97da9d5e3e06c1337f4e5b79e1ae98f734d62d64962b3f8b6c37c9bdb85 WHIRLPOOL 2fd4ae184d04f21c62a7e7157f81fe9484ce05cc019c184acc9bcc23db7ba2a866930c6bdcb69f2981a0c394e61e6c996a847bcd8102657a82806fdec2aed29d
DIST docker-1.4.1.tar.gz 6054386 SHA256 34300e214e5d2f1633d9650be16bce86d635d72596faa575912fecefda612835 SHA512 e83bbc5443c42836768e71ba4a7f1aea0ba062439c85fef12bff3e812eb3c93b47bd455f36abbcf5a332c293f3274f7a00b3909ec4b919eff449aa52557997b3 WHIRLPOOL e85143c7182186819299ef517512ad9ac5101568bb5fcd016939a4ecb6803c2fd28c474502c07a257bb961bbb10316ec80306cdf038c13435855b58857cc70b1
DIST docker-1.5.0.tar.gz 6459415 SHA256 cf97a1b3a75a63d3b7cb743b5376a1b1bc00eac651dce9e3f094202901a43c48 SHA512 cc620570c67454bedfae73de86b722a845fce4b0bd46446d1190ae98917010db54fbf82951167ebf62358e53dedb45fff2a7f25014c79b42efc2a5f2b611b4d9 WHIRLPOOL acb62b6c1b354212cf250b60227c5dbedc7fe6c6e729fc887653b776a991cd13650c643e20abf06a4326412cb10a1b4e2a20bac0a1fbc056b8d2cf2d54d1fcd0

@ -1,234 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/docker/docker-1.3.3-r1.ebuild,v 1.2 2015/02/15 02:08:25 patrick Exp $
EAPI=5
DESCRIPTION="Docker complements kernel namespacing with a high-level API which operates at the process level"
HOMEPAGE="https://www.docker.com"
GITHUB_URI="github.com/docker/docker"
if [[ ${PV} == *9999 ]]; then
SRC_URI=""
EGIT_REPO_URI="git://${GITHUB_URI}.git"
inherit git-2
else
SRC_URI="https://${GITHUB_URI}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
DOCKER_GITCOMMIT="d344625"
KEYWORDS="~amd64"
[ "$DOCKER_GITCOMMIT" ] || die "DOCKER_GITCOMMIT must be added manually for each bump!"
fi
inherit bash-completion-r1 linux-info multilib systemd udev user
LICENSE="Apache-2.0"
SLOT="0"
IUSE="aufs btrfs +contrib +device-mapper doc lxc vim-syntax zsh-completion"
# https://github.com/docker/docker/blob/master/hack/PACKAGERS.md#build-dependencies
CDEPEND="
>=dev-db/sqlite-3.7.9:3
device-mapper? (
>=sys-fs/lvm2-2.02.89[thin]
)
"
DEPEND="
${CDEPEND}
>=dev-lang/go-1.3
<dev-lang/go-1.4
btrfs? (
>=sys-fs/btrfs-progs-3.16.1
)
"
# https://github.com/docker/docker/blob/master/hack/PACKAGERS.md#runtime-dependencies
# https://github.com/docker/docker/blob/master/hack/PACKAGERS.md#optional-dependencies
RDEPEND="
${CDEPEND}
!app-emulation/docker-bin
>=net-firewall/iptables-1.4
sys-process/procps
>=dev-vcs/git-1.7
>=app-arch/xz-utils-4.9
lxc? (
>=app-emulation/lxc-1.0
)
aufs? (
|| (
sys-fs/aufs3
sys-kernel/aufs-sources
)
)
"
RESTRICT="installsources strip"
# see "contrib/check-config.sh" from upstream's sources
CONFIG_CHECK="
~NAMESPACES ~NET_NS ~PID_NS ~IPC_NS ~UTS_NS
~DEVPTS_MULTIPLE_INSTANCES
~CGROUPS ~CGROUP_CPUACCT ~CGROUP_DEVICE ~CGROUP_FREEZER ~CGROUP_SCHED
~MACVLAN ~VETH ~BRIDGE
~NF_NAT_IPV4 ~IP_NF_FILTER ~IP_NF_TARGET_MASQUERADE
~NETFILTER_XT_MATCH_ADDRTYPE ~NETFILTER_XT_MATCH_CONNTRACK
~NF_NAT NF_NAT_NEEDED
~MEMCG_SWAP
~RESOURCE_COUNTERS
~CGROUP_PERF
"
ERROR_MEMCG_SWAP="CONFIG_MEMCG_SWAP: is required if you wish to limit swap usage of containers"
ERROR_RESOURCE_COUNTERS="CONFIG_RESOURCE_COUNTERS: is optional for container statistics gathering"
ERROR_CGROUP_PERF="CONFIG_CGROUP_PERF: is optional for container statistics gathering"
pkg_setup() {
if kernel_is lt 3 8; then
eerror ""
eerror "Using Docker with kernels older than 3.8 is unstable and unsupported."
eerror " - http://docs.docker.com/installation/binaries/#check-kernel-dependencies"
die 'Kernel is too old - need 3.8 or above'
fi
# for where these kernel versions come from, see:
# https://www.google.com/search?q=945b2b2d259d1a4364a2799e80e8ff32f8c6ee6f+site%3Akernel.org%2Fpub%2Flinux%2Fkernel+file%3AChangeLog*
if ! {
kernel_is ge 3 16 \
|| { kernel_is 3 15 && kernel_is ge 3 15 5; } \
|| { kernel_is 3 14 && kernel_is ge 3 14 12; } \
|| { kernel_is 3 12 && kernel_is ge 3 12 25; }
}; then
ewarn ""
ewarn "There is a serious Docker-related kernel panic that has been fixed in 3.16+"
ewarn " (and was backported to 3.15.5+, 3.14.12+, and 3.12.25+)"
ewarn ""
ewarn "See also https://github.com/docker/docker/issues/2960"
fi
if use aufs; then
CONFIG_CHECK+="
~AUFS_FS
"
# TODO there must be a way to detect "sys-kernel/aufs-sources" so we don't warn "sys-fs/aufs3" users about this
# an even better solution would be to check if the current kernel sources include CONFIG_AUFS_FS as an option, but that sounds hairy and error-prone
ERROR_AUFS_FS="CONFIG_AUFS_FS: is required to be set if and only if aufs-sources are used"
fi
if use btrfs; then
CONFIG_CHECK+="
~BTRFS_FS
"
fi
if use device-mapper; then
CONFIG_CHECK+="
~BLK_DEV_DM ~DM_THIN_PROVISIONING ~EXT4_FS
"
fi
linux-info_pkg_setup
}
src_prepare() {
# allow user patches (use sparingly - upstream won't support them)
epatch_user
}
src_compile() {
# if we treat them right, Docker's build scripts will set up a
# reasonable GOPATH for us
export AUTO_GOPATH=1
# setup CFLAGS and LDFLAGS for separate build target
# see https://github.com/tianon/docker-overlay/pull/10
export CGO_CFLAGS="-I${ROOT}/usr/include"
export CGO_LDFLAGS="-L${ROOT}/usr/$(get_libdir)"
# if we're building from a zip, we need the GITCOMMIT value
[ "$DOCKER_GITCOMMIT" ] && export DOCKER_GITCOMMIT
if gcc-specs-pie; then
sed -i "s/EXTLDFLAGS_STATIC='/EXTLDFLAGS_STATIC='-fno-PIC /" hack/make.sh || die
grep -q -- '-fno-PIC' hack/make.sh || die 'hardened sed failed'
sed -i 's/LDFLAGS_STATIC_DOCKER="/LDFLAGS_STATIC_DOCKER="-extldflags -fno-PIC /' hack/make/dynbinary || die
grep -q -- '-fno-PIC' hack/make/dynbinary || die 'hardened sed failed'
fi
# let's set up some optional features :)
export DOCKER_BUILDTAGS=''
for gd in aufs btrfs device-mapper; do
if ! use $gd; then
DOCKER_BUILDTAGS+=" exclude_graphdriver_${gd//-/}"
fi
done
# time to build!
./hack/make.sh dynbinary || die 'dynbinary failed'
# TODO get go-md2man and then include the man pages using docs/man/md2man-all.sh
}
src_install() {
VERSION=$(cat VERSION)
newbin bundles/$VERSION/dynbinary/docker-$VERSION docker
exeinto /usr/libexec/docker
newexe bundles/$VERSION/dynbinary/dockerinit-$VERSION dockerinit
newinitd contrib/init/openrc/docker.initd docker
newconfd contrib/init/openrc/docker.confd docker
systemd_dounit contrib/init/systemd/docker.{service,socket}
udev_dorules contrib/udev/*.rules
dodoc AUTHORS CONTRIBUTING.md CHANGELOG.md NOTICE README.md
if use doc; then
# TODO doman contrib/man/man*/*
docompress -x /usr/share/doc/${PF}/md
docinto md
dodoc -r docs/sources/*
fi
dobashcomp contrib/completion/bash/*
if use zsh-completion; then
insinto /usr/share/zsh/site-functions
doins contrib/completion/zsh/*
fi
if use vim-syntax; then
insinto /usr/share/vim/vimfiles
doins -r contrib/syntax/vim/ftdetect
doins -r contrib/syntax/vim/syntax
fi
if use contrib; then
mkdir -p "${D}/usr/share/${PN}/contrib"
cp -R contrib/* "${D}/usr/share/${PN}/contrib"
fi
}
pkg_postinst() {
udev_reload
elog ""
elog "To use Docker, the Docker daemon must be running as root. To automatically"
elog "start the Docker daemon at boot, add Docker to the default runlevel:"
elog " rc-update add docker default"
elog "Similarly for systemd:"
elog " systemctl enable docker.service"
elog ""
# create docker group if the code checking for it in /etc/group exists
enewgroup docker
elog "To use Docker as a non-root user, add yourself to the 'docker' group:"
elog " usermod -aG docker youruser"
elog ""
}

@ -1,234 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/docker/docker-1.4.1.ebuild,v 1.2 2015/02/15 02:08:25 patrick Exp $
EAPI=5
DESCRIPTION="Docker complements kernel namespacing with a high-level API which operates at the process level"
HOMEPAGE="https://www.docker.com"
GITHUB_URI="github.com/docker/docker"
if [[ ${PV} == *9999 ]]; then
SRC_URI=""
EGIT_REPO_URI="git://${GITHUB_URI}.git"
inherit git-2
else
SRC_URI="https://${GITHUB_URI}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
DOCKER_GITCOMMIT="5bc2ff8"
KEYWORDS="~amd64"
[ "$DOCKER_GITCOMMIT" ] || die "DOCKER_GITCOMMIT must be added manually for each bump!"
fi
inherit bash-completion-r1 linux-info multilib systemd udev user
LICENSE="Apache-2.0"
SLOT="0"
IUSE="aufs btrfs +contrib +device-mapper doc lxc vim-syntax zsh-completion"
# https://github.com/docker/docker/blob/master/hack/PACKAGERS.md#build-dependencies
CDEPEND="
>=dev-db/sqlite-3.7.9:3
device-mapper? (
>=sys-fs/lvm2-2.02.89[thin]
)
"
DEPEND="
${CDEPEND}
>=dev-lang/go-1.3
<dev-lang/go-1.4
btrfs? (
>=sys-fs/btrfs-progs-3.16.1
)
"
# https://github.com/docker/docker/blob/master/hack/PACKAGERS.md#runtime-dependencies
# https://github.com/docker/docker/blob/master/hack/PACKAGERS.md#optional-dependencies
RDEPEND="
${CDEPEND}
!app-emulation/docker-bin
>=net-firewall/iptables-1.4
sys-process/procps
>=dev-vcs/git-1.7
>=app-arch/xz-utils-4.9
lxc? (
>=app-emulation/lxc-1.0
)
aufs? (
|| (
sys-fs/aufs3
sys-kernel/aufs-sources
)
)
"
RESTRICT="installsources strip"
# see "contrib/check-config.sh" from upstream's sources
CONFIG_CHECK="
~NAMESPACES ~NET_NS ~PID_NS ~IPC_NS ~UTS_NS
~DEVPTS_MULTIPLE_INSTANCES
~CGROUPS ~CGROUP_CPUACCT ~CGROUP_DEVICE ~CGROUP_FREEZER ~CGROUP_SCHED
~MACVLAN ~VETH ~BRIDGE
~NF_NAT_IPV4 ~IP_NF_FILTER ~IP_NF_TARGET_MASQUERADE
~NETFILTER_XT_MATCH_ADDRTYPE ~NETFILTER_XT_MATCH_CONNTRACK
~NF_NAT ~NF_NAT_NEEDED
~MEMCG_SWAP
~RESOURCE_COUNTERS
~CGROUP_PERF
"
ERROR_MEMCG_SWAP="CONFIG_MEMCG_SWAP: is required if you wish to limit swap usage of containers"
ERROR_RESOURCE_COUNTERS="CONFIG_RESOURCE_COUNTERS: is optional for container statistics gathering"
ERROR_CGROUP_PERF="CONFIG_CGROUP_PERF: is optional for container statistics gathering"
pkg_setup() {
if kernel_is lt 3 8; then
eerror ""
eerror "Using Docker with kernels older than 3.8 is unstable and unsupported."
eerror " - http://docs.docker.com/installation/binaries/#check-kernel-dependencies"
die 'Kernel is too old - need 3.8 or above'
fi
# for where these kernel versions come from, see:
# https://www.google.com/search?q=945b2b2d259d1a4364a2799e80e8ff32f8c6ee6f+site%3Akernel.org%2Fpub%2Flinux%2Fkernel+file%3AChangeLog*
if ! {
kernel_is ge 3 16 \
|| { kernel_is 3 15 && kernel_is ge 3 15 5; } \
|| { kernel_is 3 14 && kernel_is ge 3 14 12; } \
|| { kernel_is 3 12 && kernel_is ge 3 12 25; }
}; then
ewarn ""
ewarn "There is a serious Docker-related kernel panic that has been fixed in 3.16+"
ewarn " (and was backported to 3.15.5+, 3.14.12+, and 3.12.25+)"
ewarn ""
ewarn "See also https://github.com/docker/docker/issues/2960"
fi
if use aufs; then
CONFIG_CHECK+="
~AUFS_FS
"
# TODO there must be a way to detect "sys-kernel/aufs-sources" so we don't warn "sys-fs/aufs3" users about this
# an even better solution would be to check if the current kernel sources include CONFIG_AUFS_FS as an option, but that sounds hairy and error-prone
ERROR_AUFS_FS="CONFIG_AUFS_FS: is required to be set if and only if aufs-sources are used"
fi
if use btrfs; then
CONFIG_CHECK+="
~BTRFS_FS
"
fi
if use device-mapper; then
CONFIG_CHECK+="
~BLK_DEV_DM ~DM_THIN_PROVISIONING ~EXT4_FS
"
fi
linux-info_pkg_setup
}
src_prepare() {
# allow user patches (use sparingly - upstream won't support them)
epatch_user
}
src_compile() {
# if we treat them right, Docker's build scripts will set up a
# reasonable GOPATH for us
export AUTO_GOPATH=1
# setup CFLAGS and LDFLAGS for separate build target
# see https://github.com/tianon/docker-overlay/pull/10
export CGO_CFLAGS="-I${ROOT}/usr/include"
export CGO_LDFLAGS="-L${ROOT}/usr/$(get_libdir)"
# if we're building from a zip, we need the GITCOMMIT value
[ "$DOCKER_GITCOMMIT" ] && export DOCKER_GITCOMMIT
if gcc-specs-pie; then
sed -i "s/EXTLDFLAGS_STATIC='/EXTLDFLAGS_STATIC='-fno-PIC /" hack/make.sh || die
grep -q -- '-fno-PIC' hack/make.sh || die 'hardened sed failed'
sed -i 's/LDFLAGS_STATIC_DOCKER="/LDFLAGS_STATIC_DOCKER="-extldflags -fno-PIC /' hack/make/dynbinary || die
grep -q -- '-fno-PIC' hack/make/dynbinary || die 'hardened sed failed'
fi
# let's set up some optional features :)
export DOCKER_BUILDTAGS=''
for gd in aufs btrfs device-mapper; do
if ! use $gd; then
DOCKER_BUILDTAGS+=" exclude_graphdriver_${gd//-/}"
fi
done
# time to build!
./hack/make.sh dynbinary || die 'dynbinary failed'
# TODO get go-md2man and then include the man pages using docs/man/md2man-all.sh
}
src_install() {
VERSION=$(cat VERSION)
newbin bundles/$VERSION/dynbinary/docker-$VERSION docker
exeinto /usr/libexec/docker
newexe bundles/$VERSION/dynbinary/dockerinit-$VERSION dockerinit
newinitd contrib/init/openrc/docker.initd docker
newconfd contrib/init/openrc/docker.confd docker
systemd_dounit contrib/init/systemd/docker.{service,socket}
udev_dorules contrib/udev/*.rules
dodoc AUTHORS CONTRIBUTING.md CHANGELOG.md NOTICE README.md
if use doc; then
# TODO doman contrib/man/man*/*
docompress -x /usr/share/doc/${PF}/md
docinto md
dodoc -r docs/sources/*
fi
dobashcomp contrib/completion/bash/*
if use zsh-completion; then
insinto /usr/share/zsh/site-functions
doins contrib/completion/zsh/*
fi
if use vim-syntax; then
insinto /usr/share/vim/vimfiles
doins -r contrib/syntax/vim/ftdetect
doins -r contrib/syntax/vim/syntax
fi
if use contrib; then
mkdir -p "${D}/usr/share/${PN}/contrib"
cp -R contrib/* "${D}/usr/share/${PN}/contrib"
fi
}
pkg_postinst() {
udev_reload
elog ""
elog "To use Docker, the Docker daemon must be running as root. To automatically"
elog "start the Docker daemon at boot, add Docker to the default runlevel:"
elog " rc-update add docker default"
elog "Similarly for systemd:"
elog " systemctl enable docker.service"
elog ""
# create docker group if the code checking for it in /etc/group exists
enewgroup docker
elog "To use Docker as a non-root user, add yourself to the 'docker' group:"
elog " usermod -aG docker youruser"
elog ""
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-forensics/lynis/lynis-1.6.4.ebuild,v 1.1 2014/11/16 13:23:33 idl0r Exp $
# $Header: /var/cvsroot/gentoo-x86/app-forensics/lynis/lynis-1.6.4.ebuild,v 1.2 2015/02/19 09:04:18 ago Exp $
EAPI="5"
@ -12,7 +12,7 @@ SRC_URI="http://cisofy.com/files/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 ~x86"
IUSE=""
DEPEND=""

@ -1,3 +1 @@
DIST hivex-1.3.11.tar.gz 1264487 SHA256 c63adf6c7ef9140acf20775d35bef35ab563c0d2f59d3dfb8e0d15cfa7c77678 SHA512 1ff9fbcfb976fea5bba41c5ff06e4dc68af0e507accc236ca0406644ee2c865619b3b3bf9550124778fcd782ddc257f1d89861b45f48c0c3ceed18dfa1e02ced WHIRLPOOL 6d741ad14660390b2c171bff400645cbcd20a991a55b7fb4e349c864e2dd4e606f57f344d8b851acf87d12bf8a3b608a77c073c565d9aa55cd23094d7e09e8cd
DIST hivex-1.3.2.tar.gz 1082330 SHA256 e02d664b262f616e842d58a3787315ceb239c5986ff0652b37af9aeed483025c SHA512 2ffa3585bd76f4c7daeb780e9bde8b22ec85caa5e8bbd8e1d7192c828e7914331e669f20b1aa6477cf72072699395b1c91877322f83e74067069f09e6a7c7ddc WHIRLPOOL 9373a88ed0a6fb0fb7d9011c8c2800ca9c4c9ff3f5121653d6150cfbb17243f6d94bee80a28a92b34be29f59df7e4f971d9acc3c03dd0049eb4524069a52471a
DIST hivex-1.3.7.tar.gz 1168881 SHA256 9f74432bb7b620d6629265fa5efefa45a978b1ee80e4891d12789dc34896eb83 SHA512 0e3cbd02e457472a53ec06e0aab3d6fc65f67cf97d1f0bd5d62cadb52fd8f70f4281ee7e1fc614a5aa030d86edaab32c2eea3b9d9d9e2d77c12e4c421118a142 WHIRLPOOL 759307f458c1f2f082462aedc7f19cb5175f72a89efc32815d22f02b26353a73e5c5d0967ff2d002de919a17ae9999fec51b648355a8cdfefbc0557bc33bf9a6

@ -1,70 +0,0 @@
From: Hilko Bengen <bengen@debian.org>
Date: Thu, 1 Dec 2011 22:07:26 +0100
Subject: Fixed gnulib integration for hivexml
---
lib/Makefile.am | 5 ++++-
sh/Makefile.am | 1 +
xml/Makefile.am | 3 ++-
xml/hivexml.c | 2 ++
4 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/lib/Makefile.am b/lib/Makefile.am
index cfd2e05..a339a00 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -39,7 +39,10 @@ libhivex_la_LDFLAGS = \
$(LTLIBINTL) \
$(LTLIBTHREAD)
libhivex_la_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
-libhivex_la_CPPFLAGS = -I$(top_srcdir)/gnulib/lib -I$(srcdir)
+libhivex_la_CPPFLAGS = \
+ -I$(top_srcdir)/gnulib/lib \
+ -I$(top_builddir)/gnulib/lib \
+ -I$(srcdir)
include_HEADERS = hivex.h
diff --git a/sh/Makefile.am b/sh/Makefile.am
index 0898370..a6f5ae6 100644
--- a/sh/Makefile.am
+++ b/sh/Makefile.am
@@ -38,6 +38,7 @@ hivexsh_SOURCES = \
hivexsh_LDADD = ../lib/libhivex.la ../gnulib/lib/libgnu.la $(LIBREADLINE)
hivexsh_CFLAGS = \
-I$(top_srcdir)/gnulib/lib \
+ -I$(top_builddir)/gnulib/lib \
-I$(top_srcdir)/lib \
-DLOCALEBASEDIR=\""$(datadir)/locale"\" \
$(WARN_CFLAGS) $(WERROR_CFLAGS)
diff --git a/xml/Makefile.am b/xml/Makefile.am
index b2af45d..67ba248 100644
--- a/xml/Makefile.am
+++ b/xml/Makefile.am
@@ -23,10 +23,11 @@ bin_PROGRAMS = hivexml
hivexml_SOURCES = \
hivexml.c
-hivexml_LDADD = ../lib/libhivex.la $(LIBXML2_LIBS)
+hivexml_LDADD = ../lib/libhivex.la ../gnulib/lib/libgnu.la $(LIBXML2_LIBS)
hivexml_CFLAGS = \
-DLOCALEBASEDIR=\""$(datadir)/locale"\" \
-I$(top_srcdir)/gnulib/lib \
+ -I$(top_builddir)/gnulib/lib \
-I$(top_srcdir)/lib \
$(LIBXML2_CFLAGS) \
$(WARN_CFLAGS) $(WERROR_CFLAGS)
diff --git a/xml/hivexml.c b/xml/hivexml.c
index 5030c24..d38e9d4 100644
--- a/xml/hivexml.c
+++ b/xml/hivexml.c
@@ -32,6 +32,8 @@
#include <libintl.h>
#endif
+#include <getopt.h>
+
#include <libxml/xmlwriter.h>
#include "hivex.h"
--

@ -1,67 +0,0 @@
From: Hilko Bengen <bengen@debian.org>
Date: Thu, 1 Dec 2011 22:08:07 +0100
Subject: automake
---
lib/Makefile.in | 6 +++++-
sh/Makefile.in | 1 +
xml/Makefile.in | 6 ++++--
3 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/lib/Makefile.in b/lib/Makefile.in
index 65734dd..5cf7bde 100644
--- a/lib/Makefile.in
+++ b/lib/Makefile.in
@@ -1045,7 +1045,11 @@ libhivex_la_LDFLAGS = \
$(LTLIBTHREAD)
libhivex_la_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
-libhivex_la_CPPFLAGS = -I$(top_srcdir)/gnulib/lib -I$(srcdir)
+libhivex_la_CPPFLAGS = \
+ -I$(top_srcdir)/gnulib/lib \
+ -I$(top_builddir)/gnulib/lib \
+ -I$(srcdir)
+
include_HEADERS = hivex.h
man_MANS = hivex.3
noinst_DATA = \
diff --git a/sh/Makefile.in b/sh/Makefile.in
index 109c8e8..0308a32 100644
--- a/sh/Makefile.in
+++ b/sh/Makefile.in
@@ -995,6 +995,7 @@ hivexsh_SOURCES = \
hivexsh_LDADD = ../lib/libhivex.la ../gnulib/lib/libgnu.la $(LIBREADLINE)
hivexsh_CFLAGS = \
-I$(top_srcdir)/gnulib/lib \
+ -I$(top_builddir)/gnulib/lib \
-I$(top_srcdir)/lib \
-DLOCALEBASEDIR=\""$(datadir)/locale"\" \
$(WARN_CFLAGS) $(WERROR_CFLAGS)
diff --git a/xml/Makefile.in b/xml/Makefile.in
index ed4cd72..5cb647f 100644
--- a/xml/Makefile.in
+++ b/xml/Makefile.in
@@ -119,7 +119,8 @@ PROGRAMS = $(bin_PROGRAMS)
am_hivexml_OBJECTS = hivexml-hivexml.$(OBJEXT)
hivexml_OBJECTS = $(am_hivexml_OBJECTS)
am__DEPENDENCIES_1 =
-hivexml_DEPENDENCIES = ../lib/libhivex.la $(am__DEPENDENCIES_1)
+hivexml_DEPENDENCIES = ../lib/libhivex.la ../gnulib/lib/libgnu.la \
+ $(am__DEPENDENCIES_1)
AM_V_lt = $(am__v_lt_$(V))
am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
am__v_lt_0 = --silent
@@ -976,10 +977,11 @@ EXTRA_DIST = \
hivexml_SOURCES = \
hivexml.c
-hivexml_LDADD = ../lib/libhivex.la $(LIBXML2_LIBS)
+hivexml_LDADD = ../lib/libhivex.la ../gnulib/lib/libgnu.la $(LIBXML2_LIBS)
hivexml_CFLAGS = \
-DLOCALEBASEDIR=\""$(datadir)/locale"\" \
-I$(top_srcdir)/gnulib/lib \
+ -I$(top_builddir)/gnulib/lib \
-I$(top_srcdir)/lib \
$(LIBXML2_CFLAGS) \
$(WARN_CFLAGS) $(WERROR_CFLAGS)
--

@ -1,105 +0,0 @@
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -183,11 +183,19 @@
AC_CHECK_FUNC([open_memstream])
AM_CONDITIONAL([HAVE_HIVEXSH],[test "x$ac_cv_func_open_memstream" = "xyes"])
+
dnl Check for OCaml (optional, for OCaml bindings).
+AC_ARG_ENABLE([ocaml],
+ AS_HELP_STRING([--with-ocaml],[build Ocaml binding]))
+
+
+
+
AC_PROG_OCAML
AC_PROG_FINDLIB
AM_CONDITIONAL([HAVE_OCAML],
- [test "x$OCAMLC" != "xno" && test "x$OCAMLFIND" != "xno"])
+ [test "x$OCAMLC" != "xno" -a "x$OCAMLFIND" != "xno" -a "x$enable_ocaml" = "xyes"])
+
AM_CONDITIONAL([HAVE_OCAMLOPT],
[test "x$OCAMLOPT" != "xno" && test "x$OCAMLFIND" != "xno"])
@@ -227,21 +235,32 @@
dnl Check for Perl modules that must be present to compile and
dnl test the Perl bindings.
missing_perl_modules=no
-for pm in Test::More ExtUtils::MakeMaker IO::Stringy; do
- AC_MSG_CHECKING([for $pm])
- if ! perl -M$pm -e1 >/dev/null 2>&1; then
- AC_MSG_RESULT([no])
- missing_perl_modules=yes
- else
- AC_MSG_RESULT([yes])
- fi
-done
-if test "x$missing_perl_modules" = "xyes"; then
- AC_MSG_WARN([some Perl modules required to compile or test the Perl bindings are missing])
-fi
+AC_ARG_ENABLE([perl],
+ AS_HELP_STRING([--with-perl],[build Perl binding]))
+
+
+PERL=
+AS_IF([test "x$enable_perl" != "xno" ],[
+ AC_CHECK_PROG([PERL],[perl],[yes],[no])
+
+ for pm in Test::More ExtUtils::MakeMaker IO::Stringy; do
+ AC_MSG_CHECKING([for $pm])
+ if ! perl -M$pm -e1 >/dev/null 2>&1; then
+ AC_MSG_RESULT([no])
+ missing_perl_modules=yes
+ else
+ AC_MSG_RESULT([yes])
+ fi
+ done
+
+ AS_IF([test "x$missing_perl_modules" = "xyes"],
+ [AC_MSG_FAILURE([some Perl modules required to compile or test the Perl bindings are missing])],
+ )
+])
AM_CONDITIONAL([HAVE_PERL],
- [test "x$PERL" != "xno" && test "x$missing_perl_modules" != "xyes"])
+ [test "x$PERL" != "xno" -a "x$missing_perl_modules" != "xyes" -a "x$enable_perl" = "xyes"])
+
dnl Check for Python (optional, for Python bindings).
PYTHON_PREFIX=
@@ -251,6 +270,7 @@
AC_CHECK_PROG([PYTHON],[python],[python],[no])
+
if test "x$PYTHON" != "xno"; then
AC_MSG_CHECKING([Python prefix])
PYTHON_PREFIX=`$PYTHON -c "import sys; print (sys.prefix)"`
@@ -308,15 +328,24 @@
AC_SUBST(PYTHON_INCLUDEDIR)
AC_SUBST(PYTHON_INSTALLDIR)
+AC_ARG_ENABLE([python],
+ AS_HELP_STRING([--with-python],[build Python binding]))
+
AM_CONDITIONAL([HAVE_PYTHON],
- [test "x$PYTHON" != "xno" && test "x$PYTHON_INCLUDEDIR" != "x" && test "x$PYTHON_INSTALLDIR" != "x"])
+ [test "x$PYTHON_INCLUDEDIR" != "x" -a "x$PYTHON_SITE_PACKAGES" != "x" -a "x$enable_python" = "xyes"])
+
+
dnl Check for Ruby and rake (optional, for Ruby bindings).
+AC_ARG_ENABLE([ruby],
+ AS_HELP_STRING([--with-ruby],[build Ruby binding]))
+
AC_CHECK_LIB([ruby],[ruby_init],[HAVE_LIBRUBY=1],[HAVE_LIBRUBY=0])
AC_CHECK_PROG([RAKE],[rake],[rake],[no])
AM_CONDITIONAL([HAVE_RUBY],
- [test "x$RAKE" != "xno" && test -n "$HAVE_LIBRUBY"])
+ [test "x$RAKE" != "xno" && test -n "$HAVE_LIBRUBY" -a "x$enable_ruby" = "xyes"])
+
dnl dnl Check for Java.
dnl AC_ARG_WITH(java_home,

@ -1,11 +0,0 @@
--- ruby/Rakefile.in.orig 2012-04-16 20:16:14.989449899 +0200
+++ ruby/Rakefile.in 2012-04-16 20:17:08.006443779 +0200
@@ -38,7 +38,7 @@
# Build locally
file MAKEFILE => EXT_CONF do |t|
- unless sh "top_srcdir=$(pwd)/@top_srcdir@; top_builddir=$(pwd)/@top_builddir@; export ARCHFLAGS=\"-arch $(uname -m)\"; cd #{File::dirname(EXT_CONF)}; ruby #{File::basename(EXT_CONF)} --with-_hivex-include=$top_srcdir/lib --with-_hivex-lib=$top_builddir/lib/.libs"
+ unless sh "top_srcdir=@top_srcdir@; top_builddir=@top_builddir@; export ARCHFLAGS=\"-arch $(uname -m)\"; mkdir -p @builddir@/ext/hivex; cd #{File::dirname(EXT_CONF)}; ruby #{File::basename(EXT_CONF)} --with-_hivex-include=../../$top_srcdir/lib --with-_hivex-lib=../../$top_builddir/lib/.libs --with-ldflags=\"$LDFLAGS\""
$stderr.puts "Failed to run extconf"
break
end

@ -1,17 +0,0 @@
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -187,10 +187,12 @@
AM_CONDITIONAL([HAVE_HIVEXSH],[test "x$ac_cv_func_open_memstream" = "xyes"])
dnl Check for OCaml (optional, for OCaml bindings).
+AC_ARG_ENABLE([ocaml],
+ AS_HELP_STRING([--with-ocaml],[build Ocaml binding]))
AC_PROG_OCAML
AC_PROG_FINDLIB
AM_CONDITIONAL([HAVE_OCAML],
- [test "x$OCAMLC" != "xno" && test "x$OCAMLFIND" != "xno"])
+ [test "x$OCAMLC" != "xno" && test "x$OCAMLFIND" != "xno" -a "x$enable_ocaml" = "xyes"]])
AM_CONDITIONAL([HAVE_OCAMLOPT],
[test "x$OCAMLOPT" != "xno" && test "x$OCAMLFIND" != "xno"])

@ -1,36 +0,0 @@
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -245,8 +245,31 @@
AC_MSG_WARN([some Perl modules required to compile or test the Perl bindings are missing])
fi
+AC_ARG_ENABLE([perl],
+ AS_HELP_STRING([--with-perl],[build Perl binding]))
+
+
+PERL=
+AS_IF([test "x$enable_perl" != "xno" ],[
+ AC_CHECK_PROG([PERL],[perl],[yes],[no])
+
+ for pm in Test::More ExtUtils::MakeMaker IO::Stringy; do
+ AC_MSG_CHECKING([for $pm])
+ if ! perl -M$pm -e1 >/dev/null 2>&1; then
+ AC_MSG_RESULT([no])
+ missing_perl_modules=yes
+ else
+ AC_MSG_RESULT([yes])
+ fi
+ done
+
+ AS_IF([test "x$missing_perl_modules" = "xyes"],
+ [AC_MSG_FAILURE([some Perl modules required to compile or test the Perl bindings are missing])],
+ )
+])
+
AM_CONDITIONAL([HAVE_PERL],
- [test "x$PERL" != "xno" && test "x$missing_perl_modules" != "xyes"])
+ [test "x$PERL" != "xno" && test "x$missing_perl_modules" != "xyes" -a "x$enable_perl" = "xyes"])
dnl Check for Python (optional, for Python bindings).
PYTHON_PREFIX=

@ -1,16 +0,0 @@
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -336,8 +336,11 @@
AC_SUBST(PYTHON_INCLUDEDIR)
AC_SUBST(PYTHON_INSTALLDIR)
+AC_ARG_ENABLE([python],
+ AS_HELP_STRING([--with-python],[build Python binding]))
+
AM_CONDITIONAL([HAVE_PYTHON],
- [test "x$PYTHON" != "xno" && test "x$PYTHON_INCLUDEDIR" != "x" && test "x$PYTHON_INSTALLDIR" != "x"])
+ [test "x$PYTHON_INCLUDEDIR" != "x" -a "x$PYTHON_SITE_PACKAGES" != "x" -a "x$enable_python" = "xyes"])
dnl Check for Ruby and rake (optional, for Ruby bindings).
AC_ARG_ENABLE([ruby],

@ -1,11 +0,0 @@
--- ruby/Rakefile.in 2012-03-13 19:46:43.000000000 +0400
+++ ruby/Rakefile.in 2012-04-15 19:02:42.337118192 +0400
@@ -38,7 +38,7 @@
# Build locally
file MAKEFILE => EXT_CONF do |t|
- unless sh "top_srcdir=$(pwd)/@top_srcdir@; top_builddir=$(pwd)/@top_builddir@; export ARCHFLAGS=\"-arch $(uname -m)\"; mkdir -p @builddir@/ext/hivex; cd @builddir@/ext/hivex; @RUBY@ #{EXT_CONF} --with-_hivex-include=$top_srcdir/lib --with-_hivex-lib=$top_builddir/lib/.libs"
+ unless sh "top_srcdir=@top_srcdir@; top_builddir=@top_builddir@; export ARCHFLAGS=\"-arch $(uname -m)\"; mkdir -p @builddir@/ext/hivex; cd @builddir@/ext/hivex; @RUBY@ #{EXT_CONF} --with-_hivex-include=../../$top_srcdir/lib --with-_hivex-lib=../../$top_builddir/lib/.libs --with-ldflags=\"$LDFLAGS\""
$stderr.puts "Failed to run extconf"
break
end

@ -1,269 +0,0 @@
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -187,14 +187,26 @@ AC_CHECK_FUNC([open_memstream])
AM_CONDITIONAL([HAVE_HIVEXSH],[test "x$ac_cv_func_open_memstream" = "xyes"])
dnl Check for OCaml (optional, for OCaml bindings).
-AC_PROG_OCAML
-AC_PROG_FINDLIB
+OCAMLC=no
+OCAMLFIND=no
+AC_ARG_ENABLE([ocaml],
+ AS_HELP_STRING([--disable-ocaml], [Disable OCaml language bindings]),
+ [],
+ [enable_ocaml=yes])
+AS_IF([test "x$enable_ocaml" != "xno"],
+ [dnl OCAMLC and OCAMLFIND have to be unset first, otherwise
+ dnl AC_CHECK_TOOL (inside AC_PROG_OCAML) will not look.
+ OCAMLC=
+ OCAMLFIND=
+ AC_PROG_OCAML
+ AC_PROG_FINDLIB
+ ])
AM_CONDITIONAL([HAVE_OCAML],
- [test "x$OCAMLC" != "xno" && test "x$OCAMLFIND" != "xno"])
+ [test "x$OCAMLC" != "xno" && test "x$OCAMLFIND" != "xno"])
AM_CONDITIONAL([HAVE_OCAMLOPT],
- [test "x$OCAMLOPT" != "xno" && test "x$OCAMLFIND" != "xno"])
+ [test "x$OCAMLOPT" != "xno" && test "x$OCAMLFIND" != "xno"])
-if test "x$OCAMLC" != "xno"; then
+if test "x$OCAMLC" != "xno" && test "x$OCAMLFIND" != "xno"; then
dnl Check if we have caml/unixsupport.h header (OCaml bindings only).
old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -I$OCAMLLIB"
@@ -223,28 +235,32 @@ if test "x$OCAMLC" != "xno"; then
rm -f conftest conftest.* conftest_ml.*
fi
-dnl Check for Perl (optional, for Perl bindings).
-dnl XXX This isn't quite right, we should check for Perl devel library.
+dnl Check for Perl (optional, for Perl bindings and Perl tools).
AC_CHECK_PROG([PERL],[perl],[perl],[no])
-dnl Check for Perl modules that must be present to compile and
-dnl test the Perl bindings.
-missing_perl_modules=no
-for pm in Test::More ExtUtils::MakeMaker IO::Stringy; do
- AC_MSG_CHECKING([for $pm])
- if ! perl -M$pm -e1 >/dev/null 2>&1; then
- AC_MSG_RESULT([no])
- missing_perl_modules=yes
- else
- AC_MSG_RESULT([yes])
- fi
-done
-if test "x$missing_perl_modules" = "xyes"; then
- AC_MSG_WARN([some Perl modules required to compile or test the Perl bindings are missing])
-fi
-
+AC_ARG_ENABLE([perl],
+ AS_HELP_STRING([--disable-perl], [Disable Perl language bindings]),
+ [],
+ [enable_perl=yes])
+AS_IF([test "x$enable_perl" != "xno"],[
+ dnl Check for Perl modules that must be present to compile and
+ dnl test the Perl bindings.
+ missing_perl_modules=no
+ for pm in Test::More ExtUtils::MakeMaker IO::Stringy; do
+ AC_MSG_CHECKING([for $pm])
+ if ! $PERL -M$pm -e1 >/dev/null 2>&1; then
+ AC_MSG_RESULT([no])
+ missing_perl_modules=yes
+ else
+ AC_MSG_RESULT([yes])
+ fi
+ done
+ if test "x$missing_perl_modules" = "xyes"; then
+ AC_MSG_WARN([some Perl modules required to compile or test the Perl bindings are missing])
+ fi
+ ])
AM_CONDITIONAL([HAVE_PERL],
- [test "x$PERL" != "xno" && test "x$missing_perl_modules" != "xyes"])
+ [test "x$enable_perl" != "xno" && test "x$PERL" != "xno" && test "x$missing_perl_modules" != "xyes"])
dnl Check for Python (optional, for Python bindings).
PYTHON_PREFIX=
@@ -252,85 +268,111 @@ PYTHON_VERSION=
PYTHON_INCLUDEDIR=
PYTHON_INSTALLDIR=
-AC_CHECK_PROG([PYTHON],[python],[python],[no])
-
-if test "x$PYTHON" != "xno"; then
- AC_MSG_CHECKING([Python prefix])
- PYTHON_PREFIX=`$PYTHON -c "import sys; print (sys.prefix)"`
- AC_MSG_RESULT([$PYTHON_PREFIX])
-
- AC_MSG_CHECKING([Python version])
- PYTHON_VERSION_MAJOR=`$PYTHON -c "import sys; print (sys.version_info@<:@0@:>@)"`
- PYTHON_VERSION_MINOR=`$PYTHON -c "import sys; print (sys.version_info@<:@1@:>@)"`
- PYTHON_VERSION="$PYTHON_VERSION_MAJOR.$PYTHON_VERSION_MINOR"
- AC_MSG_RESULT([$PYTHON_VERSION])
-
- AC_MSG_CHECKING([for Python include path])
- if test -z "$PYTHON_INCLUDEDIR"; then
- python_path=`$PYTHON -c "import distutils.sysconfig; \
- print (distutils.sysconfig.get_python_inc ());"`
- PYTHON_INCLUDEDIR=$python_path
- fi
- AC_MSG_RESULT([$PYTHON_INCLUDEDIR])
-
- AC_ARG_WITH([python-installdir],
- [AS_HELP_STRING([--with-python-installdir],
- [directory to install python modules @<:@default=check@:>@])],
- [PYTHON_INSTALLDIR="$withval"
- AC_MSG_NOTICE([Python install dir $PYTHON_INSTALLDIR])],
- [PYTHON_INSTALLDIR=check])
-
- if test "x$PYTHON_INSTALLDIR" = "xcheck"; then
- PYTHON_INSTALLDIR=
- AC_MSG_CHECKING([for Python site-packages path])
- if test -z "$PYTHON_INSTALLDIR"; then
- PYTHON_INSTALLDIR=`$PYTHON -c "import distutils.sysconfig; \
- print (distutils.sysconfig.get_python_lib(1,0));"`
+AC_ARG_ENABLE([python],
+ AS_HELP_STRING([--disable-python], [Disable Python language bindings]),
+ [],
+ [enable_python=yes])
+AS_IF([test "x$enable_python" != "xno"],
+ [
+ AC_CHECK_PROG([PYTHON],[python],[python],[no])
+
+ if test "x$PYTHON" != "xno"; then
+ AC_MSG_CHECKING([Python prefix])
+ PYTHON_PREFIX=`$PYTHON -c "import sys; print (sys.prefix)"`
+ AC_MSG_RESULT([$PYTHON_PREFIX])
+
+ AC_MSG_CHECKING([Python version])
+ PYTHON_VERSION_MAJOR=`$PYTHON -c "import sys; print (sys.version_info@<:@0@:>@)"`
+ PYTHON_VERSION_MINOR=`$PYTHON -c "import sys; print (sys.version_info@<:@1@:>@)"`
+ PYTHON_VERSION="$PYTHON_VERSION_MAJOR.$PYTHON_VERSION_MINOR"
+ AC_MSG_RESULT([$PYTHON_VERSION])
+
+ AC_MSG_CHECKING([for Python include path])
+ if test -z "$PYTHON_INCLUDEDIR"; then
+ python_path=`$PYTHON -c "import distutils.sysconfig; \
+ print (distutils.sysconfig.get_python_inc ());"`
+ PYTHON_INCLUDEDIR=$python_path
+ fi
+ AC_MSG_RESULT([$PYTHON_INCLUDEDIR])
+
+ AC_ARG_WITH([python-installdir],
+ [AS_HELP_STRING([--with-python-installdir],
+ [directory to install python modules @<:@default=check@:>@])],
+ [PYTHON_INSTALLDIR="$withval"
+ AC_MSG_NOTICE([Python install dir $PYTHON_INSTALLDIR])],
+ [PYTHON_INSTALLDIR=check])
+
+ if test "x$PYTHON_INSTALLDIR" = "xcheck"; then
+ PYTHON_INSTALLDIR=
+ AC_MSG_CHECKING([for Python site-packages path])
+ if test -z "$PYTHON_INSTALLDIR"; then
+ PYTHON_INSTALLDIR=`$PYTHON -c "import distutils.sysconfig; \
+ print (distutils.sysconfig.get_python_lib(1,0));"`
+ fi
+ AC_MSG_RESULT([$PYTHON_INSTALLDIR])
+ fi
+
+ dnl Look for some optional symbols in libpython.
+ old_LIBS="$LIBS"
+
+ PYTHON_BLDLIBRARY=`$PYTHON -c "import distutils.sysconfig; \
+ print (distutils.sysconfig.get_config_var('BLDLIBRARY'))"`
+ AC_CHECK_LIB([c],[PyCapsule_New],
+ [AC_DEFINE([HAVE_PYCAPSULE_NEW],1,
+ [Found PyCapsule_New in libpython])],
+ [],[$PYTHON_BLDLIBRARY])
+ AC_CHECK_LIB([c],[PyString_AsString],
+ [AC_DEFINE([HAVE_PYSTRING_ASSTRING],1,
+ [Found PyString_AsString in libpython])],
+ [],[$PYTHON_BLDLIBRARY])
+
+ LIBS="$old_LIBS"
fi
- AC_MSG_RESULT([$PYTHON_INSTALLDIR])
- fi
-
- dnl Look for libpython and some optional symbols in it.
- old_LIBS="$LIBS"
- if test "x$PYTHON_VERSION_MAJOR" = "x3"; then
- dnl libpython3 is called "libpython3.Xmu.so"
- LIBPYTHON="python${PYTHON_VERSION}mu"
- else
- LIBPYTHON="python$PYTHON_VERSION"
- fi
- AC_CHECK_LIB([$LIBPYTHON], [PyList_Size], [],
- [AC_MSG_FAILURE([$LIBPYTHON is not installed])])
-
- AC_CHECK_FUNCS([PyCapsule_New \
- PyString_AsString])
- LIBS="$old_LIBS"
-fi
-
-AC_SUBST(PYTHON_PREFIX)
-AC_SUBST(PYTHON_VERSION)
-AC_SUBST(PYTHON_INCLUDEDIR)
-AC_SUBST(PYTHON_INSTALLDIR)
+ AC_SUBST(PYTHON_PREFIX)
+ AC_SUBST(PYTHON_VERSION)
+ AC_SUBST(PYTHON_INCLUDEDIR)
+ AC_SUBST(PYTHON_INSTALLDIR)
+ ])
AM_CONDITIONAL([HAVE_PYTHON],
[test "x$PYTHON" != "xno" && test "x$PYTHON_INCLUDEDIR" != "x" && test "x$PYTHON_INSTALLDIR" != "x"])
dnl Check for Ruby and rake (optional, for Ruby bindings).
AC_ARG_ENABLE([ruby],
- AS_HELP_STRING([--disable-ruby], [Disable Ruby language bindings]),
- [],
- [enable_ruby=yes])
-AS_IF([test "x$enable_ruby" != "xno"],
- [
- AC_CHECK_PROG([RUBY],[ruby],[ruby],[no])
- AC_CHECK_PROG([RAKE],[rake],[rake],[no])
- AC_CHECK_LIB([ruby],[ruby_init],[HAVE_LIBRUBY=1],[HAVE_LIBRUBY=0])
- AC_SUBST(RAKE)
+ AS_HELP_STRING([--disable-ruby], [Disable Ruby language bindings]),
+ [],
+ [enable_ruby=yes])
+AS_IF([test "x$enable_ruby" != "xno"],[
+ AC_CHECK_PROG([RUBY],[ruby],[ruby],[no])
+ AC_CHECK_PROG([RAKE],[rake],[rake],[no])
+
+ AS_IF([test -n "$RUBY" && test -n "$RAKE"],[
+ dnl Find the library. Note on Debian it's not -lruby.
+ AC_MSG_CHECKING([for C library for Ruby extensions])
+ ruby_cmd='puts RbConfig::CONFIG@<:@"RUBY_SO_NAME"@:>@'
+ echo running: $RUBY -rrbconfig -e \'$ruby_cmd\' >&AS_MESSAGE_LOG_FD
+ $RUBY -rrbconfig -e "$ruby_cmd" >conftest 2>&AS_MESSAGE_LOG_FD
+ libruby="$(cat conftest)"
+ rm conftest
+ AS_IF([test -n "$libruby"],[
+ AC_MSG_RESULT([-l$libruby])
+ AC_CHECK_LIB([$libruby],[ruby_init],
+ [have_libruby=1],[have_libruby=])
+
+ dnl Symbols that we substitute when missing.
+ AS_IF([test -n "$have_libruby"],[
+ old_LIBS="$LIBS"
+ LIBS="$LIBS -l$libruby"
+ AC_CHECK_FUNCS([rb_hash_lookup])
+ LIBS="$old_LIBS"
+ ])
+ ],[
+ AC_MSG_RESULT([not found])
])
+ ])
+])
AM_CONDITIONAL([HAVE_RUBY],
- [test "x$RAKE" != "xno" && test -n "$HAVE_LIBRUBY"])
-
-AM_CONDITIONAL([HAVE_RUBY],
- [test "x$RAKE" != "xno" && test -n "$HAVE_LIBRUBY"])
+ [test -n "$RUBY" && test -n "$RAKE" && test -n "$have_libruby"])
dnl dnl Check for Java.
dnl AC_ARG_WITH(java_home,

@ -1,11 +0,0 @@
--- python/Makefile.am 2012-06-12 14:12:50.000000000 +0400
+++ python/Makefile.am 2012-09-17 16:21:55.230278577 +0400
@@ -35,7 +35,7 @@
libhivexmod_la_SOURCES = hivex-py.c
libhivexmod_la_CFLAGS = -Wall -I$(PYTHON_INCLUDEDIR) \
-I$(top_srcdir)/lib -I$(top_builddir)/lib
-libhivexmod_la_LIBADD = $(top_builddir)/lib/libhivex.la
+libhivexmod_la_LIBADD = $(top_builddir)/lib/libhivex.la -lpython$(PYTHON_VERSION)
libhivexmod_la_LDFLAGS = -avoid-version -shared
TESTS_ENVIRONMENT = \

@ -1,17 +0,0 @@
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -187,10 +187,12 @@
AM_CONDITIONAL([HAVE_HIVEXSH],[test "x$ac_cv_func_open_memstream" = "xyes"])
dnl Check for OCaml (optional, for OCaml bindings).
+AC_ARG_ENABLE([ocaml],
+ AS_HELP_STRING([--with-ocaml],[build Ocaml binding]))
AC_PROG_OCAML
AC_PROG_FINDLIB
AM_CONDITIONAL([HAVE_OCAML],
- [test "x$OCAMLC" != "xno" && test "x$OCAMLFIND" != "xno"])
+ [test "x$OCAMLC" != "xno" && test "x$OCAMLFIND" != "xno" -a "x$enable_ocaml" = "xyes"]])
AM_CONDITIONAL([HAVE_OCAMLOPT],
[test "x$OCAMLOPT" != "xno" && test "x$OCAMLFIND" != "xno"])

@ -1,36 +0,0 @@
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -245,8 +245,31 @@
AC_MSG_WARN([some Perl modules required to compile or test the Perl bindings are missing])
fi
+AC_ARG_ENABLE([perl],
+ AS_HELP_STRING([--with-perl],[build Perl binding]))
+
+
+PERL=
+AS_IF([test "x$enable_perl" != "xno" ],[
+ AC_CHECK_PROG([PERL],[perl],[yes],[no])
+
+ for pm in Test::More ExtUtils::MakeMaker IO::Stringy; do
+ AC_MSG_CHECKING([for $pm])
+ if ! perl -M$pm -e1 >/dev/null 2>&1; then
+ AC_MSG_RESULT([no])
+ missing_perl_modules=yes
+ else
+ AC_MSG_RESULT([yes])
+ fi
+ done
+
+ AS_IF([test "x$missing_perl_modules" = "xyes"],
+ [AC_MSG_FAILURE([some Perl modules required to compile or test the Perl bindings are missing])],
+ )
+])
+
AM_CONDITIONAL([HAVE_PERL],
- [test "x$PERL" != "xno" && test "x$missing_perl_modules" != "xyes"])
+ [test "x$PERL" != "xno" && test "x$missing_perl_modules" != "xyes" -a "x$enable_perl" = "xyes"])
dnl Check for Python (optional, for Python bindings).
PYTHON_PREFIX=

@ -1,16 +0,0 @@
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -336,8 +336,11 @@
AC_SUBST(PYTHON_INCLUDEDIR)
AC_SUBST(PYTHON_INSTALLDIR)
+AC_ARG_ENABLE([python],
+ AS_HELP_STRING([--with-python],[build Python binding]))
+
AM_CONDITIONAL([HAVE_PYTHON],
- [test "x$PYTHON" != "xno" && test "x$PYTHON_INCLUDEDIR" != "x" && test "x$PYTHON_INSTALLDIR" != "x"])
+ [test "x$PYTHON_INCLUDEDIR" != "x" -a "x$PYTHON_SITE_PACKAGES" != "x" -a "x$enable_python" = "xyes"])
dnl Check for Ruby and rake (optional, for Ruby bindings).
AC_ARG_ENABLE([ruby],

@ -1,11 +0,0 @@
--- ruby/Rakefile.in 2012-03-13 19:46:43.000000000 +0400
+++ ruby/Rakefile.in 2012-04-15 19:02:42.337118192 +0400
@@ -38,7 +38,7 @@
# Build locally
file MAKEFILE => EXT_CONF do |t|
- unless sh "top_srcdir=$(pwd)/@top_srcdir@; top_builddir=$(pwd)/@top_builddir@; export ARCHFLAGS=\"-arch $(uname -m)\"; mkdir -p @builddir@/ext/hivex; cd @builddir@/ext/hivex; @RUBY@ #{EXT_CONF} --with-_hivex-include=$top_srcdir/lib --with-_hivex-lib=$top_builddir/lib/.libs"
+ unless sh "top_srcdir=@top_srcdir@; top_builddir=@top_builddir@; export ARCHFLAGS=\"-arch $(uname -m)\"; mkdir -p @builddir@/ext/hivex; cd @builddir@/ext/hivex; @RUBY@ #{EXT_CONF} --with-_hivex-include=../../$top_srcdir/lib --with-_hivex-lib=../../$top_builddir/lib/.libs --with-ldflags=\"$LDFLAGS\""
$stderr.puts "Failed to run extconf"
break
end

@ -1,11 +0,0 @@
--- ruby/Rakefile.in 2012-03-13 19:46:43.000000000 +0400
+++ ruby/Rakefile.in 2012-04-15 19:02:42.337118192 +0400
@@ -38,7 +38,7 @@
# Build locally
file MAKEFILE => EXT_CONF do |t|
- unless sh "top_srcdir=$(pwd)/@top_srcdir@; top_builddir=$(pwd)/@top_builddir@; export ARCHFLAGS=\"-arch $(uname -m)\"; mkdir -p @builddir@/ext/hivex; cd @builddir@/ext/hivex; @RUBY@ #{EXT_CONF} --with-_hivex-include=$top_srcdir/lib --with-_hivex-lib=$top_builddir/lib/.libs"
+ unless sh "top_srcdir=@top_srcdir@; top_builddir=@top_builddir@; export ARCHFLAGS=\"-arch $(uname -m)\"; mkdir -p @builddir@/ext/hivex; cd @builddir@/ext/hivex; @RUBY@ #{EXT_CONF} --with-_hivex-include=../../$top_srcdir/lib --with-_hivex-lib=../../$top_builddir/lib/.libs --with-ldflags=\"$LDFLAGS\""
$stderr.puts "Failed to run extconf"
break
end

@ -1,43 +0,0 @@
diff --git a/ruby/Makefile.am b/ruby/Makefile.am
--- a/ruby/Makefile.am
+++ b/ruby/Makefile.am
@@ -44,11 +44,11 @@
RUBY=$(RUBY) RAKE=$(RAKE)
all:
- $(RAKE) build
- $(RAKE) rdoc
+ $(RAKE) -v build
+ $(RAKE) -v rdoc
-RUBY_SITELIB := $(shell $(RUBY) -rrbconfig -e "puts Config::CONFIG['sitelibdir']")
-RUBY_SITEARCH := $(shell $(RUBY) -rrbconfig -e "puts Config::CONFIG['sitearchdir']")
+RUBY_SITELIB := $(shell $(RUBY) -rrbconfig -e "puts RbConfig::CONFIG['sitelibdir']")
+RUBY_SITEARCH := $(shell $(RUBY) -rrbconfig -e "puts RbConfig::CONFIG['sitearchdir']")
install:
$(MKDIR_P) $(DESTDIR)$(RUBY_SITELIB)
diff --git a/ruby/Rakefile.in b/ruby/Rakefile.in
--- a/ruby/Rakefile.in
+++ b/ruby/Rakefile.in
@@ -17,9 +17,9 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
require 'rake/clean'
-require 'rake/rdoctask'
+require 'rdoc/task'
require 'rake/testtask'
-require 'rake/gempackagetask'
+require 'rubygems/package_task'
PKG_NAME='@PACKAGE_NAME@'
PKG_VERSION='@PACKAGE_VERSION@'
@@ -108,7 +108,7 @@
EOF
end
-Rake::GemPackageTask.new(SPEC) do |pkg|
+Gem::PackageTask.new(SPEC) do |pkg|
pkg.need_tar = true
pkg.need_zip = true
end

@ -1,104 +0,0 @@
--- configure.ac.orig 2011-08-15 22:29:28.309745342 +0300
+++ configure.ac 2011-08-15 22:34:54.324549151 +0300
@@ -170,11 +170,18 @@
AC_SUBST([LIBXML2_CFLAGS])
AC_SUBST([LIBXML2_LIBS])
+
+dnl ////////////////////////////////////////////////////////////////////////////
dnl Check for OCaml (optional, for OCaml bindings).
+
+AC_ARG_ENABLE([ocaml],
+ AS_HELP_STRING([--with-ocaml],[build Ocaml binding]))
+
+
AC_PROG_OCAML
AC_PROG_FINDLIB
AM_CONDITIONAL([HAVE_OCAML],
- [test "x$OCAMLC" != "xno" && test "x$OCAMLFIND" != "xno"])
+ [test "x$OCAMLC" != "xno" -a "x$OCAMLFIND" != "xno" -a "x$enable_ocaml" = "xyes"])
AM_CONDITIONAL([HAVE_OCAMLOPT],
[test "x$OCAMLOPT" != "xno" && test "x$OCAMLFIND" != "xno"])
@@ -207,6 +214,8 @@
rm -f conftest conftest.* conftest_ml.*
fi
+dnl ///////////////////////////////////////////////////////////////////////////////////////
+
dnl Check for Perl (optional, for Perl bindings).
dnl XXX This isn't quite right, we should check for Perl devel library.
AC_CHECK_PROG([PERL],[perl],[perl],[no])
@@ -214,21 +223,35 @@
dnl Check for Perl modules that must be present to compile and
dnl test the Perl bindings.
missing_perl_modules=no
-for pm in Test::More ExtUtils::MakeMaker IO::Stringy; do
- AC_MSG_CHECKING([for $pm])
- if ! perl -M$pm -e1 >/dev/null 2>&1; then
- AC_MSG_RESULT([no])
- missing_perl_modules=yes
- else
- AC_MSG_RESULT([yes])
- fi
-done
-if test "x$missing_perl_modules" = "xyes"; then
- AC_MSG_WARN([some Perl modules required to compile or test the Perl bindings are missing])
-fi
+
+AC_ARG_ENABLE([perl],
+ AS_HELP_STRING([--with-perl],[build Perl binding]))
+
+
+PERL=
+AS_IF([test "x$enable_perl" != "xno" ],[
+ AC_CHECK_PROG([PERL],[perl],[yes],[no])
+
+ for pm in Test::More ExtUtils::MakeMaker IO::Stringy; do
+ AC_MSG_CHECKING([for $pm])
+ if ! perl -M$pm -e1 >/dev/null 2>&1; then
+ AC_MSG_RESULT([no])
+ missing_perl_modules=yes
+ else
+ AC_MSG_RESULT([yes])
+ fi
+ done
+
+ AS_IF([test "x$missing_perl_modules" = "xyes"],
+ [AC_MSG_FAILURE([some Perl modules required to compile or test the Perl bindings are missing])],
+ )
+])
+
AM_CONDITIONAL([HAVE_PERL],
- [test "x$PERL" != "xno" && test "x$missing_perl_modules" != "xyes"])
+ [test "x$PERL" != "xno" -a "x$missing_perl_modules" != "xyes" -a "x$enable_perl" = "xyes"])
+
+dnl //////////////////////////////////////////////////////////////////////////////////////////////////
dnl Check for Python (optional, for Python bindings).
AC_CHECK_PROG([PYTHON],[python],[python],[no])
@@ -266,15 +289,21 @@
AC_SUBST(PYTHON_INCLUDEDIR)
AC_SUBST(PYTHON_SITE_PACKAGES)
+AC_ARG_ENABLE([python],
+ AS_HELP_STRING([--with-python],[build Python binding]))
+
AM_CONDITIONAL([HAVE_PYTHON],
- [test "x$PYTHON_INCLUDEDIR" != "x" && test "x$PYTHON_SITE_PACKAGES" != "x"])
+ [test "x$PYTHON_INCLUDEDIR" != "x" -a "x$PYTHON_SITE_PACKAGES" != "x" -a "x$enable_python" = "xyes"])
dnl Check for Ruby and rake (optional, for Ruby bindings).
AC_CHECK_LIB([ruby],[ruby_init],[HAVE_LIBRUBY=1],[HAVE_LIBRUBY=0])
AC_CHECK_PROG([RAKE],[rake],[rake],[no])
+AC_ARG_ENABLE([ruby],
+ AS_HELP_STRING([--with-ruby],[build Ruby binding]))
+
AM_CONDITIONAL([HAVE_RUBY],
- [test "x$RAKE" != "xno" && test -n "$HAVE_LIBRUBY"])
+ [test "x$RAKE" != "xno" && test -n "$HAVE_LIBRUBY" -a "x$enable_ruby" = "xyes"])
dnl dnl Check for Java.
dnl AC_ARG_WITH(java_home,

@ -1,11 +0,0 @@
--- python/run-python-tests.in 2011-08-11 22:40:25.000000000 +0400
+++ python/run-python-tests.in 2011-11-06 11:52:14.064248069 +0400
@@ -19,7 +19,7 @@
set -e
shopt -s nullglob
-for f in $(srcdir)t/*.py; do
+for f in ${srcdir}t/*.py; do
basename "$f"
@PYTHON@ "$f"
done

@ -1,11 +0,0 @@
--- ruby/Rakefile.in.orig 2012-04-16 20:16:14.989449899 +0200
+++ ruby/Rakefile.in 2012-04-16 20:17:08.006443779 +0200
@@ -38,7 +38,7 @@
# Build locally
file MAKEFILE => EXT_CONF do |t|
- unless sh "top_srcdir=$(pwd)/@top_srcdir@; top_builddir=$(pwd)/@top_builddir@; export ARCHFLAGS=\"-arch $(uname -m)\"; cd #{File::dirname(EXT_CONF)}; ruby #{File::basename(EXT_CONF)} --with-_hivex-include=$top_srcdir/lib --with-_hivex-lib=$top_builddir/lib/.libs"
+ unless sh "top_srcdir=@top_srcdir@; top_builddir=@top_builddir@; export ARCHFLAGS=\"-arch $(uname -m)\"; mkdir -p @builddir@/ext/hivex; cd #{File::dirname(EXT_CONF)}; ruby #{File::basename(EXT_CONF)} --with-_hivex-include=../../$top_srcdir/lib --with-_hivex-lib=../../$top_builddir/lib/.libs --with-ldflags=\"$LDFLAGS\""
$stderr.puts "Failed to run extconf"
break
end

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/hivex/hivex-1.3.11.ebuild,v 1.4 2015/01/09 08:34:00 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-misc/hivex/hivex-1.3.11.ebuild,v 1.5 2015/02/19 07:34:27 pinkbyte Exp $
EAPI=5
@ -11,7 +11,7 @@ RUBY_OPTIONAL=yes
PYTHON_COMPAT=(python2_7 python3_{3,4})
inherit base autotools autotools-utils eutils perl-app ruby-ng python-single-r1
inherit autotools-utils eutils perl-app ruby-ng python-single-r1
DESCRIPTION="Library for reading and writing Windows Registry 'hive' binary files"
HOMEPAGE="http://libguestfs.org"
@ -67,7 +67,7 @@ src_unpack() {
}
src_prepare() {
base_src_prepare
epatch_user
}
src_configure() {

@ -1,83 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/hivex/hivex-1.3.2-r2.ebuild,v 1.4 2014/11/16 20:25:35 dilfridge Exp $
EAPI=5
WANT_AUTOMAKE="1.11"
AUTOTOOLS_IN_SOURCE_BUILD=1
AUTOTOOLS_AUTORECONF=1
PYTHON_DEPEND="python? 2:2.6"
inherit base autotools-utils perl-app python
DESCRIPTION="Library for reading and writing Windows Registry 'hive' binary files"
HOMEPAGE="http://libguestfs.org"
SRC_URI="http://libguestfs.org/download/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE="ocaml readline perl python test static-libs ruby"
RDEPEND="virtual/libiconv
virtual/libintl
dev-libs/libxml2:2
ocaml? ( dev-lang/ocaml[ocamlopt]
dev-ml/findlib[ocamlopt]
)
readline? ( sys-libs/readline )
perl? ( dev-perl/IO-stringy )
"
DEPEND="${RDEPEND}
dev-lang/perl
perl? (
test? ( dev-perl/Pod-Coverage
dev-perl/Test-Pod-Coverage ) )
ruby? ( dev-ruby/rake )
"
PATCHES=("${FILESDIR}"/autoconf_fix-${PV}.patch
"${FILESDIR}"/python-test-fix-${PV}.patch
"${FILESDIR}"/ruby_runpath_fix-${PV}.patch)
DOCS=(README)
pkg_setup() {
if use python; then
python_set_active_version 2
python_pkg_setup
python_need_rebuild
fi
}
src_prepare() {
sed -i -e '/gets is a security/d' gnulib/lib/stdio.in.h || die "sed failed"
autotools-utils_src_prepare
}
src_configure() {
local myeconfargs=(
$(use_with readline)
$(use_enable ocaml)
$(use_enable perl)
--enable-nls
$(use_enable python)
$(use_enable ruby)
--disable-rpath )
autotools-utils_src_configure
}
src_test() {
autotools-utils_src_compile check
}
src_install() {
strip-linguas -i po
autotools-utils_src_install "LINGUAS=""${LINGUAS}"""
if use perl; then
perl_delete_localpod
fi
}

@ -1,124 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/hivex/hivex-1.3.7-r1.ebuild,v 1.4 2015/01/05 19:44:24 graaff Exp $
EAPI=5
AUTOTOOLS_IN_SOURCE_BUILD=1
AUTOTOOLS_AUTORECONF=1
WANT_AUTOMAKE=1.11
USE_RUBY="ruby19"
RUBY_OPTIONAL=yes
PYTHON_DEPEND="python? 2:2.6"
SUPPORT_PYTHON_ABIS=1
inherit base autotools autotools-utils eutils perl-app ruby-ng python
DESCRIPTION="Library for reading and writing Windows Registry 'hive' binary files"
HOMEPAGE="http://libguestfs.org"
SRC_URI="http://libguestfs.org/download/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="ocaml readline +perl python test static-libs ruby"
RDEPEND="
virtual/libiconv
virtual/libintl
dev-libs/libxml2:2
ocaml? ( dev-lang/ocaml[ocamlopt]
dev-ml/findlib[ocamlopt]
)
readline? ( sys-libs/readline )
perl? ( dev-perl/IO-stringy )
ruby? ( $(ruby_implementations_depend) )
"
DEPEND="${RDEPEND}
dev-lang/perl
perl? (
test? ( dev-perl/Pod-Coverage
dev-perl/Test-Pod-Coverage )
)
"
ruby_add_bdepend "ruby? ( dev-ruby/rake )"
ruby_add_bdepend "ruby? ( dev-ruby/rdoc )"
DOCS=(README)
PATCHES=("${FILESDIR}"/"${PV}"/*.patch)
S="${WORKDIR}/${P}"
pkg_setup() {
if use python; then
python_pkg_setup
fi
if use perl; then
perl_set_version
fi
}
src_unpack() {
default
}
src_prepare() {
base_src_prepare
eautomake
}
src_configure() {
local myeconfargs=(
$(use_with readline)
$(use_enable ocaml)
$(use_enable perl)
--enable-nls
$(use_enable python)
$(use_enable ruby)
--disable-rpath )
autotools-utils_src_configure
if use perl; then
pushd perl
perl-app_src_configure
popd
fi
}
src_compile() {
autotools-utils_src_compile
}
src_test() {
if use perl;then
pushd perl
perl-app_src_install
popd
fi
autotools-utils_src_compile check
}
src_install() {
strip-linguas -i po
autotools-utils_src_install "LINGUAS=""${LINGUAS}"""
if use perl; then
perl_delete_localpod
fi
if use python; then
compile_and_install() {
emake -C python clean
emake -C python PYTHON_VERSION="${PYTHON_ABI}" \
PYTHON_INCLUDEDIR="$(python_get_includedir)" \
PYTHON_INSTALLDIR="$(python_get_sitedir)" \
DESTDIR="${ED}" install
}
python_execute_function compile_and_install
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/pystopwatch/pystopwatch-2012.12.24.1-r1.ebuild,v 1.2 2015/02/18 11:20:59 pacho Exp $
# $Header: /var/cvsroot/gentoo-x86/app-misc/pystopwatch/pystopwatch-2012.12.24.1-r1.ebuild,v 1.3 2015/02/19 10:40:47 ago Exp $
EAPI=5
@ -14,7 +14,7 @@ SRC_URI="http://xyne.archlinux.ca/projects/${PN}/src/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 ~x86"
IUSE=""
REQUIRED_USE=${PYTHON_REQUIRED_USE}

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-officeext/ooofbtools/ooofbtools-2.31.ebuild,v 1.1 2015/01/14 13:40:57 pinkbyte Exp $
# $Header: /var/cvsroot/gentoo-x86/app-officeext/ooofbtools/ooofbtools-2.31.ebuild,v 1.2 2015/02/19 10:40:37 ago Exp $
EAPI=5
@ -18,7 +18,7 @@ SRC_URI="mirror://sourceforge/fbtools/files/release/${MY_PN}-${PV}.zip"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 ~x86"
DEPEND="app-arch/unzip"
RDEPEND="dev-libs/libxml2"

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/pandoc/pandoc-1.12.1.ebuild,v 1.2 2015/02/16 14:41:41 pacho Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/pandoc/pandoc-1.12.1.ebuild,v 1.3 2015/02/18 21:20:05 slyfox Exp $
EAPI=5
@ -45,6 +45,7 @@ RDEPEND=">=dev-haskell/aeson-0.6:=[profile?] <dev-haskell/aeson-0.7:=[profile?]
>=dev-haskell/zip-archive-0.1.3.3:=[profile?] <dev-haskell/zip-archive-0.2:=[profile?]
>=dev-haskell/zlib-0.5:=[profile?] <dev-haskell/zlib-0.6:=[profile?]
>=dev-lang/ghc-7.0.1:=
embed_data_files? ( dev-haskell/hsb2hs )
http-conduit? ( >=dev-haskell/http-conduit-1.9:=[profile?] <dev-haskell/http-conduit-1.10:=[profile?]
>=dev-haskell/http-types-0.8:=[profile?] <dev-haskell/http-types-0.9:=[profile?] )
"

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/pandoc/pandoc-1.12.2.1.ebuild,v 1.1 2013/12/11 11:36:52 gienah Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/pandoc/pandoc-1.12.2.1.ebuild,v 1.2 2015/02/18 21:20:05 slyfox Exp $
EAPI=5
@ -45,6 +45,7 @@ RDEPEND=">=dev-haskell/aeson-0.6:=[profile?] <dev-haskell/aeson-0.7:=[profile?]
>=dev-haskell/zip-archive-0.1.3.3:=[profile?] <dev-haskell/zip-archive-0.2:=[profile?]
>=dev-haskell/zlib-0.5:=[profile?] <dev-haskell/zlib-0.6:=[profile?]
>=dev-lang/ghc-7.0.1:=
embed_data_files? ( dev-haskell/hsb2hs )
http-conduit? ( >=dev-haskell/http-conduit-1.9:=[profile?] <dev-haskell/http-conduit-2.1:=[profile?]
>=dev-haskell/http-types-0.8:=[profile?] <dev-haskell/http-types-0.9:=[profile?] )
"

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/pandoc/pandoc-1.12.3.1.ebuild,v 1.1 2014/02/01 19:57:11 slyfox Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/pandoc/pandoc-1.12.3.1.ebuild,v 1.2 2015/02/18 21:20:05 slyfox Exp $
EAPI=5
@ -46,6 +46,7 @@ RDEPEND=">=dev-haskell/aeson-0.6:=[profile?] <dev-haskell/aeson-0.8:=[profile?]
>=dev-haskell/zip-archive-0.1.3.3:=[profile?] <dev-haskell/zip-archive-0.3:=[profile?]
>=dev-haskell/zlib-0.5:=[profile?] <dev-haskell/zlib-0.6:=[profile?]
>=dev-lang/ghc-7.0.1:=
embed_data_files? ( dev-haskell/hsb2hs )
http-conduit? ( >=dev-haskell/http-conduit-1.9:=[profile?] <dev-haskell/http-conduit-2.1:=[profile?]
>=dev-haskell/http-types-0.8:=[profile?] <dev-haskell/http-types-0.9:=[profile?] )
"

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/pandoc/pandoc-1.12.3.3.ebuild,v 1.2 2014/04/13 13:04:32 slyfox Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/pandoc/pandoc-1.12.3.3.ebuild,v 1.3 2015/02/18 21:20:05 slyfox Exp $
EAPI=5
@ -46,6 +46,7 @@ RDEPEND=">=dev-haskell/aeson-0.6:=[profile?] <dev-haskell/aeson-0.8:=[profile?]
>=dev-haskell/zip-archive-0.1.3.3:=[profile?] <dev-haskell/zip-archive-0.3:=[profile?]
>=dev-haskell/zlib-0.5:=[profile?] <dev-haskell/zlib-0.6:=[profile?]
>=dev-lang/ghc-7.0.1:=
embed_data_files? ( dev-haskell/hsb2hs )
http-conduit? ( >=dev-haskell/http-conduit-1.9:=[profile?] <dev-haskell/http-conduit-2.1:=[profile?]
>=dev-haskell/http-types-0.8:=[profile?] <dev-haskell/http-types-0.9:=[profile?] )
"

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/pandoc/pandoc-1.12.4.2-r1.ebuild,v 1.1 2014/07/02 14:59:14 gienah Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/pandoc/pandoc-1.12.4.2-r1.ebuild,v 1.2 2015/02/18 21:20:05 slyfox Exp $
EAPI=5
@ -49,6 +49,7 @@ RDEPEND=">=dev-haskell/aeson-0.7:=[profile?] <dev-haskell/aeson-0.8:=[profile?]
>=dev-haskell/zip-archive-0.1.3.3:=[profile?] <dev-haskell/zip-archive-0.3:=[profile?]
>=dev-haskell/zlib-0.5:=[profile?] <dev-haskell/zlib-0.6:=[profile?]
>=dev-lang/ghc-7.4.1:=
embed_data_files? ( dev-haskell/hsb2hs )
http-conduit? ( >=dev-haskell/http-conduit-1.9:=[profile?] <dev-haskell/http-conduit-2.2:=[profile?]
>=dev-haskell/http-types-0.8:=[profile?] <dev-haskell/http-types-0.9:=[profile?] )
"

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/pandoc/pandoc-1.12.4.ebuild,v 1.1 2014/05/10 12:12:57 slyfox Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/pandoc/pandoc-1.12.4.ebuild,v 1.2 2015/02/18 21:20:05 slyfox Exp $
EAPI=5
@ -49,6 +49,7 @@ RDEPEND=">=dev-haskell/aeson-0.7:=[profile?] <dev-haskell/aeson-0.8:=[profile?]
>=dev-haskell/zip-archive-0.1.3.3:=[profile?] <dev-haskell/zip-archive-0.3:=[profile?]
>=dev-haskell/zlib-0.5:=[profile?] <dev-haskell/zlib-0.6:=[profile?]
>=dev-lang/ghc-7.4.1:=
embed_data_files? ( dev-haskell/hsb2hs )
http-conduit? ( >=dev-haskell/http-conduit-1.9:=[profile?] <dev-haskell/http-conduit-2.2:=[profile?]
>=dev-haskell/http-types-0.8:=[profile?] <dev-haskell/http-types-0.9:=[profile?] )
"

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/pandoc/pandoc-1.12.ebuild,v 1.4 2013/11/24 19:32:24 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/pandoc/pandoc-1.12.ebuild,v 1.5 2015/02/18 21:20:05 slyfox Exp $
EAPI=5
@ -46,6 +46,7 @@ RDEPEND=">=dev-haskell/aeson-0.6:=[profile?] <dev-haskell/aeson-0.7:=[profile?]
>=dev-haskell/zip-archive-0.1.3.3:=[profile?] <dev-haskell/zip-archive-0.2:=[profile?]
>=dev-haskell/zlib-0.5:=[profile?] <dev-haskell/zlib-0.6:=[profile?]
>=dev-lang/ghc-7.0.1:=
embed_data_files? ( dev-haskell/hsb2hs )
http-conduit? ( >=dev-haskell/http-conduit-1.9:=[profile?] <dev-haskell/http-conduit-1.10:=[profile?]
>=dev-haskell/http-types-0.8:=[profile?] <dev-haskell/http-types-0.9:=[profile?] )
"

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/pandoc/pandoc-1.13.1-r3.ebuild,v 1.1 2014/12/13 22:40:52 gienah Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/pandoc/pandoc-1.13.1-r3.ebuild,v 1.2 2015/02/18 21:20:05 slyfox Exp $
EAPI=5
@ -49,6 +49,7 @@ RDEPEND=">=dev-haskell/aeson-0.7.0.5:=[profile?] <dev-haskell/aeson-0.9:=[profil
>=dev-haskell/zip-archive-0.2.3.4:=[profile?] <dev-haskell/zip-archive-0.3:=[profile?]
>=dev-haskell/zlib-0.5:=[profile?] <dev-haskell/zlib-0.6:=[profile?]
>=dev-lang/ghc-7.4.1:=
embed_data_files? ( dev-haskell/hsb2hs )
https? ( >=dev-haskell/http-client-0.3.2:=[profile?] <dev-haskell/http-client-0.5:=[profile?]
>=dev-haskell/http-client-tls-0.2:=[profile?] <dev-haskell/http-client-tls-0.3:=[profile?]
>=dev-haskell/http-types-0.8:=[profile?] <dev-haskell/http-types-0.9:=[profile?] )

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/pandoc/pandoc-1.13.2-r1.ebuild,v 1.1 2015/01/05 05:04:03 gienah Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/pandoc/pandoc-1.13.2-r1.ebuild,v 1.2 2015/02/18 21:20:05 slyfox Exp $
EAPI=5
@ -49,6 +49,7 @@ RDEPEND=">=dev-haskell/aeson-0.7.0.5:=[profile?] <dev-haskell/aeson-0.9:=[profil
>=dev-haskell/zip-archive-0.2.3.4:=[profile?] <dev-haskell/zip-archive-0.3:=[profile?]
>=dev-haskell/zlib-0.5:=[profile?] <dev-haskell/zlib-0.6:=[profile?]
>=dev-lang/ghc-7.4.1:=
embed_data_files? ( dev-haskell/hsb2hs )
https? ( >=dev-haskell/http-client-0.3.2:=[profile?] <dev-haskell/http-client-0.5:=[profile?]
>=dev-haskell/http-client-tls-0.2:=[profile?] <dev-haskell/http-client-tls-0.3:=[profile?]
>=dev-haskell/http-types-0.8:=[profile?] <dev-haskell/http-types-0.9:=[profile?] )

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/pandoc/pandoc-1.13.2.ebuild,v 1.1 2014/12/20 09:52:26 gienah Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/pandoc/pandoc-1.13.2.ebuild,v 1.2 2015/02/18 21:20:05 slyfox Exp $
EAPI=5
@ -49,6 +49,7 @@ RDEPEND=">=dev-haskell/aeson-0.7.0.5:=[profile?] <dev-haskell/aeson-0.9:=[profil
>=dev-haskell/zip-archive-0.2.3.4:=[profile?] <dev-haskell/zip-archive-0.3:=[profile?]
>=dev-haskell/zlib-0.5:=[profile?] <dev-haskell/zlib-0.6:=[profile?]
>=dev-lang/ghc-7.4.1:=
embed_data_files? ( dev-haskell/hsb2hs )
https? ( >=dev-haskell/http-client-0.3.2:=[profile?] <dev-haskell/http-client-0.5:=[profile?]
>=dev-haskell/http-client-tls-0.2:=[profile?] <dev-haskell/http-client-tls-0.3:=[profile?]
>=dev-haskell/http-types-0.8:=[profile?] <dev-haskell/http-types-0.9:=[profile?] )

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/xtrabackup-bin/xtrabackup-bin-2.2.5.ebuild,v 1.1 2014/10/19 09:57:03 idl0r Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/xtrabackup-bin/xtrabackup-bin-2.2.5.ebuild,v 1.2 2015/02/19 09:08:09 ago Exp $
EAPI=5
@ -24,7 +24,7 @@ SRC_URI="
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 ~x86"
IUSE=""
DEPEND=""

@ -1,7 +1,8 @@
# Copyright 1999-2010 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-games/paklib/paklib-0.3.ebuild,v 1.3 2010/09/17 09:04:34 tupone Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-games/paklib/paklib-0.3.ebuild,v 1.4 2015/02/19 09:42:13 mr_bones_ Exp $
EAPI=5
inherit toolchain-funcs
DESCRIPTION="library for accessing Quake pak files"
@ -13,8 +14,6 @@ SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND=""
S=${WORKDIR}/pak
src_compile() {
@ -23,9 +22,9 @@ src_compile() {
}
src_install() {
dolib.so libpak.so || die "pak.so failed"
dolib.a libpak.a || die "pak.a failed"
dolib.so libpak.so
dolib.a libpak.a
insinto /usr/include
doins pak.h || die "pak.h failed"
doins pak.h
dodoc AUTHORS NEWS README TODO pak.c pak.h
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/failure/failure-0.2.0.3.ebuild,v 1.1 2014/07/03 05:41:52 gienah Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/failure/failure-0.2.0.3.ebuild,v 1.2 2015/02/19 09:04:53 ago Exp $
EAPI=5
@ -15,7 +15,7 @@ SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 ~x86"
IUSE=""
RDEPEND=">=dev-haskell/transformers-0.2:=[profile?]

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/fgl/fgl-5.5.0.1.ebuild,v 1.1 2014/07/02 08:03:56 gienah Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/fgl/fgl-5.5.0.1.ebuild,v 1.2 2015/02/19 09:07:38 ago Exp $
EAPI=5
@ -15,7 +15,7 @@ SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE=""
RDEPEND="dev-haskell/mtl:=[profile?]

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/file-embed/file-embed-0.0.7.ebuild,v 1.2 2014/07/25 09:16:28 slyfox Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/file-embed/file-embed-0.0.7.ebuild,v 1.3 2015/02/19 09:07:13 ago Exp $
EAPI=5
@ -15,7 +15,7 @@ SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 ~x86"
IUSE=""
RDEPEND=">=dev-lang/ghc-7.4.1:=

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/gnuidn/gnuidn-0.2.1.ebuild,v 1.1 2014/03/09 05:12:52 gienah Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/gnuidn/gnuidn-0.2.1.ebuild,v 1.2 2015/02/19 09:05:23 ago Exp $
EAPI=5
@ -15,7 +15,7 @@ SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 ~x86"
IUSE=""
RDEPEND="dev-haskell/text:=[profile?]

@ -0,0 +1 @@
DIST hsb2hs-0.2.tar.gz 2341 SHA256 dd85a79fd1579257bc5b4c0e7d769f964cd92a7a2db2ea56ed3c1102101d7604 SHA512 d5150ee9914a4916b5162b704a29c23e2c8562c773226b2b2f017304cdd4ce55872f8c7e9be7a5385acc31711f622e74c508bdc40ba1d22981b0e8aec5e4e516 WHIRLPOOL d28a6389e36bb0a5ee4ce486e9c534d6f9f8e1b562503670538f74ec7da24bc7a75038635c9bd06de1c8c1f39875851470a91201cfde612457164994f792d70c

@ -0,0 +1,26 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hsb2hs/hsb2hs-0.2.ebuild,v 1.2 2015/02/18 21:15:38 slyfox Exp $
EAPI=5
# ebuild generated by hackport 0.4.4.9999
CABAL_FEATURES="bin"
inherit haskell-cabal
DESCRIPTION="Preprocesses a file, adding blobs from files as string literals"
HOMEPAGE="http://hackage.haskell.org/package/hsb2hs"
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.6
>dev-haskell/preprocessor-tools-1.0
>=dev-lang/ghc-7.4.1
"

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>haskell</herd>
<longdescription>
hsb2hs is a preprocessor that allows you to include the contents of
files as string literals in your Haskell programs and libraries.
It is an alternative to file-embed for those who do not want to rely
on Template Haskell. See @README.markdown@ for instructions.
</longdescription>
</pkgmetadata>

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hscolour/hscolour-1.20.3-r1.ebuild,v 1.1 2014/11/15 18:23:47 slyfox Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hscolour/hscolour-1.20.3-r1.ebuild,v 1.2 2015/02/19 09:05:52 ago Exp $
EAPI=5
@ -16,7 +16,7 @@ SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0/${PV}"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="doc"
RDEPEND=">=dev-lang/ghc-6.10.4:="

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/monads-tf/monads-tf-0.1.0.2.ebuild,v 1.3 2015/02/15 18:50:34 slyfox Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/monads-tf/monads-tf-0.1.0.2.ebuild,v 1.4 2015/02/19 09:02:51 ago Exp $
EAPI=5
@ -15,7 +15,7 @@ SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
RDEPEND=">=dev-haskell/transformers-0.2.0.0:=[profile?] <dev-haskell/transformers-0.5:=[profile?]

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/nanospec/nanospec-0.2.0.ebuild,v 1.1 2014/07/02 11:46:16 gienah Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/nanospec/nanospec-0.2.0.ebuild,v 1.2 2015/02/19 09:04:43 ago Exp $
EAPI=5
@ -15,7 +15,7 @@ SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 ~x86"
IUSE=""
RDEPEND=">=dev-lang/ghc-7.4.1:=

@ -0,0 +1 @@
DIST preprocessor-tools-1.0.1.tar.gz 9895 SHA256 c946c99fe8c9effba27946cd2c26173d2346340528d800a228796d68f8aeee59 SHA512 b039c763eda293950a73c089903bbc2f447b92740077c042a764c2523db581450c96e3fda7ae177336d96626283283843c93006eca73d02951ca9067a3b12665 WHIRLPOOL 5328ef4648f2778a39a089ad40c911203abc037d99a9850165f30225ad189f33a912f4c64087f2e5a5c4cb49a4a0efc587ebcfd72e7346317171c0b6991a124a

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>haskell</herd>
<longdescription>
This library provides a quick-and-dirty (but often effective)
method for extending Haskell&#39;s syntax using a custom
preprocessor. It parses Haskell into a bare-bones AST with just
enough knowledge of the syntax to preserve nesting, and then
allows transformations on the AST.
See the package ixdopp
(&lt;http://hackage.haskell.org/cgi-bin/hackage-scripts/package/ixdopp&gt;)
for an example of how to do this.
</longdescription>
</pkgmetadata>

@ -0,0 +1,28 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/preprocessor-tools/preprocessor-tools-1.0.1.ebuild,v 1.2 2015/02/18 21:15:22 slyfox Exp $
EAPI=5
# ebuild generated by hackport 0.4.4.9999
CABAL_FEATURES="lib profile haddock hoogle hscolour"
inherit haskell-cabal
DESCRIPTION="A framework for extending Haskell's syntax via quick-and-dirty preprocessors"
HOMEPAGE="http://www.eecs.harvard.edu/~tov/pubs/haskell-session-types/"
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND=">=dev-haskell/mtl-1:=[profile?] <dev-haskell/mtl-3:=[profile?]
>=dev-haskell/parsec-3:=[profile?] <dev-haskell/parsec-4:=[profile?]
>=dev-haskell/syb-0:=[profile?] <dev-haskell/syb-1:=[profile?]
>=dev-lang/ghc-7.4.1:=
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.2.3
"

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/quickcheck-io/quickcheck-io-0.1.1-r1.ebuild,v 1.1 2014/07/02 12:34:42 gienah Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/quickcheck-io/quickcheck-io-0.1.1-r1.ebuild,v 1.2 2015/02/19 09:07:59 ago Exp $
EAPI=5
@ -15,7 +15,7 @@ SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 ~x86"
IUSE=""
RDEPEND=">=dev-haskell/hunit-1.2.5:=[profile?]

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/regex-tdfa/regex-tdfa-1.2.0.ebuild,v 1.1 2014/03/12 20:48:55 qnikst Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/regex-tdfa/regex-tdfa-1.2.0.ebuild,v 1.2 2015/02/19 09:04:48 ago Exp $
EAPI=5
@ -16,7 +16,7 @@ SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 ~x86"
IUSE=""
RDEPEND="dev-haskell/mtl:=[profile?]

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/safesemaphore/safesemaphore-0.10.1.ebuild,v 1.1 2014/07/02 13:08:51 gienah Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/safesemaphore/safesemaphore-0.10.1.ebuild,v 1.2 2015/02/19 09:07:23 ago Exp $
EAPI=5
@ -18,7 +18,7 @@ SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86 ~amd64-linux"
KEYWORDS="amd64 ~x86 ~amd64-linux"
IUSE=""
RDEPEND="dev-haskell/stm:=[profile?]

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/text-icu/text-icu-0.6.3.7-r1.ebuild,v 1.2 2014/12/25 17:31:32 dilfridge Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/text-icu/text-icu-0.6.3.7-r1.ebuild,v 1.3 2015/02/19 09:04:23 ago Exp $
EAPI=5
@ -15,7 +15,7 @@ SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 ~x86"
IUSE=""
RDEPEND=">=dev-haskell/text-0.9.1.0:=[profile?]

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/tomcat-native/tomcat-native-1.1.32.ebuild,v 1.1 2014/11/14 11:32:55 fordfrog Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-java/tomcat-native/tomcat-native-1.1.32.ebuild,v 1.2 2015/02/19 09:06:22 ago Exp $
EAPI="5"
@ -11,7 +11,7 @@ DESCRIPTION="Native APR library for Tomcat"
SLOT="0"
SRC_URI="mirror://apache/tomcat/tomcat-connectors/native/${PV}/source/${P}-src.tar.gz"
HOMEPAGE="http://tomcat.apache.org/"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 ~x86"
LICENSE="Apache-2.0"
IUSE=""

@ -1,5 +1,3 @@
DIST clojure-1.2.0.zip 3586231 SHA256 1334773cb13793bdc0588de0fe5b5aec602bb98ca84858d7374b4e063864d207 SHA512 8c10533eef046d3dba1eb335d0febcdd22664cd428b24c35f860784efd7a699eba1b37808b99c0b8a584266e6c282f7c490cd49bcb7d7363c958f2499cfc41e2 WHIRLPOOL 6a325eceadd752d42b37a6e6adca7cceb4c49058c3af1e9a78e609b111e8e1cc34b53c356f04bf506b388415108209ec78934057b1de98c1d156a41f2021c09f
DIST clojure-1.3.0.tar.gz 489200 SHA256 da719ca8600f75001362fefa6427ef14d0a64c3ddc220c79695c44abecdc4a18 SHA512 1078a94afe096bf5862ddda6bd1fccb14d2383151f575b32829e60f2252d94dda972f9e9ca76bf91bc215f51e6529bd895c3653df5d9fa65dbe69e4be519ecdd WHIRLPOOL f3182a533c8081acbafceb5cd41c8f55c053dae673cab8f52274ab357fdf2b8059a512205501f7221d540d60913e115193eeb4c5dd1b46e05ceb56223b465770
DIST clojure-1.4.0.tar.gz 501302 SHA256 72e9b69367e5f825fe501629a7bf25d70632a6007751d2a9520be133879f42cd SHA512 618c0de641f2e718e8a0b1ce62a695e61d60a2fc52804018b4fc20caf6e7a99d88ed5af43f2e1f735fc8c19629382f0e53d010b1fca41ca1d4856cd59fadf329 WHIRLPOOL f77b0365e2f1180e0c43412dd0684e33699d7ec517b18af4694e3778cac74593a18de3843f214db5656d39c947a24839942472b5439b90c0c4391c275dd8e927
DIST clojure-1.5.1.tar.gz 540021 SHA256 ee6cc9360e3545a35cdd6a9ae48b5f4034ef2eb2aaa19721df976078952a805b SHA512 8bc4b7098ec11a3cd4d077f32607c5d23118d5f84b88af69b2051c4dd5b17f28f092b77206fba87e23f1163d2d0f7a2c37b1b1ffa1bcfef3ad4c8f74695d71cd WHIRLPOOL e77d13a771903100a3fe6b0ade84375217c5b150498e727a7cef2d856a4004e640e0c95717fb67be6cae1fbab7611189a1f3999726f7bbec43968eef646dcb32
DIST clojure-1.6.0.tar.gz 579154 SHA256 70b664b24bd8cc7bf0b5519cfa5fa98424eb3e23303fec04b24a03b8bc4f0b4a SHA512 52bf54d157dae77e71e53bac421daa1bca7ef55b837600c8b04751a545cbed0f04d3718543031d1e5b8ca43e2518d356082b9f8c029c2e318996450cfaee9c81 WHIRLPOOL b79b008773ad678e6418a719183c5b240ad0629d3a32384ec6e5979f0377ba2bd39768f27b71da815342bffbd8bdfa5b66cb24e90cf4f489273b33515f591509

@ -1,52 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/clojure/clojure-1.2.0.ebuild,v 1.5 2010/11/24 19:58:37 darkside Exp $
EAPI=2
JAVA_PKG_IUSE="source test"
inherit java-pkg-2 java-ant-2
DESCRIPTION="Clojure is a dynamic programming language that targets the Java Virtual Machine"
HOMEPAGE="http://clojure.org/"
SRC_URI="http://github.com/downloads/clojure/clojure/${P}.zip"
LICENSE="EPL-1.0"
SLOT="1.2"
KEYWORDS="amd64 x86 ~x86-linux"
IUSE="source"
RDEPEND=">=virtual/jre-1.5"
DEPEND=">=virtual/jdk-1.5
app-arch/unzip"
java_prepare() {
rm -v ${PN}.jar || die "Failed to remove compile jar."
}
src_test() {
java-pkg-2_src_test
}
src_install() {
java-pkg_newjar ${P/_/-}.jar
java-pkg_dolauncher ${PN}-${SLOT} --main clojure.main
dodoc changes.txt readme.txt || die
if use source; then
local zip_name="${PN}-src.zip"
local zip_path="${T}/${zip_name}"
pushd src/jvm >/dev/null || die "Problem entering Java source directory"
zip -q -r ${zip_path} . -i '*.java'
popd >/dev/null
pushd src/clj >/dev/null || die "Problem entering Clojure source directory"
zip -q -r ${zip_path} . -i '*.clj'
popd >/dev/null
INSDESTTREE=${JAVA_PKG_SOURCESPATH} \
doins ${zip_path} || die "Failed to install source"
JAVA_SOURCES="${JAVA_PKG_SOURCESPATH}/${zip_name}"
java-pkg_do_write_
fi
}

@ -1,32 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/clojure/clojure-1.3.0.ebuild,v 1.3 2011/11/17 18:46:11 phajdan.jr Exp $
EAPI=2
JAVA_PKG_IUSE="source test"
inherit java-pkg-2 java-ant-2
DESCRIPTION="Clojure is a dynamic programming language that targets the Java Virtual Machine"
HOMEPAGE="http://clojure.org/"
SRC_URI="https://github.com/clojure/clojure/tarball/clojure-1.3.0 -> ${P}.tar.gz"
LICENSE="EPL-1.0"
SLOT="1.3"
KEYWORDS="amd64 x86 ~x86-linux"
IUSE=""
RDEPEND=">=virtual/jre-1.5"
DEPEND=">=virtual/jdk-1.5"
S=${WORKDIR}/clojure-clojure-6375f36
src_test() {
java-pkg-2_src_test
}
src_install() {
java-pkg_newjar ${P/_/-}.jar
java-pkg_dolauncher ${PN}-${SLOT} --main clojure.main
dodoc changes.txt readme.txt || die
}

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boehm-gc/boehm-gc-7.4.2.ebuild,v 1.2 2015/02/17 08:46:08 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boehm-gc/boehm-gc-7.4.2.ebuild,v 1.3 2015/02/19 09:03:19 ago Exp $
EAPI=5
@ -14,7 +14,7 @@ SRC_URI="http://www.hboehm.info/gc/gc_source/${MY_P}.tar.gz"
LICENSE="boehm-gc"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="cxx static-libs threads"
DEPEND=">=dev-libs/libatomic_ops-7.4

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libatomic_ops/libatomic_ops-7.4.2.ebuild,v 1.2 2015/02/17 08:45:36 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libatomic_ops/libatomic_ops-7.4.2.ebuild,v 1.3 2015/02/19 09:03:23 ago Exp $
EAPI=5
inherit autotools eutils
@ -12,7 +12,7 @@ SRC_URI="https://github.com/ivmai/${PN}/archive/${MY_P}.tar.gz"
LICENSE="MIT boehm-gc GPL-2+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
S=${WORKDIR}/${PN}-${MY_P}

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libclc/libclc-0.0.1_pre20141027.ebuild,v 1.2 2015/02/18 15:55:56 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libclc/libclc-0.0.1_pre20141027.ebuild,v 1.3 2015/02/19 08:51:10 ago Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
@ -25,7 +25,7 @@ fi
LICENSE="|| ( MIT BSD )"
SLOT="0"
KEYWORDS="amd64 ~ppc ~x86"
KEYWORDS="amd64 ~ppc x86"
IUSE=""
RDEPEND="

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevdev/libevdev-1.3.ebuild,v 1.3 2015/02/18 15:55:58 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevdev/libevdev-1.3.ebuild,v 1.4 2015/02/19 08:51:12 ago Exp $
EAPI=5
XORG_MULTILIB=yes
@ -19,7 +19,7 @@ else
fi
RESTRICT="test" # Tests need to run as root.
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc x86"
IUSE=""
DEPEND="${PYTHON_DEPS}"

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsodium/libsodium-1.0.2.ebuild,v 1.3 2015/02/15 07:09:51 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsodium/libsodium-1.0.2.ebuild,v 1.5 2015/02/19 10:40:16 ago Exp $
EAPI=5
@ -12,15 +12,21 @@ SRC_URI="http://download.libsodium.org/${PN}/releases/${P}.tar.gz"
LICENSE="ISC"
SLOT="0/13"
KEYWORDS="~amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
IUSE="+asm minimal static-libs +urandom"
src_configure() {
local myconf
# --disable-pie needed on x86, bug #512734
use x86 && myconf="${myconf} --disable-pie"
econf \
$(use_enable asm) \
$(use_enable minimal) \
$(use_enable !urandom blocking-random) \
$(use_enable static-libs static)
$(use_enable static-libs static) \
${myconf}
}
src_install() {

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/wayland/wayland-1.6.1.ebuild,v 1.2 2015/02/18 15:56:01 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/wayland/wayland-1.6.1.ebuild,v 1.3 2015/02/19 08:51:15 ago Exp $
EAPI=5
@ -24,7 +24,7 @@ fi
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc x86"
IUSE="doc static-libs"
RDEPEND=">=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}]

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/weston/weston-1.6.1.ebuild,v 1.2 2015/02/18 15:56:04 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/weston/weston-1.6.1.ebuild,v 1.3 2015/02/19 08:51:18 ago Exp $
EAPI=5
@ -25,7 +25,7 @@ fi
LICENSE="MIT CC-BY-SA-3.0"
SLOT="0"
KEYWORDS="amd64 ~arm ~x86 ~arm-linux"
KEYWORDS="amd64 ~arm x86 ~arm-linux"
IUSE="colord dbus +drm +egl editor examples fbdev gles2 headless +opengl rdp +resize-optimization rpi +launch screen-sharing static-libs +suid systemd test unwind wayland-compositor +X xwayland"
REQUIRED_USE="

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/cryptokit/cryptokit-1.10.ebuild,v 1.1 2015/01/07 11:31:50 aballier Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ml/cryptokit/cryptokit-1.10.ebuild,v 1.2 2015/02/19 09:03:28 ago Exp $
EAPI="5"
@ -14,7 +14,7 @@ HOMEPAGE="http://forge.ocamlcore.org/projects/cryptokit/"
SRC_URI="http://forge.ocamlcore.org/frs/download.php/1493/${P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
KEYWORDS="amd64 ~ppc ~x86 ~x86-fbsd"
IUSE="zlib"
DEPEND="zlib? ( >=sys-libs/zlib-1.1 )"

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ocamlnet-3.7.7.ebuild,v 1.2 2014/11/28 17:10:46 aballier Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ocamlnet-3.7.7.ebuild,v 1.3 2015/02/19 09:03:58 ago Exp $
EAPI="5"
@ -13,7 +13,7 @@ SRC_URI="http://download.camlcity.org/download/${MY_P}.tar.gz"
LICENSE="ZLIB GPL-2+"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
KEYWORDS="amd64 ~ppc ~x86 ~x86-fbsd"
IUSE="cryptokit gtk ssl tk httpd +ocamlopt +pcre zip"
RESTRICT="installsources"

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocurl/ocurl-0.6.1.ebuild,v 1.1 2014/02/13 16:00:43 aballier Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocurl/ocurl-0.6.1.ebuild,v 1.2 2015/02/19 09:04:38 ago Exp $
EAPI=5
@ -18,7 +18,7 @@ RDEPEND=">=net-misc/curl-7.9.8
>=dev-lang/ocaml-3.12:=[ocamlopt]"
DEPEND="${RDEPEND}
virtual/pkgconfig"
KEYWORDS="~amd64 ~ppc ~x86"
KEYWORDS="amd64 ~ppc ~x86"
src_compile()
{

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/pomap/pomap-3.0.5.ebuild,v 1.1 2014/12/01 08:56:40 aballier Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ml/pomap/pomap-3.0.5.ebuild,v 1.2 2015/02/19 09:06:47 ago Exp $
EAPI=5
@ -16,7 +16,7 @@ LICENSE="LGPL-2.1-with-linking-exception"
DEPEND="|| ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )"
RDEPEND="${DEPEND}"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~ppc ~x86"
KEYWORDS="amd64 ~ppc ~x86"
IUSE="examples"
DOCS=( "AUTHORS.txt" "CHANGES.txt" "README.md" )

@ -0,0 +1,23 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Archive-Zip/Archive-Zip-1.450.0.ebuild,v 1.1 2015/02/19 01:06:19 dilfridge Exp $
EAPI=5
MODULE_AUTHOR=PHRED
MODULE_VERSION=1.45
inherit perl-module
DESCRIPTION="A wrapper that lets you read Zip archive members as if they were files"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE=""
DEPEND="
>=virtual/perl-Compress-Raw-Zlib-2.17
>=virtual/perl-File-Spec-0.800.0
"
RDEPEND="${DEPEND}"
SRC_TEST="do"

@ -1,2 +1,3 @@
DIST Archive-Zip-1.30.tar.gz 197179 SHA256 f8b472ff77b7238e423bcb351968accc562f9d20700fbf2d8ed2a65fa0fa6318 SHA512 ae717225c54013eb5759982fff5491a8a590a4666b3a93895270c89f361fe289094a35d0caf57320d36fa8f3f5e0c778045a099d0a024f2606c700f0aff3b4e7 WHIRLPOOL 9511cc57941aa8d5367f5041130c27025e90055fa65be6b3ad361d99a07adc9eb9ca9edec00b97fa86478d6b19ab6e604259eab218f9c7e5a0d863771f2a29b8
DIST Archive-Zip-1.37.tar.gz 184345 SHA256 ba789436dc82db02a7f3d2e9d120d0221edc83d8c7ec72519648ae64bbc4ce05 SHA512 416dc16286edef085a9fd11b3f98c3abf6345a70552cf4f0d4e0da364b39d400cb259a09f1b33b82ff4aa6494a88e85e59afd80a94ae8446c329eb8a3af63ef1 WHIRLPOOL 07103e2d5a2f23e911b9bc9b3e784e21645864f2e6b08042c577deeaf5b27799c3df0fc8c2a89dfc805840ac0349e88053b173e8db51aefacb2dc7e225d5a8d1
DIST Archive-Zip-1.45.tar.gz 186378 SHA256 bc423f96ee07512c968fa788eeccf4b0100f0c4b85f0cacc638b0d658f2f7c7c SHA512 53831db7dd17d3418c593a9961679bfc6cfe067b1f31794664bc60439b332a2e054e8145a156e3eae95f6712dd8cbcc44ed29d7ae8a4fa0f4f1b97ea924e88d4 WHIRLPOOL c71e4c5a05da18ac1f69fccd5b2c35385818bc827d029f1483c7bb07f342def9b1a1a2593fc870c8b30104d4117ff95b2b5316a454f9b0722656bb9e25a7ce6e

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-php/suhosin/suhosin-0.9.37.1.ebuild,v 1.2 2015/02/17 18:04:32 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-php/suhosin/suhosin-0.9.37.1.ebuild,v 1.3 2015/02/19 09:08:19 ago Exp $
EAPI="5"
@ -11,7 +11,7 @@ USE_PHP="php5-6 php5-5 php5-4"
inherit php-ext-source-r2
KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
DESCRIPTION="Suhosin is an advanced protection system for PHP installations"
HOMEPAGE="http://www.suhosin.org/"

@ -1,10 +1,10 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-php/xdebug-client/xdebug-client-2.2.6.ebuild,v 1.1 2015/01/04 03:50:03 grknight Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-php/xdebug-client/xdebug-client-2.2.6.ebuild,v 1.2 2015/02/19 09:05:08 ago Exp $
EAPI=5
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~x86"
MY_PV="${PV/_/}"
MY_PV="${MY_PV/rc/RC}"

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-php/xdebug/xdebug-2.2.6.ebuild,v 1.2 2015/01/15 09:03:30 mgorny Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-php/xdebug/xdebug-2.2.6.ebuild,v 1.3 2015/02/19 09:05:04 ago Exp $
EAPI="5"
PHP_EXT_NAME="xdebug"
@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
inherit php-ext-source-r2
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~x86"
DESCRIPTION="A PHP debugging and profiling extension"
HOMEPAGE="http://www.xdebug.org/"

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/Kivy/Kivy-1.8.0.ebuild,v 1.5 2015/01/01 21:23:06 slis Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/Kivy/Kivy-1.8.0.ebuild,v 1.6 2015/02/19 07:30:03 slis Exp $
EAPI="5"
@ -19,7 +19,7 @@ IUSE="cairo camera doc examples garden gstreamer spell"
DEPEND="dev-python/cython
garden? ( dev-python/kivy-garden )
gstreamer? ( dev-python/gst-python )
gstreamer? ( dev-python/gst-python:1.0 )
cairo? ( dev-python/pycairo )
spell? ( dev-python/pyenchant )
dev-python/pygame
@ -32,6 +32,9 @@ RDEPEND="${DEPEND}"
src_prepare() {
sed -e '/data_files=/d' -i "${S}/setup.py"
epatch "${FILESDIR}/cython-fixes.patch"
if has_version '>=dev-python/cython-0.22' ; then
epatch "${FILESDIR}/cython-0.22.patch"
fi
}
src_install() {

@ -0,0 +1,139 @@
--- kivy/graphics.orig/shader.pyx 2015-02-19 07:27:13.062070969 +0100
+++ kivy/graphics/shader.pyx 2015-02-19 07:27:22.838737743 +0100
@@ -221,13 +221,13 @@
'''
glUseProgram(0)
- cdef void set_uniform(self, str name, value):
+ cdef void set_uniform(self, str name, value) except *:
if name in self.uniform_values and self.uniform_values[name] == value:
return
self.uniform_values[name] = value
self.upload_uniform(name, value)
- cdef void upload_uniform(self, str name, value):
+ cdef void upload_uniform(self, str name, value) except *:
'''Pass a uniform variable to the shader.
'''
cdef long vec_size, index, x, y
@@ -412,7 +412,7 @@
mat[x] = <GLfloat>value.mat[x]
glUniformMatrix4fv(loc, 1, False, mat)
- cdef int get_uniform_loc(self, str name):
+ cdef int get_uniform_loc(self, str name) except *:
cdef bytes c_name = name.encode('utf-8')
cdef int loc = glGetUniformLocation(self.program, c_name)
self.uniform_locations[name] = loc
@@ -453,11 +453,11 @@
# save for the next run.
self._current_vertex_format = vertex_format
- cdef void build(self):
+ cdef void build(self) except *:
self.build_vertex()
self.build_fragment()
- cdef void build_vertex(self, int link=1):
+ cdef void build_vertex(self, int link=1) except *:
if self.vertex_shader is not None:
glDetachShader(self.program, self.vertex_shader.shader)
self.vertex_shader = None
@@ -467,7 +467,7 @@
if link:
self.link_program()
- cdef void build_fragment(self, int link=1):
+ cdef void build_fragment(self, int link=1) except *:
if self.fragment_shader is not None:
glDetachShader(self.program, self.fragment_shader.shader)
self.fragment_shader = None
@@ -477,7 +477,7 @@
if link:
self.link_program()
- cdef void link_program(self):
+ cdef void link_program(self) except *:
if self.vertex_shader is None or self.fragment_shader is None:
return
--- kivy/graphics.orig/instructions.pyx 2015-02-19 07:27:13.062070969 +0100
+++ kivy/graphics/instructions.pyx 2014-01-20 03:49:50.000000000 +0100
@@ -233,15 +233,15 @@
if self.context_pop:
context.pop_states(self.context_pop)
- cdef void set_state(self, str name, value):
+ cdef void set_state(self, str name, value) except *:
self.context_state[name] = value
self.flag_update()
- cdef void push_state(self, str name):
+ cdef void push_state(self, str name) except *:
self.context_push.append(name)
self.flag_update()
- cdef void pop_state(self, str name):
+ cdef void pop_state(self, str name) except *:
self.context_pop.append(name)
self.flag_update()
@@ -764,29 +764,29 @@
cdef get_state(self, str name):
return self.state_stacks[name][-1]
- cdef void set_states(self, dict states):
+ cdef void set_states(self, dict states) except *:
cdef str name
for name, value in states.iteritems():
self.set_state(name, value)
- cdef void push_state(self, str name):
+ cdef void push_state(self, str name) except *:
stack = self.state_stacks[name]
stack.append(stack[-1])
self.flag_update()
- cdef void push_states(self, list names):
+ cdef void push_states(self, list names) except *:
cdef str name
for name in names:
self.push_state(name)
- cdef void pop_state(self, str name):
+ cdef void pop_state(self, str name) except *:
stack = self.state_stacks[name]
oldvalue = stack.pop()
if oldvalue != stack[-1]:
self.set_state(name, stack[-1])
self.flag_update()
- cdef void pop_states(self, list names):
+ cdef void pop_states(self, list names) except *:
cdef str name
for name in names:
self.pop_state(name)
@@ -806,10 +806,10 @@
texture.bind()
self.flag_update()
- cdef void enter(self):
+ cdef void enter(self) except *:
self._shader.use()
- cdef void leave(self):
+ cdef void leave(self) except *:
self._shader.stop()
cdef void apply(self):
--- kivy/graphics.orig/instructions.pxd 2015-02-19 07:44:16.315415541 +0100
+++ kivy/graphics/instructions.pxd 2014-01-20 03:49:50.000000000 +0100
@@ -115,7 +115,7 @@
cdef void pop_states(self, list names) except *
cdef void enter(self) except *
cdef void leave(self) except *
- cdef void apply(self) except *
+ cdef void apply(self)
cpdef draw(self)
cdef void reload(self)

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/blessings/blessings-1.6.ebuild,v 1.1 2015/02/17 12:36:20 jlec Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/blessings/blessings-1.6.ebuild,v 1.2 2015/02/19 08:07:55 jlec Exp $
EAPI=5
@ -18,6 +18,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
DEPEND="dev-python/nose[${PYTHON_USEDEP}]"
RDEPEND=""
python_test() {
nosetests --verbosity=3 ${PN} || die

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/boto/boto-2.35.1.ebuild,v 1.2 2015/01/10 06:17:48 radhermit Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/boto/boto-2.35.1.ebuild,v 1.3 2015/02/19 09:08:29 ago Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
KEYWORDS="amd64 ~arm ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="test"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/bpython/bpython-0.14.ebuild,v 1.2 2015/02/18 18:32:34 grozin Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/bpython/bpython-0.14.ebuild,v 1.3 2015/02/19 09:14:50 grozin Exp $
EAPI=5
@ -20,7 +20,7 @@ SRC_URI="
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc gtk test"
IUSE="doc test"
RDEPEND="
dev-python/curtsies[${PYTHON_USEDEP}]
@ -32,10 +32,6 @@ RDEPEND="
>=dev-python/six-1.4[${PYTHON_USEDEP}]
dev-python/urwid[${PYTHON_USEDEP}]
dev-python/watchdog[${PYTHON_USEDEP}]
gtk? (
dev-python/pygobject:2[$(python_gen_usedep python2_7)]
dev-python/pygtk[$(python_gen_usedep python2_7)]
)
"
DEPEND="${RDEPEND}
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
@ -57,20 +53,8 @@ python_compile_all() {
fi
}
python_install() {
distutils-r1_python_install
if ! use gtk; then
rm -f "${D}"usr/bin/bpython-gtk*
# delete_unneeded_modules() {
rm -f "${D}$(python_get_sitedir)/bpython/gtk_.py"
fi
}
python_test() {
pushd build/lib > /dev/null
# https://bitbucket.org/bobf/bpython/issue/289/test-failures-in-latest-release-py27-py33
sed -e s':test_enter:_&:' -i bpython/test/test_repl.py || die
"${PYTHON}" -m unittest discover || die
popd > /dev/null
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/jsonschema/jsonschema-2.3.0.ebuild,v 1.5 2014/07/06 12:42:33 mgorny Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/jsonschema/jsonschema-2.3.0.ebuild,v 1.6 2015/02/19 10:40:42 ago Exp $
EAPI=5
PYTHON_COMPAT=(python{2_6,2_7,3_{2,3,4}} pypy pypy2_0)
@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
python_test() {

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pgasync/pgasync-2.01-r1.ebuild,v 1.1 2015/01/07 11:21:07 titanofold Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/pgasync/pgasync-2.01-r1.ebuild,v 1.2 2015/02/19 09:08:24 ago Exp $
EAPI="5"
@ -14,7 +14,7 @@ SRC_URI="http://www.jamwt.com/pgasync/files/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 ~x86"
IUSE="doc"
DEPEND="dev-python/twisted-core[${PYTHON_USEDEP}]"

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/prettytable/prettytable-0.7.1-r1.ebuild,v 1.3 2014/11/24 15:16:16 pacho Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/prettytable/prettytable-0.7.1-r1.ebuild,v 1.4 2015/02/19 10:39:51 ago Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} )
@ -14,7 +14,7 @@ SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"

@ -1,44 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyode/pyode-1.2.0_p20100322.ebuild,v 1.5 2011/04/14 20:33:21 ranger Exp $
EAPI="3"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython"
inherit distutils
MY_P="${P/pyode/PyODE}"
SNAPSHOT_DATE="2010-03-22" # This is a snapshot
DESCRIPTION="Python bindings to the ODE physics engine"
HOMEPAGE="http://pyode.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/PyODE-snapshot-${SNAPSHOT_DATE}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ppc x86 ~x86-fbsd"
IUSE="examples"
RDEPEND=">=dev-games/ode-0.7
>=dev-python/pyrex-0.9.4.1"
DEPEND="${RDEPEND}"
S="${WORKDIR}/PyODE-snapshot-${SNAPSHOT_DATE}"
PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
PYTHON_MODNAME="xode"
src_install() {
distutils_src_install
# The build system doesnt error if it fails to build
# the ode library so we need our own sanity check
[[ -z $(find "${D}" -name ode.so) ]] && die "failed to build/install :("
if use examples; then
insinto "/usr/share/doc/${PF}"
doins -r examples
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/qt-creator-3.3.0.ebuild,v 1.4 2015/02/18 18:31:41 pesa Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/qt-creator-3.3.0.ebuild,v 1.5 2015/02/18 19:05:28 pesa Exp $
EAPI=5
@ -42,7 +42,7 @@ RDEPEND="
>=dev-qt/designer-${QT_PV}
>=dev-qt/qtconcurrent-${QT_PV}
>=dev-qt/qtcore-${QT_PV}
>=dev-qt/qtdeclarative-${QT_PV}
>=dev-qt/qtdeclarative-${QT_PV}[widgets]
>=dev-qt/qtgui-${QT_PV}
>=dev-qt/qthelp-${QT_PV}
>=dev-qt/qtnetwork-${QT_PV}[ssl]

@ -1 +0,0 @@
DIST drydock-0.6.9.gem 23040 SHA256 d2bbd5be1ba4dde949e7eeca15e64c97ad77a853dc56493fa323c11acc182e3f SHA512 f1775c1f6e1f242306a36397b914a510c823ad404926d2e9176202e66903da57ed8810472725cc9762859636385adbfc4c4d46906a3d9126b81e81b7581e3551 WHIRLPOOL 3faefb003ba89e2e6f5710e35c168ef241a4e745c595be7b67474570021491624c7be3a5d170b0e4d3f825263704f9fdca9b13b4770ec01686dda5fe5adacdb2

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

Loading…
Cancel
Save