Sync with portage [Tue Sep 29 09:24:21 MSK 2015].

mhiretskiy 43
root 9 years ago
parent eff47a765e
commit f563a4dd45

@ -89,7 +89,8 @@ PATCHES=(
python_prepare() {
# this test fails because it trys to "pip install distribute"
rm tests/unit/{modules,states}/zcbuildout_test.py tests/unit/modules/{rh_ip,win_network}_test.py
rm tests/unit/{modules,states}/zcbuildout_test.py \
tests/unit/modules/{rh_ip,win_network,random_org}_test.py
}
python_install_all() {

@ -3,6 +3,19 @@ https://bugs.gentoo.org/548374
--- a/ca-certificates/mozilla/certdata2pem.py
+++ b/ca-certificates/mozilla/certdata2pem.py
@@ -31,7 +31,11 @@ objects = []
# Dirty file parser.
in_data, in_multiline, in_obj = False, False, False
field, type, value, obj = None, None, None, dict()
-for line in open('certdata.txt', 'r'):
+try:
+ f = open('certdata.txt', 'r', encoding='utf-8')
+except TypeError:
+ f = open('certdata.txt', 'r')
+for line in f:
# Ignore the file header.
if not in_data:
if line.startswith('BEGINDATA'):
@@ -53,7 +53,7 @@ for line in open('certdata.txt', 'r'):
if type == 'MULTILINE_OCTAL':
line = line.strip()
@ -62,17 +75,19 @@ https://bugs.gentoo.org/548374
.replace(')', '=')\
.replace(',', '_')
- bname = bname.decode('string_escape')
- fname = bname + '.crt'
+
+ # this is the only way to decode the way NSS stores multi-byte UTF-8
+ if bytes != str:
+ bname = bname.encode('utf-8')
+ bname = bname.decode('unicode_escape').encode('latin-1').decode('utf-8')
fname = bname + '.crt'
+ fname = (bname + '.crt').encode('utf-8')
+
if os.path.exists(fname):
- print "Found duplicate certificate name %s, renaming." % bname
+ print("Found duplicate certificate name %s, renaming." % bname)
fname = bname + '_2.crt'
- fname = bname + '_2.crt'
+ print("Found duplicate certificate name %s, renaming." % fname)
+ fname = (bname + '_2.crt').encode('utf-8')
f = open(fname, 'w')
f.write("-----BEGIN CERTIFICATE-----\n")
- f.write("\n".join(textwrap.wrap(base64.b64encode(obj['CKA_VALUE']), 64)))

@ -1,2 +1 @@
DIST FastInfoset-1.2.11-sources.jar 255054 SHA256 5d5ffc5002d78edf3c838cc60567447f5dfd3b22fda623afe15a4bd44c92c4f4 SHA512 a1e850e4b235bf767a168dacdaf61f4e1261b6cb50387c3f3cda575f87bed5cf3974c9d04a273baf1aeb47bfa1851aab95432a3890b8bd99f3672c88f0205e3a WHIRLPOOL e20edda9a8d2314cb66c450442260683e701fc5c9fd40ca228c1adf4eacc1967e5ea36423021404df42d396f9b6b562d0a6a727859aa85a53a3976d0e5155ae7
DIST FastInfoset_src_1.2.1.zip 296557 SHA256 7a72fd95990235b5d07e153e77ca8c372840529b6f2a70e8b66f2da8c0e73d07 SHA512 cc97222787068db91058c997995261d10bac25a35e63fc40d87704bdc9857bb1624e3adaeaa4ff008295cc39e3519354b23a1ebcb43e430864526ddf08b23c36 WHIRLPOOL b5ac27bb5d6e78b9a1d27d8db6196021cf6b5d3a131d6fb0449918a04c7e6bc311d9a4a76a50ddb5e9f4bba25b6337a15a4bf71f2203835443a603b898140151

@ -1,49 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
JAVA_PKG_IUSE="source"
inherit java-pkg-2 java-ant-2
DESCRIPTION="Fast Infoset"
HOMEPAGE="https://fi.dev.java.net/"
SRC_URI="https://fi.dev.java.net/files/documents/2634/45735/FastInfoset_src_${PV}.zip"
LICENSE="CDDL"
SLOT="0"
KEYWORDS="amd64 ~ppc x86 ~x86-fbsd"
IUSE=""
COMMON_DEP="java-virtuals/stax-api"
RDEPEND=">=virtual/jre-1.5
${COMMON_DEP}"
DEPEND=">=virtual/jdk-1.5
${COMMON_DEP}
app-arch/unzip"
S="${WORKDIR}"
src_unpack() {
unpack ${A}
mkdir src lib
mv com org src/ || die
cp "${FILESDIR}/build.xml-${PV}" "${S}/build.xml" || die
cd "${S}/lib"
java-pkg_jar-from --virtual stax-api
}
src_install() {
java-pkg_newjar fi.jar
use source && java-pkg_dosrc src/*
}

@ -1,24 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="Fast Infoset specifies a standardized binary encoding for the XML Information Sets"
HOMEPAGE="https://fi.java.net/"
SRC_URI="https://fi.dev.java.net/files/documents/2634/45735/FastInfoset_src_${PV}.zip"
LICENSE="CDDL"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
IUSE=""
RDEPEND=">=virtual/jre-1.5"
DEPEND=">=virtual/jdk-1.5
app-arch/unzip"
S="${WORKDIR}"

@ -0,0 +1,52 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
JAVA_PKG_IUSE="source"
inherit java-pkg-2 java-ant-2 versionator
MY_PV=$(replace_all_version_separators '_')
DESCRIPTION="JiBX: Binding XML to Java Code - Generators"
HOMEPAGE="http://jibx.sourceforge.net/"
SRC_URI="mirror://sourceforge/jibx/jibx_${MY_PV}.zip"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
CDEPEND="dev-java/bcel:0
dev-java/jibx:0"
RDEPEND=">=virtual/jre-1.6
${CDEPEND}"
DEPEND=">=virtual/jdk-1.6
app-arch/unzip
${CDEPEND}"
S="${WORKDIR}/jibx"
java_prepare() {
# http://jira.codehaus.org/browse/JIBX-207
epatch "${FILESDIR}/1.1.5-build.patch"
java-ant_rewrite-classpath "${S}/build/build.xml"
rm -v "${S}"/lib/*.jar || die
}
EANT_FILTER_COMPILER="ecj-3.3"
EANT_BUILD_XML="build/build.xml"
EANT_BUILD_TARGET="jar-tools"
EANT_GENTOO_CLASSPATH="bcel,jibx"
src_install() {
java-pkg_register-dependency jibx
java-pkg_dojar "${S}/lib"/jibx-*.jar
use source && java-pkg_dosrc "${S}"/build/src/* "${S}"/build/extras/*
}

@ -0,0 +1,57 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2 versionator
MY_PV=$(replace_all_version_separators '_')
DESCRIPTION="JiBX: Binding XML to Java Code"
HOMEPAGE="http://jibx.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${PN}_${MY_PV}.zip"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~x64-macos ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris"
IUSE=""
CDEPEND="dev-java/dom4j:1
dev-java/ant-core:0
dev-java/bcel:0
dev-java/xpp3:0"
DEPEND=">=virtual/jdk-1.6
app-arch/unzip
${CDEPEND}"
RDEPEND=">=virtual/jre-1.6
${CDEPEND}"
S="${WORKDIR}/${PN}"
java_prepare() {
cd lib || die
rm -v *.jar || die
java-pkg_jar-from ant-core,bcel,dom4j-1,xpp3
}
EANT_BUILD_TARGET="small-jars"
EANT_BUILD_XML="build/build.xml"
src_install() {
java-pkg_dojar "${S}"/lib/${PN}*.jar
dodoc changes.txt docs/binding.dtd docs/binding.xsd
dohtml readme.html
use doc && {
java-pkg_dohtml -r docs/*
cp -R starter "${ED}/usr/share/doc/${PF}"
cp -R tutorial "${ED}/usr/share/doc/${PF}"
}
use source && java-pkg_dosrc build/src/* build/extras/*
}

@ -0,0 +1,36 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
DESCRIPTION="The Sun Java Streaming XML Parser (SJSXP) is an efficient implementation of the StAX API"
HOMEPAGE="http://sjsxp.dev.java.net/"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="bea.ri.jsr173"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
IUSE=""
RDEPEND=">=virtual/jre-1.6
${CDEPEND}"
DEPEND=">=virtual/jdk-1.6
${CDEPEND}"
S="${WORKDIR}/zephyr"
JAVA_ANT_REWRITE_CLASSPATH="yes"
EANT_DOC_TARGET="javadocs"
src_install() {
java-pkg_dojar "build/${PN}.jar"
use doc && java-pkg_dojavadoc build/docs/javadocs/sjsxp
use source && java-pkg_dosrc src
}

@ -1 +1,2 @@
DIST liblinear-196.tar.gz 361430 SHA256 e61297bf72f882ba891ec7b77fbc633d6d933738c1d61780917d75747bd0539c SHA512 6ed1ed45a98c1ff050537d4dd3234088c9ec394d339456168133200d074d1eb5ce80391dd2bf99b1a74e3bd4907ca7b04a5dd95bc42fcfad84ec8a6c38a7feb9 WHIRLPOOL a3622c23b29a0c40e00d1af8d53323c2131123d568223ab54a9dcd0c746906a576f57fd5e4d207643283a655647ebd66a9ac13c31fc36a2ffbac2e0bfdfcd98e
DIST liblinear-210.tar.gz 381662 SHA256 9e559d1f0714799d4cf7742fb186012459285e25bed9c5847d5d8032daefc8de SHA512 4e4558467f2ebb3dbd640c172b1129c8e5981c231a043abb0398a803252559795604a34992baee50ae6689646050733d3a908d7d76f8b1c94309b859eae7f8c8 WHIRLPOOL 6756930f5fec958f3f137b9757a6a3704d1a5ab799d1634e2223990847ebe05a2602a77e4310a4f653434230ca47c0053de2ff3a03dc1cb265f85a6148db6f5d

@ -0,0 +1,51 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit multilib toolchain-funcs
DESCRIPTION="A Library for Large Linear Classification"
HOMEPAGE="http://www.csie.ntu.edu.tw/~cjlin/liblinear/ https://github.com/cjlin1/liblinear"
SRC_URI="https://github.com/cjlin1/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0/3"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
src_prepare() {
sed -i \
-e '/^AR/s|=|?=|g' \
-e '/^RANLIB/s|=|?=|g' \
-e '/^CFLAGS/d;/^CXXFLAGS/d' \
blas/Makefile || die
sed -i \
-e 's|make|$(MAKE)|g' \
-e '/$(LIBS)/s|$(CFLAGS)|& $(LDFLAGS)|g' \
-e '/^CFLAGS/d;/^CXXFLAGS/d' \
-e 's|$${SHARED_LIB_FLAG}|& $(LDFLAGS)|g' \
Makefile || die
}
src_compile() {
CC=$(tc-getCC) \
CXX=$(tc-getCXX) \
CFLAGS="${CFLAGS} -fPIC" \
CXXFLAGS="${CXXFLAGS} -fPIC" \
AR="$(tc-getAR) rcv" \
RANLIB="$(tc-getRANLIB)" \
emake lib all
}
src_install() {
dolib ${PN}.so.3
dosym ${PN}.so.3 /usr/$(get_libdir)/${PN}.so
newbin predict ${PN}-predict
newbin train ${PN}-train
insinto /usr/include
doins linear.h
dodoc README
}

@ -16,7 +16,7 @@ SRC_URI="http://python-nbxmpp.gajim.org/downloads/${TAG} -> ${P}.tar.gz"
SLOT="0"
LICENSE="BSD"
KEYWORDS="~alpha amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="~alpha amd64 ~arm ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
IUSE=""
S="${WORKDIR}"/nbxmpp-${PV}

@ -1,2 +1,3 @@
DIST redcarpet-3.2.3.tar.gz 100245 SHA256 1de6a5b6e3d672b3f3102a6e4b9e98cc9b847de90bd0b4aef7367676ee1876f5 SHA512 2da50028274f2431a75c74c201c650c53c4c5e717790581b927cf455813b219aeebd79c0279a19d34475f5382ebd5783be295c6ea9f26f0ad5c2e92d0a0a8332 WHIRLPOOL e2f22ea230a3318003e318b655cf6721f7f6f9c1a241e44c5e4736683d2ff99ad26bb91f7ab4d32b6f2e13940a9b809b7e8f1b5ec84b10adff2c5f0fa6fd1fd5
DIST redcarpet-3.3.2.tar.gz 102671 SHA256 67781fd469195fae606f96be0c51658fc74f0dfd559afcaef8f7e506faef0790 SHA512 3d9d7d77bcc7f16e5710cc1ca2a95dff969ce927538d475c37ce82138de9c3ff88a235c65c97e017e5e0258ebaa52eeed6c2d2e5e34011f7f13f0f8392e580a0 WHIRLPOOL 188dd0f735a7e54e9589a4096b4ea052f63180a32330e6196ddf9e9afb29376422d7dcebdb965996b3cb01c861eb1016f02c8d6435d06a23a95e947b31861bbb
DIST redcarpet-3.3.3.tar.gz 103667 SHA256 3014febfac7afb25edac5f10e4ccf070d5dfb1f278c8a76623eb1903052b093c SHA512 60a69b5e41c152c2f42c69fd8c36020325131e57d8bc5d8f02dccfa8688e48a7bfbebaba38cd1cf7547864b308b676281d77e9e0ef182a2416b3a9e3a8ef7357 WHIRLPOOL 9ecf4d194706f05091cae1ddf08c84b92e5b4ab8e3d0836761a156972f93bdc63f585ed84b037054ec936675882940a306f3d7568284259ffe60284ffcfdeeba

@ -0,0 +1,42 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_EXTRADOCS="README.markdown CONTRIBUTING.md CHANGELOG.md doc"
RUBY_FAKEGEM_TASK_TEST="test:unit"
inherit multilib ruby-fakegem
SRC_URI="https://github.com/vmg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
DESCRIPTION="A Ruby wrapper for Upskirt"
HOMEPAGE="https://github.com/vmg/redcarpet"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
ruby_add_bdepend "test? ( dev-ruby/nokogiri )"
all_ruby_prepare() {
sed -i -e '/bundler/d' -e 's/=> :compile//' Rakefile || die
# Avoid unneeded dependency on rake-compiler
sed -i -e '/extensiontask/I s:^:#:' Rakefile || die
}
each_ruby_prepare() {
sed -i -e "s#ruby#${RUBY}#" bin/redcarpet || die
}
each_ruby_configure() {
${RUBY} -Cext/redcarpet extconf.rb || die
}
each_ruby_compile() {
emake V=1 -Cext/${PN}
cp ext/${PN}/*$(get_modname) lib || die
}

@ -1 +1,2 @@
DIST dialog-1.2-20150528.tgz 497650 SHA256 a8cd7a66bdb41e53a3145cbb0eb370c5ce7300fe0e9ad6d3e8d3b9e16ff16418 SHA512 fd044715ca83ea21d42daa979f7b7f91634ec28658da550b17e0b804eeb2393b4ff75aef967c994f276f1f341b428e13fba2258730ef1fbfb1d5e1675c68d80d WHIRLPOOL 543b716f5f749a03d78b40f762ed4f2ff23c07e0acab6f8e22be5518c1e05d9a65b9f372de083f43ee19cd7551043ecc8c19f3d4111369c4b500d357342c21fe
DIST dialog-1.2-20150920.tgz 498181 SHA256 c4e61ec5768701683dd4b5b2ebd8a31e6289fa6a1f5801e4b481085650698c05 SHA512 9cc0005ef6a0d7dc0b8263a433b0955fd8331fec9bceb0676dfb17da566d73216a089eab85b804918017623b98653bdb6b4e809a99ecf638f5a529dcf6314e48 WHIRLPOOL 7387fe72b56b20850826506b844e3d4378e7287aa67fc04b3f72d5684b34229fa14351ec2b8542c72b8a303c7c9819b8ead699575ad8eb90707d5e10de077e07

@ -0,0 +1,51 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils multilib versionator
MY_PV="$(get_version_component_range 1-2)-$(get_version_component_range 3)"
S=${WORKDIR}/${PN}-${MY_PV}
DESCRIPTION="tool to display dialog boxes from a shell"
HOMEPAGE="http://invisible-island.net/dialog/dialog.html"
SRC_URI="ftp://invisible-island.net/${PN}/${PN}-${MY_PV}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
IUSE="examples minimal nls static-libs unicode"
RDEPEND="
>=sys-libs/ncurses-5.2-r5:=[unicode?]
"
DEPEND="
${RDEPEND}
nls? ( sys-devel/gettext )
!minimal? ( sys-devel/libtool )
!<=sys-freebsd/freebsd-contrib-8.9999
"
src_prepare() {
sed -i -e '/LIB_CREATE=/s:${CC}:& ${LDFLAGS}:g' configure || die
sed -i '/$(LIBTOOL_COMPILE)/s:$: $(LIBTOOL_OPTS):' makefile.in || die
}
src_configure() {
econf \
--disable-rpath-hack \
$(use_enable nls) \
$(use_with !minimal libtool) \
--with-libtool-opts=$(usex static-libs '' '-shared') \
--with-ncurses$(usex unicode w '')
}
src_install() {
use minimal && default || emake DESTDIR="${D}" install-full
use examples && dodoc -r samples
dodoc CHANGES README
prune_libtool_files
}

@ -1 +1,2 @@
DIST Domination_1.1.1.5.zip 6390032 SHA256 6e0dd1c869679cc80c7904d6512cf9f6fc858a985b60c5a33f3f3291d716f740 SHA512 116d96aded29f60e71eacc8069c6b9ad3b2e8b7e44ed06c730cdaf8e1de4b95650e928e1876feb6bcb08697cd6eaedf1529cf323855e2da652855d07e8337360 WHIRLPOOL cd3de0950075f6330931f0847bd048d9919afc6009bfe99b7f3f6bed09a1b7ade30ad918af23139db2b15baacfe79845d3ce75c42463c5aa59603d141639b251
DIST Domination_1.1.1.6.zip 6567410 SHA256 90f8ec827137f738eafa32489a979eaa86683a0df0c3839f3e1626c0cf23f3d6 SHA512 46f4499f285f86cf94914ef62b25a52aa3b9848721c24900ec172f9b41d846dab07e288c564321486d451caee6049b4f4cb0ab475e378aa6df670e656b5b1fe6 WHIRLPOOL 38781c79c33319b41568ea4bf476a28b203d99b2ba8cfb62088cb48f3aa11ef63596f7a0936cfe9c1b22cc1fed1b583c1b8f2ccc7d85c607584f7d6f192f78ce

@ -0,0 +1,51 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils java-pkg-2 java-ant-2 games
DESCRIPTION="The well-known board game, written in java"
HOMEPAGE="http://domination.sourceforge.net"
SRC_URI="mirror://sourceforge/domination/Domination_${PV}.zip"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
IUSE=""
RDEPEND=">=virtual/jre-1.5"
DEPEND=">=virtual/jdk-1.5
app-arch/unzip"
S=${WORKDIR}/Domination
pkg_setup() {
games_pkg_setup
java-pkg-2_pkg_setup
}
EANT_BUILD_TARGET="game"
src_compile() {
java-pkg-2_src_compile
}
src_install() {
newgamesbin "${S}"/FlashGUI.sh ${PN}
sed -i \
-e "s|cd.*|cd \"${GAMES_DATADIR}\"/${PN}|" \
"${D}${GAMES_BINDIR}"/${PN} \
|| die
chmod +x "${D}${GAMES_BINDIR}"/${PN} || die
insinto "${GAMES_DATADIR}/${PN}"
doins -r "${S}"/*
rm -f "${D}${GAMES_DATADIR}"/${PN}/*.cmd || die
java-pkg_regjar "${D}/${GAMES_DATADIR}/${PN}"/*.jar
newicon resources/icon.png ${PN}.png
make_desktop_entry ${PN} "Domination"
prepgamesdirs
}

@ -1,2 +1,3 @@
DIST manaplus-1.5.6.20.tar.xz 9376348 SHA256 cee7ce82c730c3e2254bc335023eb5531a3bcb4434a926f8685e16a2651f5b7e SHA512 bec1a2f9e0c034f234ce66836454df7296ce366a55d635713f4ba6103b4ab12d5a0dfd5d00b6b67a935499226e50ed1d1750f37ac70f06017d047015ba3a3627 WHIRLPOOL 728621e395fdb6ba4491e35d25897346cd70676a459c729cb56d258aeb6b413e144e57f5f306a7084511f5c0cbe3425ac25b921f3c5367d7db3696e43e869365
DIST manaplus-1.5.8.15.tar.xz 9399088 SHA256 c9ebf1c106fd04f8b192b4f07b15528a69bd3541f5eeee7cc5ecfa643a1dab9c SHA512 c99f5f782c794f0697242a2191b0eb5062964919abc6122cc88c2eb2bc32e4ce085b10c4d97d926ee72b0bac406db3130fc05d76cb8e6f1241579a115db8d44d WHIRLPOOL fc5600fe2e42f362abe507a99834bdf1810ef643709fba0005a78119728e4f204df8e7ef2672ba8548fd611f48ddb3b9a063a104b216f3c000b3ee52d83eacab
DIST manaplus-1.5.9.26.tar.xz 9441816 SHA256 46efd357bc5e51311300e9239dead96f32a6a0a3c6407c091208e1b359d0151c SHA512 78cb38682fde6fb2fdb2f3805be45d69d926e2965bba3630c47f5f9ebc2d81b7dcae9dd08ae3bcaefd8837b02e09ec8da89b870052a232eb2ca8b9a9f8120413 WHIRLPOOL 4c2f153a79d71e6e69ec0b01419885453777e010c313fd4f86727cd39ec67d5eaeeeaa6237443b594ba3b42fba194e43f15f4fe5f4f43df4366aa2a85b4ce506

@ -0,0 +1,75 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit games
DESCRIPTION="OpenSource 2D MMORPG client for Evol Online and The Mana World"
HOMEPAGE="http://manaplus.evolonline.org"
SRC_URI="http://download.evolonline.org/manaplus/download/${PV}/manaplus-${PV}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="nls opengl"
RDEPEND="
>=dev-games/physfs-1.0.0
dev-libs/libxml2
media-libs/libpng:0=
media-libs/libsdl2[X,opengl?,video]
media-libs/sdl2-gfx
media-libs/sdl2-image[png]
media-libs/sdl2-mixer[vorbis]
media-libs/sdl2-net
media-libs/sdl2-ttf
net-misc/curl
sys-libs/zlib
x11-libs/libX11
x11-misc/xdg-utils
x11-apps/xmessage
media-fonts/dejavu
media-fonts/wqy-microhei
media-fonts/liberation-fonts
media-fonts/mplus-outline-fonts
nls? ( virtual/libintl )
opengl? ( virtual/opengl )"
DEPEND="${RDEPEND}
virtual/pkgconfig
nls? ( sys-devel/gettext )"
src_prepare() {
sed -i \
-e '/^SUBDIRS/s/fonts//' \
data/Makefile.in || die
}
src_configure() {
CONFIG_SHELL=/bin/bash \
egamesconf \
--with-sdl2 \
--without-internalsdlgfx \
--localedir=/usr/share/locale \
--prefix="/usr" \
--bindir="${GAMES_BINDIR}" \
$(use_with opengl) \
$(use_enable nls)
}
src_install() {
default
dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/dejavusans-bold.ttf
dosym /usr/share/fonts/dejavu/DejaVuSansMono-Bold.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/dejavusansmono-bold.ttf
dosym /usr/share/fonts/dejavu/DejaVuSansMono.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/dejavusansmono.ttf
dosym /usr/share/fonts/dejavu/DejaVuSans.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/dejavusans.ttf
dosym /usr/share/fonts/liberation-fonts/LiberationSans-Bold.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/liberationsans-bold.ttf
dosym /usr/share/fonts/liberation-fonts/LiberationMono-Bold.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/liberationsansmono-bold.ttf
dosym /usr/share/fonts/liberation-fonts/LiberationMono-Regular.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/liberationsansmono.ttf
dosym /usr/share/fonts/liberation-fonts/LiberationSans-Regular.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/liberationsans.ttf
dosym /usr/share/fonts/wqy-microhei/wqy-microhei.ttc "${GAMES_DATADIR}"/${PN}/data/fonts/wqy-microhei.ttf
dosym /usr/share/fonts/mplus-outline-fonts/mplus-1p-bold.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/mplus-1p-bold.ttf
dosym /usr/share/fonts/mplus-outline-fonts/mplus-1p-regular.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/mplus-1p-regular.ttf
prepgamesdirs
}

@ -1 +1 @@
Mon, 28 Sep 2015 17:11:21 +0000
Tue, 29 Sep 2015 05:41:25 +0000

@ -1 +1 @@
Mon, 28 Sep 2015 17:11:21 +0000
Tue, 29 Sep 2015 05:41:26 +0000

@ -11,4 +11,4 @@ REQUIRED_USE=|| ( raet zeromq ) || ( python_targets_python2_7 )
SLOT=0
SRC_URI=mirror://pypi/s/salt/salt-2015.8.0.tar.gz vim-syntax? ( https://github.com/saltstack/salt-vim/archive/20695f68e5895e5ae2b5884b78f5a2cd29897b05.tar.gz -> salt-vim-20141109.tar.gz )
_eclasses_=distutils-r1 46506dd0dd992b3c89b0d00daabfd86c eutils 95613dd6157fb4a3b225eafdc56bd441 multibuild ce2c2ede0c914b77f5dfc4e2ff2d0249 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 multiprocessing d769539d9bace6eaca30af23bc2b4dde python-r1 32b376cbb100a3a8083b3a0de023e117 python-utils-r1 39c6b012a0512678e698e712b5b7ecc2 systemd 6b4f0cefa642270eded7e6ca816fd181 toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d vim-doc 1b0813c9dadf2431c96854a8d46f5eaf vim-plugin 1bbfc3364a7588372fb4c21734f0cd96
_md5_=4dc480c3ae027334aec599cbb767e839
_md5_=5c7107449e23e107789cc227f25e6960

@ -1,12 +0,0 @@
DEFINED_PHASES=compile install preinst setup unpack
DEPEND=>=virtual/jdk-1.5 java-virtuals/stax-api app-arch/unzip >=dev-java/java-config-2.2.0 source? ( app-arch/zip ) >=dev-java/ant-core-1.8.2 >=dev-java/javatoolkit-0.3.0-r2
DESCRIPTION=Fast Infoset
HOMEPAGE=https://fi.dev.java.net/
IUSE=elibc_FreeBSD source elibc_FreeBSD
KEYWORDS=amd64 ~ppc x86 ~x86-fbsd
LICENSE=CDDL
RDEPEND=>=virtual/jre-1.5 java-virtuals/stax-api >=dev-java/java-config-2.2.0 source? ( app-arch/zip )
SLOT=0
SRC_URI=https://fi.dev.java.net/files/documents/2634/45735/FastInfoset_src_1.2.1.zip
_eclasses_=eutils 95613dd6157fb4a3b225eafdc56bd441 java-ant-2 e39bd5336f73afdf3e4a15c91a5dad59 java-pkg-2 bb9b8157d2a348d9ec42ce34a107fe0d java-utils-2 22a0377180eb25cf7ad0e4d7e6fcbb8e multilib df4e4d5cfd3d137d0c248e1991c0e4d6 toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d versionator 99ae9d758cbe7cfed19170e7d48f5a9c
_md5_=de522ceb20faf5e47c7b4fbc9d97c904

@ -1,13 +0,0 @@
DEFINED_PHASES=compile install preinst prepare setup
DEPEND=>=virtual/jdk-1.5 app-arch/unzip >=dev-java/java-config-2.2.0 source? ( app-arch/zip )
DESCRIPTION=Fast Infoset specifies a standardized binary encoding for the XML Information Sets
EAPI=5
HOMEPAGE=https://fi.java.net/
IUSE=elibc_FreeBSD doc source elibc_FreeBSD
KEYWORDS=~amd64 ~ppc ~x86 ~x86-fbsd
LICENSE=CDDL
RDEPEND=>=virtual/jre-1.5 >=dev-java/java-config-2.2.0 source? ( app-arch/zip )
SLOT=0
SRC_URI=https://fi.dev.java.net/files/documents/2634/45735/FastInfoset_src_1.2.1.zip
_eclasses_=eutils 95613dd6157fb4a3b225eafdc56bd441 java-pkg-2 bb9b8157d2a348d9ec42ce34a107fe0d java-pkg-simple d87e645de7dff9e1bc0aac42b43ca4f4 java-utils-2 22a0377180eb25cf7ad0e4d7e6fcbb8e multilib df4e4d5cfd3d137d0c248e1991c0e4d6 toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d versionator 99ae9d758cbe7cfed19170e7d48f5a9c
_md5_=c53e44e64f110a0d27596e14dc0495fc

@ -0,0 +1,13 @@
DEFINED_PHASES=compile configure install preinst prepare setup
DEPEND=>=virtual/jdk-1.6 app-arch/unzip dev-java/dom4j:1 dev-java/ant-core:0 dev-java/bcel:0 dev-java/xpp3:0 >=dev-java/java-config-2.2.0 source? ( app-arch/zip ) >=dev-java/ant-core-1.8.2:0 >=dev-java/javatoolkit-0.3.0-r2
DESCRIPTION=JiBX: Binding XML to Java Code
EAPI=5
HOMEPAGE=http://jibx.sourceforge.net/
IUSE=elibc_FreeBSD doc source elibc_FreeBSD
KEYWORDS=~amd64 ~ppc ~x86 ~x64-macos ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris
LICENSE=BSD
RDEPEND=>=virtual/jre-1.6 dev-java/dom4j:1 dev-java/ant-core:0 dev-java/bcel:0 dev-java/xpp3:0 >=dev-java/java-config-2.2.0 source? ( app-arch/zip )
SLOT=0
SRC_URI=mirror://sourceforge/jibx/jibx_1_1_5.zip
_eclasses_=eutils 95613dd6157fb4a3b225eafdc56bd441 java-ant-2 e39bd5336f73afdf3e4a15c91a5dad59 java-pkg-2 bb9b8157d2a348d9ec42ce34a107fe0d java-utils-2 22a0377180eb25cf7ad0e4d7e6fcbb8e multilib df4e4d5cfd3d137d0c248e1991c0e4d6 toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d versionator 99ae9d758cbe7cfed19170e7d48f5a9c
_md5_=da72bf62ebd592824505610748651faf

@ -0,0 +1,13 @@
DEFINED_PHASES=compile configure install preinst prepare setup
DEPEND=>=virtual/jdk-1.6 app-arch/unzip dev-java/bcel:0 dev-java/jibx:0 >=dev-java/java-config-2.2.0 source? ( app-arch/zip ) >=dev-java/ant-core-1.8.2:0 >=dev-java/javatoolkit-0.3.0-r2
DESCRIPTION=JiBX: Binding XML to Java Code - Generators
EAPI=5
HOMEPAGE=http://jibx.sourceforge.net/
IUSE=elibc_FreeBSD source elibc_FreeBSD
KEYWORDS=~amd64 ~ppc ~x86
LICENSE=BSD
RDEPEND=>=virtual/jre-1.6 dev-java/bcel:0 dev-java/jibx:0 >=dev-java/java-config-2.2.0 source? ( app-arch/zip )
SLOT=0
SRC_URI=mirror://sourceforge/jibx/jibx_1_1_5.zip
_eclasses_=eutils 95613dd6157fb4a3b225eafdc56bd441 java-ant-2 e39bd5336f73afdf3e4a15c91a5dad59 java-pkg-2 bb9b8157d2a348d9ec42ce34a107fe0d java-utils-2 22a0377180eb25cf7ad0e4d7e6fcbb8e multilib df4e4d5cfd3d137d0c248e1991c0e4d6 toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d versionator 99ae9d758cbe7cfed19170e7d48f5a9c
_md5_=f23068f24a0910cfd6b1169d5b8a96fc

@ -0,0 +1,13 @@
DEFINED_PHASES=compile configure install preinst prepare setup
DEPEND=>=virtual/jdk-1.6 >=dev-java/java-config-2.2.0 source? ( app-arch/zip ) >=dev-java/ant-core-1.8.2:0 >=dev-java/javatoolkit-0.3.0-r2
DESCRIPTION=The Sun Java Streaming XML Parser (SJSXP) is an efficient implementation of the StAX API
EAPI=5
HOMEPAGE=http://sjsxp.dev.java.net/
IUSE=elibc_FreeBSD doc source elibc_FreeBSD
KEYWORDS=~amd64 ~ppc ~x86 ~x86-fbsd
LICENSE=bea.ri.jsr173
RDEPEND=>=virtual/jre-1.6 >=dev-java/java-config-2.2.0 source? ( app-arch/zip )
SLOT=0
SRC_URI=mirror://gentoo/sjsxp-1.0.1.tar.bz2
_eclasses_=eutils 95613dd6157fb4a3b225eafdc56bd441 java-ant-2 e39bd5336f73afdf3e4a15c91a5dad59 java-pkg-2 bb9b8157d2a348d9ec42ce34a107fe0d java-utils-2 22a0377180eb25cf7ad0e4d7e6fcbb8e multilib df4e4d5cfd3d137d0c248e1991c0e4d6 toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d versionator 99ae9d758cbe7cfed19170e7d48f5a9c
_md5_=b3044653ce15622942e36f87373773b9

@ -0,0 +1,10 @@
DEFINED_PHASES=compile install prepare
DESCRIPTION=A Library for Large Linear Classification
EAPI=5
HOMEPAGE=http://www.csie.ntu.edu.tw/~cjlin/liblinear/ https://github.com/cjlin1/liblinear
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
LICENSE=BSD
SLOT=0/3
SRC_URI=https://github.com/cjlin1/liblinear/archive/v210.tar.gz -> liblinear-210.tar.gz
_eclasses_=multilib df4e4d5cfd3d137d0c248e1991c0e4d6 toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d
_md5_=15f2f9a4e67eb39888d8718af07599cc

@ -4,11 +4,11 @@ DESCRIPTION=Python library to use Jabber/XMPP networks in a non-blocking way
EAPI=5
HOMEPAGE=http://python-nbxmpp.gajim.org/
IUSE=python_targets_python2_7 python_targets_python3_3 python_targets_python3_4
KEYWORDS=~alpha amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux
KEYWORDS=~alpha amd64 ~arm ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux
LICENSE=BSD
RDEPEND=python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)]
REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 )
SLOT=0
SRC_URI=http://python-nbxmpp.gajim.org/downloads/8 -> python-nbxmpp-0.5.3.tar.gz
_eclasses_=distutils-r1 46506dd0dd992b3c89b0d00daabfd86c eutils 95613dd6157fb4a3b225eafdc56bd441 multibuild ce2c2ede0c914b77f5dfc4e2ff2d0249 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 multiprocessing d769539d9bace6eaca30af23bc2b4dde python-r1 32b376cbb100a3a8083b3a0de023e117 python-utils-r1 39c6b012a0512678e698e712b5b7ecc2 toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d
_md5_=d2c9e0f4c4b30f122c70c4d07fd159e3
_md5_=3a890829bcf0ef8c30ad6e95a70c2acf

@ -0,0 +1,14 @@
DEFINED_PHASES=compile configure install prepare setup test unpack
DEPEND=ruby_targets_ruby19? ( test? ( dev-ruby/nokogiri[ruby_targets_ruby19] ) ) ruby_targets_ruby20? ( test? ( dev-ruby/nokogiri[ruby_targets_ruby20] ) ) ruby_targets_ruby21? ( test? ( dev-ruby/nokogiri[ruby_targets_ruby21] ) ) ruby_targets_ruby22? ( test? ( dev-ruby/nokogiri[ruby_targets_ruby22] ) ) ruby_targets_ruby19? ( dev-lang/ruby:1.9 ) ruby_targets_ruby20? ( dev-lang/ruby:2.0 ) ruby_targets_ruby21? ( dev-lang/ruby:2.1 ) ruby_targets_ruby22? ( dev-lang/ruby:2.2 ) ruby_targets_ruby19? ( doc? ( dev-ruby/rdoc[ruby_targets_ruby19] ) ) ruby_targets_ruby20? ( doc? ( dev-ruby/rdoc[ruby_targets_ruby20] ) ) ruby_targets_ruby21? ( doc? ( dev-ruby/rdoc[ruby_targets_ruby21] ) ) ruby_targets_ruby22? ( doc? ( dev-ruby/rdoc[ruby_targets_ruby22] ) ) ruby_targets_ruby19? ( test? ( dev-ruby/rake[ruby_targets_ruby19] ) ) ruby_targets_ruby20? ( test? ( dev-ruby/rake[ruby_targets_ruby20] ) ) ruby_targets_ruby21? ( test? ( dev-ruby/rake[ruby_targets_ruby21] ) ) ruby_targets_ruby22? ( test? ( dev-ruby/rake[ruby_targets_ruby22] ) ) ruby_targets_ruby19? ( virtual/rubygems[ruby_targets_ruby19] ) ruby_targets_ruby20? ( virtual/rubygems[ruby_targets_ruby20] ) ruby_targets_ruby21? ( virtual/rubygems[ruby_targets_ruby21] ) ruby_targets_ruby22? ( virtual/rubygems[ruby_targets_ruby22] ) test? ( ruby_targets_ruby19? ( virtual/rubygems[ruby_targets_ruby19] ) ruby_targets_ruby20? ( virtual/rubygems[ruby_targets_ruby20] ) ruby_targets_ruby21? ( virtual/rubygems[ruby_targets_ruby21] ) ruby_targets_ruby22? ( virtual/rubygems[ruby_targets_ruby22] ) )
DESCRIPTION=A Ruby wrapper for Upskirt
EAPI=5
HOMEPAGE=https://github.com/vmg/redcarpet
IUSE=elibc_FreeBSD ruby_targets_ruby19 ruby_targets_ruby20 ruby_targets_ruby21 ruby_targets_ruby22 doc test test
KEYWORDS=~amd64 ~arm ~x86
LICENSE=MIT
RDEPEND=ruby_targets_ruby19? ( dev-lang/ruby:1.9 ) ruby_targets_ruby20? ( dev-lang/ruby:2.0 ) ruby_targets_ruby21? ( dev-lang/ruby:2.1 ) ruby_targets_ruby22? ( dev-lang/ruby:2.2 ) ruby_targets_ruby19? ( virtual/rubygems[ruby_targets_ruby19] ) ruby_targets_ruby20? ( virtual/rubygems[ruby_targets_ruby20] ) ruby_targets_ruby21? ( virtual/rubygems[ruby_targets_ruby21] ) ruby_targets_ruby22? ( virtual/rubygems[ruby_targets_ruby22] )
REQUIRED_USE=|| ( ruby_targets_ruby19 ruby_targets_ruby20 ruby_targets_ruby21 ruby_targets_ruby22 )
SLOT=0
SRC_URI=https://github.com/vmg/redcarpet/archive/v3.3.3.tar.gz -> redcarpet-3.3.3.tar.gz
_eclasses_=eutils 95613dd6157fb4a3b225eafdc56bd441 java-utils-2 22a0377180eb25cf7ad0e4d7e6fcbb8e multilib df4e4d5cfd3d137d0c248e1991c0e4d6 ruby-fakegem b34b8f1debda62e461897a3f85df97e4 ruby-ng 12af15f9116c054425934f3eec054899 ruby-utils 97c910cb6b087c64260df641a9b3de0c toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d versionator 99ae9d758cbe7cfed19170e7d48f5a9c
_md5_=5fdbec4cf17fe13ac0082dcbb4e6c5ac

@ -0,0 +1,13 @@
DEFINED_PHASES=configure install prepare
DEPEND=>=sys-libs/ncurses-5.2-r5:=[unicode?] nls? ( sys-devel/gettext ) !minimal? ( sys-devel/libtool ) !<=sys-freebsd/freebsd-contrib-8.9999
DESCRIPTION=tool to display dialog boxes from a shell
EAPI=5
HOMEPAGE=http://invisible-island.net/dialog/dialog.html
IUSE=examples minimal nls static-libs unicode
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd
LICENSE=GPL-2
RDEPEND=>=sys-libs/ncurses-5.2-r5:=[unicode?]
SLOT=0
SRC_URI=ftp://invisible-island.net/dialog/dialog-1.2-20150920.tgz
_eclasses_=eutils 95613dd6157fb4a3b225eafdc56bd441 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d versionator 99ae9d758cbe7cfed19170e7d48f5a9c
_md5_=f2c277337d2622d2eb3448dc5a211bd7

@ -0,0 +1,13 @@
DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack
DEPEND=>=virtual/jdk-1.5 app-arch/unzip >=dev-java/java-config-2.2.0 >=dev-java/ant-core-1.8.2:0 >=dev-java/javatoolkit-0.3.0-r2
DESCRIPTION=The well-known board game, written in java
EAPI=5
HOMEPAGE=http://domination.sourceforge.net
IUSE=elibc_FreeBSD elibc_FreeBSD
KEYWORDS=~amd64 ~x86 ~x86-fbsd
LICENSE=GPL-3
RDEPEND=>=virtual/jre-1.5 >=dev-java/java-config-2.2.0 games-misc/games-envd
SLOT=0
SRC_URI=mirror://sourceforge/domination/Domination_1.1.1.6.zip
_eclasses_=base 84d9f879f57a8316ff02be0373a3d6f9 eutils 95613dd6157fb4a3b225eafdc56bd441 games ce18d731b1dfae17561d847a24ca08c2 java-ant-2 e39bd5336f73afdf3e4a15c91a5dad59 java-pkg-2 bb9b8157d2a348d9ec42ce34a107fe0d java-utils-2 22a0377180eb25cf7ad0e4d7e6fcbb8e multilib df4e4d5cfd3d137d0c248e1991c0e4d6 toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d user 906f3c8eb3a2350a4f1191a89baa3e46 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
_md5_=26e3e2c9a834499370f08673148810cb

@ -0,0 +1,13 @@
DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack
DEPEND=>=dev-games/physfs-1.0.0 dev-libs/libxml2 media-libs/libpng:0= media-libs/libsdl2[X,opengl?,video] media-libs/sdl2-gfx media-libs/sdl2-image[png] media-libs/sdl2-mixer[vorbis] media-libs/sdl2-net media-libs/sdl2-ttf net-misc/curl sys-libs/zlib x11-libs/libX11 x11-misc/xdg-utils x11-apps/xmessage media-fonts/dejavu media-fonts/wqy-microhei media-fonts/liberation-fonts media-fonts/mplus-outline-fonts nls? ( virtual/libintl ) opengl? ( virtual/opengl ) virtual/pkgconfig nls? ( sys-devel/gettext )
DESCRIPTION=OpenSource 2D MMORPG client for Evol Online and The Mana World
EAPI=5
HOMEPAGE=http://manaplus.evolonline.org
IUSE=nls opengl
KEYWORDS=~amd64 ~x86
LICENSE=GPL-2
RDEPEND=>=dev-games/physfs-1.0.0 dev-libs/libxml2 media-libs/libpng:0= media-libs/libsdl2[X,opengl?,video] media-libs/sdl2-gfx media-libs/sdl2-image[png] media-libs/sdl2-mixer[vorbis] media-libs/sdl2-net media-libs/sdl2-ttf net-misc/curl sys-libs/zlib x11-libs/libX11 x11-misc/xdg-utils x11-apps/xmessage media-fonts/dejavu media-fonts/wqy-microhei media-fonts/liberation-fonts media-fonts/mplus-outline-fonts nls? ( virtual/libintl ) opengl? ( virtual/opengl ) games-misc/games-envd
SLOT=0
SRC_URI=http://download.evolonline.org/manaplus/download/1.5.9.26/manaplus-1.5.9.26.tar.xz
_eclasses_=base 84d9f879f57a8316ff02be0373a3d6f9 eutils 95613dd6157fb4a3b225eafdc56bd441 games ce18d731b1dfae17561d847a24ca08c2 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d user 906f3c8eb3a2350a4f1191a89baa3e46
_md5_=d735cc3f5ca395e2f1a93b08d1dc1c09

@ -1,14 +0,0 @@
DEFINED_PHASES=compile configure install postinst prepare setup test
DEPEND=dev-libs/openssl:= >=dev-libs/boost-1.41 sys-devel/bison >=sys-devel/flex-2.5.35 mysql? ( virtual/mysql ) postgres? ( dev-db/postgresql:= ) apache2? ( =www-servers/apache-2* ) sys-devel/make >=dev-util/cmake-2.8.12 userland_GNU? ( >=sys-apps/findutils-4.4.0 ) virtual/pkgconfig
DESCRIPTION=Distributed, general purpose, network monitoring engine
EAPI=5
HOMEPAGE=http://icinga.org/icinga2
IUSE=+mysql postgres classicui minimal nano-syntax +plugins +vim-syntax apache2
KEYWORDS=~amd64 ~x86
LICENSE=GPL-2
RDEPEND=dev-libs/openssl:= >=dev-libs/boost-1.41 sys-devel/bison >=sys-devel/flex-2.5.35 mysql? ( virtual/mysql ) postgres? ( dev-db/postgresql:= ) plugins? ( || ( net-analyzer/monitoring-plugins net-analyzer/nagios-plugins ) ) classicui? ( net-analyzer/icinga[web] ) apache2? ( =www-servers/apache-2* )
REQUIRED_USE=!minimal? ( || ( mysql postgres ) )
SLOT=0
SRC_URI=https://github.com/Icinga/icinga2/archive/v2.3.10.tar.gz -> icinga2-2.3.10.tar.gz
_eclasses_=cmake-utils f474224ef49d530640a43a04ae94928e depend.apache e3c541cb90838388f81620d630c28f41 eutils 95613dd6157fb4a3b225eafdc56bd441 flag-o-matic 85dc1eac3c64d8141374490ed64122e5 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 systemd 6b4f0cefa642270eded7e6ca816fd181 toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d user 906f3c8eb3a2350a4f1191a89baa3e46 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
_md5_=1f5ef92a071a7d2e033b3d714be205e4

@ -4,11 +4,11 @@ DESCRIPTION=Distributed, general purpose, network monitoring engine
EAPI=5
HOMEPAGE=http://icinga.org/icinga2
IUSE=+mysql postgres classicui minimal nano-syntax +plugins +vim-syntax apache2
KEYWORDS=amd64 ~x86
KEYWORDS=amd64 x86
LICENSE=GPL-2
RDEPEND=dev-libs/openssl:0 >=dev-libs/boost-1.41 sys-devel/bison >=sys-devel/flex-2.5.35 mysql? ( virtual/mysql ) postgres? ( dev-db/postgresql:= ) plugins? ( || ( net-analyzer/monitoring-plugins net-analyzer/nagios-plugins ) ) classicui? ( net-analyzer/icinga[web] ) apache2? ( =www-servers/apache-2* )
REQUIRED_USE=!minimal? ( || ( mysql postgres ) )
SLOT=0
SRC_URI=https://github.com/Icinga/icinga2/archive/v2.3.10.tar.gz -> icinga2-2.3.10.tar.gz
_eclasses_=cmake-utils f474224ef49d530640a43a04ae94928e depend.apache e3c541cb90838388f81620d630c28f41 eutils 95613dd6157fb4a3b225eafdc56bd441 flag-o-matic 85dc1eac3c64d8141374490ed64122e5 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 systemd 6b4f0cefa642270eded7e6ca816fd181 toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d user 906f3c8eb3a2350a4f1191a89baa3e46
_md5_=9ed47b3a671cabf4bdfddaffa6c12356
_md5_=3c566b4e544e2caec39053cab69efdca

@ -1,14 +0,0 @@
DEFINED_PHASES=compile configure install postinst prepare setup test
DEPEND=dev-util/cmake dev-libs/openssl:= >=dev-libs/boost-1.41 sys-devel/bison >=sys-devel/flex-2.5.35 mysql? ( virtual/mysql ) postgres? ( dev-db/postgresql:* ) apache2? ( =www-servers/apache-2* ) sys-devel/make >=dev-util/cmake-2.8.12 userland_GNU? ( >=sys-apps/findutils-4.4.0 ) virtual/pkgconfig
DESCRIPTION=Distributed, general purpose, network monitoring engine
EAPI=5
HOMEPAGE=http://icinga.org/icinga2
IUSE=+mysql postgres classicui minimal nano-syntax +plugins +vim-syntax apache2
KEYWORDS=amd64 x86
LICENSE=GPL-2
RDEPEND=dev-util/cmake dev-libs/openssl:= >=dev-libs/boost-1.41 sys-devel/bison >=sys-devel/flex-2.5.35 mysql? ( virtual/mysql ) postgres? ( dev-db/postgresql:* ) plugins? ( || ( net-analyzer/monitoring-plugins net-analyzer/nagios-plugins ) ) classicui? ( net-analyzer/icinga[web] ) apache2? ( =www-servers/apache-2* )
REQUIRED_USE=!minimal? ( || ( mysql postgres ) )
SLOT=0
SRC_URI=https://github.com/Icinga/icinga2/archive/v2.3.5.tar.gz -> icinga2-2.3.5.tar.gz
_eclasses_=cmake-utils f474224ef49d530640a43a04ae94928e depend.apache e3c541cb90838388f81620d630c28f41 eutils 95613dd6157fb4a3b225eafdc56bd441 flag-o-matic 85dc1eac3c64d8141374490ed64122e5 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 systemd 6b4f0cefa642270eded7e6ca816fd181 toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d user 906f3c8eb3a2350a4f1191a89baa3e46 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
_md5_=64f8a4598e7650e3d2f44be993dc8139

@ -1,14 +0,0 @@
DEFINED_PHASES=compile configure install postinst prepare setup test
DEPEND=dev-libs/openssl:= >=dev-libs/boost-1.41 sys-devel/bison >=sys-devel/flex-2.5.35 mysql? ( virtual/mysql ) postgres? ( dev-db/postgresql:= ) apache2? ( =www-servers/apache-2* ) sys-devel/make >=dev-util/cmake-2.8.12 userland_GNU? ( >=sys-apps/findutils-4.4.0 ) virtual/pkgconfig
DESCRIPTION=Distributed, general purpose, network monitoring engine
EAPI=5
HOMEPAGE=http://icinga.org/icinga2
IUSE=+mysql postgres classicui minimal nano-syntax +plugins +vim-syntax apache2
KEYWORDS=~amd64 ~x86
LICENSE=GPL-2
RDEPEND=dev-libs/openssl:= >=dev-libs/boost-1.41 sys-devel/bison >=sys-devel/flex-2.5.35 mysql? ( virtual/mysql ) postgres? ( dev-db/postgresql:= ) plugins? ( || ( net-analyzer/monitoring-plugins net-analyzer/nagios-plugins ) ) classicui? ( net-analyzer/icinga[web] ) apache2? ( =www-servers/apache-2* )
REQUIRED_USE=!minimal? ( || ( mysql postgres ) )
SLOT=0
SRC_URI=https://github.com/Icinga/icinga2/archive/v2.3.6.tar.gz -> icinga2-2.3.6.tar.gz
_eclasses_=cmake-utils f474224ef49d530640a43a04ae94928e depend.apache e3c541cb90838388f81620d630c28f41 eutils 95613dd6157fb4a3b225eafdc56bd441 flag-o-matic 85dc1eac3c64d8141374490ed64122e5 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 systemd 6b4f0cefa642270eded7e6ca816fd181 toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d user 906f3c8eb3a2350a4f1191a89baa3e46 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
_md5_=1390fa830266b68f26d019fd06df049b

@ -1,14 +0,0 @@
DEFINED_PHASES=compile configure install postinst prepare setup test
DEPEND=dev-libs/openssl:= >=dev-libs/boost-1.41 sys-devel/bison >=sys-devel/flex-2.5.35 mysql? ( virtual/mysql ) postgres? ( dev-db/postgresql:= ) apache2? ( =www-servers/apache-2* ) sys-devel/make >=dev-util/cmake-2.8.12 userland_GNU? ( >=sys-apps/findutils-4.4.0 ) virtual/pkgconfig
DESCRIPTION=Distributed, general purpose, network monitoring engine
EAPI=5
HOMEPAGE=http://icinga.org/icinga2
IUSE=+mysql postgres classicui minimal nano-syntax +plugins +vim-syntax apache2
KEYWORDS=~amd64 ~x86
LICENSE=GPL-2
RDEPEND=dev-libs/openssl:= >=dev-libs/boost-1.41 sys-devel/bison >=sys-devel/flex-2.5.35 mysql? ( virtual/mysql ) postgres? ( dev-db/postgresql:= ) plugins? ( || ( net-analyzer/monitoring-plugins net-analyzer/nagios-plugins ) ) classicui? ( net-analyzer/icinga[web] ) apache2? ( =www-servers/apache-2* )
REQUIRED_USE=!minimal? ( || ( mysql postgres ) )
SLOT=0
SRC_URI=https://github.com/Icinga/icinga2/archive/v2.3.7.tar.gz -> icinga2-2.3.7.tar.gz
_eclasses_=cmake-utils f474224ef49d530640a43a04ae94928e depend.apache e3c541cb90838388f81620d630c28f41 eutils 95613dd6157fb4a3b225eafdc56bd441 flag-o-matic 85dc1eac3c64d8141374490ed64122e5 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 systemd 6b4f0cefa642270eded7e6ca816fd181 toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d user 906f3c8eb3a2350a4f1191a89baa3e46 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
_md5_=1390fa830266b68f26d019fd06df049b

@ -1,14 +0,0 @@
DEFINED_PHASES=compile configure install postinst prepare setup test
DEPEND=dev-libs/openssl:= >=dev-libs/boost-1.41 sys-devel/bison >=sys-devel/flex-2.5.35 mysql? ( virtual/mysql ) postgres? ( dev-db/postgresql:= ) apache2? ( =www-servers/apache-2* ) sys-devel/make >=dev-util/cmake-2.8.12 userland_GNU? ( >=sys-apps/findutils-4.4.0 ) virtual/pkgconfig
DESCRIPTION=Distributed, general purpose, network monitoring engine
EAPI=5
HOMEPAGE=http://icinga.org/icinga2
IUSE=+mysql postgres classicui minimal nano-syntax +plugins +vim-syntax apache2
KEYWORDS=~amd64 ~x86
LICENSE=GPL-2
RDEPEND=dev-libs/openssl:= >=dev-libs/boost-1.41 sys-devel/bison >=sys-devel/flex-2.5.35 mysql? ( virtual/mysql ) postgres? ( dev-db/postgresql:= ) plugins? ( || ( net-analyzer/monitoring-plugins net-analyzer/nagios-plugins ) ) classicui? ( net-analyzer/icinga[web] ) apache2? ( =www-servers/apache-2* )
REQUIRED_USE=!minimal? ( || ( mysql postgres ) )
SLOT=0
SRC_URI=https://github.com/Icinga/icinga2/archive/v2.3.8.tar.gz -> icinga2-2.3.8.tar.gz
_eclasses_=cmake-utils f474224ef49d530640a43a04ae94928e depend.apache e3c541cb90838388f81620d630c28f41 eutils 95613dd6157fb4a3b225eafdc56bd441 flag-o-matic 85dc1eac3c64d8141374490ed64122e5 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 systemd 6b4f0cefa642270eded7e6ca816fd181 toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d user 906f3c8eb3a2350a4f1191a89baa3e46 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
_md5_=1390fa830266b68f26d019fd06df049b

@ -1,14 +0,0 @@
DEFINED_PHASES=compile configure install postinst prepare setup test
DEPEND=dev-libs/openssl:= >=dev-libs/boost-1.41 sys-devel/bison >=sys-devel/flex-2.5.35 mysql? ( virtual/mysql ) postgres? ( dev-db/postgresql:= ) apache2? ( =www-servers/apache-2* ) sys-devel/make >=dev-util/cmake-2.8.12 userland_GNU? ( >=sys-apps/findutils-4.4.0 ) virtual/pkgconfig
DESCRIPTION=Distributed, general purpose, network monitoring engine
EAPI=5
HOMEPAGE=http://icinga.org/icinga2
IUSE=+mysql postgres classicui minimal nano-syntax +plugins +vim-syntax apache2
KEYWORDS=~amd64 ~x86
LICENSE=GPL-2
RDEPEND=dev-libs/openssl:= >=dev-libs/boost-1.41 sys-devel/bison >=sys-devel/flex-2.5.35 mysql? ( virtual/mysql ) postgres? ( dev-db/postgresql:= ) plugins? ( || ( net-analyzer/monitoring-plugins net-analyzer/nagios-plugins ) ) classicui? ( net-analyzer/icinga[web] ) apache2? ( =www-servers/apache-2* )
REQUIRED_USE=!minimal? ( || ( mysql postgres ) )
SLOT=0
SRC_URI=https://github.com/Icinga/icinga2/archive/v2.3.9.tar.gz -> icinga2-2.3.9.tar.gz
_eclasses_=cmake-utils f474224ef49d530640a43a04ae94928e depend.apache e3c541cb90838388f81620d630c28f41 eutils 95613dd6157fb4a3b225eafdc56bd441 flag-o-matic 85dc1eac3c64d8141374490ed64122e5 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 systemd 6b4f0cefa642270eded7e6ca816fd181 toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d user 906f3c8eb3a2350a4f1191a89baa3e46 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
_md5_=1f5ef92a071a7d2e033b3d714be205e4

@ -1,12 +1,13 @@
DEFINED_PHASES=compile configure install postinst prepare setup test unpack
DEPEND=dev-libs/openssl:= >=dev-libs/boost-1.41 sys-devel/bison >=sys-devel/flex-2.5.35 mysql? ( virtual/mysql ) postgres? ( dev-db/postgresql:= ) apache2? ( =www-servers/apache-2* ) sys-devel/make >=dev-util/cmake-2.8.12 userland_GNU? ( >=sys-apps/findutils-4.4.0 ) dev-vcs/git virtual/pkgconfig
DEPEND=dev-libs/openssl:0 >=dev-libs/boost-1.41 sys-devel/bison >=sys-devel/flex-2.5.35 mysql? ( virtual/mysql ) postgres? ( dev-db/postgresql:= ) apache2? ( =www-servers/apache-2* ) sys-devel/make >=dev-util/cmake-2.8.12 userland_GNU? ( >=sys-apps/findutils-4.4.0 ) dev-vcs/git virtual/pkgconfig
DESCRIPTION=Distributed, general purpose, network monitoring engine
EAPI=5
HOMEPAGE=http://icinga.org/icinga2
IUSE=+mysql postgres classicui minimal nano-syntax +plugins +vim-syntax apache2
KEYWORDS=amd64 x86
LICENSE=GPL-2
RDEPEND=dev-libs/openssl:= >=dev-libs/boost-1.41 sys-devel/bison >=sys-devel/flex-2.5.35 mysql? ( virtual/mysql ) postgres? ( dev-db/postgresql:= ) plugins? ( || ( net-analyzer/monitoring-plugins net-analyzer/nagios-plugins ) ) classicui? ( net-analyzer/icinga[web] ) apache2? ( =www-servers/apache-2* )
RDEPEND=dev-libs/openssl:0 >=dev-libs/boost-1.41 sys-devel/bison >=sys-devel/flex-2.5.35 mysql? ( virtual/mysql ) postgres? ( dev-db/postgresql:= ) plugins? ( || ( net-analyzer/monitoring-plugins net-analyzer/nagios-plugins ) ) classicui? ( net-analyzer/icinga[web] ) apache2? ( =www-servers/apache-2* )
REQUIRED_USE=!minimal? ( || ( mysql postgres ) )
SLOT=0
_eclasses_=cmake-utils f474224ef49d530640a43a04ae94928e depend.apache e3c541cb90838388f81620d630c28f41 eutils 95613dd6157fb4a3b225eafdc56bd441 flag-o-matic 85dc1eac3c64d8141374490ed64122e5 git-2 1bb87192831f668cd20d93ffb1689c94 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 systemd 6b4f0cefa642270eded7e6ca816fd181 toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d user 906f3c8eb3a2350a4f1191a89baa3e46 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
_md5_=265f0d4e18f88ccd61212a63b50450f3
_eclasses_=cmake-utils f474224ef49d530640a43a04ae94928e depend.apache e3c541cb90838388f81620d630c28f41 eutils 95613dd6157fb4a3b225eafdc56bd441 flag-o-matic 85dc1eac3c64d8141374490ed64122e5 git-2 1bb87192831f668cd20d93ffb1689c94 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 systemd 6b4f0cefa642270eded7e6ca816fd181 toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d user 906f3c8eb3a2350a4f1191a89baa3e46
_md5_=fc2e661517323ec8d1fb35500d9dfec5

@ -4,7 +4,7 @@ DESCRIPTION=Jabber client written in PyGTK
EAPI=5
HOMEPAGE=http://www.gajim.org/
IUSE=avahi crypt dbus gnome gnome-keyring kde idle jingle libnotify networkmanager nls spell +srv test X xhtml python_targets_python2_7
KEYWORDS=amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd
KEYWORDS=amd64 ~arm ~ppc ~ppc64 x86 ~x86-fbsd
LICENSE=GPL-3
RDEPEND=python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[sqlite,xml] ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/pygtk:2[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] x11-libs/gtk+:2 dev-python/pyasn1[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=dev-python/pyopenssl-0.14[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=dev-python/python-nbxmpp-0.5.3[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] crypt? ( app-crypt/gnupg dev-python/pycrypto[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) dbus? ( dev-python/dbus-python[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-libs/dbus-glib libnotify? ( dev-python/notify-python[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) avahi? ( net-dns/avahi[dbus,gtk,python,python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) ) gnome? ( dev-python/libgnome-python[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/egg-python[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) gnome-keyring? ( dev-python/gnome-keyring-python[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) idle? ( x11-libs/libXScrnSaver ) jingle? ( net-libs/farstream:0.1[python,python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) kde? ( kde-apps/kwalletmanager ) networkmanager? ( dev-python/dbus-python[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] net-misc/networkmanager ) spell? ( app-text/gtkspell:2 ) srv? ( || ( dev-python/libasyncns-python[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] net-dns/bind-tools ) ) xhtml? ( dev-python/docutils[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] )
REQUIRED_USE=|| ( python_targets_python2_7 ) libnotify? ( dbus ) avahi? ( dbus ) gnome? ( gnome-keyring )
@ -12,4 +12,4 @@ RESTRICT=test
SLOT=0
SRC_URI=http://www.gajim.org/downloads/0.16/gajim-0.16.4.tar.bz2
_eclasses_=autotools 7d16e72a943b4803ca9691b2ecf89216 autotools-utils 0bf099a6e3dfeaf20a7a94504d8dd896 eutils 95613dd6157fb4a3b225eafdc56bd441 libtool 7f78cd7d403808a350c9ae23f5821fb4 multibuild ce2c2ede0c914b77f5dfc4e2ff2d0249 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 python-r1 32b376cbb100a3a8083b3a0de023e117 python-utils-r1 39c6b012a0512678e698e712b5b7ecc2 toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d versionator 99ae9d758cbe7cfed19170e7d48f5a9c
_md5_=2cf94d9a6a04938b1053746aebd15986
_md5_=3bf7a1930fca7dca1a1e6e88bb9b03c0

@ -0,0 +1,13 @@
DEFINED_PHASES=install prepare unpack
DEPEND=dev-util/patchutils
DESCRIPTION=A python script that converts RSS/Atom newsfeeds to email
EAPI=5
HOMEPAGE=http://www.allthingsrss.com/rss2email
IUSE=python_targets_python2_7
KEYWORDS=~amd64 ~x86
LICENSE=GPL-2
RDEPEND=>=dev-python/feedparser-5.0.1 >=dev-python/html2text-3.01
SLOT=0
SRC_URI=http://www.allthingsrss.com/rss2email/rss2email-2.71.tar.gz mirror://debian/pool/main/r/rss2email/rss2email_2.65-1.diff.gz
_eclasses_=eutils 95613dd6157fb4a3b225eafdc56bd441 multibuild ce2c2ede0c914b77f5dfc4e2ff2d0249 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 python-r1 32b376cbb100a3a8083b3a0de023e117 python-utils-r1 39c6b012a0512678e698e712b5b7ecc2 toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d
_md5_=fc90bd60f6822b9f0c32b1a811e74142

@ -0,0 +1,13 @@
DEFINED_PHASES=configure postinst prepare
DEPEND=dev-libs/glib:2 >=media-libs/libmtp-1.1.2 sys-fs/fuse mad? ( media-libs/libid3tag media-libs/libmad ) virtual/pkgconfig
DESCRIPTION=A FUSE filesystem providing access to MTP devices
EAPI=5
HOMEPAGE=http://www.adebenham.com/mtpfs/
IUSE=debug mad
KEYWORDS=~amd64 ~x86
LICENSE=GPL-3
RDEPEND=dev-libs/glib:2 >=media-libs/libmtp-1.1.2 sys-fs/fuse mad? ( media-libs/libid3tag media-libs/libmad )
SLOT=0
SRC_URI=http://www.adebenham.com/files/mtp/mtpfs-1.1.tar.gz
_eclasses_=eutils 95613dd6157fb4a3b225eafdc56bd441 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d
_md5_=345b66eede89ddd9e9c1c8fb2b0e2802

@ -0,0 +1,14 @@
DEFINED_PHASES=compile install postinst postrm preinst setup test unpack
DEPEND=!build? ( sys-apps/sed >=sys-devel/binutils-2.11.90.0.31 )
DESCRIPTION=Full sources including the Gentoo patchset for the 3.10 kernel tree
EAPI=5
HOMEPAGE=https://dev.gentoo.org/~mpagano/genpatches
IUSE=deblob experimental symlink build
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
LICENSE=GPL-2 freedist
RDEPEND=!build? ( >=sys-libs/ncurses-5.2 sys-devel/make dev-lang/perl sys-devel/bc )
RESTRICT=binchecks strip
SLOT=3.10.89
SRC_URI=mirror://kernel/linux/kernel/v3.x/linux-3.10.tar.xz mirror://gentoo/genpatches-3.10-94.base.tar.xz mirror://gentoo/genpatches-3.10-94.extras.tar.xz experimental? ( mirror://gentoo/genpatches-3.10-94.experimental.tar.xz )
_eclasses_=eutils 95613dd6157fb4a3b225eafdc56bd441 kernel-2 ee90c4695302427bac0b9e2d70098d81 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 python-any-r1 b81ab4852d108e3d9c940fa03bce80e1 python-utils-r1 39c6b012a0512678e698e712b5b7ecc2 toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d versionator 99ae9d758cbe7cfed19170e7d48f5a9c
_md5_=07044a8fffc067184b45e1ebf942694b

@ -0,0 +1,14 @@
DEFINED_PHASES=compile install postinst postrm preinst setup test unpack
DEPEND=!build? ( sys-apps/sed >=sys-devel/binutils-2.11.90.0.31 )
DESCRIPTION=Full sources including the Gentoo patchset for the 3.12 kernel tree
EAPI=5
HOMEPAGE=https://dev.gentoo.org/~mpagano/genpatches
IUSE=deblob experimental symlink build
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
LICENSE=GPL-2 freedist
RDEPEND=!build? ( >=sys-libs/ncurses-5.2 sys-devel/make dev-lang/perl sys-devel/bc )
RESTRICT=binchecks strip
SLOT=3.12.48
SRC_URI=mirror://kernel/linux/kernel/v3.x/linux-3.12.tar.xz mirror://gentoo/genpatches-3.12-45.base.tar.xz mirror://gentoo/genpatches-3.12-45.extras.tar.xz experimental? ( mirror://gentoo/genpatches-3.12-45.experimental.tar.xz )
_eclasses_=eutils 95613dd6157fb4a3b225eafdc56bd441 kernel-2 ee90c4695302427bac0b9e2d70098d81 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 python-any-r1 b81ab4852d108e3d9c940fa03bce80e1 python-utils-r1 39c6b012a0512678e698e712b5b7ecc2 toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d versionator 99ae9d758cbe7cfed19170e7d48f5a9c
_md5_=0b0545425570f8188470e38e88315e19

@ -0,0 +1,14 @@
DEFINED_PHASES=compile configure install postinst prepare setup test unpack
DEPEND=ruby_targets_ruby19? ( dev-ruby/rake[ruby_targets_ruby19] ) ruby_targets_ruby20? ( dev-ruby/rake[ruby_targets_ruby20] ) ruby_targets_ruby21? ( dev-ruby/rake[ruby_targets_ruby21] ) ruby_targets_ruby22? ( dev-ruby/rake[ruby_targets_ruby22] ) test? ( ruby_targets_ruby19? ( >=dev-ruby/daemon_controller-1.2.0[ruby_targets_ruby19] >=dev-ruby/rack-1.0.0:*[ruby_targets_ruby19] >=dev-ruby/rake-0.8.1[ruby_targets_ruby19] ) ruby_targets_ruby20? ( >=dev-ruby/daemon_controller-1.2.0[ruby_targets_ruby20] >=dev-ruby/rack-1.0.0:*[ruby_targets_ruby20] >=dev-ruby/rake-0.8.1[ruby_targets_ruby20] ) ruby_targets_ruby21? ( >=dev-ruby/daemon_controller-1.2.0[ruby_targets_ruby21] >=dev-ruby/rack-1.0.0:*[ruby_targets_ruby21] >=dev-ruby/rake-0.8.1[ruby_targets_ruby21] ) ruby_targets_ruby22? ( >=dev-ruby/daemon_controller-1.2.0[ruby_targets_ruby22] >=dev-ruby/rack-1.0.0:*[ruby_targets_ruby22] >=dev-ruby/rake-0.8.1[ruby_targets_ruby22] ) ) >=dev-libs/libev-4.15 net-misc/curl[ssl] www-servers/apache[apache2_modules_unixd(+)] =www-servers/apache-2* ruby_targets_ruby19? ( dev-lang/ruby:1.9 ) ruby_targets_ruby20? ( dev-lang/ruby:2.0 ) ruby_targets_ruby21? ( dev-lang/ruby:2.1 ) ruby_targets_ruby22? ( dev-lang/ruby:2.2 )
DESCRIPTION=Passenger (a.k.a. mod_rails) makes deployment of Ruby on Rails applications a breeze
EAPI=5
HOMEPAGE=http://modrails.com/
IUSE=debug test elibc_FreeBSD ruby_targets_ruby19 ruby_targets_ruby20 ruby_targets_ruby21 ruby_targets_ruby22
KEYWORDS=~amd64 ~x86
LICENSE=GPL-2
RDEPEND=ruby_targets_ruby19? ( >=dev-ruby/daemon_controller-1.2.0[ruby_targets_ruby19] >=dev-ruby/rack-1.0.0:*[ruby_targets_ruby19] >=dev-ruby/rake-0.8.1[ruby_targets_ruby19] ) ruby_targets_ruby20? ( >=dev-ruby/daemon_controller-1.2.0[ruby_targets_ruby20] >=dev-ruby/rack-1.0.0:*[ruby_targets_ruby20] >=dev-ruby/rake-0.8.1[ruby_targets_ruby20] ) ruby_targets_ruby21? ( >=dev-ruby/daemon_controller-1.2.0[ruby_targets_ruby21] >=dev-ruby/rack-1.0.0:*[ruby_targets_ruby21] >=dev-ruby/rake-0.8.1[ruby_targets_ruby21] ) ruby_targets_ruby22? ( >=dev-ruby/daemon_controller-1.2.0[ruby_targets_ruby22] >=dev-ruby/rack-1.0.0:*[ruby_targets_ruby22] >=dev-ruby/rake-0.8.1[ruby_targets_ruby22] ) >=dev-libs/libev-4.15 net-misc/curl[ssl] www-servers/apache[apache2_modules_unixd(+)] =www-servers/apache-2* ruby_targets_ruby19? ( dev-lang/ruby:1.9 ) ruby_targets_ruby20? ( dev-lang/ruby:2.0 ) ruby_targets_ruby21? ( dev-lang/ruby:2.1 ) ruby_targets_ruby22? ( dev-lang/ruby:2.2 )
REQUIRED_USE=|| ( ruby_targets_ruby19 ruby_targets_ruby20 ruby_targets_ruby21 ruby_targets_ruby22 )
SLOT=0
SRC_URI=http://s3.amazonaws.com/phusion-passenger/releases/passenger-4.0.59.tar.gz
_eclasses_=apache-module 5e66430013d92dfe0bf8672b05319b6d depend.apache e3c541cb90838388f81620d630c28f41 eutils 95613dd6157fb4a3b225eafdc56bd441 flag-o-matic 85dc1eac3c64d8141374490ed64122e5 java-utils-2 22a0377180eb25cf7ad0e4d7e6fcbb8e multilib df4e4d5cfd3d137d0c248e1991c0e4d6 ruby-ng 12af15f9116c054425934f3eec054899 ruby-utils 97c910cb6b087c64260df641a9b3de0c toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d versionator 99ae9d758cbe7cfed19170e7d48f5a9c
_md5_=37e3efa4bb30f385db60809db9ea112c

@ -0,0 +1,14 @@
DEFINED_PHASES=compile configure install postinst prepare setup test unpack
DEPEND=ruby_targets_ruby19? ( dev-ruby/rake[ruby_targets_ruby19] ) ruby_targets_ruby20? ( dev-ruby/rake[ruby_targets_ruby20] ) ruby_targets_ruby21? ( dev-ruby/rake[ruby_targets_ruby21] ) ruby_targets_ruby22? ( dev-ruby/rake[ruby_targets_ruby22] ) test? ( ruby_targets_ruby19? ( >=dev-ruby/rack-1.0.0:*[ruby_targets_ruby19] >=dev-ruby/rake-0.8.1[ruby_targets_ruby19] ) ruby_targets_ruby20? ( >=dev-ruby/rack-1.0.0:*[ruby_targets_ruby20] >=dev-ruby/rake-0.8.1[ruby_targets_ruby20] ) ruby_targets_ruby21? ( >=dev-ruby/rack-1.0.0:*[ruby_targets_ruby21] >=dev-ruby/rake-0.8.1[ruby_targets_ruby21] ) ruby_targets_ruby22? ( >=dev-ruby/rack-1.0.0:*[ruby_targets_ruby22] >=dev-ruby/rake-0.8.1[ruby_targets_ruby22] ) ) >=dev-libs/libuv-1.5.0 net-misc/curl[ssl] www-servers/apache[apache2_modules_unixd(+)] =www-servers/apache-2* ruby_targets_ruby19? ( dev-lang/ruby:1.9 ) ruby_targets_ruby20? ( dev-lang/ruby:2.0 ) ruby_targets_ruby21? ( dev-lang/ruby:2.1 ) ruby_targets_ruby22? ( dev-lang/ruby:2.2 )
DESCRIPTION=Passenger (a.k.a. mod_rails) makes deployment of Ruby on Rails applications a breeze
EAPI=5
HOMEPAGE=http://modrails.com/
IUSE=debug test elibc_FreeBSD ruby_targets_ruby19 ruby_targets_ruby20 ruby_targets_ruby21 ruby_targets_ruby22
KEYWORDS=~amd64 ~x86
LICENSE=GPL-2
RDEPEND=ruby_targets_ruby19? ( >=dev-ruby/rack-1.0.0:*[ruby_targets_ruby19] >=dev-ruby/rake-0.8.1[ruby_targets_ruby19] ) ruby_targets_ruby20? ( >=dev-ruby/rack-1.0.0:*[ruby_targets_ruby20] >=dev-ruby/rake-0.8.1[ruby_targets_ruby20] ) ruby_targets_ruby21? ( >=dev-ruby/rack-1.0.0:*[ruby_targets_ruby21] >=dev-ruby/rake-0.8.1[ruby_targets_ruby21] ) ruby_targets_ruby22? ( >=dev-ruby/rack-1.0.0:*[ruby_targets_ruby22] >=dev-ruby/rake-0.8.1[ruby_targets_ruby22] ) >=dev-libs/libuv-1.5.0 net-misc/curl[ssl] www-servers/apache[apache2_modules_unixd(+)] =www-servers/apache-2* ruby_targets_ruby19? ( dev-lang/ruby:1.9 ) ruby_targets_ruby20? ( dev-lang/ruby:2.0 ) ruby_targets_ruby21? ( dev-lang/ruby:2.1 ) ruby_targets_ruby22? ( dev-lang/ruby:2.2 )
REQUIRED_USE=|| ( ruby_targets_ruby19 ruby_targets_ruby20 ruby_targets_ruby21 ruby_targets_ruby22 )
SLOT=0
SRC_URI=http://s3.amazonaws.com/phusion-passenger/releases/passenger-5.0.20.tar.gz
_eclasses_=apache-module 5e66430013d92dfe0bf8672b05319b6d depend.apache e3c541cb90838388f81620d630c28f41 eutils 95613dd6157fb4a3b225eafdc56bd441 flag-o-matic 85dc1eac3c64d8141374490ed64122e5 java-utils-2 22a0377180eb25cf7ad0e4d7e6fcbb8e multilib df4e4d5cfd3d137d0c248e1991c0e4d6 ruby-ng 12af15f9116c054425934f3eec054899 ruby-utils 97c910cb6b087c64260df641a9b3de0c toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d versionator 99ae9d758cbe7cfed19170e7d48f5a9c
_md5_=0945d46c26302b9176ccf315577004de

@ -11,4 +11,4 @@ RESTRICT=proprietary-codecs? ( bindist )
SLOT=0
SRC_URI=https://commondatastorage.googleapis.com/chromium-browser-official/chromium-45.0.2454.101-lite.tar.xz
_eclasses_=check-reqs 4f43fb72bc73bd58d75ec601713fae20 chromium f828dac97fd266c59459737299f9659d eutils 95613dd6157fb4a3b225eafdc56bd441 fdo-mime 92d07846ea8ea54172f8c0112a47ae3d flag-o-matic 85dc1eac3c64d8141374490ed64122e5 gnome2-utils 44555579e85afa5c035d2bd5428252da linux-info 8f92e5ac1a1da684c5450b1b21a1f56a multilib df4e4d5cfd3d137d0c248e1991c0e4d6 multiprocessing d769539d9bace6eaca30af23bc2b4dde pax-utils 4f1280c0d4dcd8340f731827007c0a53 portability 3a50b3ec310b86914f98babecc8f89c6 python-any-r1 b81ab4852d108e3d9c940fa03bce80e1 python-utils-r1 39c6b012a0512678e698e712b5b7ecc2 readme.gentoo e37aea783a61ae55fab947df247eebea toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d versionator 99ae9d758cbe7cfed19170e7d48f5a9c virtualx 7d550983f9b6adb3e7091f4090ddae2f
_md5_=74bbd1b6553c6c1001ebf3d9facf13c8
_md5_=71394b9878eb074d1ef816ade998b8b0

@ -11,4 +11,4 @@ RESTRICT=proprietary-codecs? ( bindist )
SLOT=0
SRC_URI=https://commondatastorage.googleapis.com/chromium-browser-official/chromium-46.0.2490.42-lite.tar.xz
_eclasses_=check-reqs 4f43fb72bc73bd58d75ec601713fae20 chromium f828dac97fd266c59459737299f9659d eutils 95613dd6157fb4a3b225eafdc56bd441 fdo-mime 92d07846ea8ea54172f8c0112a47ae3d flag-o-matic 85dc1eac3c64d8141374490ed64122e5 gnome2-utils 44555579e85afa5c035d2bd5428252da linux-info 8f92e5ac1a1da684c5450b1b21a1f56a multilib df4e4d5cfd3d137d0c248e1991c0e4d6 multiprocessing d769539d9bace6eaca30af23bc2b4dde pax-utils 4f1280c0d4dcd8340f731827007c0a53 portability 3a50b3ec310b86914f98babecc8f89c6 python-any-r1 b81ab4852d108e3d9c940fa03bce80e1 python-utils-r1 39c6b012a0512678e698e712b5b7ecc2 readme.gentoo e37aea783a61ae55fab947df247eebea toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d versionator 99ae9d758cbe7cfed19170e7d48f5a9c virtualx 7d550983f9b6adb3e7091f4090ddae2f
_md5_=6454a0cf9a5b2382319e7ad33dbc7cb2
_md5_=785af25c8df6d2075272d5cf8d525be6

@ -11,4 +11,4 @@ RESTRICT=proprietary-codecs? ( bindist )
SLOT=0
SRC_URI=https://commondatastorage.googleapis.com/chromium-browser-official/chromium-47.0.2516.0-lite.tar.xz
_eclasses_=check-reqs 4f43fb72bc73bd58d75ec601713fae20 chromium f828dac97fd266c59459737299f9659d eutils 95613dd6157fb4a3b225eafdc56bd441 fdo-mime 92d07846ea8ea54172f8c0112a47ae3d flag-o-matic 85dc1eac3c64d8141374490ed64122e5 gnome2-utils 44555579e85afa5c035d2bd5428252da linux-info 8f92e5ac1a1da684c5450b1b21a1f56a multilib df4e4d5cfd3d137d0c248e1991c0e4d6 multiprocessing d769539d9bace6eaca30af23bc2b4dde pax-utils 4f1280c0d4dcd8340f731827007c0a53 portability 3a50b3ec310b86914f98babecc8f89c6 python-any-r1 b81ab4852d108e3d9c940fa03bce80e1 python-utils-r1 39c6b012a0512678e698e712b5b7ecc2 readme.gentoo e37aea783a61ae55fab947df247eebea toolchain-funcs 1dfcad7b3f439dbc511d76c49f23da0d versionator 99ae9d758cbe7cfed19170e7d48f5a9c virtualx 7d550983f9b6adb3e7091f4090ddae2f
_md5_=af8c1c195a8e580736bf0ede04374e5c
_md5_=da444d0fc3640fe3a02eb28830555f72

@ -1 +1 @@
Mon, 28 Sep 2015 17:11:21 +0000
Tue, 29 Sep 2015 05:41:26 +0000

@ -1 +1 @@
Mon Sep 28 17:11:21 UTC 2015
Tue Sep 29 05:41:25 UTC 2015

@ -1 +1 @@
Mon, 28 Sep 2015 17:30:01 +0000
Tue, 29 Sep 2015 06:00:01 +0000

@ -1 +1 @@
1443460201 Mon 28 Sep 2015 05:10:01 PM UTC
1443505201 Tue 29 Sep 2015 05:40:01 AM UTC

@ -1,6 +1 @@
DIST icinga2-2.3.10.tar.gz 830680 SHA256 d29880b1adfd21d650a72e04a36e4dadb899b8452c4917e25e7ec3c5e65582c1 SHA512 14dee2d856f0dd1f2cd7185d68c9f90840acc086cb8c20eaa300585d2b3a491cadc44cb295fe6931a539aa305f4d9e00adb37b3d6cf33805989ff7eec0932630 WHIRLPOOL 98140d95133b01c3428b092dbbc8d9d9e5299e63d922fe07e60be2d0ed56ea3177210f64d6f71eba2bc99bdec0d297729539114266186e63dd2aceab98166914
DIST icinga2-2.3.5.tar.gz 804780 SHA256 712d13e997fc6fbf02f8c2046851b1fda1291305f0d3d6792cbebf5fb1558225 SHA512 9302ee2360cbc69ff9bc06092b4ebe9fb77901d9d60eb073f41f781e2917f398ccbddb617bb306631c9d4d0dbe0312cdab6fc1369b2c2691cf116d7af04b1ea7 WHIRLPOOL a73f8ab1136b35283c343281d65e4ea3e78ecdc52a6d1775f3202374a0f5dc9927709e2aa705243243d3c8751e313c60b4d88b1d0f15d1514a50e8a4483d94f6
DIST icinga2-2.3.6.tar.gz 816718 SHA256 96453fbfa418329b74d45bd2a202302add03d907fac28644e1228d869c478093 SHA512 bb16546bce387f4d828c1bba7dc0e5e1e89ca9c8a4bbb931d9fabd3fb0089329751814bee883b3320e0a7a0b2dd26c1e5b2970b2c33fc8172c3e73784d92a960 WHIRLPOOL 21d410a401ac8ada2857640061ede691b0c41b54aca49409fb3e7002195b1975c653351afffd06a375b6a78948ee96e875dcc982971d3332a994752ccc4c80af
DIST icinga2-2.3.7.tar.gz 817712 SHA256 067335129daf464d800f48d75bf2fde6ae63c99db6a5126d3d322b6562dfdf28 SHA512 46c940b8081dc3e064121acdab366ba28c1156fc563064022099c3186e310d20bcc1743b643046e0579f42e8ea90b9dfa1f868b28df3eedcd18926c7f65c98f6 WHIRLPOOL 5363191df2c5a57d135866589fe683ea53623c3b0583c299e248e32e4822d1f0bb7806ad573ee9ecd402edecb80dc1ced5850550c595b97562126670b74977f9
DIST icinga2-2.3.8.tar.gz 817951 SHA256 43bf41a7afc03c1527c82139e74cce17c5b3609a8ec14bb0db1f8df193a14054 SHA512 2536725b50ef158ed7447631fe3480dade1f44a86f40d633138cf83a624fee5f605edf075392a68858f5eebfb9ef89cb5ca811d3120ede7a103df9a448cefa55 WHIRLPOOL c768ad6b62a09e1db05220dd91e5c937db792bf1e512385780a613556a9623b9e3b4d2fe355505d674407ed1a4d693bb554f84d1ca03aa08c04743e29a544423
DIST icinga2-2.3.9.tar.gz 829706 SHA256 af6aa49ac9ce90e2ecf331b092624f5d6462d31ca5b4458db1c3d974391183c3 SHA512 29ec8eb68d77bf2cdb2353bd6d3015d7a5363a3b7979207afb3af26e2de634159d988c7dcb2c979ed8a73fd55c2d42c44f47b35d97fe1fb47783dac8c3593470 WHIRLPOOL 854b86006ddfd85328408248d59b77041a63c2a7b1460c9ea3e344cdc3f375973654109455abd4ed7d376d91a225b37ba318727b49a05d27a9a2938cef956a05

@ -11,7 +11,7 @@ SRC_URI="https://github.com/Icinga/icinga2/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~x86"
KEYWORDS="amd64 x86"
IUSE="+mysql postgres classicui minimal nano-syntax +plugins +vim-syntax"
DEPEND="

@ -1,163 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit cmake-utils depend.apache eutils systemd toolchain-funcs user versionator
DESCRIPTION="Distributed, general purpose, network monitoring engine"
HOMEPAGE="http://icinga.org/icinga2"
SRC_URI="https://github.com/Icinga/icinga2/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+mysql postgres classicui minimal nano-syntax +plugins +vim-syntax"
DEPEND="
dev-libs/openssl:=
>=dev-libs/boost-1.41
sys-devel/bison
>=sys-devel/flex-2.5.35
mysql? ( virtual/mysql )
postgres? ( dev-db/postgresql:= )"
RDEPEND="
${DEPEND}
plugins? ( || (
net-analyzer/monitoring-plugins
net-analyzer/nagios-plugins
) )
classicui? ( net-analyzer/icinga[web] )"
REQUIRED_USE="!minimal? ( || ( mysql postgres ) )"
want_apache2
pkg_setup() {
enewgroup icinga
enewgroup icingacmd
enewgroup nagios # for plugins
enewuser icinga -1 -1 /var/lib/icinga2 "icinga,icingacmd,nagios"
}
src_prepare() {
# epatch "${FILESDIR}/${P}-create_var_cache.patch"
epatch_user
}
src_configure() {
local mycmakeargs=(
-DICINGA2_UNITY_BUILD=FALSE
-DCMAKE_VERBOSE_MAKEFILE=ON
-DCMAKE_BUILD_TYPE=None
-DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_INSTALL_SYSCONFDIR=/etc
-DCMAKE_INSTALL_LOCALSTATEDIR=/var
-DICINGA2_SYSCONFIGFILE=/etc/conf.d/icinga2
-DICINGA2_USER=icinga
-DICINGA2_GROUP=icingacmd
-DICINGA2_COMMAND_USER=icinga
-DICINGA2_COMMAND_GROUP=icingacmd
-DINSTALL_SYSTEMD_SERVICE_AND_INITSCRIPT=yes
)
if use minimal; then
mycmakeargs+=(
-DICINGA2_WITH_MYSQL=OFF
-DICINGA2_WITH_PGSQL=OFF
)
fi
if use postgres; then
mycmakeargs+=(
-DICINGA2_WITH_PGSQL=ON
)
else
mycmakeargs+=(
-DICINGA2_WITH_PGSQL=OFF
)
fi
if use mysql; then
mycmakeargs+=(
-DICINGA2_WITH_MYSQL=ON
)
else
mycmakeargs+=(
-DICINGA2_WITH_MYSQL=OFF
)
fi
cmake-utils_src_configure
}
src_install() {
BUILDDIR="${WORKDIR}"/icinga2-${PV}_build
cd $BUILDDIR
#if [[ -f Makefile ]] || [[ -f GNUmakefile ]] || [[ -f makefile ]] ; then
emake DESTDIR="${D}" install
#fi
cd "${WORKDIR}"/icinga2-${PV}
if ! declare -p DOCS >/dev/null 2>&1 ; then
local d
for d in README* ChangeLog AUTHORS NEWS TODO CHANGES THANKS BUGS \
FAQ CREDITS CHANGELOG ; do
[[ -s "${d}" ]] && dodoc "${d}"
done
elif declare -p DOCS | grep -q "^declare -a " ; then
dodoc "${DOCS[@]}"
else
dodoc ${DOCS}
fi
newinitd "${FILESDIR}"/icinga2.initd icinga2
newconfd "${FILESDIR}"/icinga2.confd icinga2
if use mysql ; then
docinto schema
newdoc "${WORKDIR}"/icinga2-${PV}/lib/db_ido_mysql/schema/mysql.sql mysql.sql
docinto schema/upgrade
#newdoc "${WORKDIR}"/icinga2-${PV}/components/db_ido_mysql/schema/upgrade/0.0.11.sql mysql-upgrade-1.12.0.sql
elif use postgres ; then
docinto schema
newdoc "${WORKDIR}"/icinga2-${PV}/lib/db_ido_pgsql/schema/pgsql.sql pgsql.sql
docinto schema/upgrade
#newdoc "${WORKDIR}"/icinga2-${PV}/components/db_ido_pgsql/schema/upgrade/0.0.11.sql pgsql-upgrade-1.12.0.sql
fi
keepdir /etc/icinga2
keepdir /var/lib/icinga2/api/zones
keepdir /var/lib/icinga2/api/repository
keepdir /var/lib/icinga2/api/log
keepdir /var/spool/icinga2/perfdata
rm -r "${D}var/run" || die "failed to remove /var/run"
rm -r "${D}var/cache" || die "failed to remove /var/cache"
fowners icinga:icinga /etc/icinga2
fowners icinga:icinga /var/lib/icinga2
fowners icinga:icinga /var/spool/icinga2
fowners icinga:icinga /var/spool/icinga2/perfdata
fowners icinga:icingacmd /var/log/icinga2
fperms ug+rwX,o-rwx /etc/icinga2
fperms ug+rwX,o-rwx /var/lib/icinga2
fperms ug+rwX,o-rwx /var/spool/icinga2
fperms ug+rwX,o-rwx /var/log/icinga2
if use vim-syntax; then
insinto /usr/share/vim/vimfiles
doins -r tools/syntax/vim/ftdetect
doins -r tools/syntax/vim/syntax
fi
if use nano-syntax; then
insinto /usr/share/nano
doins tools/syntax/nano/icinga2.nanorc
fi
}
pkg_postinst() {
elog "DB IDO schema upgrade required. http://docs.icinga.org/icinga2/snapshot/chapter-2.html#upgrading-the-mysql-database"
elog "You will need to update your configuration files, see https://dev.icinga.org/issues/5909"
}

@ -1,158 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit cmake-utils depend.apache eutils systemd toolchain-funcs user versionator
DESCRIPTION="Distributed, general purpose, network monitoring engine"
HOMEPAGE="http://icinga.org/icinga2"
SRC_URI="https://github.com/Icinga/icinga2/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="+mysql postgres classicui minimal nano-syntax +plugins +vim-syntax"
DEPEND="
dev-util/cmake
dev-libs/openssl:=
>=dev-libs/boost-1.41
sys-devel/bison
>=sys-devel/flex-2.5.35
mysql? ( virtual/mysql )
postgres? ( dev-db/postgresql:* )"
RDEPEND="
${DEPEND}
plugins? ( || (
net-analyzer/monitoring-plugins
net-analyzer/nagios-plugins
) )
classicui? ( net-analyzer/icinga[web] )"
REQUIRED_USE="!minimal? ( || ( mysql postgres ) )"
want_apache2
pkg_setup() {
enewgroup icinga
enewgroup icingacmd
enewgroup nagios # for plugins
enewuser icinga -1 -1 /var/lib/icinga2 "icinga,icingacmd,nagios"
}
src_prepare() {
# epatch "${FILESDIR}/${P}-create_var_cache.patch"
epatch_user
}
src_configure() {
local mycmakeargs=(
-DICINGA2_UNITY_BUILD=FALSE
-DCMAKE_VERBOSE_MAKEFILE=ON
-DCMAKE_BUILD_TYPE=None
-DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_INSTALL_SYSCONFDIR=/etc
-DCMAKE_INSTALL_LOCALSTATEDIR=/var
-DICINGA2_SYSCONFIGFILE=/etc/conf.d/icinga2
-DICINGA2_USER=icinga
-DICINGA2_GROUP=icingacmd
-DICINGA2_COMMAND_USER=icinga
-DICINGA2_COMMAND_GROUP=icingacmd
-DINSTALL_SYSTEMD_SERVICE_AND_INITSCRIPT=yes
)
if use postgres; then
mycmakeargs+=(
-DICINGA2_WITH_PGSQL=ON
)
else
mycmakeargs+=(
-DICINGA2_WITH_PGSQL=OFF
)
fi
if use mysql; then
mycmakeargs+=(
-DICINGA2_WITH_MYSQL=ON
)
else
mycmakeargs+=(
-DICINGA2_WITH_MYSQL=OFF
)
fi
cmake-utils_src_configure
}
src_install() {
BUILDDIR="${WORKDIR}"/icinga2-${PV}_build
cd $BUILDDIR
#if [[ -f Makefile ]] || [[ -f GNUmakefile ]] || [[ -f makefile ]] ; then
emake DESTDIR="${D}" install
#fi
cd "${WORKDIR}"/icinga2-${PV}
if ! declare -p DOCS >/dev/null 2>&1 ; then
local d
for d in README* ChangeLog AUTHORS NEWS TODO CHANGES THANKS BUGS \
FAQ CREDITS CHANGELOG ; do
[[ -s "${d}" ]] && dodoc "${d}"
done
elif declare -p DOCS | grep -q "^declare -a " ; then
dodoc "${DOCS[@]}"
else
dodoc ${DOCS}
fi
newinitd "${FILESDIR}"/icinga2.initd icinga2
newconfd "${FILESDIR}"/icinga2.confd icinga2
if use mysql ; then
docinto schema
newdoc "${WORKDIR}"/icinga2-${PV}/lib/db_ido_mysql/schema/mysql.sql mysql.sql
docinto schema/upgrade
#newdoc "${WORKDIR}"/icinga2-${PV}/components/db_ido_mysql/schema/upgrade/0.0.11.sql mysql-upgrade-1.12.0.sql
elif use postgres ; then
docinto schema
newdoc "${WORKDIR}"/icinga2-${PV}/lib/db_ido_pgsql/schema/pgsql.sql pgsql.sql
docinto schema/upgrade
#newdoc "${WORKDIR}"/icinga2-${PV}/components/db_ido_pgsql/schema/upgrade/0.0.11.sql pgsql-upgrade-1.12.0.sql
fi
keepdir /etc/icinga2
keepdir /var/lib/icinga2/api/zones
keepdir /var/lib/icinga2/api/repository
keepdir /var/lib/icinga2/api/log
keepdir /var/spool/icinga2/perfdata
rm -r "${D}var/run" || die "failed to remove /var/run"
rm -r "${D}var/cache" || die "failed to remove /var/cache"
fowners icinga:icinga /etc/icinga2
fowners icinga:icinga /var/lib/icinga2
fowners icinga:icinga /var/spool/icinga2
fowners icinga:icinga /var/spool/icinga2/perfdata
fowners icinga:icingacmd /var/log/icinga2
fperms ug+rwX,o-rwx /etc/icinga2
fperms ug+rwX,o-rwx /var/lib/icinga2
fperms ug+rwX,o-rwx /var/spool/icinga2
fperms ug+rwX,o-rwx /var/log/icinga2
if use vim-syntax; then
insinto /usr/share/vim/vimfiles
doins -r tools/syntax/vim/ftdetect
doins -r tools/syntax/vim/syntax
fi
if use nano-syntax; then
insinto /usr/share/nano
doins tools/syntax/nano/icinga2.nanorc
fi
}
pkg_postinst() {
elog "DB IDO schema upgrade required. http://docs.icinga.org/icinga2/snapshot/chapter-2.html#upgrading-the-mysql-database"
elog "You will need to update your configuration files, see https://dev.icinga.org/issues/5909"
}

@ -1,157 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit cmake-utils depend.apache eutils systemd toolchain-funcs user versionator
DESCRIPTION="Distributed, general purpose, network monitoring engine"
HOMEPAGE="http://icinga.org/icinga2"
SRC_URI="https://github.com/Icinga/icinga2/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+mysql postgres classicui minimal nano-syntax +plugins +vim-syntax"
DEPEND="
dev-libs/openssl:=
>=dev-libs/boost-1.41
sys-devel/bison
>=sys-devel/flex-2.5.35
mysql? ( virtual/mysql )
postgres? ( dev-db/postgresql:= )"
RDEPEND="
${DEPEND}
plugins? ( || (
net-analyzer/monitoring-plugins
net-analyzer/nagios-plugins
) )
classicui? ( net-analyzer/icinga[web] )"
REQUIRED_USE="!minimal? ( || ( mysql postgres ) )"
want_apache2
pkg_setup() {
enewgroup icinga
enewgroup icingacmd
enewgroup nagios # for plugins
enewuser icinga -1 -1 /var/lib/icinga2 "icinga,icingacmd,nagios"
}
src_prepare() {
# epatch "${FILESDIR}/${P}-create_var_cache.patch"
epatch_user
}
src_configure() {
local mycmakeargs=(
-DICINGA2_UNITY_BUILD=FALSE
-DCMAKE_VERBOSE_MAKEFILE=ON
-DCMAKE_BUILD_TYPE=None
-DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_INSTALL_SYSCONFDIR=/etc
-DCMAKE_INSTALL_LOCALSTATEDIR=/var
-DICINGA2_SYSCONFIGFILE=/etc/conf.d/icinga2
-DICINGA2_USER=icinga
-DICINGA2_GROUP=icingacmd
-DICINGA2_COMMAND_USER=icinga
-DICINGA2_COMMAND_GROUP=icingacmd
-DINSTALL_SYSTEMD_SERVICE_AND_INITSCRIPT=yes
)
if use postgres; then
mycmakeargs+=(
-DICINGA2_WITH_PGSQL=ON
)
else
mycmakeargs+=(
-DICINGA2_WITH_PGSQL=OFF
)
fi
if use mysql; then
mycmakeargs+=(
-DICINGA2_WITH_MYSQL=ON
)
else
mycmakeargs+=(
-DICINGA2_WITH_MYSQL=OFF
)
fi
cmake-utils_src_configure
}
src_install() {
BUILDDIR="${WORKDIR}"/icinga2-${PV}_build
cd $BUILDDIR
#if [[ -f Makefile ]] || [[ -f GNUmakefile ]] || [[ -f makefile ]] ; then
emake DESTDIR="${D}" install
#fi
cd "${WORKDIR}"/icinga2-${PV}
if ! declare -p DOCS >/dev/null 2>&1 ; then
local d
for d in README* ChangeLog AUTHORS NEWS TODO CHANGES THANKS BUGS \
FAQ CREDITS CHANGELOG ; do
[[ -s "${d}" ]] && dodoc "${d}"
done
elif declare -p DOCS | grep -q "^declare -a " ; then
dodoc "${DOCS[@]}"
else
dodoc ${DOCS}
fi
newinitd "${FILESDIR}"/icinga2.initd icinga2
newconfd "${FILESDIR}"/icinga2.confd icinga2
if use mysql ; then
docinto schema
newdoc "${WORKDIR}"/icinga2-${PV}/lib/db_ido_mysql/schema/mysql.sql mysql.sql
docinto schema/upgrade
#newdoc "${WORKDIR}"/icinga2-${PV}/components/db_ido_mysql/schema/upgrade/0.0.11.sql mysql-upgrade-1.12.0.sql
elif use postgres ; then
docinto schema
newdoc "${WORKDIR}"/icinga2-${PV}/lib/db_ido_pgsql/schema/pgsql.sql pgsql.sql
docinto schema/upgrade
#newdoc "${WORKDIR}"/icinga2-${PV}/components/db_ido_pgsql/schema/upgrade/0.0.11.sql pgsql-upgrade-1.12.0.sql
fi
keepdir /etc/icinga2
keepdir /var/lib/icinga2/api/zones
keepdir /var/lib/icinga2/api/repository
keepdir /var/lib/icinga2/api/log
keepdir /var/spool/icinga2/perfdata
rm -r "${D}var/run" || die "failed to remove /var/run"
rm -r "${D}var/cache" || die "failed to remove /var/cache"
fowners icinga:icinga /etc/icinga2
fowners icinga:icinga /var/lib/icinga2
fowners icinga:icinga /var/spool/icinga2
fowners icinga:icinga /var/spool/icinga2/perfdata
fowners icinga:icingacmd /var/log/icinga2
fperms ug+rwX,o-rwx /etc/icinga2
fperms ug+rwX,o-rwx /var/lib/icinga2
fperms ug+rwX,o-rwx /var/spool/icinga2
fperms ug+rwX,o-rwx /var/log/icinga2
if use vim-syntax; then
insinto /usr/share/vim/vimfiles
doins -r tools/syntax/vim/ftdetect
doins -r tools/syntax/vim/syntax
fi
if use nano-syntax; then
insinto /usr/share/nano
doins tools/syntax/nano/icinga2.nanorc
fi
}
pkg_postinst() {
elog "DB IDO schema upgrade required. http://docs.icinga.org/icinga2/snapshot/chapter-2.html#upgrading-the-mysql-database"
elog "You will need to update your configuration files, see https://dev.icinga.org/issues/5909"
}

@ -1,157 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit cmake-utils depend.apache eutils systemd toolchain-funcs user versionator
DESCRIPTION="Distributed, general purpose, network monitoring engine"
HOMEPAGE="http://icinga.org/icinga2"
SRC_URI="https://github.com/Icinga/icinga2/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+mysql postgres classicui minimal nano-syntax +plugins +vim-syntax"
DEPEND="
dev-libs/openssl:=
>=dev-libs/boost-1.41
sys-devel/bison
>=sys-devel/flex-2.5.35
mysql? ( virtual/mysql )
postgres? ( dev-db/postgresql:= )"
RDEPEND="
${DEPEND}
plugins? ( || (
net-analyzer/monitoring-plugins
net-analyzer/nagios-plugins
) )
classicui? ( net-analyzer/icinga[web] )"
REQUIRED_USE="!minimal? ( || ( mysql postgres ) )"
want_apache2
pkg_setup() {
enewgroup icinga
enewgroup icingacmd
enewgroup nagios # for plugins
enewuser icinga -1 -1 /var/lib/icinga2 "icinga,icingacmd,nagios"
}
src_prepare() {
# epatch "${FILESDIR}/${P}-create_var_cache.patch"
epatch_user
}
src_configure() {
local mycmakeargs=(
-DICINGA2_UNITY_BUILD=FALSE
-DCMAKE_VERBOSE_MAKEFILE=ON
-DCMAKE_BUILD_TYPE=None
-DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_INSTALL_SYSCONFDIR=/etc
-DCMAKE_INSTALL_LOCALSTATEDIR=/var
-DICINGA2_SYSCONFIGFILE=/etc/conf.d/icinga2
-DICINGA2_USER=icinga
-DICINGA2_GROUP=icingacmd
-DICINGA2_COMMAND_USER=icinga
-DICINGA2_COMMAND_GROUP=icingacmd
-DINSTALL_SYSTEMD_SERVICE_AND_INITSCRIPT=yes
)
if use postgres; then
mycmakeargs+=(
-DICINGA2_WITH_PGSQL=ON
)
else
mycmakeargs+=(
-DICINGA2_WITH_PGSQL=OFF
)
fi
if use mysql; then
mycmakeargs+=(
-DICINGA2_WITH_MYSQL=ON
)
else
mycmakeargs+=(
-DICINGA2_WITH_MYSQL=OFF
)
fi
cmake-utils_src_configure
}
src_install() {
BUILDDIR="${WORKDIR}"/icinga2-${PV}_build
cd $BUILDDIR
#if [[ -f Makefile ]] || [[ -f GNUmakefile ]] || [[ -f makefile ]] ; then
emake DESTDIR="${D}" install
#fi
cd "${WORKDIR}"/icinga2-${PV}
if ! declare -p DOCS >/dev/null 2>&1 ; then
local d
for d in README* ChangeLog AUTHORS NEWS TODO CHANGES THANKS BUGS \
FAQ CREDITS CHANGELOG ; do
[[ -s "${d}" ]] && dodoc "${d}"
done
elif declare -p DOCS | grep -q "^declare -a " ; then
dodoc "${DOCS[@]}"
else
dodoc ${DOCS}
fi
newinitd "${FILESDIR}"/icinga2.initd icinga2
newconfd "${FILESDIR}"/icinga2.confd icinga2
if use mysql ; then
docinto schema
newdoc "${WORKDIR}"/icinga2-${PV}/lib/db_ido_mysql/schema/mysql.sql mysql.sql
docinto schema/upgrade
#newdoc "${WORKDIR}"/icinga2-${PV}/components/db_ido_mysql/schema/upgrade/0.0.11.sql mysql-upgrade-1.12.0.sql
elif use postgres ; then
docinto schema
newdoc "${WORKDIR}"/icinga2-${PV}/lib/db_ido_pgsql/schema/pgsql.sql pgsql.sql
docinto schema/upgrade
#newdoc "${WORKDIR}"/icinga2-${PV}/components/db_ido_pgsql/schema/upgrade/0.0.11.sql pgsql-upgrade-1.12.0.sql
fi
keepdir /etc/icinga2
keepdir /var/lib/icinga2/api/zones
keepdir /var/lib/icinga2/api/repository
keepdir /var/lib/icinga2/api/log
keepdir /var/spool/icinga2/perfdata
rm -r "${D}var/run" || die "failed to remove /var/run"
rm -r "${D}var/cache" || die "failed to remove /var/cache"
fowners icinga:icinga /etc/icinga2
fowners icinga:icinga /var/lib/icinga2
fowners icinga:icinga /var/spool/icinga2
fowners icinga:icinga /var/spool/icinga2/perfdata
fowners icinga:icingacmd /var/log/icinga2
fperms ug+rwX,o-rwx /etc/icinga2
fperms ug+rwX,o-rwx /var/lib/icinga2
fperms ug+rwX,o-rwx /var/spool/icinga2
fperms ug+rwX,o-rwx /var/log/icinga2
if use vim-syntax; then
insinto /usr/share/vim/vimfiles
doins -r tools/syntax/vim/ftdetect
doins -r tools/syntax/vim/syntax
fi
if use nano-syntax; then
insinto /usr/share/nano
doins tools/syntax/nano/icinga2.nanorc
fi
}
pkg_postinst() {
elog "DB IDO schema upgrade required. http://docs.icinga.org/icinga2/snapshot/chapter-2.html#upgrading-the-mysql-database"
elog "You will need to update your configuration files, see https://dev.icinga.org/issues/5909"
}

@ -1,157 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit cmake-utils depend.apache eutils systemd toolchain-funcs user versionator
DESCRIPTION="Distributed, general purpose, network monitoring engine"
HOMEPAGE="http://icinga.org/icinga2"
SRC_URI="https://github.com/Icinga/icinga2/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+mysql postgres classicui minimal nano-syntax +plugins +vim-syntax"
DEPEND="
dev-libs/openssl:=
>=dev-libs/boost-1.41
sys-devel/bison
>=sys-devel/flex-2.5.35
mysql? ( virtual/mysql )
postgres? ( dev-db/postgresql:= )"
RDEPEND="
${DEPEND}
plugins? ( || (
net-analyzer/monitoring-plugins
net-analyzer/nagios-plugins
) )
classicui? ( net-analyzer/icinga[web] )"
REQUIRED_USE="!minimal? ( || ( mysql postgres ) )"
want_apache2
pkg_setup() {
enewgroup icinga
enewgroup icingacmd
enewgroup nagios # for plugins
enewuser icinga -1 -1 /var/lib/icinga2 "icinga,icingacmd,nagios"
}
src_prepare() {
# epatch "${FILESDIR}/${P}-create_var_cache.patch"
epatch_user
}
src_configure() {
local mycmakeargs=(
-DICINGA2_UNITY_BUILD=FALSE
-DCMAKE_VERBOSE_MAKEFILE=ON
-DCMAKE_BUILD_TYPE=None
-DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_INSTALL_SYSCONFDIR=/etc
-DCMAKE_INSTALL_LOCALSTATEDIR=/var
-DICINGA2_SYSCONFIGFILE=/etc/conf.d/icinga2
-DICINGA2_USER=icinga
-DICINGA2_GROUP=icingacmd
-DICINGA2_COMMAND_USER=icinga
-DICINGA2_COMMAND_GROUP=icingacmd
-DINSTALL_SYSTEMD_SERVICE_AND_INITSCRIPT=yes
)
if use postgres; then
mycmakeargs+=(
-DICINGA2_WITH_PGSQL=ON
)
else
mycmakeargs+=(
-DICINGA2_WITH_PGSQL=OFF
)
fi
if use mysql; then
mycmakeargs+=(
-DICINGA2_WITH_MYSQL=ON
)
else
mycmakeargs+=(
-DICINGA2_WITH_MYSQL=OFF
)
fi
cmake-utils_src_configure
}
src_install() {
BUILDDIR="${WORKDIR}"/icinga2-${PV}_build
cd $BUILDDIR
#if [[ -f Makefile ]] || [[ -f GNUmakefile ]] || [[ -f makefile ]] ; then
emake DESTDIR="${D}" install
#fi
cd "${WORKDIR}"/icinga2-${PV}
if ! declare -p DOCS >/dev/null 2>&1 ; then
local d
for d in README* ChangeLog AUTHORS NEWS TODO CHANGES THANKS BUGS \
FAQ CREDITS CHANGELOG ; do
[[ -s "${d}" ]] && dodoc "${d}"
done
elif declare -p DOCS | grep -q "^declare -a " ; then
dodoc "${DOCS[@]}"
else
dodoc ${DOCS}
fi
newinitd "${FILESDIR}"/icinga2.initd icinga2
newconfd "${FILESDIR}"/icinga2.confd icinga2
if use mysql ; then
docinto schema
newdoc "${WORKDIR}"/icinga2-${PV}/lib/db_ido_mysql/schema/mysql.sql mysql.sql
docinto schema/upgrade
#newdoc "${WORKDIR}"/icinga2-${PV}/components/db_ido_mysql/schema/upgrade/0.0.11.sql mysql-upgrade-1.12.0.sql
elif use postgres ; then
docinto schema
newdoc "${WORKDIR}"/icinga2-${PV}/lib/db_ido_pgsql/schema/pgsql.sql pgsql.sql
docinto schema/upgrade
#newdoc "${WORKDIR}"/icinga2-${PV}/components/db_ido_pgsql/schema/upgrade/0.0.11.sql pgsql-upgrade-1.12.0.sql
fi
keepdir /etc/icinga2
keepdir /var/lib/icinga2/api/zones
keepdir /var/lib/icinga2/api/repository
keepdir /var/lib/icinga2/api/log
keepdir /var/spool/icinga2/perfdata
rm -r "${D}var/run" || die "failed to remove /var/run"
rm -r "${D}var/cache" || die "failed to remove /var/cache"
fowners icinga:icinga /etc/icinga2
fowners icinga:icinga /var/lib/icinga2
fowners icinga:icinga /var/spool/icinga2
fowners icinga:icinga /var/spool/icinga2/perfdata
fowners icinga:icingacmd /var/log/icinga2
fperms ug+rwX,o-rwx /etc/icinga2
fperms ug+rwX,o-rwx /var/lib/icinga2
fperms ug+rwX,o-rwx /var/spool/icinga2
fperms ug+rwX,o-rwx /var/log/icinga2
if use vim-syntax; then
insinto /usr/share/vim/vimfiles
doins -r tools/syntax/vim/ftdetect
doins -r tools/syntax/vim/syntax
fi
if use nano-syntax; then
insinto /usr/share/nano
doins tools/syntax/nano/icinga2.nanorc
fi
}
pkg_postinst() {
elog "DB IDO schema upgrade required. http://docs.icinga.org/icinga2/snapshot/chapter-2.html#upgrading-the-mysql-database"
elog "You will need to update your configuration files, see https://dev.icinga.org/issues/5909"
}

@ -1,163 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit cmake-utils depend.apache eutils systemd toolchain-funcs user versionator
DESCRIPTION="Distributed, general purpose, network monitoring engine"
HOMEPAGE="http://icinga.org/icinga2"
SRC_URI="https://github.com/Icinga/icinga2/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+mysql postgres classicui minimal nano-syntax +plugins +vim-syntax"
DEPEND="
dev-libs/openssl:=
>=dev-libs/boost-1.41
sys-devel/bison
>=sys-devel/flex-2.5.35
mysql? ( virtual/mysql )
postgres? ( dev-db/postgresql:= )"
RDEPEND="
${DEPEND}
plugins? ( || (
net-analyzer/monitoring-plugins
net-analyzer/nagios-plugins
) )
classicui? ( net-analyzer/icinga[web] )"
REQUIRED_USE="!minimal? ( || ( mysql postgres ) )"
want_apache2
pkg_setup() {
enewgroup icinga
enewgroup icingacmd
enewgroup nagios # for plugins
enewuser icinga -1 -1 /var/lib/icinga2 "icinga,icingacmd,nagios"
}
src_prepare() {
# epatch "${FILESDIR}/${P}-create_var_cache.patch"
epatch_user
}
src_configure() {
local mycmakeargs=(
-DICINGA2_UNITY_BUILD=FALSE
-DCMAKE_VERBOSE_MAKEFILE=ON
-DCMAKE_BUILD_TYPE=None
-DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_INSTALL_SYSCONFDIR=/etc
-DCMAKE_INSTALL_LOCALSTATEDIR=/var
-DICINGA2_SYSCONFIGFILE=/etc/conf.d/icinga2
-DICINGA2_USER=icinga
-DICINGA2_GROUP=icingacmd
-DICINGA2_COMMAND_USER=icinga
-DICINGA2_COMMAND_GROUP=icingacmd
-DINSTALL_SYSTEMD_SERVICE_AND_INITSCRIPT=yes
)
if use minimal; then
mycmakeargs+=(
-DICINGA2_WITH_MYSQL=OFF
-DICINGA2_WITH_PGSQL=OFF
)
fi
if use postgres; then
mycmakeargs+=(
-DICINGA2_WITH_PGSQL=ON
)
else
mycmakeargs+=(
-DICINGA2_WITH_PGSQL=OFF
)
fi
if use mysql; then
mycmakeargs+=(
-DICINGA2_WITH_MYSQL=ON
)
else
mycmakeargs+=(
-DICINGA2_WITH_MYSQL=OFF
)
fi
cmake-utils_src_configure
}
src_install() {
BUILDDIR="${WORKDIR}"/icinga2-${PV}_build
cd $BUILDDIR
#if [[ -f Makefile ]] || [[ -f GNUmakefile ]] || [[ -f makefile ]] ; then
emake DESTDIR="${D}" install
#fi
cd "${WORKDIR}"/icinga2-${PV}
if ! declare -p DOCS >/dev/null 2>&1 ; then
local d
for d in README* ChangeLog AUTHORS NEWS TODO CHANGES THANKS BUGS \
FAQ CREDITS CHANGELOG ; do
[[ -s "${d}" ]] && dodoc "${d}"
done
elif declare -p DOCS | grep -q "^declare -a " ; then
dodoc "${DOCS[@]}"
else
dodoc ${DOCS}
fi
newinitd "${FILESDIR}"/icinga2.initd icinga2
newconfd "${FILESDIR}"/icinga2.confd icinga2
if use mysql ; then
docinto schema
newdoc "${WORKDIR}"/icinga2-${PV}/lib/db_ido_mysql/schema/mysql.sql mysql.sql
docinto schema/upgrade
#newdoc "${WORKDIR}"/icinga2-${PV}/components/db_ido_mysql/schema/upgrade/0.0.11.sql mysql-upgrade-1.12.0.sql
elif use postgres ; then
docinto schema
newdoc "${WORKDIR}"/icinga2-${PV}/lib/db_ido_pgsql/schema/pgsql.sql pgsql.sql
docinto schema/upgrade
#newdoc "${WORKDIR}"/icinga2-${PV}/components/db_ido_pgsql/schema/upgrade/0.0.11.sql pgsql-upgrade-1.12.0.sql
fi
keepdir /etc/icinga2
keepdir /var/lib/icinga2/api/zones
keepdir /var/lib/icinga2/api/repository
keepdir /var/lib/icinga2/api/log
keepdir /var/spool/icinga2/perfdata
rm -r "${D}var/run" || die "failed to remove /var/run"
rm -r "${D}var/cache" || die "failed to remove /var/cache"
fowners icinga:icinga /etc/icinga2
fowners icinga:icinga /var/lib/icinga2
fowners icinga:icinga /var/spool/icinga2
fowners icinga:icinga /var/spool/icinga2/perfdata
fowners icinga:icingacmd /var/log/icinga2
fperms ug+rwX,o-rwx /etc/icinga2
fperms ug+rwX,o-rwx /var/lib/icinga2
fperms ug+rwX,o-rwx /var/spool/icinga2
fperms ug+rwX,o-rwx /var/log/icinga2
if use vim-syntax; then
insinto /usr/share/vim/vimfiles
doins -r tools/syntax/vim/ftdetect
doins -r tools/syntax/vim/syntax
fi
if use nano-syntax; then
insinto /usr/share/nano
doins tools/syntax/nano/icinga2.nanorc
fi
}
pkg_postinst() {
elog "DB IDO schema upgrade required. http://docs.icinga.org/icinga2/snapshot/chapter-2.html#upgrading-the-mysql-database"
elog "You will need to update your configuration files, see https://dev.icinga.org/issues/5909"
}

@ -3,7 +3,7 @@
# $Id$
EAPI=5
inherit cmake-utils depend.apache eutils git-2 systemd toolchain-funcs user versionator
inherit cmake-utils depend.apache eutils git-2 systemd toolchain-funcs user
DESCRIPTION="Distributed, general purpose, network monitoring engine"
HOMEPAGE="http://icinga.org/icinga2"
@ -12,11 +12,11 @@ EGIT_BRANCH="master"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
KEYWORDS="amd64 x86"
IUSE="+mysql postgres classicui minimal nano-syntax +plugins +vim-syntax"
DEPEND="
dev-libs/openssl:=
dev-libs/openssl:0
>=dev-libs/boost-1.41
sys-devel/bison
>=sys-devel/flex-2.5.35
@ -36,17 +36,13 @@ REQUIRED_USE="!minimal? ( || ( mysql postgres ) )"
want_apache2
pkg_setup() {
depend.apache_pkg_setup
enewgroup icinga
enewgroup icingacmd
enewgroup nagios # for plugins
enewuser icinga -1 -1 /var/lib/icinga2 "icinga,icingacmd,nagios"
}
src_prepare() {
# epatch "${FILESDIR}/${P}-create_var_cache.patch"
epatch_user
}
src_configure() {
local mycmakeargs=(
-DICINGA2_UNITY_BUILD=FALSE
@ -62,22 +58,16 @@ src_configure() {
-DICINGA2_COMMAND_GROUP=icingacmd
-DINSTALL_SYSTEMD_SERVICE_AND_INITSCRIPT=yes
)
if use postgres; then
mycmakeargs+=(
-DICINGA2_WITH_PGSQL=ON
)
else
# default to off if minimal, allow the flags to be set otherwise
if use minimal; then
mycmakeargs+=(
-DICINGA2_WITH_MYSQL=OFF
-DICINGA2_WITH_PGSQL=OFF
)
fi
if use mysql; then
mycmakeargs+=(
-DICINGA2_WITH_MYSQL=ON
)
else
mycmakeargs+=(
-DICINGA2_WITH_MYSQL=OFF
-DICINGA2_WITH_PGSQL=$(usex postgres ON OFF)
-DICINGA2_WITH_MYSQL=$(usex mysql ON OFF)
)
fi
cmake-utils_src_configure
@ -87,23 +77,9 @@ src_install() {
BUILDDIR="${WORKDIR}"/icinga2-${PV}_build
cd $BUILDDIR
#if [[ -f Makefile ]] || [[ -f GNUmakefile ]] || [[ -f makefile ]] ; then
emake DESTDIR="${D}" install
emake DESTDIR="${D}" install
#fi
cd "${WORKDIR}"/icinga2-${PV}
if ! declare -p DOCS >/dev/null 2>&1 ; then
local d
for d in README* ChangeLog AUTHORS NEWS TODO CHANGES THANKS BUGS \
FAQ CREDITS CHANGELOG ; do
[[ -s "${d}" ]] && dodoc "${d}"
done
elif declare -p DOCS | grep -q "^declare -a " ; then
dodoc "${DOCS[@]}"
else
dodoc ${DOCS}
fi
einstalldocs
newinitd "${FILESDIR}"/icinga2.initd icinga2
newconfd "${FILESDIR}"/icinga2.confd icinga2
@ -112,12 +88,12 @@ src_install() {
docinto schema
newdoc "${WORKDIR}"/icinga2-${PV}/lib/db_ido_mysql/schema/mysql.sql mysql.sql
docinto schema/upgrade
#newdoc "${WORKDIR}"/icinga2-${PV}/components/db_ido_mysql/schema/upgrade/0.0.11.sql mysql-upgrade-1.12.0.sql
dodoc "${WORKDIR}"/icinga2-${PV}/lib/db_ido_mysql/schema/upgrade/*
elif use postgres ; then
docinto schema
newdoc "${WORKDIR}"/icinga2-${PV}/lib/db_ido_pgsql/schema/pgsql.sql pgsql.sql
docinto schema/upgrade
#newdoc "${WORKDIR}"/icinga2-${PV}/components/db_ido_pgsql/schema/upgrade/0.0.11.sql pgsql-upgrade-1.12.0.sql
dodoc "${WORKDIR}"/icinga2-${PV}/lib/db_ido_pgsql/schema/upgrade/*
fi
keepdir /etc/icinga2
@ -126,8 +102,8 @@ src_install() {
keepdir /var/lib/icinga2/api/log
keepdir /var/spool/icinga2/perfdata
rm -r "${D}var/run" || die "failed to remove /var/run"
rm -r "${D}var/cache" || die "failed to remove /var/cache"
rm -r "${D}/var/run" || die "failed to remove /var/run"
rm -r "${D}/var/cache" || die "failed to remove /var/cache"
fowners icinga:icinga /etc/icinga2
fowners icinga:icinga /var/lib/icinga2
@ -142,13 +118,13 @@ src_install() {
if use vim-syntax; then
insinto /usr/share/vim/vimfiles
doins -r tools/syntax/vim/ftdetect
doins -r tools/syntax/vim/syntax
doins -r "${WORKDIR}"/${P}/tools/syntax/vim/ftdetect
doins -r "${WORKDIR}"/${P}/tools/syntax/vim/syntax
fi
if use nano-syntax; then
insinto /usr/share/nano
doins tools/syntax/nano/icinga2.nanorc
doins "${WORKDIR}"/${P}/tools/syntax/nano/icinga2.nanorc
fi
}

@ -22,7 +22,7 @@ SRC_URI="
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd"
KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86 ~x86-fbsd"
IUSE="avahi crypt dbus gnome gnome-keyring kde idle jingle libnotify networkmanager nls spell +srv test X xhtml"
REQUIRED_USE="

@ -0,0 +1,67 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
PYTHON_COMPAT=( python2_7 )
inherit eutils python-r1
DEBIAN_PV="2.65"
DESCRIPTION="A python script that converts RSS/Atom newsfeeds to email"
HOMEPAGE="http://www.allthingsrss.com/rss2email"
SRC_URI="http://www.allthingsrss.com/${PN}/${P}.tar.gz
mirror://debian/pool/main/r/${PN}/${PN}_${DEBIAN_PV}-1.diff.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-util/patchutils"
RDEPEND=">=dev-python/feedparser-5.0.1
>=dev-python/html2text-3.01"
src_unpack() {
# Tarball has zero permissions inside
tar xf "${DISTDIR}"/${P}.tar.gz || die
chmod 0755 ${P} || die
chmod 0644 ${P}/* || die
}
src_prepare() {
epatch "${FILESDIR}"/${PN}-2.69-config-location.patch
# Extract man page from Debian patch
zcat "${DISTDIR}"/${PN}_${DEBIAN_PV}-1.diff.gz \
| filterdiff -i '*/r2e.1' \
> "${S}"/r2e.1.patch || die
EPATCH_OPTS="-p1" epatch r2e.1.patch
}
src_install() {
my_install() {
insinto "$(python_get_sitedir)"/${PN}
newins rss2email.py main.py || die
}
python_foreach_impl my_install
insinto /etc/${PN}
doins config.py.example || die
dodoc CHANGELOG readme.html || die
doman r2e.1 || die
# Replace r2e wrapper
cat <<-"EOF" >r2e
#! /bin/sh
SITE_PACKAGES=`python2 -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"`
CONF_DIR=${HOME}/.rss2email
mkdir -p "${CONF_DIR}"
exec python2 "${SITE_PACKAGES}"/rss2email/main.py "${CONF_DIR}"/feeds.dat $*
EOF
dobin r2e || die
}

@ -5,6 +5,10 @@
# This file requires eapi 5 or later. New entries go on top.
# Please use the same syntax as in use.mask
# Hans de Graaff <graaff@gentoo.org> (28 Sep 2015)
# Currently in testing and not ready to go stable yet.
ruby_targets_ruby22
# Patrick Lauer <patrick@gentoo.org> (28 Apr 2015)
# dependencies not stable yet
ayatana

@ -0,0 +1,10 @@
diff --git a/mtpfs.h b/mtpfs.h
index f9532fa..1042a3d 100644
--- a/mtpfs.h
+++ b/mtpfs.h
@@ -32,2 +32,5 @@
#endif
+#ifdef DEBUG
+#include <glib/gprintf.h>
+#endif

@ -0,0 +1,49 @@
From 39872d8ff354c40d881f416e3b8b6df911379d37 Mon Sep 17 00:00:00 2001
From: "W. Trevor King" <wking@tremily.us>
Date: Sun, 23 Aug 2015 12:05:35 -0700
Subject: [PATCH 1/7] Use GMutex instead of GStaticMutex
The static version was deprecated in GLib 2.32 [1], which was released
on 2012-03-24 [2]. The difference between the two was that before
2.32, GMutex could not be statically allocated. Since 2.32, GMutex
can be statically allocated, so there's no reason to use GStaticMutex
anymore.
[1]: https://developer.gnome.org/glib/unstable/glib-Deprecated-Thread-APIs.html#GStaticMutex
[2]: https://git.gnome.org/browse/glib/tag/?h=glib-2-32&id=2.32.0
---
mtpfs.c | 4 ++--
mtpfs.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/mtpfs.c b/mtpfs.c
index 553d282..286cd24 100644
--- a/mtpfs.c
+++ b/mtpfs.c
@@ -28,8 +28,8 @@ static void dump_mtp_error()
#define dump_mtp_error()
#endif
-#define enter_lock(a...) do { DBG("lock"); DBG(a); g_static_mutex_lock(&device_lock); } while(0)
-#define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0)
+#define enter_lock(a...) do { DBG("lock"); DBG(a); g_mutex_lock(&device_lock); } while(0)
+#define return_unlock(a) do { DBG("return unlock"); g_mutex_unlock(&device_lock); return a; } while(0)
void
free_files(LIBMTP_file_t *filelist)
diff --git a/mtpfs.h b/mtpfs.h
index 789eccb..f812ea6 100644
--- a/mtpfs.h
+++ b/mtpfs.h
@@ -73,7 +73,7 @@ static GSList *lostfiles = NULL;
static GSList *myfiles = NULL;
static LIBMTP_playlist_t *playlists = NULL;
static gboolean playlists_changed = FALSE;
-static GStaticMutex device_lock = G_STATIC_MUTEX_INIT;
+static GMutex device_lock = G_STATIC_MUTEX_INIT;
#endif /* _MTPFS_H_ */
--
2.5.3

@ -0,0 +1,28 @@
From 2fb900e9e915f9ec6ac2f233255a0a527da164c2 Mon Sep 17 00:00:00 2001
From: "W. Trevor King" <wking@tremily.us>
Date: Sun, 23 Aug 2015 21:59:45 -0700
Subject: [PATCH 2/7] Free rawdevices after opening the connected device
Avoid leaking the raw-device memory. For a similar example in the
libmtp source, see LIBMTP_Get_First_Device [1].
[1]: http://sourceforge.net/p/libmtp/code/ci/libmtp-1-1-9/tree/src/libmtp.c#l1690
---
mtpfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/mtpfs.c b/mtpfs.c
index 286cd24..bdd5f46 100644
--- a/mtpfs.c
+++ b/mtpfs.c
@@ -1390,6 +1390,7 @@ main (int argc, char *argv[])
fprintf(stdout, "Attempting to connect device\n");
device = LIBMTP_Open_Raw_Device(&rawdevices[i]);
+ free (rawdevices);
if (device == NULL) {
fprintf(stderr, "Unable to open raw device %d\n", i);
return 1;
--
2.5.3

@ -0,0 +1,55 @@
From 3929648c83910a45a37e84b4d3e5316631ce7c6b Mon Sep 17 00:00:00 2001
From: "W. Trevor King" <wking@tremily.us>
Date: Mon, 24 Aug 2015 00:08:24 -0700
Subject: [PATCH 3/7] Allocate additional byte for trailing null
These variables needs a byte for every character in the path and an
additional trailing null, but the length returned by strlen excludes
the trailing null.
---
mtpfs.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/mtpfs.c b/mtpfs.c
index bdd5f46..e31acd9 100644
--- a/mtpfs.c
+++ b/mtpfs.c
@@ -416,7 +416,7 @@ parse_path (const gchar * path)
LIBMTP_folder_t *folder;
gchar **fields;
gchar *directory;
- directory = (gchar *) g_malloc (strlen (path));
+ directory = (gchar *) g_malloc (strlen (path) + 1);
directory = strcpy (directory, "");
fields = g_strsplit (path, "/", -1);
res = -ENOENT;
@@ -488,7 +488,7 @@ mtpfs_release (const char *path, struct fuse_file_info *fi)
gchar *filename = g_strdup("");
gchar **fields;
gchar *directory;
- directory = (gchar *) g_malloc (strlen (path));
+ directory = (gchar *) g_malloc (strlen (path) + 1);
directory = strcpy (directory, "/");
fields = g_strsplit (path, "/", -1);
int i;
@@ -1089,7 +1089,7 @@ mtpfs_mkdir_real (const char *path, mode_t mode)
gchar **fields;
gchar *directory;
- directory = (gchar *) g_malloc (strlen (path));
+ directory = (gchar *) g_malloc (strlen (path) + 1);
directory = strcpy (directory, "/");
fields = g_strsplit (path, "/", -1);
int i;
@@ -1168,7 +1168,7 @@ mtpfs_rename (const char *oldname, const char *newname)
gchar *filename;
gchar **fields;
gchar *directory;
- directory = (gchar *) g_malloc (strlen (newname));
+ directory = (gchar *) g_malloc (strlen (newname) + 1);
directory = strcpy (directory, "/");
fields = g_strsplit (newname, "/", -1);
int i;
--
2.5.3

@ -0,0 +1,42 @@
From 89ec461a73a2479fb5766b6b65a44e6e5b699b94 Mon Sep 17 00:00:00 2001
From: "W. Trevor King" <wking@tremily.us>
Date: Mon, 24 Aug 2015 00:34:41 -0700
Subject: [PATCH 4/7] Use storageid to access storageArea
'i' is indexing playlist->tracks here, and we don't want to look in a
sequential storage areas for each track.
I've also added a null-folder check. I'm not sure if -ENOENT is the
right code for "we can't find the parent directory in the storage area
that contains the child", but it's the only non-success code that
mtpfs_getattr_real returned before this commit. And returning
anything is probably better than segfaulting when we try and
dereference folder with 'folder->parent_id'. I've added a logging
message to help debug things when we do get a null folder.
---
mtpfs.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/mtpfs.c b/mtpfs.c
index e31acd9..9f924a9 100644
--- a/mtpfs.c
+++ b/mtpfs.c
@@ -832,7 +832,14 @@ mtpfs_getattr_real (const gchar * path, struct stat *stbuf)
filesize = filesize + strlen(file->filename) + 2;
while (parent_id != 0) {
check_folders();
- folder = LIBMTP_Find_Folder(storageArea[i].folders,parent_id);
+ folder =
+ LIBMTP_Find_Folder
+ (storageArea[storageid].folders, parent_id);
+ if (folder == NULL) {
+ DBG ("could not find %d in storage-area %d",
+ parent_id, storageid);
+ return -ENOENT;
+ }
parent_id = folder->parent_id;
filesize = filesize + strlen(folder->name) + 1;
}
--
2.5.3

@ -0,0 +1,46 @@
From 00bd3be1310fb36a3b2eddc931eb48c89744b2b4 Mon Sep 17 00:00:00 2001
From: "W. Trevor King" <wking@tremily.us>
Date: Mon, 24 Aug 2015 01:31:17 -0700
Subject: [PATCH 5/7] Use O_ACCMODE to pull out the access portion of the open
flags
Following [1]. I'm using cp from GNU Coreutils 8.23, and it's setting
my flags to 32769 (O_WRONLY + 0x8000).
[1]: http://www.gnu.org/software/libc/manual/html_node/Access-Modes.html#index-0_005fACCMODE
---
mtpfs.c | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/mtpfs.c b/mtpfs.c
index 9f924a9..a82d479 100644
--- a/mtpfs.c
+++ b/mtpfs.c
@@ -949,12 +949,18 @@ mtpfs_open (const gchar * path, struct fuse_file_info *fi)
if (item_id < 0)
return_unlock(-ENOENT);
- if (fi->flags == O_RDONLY) {
- DBG("read");
- } else if (fi->flags == O_WRONLY) {
- DBG("write");
- } else if (fi->flags == O_RDWR) {
- DBG("rdwrite");
+ switch (fi->flags & O_ACCMODE) {
+ case O_RDONLY:
+ DBG ("read");
+ break;
+ case O_WRONLY:
+ DBG ("write");
+ break;
+ case O_RDWR:
+ DBG("rdwrite");
+ break;
+ default:
+ DBG ("unexpected access mode: %d", fi->flags & O_ACCMODE);
}
int storageid;
--
2.5.3

@ -0,0 +1,109 @@
From 8860e176c8fb38006dc58516a5e5d9a1aab7be49 Mon Sep 17 00:00:00 2001
From: "W. Trevor King" <wking@tremily.us>
Date: Mon, 24 Aug 2015 01:07:49 -0700
Subject: [PATCH 6/7] Check for find_storage failures
Instead of just blindly using storageArea[-1].
---
mtpfs.c | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/mtpfs.c b/mtpfs.c
index a82d479..3fe17b8 100644
--- a/mtpfs.c
+++ b/mtpfs.c
@@ -317,6 +317,7 @@ find_storage(const gchar * path)
}
}
}
+ DBG ("could not find storage for %s", path);
return -1;
}
@@ -422,6 +423,9 @@ parse_path (const gchar * path)
res = -ENOENT;
int storageid;
storageid = find_storage(path);
+ if (storageid < 0) {
+ return res;
+ }
for (i = 0; fields[i] != NULL; i++) {
if (strlen (fields[i]) > 0) {
if (fields[i + 1] != NULL) {
@@ -495,6 +499,9 @@ mtpfs_release (const char *path, struct fuse_file_info *fi)
int parent_id = 0;
int storageid;
storageid = find_storage(fields[0]);
+ if (storageid < 0) {
+ return_unlock (-ENOENT);
+ }
for (i = 0; fields[i] != NULL; i++) {
if (strlen (fields[i]) > 0) {
if (fields[i + 1] == NULL) {
@@ -715,6 +722,9 @@ mtpfs_readdir (const gchar * path, void *buf, fuse_fill_dir_t filler,
int i;
int storageid = -1;
storageid=find_storage(path);
+ if (storageid < 0) {
+ return_unlock (-ENOENT);
+ }
// Get folder listing.
int folder_id = 0;
if (strcmp (path, "/") != 0) {
@@ -812,6 +822,9 @@ mtpfs_getattr_real (const gchar * path, struct stat *stbuf)
int storageid;
storageid=find_storage(path);
+ if (storageid < 0) {
+ return -ENOENT;
+ }
if (g_ascii_strncasecmp (path, "/Playlists",10) == 0) {
LIBMTP_playlist_t *playlist;
@@ -965,6 +978,9 @@ mtpfs_open (const gchar * path, struct fuse_file_info *fi)
int storageid;
storageid=find_storage(path);
+ if (storageid < 0) {
+ return_unlock (-ENOENT);
+ }
FILE *filetmp = tmpfile ();
int tmpfile = fileno (filetmp);
if (tmpfile != -1) {
@@ -1096,6 +1112,9 @@ mtpfs_mkdir_real (const char *path, mode_t mode)
item = g_slist_find_custom (myfiles, path, (GCompareFunc) strcmp);
int item_id = parse_path (path);
int storageid = find_storage(path);
+ if (storageid < 0) {
+ return_unlock (-ENOENT);
+ }
if ((item == NULL) && (item_id < 0)) {
// Split path and find parent_id
gchar *filename = g_strdup("");
@@ -1161,6 +1180,9 @@ mtpfs_rmdir (const char *path)
return_unlock(0);
}
int storageid=find_storage(path);
+ if (storageid < 0) {
+ return_unlock (-ENOENT);
+ }
folder_id = lookup_folder_id (storageArea[storageid].folders, (gchar *) path, NULL);
if (folder_id < 0)
return_unlock(-ENOENT);
@@ -1223,7 +1245,13 @@ mtpfs_rename (const char *oldname, const char *newname)
LIBMTP_file_t *file;
int storageid_old=find_storage(oldname);
+ if (storageid_old < 0) {
+ return_unlock (-ENOENT);
+ }
int storageid_new=find_storage(newname);
+ if (storageid_new < 0) {
+ return_unlock (-ENOENT);
+ }
if (strcmp (oldname, "/") != 0) {
folder_id = lookup_folder_id (storageArea[storageid_old].folders, (gchar *) oldname, NULL);
}
--
2.5.3

@ -0,0 +1,29 @@
From 76ff042e1334fdbef9803ea71b5d8b1d380efd7e Mon Sep 17 00:00:00 2001
From: "W. Trevor King" <wking@tremily.us>
Date: Mon, 24 Aug 2015 20:58:26 -0700
Subject: [PATCH 7/7] Use 'path' instead of 'fields[0]' for find_storage
When my path is '/Internal storage/Music/...', fields[0] will be an
empty string, and find_storage will fail to find a storage area that
matches that empty string. All of our other find_storage calls use
the full path, so follow that example here.
---
mtpfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mtpfs.c b/mtpfs.c
index 3fe17b8..291f49d 100644
--- a/mtpfs.c
+++ b/mtpfs.c
@@ -498,7 +498,7 @@ mtpfs_release (const char *path, struct fuse_file_info *fi)
int i;
int parent_id = 0;
int storageid;
- storageid = find_storage(fields[0]);
+ storageid = find_storage(path);
if (storageid < 0) {
return_unlock (-ENOENT);
}
--
2.5.3

@ -0,0 +1,57 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils
DESCRIPTION="A FUSE filesystem providing access to MTP devices"
HOMEPAGE="http://www.adebenham.com/mtpfs/"
SRC_URI="http://www.adebenham.com/files/mtp/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug mad"
RDEPEND="dev-libs/glib:2
>=media-libs/libmtp-1.1.2
sys-fs/fuse
mad? (
media-libs/libid3tag
media-libs/libmad
)"
DEPEND="${RDEPEND}
virtual/pkgconfig"
DOCS=(AUTHORS NEWS README)
src_prepare() {
sed -e "/#include <string.h>/ a\
#include <stdlib.h>" -i mtpfs.h id3read.c || die #implicit
epatch "${FILESDIR}"/${P}-fix-mutex-crash.patch
epatch "${FILESDIR}"/${P}-unitialized-variable.patch
epatch "${FILESDIR}"/${P}-wking-patches/*.patch
epatch "${FILESDIR}"/${P}-g_printf.patch
}
src_configure() {
econf $(use_enable debug) \
$(use_enable mad)
}
pkg_postinst() {
einfo "To mount your MTP device, issue:"
einfo " /usr/bin/mtpfs <mountpoint>"
echo
einfo "To unmount your MTP device, issue:"
einfo " /usr/bin/fusermount -u <mountpoint>"
if use debug; then
echo
einfo "You have enabled debugging output."
einfo "Please make sure you run mtpfs with the -d flag."
fi
}

@ -17,12 +17,18 @@ DIST genpatches-3.10-92.extras.tar.xz 17836 SHA256 c0530ffe58e5b4f654224b09cde9a
DIST genpatches-3.10-93.base.tar.xz 1266844 SHA256 93de9b4e9a1856c4157cbcd2aa1ca35495bea6dfa7d0f65a7f4a3d1c29d9692b SHA512 763160e4a27c9988332cb58d5744c58995f12f293b1a54c20901b1cfecbc090074430f3cefceb36231cfbf82ccf0c94ede1069de854ea2be4551dfcb63371957 WHIRLPOOL 2cd25964424d6df195fb797536b33c6a8e893dee7b9a8ac294902dba3bc5375ebf7cdab4f4404eb234793595c46625ddd2b2c35cc8865fa8a01dfe82ae84859e
DIST genpatches-3.10-93.experimental.tar.xz 60176 SHA256 b8e4734cbd4c6d66695ecbcd4a4fde144f3101cb200fd95ff926fc6fc3e470f9 SHA512 9c099063b47726f922726084a60e0ea813f1f0ca3d4abc8ad64062ef2e5e9dd045856b31c110b8524ff44d693bb5e1fe48c87cb550f59933ef96b5042bea845e WHIRLPOOL 3856ab3d1e85e917121e485e690bbcf3457d67f3d37585f510773a081ddb9a730a31a8bb9a1c6a35b0caac3ec2ff080ace78dea69ef9af68987024f4a064436d
DIST genpatches-3.10-93.extras.tar.xz 17836 SHA256 d879d631a860c5d88b8c796ee052036e53b9393f91762279a3e3a34dc86f285b SHA512 bf11729b5af329b8f29834b56a14e582ef6ae270b3704ce3ef5b12c58e678471e3dd5f71205a1f5dcb9b425aef1cf1f63328f1468c3e06dea7b0206c864aa5d1 WHIRLPOOL 3d961cee4a5d2e1e4d51e815d8272afbcf9981bdd74d1806889c5eb4416596c469fd65deab2bedaf8f5c991e44dbc5cc210f44d3bb7995652cd4115dce10cbfa
DIST genpatches-3.10-94.base.tar.xz 1271184 SHA256 406b38143a37d12be8f1165546456f436b9c96ff0cae6b40f4a71ffef5a1d4eb SHA512 cd618401e2cf185827c378e0ac9b37106caa000700119895bd782e517e4d8cd0e6b22d7274200f14717d44e5621051ed4f00c4fe5b0c20c70f990c1418124c1d WHIRLPOOL b63cde9874147c6c530a2e7f4d5a49ab8f411b5dba5a42f23f2f4e4f002548fb96769a6d2446c69bbf0722a037f930d9ac1fe09fbdde373d45cbc741294e8b72
DIST genpatches-3.10-94.experimental.tar.xz 60168 SHA256 777ffb284913e97046245b26f3fb1ad06fa8c1284c351d72bb0dad1e6e1ee4a0 SHA512 a7f9a6350aff59d35a440a8728fe2f7b4282f4b857cd8628851e83ac877753fc8d2b30a014a40e269cd81ecb5b9b1968a8a70ef07e6b4226cd38dc7800309019 WHIRLPOOL 1a1436fcc5b703a67155401ccb78326cd28d887af73d436c97ec6f08732caea964deebb4b5f13ab69c064f23104ffc7c522d9dde1caf7db3441a24418b120132
DIST genpatches-3.10-94.extras.tar.xz 17848 SHA256 1bea69dafacbf91f819c753fe7193800422f0e389e8e0792034fbfe8b01713b5 SHA512 6b22676ff4388ee5638c9587ff125c55cc3b4f1f3eb6bf2fc7c50b73428546d770b7223aa11051f879a6fc86fda2b40cc7ce2d77b52ca2d9b0b04124e53e2cdb WHIRLPOOL 66d3cb81ed54e0b35684c539b4b2b31b1dffe18324499a04dd0b84f8763893c3be6b0110c0184643565b470c7843c448ef7c8e6f1ae1e6e6bef9eeca37e26ad0
DIST genpatches-3.12-43.base.tar.xz 1364580 SHA256 2d83b0b0ed5946542676467d99d9d0f0879c8da9ab16a9b602548bc3fa9b5fbd SHA512 40d77097db66868b0281c556e25edf24924a8ea4dc6b0a297f38730f41e55a9b4937bc68c614d2279875e78bff0c9dff2a6c4192fc2a847ac3b1d3927af25acc WHIRLPOOL 34ef24dca012870ff9129113147457fdbb5009bccc2ea4dbb0f601bb88b36fbf037c2d12c646c3ac38e7413278e1ae316bc2a1fdbbecdbc8255bb32a8dac3ed2
DIST genpatches-3.12-43.experimental.tar.xz 46536 SHA256 a66c108185ec4524e212f273c01b1d3dc84da9e15e08f570be0da899067ce567 SHA512 1d739c625e13b1c48554746572d0e2f2bb141a2d9742a683ff342a770792fbd8a1764d322c987a8a0f091c5a0834f7f980f4e2676b34bff05bd2b7a2ddf36373 WHIRLPOOL 3e9601ef0e9903fff4b363564f8e300becc78f82337ed84effa806dd1067de3359ba21596af782d2292e5979445e74a885c456df61306ed2cc8da008008a3be1
DIST genpatches-3.12-43.extras.tar.xz 18236 SHA256 928d2d472b3fcedc711b2134de4294a9a8906eff3344baa26bc9ef276067a180 SHA512 6096d64e1d8f88fd4570c50d7f04265173dc136feab79477549d1ccea6d99226c756e195a2a1fd5cd245888566ef8b005f3fd40e83076e0c83b1b8d5edba8b26 WHIRLPOOL aa44f5b80524a6dce660f0d13513d0d01dcb0a23f3c0e9cd6d110c989aa0e7cfaf77d02d1034838bf02b666d7b608a54fee956141d7b2527590381d0ac40dc25
DIST genpatches-3.12-44.base.tar.xz 1444756 SHA256 b7ee32a2439bfa7318b1b42ceb2590098a061fe0eff563ad84126a3f672699f8 SHA512 74c929166b1399b80e3b00ee7573f8808c9abdf401b9c9d2a20565f82ac70e176d05dfb2127a2baab87a244f9783603defb6f19a2ec36c9aeab109456c5d3a97 WHIRLPOOL 58924c96b06194c90f09cad60221488e28b74977ed2713d6e29736102a8e90f70e6c3f29094317c66d2f08a077c1b7c5d109dac195b79cdfcc220042e04b5021
DIST genpatches-3.12-44.experimental.tar.xz 46524 SHA256 58ecdc367450ffd0b6e7efecf0d98e292916fa92db079c46c27308e4b76f8e83 SHA512 61611fec8d4b9b25c7f9538f29d332b550ac47c708beb3083459c1b519d8198fa40091fccee529c1819dea3186104006264ca34ba2d9cd755302ea4394a0ebd6 WHIRLPOOL 19eac3c35333dfd33fa26b15ab8904ae116dae37e15ad43cb5be635ab77f929fac614365804d30655188e53b3899565985e358fccf8211406650876fc7257541
DIST genpatches-3.12-44.extras.tar.xz 18232 SHA256 b1007266063f8a9d2e15877a440cf32b023d24f0db7dbf6cd4283e57363fd717 SHA512 bb62811238a0e43f46871f76d32ec28eb9aed6b47d3a72dd4efdf16b81a7bf350dd5b2965e71cac224d222a1a5e55eb46cd66e3f9de91d90d92f43235be99eca WHIRLPOOL 21e9c4c9c023d4cf2aa56245df600a6ba173a8ca842a1f8eb3e9a08b285fbe3a8fc315c04556c2cebbf6ebba09d6144e9e6239b6c32848199d8785263da26d6f
DIST genpatches-3.12-45.base.tar.xz 1453664 SHA256 ec4d9bcce9b1210e68a0bb24af280eb1e969e8b0179138647fcbdf44a3572fab SHA512 a18cbd4359fb410b10ec3bf579ff77f931f6f86b1d29d7be61204ef0984d34870810942ff395456578efba76d73ab8416d51e7eb2edf3ced4be5a00d8a4967ab WHIRLPOOL c3795f46cee61c54f46a66b7e3dd1d1232035ad6d745f19598bfa4a69aef297b89b11bd7d845fa75247bcc723d7f52d5501a3281c95c8a4b80dee6104b72dd61
DIST genpatches-3.12-45.experimental.tar.xz 46536 SHA256 10a2fad4f699cfed49f8a5e3b0e5685a12328ffe06cd90c97fdf92d7bf7f33a3 SHA512 6dd0e76110fcdd50e48c85f6e777ffc63a55a434be59c92c33318fe331a4f04561c9e526dd015bae84ab5b5df0101389e764b3f77b164a59b8b46f22fa2a3ae9 WHIRLPOOL 59f60478fea7af16e373cc3e4166391d97cd1c5198d736844f5f692fea8c4456f87db1b37475508b1aa185bafbe08b9b685bc8235c8439eef488c49525af8316
DIST genpatches-3.12-45.extras.tar.xz 18244 SHA256 976054b5555a797b073b302e723ed6823b0e35b354d469dd7516f312d290f98a SHA512 77da50d1f74455ce5c38d5eeabb54dc9de936b3cdfd9dc3666f93cdcbfb546b32ad1dbcc0798c08c538389997182f87afa8d009ab26c6872a4c32a4d5b76a734 WHIRLPOOL 38eccba1cdee6da7ee00f332d740c0046f4cefe3d629e15f13acf4b3740ccbfe8c52029df2d1286e4510ba9f459dc738a75877b73b40b0b98d13d607295325fc
DIST genpatches-3.14-54.base.tar.xz 1000384 SHA256 31496c9d1175b58ddea2e7e832cc0a1d6485754b0876bf10395de151b113bc26 SHA512 8c41346830512bedf1efa20914aa4c0a5895a78a8442e7f6749845986518a01bf0ef4d8759887b8368735c7c3cf5537717bd31ea9b2bd02c30204358a2e1adfa WHIRLPOOL 7aac6195994ca15659a7c8d73ae23fdcc0391f1a0260f795ec7c10833ef3dba90caf7fe1a8b1debcf314739515d180635e3a37721943083181a4784a8f38a30b
DIST genpatches-3.14-54.experimental.tar.xz 60308 SHA256 d65996f339e190d74e5ec1279b7e7e50712a75c36a83d71fa030c6a91cf402d9 SHA512 a51652a814070674c106bbff39acf2a65b6f011b676a7963138ea9279fb0dfc35842efea5fbf5d02e57db53a20535edf62afdb433a31282226b3fcfb10d525f3 WHIRLPOOL a6696e0271df7ae8c4c16c1fb9450b8e3383c330967ba131e988569d67481c1d7a124094573e1522a01df8bcae0453f1a722456c637efe0531fd96b0b34e97df
DIST genpatches-3.14-54.extras.tar.xz 18268 SHA256 082caa7769237e2105c3aedcc3be569809cdaa3dfa7a99107aaddc7f5830d5ef SHA512 8b238352a15587c7ce44ae90311b5cb7e49e05abfda5af2a777757306464316527527c2f47d81f4689acc9998d3059a3e7854b38b9ce2929de2383cdfd321d65 WHIRLPOOL d7c633218de7299be91eb3c01f5e3c5a00d348dc00612de52381ae3c4385717d9424670e8e2e0c2de94b032c50af732371f090c7189915877d6e7ef0e6896945

@ -0,0 +1,30 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
ETYPE="sources"
K_WANT_GENPATCHES="base extras experimental"
K_GENPATCHES_VER="94"
K_DEBLOB_AVAILABLE="0"
inherit kernel-2
detect_version
detect_arch
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
IUSE="deblob experimental"
DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
pkg_postinst() {
kernel-2_pkg_postinst
einfo "For more info on this patchset, and how to report problems, see:"
einfo "${HOMEPAGE}"
}
pkg_postrm() {
kernel-2_pkg_postrm
}

@ -0,0 +1,29 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
ETYPE="sources"
K_WANT_GENPATCHES="base extras experimental"
K_GENPATCHES_VER="45"
K_DEBLOB_AVAILABLE="0"
inherit kernel-2
detect_version
detect_arch
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
IUSE="deblob experimental"
DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
pkg_postinst() {
kernel-2_pkg_postinst
einfo "For more info on this patchset, and how to report problems, see:"
einfo "${HOMEPAGE}"
}
pkg_postrm() {
kernel-2_pkg_postrm
}

@ -0,0 +1,115 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
inherit apache-module flag-o-matic multilib ruby-ng toolchain-funcs
DESCRIPTION="Passenger (a.k.a. mod_rails) makes deployment of Ruby on Rails applications a breeze"
HOMEPAGE="http://modrails.com/"
SRC_URI="http://s3.amazonaws.com/phusion-passenger/releases/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug"
ruby_add_bdepend "dev-ruby/rake"
ruby_add_rdepend "
>=dev-ruby/daemon_controller-1.2.0
>=dev-ruby/rack-1.0.0:*
>=dev-ruby/rake-0.8.1"
CDEPEND=">=dev-libs/libev-4.15 net-misc/curl[ssl]
www-servers/apache[apache2_modules_unixd(+)]"
RDEPEND="${RDEPEND} ${CDEPEND}"
DEPEND="${DEPEND} ${CDEPEND}"
APACHE2_MOD_CONF="30_mod_${PN}-4.0.0 30_mod_${PN}"
APACHE2_MOD_DEFINE="PASSENGER"
need_apache2
pkg_setup() {
use debug && append-flags -DPASSENGER_DEBUG
}
all_ruby_prepare() {
epatch "${FILESDIR}"/${PN}-4.0.49-gentoo.patch
# Change these with sed instead of a patch so that we can easily use
# the toolchain-funcs methods.
sed -i -e "s/gcc/$(tc-getCC)/" \
-e "s/g++/$(tc-getCXX)/" \
-e 's/PlatformInfo.debugging_cflags//' build/basics.rb || die
# Avoid fixed debugging CFLAGs.
sed -e '/debugging_cflags/areturn ""' -i lib/phusion_passenger/platform_info/compiler.rb || die
# Use sed here so that we can dynamically set the documentation directory.
sed -i -e "s:/usr/share/doc/passenger:/usr/share/doc/${P}:" \
-e "s:/usr/lib/apache2/modules/mod_passenger.so:${APACHE_MODULESDIR}/mod_passenger.so:" \
-e "s:/usr/lib/phusion-passenger/agents:/usr/libexec/phusion-passenger/agents:" \
lib/phusion_passenger.rb || die
sed -i -e "s:/usr/lib/phusion-passenger/agents:/usr/libexec/phusion-passenger/agents:" ext/common/ResourceLocator.h || die
# Don't install a tool that won't work in our setup.
sed -i -e '/passenger-install-apache2-module/d' lib/phusion_passenger/packaging.rb || die
rm -f bin/passenger-install-apache2-module || die "Unable to remove unneeded install script."
# Make sure we use the system-provided version.
rm -rf ext/libev || die "Unable to remove vendored libev."
# Avoid building documentation to avoid a dependency on mizuho.
#sed -i -e 's/, :doc//' build/packaging.rb || die
touch doc/*.html || die
# Fix hard-coded use of AR
sed -i -e "s/ar cru/"$(tc-getAR)" cru/" build/cplusplus_support.rb || die
}
all_ruby_compile() {
V=1 EXTRA_LDFLAGS="${LDFLAGS}" \
APXS2="${APXS}" \
HTTPD="${APACHE_BIN}" \
FS_LIBDIR='/usr/'$(get_libdir) \
USE_VENDORED_LIBEV="no" LIBEV_LIBS="-lev" \
ruby -S rake apache2 || die "rake failed"
}
each_ruby_compile() {
append-flags -fno-strict-aliasing
V=1 EXTRA_LDFLAGS="${LDFLAGS}" \
APXS2="${APXS}" \
HTTPD="${APACHE_BIN}" \
FS_LIBDIR='/usr/'$(get_libdir) \
USE_VENDORED_LIBEV="no" LIBEV_LIBS="-lev" \
${RUBY} -S rake native_support || die "rake failed"
}
all_ruby_install() {
APACHE2_MOD_FILE="${S}/buildout/apache2/mod_${PN}.so"
apache-module_src_install
# Patch in the correct libdir
sed -i -e 's:/usr/lib/:/usr/'$(get_libdir)'/:' "${D}${APACHE_MODULES_CONFDIR}/30_mod_${PN}.conf" || die
dodoc CHANGELOG README.md
}
each_ruby_install() {
DISTDIR="${D}" \
RUBYLIBDIR="$(ruby_rbconfig_value vendordir)" \
RUBYARCHDIR="$(ruby_rbconfig_value archdir)" \
APXS2="${APXS}" \
HTTPD="${APACHE_BIN}" \
FS_LIBDIR='/usr/'$(get_libdir) \
EXTRA_LDFLAGS="${LDFLAGS}" \
USE_VENDORED_LIBEV="no" LIBEV_LIBS="-lev" \
${RUBY} -S rake fakeroot || die "rake failed"
}

@ -0,0 +1,119 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
inherit apache-module flag-o-matic multilib ruby-ng toolchain-funcs
DESCRIPTION="Passenger (a.k.a. mod_rails) makes deployment of Ruby on Rails applications a breeze"
HOMEPAGE="http://modrails.com/"
SRC_URI="http://s3.amazonaws.com/phusion-passenger/releases/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug"
ruby_add_bdepend "dev-ruby/rake"
ruby_add_rdepend "
>=dev-ruby/rack-1.0.0:*
>=dev-ruby/rake-0.8.1"
# libev is bundled but with adapations that do not seem to be accepted
# upstream, so we must use the bundled version :-(
CDEPEND="
>=dev-libs/libuv-1.5.0
net-misc/curl[ssl]
www-servers/apache[apache2_modules_unixd(+)]"
RDEPEND="${RDEPEND} ${CDEPEND}"
DEPEND="${DEPEND} ${CDEPEND}"
APACHE2_MOD_CONF="30_mod_${PN}-5.0.0 30_mod_${PN}"
APACHE2_MOD_DEFINE="PASSENGER"
need_apache2
pkg_setup() {
use debug && append-flags -DPASSENGER_DEBUG
}
all_ruby_prepare() {
epatch "${FILESDIR}"/${PN}-5.0.20-gentoo.patch
# Change these with sed instead of a patch so that we can easily use
# the toolchain-funcs methods.
sed -i -e "/^CC/ s/=.*$/= '$(tc-getCC)'/" \
-e "/^CXX\s/ s/=.*$/= '$(tc-getCXX)'/" \
-e 's/PlatformInfo.debugging_cflags//' build/basics.rb || die
# Avoid fixed debugging CFLAGs.
sed -e '/debugging_cflags/areturn ""' -i src/ruby_supportlib/phusion_passenger/platform_info/compiler.rb || die
# Use sed here so that we can dynamically set the documentation directory.
sed -i -e "s:/usr/share/doc/passenger:/usr/share/doc/${P}:" \
-e "s:/usr/lib/apache2/modules/mod_passenger.so:${APACHE_MODULESDIR}/mod_passenger.so:" \
-e "s:/usr/lib/phusion-passenger/agents:/usr/libexec/phusion-passenger/agents:" \
src/ruby_supportlib/phusion_passenger.rb || die
sed -i -e "s:/usr/lib/phusion-passenger/agents:/usr/libexec/phusion-passenger/agents:" src/cxx_supportlib/ResourceLocator.h || die
# Don't install a tool that won't work in our setup.
sed -i -e '/passenger-install-apache2-module/d' src/ruby_supportlib/phusion_passenger/packaging.rb || die
rm -f bin/passenger-install-apache2-module || die "Unable to remove unneeded install script."
# Make sure we use the system-provided version where possible
rm -rf src/cxx_supportlib/vendor-copy/libuv || die "Unable to remove vendored code."
# Avoid building documentation to avoid a dependency on mizuho.
#sed -i -e 's/, :doc//' build/packaging.rb || die
touch doc/*.html || die
# Fix hard-coded use of AR
sed -i -e "s/ar cru/"$(tc-getAR)" cru/" build/cplusplus_support.rb || die
}
all_ruby_compile() {
V=1 EXTRA_LDFLAGS="${LDFLAGS}" \
APXS2="${APXS}" \
HTTPD="${APACHE_BIN}" \
FS_LIBDIR='/usr/'$(get_libdir) \
USE_VENDORED_LIBUV="no" LIBUV_LIBS="-luv" \
ruby -S rake apache2 || die "rake failed"
}
each_ruby_compile() {
append-flags -fno-strict-aliasing
V=1 EXTRA_LDFLAGS="${LDFLAGS}" \
APXS2="${APXS}" \
HTTPD="${APACHE_BIN}" \
FS_LIBDIR='/usr/'$(get_libdir) \
USE_VENDORED_LIBUV="no" LIBUV_LIBS="-luv" \
${RUBY} -S rake native_support || die "rake failed"
}
all_ruby_install() {
APACHE2_MOD_FILE="${S}/buildout/apache2/mod_${PN}.so"
apache-module_src_install
# Patch in the correct libdir
sed -i -e 's:/usr/lib/:/usr/'$(get_libdir)'/:' "${D}${APACHE_MODULES_CONFDIR}/30_mod_${PN}.conf" || die
dodoc CHANGELOG README.md
}
each_ruby_install() {
DISTDIR="${D}" \
RUBYLIBDIR="$(ruby_rbconfig_value vendordir)" \
RUBYARCHDIR="$(ruby_rbconfig_value archdir)" \
APXS2="${APXS}" \
HTTPD="${APACHE_BIN}" \
FS_LIBDIR='/usr/'$(get_libdir) \
EXTRA_LDFLAGS="${LDFLAGS}" \
USE_VENDORED_LIBUV="no" LIBUV_LIBS="-luv" \
${RUBY} -S rake fakeroot || die "rake failed"
}

@ -469,17 +469,19 @@ src_configure() {
fi
# Make sure the build system will use the right tools, bug #340795.
tc-export AR CC CXX RANLIB
tc-export AR CC CXX NM
# Tools for building programs to be executed on the build system, bug #410883.
export AR_host=$(tc-getBUILD_AR)
export CC_host=$(tc-getBUILD_CC)
export CXX_host=$(tc-getBUILD_CXX)
export LD_host=${CXX_host}
if tc-is-cross-compiler; then
export AR_host=$(tc-getBUILD_AR)
export CC_host=$(tc-getBUILD_CC)
export CXX_host=$(tc-getBUILD_CXX)
export NM_host=$(tc-getBUILD_NM)
fi
# Bug 491582.
export TMPDIR="${WORKDIR}/temp"
mkdir -m 755 "${TMPDIR}" || die
mkdir -p -m 755 "${TMPDIR}" || die
local build_ffmpeg_args=""
if use pic && [[ "${ffmpeg_target_arch}" == "ia32" ]]; then

@ -469,17 +469,19 @@ src_configure() {
fi
# Make sure the build system will use the right tools, bug #340795.
tc-export AR CC CXX RANLIB
tc-export AR CC CXX NM
# Tools for building programs to be executed on the build system, bug #410883.
export AR_host=$(tc-getBUILD_AR)
export CC_host=$(tc-getBUILD_CC)
export CXX_host=$(tc-getBUILD_CXX)
export LD_host=${CXX_host}
if tc-is-cross-compiler; then
export AR_host=$(tc-getBUILD_AR)
export CC_host=$(tc-getBUILD_CC)
export CXX_host=$(tc-getBUILD_CXX)
export NM_host=$(tc-getBUILD_NM)
fi
# Bug 491582.
export TMPDIR="${WORKDIR}/temp"
mkdir -m 755 "${TMPDIR}" || die
mkdir -p -m 755 "${TMPDIR}" || die
local build_ffmpeg_args=""
if use pic && [[ "${ffmpeg_target_arch}" == "ia32" ]]; then

@ -477,17 +477,19 @@ src_configure() {
fi
# Make sure the build system will use the right tools, bug #340795.
tc-export AR CC CXX RANLIB
tc-export AR CC CXX NM
# Tools for building programs to be executed on the build system, bug #410883.
export AR_host=$(tc-getBUILD_AR)
export CC_host=$(tc-getBUILD_CC)
export CXX_host=$(tc-getBUILD_CXX)
export LD_host=${CXX_host}
if tc-is-cross-compiler; then
export AR_host=$(tc-getBUILD_AR)
export CC_host=$(tc-getBUILD_CC)
export CXX_host=$(tc-getBUILD_CXX)
export NM_host=$(tc-getBUILD_NM)
fi
# Bug 491582.
export TMPDIR="${WORKDIR}/temp"
mkdir -m 755 "${TMPDIR}" || die
mkdir -p -m 755 "${TMPDIR}" || die
local build_ffmpeg_args=""
if use pic && [[ "${ffmpeg_target_arch}" == "ia32" ]]; then

Loading…
Cancel
Save