Sync with portage [Wed Jul 13 03:15:02 MSK 2016].

mhiretskiy 444
root 8 years ago
parent 1f7b9b94ca
commit a211f1acbd

@ -1,2 +1 @@
DIST krb5-1.14.1.tar.gz 12259025 SHA256 c8faa44574246f5bd0ce5a3dedc48c32db48a74cc4323949bf70f0ac2d6f1a99 SHA512 5d64bb30ecb9e267e2494cea4995d8cc314916d8f6a9318fb80067ae6389ad7468656400d996698b6dc0bdb4c1355c13701b570521a7c40008cf1f83df24847d WHIRLPOOL 2d4ab7e8e65d27ce207bd1d254586f95c8b219c01d2deb2fe60f8d5f84e13cd52881bbc2b51c1ee2d40a81570afa15d46c8446e5c6ec052e7621b76d34b72a7d
DIST krb5-1.14.2.tar.gz 12264762 SHA256 6bcad7e6778d1965e4ce4af21d2efdc15b274c5ce5c69031c58e4c954cda8b27 SHA512 8e0d8203740aac78b65a62c0f79998b56dae23725763f645ae13a92dc4263d193e7334f84e278ca873d2b72d425f47cd4b68b58690d029dccce41e8a157b16f0 WHIRLPOOL 18a3729f5bfb928318f5cc28c919cbc49ee9179199ee82445922a5f2e8afbf4ed5a31f7e710877f8c12ef75f326723e7410608ce538983ce1b811e16091d72a1

