parent
eff47a765e
commit
f563a4dd45
@ -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
|
||||
}
|
@ -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
|
||||
|
@ -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
|
@ -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
|
@ -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
|
||||
|
@ -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
|
@ -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,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"
|
||||
}
|
@ -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
|
||||
}
|
@ -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
|
||||
}
|
@ -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"
|
||||
}
|
Loading…
Reference in new issue