@ -1,151 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit autotools eutils flag-o-matic multilib-minimal python-any-r1 versionator
MY_P="${P/mit-}"
P_DIR=$(get_version_component_range 1-2)
DESCRIPTION="MIT Kerberos V"
HOMEPAGE="http://web.mit.edu/kerberos/www/"
SRC_URI="http://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}.tar.gz"
LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
IUSE="doc +keyutils libressl openldap +pkinit selinux +threads test xinetd"
CDEPEND="
!!app-crypt/heimdal
>=sys-libs/e2fsprogs-libs-1.42.9[${MULTILIB_USEDEP}]
|| (
>=dev-libs/libverto-0.2.5[libev,${MULTILIB_USEDEP}]
>=dev-libs/libverto-0.2.5[libevent,${MULTILIB_USEDEP}]
>=dev-libs/libverto-0.2.5[tevent,${MULTILIB_USEDEP}]
)
keyutils? ( >=sys-apps/keyutils-1.5.8[${MULTILIB_USEDEP}] )
openldap? ( >=net-nds/openldap-2.4.38-r1[${MULTILIB_USEDEP}] )
pkinit? (
!libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] )
libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] )
)
xinetd? ( sys-apps/xinetd )
abi_x86_32? (
!<=app-emulation/emul-linux-x86-baselibs-20140508-r1
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
)"
DEPEND="${CDEPEND}
${PYTHON_DEPS}
virtual/yacc
doc? ( virtual/latex-base )
test? (
${PYTHON_DEPS}
dev-lang/tcl:0
dev-util/dejagnu
)"
RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-kerberos )"
S=${WORKDIR}/${MY_P}/src
MULTILIB_CHOST_TOOLS=(
/usr/bin/krb5-config
)
src_prepare() {
epatch "${FILESDIR}/${PN}-1.12_warn_cflags.patch"
epatch "${FILESDIR}/${PN}-config_LDFLAGS.patch"
eautoreconf
}
src_configure() {
append-cppflags "-I${EPREFIX}/usr/include/et"
# QA
append-flags -fno-strict-aliasing
append-flags -fno-strict-overflow
multilib-minimal_src_configure
}
multilib_src_configure() {
use keyutils || export ac_cv_header_keyutils_h=no
ECONF_SOURCE=${S} \
WARN_CFLAGS="set" \
econf \
$(use_with openldap ldap) \
"$(multilib_native_use_with test tcl "${EPREFIX}/usr")" \
$(use_enable pkinit) \
$(use_enable threads thread-support) \
--without-hesiod \
--enable-shared \
--with-system-et \
--with-system-ss \
--enable-dns-for-realm \
--enable-kdc-lookaside-cache \
--with-system-verto \
--disable-rpath
}
multilib_src_compile() {
emake -j1
}
multilib_src_test() {
multilib_is_native_abi && emake -j1 check
}
multilib_src_install() {
emake \
DESTDIR="${D}" \
EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \
install
}
multilib_src_install_all() {
# default database dir
keepdir /var/lib/krb5kdc
cd ..
dodoc README
if use doc; then
dohtml -r doc/html/*
docinto pdf
dodoc doc/pdf/*.pdf
fi
newinitd "${FILESDIR}"/mit-krb5kadmind.initd-r2 mit-krb5kadmind
newinitd "${FILESDIR}"/mit-krb5kdc.initd-r2 mit-krb5kdc
newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r2 mit-krb5kpropd
newconfd "${FILESDIR}"/mit-krb5kadmind.confd mit-krb5kadmind
newconfd "${FILESDIR}"/mit-krb5kdc.confd mit-krb5kdc
newconfd "${FILESDIR}"/mit-krb5kpropd.confd mit-krb5kpropd
insinto /etc
newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example
insinto /var/lib/krb5kdc
newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example
if use openldap ; then
insinto /etc/openldap/schema
doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema"
fi
if use xinetd ; then
insinto /etc/xinetd.d
newins "${FILESDIR}/kpropd.xinetd" kpropd
fi
}
pkg_preinst() {
if has_version "<${CATEGORY}/${PN}-1.8.0" ; then
elog "MIT split the Kerberos applications from the base Kerberos"
elog "distribution. Kerberized versions of telnet, rlogin, rsh, rcp,"
elog "ftp clients and telnet, ftp deamons now live in"
elog "\"app-crypt/mit-krb5-appl\" package."
fi
}

@ -1,7 +1,9 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="English"
TO_LANG="Traditional Chinese (BIG5)"
DICT_PREFIX="cdict-"
@ -9,10 +11,7 @@ DICT_SUFFIX="big5"
inherit stardict
HOMEPAGE="http://stardict.sourceforge.net/Dictionaries_zh_TW.php"
HOMEPAGE="http://download.huzheng.org/zh_TW/"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""
DEPEND=""
RDEPEND=""

@ -1,7 +1,9 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="English"
TO_LANG="Simplified Chinese (GB)"
DICT_PREFIX="cdict-"
@ -9,10 +11,7 @@ DICT_SUFFIX="gb"
inherit stardict
HOMEPAGE="http://stardict.sourceforge.net/Dictionaries_zh_CN.php"
HOMEPAGE="http://download.huzheng.org/zh_CN/"
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86"
IUSE=""
DEPEND=""
RDEPEND=""

@ -1,7 +1,9 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="Traditional Chinese (BIG5)"
TO_LANG="English"
DICT_PREFIX="cedict-"
@ -9,10 +11,7 @@ DICT_SUFFIX="big5"
inherit stardict
HOMEPAGE="http://stardict.sourceforge.net/Dictionaries_zh_TW.php"
HOMEPAGE="http://download.huzheng.org/zh_TW/"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""
DEPEND=""
RDEPEND=""

@ -1,7 +1,9 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="Simplified Chinese (GB)"
TO_LANG="English"
DICT_PREFIX="cedict-"
@ -9,10 +11,7 @@ DICT_SUFFIX="gb"
inherit stardict
HOMEPAGE="http://stardict.sourceforge.net/Dictionaries_zh_CN.php"
HOMEPAGE="http://download.huzheng.org/zh_CN/"
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86"
IUSE=""
DEPEND=""
RDEPEND=""

@ -1,16 +1,15 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DICT_PREFIX="dictd_www.dict.org_"
inherit stardict
DESCRIPTION="Stardict Dictionary for Dictd.org's Devil's Dictionary"
HOMEPAGE="http://stardict.sourceforge.net/Dictionaries_dictd-www.dict.org.php"
HOMEPAGE="http://download.huzheng.org/dict.org/"
KEYWORDS="~amd64 ppc sparc x86"
IUSE=""
DEPEND=""
RDEPEND=""

@ -1,16 +1,15 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="English"
TO_LANG="German"
DICT_PREFIX="dictd_www.freedict.de_"
inherit stardict
HOMEPAGE="http://stardict.sourceforge.net/Dictionaries_dictd-www.freedict.de.php"
HOMEPAGE="http://download.huzheng.org/freedict.de/"
KEYWORDS="amd64 ppc sparc x86"
IUSE=""
DEPEND=""
RDEPEND=""

@ -1,17 +1,16 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="English"
TO_LANG="French"
DICT_PREFIX="dictd_www.freedict.de_"
inherit stardict
HOMEPAGE="http://stardict.sourceforge.net/Dictionaries_dictd-www.freedict.de.php"
HOMEPAGE="http://download.huzheng.org/freedict.de/"
KEYWORDS="amd64 ppc sparc x86"
IUSE=""
DEPEND=""
RDEPEND=""

@ -1,17 +1,16 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="English"
TO_LANG="Italian"
DICT_PREFIX="dictd_www.freedict.de_"
inherit stardict
HOMEPAGE="http://stardict.sourceforge.net/Dictionaries_dictd-www.freedict.de.php"
HOMEPAGE="http://download.huzheng.org/freedict.de/"
KEYWORDS="amd64 ppc sparc x86"
IUSE=""
DEPEND=""
RDEPEND=""

@ -1,17 +1,16 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="English"
TO_LANG="Latin"
DICT_PREFIX="dictd_www.freedict.de_"
inherit stardict
HOMEPAGE="http://stardict.sourceforge.net/Dictionaries_dictd-www.freedict.de.php"
HOMEPAGE="http://download.huzheng.org/freedict.de/"
KEYWORDS="amd64 ppc sparc x86"
IUSE=""
DEPEND=""
RDEPEND=""

@ -1,17 +1,16 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="English"
TO_LANG="Russian"
DICT_PREFIX="dictd_www.freedict.de_"
inherit stardict
HOMEPAGE="http://stardict.sourceforge.net/Dictionaries_dictd-www.freedict.de.php"
HOMEPAGE="http://download.huzheng.org/freedict.de/"
KEYWORDS="amd64 ppc sparc x86"
IUSE=""
DEPEND=""
RDEPEND=""

@ -1,17 +1,16 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="English"
TO_LANG="Spanish"
DICT_PREFIX="dictd_www.freedict.de_"
inherit stardict
HOMEPAGE="http://stardict.sourceforge.net/Dictionaries_dictd-www.freedict.de.php"
HOMEPAGE="http://download.huzheng.org/freedict.de/"
KEYWORDS="amd64 ppc sparc x86"
IUSE=""
DEPEND=""
RDEPEND=""

@ -1,17 +1,16 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="English"
TO_LANG="Swedish"
DICT_PREFIX="dictd_www.freedict.de_"
inherit stardict
HOMEPAGE="http://stardict.sourceforge.net/Dictionaries_dictd-www.freedict.de.php"
HOMEPAGE="http://download.huzheng.org/freedict.de/"
KEYWORDS="amd64 ppc sparc x86"
IUSE=""
DEPEND=""
RDEPEND=""

@ -1,12 +1,16 @@
# Copyright 1999-2010 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="English"
TO_LANG="Turkish"
DICT_PREFIX="freedict-"
inherit stardict
HOMEPAGE="http://download.huzheng.org/freedict.de/"
KEYWORDS="amd64 ppc sparc x86"
IUSE=""

@ -1,12 +1,16 @@
# Copyright 1999-2010 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="Turkish"
TO_LANG="German"
DICT_PREFIX="freedict-"
inherit stardict
HOMEPAGE="http://download.huzheng.org/freedict.de/"
KEYWORDS="amd64 ppc sparc x86"
IUSE=""

@ -1,12 +1,16 @@
# Copyright 1999-2010 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="Turkish"
TO_LANG="English"
DICT_PREFIX="freedict-"
inherit stardict
HOMEPAGE="http://download.huzheng.org/freedict.de/"
KEYWORDS="amd64 ppc sparc x86"
IUSE=""

@ -1,19 +1,20 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="German"
TO_LANG="Vietnamese"
inherit stardict
HOMEPAGE="http://forum.vnoss.org/viewtopic.php?id=1818"
SRC_URI="http://james.dyndns.ws/pub/Dictionary/StarDict-James/DucViet45K.zip"
HOMEPAGE="https://sourceforge.net/projects/ovdp/"
SRC_URI="mirror://gentoo/DucViet45K.zip"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="app-arch/unzip"
RDEPEND=""
S=${WORKDIR}/DucViet

@ -1,19 +1,20 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="English"
TO_LANG="Vietnamese"
inherit stardict
HOMEPAGE="http://forum.vnoss.org/viewtopic.php?id=1818"
SRC_URI="http://james.dyndns.ws/pub/Dictionary/StarDict-James/AnhViet109K.zip"
HOMEPAGE="https://sourceforge.net/projects/ovdp/"
SRC_URI="mirror://gentoo/AnhViet109K.zip"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="app-arch/unzip"
RDEPEND=""
S=${WORKDIR}/AnhViet

@ -1,19 +1,20 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="French"
TO_LANG="Vietnamese"
inherit stardict
HOMEPAGE="http://forum.vnoss.org/viewtopic.php?id=1818"
SRC_URI="http://james.dyndns.ws/pub/Dictionary/StarDict-James/PhapViet47K.zip"
HOMEPAGE="https://sourceforge.net/projects/ovdp/"
SRC_URI="mirror://gentoo/PhapViet47K.zip"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="app-arch/unzip"
RDEPEND=""
S=${WORKDIR}/PhapViet

@ -1,19 +1,20 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="Russian"
TO_LANG="Vietnamese"
inherit stardict
HOMEPAGE="http://forum.vnoss.org/viewtopic.php?id=1818"
SRC_URI="http://james.dyndns.ws/pub/Dictionary/StarDict-James/NgaViet38K.zip"
HOMEPAGE="https://sourceforge.net/projects/ovdp/"
SRC_URI="mirror://gentoo/NgaViet38K.zip"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="app-arch/unzip"
RDEPEND=""
S=${WORKDIR}/NgaViet

@ -1,19 +1,20 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="Vietnamese"
TO_LANG="German"
inherit stardict
HOMEPAGE="http://forum.vnoss.org/viewtopic.php?id=1818"
SRC_URI="http://james.dyndns.ws/pub/Dictionary/StarDict-James/VietDuc12K.zip"
HOMEPAGE="https://sourceforge.net/projects/ovdp/"
SRC_URI="mirror://gentoo/VietDuc12K.zip"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="app-arch/unzip"
RDEPEND=""
S=${WORKDIR}/VietDuc

@ -1,19 +1,20 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="Vietnamese"
TO_LANG="English"
inherit stardict
HOMEPAGE="http://forum.vnoss.org/viewtopic.php?id=1818"
SRC_URI="http://james.dyndns.ws/pub/Dictionary/StarDict-James/VietAnh23K.zip"
HOMEPAGE="https://sourceforge.net/projects/ovdp/"
SRC_URI="mirror://gentoo/VietAnh23K.zip"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="app-arch/unzip"
RDEPEND=""
S=${WORKDIR}/VietAnh

@ -1,19 +1,20 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="Vietnamese"
TO_LANG="French"
inherit stardict
HOMEPAGE="http://forum.vnoss.org/viewtopic.php?id=1818"
SRC_URI="http://james.dyndns.ws/pub/Dictionary/StarDict-James/VietPhap38K.zip"
HOMEPAGE="https://sourceforge.net/projects/ovdp/"
SRC_URI="mirror://gentoo/VietPhap38K.zip"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="app-arch/unzip"
RDEPEND=""
S=${WORKDIR}/VietPhap

@ -1,19 +1,20 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="Vietnamese"
TO_LANG="Vietnamese"
inherit stardict
HOMEPAGE="http://forum.vnoss.org/viewtopic.php?id=1818"
SRC_URI="http://james.dyndns.ws/pub/Dictionary/StarDict-James/VietViet30K.zip"
HOMEPAGE="https://sourceforge.net/projects/ovdp/"
SRC_URI="mirror://gentoo/VietViet30K.zip"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="app-arch/unzip"
RDEPEND=""
S=${WORKDIR}/VietViet

@ -1,19 +1,18 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="English"
TO_LANG="Japanese"
DICT_PREFIX="jmdict-"
inherit stardict
HOMEPAGE="http://stardict.sourceforge.net/Dictionaries_ja.php"
SRC_URI="mirror://sourceforge/stardict/${P}.tar.bz2"
HOMEPAGE="http://download.huzheng.org/ja/"
SRC_URI="http://download.huzheng.org/ja/${P}.tar.bz2"
LICENSE="GDLS"
KEYWORDS="~amd64 ~ppc sparc x86"
IUSE=""
DEPEND=""
RDEPEND=""

@ -1,19 +1,18 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="Japanese"
TO_LANG="English"
DICT_PREFIX="jmdict-"
inherit stardict
HOMEPAGE="http://stardict.sourceforge.net/Dictionaries_ja.php"
SRC_URI="mirror://sourceforge/stardict/${P}.tar.bz2"
HOMEPAGE="http://download.huzheng.org/ja/"
SRC_URI="http://download.huzheng.org/ja/${P}.tar.bz2"
LICENSE="GDLS"
KEYWORDS="~amd64 ~ppc sparc x86"
IUSE=""
DEPEND=""
RDEPEND=""

@ -1,7 +1,9 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="English"
TO_LANG="Simplified Chinese (GB)"
DICT_PREFIX="langdao-ec-"
@ -9,10 +11,7 @@ DICT_SUFFIX="gb"
inherit stardict
HOMEPAGE="http://stardict.sourceforge.net/Dictionaries_zh_CN.php"
HOMEPAGE="http://download.huzheng.org/zh_CN/"
KEYWORDS="~amd64 ~arm ppc sparc x86"
IUSE=""
DEPEND=""
RDEPEND=""

@ -1,7 +1,9 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="Simplified Chinese (GB)"
TO_LANG="English"
DICT_PREFIX="langdao-ce-"
@ -9,10 +11,7 @@ DICT_SUFFIX="gb"
inherit stardict
HOMEPAGE="http://stardict.sourceforge.net/Dictionaries_zh_CN.php"
HOMEPAGE="http://download.huzheng.org/zh_CN/"
KEYWORDS="~amd64 ~arm ~ppc sparc x86"
IUSE=""
DEPEND=""
RDEPEND=""

@ -1,16 +1,15 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DICT_PREFIX="dictd_www.mova.org_"
inherit stardict
DESCRIPTION="Stardict Dictionary for Mova.org's Smiley Dictionary"
HOMEPAGE="http://stardict.sourceforge.net/Dictionaries_dictd-www.mova.org.php"
HOMEPAGE="http://download.huzheng.org/mova.org/"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""
DEPEND=""
RDEPEND=""

@ -1,7 +1,9 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="English"
TO_LANG="Simplified Chinese (GB)"
DICT_PREFIX="oxford-"
@ -9,10 +11,7 @@ DICT_SUFFIX="gb"
inherit stardict
HOMEPAGE="http://stardict.sourceforge.net/Dictionaries_zh_CN.php"
HOMEPAGE="http://download.huzheng.org/zh_CN/"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86"
IUSE=""
DEPEND=""
RDEPEND=""

@ -1,17 +1,16 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="English"
TO_LANG="French"
DICT_PREFIX="quick_"
inherit stardict
HOMEPAGE="http://stardict.sourceforge.net/Dictionaries_Quick.php"
HOMEPAGE="http://download.huzheng.org/Quick/"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""
DEPEND=""
RDEPEND=""

@ -1,17 +1,16 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="English"
TO_LANG="Japanese Romaji"
DICT_PREFIX="quick_"
inherit stardict
HOMEPAGE="http://stardict.sourceforge.net/Dictionaries_Quick.php"
HOMEPAGE="http://download.huzheng.org/Quick/"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""
DEPEND=""
RDEPEND=""

@ -1,17 +1,16 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="Japanese Romaji"
TO_LANG="English"
DICT_PREFIX="quick_"
inherit stardict
HOMEPAGE="http://stardict.sourceforge.net/Dictionaries_Quick.php"
HOMEPAGE="http://download.huzheng.org/Quick/"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""
DEPEND=""
RDEPEND=""

@ -1,7 +1,9 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="Russian"
TO_LANG="English"
DICT_PREFIX=""
@ -10,7 +12,7 @@ DICT_SUFFIX="quick_rus-eng"
inherit stardict
DESCRIPTION="Quick but still useful Russian to English dictionary"
HOMEPAGE="http://stardict.sourceforge.net/Dictionaries_dictd-www.mova.org.php"
HOMEPAGE="http://download.huzheng.org/Quick/"
KEYWORDS="amd64 x86"
IUSE=""

@ -1,7 +1,9 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="English"
TO_LANG="Traditional Chinese (BIG5)"
DICT_PREFIX="xdict-ec-"
@ -9,10 +11,7 @@ DICT_SUFFIX="big5"
inherit stardict
HOMEPAGE="http://stardict.sourceforge.net/Dictionaries_zh_TW.php"
HOMEPAGE="http://download.huzheng.org/zh_TW/"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""
DEPEND=""
RDEPEND=""

@ -1,7 +1,9 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="English"
TO_LANG="Simplified Chinese (GB)"
DICT_PREFIX="xdict-ec-"
@ -9,10 +11,7 @@ DICT_SUFFIX="gb"
inherit stardict
HOMEPAGE="http://stardict.sourceforge.net/Dictionaries_zh_GB.php"
HOMEPAGE="http://download.huzheng.org/zh_CN/"
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86"
IUSE=""
DEPEND=""
RDEPEND=""

@ -1,7 +1,9 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="Traditional Chinese (BIG5)"
TO_LANG="English"
DICT_PREFIX="xdict-ce-"
@ -9,10 +11,7 @@ DICT_SUFFIX="big5"
inherit stardict
HOMEPAGE="http://stardict.sourceforge.net/Dictionaries_zh_TW.php"
HOMEPAGE="http://download.huzheng.org/zh_TW/"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""
DEPEND=""
RDEPEND=""

@ -1,7 +1,9 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FROM_LANG="Simplified Chinese (GB)"
TO_LANG="English"
DICT_PREFIX="xdict-ce-"
@ -9,10 +11,7 @@ DICT_SUFFIX="gb"
inherit stardict
HOMEPAGE="http://stardict.sourceforge.net/Dictionaries_zh_CN.php"
HOMEPAGE="http://download.huzheng.org/zh_CN/"
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86"
IUSE=""
DEPEND=""
RDEPEND=""

@ -0,0 +1 @@
DIST ganeti-os-noop-0.2.tar.gz 2247 SHA256 4f0f8c72a1f954b52fa6c01ff7f85af62b3bb64f480e898be3fe542c69e52074 SHA512 ae121759ef775a5fee552ef2f939bb01126ff5fee3deeadae234a6f6f66b2589be1a6cc686d564d3a77406f5839f1cf914a3492c3ea9cc803427967fb75e3c5b WHIRLPOOL 57c773d4db9c119089835e5d0800807ce2dd0779435eeffa30c347e787db5425bc7b9438f24cab45be6f13f82ab6333864cafe1b41be5c83f55ab04c9c94643f

@ -0,0 +1,26 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
DESCRIPTION="Dummy OS provider for Ganeti"
HOMEPAGE="https://github.com/grnet/ganeti-os-noop"
SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND=""
src_install() {
dodoc CONTRIBUTORS
cd ganeti/os/noop
insinto /usr/share/ganeti/os/noop/
doins ganeti_api_version
exeinto /usr/share/ganeti/os/noop/
doexe create export import rename
}

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

@ -29,7 +29,6 @@ else
"${WORKDIR}"/debian/patches/do-not-backup-export-dir.patch
"${WORKDIR}"/debian/patches/Makefile.am-use-C.UTF-8
"${WORKDIR}"/debian/patches/relax-deps
"${WORKDIR}"/debian/patches/ghc-7.10-compatibility.patch
"${WORKDIR}"/debian/patches/zlib-0.6-compatibility
"${WORKDIR}"/debian/patches/fix_FTBFS_with_sphinx-1.3.5
"${WORKDIR}"/debian/patches/fix_ftbfs_with_sphinx_1.4
@ -78,7 +77,7 @@ DEPEND="
>=dev-haskell/old-time-1.1.0.0:0=
>=dev-haskell/random-1.0.1.1:0=
haskell-daemons? ( >=dev-haskell/text-0.11.1.13:0= )
>=dev-haskell/transformers-0.4.3.0:0=
>=dev-haskell/transformers-0.3.0.0:0=
>=dev-haskell/attoparsec-0.10.1.1:0=
<dev-haskell/attoparsec-0.14:0
@ -205,6 +204,12 @@ pkg_setup () {
src_prepare() {
local testfile
if has_version '>=dev-lang/ghc-7.10'; then
# Breaks the build on 7.8
PATCHES+=(
"${WORKDIR}"/debian/patches/ghc-7.10-compatibility.patch
)
fi
eapply "${PATCHES[@]}"
# Upstream commits:
# 4c3c2ca2a97a69c0287a3d23e064bc17978105eb

@ -1,3 +1,4 @@
DIST ispc-1.8.2-llvm-3.7.patch.gz 15723 SHA256 8fc724b7076b0d288cf1ffeb1d71cfdbba8bf54e5923c1b862572646f6f29931 SHA512 7ad3997e8c0168d83bdc9cd0444e48467c31f9f497105ea6a98c358f8dd1db5c9acba636e5d86e6aed77c16f2a9d776142a3f2f9d2e3780ffddbb116e6679054 WHIRLPOOL 9f92edb0dbec381f43dea9b929683186254a8824cbf8b213d460166b03bf952555b0386f9346732e1ad5bd8ba90dac3c7ef531be94b30dd3288918026ae60064
DIST ispc-1.8.2.tar.gz 19259133 SHA256 d17ea68b7192d261a2830d6e00df656a73fbccd08a249433fcaf24a886902a9d SHA512 bb1f64afe41af138c386fb12a2a7f477f7bc8df2543191bbe7e5d7624e6b00dfec11ba422f6f396cd91af1c7b4cb5d2b3febf7902740d85c6d068de8ab94765a WHIRLPOOL 45ba7c52b3ada111f518b2a94d71d8c259040114ae84881c693f6e3491bd4b6897563eba4bccb6ae83a7cb90901bf1723bcbfeb9a124267ed235b1b8fdf61d69
DIST ispc-1.9.0.tar.gz 19271046 SHA256 b151e50f80754d81302f968c66cc7444c65010c20d1f83382b94c22491bb3971 SHA512 d886697fd0390017ee0b8c8682834d8b600b10c08eb069eea53eba7cc68788ec5a8e3f50366636add362c5a0508ef38fc0789f6a349d913b972f325830c78c28 WHIRLPOOL 63020bc499e16655bed565187d97ca7810aea294ca32ec8bef5344e4fb11ecc109cf6af7018d820ed28674b82c2a50148bb2d598d0d3cee848d990072bedb717
DIST ispc-1.9.1.tar.gz 19276043 SHA256 c52910a007f1b0c732dd1cb981e7c22f3b9b575f0b097a49f4e43fc7a3e7e976 SHA512 4acd9e99dadba684829235a267e15ca8ff4cf33c4cadaa2983006bcb2c2f45fce49e8b11963f4bce78c256aaf8ece0583cf6cb729c6bc75af32b7fa4238ca743 WHIRLPOOL 3eabea7e671ba4383f517b05c47409ec11dabc822e56ec2d909a6bb37f5d56ac7bb94be6b3059edb8ad7bc036d7bebe5061772c4fd0650f1e7c04f4d2ce12cdf

@ -0,0 +1,52 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit toolchain-funcs python-any-r1
DESCRIPTION="Intel SPMD Program Compiler"
HOMEPAGE="https://ispc.github.com/"
if [[ ${PV} = *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="git://github.com/ispc/ispc.git"
KEYWORDS=""
else
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="BSD BSD-2 UoI-NCSA"
SLOT="0"
IUSE="examples"
RDEPEND="
>=sys-devel/clang-3.0
>=sys-devel/llvm-3.0
"
DEPEND="
${RDEPEND}
${PYTHON_DEPS}
sys-devel/bison
sys-devel/flex
"
src_compile() {
sed -i '/^\t@/s/@//' Makefile || die #make all slient commands ("@") verbose
emake LDFLAGS="${LDFLAGS}" OPT="${CXXFLAGS}" CXX="$(tc-getCXX)" CPP="$(tc-getCPP)"
}
src_install() {
dobin ispc
dodoc README.rst
if use examples; then
insinto "/usr/share/doc/${PF}/examples"
docompress -x "/usr/share/doc/${PF}/examples"
doins -r examples/*
fi
}

@ -132,16 +132,24 @@ src_prepare() {
}
ejam() {
local b2_opts="--user-config=${BOOST_ROOT}/user-config.jam $@"
echo b2 ${b2_opts}
b2 ${b2_opts}
local b2_opts=(
"--user-config=${BOOST_ROOT}/user-config.jam"
"$@"
)
echo b2 "${b2_opts[@]}"
b2 "${b2_opts[@]}"
}
src_configure() {
# Workaround for too many parallel processes requested, bug #506064
[ "$(makeopts_jobs)" -gt 64 ] && MAKEOPTS="${MAKEOPTS} -j64"
OPTIONS="$(usex debug gentoodebug gentoorelease) -j$(makeopts_jobs) -q -d+2"
OPTIONS=(
$(usex debug gentoodebug gentoorelease)
"-j$(makeopts_jobs)"
-q
-d+2
)
if [[ ${CHOST} == *-darwin* ]]; then
# We need to add the prefix, and in two cases this exceeds, so prepare
@ -166,18 +174,37 @@ src_configure() {
# Do _not_ use C++11 yet, make sure to force GNU C++ 98 standard.
append-cxxflags -std=gnu++98
use icu && OPTIONS+=" -sICU_PATH=${EPREFIX}/usr"
use icu || OPTIONS+=" --disable-icu boost.locale.icu=off"
mpi_needed || OPTIONS+=" --without-mpi"
use nls || OPTIONS+=" --without-locale"
use context || OPTIONS+=" --without-context --without-coroutine --without-coroutine2"
OPTIONS+=" pch=off"
OPTIONS+=" --boost-build=\"${EPREFIX}\"/usr/share/boost-build --prefix=\"${ED}usr\""
OPTIONS+=" --layout=system"
OPTIONS+=" threading=$(usex threads multi single) link=$(usex static-libs shared,static shared)"
use icu && OPTIONS+=(
"-sICU_PATH=${EPREFIX}/usr"
)
use icu || OPTIONS+=(
--disable-icu
boost.locale.icu=off
)
mpi_needed || OPTIONS+=(
--without-mpi
)
use nls || OPTIONS+=(
--without-locale
)
use context || OPTIONS+=(
--without-context
--without-coroutine
--without-coroutine2
)
[[ ${CHOST} == *-winnt* ]] && OPTIONS+=" -sNO_BZIP2=1"
OPTIONS+=(
pch=off
--boost-build="${EPREFIX}"/usr/share/boost-build
--prefix="${ED}usr"
--layout=system
threading=$(usex threads multi single)
link=$(usex static-libs shared,static shared)
)
[[ ${CHOST} == *-winnt* ]] && OPTIONS+=(
-sNO_BZIP2=1
)
}
multilib_src_compile() {
@ -196,7 +223,7 @@ multilib_src_compile() {
fi
ejam \
${OPTIONS} \
"${OPTIONS[@]}" \
${PYTHON_OPTIONS} \
|| die "Building of Boost libraries failed"
@ -242,7 +269,7 @@ multilib_src_compile() {
pushd tools > /dev/null || die
ejam \
${OPTIONS} \
"${OPTIONS[@]}" \
${PYTHON_OPTIONS} \
|| die "Building of Boost tools failed"
popd > /dev/null || die
@ -304,7 +331,7 @@ multilib_src_install() {
fi
ejam \
${OPTIONS} \
"${OPTIONS[@]}" \
${PYTHON_OPTIONS} \
--includedir="${ED}usr/include" \
--libdir="${ED}usr/$(get_libdir)" \

@ -1 +1,2 @@
DIST busted-2.0_rc11_p0.tar.gz 48368 SHA256 115af425543354ad20cb0502a93b87e902df391d8d49cec357852ed65072521a SHA512 f09cd5ad2be05b37254e9d602433639340b020e0670e8a435f1ee1d312eced37e284c2f5a398d7a0403fac0023851b74dbe659373e495c5354f48baed814c4b8 WHIRLPOOL 681603c92a91278c4f8bc462f6330d21ff2a0a7e867058819daf8dc81fc6540d577ccc1152c3696265f22fec744c0f28fa42a47a31134024b54e3598a3ce2291
DIST busted-2.0_rc12_p1.tar.gz 52404 SHA256 c44286468babcc38e90f036d25471ab92f19a8a0a68482e0c45a9cfaeb1c0e35 SHA512 0cb1f6a66110514dc3675b2e667cca676e6672e895b57ffba438e89a1e0a7f4f8f941cab54ead905758987be15e9885e1eeb82baabc9d18bf29ea56b832b89b1 WHIRLPOOL 97024e847a65ea31ce3cb41f744a9114ac62801bf7307eb771fc169964a30556607a57f6b466b878ed498a5675a28152f51d73ad2474e03cb9e0f0c685a48597

@ -0,0 +1,44 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit toolchain-funcs
# The below is the upstream version number. The -x suffix should be kept
# in sync with the _px suffix in the ebuild version.
MY_PV="2.0.rc12-1"
DESCRIPTION="Elegant Lua unit testing"
HOMEPAGE="http://olivinelabs.com/busted/"
SRC_URI="https://github.com/Olivine-Labs/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
COMMON_DEPEND=">=dev-lang/lua-5.1:="
DEPEND="${COMMON_DEPEND}
virtual/pkgconfig"
RDEPEND="${COMMON_DEPEND}
>=dev-lua/lua_cliargs-3.0
>=dev-lua/luafilesystem-1.5.0
>=dev-lua/luasystem-0.2.0
>=dev-lua/dkjson-2.1.0
>=dev-lua/say-1.3
>=dev-lua/luassert-1.7.8
>=dev-lua/lua-term-0.1_p1
>=dev-lua/penlight-1.3.2
>=dev-lua/mediator_lua-1.1.1_p0
"
S="${WORKDIR}/${PN}-${MY_PV}"
src_install() {
dobin bin/busted
insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)"/${PN}
doins -r busted/*
dodoc *.md
}

@ -1 +1,2 @@
DIST lua_cliargs-2.5_p5.tar.gz 19513 SHA256 7b410dc3665b9bde5d954bfa73fb8254bfd5b4e72b20924f59006ce2f080baf4 SHA512 7c4d490f5d86b07bdf299c976b99bf83c9ba86fabeb321f348587f8ad207983292e3e9268ef72f3cc6ff9d6e32a43669de1d3c21c47499852f971c2cc2a4e746 WHIRLPOOL 07991c547513cc42d5596424651b4a119c30c5ff2dd7a1cabcd125a3198ceebf9f9d466f5110a684af2497cb48afff009aed922719c3115a34823481d194c53b
DIST lua_cliargs-3.0_p1.tar.gz 29904 SHA256 35cbd5daff3411bdada1cd6f0cd5dcd61626da90f63f26483a0b9768d60dccad SHA512 2bdcd3c790a82351df598cb3d289de980fe771222ebd9715036678eecdbe51b7563d24629afa4d286b900d722bf844004d12f2330744a1e644d9286ac44b4dbe WHIRLPOOL 31b672caffa2dca31c92001c2ce3c482dd6411732547fbe5bdd27396868a8116d2b48e749ced352963d21adf83715473aca8796df13d12b09f99cc2833fda288

@ -0,0 +1,37 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit toolchain-funcs
# Below is the upstream package version.
# The final component of the version number has been mapped to the _px
# component of the version number in portage so should be kept in sync.
MY_PV="3.0-1"
DESCRIPTION="A command-line argument parser."
HOMEPAGE="https://github.com/amireh/lua_cliargs"
SRC_URI="https://github.com/amireh/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
COMMON_DEPEND=">=dev-lang/lua-5.1:="
DEPEND="${COMMON_DEPEND}
virtual/pkgconfig"
RDEPEND="${COMMON_DEPEND}"
S="${WORKDIR}/${PN}-${MY_PV}"
src_install() {
insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)"
doins -r src/cliargs.lua src/cliargs
dodoc README.md
dodoc -r examples
docinto html
dodoc -r doc/*
}

@ -0,0 +1 @@
DIST luasystem-0.2.0_p0.tar.gz 8058 SHA256 1c4aea8e5b6205e4ea9739c2fbf185d45b0ab7572397a29d5d3d2e5b5f549054 SHA512 b8c7ba30470cbf100cc3f14df31729778cfb0aabebe4d27ce42c19581a2585f878d86a29a2f73fd1bef4e5861e2a604d3c396a73f131fa99ae14a17cba52c336 WHIRLPOOL 5c6770deddf27a4deb8ada3069caa3edd479c1dbeecb068ea3ea6a219bee968b1a6dde008599572674fdec119d31d40a01d31b4a1e3dbcc3009e5598f6b2aff2

@ -0,0 +1,33 @@
diff --git a/src/Makefile b/src/Makefile
index 10fc31a..af5e4e4 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -144,8 +144,8 @@ O_linux=o
CC_linux=gcc
DEF_linux=
CFLAGS_linux= -I$(LUAINC) $(DEF) -Wall -Wshadow -Wextra \
- -Wimplicit -O2 -ggdb3 -fpic -fvisibility=hidden
-LDFLAGS_linux=-lrt -O -shared -fpic -o
+ -Wimplicit -fpic -fvisibility=hidden
+LDFLAGS_linux=-lrt -shared -fpic -o
LD_linux=gcc
#------
@@ -208,7 +208,7 @@ SOLIB=core.$(SO)
#
CC=$(CC_$(PLAT))
DEF=$(DEF_$(PLAT))
-CFLAGS=$(MYCFLAGS) $(CFLAGS_$(PLAT))
+CFLAGS=$(CFLAGS_$(PLAT)) $(MYCFLAGS)
LDFLAGS=$(MYLDFLAGS) $(LDFLAGS_$(PLAT))
LD=$(LD_$(PLAT))
LUAINC= $(LUAINC_$(PLAT))
@@ -248,7 +248,7 @@ none:
all: $(SOLIB)
$(SOLIB): $(OBJS)
- $(LD) $(OBJS) $(LDFLAGS)$@
+ $(LD) $(OBJS) $(LDFLAGS) $@
install: all
$(INSTALL_DIR) $(INSTALL_TOP_LDIR)

@ -0,0 +1,45 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit toolchain-funcs
# The below is the upstream version number. The -x suffix should be kept
# in sync with the _px suffix in the ebuild version.
MY_PV="0.2.0-0"
DESCRIPTION="platform independent system calls for lua"
HOMEPAGE="https://github.com/LuaDist2/luasystem"
SRC_URI="https://github.com/LuaDist2/luasystem/archive/${MY_PV}.tar.gz ->
${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
COMMON_DEPEND=">=dev-lang/lua-5.1:="
DEPEND="${COMMON_DEPEND}
virtual/pkgconfig"
RDEPEND="${COMMON_DEPEND}"
S="${WORKDIR}/${PN}-${MY_PV}"
PATCHES=(
"${FILESDIR}"/${P}-fix-makefile.patch
)
src_compile() {
emake CC="$(tc-getCC)" MYCFLAGS="${CFLAGS}" \
LD="$(tc-getCC)" MYLDFLAGS="${LDFLAGS}"
}
src_install () {
insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)"
doins -r system
exeinto "$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua)"/system
doexe src/core.so
dodoc README.md
}

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>williamh@gentoo.org</email>
<name>William Hubbs</name>
</maintainer>
<longdescription lang="en">
</longdescription>
</pkgmetadata>

@ -0,0 +1,24 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
MY_P="${P/PEAR-/}"
DESCRIPTION="Handle and modify HTTP headers and status codes in PHP"
HOMEPAGE="http://pear.php.net/package/HTTP_Header"
SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="dev-lang/php:*
dev-php/PEAR-HTTP"
S="${WORKDIR}/${MY_P}"
src_install() {
insinto /usr/share/php
doins -r HTTP
}

@ -1,2 +1,3 @@
DIST 1.5.2.tar.gz 16332 SHA256 07d6b4dff6cf67fd022fd521c4a2555a0e0e82ee2804fe8eb14624524586a6a4 SHA512 672d2f6f4c3241f748fbdebd804f2186dd2a5f8b7be6a75cb9187ed16e61502e4a338bfaa1815190b74ab534cb7277b534b0542309098797fcb63582dc81bdbe WHIRLPOOL 065bb5629de459b884d63a5411ffa6bc10eab8c195e41623cf923afb22eb56201c16799f15dc1477e3e97ca34d1216fe9be49645c717f4058ddb8e98271e5848
DIST Net_Sieve-1.3.2.tgz 14895 SHA256 dd2bca102e9cbc8dad42d32f6799894e065e91eacb0d186546abf3de644d776c SHA512 0eb9a514f0af11b21d308ac7e9531be4a3b3f668d2ce8b8f153cd32920297df93618729851809bbe5837aaaa5f948c26477013c7a351cd9fba1ff0c0ec22f34d WHIRLPOOL 37d35423cdef4311defeffba928a4129315beee7d24838264e59d8612ae2d1d32ba148e69668d0d7e00acfed5840367b2cb5651f4f57f15e926c55efef218d83
DIST Net_Sieve-1.3.3.tgz 15109 SHA256 53666be373739b7b98dfd9538d6d8aaa7e45f51c191fc034b2675e8f12297db6 SHA512 3fd41c7f60ce1ba89ecdf0d2cbeed61e7ceb53d1218dc2b4079267235da9b17a478eaf85ecf4e0449122ec866ad1a0b579f1a7484b37681081dcabe261fc7213 WHIRLPOOL e08aae13555ee24f8fae3659d3ed54dc67946215ba7da5ce3e9d68f2756232e6220769f7a40a78b31f7b9d72ac55484221bfd860211162d4354e200394aa3edd

@ -0,0 +1,28 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
MY_PN="${PN/PEAR-/}"
DESCRIPTION="An API for talking to sieve (RFC 3028) servers"
HOMEPAGE="https://github.com/roundcube/${MY_PN}"
SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="sasl"
RDEPEND="dev-lang/php:*
dev-php/PEAR-Net_Socket
sasl? ( dev-php/PEAR-Auth_SASL )"
S="${WORKDIR}/${MY_PN}-${PV}"
src_install() {
# Install into "Net" for backwards compatibility (that's where PEAR
# used to put things).
insinto /usr/share/php/Net
doins Sieve.php
}

@ -1 +1 @@
DIST Savant3-3.0.1.tgz 21574 SHA256 38d764fb86148c9edf3316ac17b1e9226103f09a2477691565bdf0cba38a9f0a SHA512 97eb888da01b2b77da274c3e4a3c764cfc656fce6c7507006fb6cf294acf05e84ec63a7866b53c334a65d3fb82d25a0b52e20fb7d07c2f3cb872f0801e4936b0 WHIRLPOOL a5ea3955684383d02862a3fa48eeb2832dab029384851181a3cf3494299e1fd8ce6d032efc1bb8adde9655501cbc5d902d0a58e8d3843b2eeedf94f65c959721
DIST f3b4b70422bc743168d8e01443abc385d8acbef9.tar.gz 21921 SHA256 514359c8e831523b39b90c546cb09f8724ba2c925ab55b85a42666f403da5cd1 SHA512 77966146aed2a909005f0d103b27bc3b389e5edc63cc4090d8267dec4b42c96f65939752860f3833bb7f2255a9d1e9fc280d593916c9456b2590ccff0324ff89 WHIRLPOOL 260cc264407b0b9bbac7a70f129d13f5211b6181ccddff873a20559e8644624021ee24ef3301151e2cb46cf84f80459e19c93e1546de352b78fb341f9f6b7819

@ -0,0 +1,45 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
KEYWORDS="~amd64 ~x86"
DESCRIPTION="The simple PHP template alternative to Smarty"
HOMEPAGE="https://github.com/saltybeagle/Savant3"
# This is the last commit before the Composer integration broke
# everything.
COMMIT=f3b4b70422bc743168d8e01443abc385d8acbef9
SRC_URI="https://github.com/saltybeagle/Savant3/archive/${COMMIT}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="minimal test"
DEPEND="test? ( dev-php/phpunit )"
RDEPEND="dev-lang/php:*
!minimal? ( >=dev-php/Savant3-Plugin-Form-0.2.1 )"
S="${WORKDIR}/${PN}-${COMMIT}"
src_install() {
dodoc README.md
insinto /usr/share/php/
doins "${PN}.php"
doins -r "${PN}"
}
src_test() {
cd tests && phpunit . || die "test suite failed"
}
pkg_postinst() {
elog "${PN} has been installed in /usr/share/php/."
elog
elog "To use it in your scripts, include the ${PN}.php file."
elog "For example,"
elog
elog " require('${PN}.php');"
elog
}

@ -1,19 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit php-pear-lib-r1
KEYWORDS="~amd64 ~x86"
DESCRIPTION="The simple PHP template alternative to Smarty"
HOMEPAGE="http://phpsavant.com/yawiki/index.php?area=Savant3"
SRC_URI="http://phpsavant.com/get/${P}.tgz"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="minimal"
DEPEND=""
RDEPEND="!minimal? ( >=dev-php/Savant3-Plugin-Form-0.2.1 )"

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<channel version="1.0" xmlns="http://pear.php.net/channel-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/channel-1.0 http://pear.php.net/dtd/channel-1.0.xsd">
<name>phpsavant.com</name>
<summary>Savant</summary>
<suggestedalias>savant</suggestedalias>
<servers>
<primary>
<rest>
<baseurl type="REST1.0">http://phpsavant.com/rest/</baseurl>
<baseurl type="REST1.1">http://phpsavant.com/rest/</baseurl>
<baseurl type="REST1.3">http://phpsavant.com/rest/</baseurl>
</rest>
</primary>
</servers>
</channel>

@ -1 +1,2 @@
DIST mysqlnd_ms-1.5.2.tgz 385916 SHA256 22b9ba1afb36b3df11c1051c813bc07889c815d1d9993bb07ffda182665b472f SHA512 5ab888d683384e9d2b33df8d057cf438411b6506759a80b8bad79608bb4029abf77535ffc8472e8e478d5d456c2260b5dd4bc68396180a9ebfed45f90bdc8d7d WHIRLPOOL 6d3d8786c74d4dfac384af3ea9f0cd8664e99aeaa766806ef8319c955135ab57092c2db27ef615def5574ab05c5a8a4e8e1f7bff9888a4cd3b3fc660c623fbe0
DIST pecl-mysqlnd_ms-1.6.0_pre20141127.tar.xz 320604 SHA256 2cb2df946f020bcfcec1ff40b6a273dbfe69955fabe348a4804fba6897d55382 SHA512 44ca22d41d1064fb7ad3545978facd73f4279611769ee450016e8325013129b4414c637f3cb621078d4cd8e46a3ea5b9f4f16a580f9ecf389c637606a8c50ec5 WHIRLPOOL 640586e0cfbbf584cb18b4e38fbee9a90e0b929120428ea319e66276216f341a1ded65f08306be43028c8c13e3131e1f3fc98987386ccd03be39210616af5560

@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -9,7 +9,7 @@ PHP_EXT_INI="yes"
PHP_EXT_ZENDEXT="no"
# php5-6 fails to build
USE_PHP="php5-5 php5-4"
USE_PHP="php5-5"
inherit php-ext-pecl-r2
@ -22,7 +22,6 @@ IUSE=""
# Specifying targets due to USE flag transition
DEPEND="
php_targets_php5-4? ( dev-lang/php:5.4[mysqlnd] )
php_targets_php5-5? ( || (
dev-lang/php:5.5[-libmysqlclient,mysql]
dev-lang/php:5.5[-libmysqlclient,mysqli]

@ -0,0 +1,38 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PHP_EXT_NAME="mysqlnd_ms"
PHP_EXT_INI="yes"
PHP_EXT_ZENDEXT="no"
USE_PHP="php5-5 php5-6"
# This is an SVN snapshot stored locally
SRC_URI="https://dev.gentoo.org/~grknight/distfiles/${P}.tar.xz"
inherit php-ext-source-r3
HOMEPAGE="http://pecl.php.net/package/mysqlnd_ms"
KEYWORDS="~amd64"
DESCRIPTION="A replication and load balancing plugin for the mysqlnd library"
LICENSE="PHP-3"
SLOT="0"
IUSE=""
# Specifying targets due to USE flag transition
DEPEND="
dev-libs/libxml2
php_targets_php5-5? ( || (
dev-lang/php:5.5[-libmysqlclient,mysql,json]
dev-lang/php:5.5[-libmysqlclient,mysqli,json]
)
)
php_targets_php5-6? ( || (
dev-lang/php:5.6[-libmysqlclient,mysql,json]
dev-lang/php:5.6[-libmysqlclient,mysqli,json]
)
)
"
RDEPEND="${DEPEND}"

@ -0,0 +1,48 @@
--- a/mysqlnd_qc.c 2013/09/17 08:28:58 331414
+++ b/mysqlnd_qc.c 2014/03/22 08:20:55 333056
@@ -613,7 +613,11 @@
/* {{{ MYSQLND_METHOD(mysqlnd_qc, store_result) */
static MYSQLND_RES *
+#if PHP_VERSION_ID < 50600
MYSQLND_METHOD(mysqlnd_qc, store_result)(MYSQLND_CONN_DATA * const conn TSRMLS_DC)
+#else
+MYSQLND_METHOD(mysqlnd_qc, store_result)(MYSQLND_CONN_DATA * const conn, const unsigned int flags TSRMLS_DC)
+#endif
{
MYSQLND_RES * result;
uint64_t store_time;
@@ -621,7 +625,11 @@
DBG_ENTER("mysqlnd_qc::store_result");
STATS_TIME_SET(store_time);
+#if PHP_VERSION_ID < 50600
result = QC_CALL_ORIGINAL_CONN_DATA_METHOD(store_result)(conn TSRMLS_CC);
+#else
+ result = QC_CALL_ORIGINAL_CONN_DATA_METHOD(store_result)(conn, flags TSRMLS_CC);
+#endif
STATS_TIME_DIFF(store_time);
MYSQLND_QC_INC_STATISTIC_W_VALUE(QC_STAT_QUERY_AGGR_STORE_TIME_TOTAL, (uint64_t)store_time);
@@ -777,13 +785,21 @@
/* {{{ MYSQLND_METHOD(mysqlnd_qc, use_result) */
static MYSQLND_RES *
+#if PHP_VERSION_ID < 50600
MYSQLND_METHOD(mysqlnd_qc, use_result)(MYSQLND_CONN_DATA * const conn TSRMLS_DC)
+#else
+MYSQLND_METHOD(mysqlnd_qc, use_result)(MYSQLND_CONN_DATA * const conn, const unsigned int flags TSRMLS_DC)
+#endif
{
MYSQLND_RES * ret;
DBG_ENTER("mysqlnd_qc::use_result");
MYSQLND_QC_INC_STATISTIC_W_VALUE2(QC_STAT_MISS, 1, QC_STAT_QUERY_UNCACHED_USE_RESULT, 1);
+#if PHP_VERSION_ID < 50600
ret = QC_CALL_ORIGINAL_CONN_DATA_METHOD(use_result)(conn TSRMLS_CC);
+#else
+ ret = QC_CALL_ORIGINAL_CONN_DATA_METHOD(use_result)(conn, flags TSRMLS_CC);
+#endif
if (ret) {
QC_DECLARE_AND_LOAD_CONN_DATA(conn_data_pp, conn);

@ -0,0 +1,55 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PHP_EXT_NAME="mysqlnd_qc"
PHP_EXT_INI="yes"
PHP_EXT_ZENDEXT="no"
USE_PHP="php5-5 php5-6"
inherit php-ext-pecl-r3 flag-o-matic
KEYWORDS="~amd64"
DESCRIPTION="A query cache plugin for the mysqlnd library"
LICENSE="PHP-3"
SLOT="0"
IUSE="memcached sqlite"
# Specifying targets due to USE flag transition
DEPEND="
memcached? ( dev-libs/libmemcached )
sqlite? ( dev-db/sqlite:3 )
php_targets_php5-5? ( || (
dev-lang/php:5.5[-libmysqlclient,mysql]
dev-lang/php:5.5[-libmysqlclient,mysqli]
)
)
php_targets_php5-6? ( || (
dev-lang/php:5.6[-libmysqlclient,mysql]
dev-lang/php:5.6[-libmysqlclient,mysqli]
)
)
"
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}/${P}-php56.patch" )
src_configure() {
local PHP_EXT_ECONF_ARGS=()
if use memcached ; then
# configure does not find pthreads when memcache is enabled
append-flags -pthread
PHP_EXT_ECONF_ARGS+=( --enable-mysqlnd_qc_memcache --with-libmemcached-dir="${ROOT}usr" )
else
PHP_EXT_ECONF_ARGS+=( --disable-mysqlnd_qc_memcache )
fi
if use sqlite ; then
PHP_EXT_ECONF_ARGS+=( --enable-mysqlnd_qc_sqlite --with-sqlite-dir="${ROOT}usr" )
else
PHP_EXT_ECONF_ARGS+=( --disable-mysqlnd_qc_sqlite )
fi
php-ext-source-r3_src_configure
}

@ -1,44 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PHP_EXT_NAME="mysqlnd_qc"
PHP_EXT_INI="yes"
PHP_EXT_ZENDEXT="no"
# Fails to build with php5-6
USE_PHP="php5-5 php5-4"
inherit php-ext-pecl-r2 confutils flag-o-matic
KEYWORDS="~amd64"
DESCRIPTION="A query cache plugin for the mysqlnd library"
LICENSE="PHP-3"
SLOT="0"
IUSE="memcached sqlite"
# Specifying targets due to USE flag transition
DEPEND="
memcached? ( dev-libs/libmemcached )
sqlite? ( dev-db/sqlite:3 )
php_targets_php5-4? ( dev-lang/php:5.4[mysqlnd] )
php_targets_php5-5? ( || (
dev-lang/php:5.5[-libmysqlclient,mysql]
dev-lang/php:5.5[-libmysqlclient,mysqli]
)
)
"
RDEPEND="${DEPEND}"
src_configure() {
# configure does not find pthreads when memcache is enabled
use memcached && append-flags -pthread
enable_extension_withonly libmemcached-dir memcached 0 "${ROOT}usr"
enable_extension_enable mysqlnd_qc_memcache memcached
enable_extension_withonly sqlite-dir sqlite 0 "${ROOT}usr"
enable_extension_enable mysqlnd_qc_sqlite sqlite
php-ext-source-r2_src_configure
}

@ -1,5 +1,2 @@
DIST apsw-3.11.1_p1.zip 679045 SHA256 92685d555bb5bdbf5ec85563cd826f76630c33a589ef2528e8f14f73a8bcc95f SHA512 3976b14ade967b2e39fdd18436e7a9a2f8f4f5b289ee93725878bd8bfa15ccb7548156df8cca981f494a4cdcc7aaed5370fde2b805e6eea022892ece1231bd96 WHIRLPOOL 8ad615ba3b5f15cdd36c15a370b036a4fddf92b69b6b0058d3fdf8d83bd2b39251d11b3cd291319c08ad09baf3f26d1b0cff3d54777e6c7169e335e985a0d1e9
DIST apsw-3.8.10.1_p1.tar.gz 307142 SHA256 af20221e1a65f593b47d83f1f8a136afc6d2199a22bc014251a44e31e7b0ca17 SHA512 1f997c6c88ca65995c8b5d894135d5900a4d2f56f877f74f0e99eab4ede0d06be5730ce282a5d99358318ca076eec75f2afe271574b6c02aaabf4bef181d0bda WHIRLPOOL 3e9b609a19ee39edda9af8140982c74d53d3e2b4c0bd05ea53974cb7a3c2f12f13ab4acf1d51ac5b50ee738f5380dc83b819e0ed11bf28107f903f0a52eb5949
DIST apsw-3.8.11.1_p1.tar.gz 307797 SHA256 f4dc653aca10dfae8578c8bf1125600f77d0d8dcc85b4185754388aa87ae0997 SHA512 4ca857d32f423475b17e81130d4919627d581b80dd6f3f120d95906ddad657d6f52eb69fb211612e15f5eaee0211c0ad992391c93068a463e72670d49f69c61e WHIRLPOOL 15a58a83e1e5f3ee4afc470a0d58e29f5ee5cf416897b1c83ad021fb9c47f0533a5e01417aa59fb74e7b33ad9e5f1a74b40c0cbffcee4cf01617006dbad3dc2a
DIST apsw-3.8.7.1_p1.tar.gz 303446 SHA256 7aee29cc170332aa1a16fb80753152e809208bbc91823f64178e4afc32526fec SHA512 104aad3a8cec07647b71c77814cc069587daf84450b41f992d0b3c752c476105351b28912768a29f7952bfd75e9b2d3fcd8e6ae758b3bab8b986bf8e1300c256 WHIRLPOOL cc95728b07e384ee88002afce4b68abcfb259a62188cc77bad1154a83bf3e1979fec8761fe8a3c9e5ae35d5027cdf42c1b4a4b7749ad76d7935e032e253c8167
DIST apsw-3.9.2_p1.zip 676275 SHA256 c1a9ff8b82658977eb0646b8400475a45342bd3fd197a51c48a8d78cc78b72d9 SHA512 dc85b4face24f03793ae8ca9744e55641230751fd888dedf423e2b33fc421c4cb13ce8105a2b7d801f504de4897f29de38c05da3f209204acf76172ace5605ad WHIRLPOOL a2328659f640cfaf4ab5975d54e94638495319767ae655a7011f95bc0062ec18e9a4b942b1e4d6d8c7d813cc848e986b5d56aa92db1dfac367769a8447506fb0
DIST apsw-3.13.0_p1.zip 692414 SHA256 1f8e337f88befb609427d468ee87c99da0b9477a9cdfd02423a728d0ed10d576 SHA512 6efa73eacc413c7b1ed4a8fd3a510d7c86cab85dee4f89055101154a0e3a00adee6fa79fd44dff25bc4b3075adaa4e6f56270336bf73141eeffa340d8047c3e4 WHIRLPOOL 54a69ce647047ffb885f3d8da9974a19b88cc99140b380c406069e86e92cd6ef5fc9d091de21c7f30afffe2fa0f5aa4b4af307ea063a1783f0bad4fa40cff1be

@ -16,7 +16,7 @@ SRC_URI="https://github.com/rogerbinns/apsw/releases/download/${MY_PV}/${MY_P}.z
LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
KEYWORDS="amd64 ~arm ~ppc64 x86"
IUSE="doc"
RDEPEND=">=dev-db/sqlite-${PV%_p*}"

@ -21,25 +21,23 @@ IUSE="doc"
RDEPEND=">=dev-db/sqlite-${PV%_p*}"
DEPEND="${RDEPEND}
app-arch/unzip"
app-arch/unzip"
S=${WORKDIR}/${MY_P}
PATCHES=( "${FILESDIR}/${PN}-3.6.20.1-fix_tests.patch" )
python_compile() {
if ! python_is_python3; then
append-cflags -fno-strict-aliasing
fi
python_is_python3 || append-cflags -fno-strict-aliasing
distutils-r1_python_compile --enable=load_extension
}
python_install_all() {
use doc && local HTML_DOCS=( doc/. )
distutils-r1_python_install_all
}
python_test() {
"${PYTHON}" setup.py build_test_extension || die "Building of test loadable extension failed"
"${PYTHON}" tests.py -v || die "Tests failed under ${EPYTHON}"
}
python_install_all() {
use doc && local HTML_DOCS=( doc/. )
distutils-r1_python_install_all
}

@ -1,49 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
inherit distutils-r1
MY_PV=${PV/_p/-r}
MY_P=${PN}-${MY_PV}
DESCRIPTION="APSW - Another Python SQLite Wrapper"
HOMEPAGE="https://code.google.com/p/apsw/"
HOMEPAGE="https://github.com/rogerbinns/apsw/"
SRC_URI="https://github.com/rogerbinns/apsw/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
IUSE="doc"
RDEPEND=">=dev-db/sqlite-${PV%_p*}"
DEPEND="${RDEPEND}
app-arch/unzip"
S=${WORKDIR}/${MY_P}
PATCHES=( "${FILESDIR}"/${PN}-3.6.20.1-fix_tests.patch )
python_compile() {
if ! python_is_python3; then
local CFLAGS="${CFLAGS} -fno-strict-aliasing"
export CFLAGS
fi
distutils-r1_python_compile --enable=load_extension
}
python_test() {
"${PYTHON}" setup.py build_test_extension || die "Building of test loadable extension failed"
"${PYTHON}" tests.py -v || die
}
python_install_all() {
distutils-r1_python_install_all
if use doc ; then
dohtml -r doc/*
fi
}

@ -1,49 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
inherit distutils-r1
MY_PV=${PV/_p/-r}
MY_P=${PN}-${MY_PV}
DESCRIPTION="APSW - Another Python SQLite Wrapper"
HOMEPAGE="https://code.google.com/p/apsw/"
HOMEPAGE="https://github.com/rogerbinns/apsw/"
SRC_URI="https://github.com/rogerbinns/apsw/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
IUSE="doc"
RDEPEND=">=dev-db/sqlite-${PV%_p*}"
DEPEND="${RDEPEND}
app-arch/unzip"
S=${WORKDIR}/${MY_P}
PATCHES=( "${FILESDIR}"/${PN}-3.6.20.1-fix_tests.patch )
python_compile() {
if ! python_is_python3; then
local CFLAGS="${CFLAGS} -fno-strict-aliasing"
export CFLAGS
fi
distutils-r1_python_compile --enable=load_extension
}
python_test() {
"${PYTHON}" setup.py build_test_extension || die "Building of test loadable extension failed"
"${PYTHON}" tests.py -v || die
}
python_install_all() {
distutils-r1_python_install_all
if use doc ; then
dohtml -r doc/*
fi
}

@ -1,50 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
inherit distutils-r1
MY_PV=${PV/_p/-r}
MY_P=${PN}-${MY_PV}
DESCRIPTION="APSW - Another Python SQLite Wrapper"
HOMEPAGE="https://code.google.com/p/apsw/"
HOMEPAGE="https://github.com/rogerbinns/apsw/"
SRC_URI="https://github.com/rogerbinns/apsw/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="ZLIB"
SLOT="0"
KEYWORDS="amd64 ~arm ~ppc64 x86"
IUSE="doc"
RDEPEND=">=dev-db/sqlite-${PV%_p*}"
DEPEND="${RDEPEND}
app-arch/unzip"
S=${WORKDIR}/${MY_P}
PATCHES=( "${FILESDIR}"/${PN}-3.6.20.1-fix_tests.patch )
python_compile() {
if ! python_is_python3; then
local CFLAGS="${CFLAGS} -fno-strict-aliasing"
export CFLAGS
fi
distutils-r1_python_compile --enable=load_extension
}
python_test() {
"${PYTHON}" setup.py build_test_extension || die "Building of test loadable extension failed"
"${PYTHON}" tests.py -v || die
}
python_install_all() {
distutils-r1_python_install_all
if use doc ; then
dohtml -r doc/*
fi
}

@ -1 +1,2 @@
DIST backports.lzma-0.0.3.tar.gz 33848 SHA256 bac58aec8d39ac3d22250840fb24830d0e4a0ef05ad8f3f09172dc0cc80cdbca SHA512 a653b61d1e45de73ac13845127fecd97e84872c453be9e090ba2d6d2ff6187817ab980e36c1961f0a66bb9a660bb716fc7679b5317a4ff41db42156024847f45 WHIRLPOOL 33eb3c8b1c9aa8d4beabdc52247cea4b0ad2913989a2b508f71073a7a6b8dd9b6260339233f78d8e8f28476c48242076b3a95b427155f0605336e17b79e0d9ee
DIST backports.lzma-0.0.6.tar.gz 34475 SHA256 c9c97b10fb1941abdd896b9447e3745da59b32750b27c015ddb8eaf3654daaea SHA512 6196e64e81c2427d07844dab984113021ae97ba9d0c136cfd20b7213cdb8cda8b9a2643c8df21c799d338031cd49d4cbfd7f9ba9c30efd6cd28e63e8772a032b WHIRLPOOL 3d0f8a5f34d18c2f1e0072a0b6fa4ab22bfd61031ca521d423b4007b8702ec7d901560dc5416389f1e9839590a2326ac7ad2850d1a39e7603cb66f598a2de66c

@ -0,0 +1,38 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
MY_PN=${PN/-/.}
MY_P=${MY_PN}-${PV}
DESCRIPTION="Backport of Python 3.3's lzma module for XZ/LZMA compressed files"
HOMEPAGE="https://github.com/peterjc/backports.lzma/ https://pypi.python.org/pypi/backports.lzma/"
SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
RDEPEND="app-arch/xz-utils
dev-python/backports[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${MY_P}
python_test() {
PYTHONPATH="${BUILD_DIR}/lib" "${PYTHON}" test/test_lzma.py || die "tests failed with ${EPYTHON}"
}
python_install() {
# main namespace provided by dev-python/backports
rm "${BUILD_DIR}"/lib/backports/__init__.py || die
rm -f backports/__init__.py || die
distutils-r1_python_install
}

@ -1,2 +1,3 @@
DIST dugong-3.4.tar.bz2 190012 SHA256 148a65931b52e030f8eb5e1dd2740eb62754ad0c831d15c22f923f7f8274ad33 SHA512 67cf314629298249bfe0305ce2d79f66b71d6415090fab9721e62c38549863098b3048f2936532073dfe52438cf638fbc4ce46cbdbae14b7dd5158e8d9a1cdbb WHIRLPOOL b8be0bb5f7475f85ae219199a993362759646a9972934be14372b16455b18f1f2f33f4bdb553ef762e887673dc198ac6f07d863fe715a70721f2e4763752b9af
DIST dugong-3.5.tar.bz2 192228 SHA256 44bc81cd25b2e8762458b59f2f2382a3e59869c457edbbcdfe03541e576f1978 SHA512 204d8fceb63e9036f026e5a23da028a41600a740ceaa42f54474a1986c19cb224ca335d81c24c257dd761ac0f58443091df1d95fb0e1776eb3227c18d5331e39 WHIRLPOOL 678525106190b82c0be3d2c0ab72d006a8bd1b4343071bfa8d9702a7d8619859406f39a59a6bd87160d9ca31bf026cb547a55bc75907f645eba2da24ab77c1e3
DIST dugong-3.7.tar.bz2 193975 SHA256 68f7810742e1c54a5cddfa49992d416704c13b25263bd3278f7581cbc2adb2e1 SHA512 f6e637946ec5f402a21dc40f08ab187bed281b4b7c27c056651eac049d9aaf4c952bfa5e19c05db6cac2d284cf7dbd47250b82cdbcac998971fd10466a47fe21 WHIRLPOOL 3ee51fc0f085f94f64d04b6ef04fb69db8f4a569347eee4fbb1e18727343752dbf6b7df080776ca38b87f49d8495b5bd6361eb25f3cd12b4bc54b911be96a87c

@ -0,0 +1,30 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python3_{3,4,5} )
inherit distutils-r1
DESCRIPTION="Python library for communicating with HTTP 1.1 servers"
HOMEPAGE="https://bitbucket.org/nikratio/python-dugong/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.bz2"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples test"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
python_test() {
py.test -v || die "Tests failed under ${EPYTHON}"
}
python_install_all() {
use doc && local HTML_DOCS=( doc/html/. )
use examples && dodoc -r examples
distutils-r1_python_install_all
}

@ -3,3 +3,4 @@ DIST llfuse-0.41.tar.bz2 397155 SHA256 58079acce2ed03305bfea998cfad7c5d1815c85c2
DIST llfuse-0.42.1.tar.bz2 320282 SHA256 8ee9f190682d1c94e6522e77064fcdb4c7b07e71a6b9d1193ac1527972a98b59 SHA512 b87b26a3b19db954110248233f393c2c445d42b0fd89d83da3282d1f21f9ef6285721f3348e86d00d46584e3fc9896c6111d9573a103505476ab4f59d2c1b444 WHIRLPOOL c08d356e8170180aba87de9b5fb8f716a99865040582f90ec4a144c88b27f10f5e36ef4af20a29367cf3e4ae971a1a1b731e2717f7d1dece70754af49a4e535b
DIST llfuse-0.43.tar.bz2 323979 SHA256 550c23c99ab1da711e816bdd980d588de174e143bc96cdb1f11c6ae6af35c7a1 SHA512 d3dfd33898eefd5774d007c960ac72f6c7a509ad18b5fb520a07f8c9b23414ba3f171e7d36a8703cdb2421270c3a3da82626cb6be7eb0cb3840d29506926c73f WHIRLPOOL 07b9e181f48d2f6d512436c775011b81f5db2e144809c9010e3a6cb263be75ebea1bebac7ecd02e242214b31feb18bafc0b996d36b257db152762769bdb5f127
DIST llfuse-1.0.tar.bz2 323706 SHA256 fa521ce77a8c0ac1c8c21e6d4b0705dacc0ddd627439c2b3827c674909c027d2 SHA512 17d5fc91083dc29b11120980b68d000605582a757bf61a09ce4b840105fe0dc2b6afa416d09bf2abf11fd3c8bcbd5dfa4d90a9c9cc955c80a38111fb594e8b06 WHIRLPOOL aa8d22d0e7c6f5121c981c3c4fe7999aada35fa3bd5189c1ea14715366880af40105e8c35b4da7a098df449b277761a8dc50c489e65a074de430227599f032ac
DIST llfuse-1.1.tar.bz2 326175 SHA256 e250d59f3ed0d91a6bdcf81ab8af5ade994de3abb96bc5e64cd465a8265e9ffb SHA512 8e468c35cf74ab25a17b17364bbb5b5c8ab02ab5f4fe911970792dc57b5a7d87bea3889a81ff8dafd4438de3ea1ec96ec974025a33f177c84347c0830c6e1432 WHIRLPOOL d49738f666478f0e267045df0a68435cdf7a12e95ead306ab678d6a56843ddd419be49d4bd8c76990b21b08e051f0ae7e5bf641d94c69c4ccc2e989f73711024

@ -0,0 +1,39 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} pypy )
inherit distutils-r1
DESCRIPTION="Python bindings for the low-level FUSE API"
HOMEPAGE="https://python-llfuse.googlecode.com/ https://pypi.python.org/pypi/llfuse"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.bz2"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples test"
RDEPEND=">=sys-fs/fuse-2.8.0
$(python_gen_cond_dep 'dev-python/contextlib2[${PYTHON_USEDEP}]' python2_7)
"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
virtual/pkgconfig
test? (
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-catchlog[${PYTHON_USEDEP}]
)
"
python_test() {
py.test || die "Tests failed under ${EPYTHON}"
}
python_install_all() {
use doc && local HTML_DOCS=( doc/html/. )
use examples && local EXAMPLES=( examples/. )
distutils-r1_python_install_all
}

@ -5,3 +5,4 @@ DIST pyparsing-2.0.5.tar.gz 1140072 SHA256 58756bf33e989d84ac72142e4ca558cf10c77
DIST pyparsing-2.0.6.tar.gz 1140849 SHA256 aea69042752ad7e9c436eea6ae5d40e73642e27f50edb6da4a2532030ef532da SHA512 3722198efc98f6ffc124fa012f6ef23ec840ccc2280922dcb35b05c1e78cdc40f1057be0f364732d20fb0dd25897776a15625ceadee14f6800d67b6d180b42f1 WHIRLPOOL c6228050452d4297bcb77326972b5ea5c671ee264ce8ebba1ceb115f8ca84e099d94a6db43a1dafef761e26bbf8cab96d46602e116c1d03607ab1860d907c233
DIST pyparsing-2.0.7.tar.gz 1141457 SHA256 2ce0db3c70ec0413603d4aea389e4ece34ff93c265649b1c5c7d56e3c2cf19c4 SHA512 1430262481e97357b0b376db7f938c10dde4514f8f70332252af2de8aee9a0b79cb7a00435c7c8baae2dd1ed9c5d06602cd1ef9bfd6d2f5f30fed1a96c32fe78 WHIRLPOOL e306804b0116d40990f53e1c97188b4dd0163f932b92eddd1ece8f078911f52cb34e06cc186b77ea0a4ce4cef5bf4a804b916fcca210000322df368263be6a13
DIST pyparsing-2.1.0.tar.gz 1144460 SHA256 f6cb2bc85a491347c3c699db47f7ecc02903959156b4f92669ebf82395982901 SHA512 16493a4ee56ee55d70fb9784c2d275779e49125eeb9f41da15106b4123e44c9e35c1449c5106d2849140f9729f26f268238f52f279f26ae594ea0d31ed2fb09e WHIRLPOOL 52547b721b19d6a45900d79148512801583a8adda51fecd7639cd14f7c2e3a7b49118eb03ae86fdd10276643d40a215f1a01a3f645cbdc0e104096ea3cd8cfa6
DIST pyparsing-2.1.5.tar.gz 1165974 SHA256 b9ace99b581174d7ca98891a7bc57fd08892b94f17922645d90835f7b9b54a56 SHA512 cf97dd233cd0405c8d114e81a693527128fdded1df14de1176070a343d929041b3d3965f06323d1e05403bfcda16eef760df4524665ef8b5331fb1bf3af634ad WHIRLPOOL a5e7c1a5ccdc079b7a27a3aba567ad6f262206ae69b85352ecfd368fd1bb8712aadec0d70a84c3a5ec6b09470986e5add86844c0f4269ec126032a73d6817238

@ -0,0 +1,37 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
inherit distutils-r1
DESCRIPTION="Easy-to-use Python module for text parsing"
HOMEPAGE="http://pyparsing.wikispaces.com/ https://pypi.python.org/pypi/pyparsing"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
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 ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc examples"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
# not contained in the tarball
RESTRICT=test
python_install_all() {
local HTML_DOCS=( HowToUsePyparsing.html )
if use doc; then
HTML_DOCS+=( htmldoc/. )
dodoc docs/*.pdf
fi
use examples && dodoc -r examples
distutils-r1_python_install_all
}
python_test() {
${PYTHON} unitTests.py || die
}

@ -3,3 +3,4 @@ DIST artifactory-4.7.7.zip 40327123 SHA256 953a208daa35767ca915a9bab20310493c9ab
DIST artifactory-4.8.0.zip 41084705 SHA256 2de13962ad1e6f4f1537e1fd86b6e70da6afae67a2449bf0cb369d3a84267647 SHA512 a21310a7699c63a2fe3f305f42fef0aab6a0b9d43b2b8ba89d2360e5f8364d233f6f64616271d6cd4e79c1cecd18b1a7197fbb034a5eabd77d97b257e09b2910 WHIRLPOOL e6a62c25f2927ea069fa512c40f8b7ea4cecb8625acdd8149c1f2db298b7375e362ee616562b37e9a00d5ed5451cb5861bf906d4d5c796eec9735e62b2a46e88
DIST artifactory-4.8.1.zip 40949993 SHA256 12218335d6f45d1ffca0bce2cbe636cf4d8c9fe71747dc9ce04a7be78acd9529 SHA512 0873003d307187adcaff77ab52daebdcffbc96748f2203ead169148fdb3860fd90d28c68bacf58fc928c5608303d5d4fdb839ed7d5c6f5a4ddca573e91946c85 WHIRLPOOL a6c38a5d38ea3034c578b47b7021146cb960e25833155606d9cd2d301c644b400af81a28c4779caec82ae0296f04185225d3bb6cee06dffdb224937430df390a
DIST artifactory-4.8.2.zip 40938623 SHA256 6821196157e9cba70f99c0fe960971333455327cc54139f310edc30e88dd2392 SHA512 9bf40b945c943a08a92f5e1fac3a75ab923fcc57e04a7e845e8fb75a0825199b2ce6f3d90c58669777388c400c953873123e8de76a0244786d4106f6b426a6bc WHIRLPOOL 571654b43cc36f02bb731e46ae89b37146c2e785419f620226363a7f38b11cb8e54667d2faff1c922ee2e8437c18d05c37c7afeb395cf59328a31ad8ff1b52e8
DIST artifactory-4.9.0.zip 41020300 SHA256 c97c2293c676c9ca5e3c0c64b2a02e2565427f3fe2cf5aa3e0518f6b541a23e5 SHA512 266891f4d1b580f4f0764dee75f452cc73d76287565e8d89a84b912bb58d816e08369b56a1cf6858d23aefbf95d347386b9a6f4dc451d8ed80635b972680911d WHIRLPOOL 4a485c80d4f5e68ac19616569e14fb4623329aebf7d1724cccce4d2820dd00f26d97a2a1afc69f8df39af3a39db87e6098c9739f9c51e5b5b6f19e18835729f3

@ -0,0 +1,97 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
# Using a binary ebuild until a source ebuild is doable.
# This was previously blocked by two major bugs upstream:
# A lack of documented build instructions - https://www.jfrog.com/jira/browse/RTFACT-8960
# A lack of source releases - https://www.jfrog.com/jira/browse/RTFACT-8961
# Upstream now releases source and instructions (yay!), but most of artifactory's
# dependencies are not in portage yet.
EAPI=6
inherit user
MY_P="${P/-bin}"
MY_PN="${PN/-bin}"
MY_PV="${PV/-bin}"
DESCRIPTION="The world's most advanced repository manager for maven"
HOMEPAGE="http://www.jfrog.org/products.php"
SRC_URI="https://bintray.com/artifact/download/jfrog/artifactory/jfrog-artifactory-oss-${MY_PV}.zip -> ${MY_P}.zip"
LICENSE="AGPL-3+"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="ssl"
RDEPEND=">=virtual/jre-1.8"
DEPEND=">=virtual/jdk-1.8
app-arch/unzip"
S="${WORKDIR}/${MY_PN}-oss-${MY_PV}"
pkg_setup() {
enewgroup artifactory
enewuser artifactory -1 /bin/sh -1 artifactory
}
src_prepare() {
default
if use ssl ; then
cp "${FILESDIR}/artifactory.xml" tomcat/conf/Catalina/localhost/artifactory.xml || die
cp "${FILESDIR}/server.xml" tomcat/conf/server.xml || die
fi
# Reverse https://www.jfrog.com/jira/browse/RTFACT-7123
sed -i -e "s%artifactory.repo.global.disabled=true%artifactory.repo.global.disabled=false%g;" \
etc/artifactory.system.properties || die
# See FIXME in src_install(), this can probably go away,
# but catalina.sh may need to be fixed for that:
sed -i -e "s%/etc/opt/jfrog/artifactory/default%/etc/conf.d/${MY_PN}%g;" \
misc/service/setenv.sh || die
}
src_install() {
local ARTIFACTORY_HOME="/opt/artifactory"
local TOMCAT_HOME="${ARTIFACTORY_HOME}/tomcat"
insinto ${ARTIFACTORY_HOME}
doins -r etc logs misc tomcat webapps
dodir /etc/opt/jfrog
dosym ${ARTIFACTORY_HOME}/etc /etc/opt/jfrog/artifactory
dosym ${ARTIFACTORY_HOME}/logs /var/log/artifactory
exeinto ${ARTIFACTORY_HOME}/bin
doexe bin/*
# FIXME: this is called by catalina.sh (it echoes the variables before starting
# artifactory, as well as makes sure log dir, etc. exists). Those directories
# could probably be moved to the ebuild and the script removed from catalina.sh
# without consequence (and quieter starts). Would need to check if CATALINA_*
# variables are actually used anywhere (from reading code don't appear to be
# actually needed)
exeinto ${TOMCAT_HOME}/bin
doexe misc/service/setenv.sh
doexe tomcat/bin/*
keepdir ${ARTIFACTORY_HOME}/backup
keepdir ${ARTIFACTORY_HOME}/data
keepdir ${ARTIFACTORY_HOME}/run
keepdir ${ARTIFACTORY_HOME}/work
keepdir ${TOMCAT_HOME}/logs/catalina
keepdir ${TOMCAT_HOME}/temp
keepdir ${TOMCAT_HOME}/work
keepdir /var/opt/jfrog/artifactory/run
newconfd "${FILESDIR}/confd" ${MY_PN}
newinitd "${FILESDIR}/initd" ${MY_PN}
fowners -R artifactory:artifactory ${ARTIFACTORY_HOME}
fperms -R u+w ${TOMCAT_HOME}/work
}

@ -1,2 +1,2 @@
DIST kBuild-0.1.9998-pre20120806-src.tar.xz 1665728 SHA256 c8e1c78513b6a8c32cc9a4998f2645a17054b1740bc5f13f587bb8de23840d03 SHA512 61e3fb2405dbfdd464eec580a9b2ed953533abdb07b4aad051029e46a1cccb1cef9037c2f9d0b1a06b3e505e8b484f060bec1d97f10ef7933de484429efa281e WHIRLPOOL c88b2e0996905137bbf773c219a53a025cadb1a5362236b891b2d38e0ad0a9264d330f1a258a4c6d6cc3ffde3475fe9d7ae794f8a9b6f017ea1f4fab000fe978
DIST kBuild-0.1.9998-pre20131130-src.tar.xz 1707632 SHA256 def0a44cc0a91b6aa8a80f73ace0cfc315f298ba3e0d3d81fe52834091b68586 SHA512 66f418c0e052389d2b5cfc4d46bc8598ceaeded369151047e455e921bef494ec42099cdc368d24b572eacd809bb7c124d07e0fab54788af01664b72f571fb047 WHIRLPOOL 95caf78eaa6ead0d9a009879a2ba9a01b138760345eb38a6786ceaf0262520e1827b5e4401884cd6d3849bfa5528f45a9a5cdac5ae61e6cbd1753dec0ba0da2f
DIST kbuild-0.1.9998_pre20131130-tools_and_units_updates.patch.xz 7344 SHA256 0dcfb79274a96f1a67aa466ca468bebf00a39544517ad0d05c09595341d11e1a SHA512 91aac638e9f4cc321f7d06c89be1a4ce4e57aa88165c71a4f68a73ad51f049f631b2d7427178014408b551fac5678f0c0bf806a61f9d749daf5019f1b6a61bb0 WHIRLPOOL bb0a295e93870364ab176eaca3d07e18567148e5ba431a205085220b305b5cd78c210bea8896611bd4b9b47a71a527afc55a9a30a64b707993c576466609ee8a

@ -1,5 +1,5 @@
--- Config.kmk
+++ Config.kmk
--- a/Config.kmk
+++ b/Config.kmk
@@ -147,7 +147,7 @@
MY_INST_DATA := $(MY_INST_ROOT)share/kBuild/
endif

@ -1,26 +0,0 @@
* warning: implicit declaration of function unlink
* warning: too few arguments for format
--- a/src/sed/lib/utils.c
+++ b/src/sed/lib/utils.c
@@ -35,6 +35,10 @@
# include <stdlib.h>
#endif /* HAVE_STDLIB_H */
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif /* HAVE_UNISTD_H */
+
#include "utils.h"
const char *myname;
--- a/src/kmk/kmkbuiltin/printf.c
+++ b/src/kmk/kmkbuiltin/printf.c
@@ -206,7 +206,7 @@
(void)funcname;
if (rc != 0)
- fatal (NILF, _("$(%s): failure rc=%d\n"), rc);
+ fatal (NILF, _("$(%s): failure rc=%d\n"), funcname, rc);
return o;
}
#endif

@ -1,6 +1,5 @@
diff -urN kBuild-0.1.9998-pre20110817-orig/src/sed/lib/regex_internal.c kBuild-0.1.9998-pre20110817/src/sed/lib/regex_internal.c
--- kBuild-0.1.9998-pre20110817-orig/src/sed/lib/regex_internal.c 2011-08-17 14:28:42.000000000 -0700
+++ kBuild-0.1.9998-pre20110817/src/sed/lib/regex_internal.c 2012-06-16 13:55:05.341176965 -0700
--- kBuild-0.1.9998-pre20110817/src/sed/lib/regex_internal.c
+++ kBuild-0.1.9998-pre20110817/src/sed/lib/regex_internal.c
@@ -781,7 +781,7 @@
}

@ -1,6 +1,5 @@
diff -ruN kBuild-0.1.5-orig/src/ash/output.c kBuild-0.1.5/src/ash/output.c
--- kBuild-0.1.5-orig/src/ash/output.c 2009-04-08 18:21:26.000000000 -0400
+++ kBuild-0.1.5/src/ash/output.c 2009-05-22 20:11:49.000000000 -0400
--- kBuild-0.1.5/src/ash/output.c
+++ kBuild-0.1.5/src/ash/output.c
@@ -230,6 +230,7 @@
va_end(ap);
}
@ -17,9 +16,8 @@ diff -ruN kBuild-0.1.5-orig/src/ash/output.c kBuild-0.1.5/src/ash/output.c
void
fmtstr(char *outbuf, size_t length, const char *fmt, ...)
diff -ruN kBuild-0.1.5-orig/src/ash/output.h kBuild-0.1.5/src/ash/output.h
--- kBuild-0.1.5-orig/src/ash/output.h 2009-04-08 18:21:26.000000000 -0400
+++ kBuild-0.1.5/src/ash/output.h 2009-05-22 20:12:28.000000000 -0400
--- kBuild-0.1.5/src/ash/output.h
+++ kBuild-0.1.5/src/ash/output.h
@@ -65,8 +65,10 @@
__attribute__((__format__(__printf__,2,3)));
void out1fmt(const char *, ...)

@ -1,6 +1,5 @@
diff -urN ./kBuild-0.1.5.orig/bootstrap.gmk ./kBuild-0.1.5/bootstrap.gmk
--- ./bootstrap.gmk 2009-01-10 03:24:02.000000000 +0100
+++ ./bootstrap.gmk 2009-03-11 10:39:25.679010950 +0100
--- a/bootstrap.gmk
+++ b/bootstrap.gmk
@@ -179,7 +179,7 @@
echo done > $@

@ -1,8 +1,8 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
EAPI=6
inherit eutils autotools toolchain-funcs
@ -10,11 +10,12 @@ MY_P=kBuild-${PV/_/-}-src
DESCRIPTION="A makefile framework for writing simple makefiles for complex tasks"
HOMEPAGE="http://svn.netlabs.org/kbuild/wiki"
#SRC_URI="ftp://ftp.netlabs.org/pub/${PN}/${MY_P}.tar.gz"
SRC_URI="https://dev.gentoo.org/~polynomial-c/${MY_P}.tar.xz"
SRC_URI="https://dev.gentoo.org/~polynomial-c/${MY_P}.tar.xz
https://dev.gentoo.org/~polynomial-c/${P}-tools_and_units_updates.patch.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="sys-devel/flex
@ -24,16 +25,23 @@ RDEPEND=""
S=${WORKDIR}/${MY_P/-src}
PATCHES=(
"${FILESDIR}/${PN}-unknown-configure-opt.patch"
"${FILESDIR}/${PN}-glibc-2.10.patch"
"${FILESDIR}/${PN}-0.1.5-gentoo-docdir.patch"
"${FILESDIR}/${PN}-0.1.9998_pre20120806-qa.patch"
"${FILESDIR}/${PN}-0.1.9998_pre20110817-kash-link-pthread.patch"
"${FILESDIR}/${PN}-0.1.9998_pre20110817-gold.patch"
"${FILESDIR}/${PN}-0.1.9998_pre20110817-gcc-4.7.patch"
"${WORKDIR}/${P}-tools_and_units_updates.patch"
)
src_prepare() {
rm -rf "${S}/kBuild/bin"
epatch "${FILESDIR}/${PN}-unknown-configure-opt.patch" \
"${FILESDIR}/${PN}-glibc-2.10.patch" \
"${FILESDIR}/${PN}-0.1.5-gentoo-docdir.patch" \
"${FILESDIR}/${PN}-0.1.9998_pre20120806-qa.patch" \
"${FILESDIR}/${PN}-0.1.9998_pre20110817-kash-link-pthread.patch" \
"${FILESDIR}/${PN}-0.1.9998_pre20110817-gold.patch" \
"${FILESDIR}/${PN}-0.1.9998_pre20110817-gcc-4.7.patch"
default
mv src/kmk/configure.{in,ac} || die
cd "${S}/src/kmk" || die
eautoreconf

@ -6,6 +6,7 @@ DIST git-2.7.3.tar.xz 3909636 SHA256 89c467912d4740da2b40288f956251f0a1e276e28ee
DIST git-2.7.4.tar.xz 3909636 SHA256 dee574defbe05ec7356a0842ddbda51315926f2fa7e39c2539f2c3dcc52e457b SHA512 82a646140834e909bf1748a017e86f37f0711c759fe0a6ad03529beb57c79742cb7bf77c2dba29ccd84fcf3d5f18ad9c85c00f002d3b257be42e058750423da7 WHIRLPOOL 74532038b6ba95a5354f43ebad00a9c159c495d46e7dc1b8a2a59f5a86e149538190d9800144a719dcc00e28cfea1039cd5dbfb67fd5aac5e7d0998d3231bae3
DIST git-2.8.4.tar.xz 3982836 SHA256 120e9a32a1858871dea34165622ec7a63f27887b93093c8d72a18bcf89fe1657 SHA512 92c3b4437d1160cc23612b4df62646b80a1245d4ed482c3543ba19511f754a34d0185d5dd5d16f2a42bc3097bebc47ece0670c45a1c53ca38cbfbff7d43de87b WHIRLPOOL 8be86b1cba51ef549d56014c090dd5844019c2c5ccf15865dce86ed7f28f5628621450d784f23ba03f79282bc87e5a8ee0fad161a157785cf6c5716f8aa1e767
DIST git-2.9.0.tar.xz 4014000 SHA256 f41fa97949948fbf49af94a43d779e072a5452c6b5039d86ffa41ebab747b409 SHA512 9433b4642482634d4c76884307d987155568c08a741285cff0eb3699de04d7ff970892f23587bdf6f9ea0083dd5aee652c3265842ba6cf789955e0040a3e5b6a WHIRLPOOL 314fc79cb5b480da7ad6abc4ba467cc9e806f95c45dc527cd31d481547d446612936f1601ac31c9296a371a57f1403f8452cc7487816fd1c8e85c7bd242ca2a1
DIST git-2.9.1.tar.xz 4019608 SHA256 e8fe60bc72c1c979feb43740b3c74fea7f8ffbe7712b71cd9734ddb9c89282a2 SHA512 ff7b8e13f01cfd52e74b23710332d97ad9619d0f4a8ae07b660e35bd828b95517c4ee250db372bd691054f9c9de61b2fc72c1a6244f9e09eda02d2576301cf46 WHIRLPOOL a7dea6f26fa9635d57cedaf66724672c9c0f43cdd28363b1849b2054094d721b1949f4a32557d5e5fa229ac0bfbb76d55dd647da10f46d64c173d34c20f7eea1
DIST git-htmldocs-2.4.11.tar.xz 997132 SHA256 2764af41b319f4d11b29832de4bd05392f2887d9a1d3c56c864fb081920eac97 SHA512 d5d2abae9cc303fe8ebeb72ae7078d44db94610d549ca03afffcbbef8b611efda662677423d9ff97a0c7a2384bbd4c3468b01a2ecd7b68f4fdc89e62ad688eb4 WHIRLPOOL 66cd4fc754be7c103ca58a030d4799ba988792419a426e85a39805172e6329ec617b3561696dc74be36801cca0b17a26102a194a1a58d6c7b9ee1ab17752c4a6
DIST git-htmldocs-2.5.5.tar.xz 1010216 SHA256 15de2f234cf419496399f7ad396709544d62537488a8e5200e6e34b0f1a685e7 SHA512 265ddf3835352f85eb2e2ee983eb8aaf37bc7b151968866bdb8b9bb6782cdb72dbd1fefe5d7f694a6825954d49bcf4c799e8bcb4e3b25e3f228f6f97f041fd9b WHIRLPOOL 90da44c0bdb6f9ff428d1673289e612936ed5f26110cd13d155c8cbef8433b13bd8b15cea88f967224a699e4c3a6ac41d70b67be1b25c4d35989879626eb10ad
DIST git-htmldocs-2.6.6.tar.xz 1021856 SHA256 897fb0bc7e2eb67a4b582c963f337fda3a6ad2b23bca55e27f23f7d15bad7c5d SHA512 85dcd8514e1ba2cb591512a0003aedf25eafbf185ba1eed01f8adfd9eb467d29b17108e6b087183004004ab17301316d403cd6762619ac2a030a565ea5c776b3 WHIRLPOOL 3cd964f1d0164db98e97e0097813a620911adadd9c50837e23a5ca79eb0f2d988aa68317b5b79fa7b052900564657c36d050e75841a1018d5ff12e1299c01dc6
@ -13,6 +14,7 @@ DIST git-htmldocs-2.7.3.tar.xz 1031848 SHA256 f71f5e8e1a6103e83ea794f367bc419a1d
DIST git-htmldocs-2.7.4.tar.xz 1032428 SHA256 3fae21e2e68104621ea1405be73192b46bf3ef29bbc248a81b1e7e6fcf5acfad SHA512 f05b7b8a4dd4abe23f7e51982e9c33026aa31610ac8640028aeae6b310b70b764aee9a81fa702ed0712ccf1b7ad897e06163eb5c5246c14f6cce7c5f4e462682 WHIRLPOOL 87fc486d182a4b72fd906105fefcc53b722c4ae6832b290cd6f759ac1eca7ebfbbe7c0e72c1d7b5ef3581d19d7576f1d0387d6e5b0a33d960d57f59ee61a7869
DIST git-htmldocs-2.8.4.tar.xz 1042260 SHA256 78135be591e3a68d1030a76e343d59622e5e40f6990667f4385a01d9dafe9bbd SHA512 5da40db4421f94a969b83bfa0ea6e5ccf3fce8c2085ea2271a2eb3e1b4fc496c36ae8790207cd1814ff747b7633bb27fd53bb9c012f866ea1e7f1cc8065379dd WHIRLPOOL 4f80041ad4ef8b178a6b91313680433a7e07b0ecb15354304436d70880063b2f9cdd875fcd95684a817272d05a57485e1863e9e06c3788eddf0e5f031279ea9a
DIST git-htmldocs-2.9.0.tar.xz 1049236 SHA256 664dc1aa20966a91cf6b90d282bb5f93b4e4c831a32a0791f43218389ce3b955 SHA512 16dbbb1d3179932f9e383faa8383b948fb5d18761c8b5d9530e00a363e739c3a03cdaf1c96e303a6e98af5c81caaaa116fdd4ea8b867e5317dc0531bff33c843 WHIRLPOOL a2e98fc454fb1758675aaf2b9e198e4d5ce2883ebd6534264142131939fdd9a3597e1f39f7e63857f5b64c40f4f15042a30f1dc62d58e281f72191221babd09c
DIST git-htmldocs-2.9.1.tar.xz 1053220 SHA256 67421138a9319cc72b0ec8295c2428daf25449eb4f76f727e0464990370afea1 SHA512 bd9a1608ac9e7683f8208d83688e20e4ac8cbd91c205dfce471e33d108f1b56db8f9106716eb280a9d56733ebdfd9bceb5f7af0fa1d5d6c5fd30e3446ad0529a WHIRLPOOL 578b29549f3778707507b0e7185ade8ea609284cc2cf643e8b7a5364b34edbde6600f8e19126e89240ae411111f28c3ce37d0e6591a260afda8119a2a205deab
DIST git-manpages-2.4.11.tar.xz 373956 SHA256 0a1fff7650e635339f92985a47198f5f6664eda1c233c3cf48e92f22c3735db2 SHA512 78226baf1c8be28c456a84b06f403af9b918cd3e46218917cce18b3b9ce494600bf00014b818ca0dff9f675aca8b17cd9f7893c7063e218d719a9567e81d9040 WHIRLPOOL f8883ca7d327c378937f62287cbb515b5271cb8aeda18d32135f1c7ea71c9f39282fe55b191476f046de4815a994e4f6f98696d9353f0bfcca7994101398786c
DIST git-manpages-2.5.5.tar.xz 378304 SHA256 41b66002436add0781618764c3f0c8222bac7d8a636f1d7e2994480b22369930 SHA512 bebcc04fa54080316d01f1bd1ba7b91a1712e6c6a6f95306d9f079cf5858cf0fb2ccea24c606153e9adb99e956c5dbae5a5c7a7a0ed8c643efdf5a5db599cda1 WHIRLPOOL e72873d3f1a404a311e643d89cf65996d884e794e468417272cdda494ef621f0ebf875faa17433e443fcece54608c59a3c094372101bf4342fadcf8395dabce8
DIST git-manpages-2.6.6.tar.xz 381588 SHA256 0f64c1db015e3c74e56eef646a9fdd456cf043cae54714f404ad9b35ddb537a0 SHA512 bd8573f58bd988f78978041b88643e6d0af99ae0df4be6ec80db7de6e042970a23d9a153e84ddb8ffc538724b1482ff6dac7594462e28073067f54d040fdddfd WHIRLPOOL 3e8af6df1b96e3211c5799ace846dab331f30c1133c1d093e344b4576d8f588631e29187909b600112a9f7b42a0de63f56cec953e0d162cc49c2b6efeef0db53
@ -20,3 +22,4 @@ DIST git-manpages-2.7.3.tar.xz 384544 SHA256 9f088427c61a9e0a840007c7f50fc6f7cab
DIST git-manpages-2.7.4.tar.xz 384460 SHA256 d04fd81ab8aa32efbe54acd27ab5c88ef4ab615313e4cdfa793dd0065899ce25 SHA512 1af6f0d9fc3945a5a215092caabd0963f3eaa35c5f3b0270861b625bf7bd88e4fdea9b3e50ce1b10c79a12ee2b06b203fab4aa9d566560535c1decf7b2d987cd WHIRLPOOL 38306b6e198336dd3c75a9fd032b636e0e43a3b75eba2746d2d42c3752cf7405b1f8572199748509974d68bfc77c74fbea52626884f9b509d8b593cefce4aad5
DIST git-manpages-2.8.4.tar.xz 387168 SHA256 d2ddfc302e5b3c0ad182916b27c28d95bc667ea8b9db8dc099bf3d8d62b8b7f5 SHA512 d4ffca6ad8ff0b6bfab984eb06ad5c6c0cf73cfb4beaff4e924b2bd117a4a369e928faa2ca09f11903ebc52249ad24e2b68e7b571965a2ef48f5731ad94b9bef WHIRLPOOL a22d7ad38ccfb399325e321cecc7255fdf4ca05f14e92acfe94e74b816199d2e057a559f6e3eede2df768d762457eb2a43f1e9c76e8b6e76c7498dc9547dcf25
DIST git-manpages-2.9.0.tar.xz 392440 SHA256 dc85c1afa923fd709d651a49d0a720d50a3c248cb16c6c09517cceae88fe8445 SHA512 ad3fbf7ed716d31d0e1006168a9c49477279961e8c4b2d0d249f57d07ed3fdfef7c42bd2df4d3a9b06d54df45e2e2a43b9959aee951566c02e21a4ff3df23483 WHIRLPOOL 0da980cf24bea0e8a6582e9a2f9f19ea6628beb76eb43fd438cabb0a0f1c0686db8806e109716cee39a6a6b9cf6d3bba7c74c81e49558d0aa1424284525c2ac7
DIST git-manpages-2.9.1.tar.xz 392532 SHA256 17bd0ac02f6923e509238be066a0dd79081c420ba94ee5cecb79ef829c6631ed SHA512 401c5dc2820188c1dda909d9372b09ba24b34a3a742feb624c53d31f0af2c5e1f08d3d45bbe00d40dfaa2c64d0d33796ad3ee1c5128a824ccd24f6759cf35ac0 WHIRLPOOL 9f3a2b61d48f81892e7bb5082f9d0c369c9fb750f964b6fb5062672c0c318b6dc8a0ae8fef547be198b0929164cbe4087ee7313f6e09402ba17394e9cd62d522

@ -0,0 +1,682 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
GENTOO_DEPEND_ON_PERL=no
# bug #329479: git-remote-testgit is not multiple-version aware
PYTHON_COMPAT=( python2_7 )
[[ ${PV} == *9999 ]] && SCM="git-r3"
# Please ensure that all _four_ 9999 ebuilds get updated; they track the 4 upstream branches.
# See https://git-scm.com/docs/gitworkflows#_graduation
# In order of stability:
# 9999-r0: maint
# 9999-r1: master
# 9999-r2: next
# 9999-r3: pu
EGIT_REPO_URI="git://git.kernel.org/pub/scm/git/git.git"
EGIT_BRANCH=pu
PLOCALES="bg ca de fr is it ko pt_PT ru sv vi zh_CN"
inherit toolchain-funcs eutils elisp-common l10n perl-module bash-completion-r1 python-single-r1 systemd ${SCM}
MY_PV="${PV/_rc/.rc}"
MY_P="${PN}-${MY_PV}"
DOC_VER=${MY_PV}
DESCRIPTION="stupid content tracker: distributed VCS designed for speed and efficiency"
HOMEPAGE="http://www.git-scm.com/"
if [[ ${PV} != *9999 ]]; then
SRC_URI_SUFFIX="xz"
SRC_URI_GOOG="https://git-core.googlecode.com/files"
SRC_URI_KORG="mirror://kernel/software/scm/git"
SRC_URI="${SRC_URI_GOOG}/${MY_P}.tar.${SRC_URI_SUFFIX}
${SRC_URI_KORG}/${MY_P}.tar.${SRC_URI_SUFFIX}
${SRC_URI_GOOG}/${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX}
${SRC_URI_KORG}/${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX}
doc? (
${SRC_URI_KORG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX}
${SRC_URI_GOOG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX}
)"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
LICENSE="GPL-2"
SLOT="0"
IUSE="+blksha1 +curl cgi doc emacs gnome-keyring +gpg gtk highlight +iconv libressl mediawiki mediawiki-experimental +nls +pcre +perl +python ppcsha1 tk +threads +webdav xinetd cvs subversion test"
# Common to both DEPEND and RDEPEND
CDEPEND="
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:= )
sys-libs/zlib
pcre? ( dev-libs/libpcre )
perl? ( dev-lang/perl:=[-build(-)] )
tk? ( dev-lang/tk:0= )
curl? (
net-misc/curl
webdav? ( dev-libs/expat )
)
emacs? ( virtual/emacs )
gnome-keyring? ( gnome-base/libgnome-keyring )"
RDEPEND="${CDEPEND}
gpg? ( app-crypt/gnupg )
mediawiki? (
dev-perl/DateTime-Format-ISO8601
dev-perl/HTML-Tree
dev-perl/MediaWiki-API
)
perl? ( dev-perl/Error
dev-perl/Net-SMTP-SSL
dev-perl/Authen-SASL
cgi? ( dev-perl/CGI highlight? ( app-text/highlight ) )
cvs? ( >=dev-vcs/cvsps-2.1:0 dev-perl/DBI dev-perl/DBD-SQLite )
subversion? ( dev-vcs/subversion[-dso,perl] dev-perl/libwww-perl dev-perl/TermReadKey )
)
python? ( gtk?
(
>=dev-python/pygtk-2.8[${PYTHON_USEDEP}]
>=dev-python/pygtksourceview-2.10.1-r1:2[${PYTHON_USEDEP}]
)
${PYTHON_DEPS} )"
# This is how info docs are created with Git:
# .txt/asciidoc --(asciidoc)---------> .xml/docbook
# .xml/docbook --(docbook2texi.pl)--> .texi
# .texi --(makeinfo)---------> .info
DEPEND="${CDEPEND}
doc? (
app-text/asciidoc
app-text/docbook2X
sys-apps/texinfo
app-text/xmlto
)
nls? ( sys-devel/gettext )
test? ( app-crypt/gnupg )"
# Live ebuild builds man pages and HTML docs, additionally
if [[ ${PV} == *9999 ]]; then
DEPEND="${DEPEND}
app-text/asciidoc"
fi
SITEFILE=50${PN}-gentoo.el
S="${WORKDIR}/${MY_P}"
REQUIRED_USE="
cgi? ( perl )
cvs? ( perl )
mediawiki? ( perl )
mediawiki-experimental? ( mediawiki )
subversion? ( perl )
webdav? ( curl )
gtk? ( python )
python? ( ${PYTHON_REQUIRED_USE} )
"
PATCHES=(
# bug #350330 - automagic CVS when we don't want it is bad.
"${FILESDIR}"/git-2.8.4-optional-cvs.patch
# install mediawiki perl modules also in vendor_dir
# hack, needs better upstream solution
"${FILESDIR}"/git-1.8.5-mw-vendor.patch
"${FILESDIR}"/git-2.2.0-svn-fe-linking.patch
# Bug #493306, where FreeBSD 10.x merged libiconv into its libc.
"${FILESDIR}"/git-2.5.1-freebsd-10.x-no-iconv.patch
)
pkg_setup() {
if use subversion && has_version "dev-vcs/subversion[dso]"; then
ewarn "Per Gentoo bugs #223747, #238586, when subversion is built"
ewarn "with USE=dso, there may be weird crashes in git-svn. You"
ewarn "have been warned."
fi
if use python ; then
python-single-r1_pkg_setup
fi
}
# This is needed because for some obscure reasons future calls to make don't
# pick up these exports if we export them in src_unpack()
exportmakeopts() {
local myopts
if use blksha1 ; then
myopts+=" BLK_SHA1=YesPlease"
elif use ppcsha1 ; then
myopts+=" PPC_SHA1=YesPlease"
fi
if use curl ; then
use webdav || myopts+=" NO_EXPAT=YesPlease"
else
myopts+=" NO_CURL=YesPlease"
fi
# broken assumptions, because of broken build system ...
myopts+=" NO_FINK=YesPlease NO_DARWIN_PORTS=YesPlease"
myopts+=" INSTALL=install TAR=tar"
myopts+=" SHELL_PATH=${EPREFIX}/bin/sh"
myopts+=" SANE_TOOL_PATH="
myopts+=" OLD_ICONV="
myopts+=" NO_EXTERNAL_GREP="
# For svn-fe
extlibs="-lz -lssl ${S}/xdiff/lib.a $(usex threads -lpthread '')"
# can't define this to null, since the entire makefile depends on it
sed -i -e '/\/usr\/local/s/BASIC_/#BASIC_/' Makefile
use iconv \
|| myopts+=" NO_ICONV=YesPlease"
use nls \
|| myopts+=" NO_GETTEXT=YesPlease"
use tk \
|| myopts+=" NO_TCLTK=YesPlease"
use pcre \
&& myopts+=" USE_LIBPCRE=yes" \
&& extlibs+=" -lpcre"
use perl \
&& myopts+=" INSTALLDIRS=vendor" \
|| myopts+=" NO_PERL=YesPlease"
use python \
|| myopts+=" NO_PYTHON=YesPlease"
use subversion \
|| myopts+=" NO_SVN_TESTS=YesPlease"
use threads \
&& myopts+=" THREADED_DELTA_SEARCH=YesPlease" \
|| myopts+=" NO_PTHREADS=YesPlease"
use cvs \
|| myopts+=" NO_CVS=YesPlease"
# Disabled until ~m68k-mint can be keyworded again
# if [[ ${CHOST} == *-mint* ]] ; then
# myopts+=" NO_MMAP=YesPlease"
# myopts+=" NO_IPV6=YesPlease"
# myopts+=" NO_STRLCPY=YesPlease"
# myopts+=" NO_MEMMEM=YesPlease"
# myopts+=" NO_MKDTEMP=YesPlease"
# myopts+=" NO_MKSTEMPS=YesPlease"
# fi
if [[ ${CHOST} == ia64-*-hpux* ]]; then
myopts+=" NO_NSEC=YesPlease"
fi
if [[ ${CHOST} == *-*-aix* ]]; then
myopts+=" NO_FNMATCH_CASEFOLD=YesPlease"
fi
if [[ ${CHOST} == *-solaris* ]]; then
myopts+=" NEEDS_LIBICONV=YesPlease"
myopts+=" HAVE_CLOCK_MONOTONIC=1"
myopts+=" HAVE_GETDELIM=1"
fi
has_version '>=app-text/asciidoc-8.0' \
&& myopts+=" ASCIIDOC8=YesPlease"
myopts+=" ASCIIDOC_NO_ROFF=YesPlease"
# Bug 290465:
# builtin-fetch-pack.c:816: error: 'struct stat' has no member named 'st_mtim'
[[ "${CHOST}" == *-uclibc* ]] && \
myopts+=" NO_NSEC=YesPlease"
export MY_MAKEOPTS="${myopts}"
export EXTLIBS="${extlibs}"
}
src_unpack() {
if [[ ${PV} != *9999 ]]; then
unpack ${MY_P}.tar.${SRC_URI_SUFFIX}
cd "${S}"
unpack ${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX}
use doc && \
cd "${S}"/Documentation && \
unpack ${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX}
cd "${S}"
else
git-r3_src_unpack
cd "${S}"
#cp "${FILESDIR}"/GIT-VERSION-GEN .
fi
}
src_prepare() {
# add experimental patches to improve mediawiki support
# see patches for origin
if use mediawiki-experimental ; then
PATCHES+=(
"${FILESDIR}"/git-2.7.0-mediawiki-namespaces.patch
"${FILESDIR}"/git-2.7.0-mediawiki-subpages.patch
"${FILESDIR}"/git-2.7.0-mediawiki-500pages.patch
)
fi
default
sed -i \
-e 's:^\(CFLAGS[[:space:]]*=\).*$:\1 $(OPTCFLAGS) -Wall:' \
-e 's:^\(LDFLAGS[[:space:]]*=\).*$:\1 $(OPTLDFLAGS):' \
-e 's:^\(CC[[:space:]]* =\).*$:\1$(OPTCC):' \
-e 's:^\(AR[[:space:]]* =\).*$:\1$(OPTAR):' \
-e "s:\(PYTHON_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \
-e "s:\(PERL_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \
Makefile contrib/svn-fe/Makefile || die "sed failed"
# Never install the private copy of Error.pm (bug #296310)
sed -i \
-e '/private-Error.pm/s,^,#,' \
perl/Makefile.PL
# Fix docbook2texi command
sed -r -i 's/DOCBOOK2X_TEXI[[:space:]]*=[[:space:]]*docbook2x-texi/DOCBOOK2X_TEXI = docbook2texi.pl/' \
Documentation/Makefile || die "sed failed"
# Fix git-subtree missing DESTDIR
sed -i \
-e '/$(INSTALL)/s/ $(libexecdir)/ $(DESTDIR)$(libexecdir)/g' \
-e '/$(INSTALL)/s/ $(man1dir)/ $(DESTDIR)$(man1dir)/g' \
contrib/subtree/Makefile
}
git_emake() {
# bug #326625: PERL_PATH, PERL_MM_OPT
# bug #320647: PYTHON_PATH
PYTHON_PATH=""
use python && PYTHON_PATH="${PYTHON}"
emake ${MY_MAKEOPTS} \
DESTDIR="${D}" \
OPTCFLAGS="${CFLAGS}" \
OPTLDFLAGS="${LDFLAGS}" \
OPTCC="$(tc-getCC)" \
OPTAR="$(tc-getAR)" \
prefix="${EPREFIX}"/usr \
htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
sysconfdir="${EPREFIX}"/etc \
PYTHON_PATH="${PYTHON_PATH}" \
PERL_MM_OPT="" \
GIT_TEST_OPTS="--no-color" \
V=1 \
"$@"
# This is the fix for bug #326625, but it also causes breakage, see bug
# #352693.
# PERL_PATH="${EPREFIX}/usr/bin/env perl" \
}
src_configure() {
exportmakeopts
}
src_compile() {
if use perl ; then
git_emake perl/PM.stamp || die "emake perl/PM.stamp failed"
git_emake perl/perl.mak || die "emake perl/perl.mak failed"
fi
git_emake || die "emake failed"
if use emacs ; then
elisp-compile contrib/emacs/git{,-blame}.el
fi
if use perl && use cgi ; then
git_emake \
gitweb \
|| die "emake gitweb (cgi) failed"
fi
if [[ ${CHOST} == *-darwin* ]]; then
cd "${S}"/contrib/credential/osxkeychain || die
git_emake CC=$(tc-getCC) CFLAGS="${CFLAGS}" \
|| die "emake credential-osxkeychain"
fi
cd "${S}"/Documentation
if [[ ${PV} == *9999 ]] ; then
git_emake man \
|| die "emake man failed"
if use doc ; then
git_emake info html \
|| die "emake info html failed"
fi
else
if use doc ; then
git_emake info \
|| die "emake info html failed"
fi
fi
if use subversion ; then
cd "${S}"/contrib/svn-fe
# by defining EXTLIBS we override the detection for libintl and
# libiconv, bug #516168
local nlsiconv=
use nls && use !elibc_glibc && nlsiconv+=" -lintl"
use iconv && use !elibc_glibc && nlsiconv+=" -liconv"
git_emake EXTLIBS="${EXTLIBS} ${nlsiconv}" || die "emake svn-fe failed"
if use doc ; then
git_emake svn-fe.{1,html} || die "emake svn-fe.1 svn-fe.html failed"
fi
cd "${S}"
fi
if use gnome-keyring ; then
cd "${S}"/contrib/credential/gnome-keyring
git_emake || die "emake git-credential-gnome-keyring failed"
fi
cd "${S}"/contrib/subtree
git_emake
use doc && git_emake doc
if use mediawiki ; then
cd "${S}"/contrib/mw-to-git
git_emake
fi
}
src_install() {
git_emake \
install || \
die "make install failed"
if [[ ${CHOST} == *-darwin* ]]; then
dobin contrib/credential/osxkeychain/git-credential-osxkeychain
fi
# Depending on the tarball and manual rebuild of the documentation, the
# manpages may exist in either OR both of these directories.
find man?/*.[157] >/dev/null 2>&1 && doman man?/*.[157]
find Documentation/*.[157] >/dev/null 2>&1 && doman Documentation/*.[157]
dodoc README* Documentation/{SubmittingPatches,CodingGuidelines}
use doc && dodir /usr/share/doc/${PF}/html
for d in / /howto/ /technical/ ; do
docinto ${d}
dodoc Documentation${d}*.txt
if use doc ; then
docinto ${d}/html
dodoc Documentation${d}*.html
fi
done
docinto /
# Upstream does not ship this pre-built :-(
use doc && doinfo Documentation/{git,gitman}.info
newbashcomp contrib/completion/git-completion.bash ${PN}
bashcomp_alias git gitk
# Not really a bash-completion file (bug #477920)
# but still needed uncompressed (bug #507480)
insinto /usr/share/${PN}
doins contrib/completion/git-prompt.sh
if use emacs ; then
elisp-install ${PN} contrib/emacs/git.{el,elc}
elisp-install ${PN} contrib/emacs/git-blame.{el,elc}
#elisp-install ${PN}/compat contrib/emacs/vc-git.{el,elc}
# don't add automatically to the load-path, so the sitefile
# can do a conditional loading
touch "${ED}${SITELISP}/${PN}/compat/.nosearch"
elisp-site-file-install "${FILESDIR}"/${SITEFILE}
fi
if use python && use gtk ; then
python_doscript "${S}"/contrib/gitview/gitview
dodoc "${S}"/contrib/gitview/gitview.txt
fi
#dobin contrib/fast-import/git-p4 # Moved upstream
#dodoc contrib/fast-import/git-p4.txt # Moved upstream
newbin contrib/fast-import/import-tars.perl import-tars
exeinto /usr/libexec/git-core/
newexe contrib/git-resurrect.sh git-resurrect
# git-subtree
cd "${S}"/contrib/subtree
git_emake install || die "Failed to emake install git-subtree"
if use doc ; then
git_emake install-man install-doc || die "Failed to emake install-doc install-mangit-subtree"
fi
newdoc README README.git-subtree
dodoc git-subtree.txt
cd "${S}"
if use mediawiki ; then
cd "${S}"/contrib/mw-to-git
git_emake install
cd "${S}"
fi
# diff-highlight
dobin contrib/diff-highlight/diff-highlight
newdoc contrib/diff-highlight/README README.diff-highlight
# git-jump
exeinto /usr/libexec/git-core/
doexe contrib/git-jump/git-jump
newdoc contrib/git-jump/README git-jump.txt
# git-contacts
exeinto /usr/libexec/git-core/
doexe contrib/contacts/git-contacts
dodoc contrib/contacts/git-contacts.txt
if use gnome-keyring ; then
cd "${S}"/contrib/credential/gnome-keyring
dobin git-credential-gnome-keyring
fi
if use subversion ; then
cd "${S}"/contrib/svn-fe
dobin svn-fe
dodoc svn-fe.txt
if use doc ; then
doman svn-fe.1
docinto html
dodoc svn-fe.html
fi
cd "${S}"
fi
dodir /usr/share/${PN}/contrib
# The following are excluded:
# completion - installed above
# credential/gnome-keyring TODO
# diff-highlight - done above
# emacs - installed above
# examples - these are stuff that is not used in Git anymore actually
# git-jump - done above
# gitview - installed above
# p4import - excluded because fast-import has a better one
# patches - stuff the Git guys made to go upstream to other places
# persistent-https - TODO
# mw-to-git - TODO
# subtree - build seperately
# svnimport - use git-svn
# thunderbird-patch-inline - fixes thunderbird
for i in \
buildsystems convert-objects fast-import \
hg-to-git hooks remotes2config.sh rerere-train.sh \
stats workdir \
; do
cp -rf \
"${S}"/contrib/${i} \
"${ED}"/usr/share/${PN}/contrib \
|| die "Failed contrib ${i}"
done
if use perl && use cgi ; then
# We used to install in /usr/share/${PN}/gitweb
# but upstream installs in /usr/share/gitweb
# so we will install a symlink and use their location for compat with other
# distros
dosym /usr/share/gitweb /usr/share/${PN}/gitweb
# INSTALL discusses configuration issues, not just installation
docinto /
newdoc "${S}"/gitweb/INSTALL INSTALL.gitweb
newdoc "${S}"/gitweb/README README.gitweb
find "${ED}"/usr/lib64/perl5/ \
-name .packlist \
-exec rm \{\} \;
else
rm -rf "${ED}"/usr/share/gitweb
fi
if ! use subversion ; then
rm -f "${ED}"/usr/libexec/git-core/git-svn \
"${ED}"/usr/share/man/man1/git-svn.1*
fi
if use xinetd ; then
insinto /etc/xinetd.d
newins "${FILESDIR}"/git-daemon.xinetd git-daemon
fi
if use !prefix ; then
newinitd "${FILESDIR}"/git-daemon-r1.initd git-daemon
newconfd "${FILESDIR}"/git-daemon.confd git-daemon
systemd_newunit "${FILESDIR}/git-daemon_at-r1.service" "git-daemon@.service"
systemd_dounit "${FILESDIR}/git-daemon.socket"
fi
perl_delete_localpod
# Remove disabled linguas
# we could remove sources in src_prepare, but install does not
# handle missing locale dir well
rm_loc() {
if [[ -e "${ED}/usr/share/locale/${1}" ]]; then
rm -r "${ED}/usr/share/locale/${1}" || die
fi
}
l10n_for_each_disabled_locale_do rm_loc
}
src_test() {
local disabled=""
local tests_cvs="t9200-git-cvsexportcommit.sh \
t9400-git-cvsserver-server.sh \
t9401-git-cvsserver-crlf.sh \
t9402-git-cvsserver-refs.sh \
t9600-cvsimport.sh \
t9601-cvsimport-vendor-branch.sh \
t9602-cvsimport-branches-tags.sh \
t9603-cvsimport-patchsets.sh \
t9604-cvsimport-timestamps.sh"
local tests_perl="t3701-add-interactive.sh \
t5502-quickfetch.sh \
t5512-ls-remote.sh \
t5520-pull.sh \
t7106-reset-unborn-branch.sh \
t7501-commit.sh"
# Bug #225601 - t0004 is not suitable for root perm
# Bug #219839 - t1004 is not suitable for root perm
# t0001-init.sh - check for init notices EPERM* fails
local tests_nonroot="t0001-init.sh \
t0004-unwritable.sh \
t0070-fundamental.sh \
t1004-read-tree-m-u-wf.sh \
t3700-add.sh \
t7300-clean.sh"
# t9100 still fails with symlinks in SVN 1.7
local test_svn="t9100-git-svn-basic.sh"
# Unzip is used only for the testcase code, not by any normal parts of Git.
if ! has_version app-arch/unzip ; then
einfo "Disabling tar-tree tests"
disabled="${disabled} t5000-tar-tree.sh"
fi
cvs=0
use cvs && let cvs=$cvs+1
if [[ ${EUID} -eq 0 ]]; then
if [[ $cvs -eq 1 ]]; then
ewarn "Skipping CVS tests because CVS does not work as root!"
ewarn "You should retest with FEATURES=userpriv!"
disabled="${disabled} ${tests_cvs}"
fi
einfo "Skipping other tests that require being non-root"
disabled="${disabled} ${tests_nonroot}"
else
[[ $cvs -gt 0 ]] && \
has_version dev-vcs/cvs && \
let cvs=$cvs+1
[[ $cvs -gt 1 ]] && \
has_version "dev-vcs/cvs[server]" && \
let cvs=$cvs+1
if [[ $cvs -lt 3 ]]; then
einfo "Disabling CVS tests (needs dev-vcs/cvs[USE=server])"
disabled="${disabled} ${tests_cvs}"
fi
fi
if ! use perl ; then
einfo "Disabling tests that need Perl"
disabled="${disabled} ${tests_perl}"
fi
einfo "Disabling tests that fail with SVN 1.7"
disabled="${disabled} ${test_svn}"
# Reset all previously disabled tests
cd "${S}/t"
for i in *.sh.DISABLED ; do
[[ -f "${i}" ]] && mv -f "${i}" "${i%.DISABLED}"
done
einfo "Disabled tests:"
for i in ${disabled} ; do
[[ -f "${i}" ]] && mv -f "${i}" "${i}.DISABLED" && einfo "Disabled $i"
done
# Avoid the test system removing the results because we want them ourselves
sed -e '/^[[:space:]]*$(MAKE) clean/s,^,#,g' \
-i "${S}"/t/Makefile
# Clean old results first, must always run
cd "${S}/t"
nonfatal git_emake clean
# Now run the tests, keep going if we hit an error, and don't terminate on
# failure
cd "${S}"
einfo "Start test run"
#MAKEOPTS=-j1
nonfatal git_emake --keep-going test
rc=$?
# Display nice results, now print the results
cd "${S}/t"
nonfatal git_emake aggregate-results
# And bail if there was a problem
[ $rc -eq 0 ] || die "tests failed. Please file a bug."
}
showpkgdeps() {
local pkg=$1
shift
elog " $(printf "%-17s:" ${pkg}) ${@}"
}
pkg_postinst() {
use emacs && elisp-site-regen
einfo "Please read /usr/share/bash-completion/git for Git bash command completion"
einfo "Please read /usr/share/git/git-prompt.sh for Git bash prompt"
einfo "Note that the prompt bash code is now in that separate script"
elog "These additional scripts need some dependencies:"
echo
showpkgdeps git-quiltimport "dev-util/quilt"
showpkgdeps git-instaweb \
"|| ( www-servers/lighttpd www-servers/apache www-servers/nginx )"
echo
use mediawiki-experimental && ewarn "Using experimental git-mediawiki patches. The stability of cloned wiki filesystems is not guaranteed."
}
pkg_postrm() {
use emacs && elisp-site-regen
}

@ -0,0 +1,46 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit autotools eutils user
DESCRIPTION="A simple console game, where you drive a car across the moon's surface"
HOMEPAGE="http://www.seehuhn.de/comp/moon-buggy.html"
SRC_URI="http://www.seehuhn.de/data/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~x86"
IUSE=""
RDEPEND="sys-libs/ncurses:0"
DEPEND="${RDEPEND}
virtual/pkgconfig"
pkg_setup(){
enewgroup gamestat 36
}
src_prepare() {
default
sed -i \
-e '/$(DESTDIR)$(bindir)\/moon-buggy -c/d' \
Makefile.am || die
rm -f missing
eautoreconf
}
src_configure() {
econf \
--sharedstatedir="/var/games" \
--with-curses-libs="$(pkg-config ncurses --libs)"
}
src_install() {
default
touch "${D}/var/games/${PN}/mbscore"
fowners root:gamestat /usr/bin/${PN} /var/games/${PN} /var/games/${PN}/mbscore
fperms 2755 /usr/bin/${PN}
fperms 664 /var/games/${PN}/mbscore
}

@ -1,5 +1,5 @@
--- makefile.lin.old 2011-06-14 08:03:28.928366818 +0200
+++ makefile.lin 2011-06-14 08:07:43.199113541 +0200
--- a/makefile.lin 2011-06-14 08:03:28.928366818 +0200
+++ b/makefile.lin 2011-06-14 08:07:43.199113541 +0200
@@ -4,18 +4,13 @@
NAME = noiz2sa
O = o

@ -0,0 +1,43 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit eutils user
DESCRIPTION="Abstract Shooting Game"
HOMEPAGE="http://www.asahi-net.or.jp/~cs8k-cyu/windows/noiz2sa_e.html http://sourceforge.net/projects/noiz2sa/"
SRC_URI="mirror://sourceforge/noiz2sa/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND="
>=dev-libs/libbulletml-0.0.3
media-libs/sdl-mixer[vorbis]
virtual/opengl"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${PN}/src
PATCHES=(
"${FILESDIR}"/${P}-gcc41.patch
"${FILESDIR}"/${P}-underlink.patch
)
src_prepare(){
default
cp makefile.lin Makefile || die
}
src_install(){
local datadir="/usr/share/games/${PN}"
dobin ${PN}
dodir "${datadir}"
dodoc ../readme*
cp -r ../noiz2sa_share/* "${D}/${datadir}" || die
}

@ -1 +1 @@
DIST cockatrice_source_20120702.tar.gz 3790304 SHA256 a418124d3df255f2af70a20ff6b13f85361467abe4ea4216602bd3647cfc490e SHA512 119acd394dfe97de72b0be8d1ea8c6178f9d0150dcb50d1aba074c28c8d0f52f2be5758ac3943c49d11f655f02a70fc5f5a7e207b8a2631f73f7178ff17b5c35 WHIRLPOOL 1e5112519ddd0f4107778c97d4cf415959117d7e5854ad9760d50621a77a53d992678470772358c880e89ba35376cbf6abab4687969810c117d2851eae4ec70a
DIST 2016-05-06-Release.tar.gz 6910937 SHA256 379835006f38b603af01cf46d508fd40e862b451045807b444042914e8736fee SHA512 5f90804270907b3a915e763e6a20c39432f76591a11df7198526fde5635314ffbb27026860053c302be1ef1dfce1efa445c5849c72d1220575314d6c3d67e94f WHIRLPOOL a13c531980da2cf172e933c5bcb179f8dc9368514fe7d2ec12a203f54c04aa5258218c6d2fc1bee30826598e1e8c057c437af6810709c26b0863cd2b665bc159

@ -6,8 +6,11 @@ EAPI=5
inherit cmake-utils eutils gnome2-utils games
DESCRIPTION="An open-source multiplatform software for playing card games over a network"
HOMEPAGE="http://cockatrice.de/"
SRC_URI="http://cockatrice.de/files/${PN}_source_${PV}.tar.gz"
HOMEPAGE="https://github.com/Cockatrice/Cockatrice"
SRC_URI="https://github.com/Cockatrice/${PN}/archive/2016-05-06-Release.tar.gz"
S=${WORKDIR}/"Cockatrice-2016-05-06-Release"
LICENSE="GPL-2"
SLOT="0"
@ -17,21 +20,15 @@ IUSE="dedicated server"
DEPEND="
dev-libs/libgcrypt:0
dev-libs/protobuf
dev-qt/qtcore:4
dev-qt/qtsql:4
dev-qt/qtcore:5
dev-qt/qtconcurrent
dev-qt/linguist-tools
dev-qt/qtprintsupport
!dedicated? (
dev-qt/qtmultimedia:4
dev-qt/qtsvg:4
dev-qt/qtgui:4
dev-qt/qtmultimedia:5
dev-qt/qtsvg:5
dev-qt/qtgui:5
)"
RDEPEND=${DEPEND}
S=${WORKDIR}/${PN}_${PV}
src_prepare() {
epatch "${FILESDIR}"/${P}-build.patch \
"${FILESDIR}"/${P}-underlinking.patch
}
src_configure() {
local mycmakeargs=(

@ -1,103 +0,0 @@
From: Julian Ospald <hasufell@gentoo.org>
Date: Thu Aug 2 21:27:25 UTC 2012
Subject: build system
add install rule for cockatrice binary
make paths for ICONDIR and DESKTOPDIR modifiable
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -8,7 +8,9 @@
add_subdirectory(oracle)
endif(NOT WITHOUT_CLIENT)
+set(DATADIR "share/cockatrice" CACHE PATH "Data dir")
+
FILE(GLOB sounds "${CMAKE_CURRENT_SOURCE_DIR}/sounds/*.raw")
-INSTALL(FILES ${sounds} DESTINATION share/cockatrice/sounds)
+INSTALL(FILES ${sounds} DESTINATION ${DATADIR}/sounds)
FILE(GLOB zonebg "${CMAKE_CURRENT_SOURCE_DIR}/zonebg/*.*")
-INSTALL(FILES ${zonebg} DESTINATION share/cockatrice/zonebg)
\ No newline at end of file
+INSTALL(FILES ${zonebg} DESTINATION ${DATADIR}/zonebg)
--- servatrice/CMakeLists.txt
+++ servatrice/CMakeLists.txt
@@ -2,6 +2,9 @@
SET(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR})
PROJECT(servatrice)
+# cmake modules
+include(GNUInstallDirs)
+
SET(servatrice_SOURCES
src/main.cpp
src/passwordhasher.cpp
@@ -51,3 +54,5 @@
COMMAND ${CMAKE_COMMAND} -DSOURCE_DIR=${CMAKE_CURRENT_SOURCE_DIR} -P ${CMAKE_CURRENT_SOURCE_DIR}/../common/getversion.cmake
)
+# install rules
+INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/servatrice DESTINATION ${CMAKE_INSTALL_BINDIR})
--- cockatrice/CMakeLists.txt
+++ cockatrice/CMakeLists.txt
@@ -158,7 +158,13 @@
)
if (UNIX AND NOT APPLE)
- set_source_files_properties(src/main.cpp PROPERTIES COMPILE_FLAGS -DTRANSLATION_PATH=\\"${CMAKE_INSTALL_PREFIX}/share/cockatrice/translations\\")
+ if(IS_ABSOLUTE ${DATADIR})
+ set(_DATADIR ${DATADIR})
+ else()
+ set(_DATADIR ${CMAKE_INSTALL_PREFIX}/${DATADIR})
+ endif()
+
+ set_source_files_properties(src/main.cpp PROPERTIES COMPILE_FLAGS -DTRANSLATION_PATH=\\"${_DATADIR}/translations\\")
endif (UNIX AND NOT APPLE)
set(cockatrice_RESOURCES cockatrice.qrc)
@@ -201,6 +207,11 @@
set(CMAKE_CXX_FLAGS_DEBUG "-ggdb -O0")
set(CMAKE_CXX_FLAGS_RELEASE "-s -O2")
+# paths
+set(ICONDIR share/icons CACHE STRING "icon dir")
+set(DESKTOPDIR share/applications CACHE STRING "desktop file destination")
+
+
QT4_WRAP_CPP(cockatrice_HEADERS_MOC ${cockatrice_HEADERS})
QT4_ADD_TRANSLATION(cockatrice_QM ${cockatrice_TS})
QT4_ADD_RESOURCES(cockatrice_RESOURCES_RCC ${cockatrice_RESOURCES})
@@ -218,10 +229,10 @@
INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/cockatrice DESTINATION bin)
if (NOT WIN32 AND NOT APPLE)
- INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/resources/cockatrice.png DESTINATION share/icons/hicolor/48x48/apps)
- INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/resources/cockatrice.svg DESTINATION share/icons/hicolor/scalable/apps)
- INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/cockatrice.desktop DESTINATION share/applications)
- INSTALL(FILES ${cockatrice_QM} DESTINATION share/cockatrice/translations)
+ INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/resources/cockatrice.png DESTINATION ${ICONDIR}/hicolor/48x48/apps)
+ INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/resources/cockatrice.svg DESTINATION ${ICONDIR}/hicolor/scalable/apps)
+ INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/cockatrice.desktop DESTINATION ${DESKTOPDIR})
+ INSTALL(FILES ${cockatrice_QM} DESTINATION ${DATADIR}/translations)
ENDIF(NOT WIN32 AND NOT APPLE)
add_custom_command(
--- oracle/CMakeLists.txt
+++ oracle/CMakeLists.txt
@@ -1,6 +1,9 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
PROJECT(oracle)
+# paths
+set(DESKTOPDIR share/appliactions CACHE STRING "path to .desktop files")
+
SET(oracle_SOURCES src/main.cpp src/oracleimporter.cpp src/window_main.cpp ../cockatrice/src/carddatabase.cpp ../cockatrice/src/settingscache.cpp)
SET(oracle_HEADERS src/oracleimporter.h src/window_main.h ../cockatrice/src/carddatabase.h ../cockatrice/src/settingscache.h)
@@ -21,5 +24,5 @@
INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/oracle DESTINATION bin)
IF (NOT WIN32 AND NOT APPLE)
- INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/oracle.desktop DESTINATION share/applications)
+ INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/oracle.desktop DESTINATION ${DESKTOPDIR})
ENDIF (NOT WIN32 AND NOT APPLE)

@ -1,29 +0,0 @@
From: Julian Ospald <hasufell@gentoo.org>
Date: Thu Aug 2 22:12:00 UTC 2012
Subject: underlinking
add -lpthread to cockatrice amd servatrice LIBS to support linkers that
don't permit underlinking
--- cockatrice/CMakeLists.txt
+++ cockatrice/CMakeLists.txt
@@ -219,7 +219,7 @@
INCLUDE_DIRECTORIES(${QT_MOBILITY_MULTIMEDIAKIT_INCLUDE_DIR})
ADD_EXECUTABLE(cockatrice WIN32 MACOSX_BUNDLE ${cockatrice_SOURCES} ${cockatrice_QM} ${cockatrice_RESOURCES_RCC} ${cockatrice_HEADERS_MOC})
-TARGET_LINK_LIBRARIES(cockatrice cockatrice_common ${QT_LIBRARIES} ${QT_MOBILITY_MULTIMEDIAKIT_LIBRARY})
+TARGET_LINK_LIBRARIES(cockatrice cockatrice_common ${QT_LIBRARIES} ${QT_MOBILITY_MULTIMEDIAKIT_LIBRARY} -lpthread)
INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/cockatrice DESTINATION bin)
if (NOT WIN32 AND NOT APPLE)
--- servatrice/CMakeLists.txt
+++ servatrice/CMakeLists.txt
@@ -46,7 +46,7 @@
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
ADD_EXECUTABLE(servatrice ${servatrice_SOURCES} ${servatrice_HEADERS_MOC})
-TARGET_LINK_LIBRARIES(servatrice cockatrice_common ${QT_LIBRARIES} ${LIBGCRYPT_LIBRARY})
+TARGET_LINK_LIBRARIES(servatrice cockatrice_common ${QT_LIBRARIES} ${LIBGCRYPT_LIBRARY} -lpthread)
#add_custom_target(versionheader ALL DEPENDS version_header)
add_custom_command(

@ -1,2 +1,3 @@
DIST gnome-session-3.18.1.2.tar.xz 758552 SHA256 b37d823d57ff2e3057401a426279954699cfe1e44e59a4cbdd941687ff928a45 SHA512 741da4ebdc6eccef35ee3e1be124785ad7e2e6de49c2fbb88568cff91c8cd5133e71064d8c74181052a9ce4df446fad7358bb61fc1d1a5746ab76a655d35f72a WHIRLPOOL 1c47dd8bc186c3a22519a306ec15f332d00824110202296508211cf0efb4f7def29d72795b6987e8795bd9b974758f8f269ed1fbfb646da3655f0e8429655def
DIST gnome-session-3.20.1.tar.xz 784852 SHA256 2ae9f53dc74f851222fbefbe0dc08db0a78cc76ceeb156f92ebd4d40fd038913 SHA512 d7ee6738a548644a9a1c8a58eeae7badd0c73e7cf830caa4851c571b38522cc073e3b9357c4e8edb13c4e1526c57d78dc531d3136e29aa30f00db98170404e5e WHIRLPOOL 5a62ddb20eb854fae6873378ed8037bb33227bb8e32776f7cb2697640be996d3c4804b5fb7f0ffce17ba52ee0a81c811a4e66c3fbbc112d059d2878059d02d0c
DIST gnome-session-3.20.2.tar.xz 785952 SHA256 025f97e0b9f5431890598d6130040e1e7071771cc29e1d29d8e2e7c84d95f6da SHA512 0973c9763195a79038d99139f56eff8d7ad1fccc4c4e41a6439b5c65c615059a21446545af70f4ed83ec6925fd61a7664e70eec844dfe5e2a1001dffdbbea13a WHIRLPOOL 4a3cf1580b966a0b617e78db45635ec66d7bdfb6d5b183390edb07aaae3911876ff4af774cb0ae93c6ee4316555303812fcff40efce1827946457cb2a0646f61

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

Loading…
Cancel
Save