parent
0f09e413f3
commit
5cdad437e3
Binary file not shown.
Binary file not shown.
@ -1,7 +1,4 @@
|
||||
DIST webalizer-2.23-05-RB29-patch.tar.gz 45853 BLAKE2B 0e5bbbb8d93e71d6f8101d3a54d53880a1c0e9f4f8d21333e8e7a45fa4a772800770396db8927265600c0657ef71c4ee11b19652548fc5cb6284b4fecfe1bed3 SHA512 967a5418e858adb5be8b64bac7edb52ac6eca8bce567269866f2ae7ac6e34c09d2d0ab1d7e7cfcbd92972cf5ea05ac2abaea2058e6fa9273e27cf10aacfb4759
|
||||
DIST webalizer-2.23-05-src.tar.bz2 308238 BLAKE2B 42aeb3650d912cbe0bfcb3894342e640359e57b094df9528696d4dd765b5d2f0c29450f99e6e9fb9d874438b707e83cc263715adf26faeee9d72403f5f97493f SHA512 4840c2ba25e34d5e276c724c311d2c2d7a0223dcbf6dec567960f56bc4cdfe4f6a1e412e3fcab53395d6357377f4f8d2b3bcc4b23c46a3ec6a895813a681cd4b
|
||||
DIST webalizer-2.23-08-RB30-patch.tar.gz 45723 BLAKE2B 510e984121cc5109e442184010edb0e2fbb7bb9738297c0689acd32e55a1720bdf7bcea3a21cc73aa8ecd0b9d0a8b1a7b336227003dee5abfff9d5288a5250d7 SHA512 142674cb7de6e1833ed9bf7587d5d3b1fce64eb95b7448392d0e8ec6e89dcd69cdb6900b75db9c283b19e5423392f76565b5ad279748da656ed2061fb180c949
|
||||
DIST webalizer-2.23-08-src.tar.bz2 308090 BLAKE2B 84f56b8b6a7e2b382040649ca8c6b6b7b57de92a09922253473f6cf920a4dd10a2c268b926c0cdd4fcf029dbbe39d629eecbd74cc42f62c018a00c3cc86c4f7d SHA512 23fe6e3ef1c85aa527ffafef16c31c13ad8e1f9feb774557c07a5c8fd6c67986b98180ef16d6cebe62d59c5f7ca214b8292e94ce8f195fa0541de9c5438fb9bd
|
||||
DIST webalizer-geodb-20140201.tgz 733070 BLAKE2B fd97dfd14e2fcbc6c97d6cb423c922d6bf7504f156fb61fb11319094a4d2e25fd8fa2623f419b57d06ef0762a507799cfd750a5e3a86a143aa1afcc790942cae SHA512 c31bbf39ab2a27712f83e7c1cf4297bc26850ed72e68bb4b47233b062055cf26931e859cdbc70dfa7737e17a3c05d4858b4e9c9c3a0492b0b285f92c0f992223
|
||||
DIST webalizer-geodb-latest.tgz 639447 BLAKE2B a4a604f8ead42c403ce750c9f373e8ffc4a7510aab6cfd43b88f39b93f5636460860b72fcfcb9468a5a06739b830149878c948e5b3dd0748e14ee9cbfb2be9d4 SHA512 0f32d1249902e17f37cd0e7680004262bbe5b4a34a00d882319258c6aed80503e89ed192d8365731ab507fa54560082ae16c7023d0bc2232350709106be24117
|
||||
DIST webalizer.conf.gz 8986 BLAKE2B 6cee5f96c31a189bf7ce75ec845081d9a2f0e547362d415c84f78f1ddaa8e3ffd327517968037ac1606a485d9cba740054bb9851065d0ea03739b5558c7ef6f9 SHA512 ec7f815e0215116d72e6d93b471a4b86a1c152a8ebae7c374144cabeeb06750d3a39fde65faf069e9aeb133f27b0b4cdee16bed5442e7fbd4eb4f45a4f3cd84b
|
||||
|
@ -1,133 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# uses webapp.eclass to create directories with right permissions
|
||||
# probably slight overkill but works well
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit versionator eutils webapp db-use
|
||||
|
||||
WEBAPP_MANUAL_SLOT="yes"
|
||||
XTENDED_VER="RB29"
|
||||
XTENDED_URL="rb29"
|
||||
|
||||
MY_PV="$(get_version_component_range 1-2)-$(get_version_component_range 3)"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
DESCRIPTION="Webserver log file analyzer"
|
||||
HOMEPAGE="http://www.webalizer.org/"
|
||||
SRC_URI="ftp://ftp.mrunix.net/pub/webalizer/${MY_P}-src.tar.bz2
|
||||
xtended? ( http://patrickfrei.ch/webalizer/${XTENDED_URL}/${PN}-${MY_PV}-${XTENDED_VER}-patch.tar.gz )
|
||||
ftp://ftp.mrunix.net/pub/webalizer/webalizer-geodb-latest.tgz
|
||||
mirror://gentoo/${PN}.conf.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="alpha amd64 ~arm hppa ppc ppc64 ~sparc x86"
|
||||
IUSE="geoip nls xtended"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND=">=sys-libs/db-4.2
|
||||
>=sys-libs/zlib-1.1.4
|
||||
>=media-libs/libpng-1.2
|
||||
>=media-libs/gd-1.8.3[png]
|
||||
dev-libs/geoip"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
webapp_pkg_setup
|
||||
|
||||
# USE=nls has no real meaning if LINGUAS isn't set
|
||||
if use nls && [[ -z "${LINGUAS}" ]]; then
|
||||
ewarn "you must set LINGUAS in /etc/portage/make.conf"
|
||||
ewarn "if you want to USE=nls"
|
||||
die "please either set LINGUAS or do not use nls"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if use xtended; then
|
||||
epatch "${WORKDIR}"/${PN}-${MY_PV}-${XTENDED_VER}-patch
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# really dirty hack; necessary due to a really gross ./configure
|
||||
# basically, it just sets the natural language the program uses
|
||||
# unfortunatly, this program only allows for one lang, so only the first
|
||||
# entry in LINGUAS is used
|
||||
if use nls; then
|
||||
local longlang="$(grep ^${LINGUAS:0:2} "${FILESDIR}"/webalizer-language-list.txt)"
|
||||
local myconf="${myconf} --with-language=${longlang:3}"
|
||||
else
|
||||
local myconf="${myconf} --with-language=english"
|
||||
fi
|
||||
|
||||
econf --enable-dns \
|
||||
--with-db=$(db_includedir) \
|
||||
--with-dblib=$(db_libname) \
|
||||
${myconf} \
|
||||
$(use_enable geoip) \
|
||||
--with-geodb=/usr/share/webalizer/geodb \
|
||||
|| die "econf failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
dobin webalizer
|
||||
dosym webalizer /usr/bin/webazolver
|
||||
doman webalizer.1
|
||||
|
||||
insinto /etc
|
||||
doins "${WORKDIR}"/${PN}.conf
|
||||
dosed "s/apache/apache2/g" /etc/webalizer.conf
|
||||
|
||||
insinto /usr/share/webalizer/geodb
|
||||
doins "${WORKDIR}"/GeoDB.dat
|
||||
|
||||
dodoc CHANGES *README* INSTALL sample.conf "${FILESDIR}"/apache.webalizer
|
||||
|
||||
webapp_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "It is suggested that you restart apache before using webalizer"
|
||||
elog "You may want to review /etc/webalizer.conf and ensure that"
|
||||
elog "OutputDir is set correctly"
|
||||
elog
|
||||
elog "Then just type webalizer to generate your stats."
|
||||
elog "You can also use cron to generate them e.g. every day."
|
||||
elog "They can be accessed via http://localhost/webalizer"
|
||||
elog
|
||||
elog "A sample Apache config file has been installed into"
|
||||
elog "/usr/share/doc/${PF}/apache.webalizer"
|
||||
elog "Please edit and install it as necessary"
|
||||
elog
|
||||
|
||||
if [[ ${#LINGUAS} -gt 2 ]] && use nls; then
|
||||
ewarn
|
||||
ewarn "You have more than one language in LINGUAS"
|
||||
ewarn "Due to the limitations of this package, it was built"
|
||||
ewarn "only with ${LINGUAS:0:2} support. If this is not what"
|
||||
ewarn "you intended, please place the language you desire"
|
||||
ewarn "_first_ in the list of LINGUAS in /etc/portage/make.conf"
|
||||
ewarn
|
||||
fi
|
||||
|
||||
if use xtended; then
|
||||
ewarn
|
||||
ewarn "If you are upgrading webalizer from USE=-xtended to USE=xtended"
|
||||
ewarn "you will need to delete webalizer.current and process all previous"
|
||||
ewarn "days in the same month using 'webalizer /path/to/access_log.1'."
|
||||
ewarn "For more information about using XTENDED webalizer, see:"
|
||||
ewarn
|
||||
ewarn " http://www.patrickfrei.ch/webalizer/rb15/INSTALL"
|
||||
ewarn
|
||||
fi
|
||||
|
||||
webapp_pkg_postinst
|
||||
}
|
Binary file not shown.
@ -0,0 +1,12 @@
|
||||
--- ./CPP/7zip/Archive/7z/7zIn.cpp.orig 2016-11-21 01:42:29.460901230 +0000
|
||||
+++ ./CPP/7zip/Archive/7z/7zIn.cpp 2016-11-21 01:42:57.481197725 +0000
|
||||
@@ -1097,7 +1097,8 @@ HRESULT CInArchive::ReadAndDecodePackedS
|
||||
if (CrcCalc(data, unpackSize) != folders.FolderCRCs.Vals[i])
|
||||
ThrowIncorrect();
|
||||
}
|
||||
- HeadersSize += folders.PackPositions[folders.NumPackStreams];
|
||||
+ if (folders.PackPositions)
|
||||
+ HeadersSize += folders.PackPositions[folders.NumPackStreams];
|
||||
return S_OK;
|
||||
}
|
||||
|
@ -0,0 +1,164 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
WX_GTK_VER="3.0"
|
||||
|
||||
inherit toolchain-funcs wxwidgets
|
||||
|
||||
DESCRIPTION="Port of 7-Zip archiver for Unix"
|
||||
HOMEPAGE="http://p7zip.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}_src_all.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1 rar? ( unRAR )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
|
||||
IUSE="abi_x86_x32 doc kde +pch rar static wxwidgets"
|
||||
|
||||
REQUIRED_USE="kde? ( wxwidgets )"
|
||||
|
||||
RDEPEND="wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )"
|
||||
DEPEND="${RDEPEND}
|
||||
abi_x86_x32? ( >=dev-lang/yasm-1.2.0-r1 )
|
||||
amd64? ( dev-lang/yasm )
|
||||
x86? ( dev-lang/nasm )"
|
||||
|
||||
S=${WORKDIR}/${PN}_${PV}
|
||||
|
||||
DOCS=( ChangeLog README TODO )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-darwin.patch
|
||||
"${FILESDIR}"/CVE-2016-9296.patch
|
||||
"${FILESDIR}"/CVE-2017-17969.patch
|
||||
"${FILESDIR}"/CVE-2018-5996.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if ! use pch; then
|
||||
sed "s:PRE_COMPILED_HEADER=StdAfx.h.gch:PRE_COMPILED_HEADER=:g" -i makefile.* || die
|
||||
fi
|
||||
|
||||
sed \
|
||||
-e 's:-m32 ::g' \
|
||||
-e 's:-m64 ::g' \
|
||||
-e 's:-pipe::g' \
|
||||
-e '/ALLFLAGS/s:-s ::' \
|
||||
-e "/OPTFLAGS=/s:=.*:=${CXXFLAGS}:" \
|
||||
-i makefile* || die
|
||||
|
||||
# remove non-free RAR codec
|
||||
if use rar; then
|
||||
ewarn "Enabling nonfree RAR decompressor"
|
||||
else
|
||||
sed \
|
||||
-e '/Rar/d' \
|
||||
-e '/RAR/d' \
|
||||
-i makefile* CPP/7zip/Bundles/Format7zFree/makefile || die
|
||||
rm -rf CPP/7zip/Compress/Rar || die
|
||||
fi
|
||||
|
||||
if use abi_x86_x32; then
|
||||
sed -i -e "/^ASM=/s:amd64:x32:" makefile* || die
|
||||
cp -f makefile.linux_amd64_asm makefile.machine || die
|
||||
elif use amd64; then
|
||||
cp -f makefile.linux_amd64_asm makefile.machine || die
|
||||
elif use x86; then
|
||||
cp -f makefile.linux_x86_asm_gcc_4.X makefile.machine || die
|
||||
elif [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# Mac OS X needs this special makefile, because it has a non-GNU
|
||||
# linker, it doesn't matter so much for bitwidth, for it doesn't
|
||||
# do anything with it
|
||||
cp -f makefile.macosx_llvm_64bits makefile.machine
|
||||
# bundles have extension .bundle but don't die because USE=-rar
|
||||
# removes the Rar directory
|
||||
sed -i -e '/strcpy(name/s/\.so/.bundle/' \
|
||||
CPP/Windows/DLL.cpp || die
|
||||
sed -i -e '/^PROG=/s/\.so/.bundle/' \
|
||||
CPP/7zip/Bundles/Format7zFree/makefile.list \
|
||||
$(use rar && echo CPP/7zip/Compress/Rar/makefile.list) || die
|
||||
elif use x86-fbsd; then
|
||||
# FreeBSD needs this special makefile, because it hasn't -ldl
|
||||
sed -e 's/-lc_r/-pthread/' makefile.freebsd > makefile.machine
|
||||
fi
|
||||
|
||||
if use static; then
|
||||
sed -i -e '/^LOCAL_LIBS=/s/LOCAL_LIBS=/&-static /' makefile.machine || die
|
||||
fi
|
||||
|
||||
if use kde || use wxwidgets; then
|
||||
need-wxwidgets unicode
|
||||
einfo "Preparing dependency list"
|
||||
emake depend
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC=$(tc-getCC) CXX=$(tc-getCXX) all3
|
||||
if use kde || use wxwidgets; then
|
||||
emake CC=$(tc-getCC) CXX=$(tc-getCXX) -- 7zG
|
||||
# emake -- 7zFM
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test test_7z test_7zr
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# this wrappers can not be symlinks, p7zip should be called with full path
|
||||
make_wrapper 7zr "/usr/$(get_libdir)/${PN}/7zr"
|
||||
make_wrapper 7za "/usr/$(get_libdir)/${PN}/7za"
|
||||
make_wrapper 7z "/usr/$(get_libdir)/${PN}/7z"
|
||||
|
||||
if use kde || use wxwidgets; then
|
||||
make_wrapper 7zG "/usr/$(get_libdir)/${PN}/7zG"
|
||||
# make_wrapper 7zFM "/usr/$(get_libdir)/${PN}/7zFM"
|
||||
|
||||
# make_desktop_entry 7zFM "${PN} FM" ${PN} "GTK;Utility;Archiving;Compression"
|
||||
|
||||
dobin GUI/p7zipForFilemanager
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
# doexe bin/7z{G,FM}
|
||||
doexe bin/7zG
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
doins -r GUI/Lang
|
||||
doins -r DOC/MANUAL
|
||||
|
||||
insinto /usr/share/icons/hicolor/16x16/apps/
|
||||
newins GUI/p7zip_16_ok.png p7zip.png
|
||||
|
||||
if use kde; then
|
||||
rm GUI/kde4/p7zip_compress.desktop || die
|
||||
insinto /usr/share/kservices5/ServiceMenus
|
||||
doins GUI/kde4/*.desktop
|
||||
dodir /usr/share/kde4/services/ServiceMenus # drop these lines after konqueror:4/krusader:4 are gone
|
||||
for item in "${ED}"usr/share/kservices5/ServiceMenus/*.desktop; do
|
||||
item="$(basename ${item})"
|
||||
dosym "/usr/share/kservices5/ServiceMenus/${item}" "/usr/share/kde4/services/ServiceMenus/${item}"
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
dobin contrib/gzip-like_CLI_wrapper_for_7z/p7zip
|
||||
doman contrib/gzip-like_CLI_wrapper_for_7z/man1/p7zip.1
|
||||
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
doexe bin/7z bin/7za bin/7zr bin/7zCon.sfx
|
||||
doexe bin/*$(get_modname)
|
||||
if use rar; then
|
||||
exeinto /usr/$(get_libdir)/${PN}/Codecs/
|
||||
doexe bin/Codecs/*$(get_modname)
|
||||
fi
|
||||
|
||||
doman man1/7z.1 man1/7za.1 man1/7zr.1
|
||||
|
||||
if use doc; then
|
||||
dodoc DOC/*.txt
|
||||
dohtml -r DOC/MANUAL/*
|
||||
fi
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,21 +1,44 @@
|
||||
DIST es_ANY-0.7.oxt 1415886 BLAKE2B d7a74ba997abe1ffc2b59f6d8ffb12b652b2ce540f6e5ec8ac60e363a1e07e7b72bee030a24739a93626de45c700fddaec35d1112a20a33756717283d4ee892c SHA512 ea4e015bbaa86865537b0079b71160881abb78f651757aee784e032374f8cc96f2296b0f83081bd2543d35a246a2deca384ddd8a28a37f26b82d306b19ace3cd
|
||||
DIST es_ANY-2.3.oxt 1460673 BLAKE2B b7865fae1c555e99518e3f0f5b668742176cec6807753d50587edbd70aa0b88be3c70fd33f7fae0490827c084ef0e176bce41d71e982dc938aabc74aa327d683 SHA512 2131ec088aa4c46e4236b974f77f3a80299f816d3b493816b17eea5a4b7c7b5631efbb15fa3a2bec804db7e6723e02b5a894614c7966626662a5f778676dcb6c
|
||||
DIST es_AR-0.7.oxt 1437556 BLAKE2B a6f888d67c147f02c758c7c9f8949cfbcabcd03559b16bff0d409960adfca7f40527935dd106dd179f55efc65bf41713ebbb50fd330427e5313abf9424ef7941 SHA512 2c996a92cd3aba6edb979641025e45362d8079061423296430eaef113354f14defdfeb1e23c1d0b8a8157fdc914f07e7fde8c51560091a389e242a5b68552088
|
||||
DIST es_AR-2.3.oxt 1414045 BLAKE2B 52b898d26fc384a579147e0d20f34e0591ab7a4f13feb35a92cd070a9aa3f972f971ffd8025ea4a438570100300e163af4ed4cd80ff108ad1d31ec62089a1062 SHA512 c28217ebb49bd94b808787953440ab9702b3d46e0faa43e39f25e9dfbad915e4310be6fcaeb7ac16775bde5ea73641db79a53908dd11e9d16321c041afd4925f
|
||||
DIST es_BO-0.7.oxt 1435774 BLAKE2B c5907b14b157c1a48e29eb0d794112adf1578d73cd2bb7351164c793ab58da46387106b9a1b58be4024347701ba1c72f7b3fefa8ea3e2e984a06ebf2c309e26e SHA512 04549045546444c84f623552f6264d17ffe4cadd77f81b8e2828978f6172e275b203eb83aec1dfac17acbf3466cc3562d825071116de6af8c52510feaa7fc9de
|
||||
DIST es_BO-2.3.oxt 1411131 BLAKE2B 95510383e378a28d26bd4f58d479b1f419f6636e66f73562cb376b8422388b2c0a4c2cf8cc58f48d11dd55acf680498c9bbb0ac412bf3cf9ce9a63ddf8109ffe SHA512 ee15be0b8e96ffd2eff6c3adca60db9cf9e4a1eb9c6af3da29c3874283153b00c4c843313853c0bdcc277602fbb95c8d3e8abe15e25596e92804499e5f083590
|
||||
DIST es_CL-0.7.oxt 1436928 BLAKE2B ef1596c311a761cfb87c099ef54a88f89c3fcd755036268329bbc8d9d01de46c73d7890ccb376d3acbb2c838394c0f48cf8afe48811b8af95d4cf44855073f38 SHA512 13ff5459f83e06aba63e248fcd024aaa49afd38a65ff04ffca5a833e3f8a828cd3dde60629e8eb377ee6bdc86c5e686fa65867f2223b1f0861a9dc74fb020263
|
||||
DIST es_CL-2.3.oxt 1412287 BLAKE2B 14435cd7ae8700b0134c9e0b504c8fdb15c26a2f393167117294414243a98281f7d0620b719ab2fadfbb95bbc04fc618fc849b27de1a2010056e74207a2982b4 SHA512 824a38e7d508c1b3aafc7f9fd0173b9d752ec5edb9d07c40b2affca693a73f73aff5f816b45e901b67efd365dc34ed86e15af6c118173d8b1d5f39eb277d5bc2
|
||||
DIST es_CO-0.7.oxt 1437795 BLAKE2B 6da274fed6c1a272ae63b434698f2b9843428ece9edd9bef558489f5c88d8247e5b861b4933802a57fc10406b639c2559b024384702051eb1bd169c1c1c3879b SHA512 b071add498b9c60bb1db94dda7e2896ab109165d65142b4ac539e88434d9880b7b5d437769cc0475ce432f45b1832d648bed7925adc9cf4e678e183f5cdb5374
|
||||
DIST es_CO-2.3.oxt 1430059 BLAKE2B ff9999eb44326a53b16f02d3f63aa3bdd6f2df56f94dca6a3962a18b3161b889146746e6437cd39ce800314d78bfab41c6967dbcb837e17219490490371d9791 SHA512 3a709100eb6cb15b5f1bb20447372dbc67bd27536fd6515b9b1f35447d1b5bffdea0f0b9aee42ba43f81d5c4f5b5c857749ee86c60dd9590bd48df3c688a446a
|
||||
DIST es_CR-0.7.oxt 1434858 BLAKE2B 5e3c7e9d19da1fae59e7a2cafa55dc956ffb324e0447edc6ded94f3d304b1be72b3fe17ace1a586c0d364fa49ae4ec52ca16a27044e266db9ce9e0a0f0dd829e SHA512 1ed3dc04e5bf187fa2ed4a4f8326537760541ef38d60abc33d729961eeac75e206e7e50dfe3e85bf0053e42a7307779f2508a16b04df5e4ab2752091182b2a68
|
||||
DIST es_CR-2.3.oxt 1409988 BLAKE2B 8064c0c89b25cad263076bb307881c4ff13d694081c903c111f7312b0bef824c3687b0cbe6453f7c67977082c0f793379632d300dacea31b3d70deb63efa1772 SHA512 a6c2b65f0975e554dd35465113b21a0b3821ed51028c68f52b2a72ae6b2796e43b0e7f21b1aff7491186d614d1b997a9483371a93e3a77bf12bf81efaa5429cf
|
||||
DIST es_CU-0.7.oxt 1435506 BLAKE2B 0d23267162aad97ad8098c203c3946ae322f9eb15a99072874a138bf0aa06d751ab25eb69ab8c821214595dd9bb37b5a72179c61ac637e15dfca08e4dab3809c SHA512 b60fa3d092512e43610695b507e4e2c09065bf9a2c50971c9a8074bf93896e19d512847aab9190b2215da4481e514ce7fe23a851d27eafc24704bc7a3f4756a3
|
||||
DIST es_CU-2.3.oxt 1410740 BLAKE2B 73c6e7f3b80069e447d9d583df95f9269f8907674ac2011448e3699476810c70df80cad30360b2d64b7c71885bef3105e2f2dc7f6614c580f537a4258a7183ff SHA512 a6098f7521521e84373d143c423265e8c87e7e7b8ef328d16e4a9da40ef54b5417d19e86539753c541814cb040c7cffec07d7d020715b9f68409e3312a37f155
|
||||
DIST es_DO-0.7.oxt 1434782 BLAKE2B 225c30dfb78a1cae05aa50e157d9ea8a380310ed6b45ab2f5face2d1c466eac7af6ef88b00b501f5af138147a575a6044802bf25500838975c1ede4b5adf4054 SHA512 621be08835598664de6a6f1e865c1293ee62d0581d429bdc6675991838483d9bfd9be38d08cdbeab8d03ad7709f20dc2af38ad054718fd6e2b74913bfac1f5b6
|
||||
DIST es_DO-2.3.oxt 1409943 BLAKE2B 34b88b9202761f34d706a64c9243db2c8f29e63a8e7679319e60b77896a77df2ee292e7e123e738a266a5048934bf77b3e38d4ceeb2dd78bf4dcda7d6c6e69f8 SHA512 02bc65cd2d0cccf50bc3ef027356b759a6400531e809dda8d4bdb33e15b3b84d6a2274b6a38c0242c8c7e896a2b8515ca6607cdf2b09786140a9753867be952e
|
||||
DIST es_EC-0.7.oxt 1435564 BLAKE2B 7a8656255361a014324dc37fa9aa1e1336c207b3e0a28f88ce6b0064de0d3d8e98901c39ed9d5910f91c4c08a03b697fd7634a01b00f0b34cc7e2e8b6a314958 SHA512 30bf5b228ddc3afafd6e17e0ecaad10266f30bf1738a7d67472112bfb5f08cef29e681f63d3613a6fe71b0897b92a9bf9eafd90bf0d50f4f81697828fc6b00dc
|
||||
DIST es_EC-2.3.oxt 1410704 BLAKE2B 3cd523b8ea3a521aa0bd2bb585bfe6cc9447781c83f96ed20c807f1da1f9e7370606ac38acff8e24148799db6a666c1fd1b5edccd56d2e17c006cdb0537cc4a5 SHA512 5038d08e4b2f41d51a0deafd7948eb05de33b641e10fb1e7167badd823fa9dd7844c2e0617f0cf102f3818ef761fbae903b596f82d9576c288f33233f74e2362
|
||||
DIST es_ES-0.7.oxt 1438691 BLAKE2B fa0cb94cb3c36c024ca66e7d7314c21ca27d17b0d57241d44c7926c773a34c1b1809c540bfb3a71fe55e5f57c47700c024ead3205b43cff52de1e3cb88362ba5 SHA512 6eb23eac189d6e0586a69b2e68c6aadf5eeb6ed204d222a76bff955604c0d7f6c55fd5b195959a542357d943da73eb0390d60b38bb07eecf49e73df28f586f51
|
||||
DIST es_ES-2.3.oxt 1416213 BLAKE2B f68b9c18f40dab2b84a6bb2ac1f5d9d4b9c153cedc2b886423f86380c67c046908a4ae05e6a9e88ce669b92469c6b97bf3ec310855b3458e0929fc436fa70a95 SHA512 566f22be881024ff45b2a20b69ffb20abbe4fd144fbd18abfa292e17e0a2f73a18b7f0459a2f4ef8f50832b2ce6974830ffd7de5674378202124641978b8b5a8
|
||||
DIST es_GT-0.7.oxt 1434939 BLAKE2B 028397a1834a229ad1c888d03b6a6d700d2c8006a3c532c5be82cfd51d00aa1aaf06fc5091c90c2ab24cacbd21fbbbaa311ab7d4b46da844f25e0aea19ccdd4d SHA512 162e59309532e6cad7ad49866375970b3ad788a11ae6b63ac9c182da5aa50948139c0eb9f2e727909da4744a095099ab5bb18ee2f73b0e1c63921dad8dbca4ad
|
||||
DIST es_GT-2.3.oxt 1410064 BLAKE2B 7ff365cd68482578afd87ba6887279036bd9f7e434097cdf3dd9dbc04e1ee228c56894a527041bcee4d958f2ca734e3a67527bf68bfb6d2b651779d1efe864dd SHA512 1090e0ba07e026fdfce65fc4ad75fa4fb4c9ac13172a5acd94e4549b7347c482f0da0a180e7d057807c93170ac03e258e17d75e9b2455b3c6e2011aef6079c8b
|
||||
DIST es_HN-0.7.oxt 1435398 BLAKE2B eff8ce7278b6cd8b1306d3c777c4fbe988c31384e4bd31febc7941e0a2e1cdadb1838bc46477e275cf991825a2fa946b22cbd3ba53bbaf52755722479addeaae SHA512 3d8050c22d27a32b5ebc72862ed7066b3e58083c9cd6847824361d656ba4f8b122121509bfce303edf1b3b0a0e9cdd31671caac28662299879eb1cacc19d81b1
|
||||
DIST es_HN-2.3.oxt 1410551 BLAKE2B 2b62e149d8a73fb015b3e6d658796818409fe04d658b5c5081f45f89d054093cb4397fe3a0eb37d8847eecbe9832367b1807ce01ba523b4f7f5d6c702ac879c6 SHA512 4ba1f02228d436a4f4d907381841213ce3a42fadedd3cc916b665b506d1d112bb23aeb87f40147eaf619e919b9b06d58a8aead018edd3bb73593fc429bb07e02
|
||||
DIST es_MX-0.7.oxt 1435177 BLAKE2B b10c5d40dd3913b42b170adf38abd9cb10860610e395768191701c3754c42b8fd5df2bf8b52c69c172fe384d19df3fd7d2439c972d1fcfcc65ec5fb82c69b367 SHA512 6e560d630da72f627c0f5a603adc9bacb102edc106c9bd7ca831c7b4c808441cbf73eaa3f75c5953b89548d071a97e81fa57d5b2542e0be6c6d993d74b09020e
|
||||
DIST es_MX-2.3.oxt 1421023 BLAKE2B fc1c7fda66f66189af3098f36faf6b8f5e313931ee5d490be83c580bc7707fd0022bcec361707795071d262a4cdfe6eecdb2742d7baa5d2fd43fd9dba6b09b51 SHA512 10716a744e9889bc3baaad6163c1dad06e6756dbea95166866834480b562c0fa5abce01bd2d5e4b05f19e522e1726e073dd7afef3a9d8e6bfc0d2f4b28bd0a2c
|
||||
DIST es_NI-0.7.oxt 1435054 BLAKE2B b58bcabb0c5c033e6f5f9c27c69ffeaebc5dff0984fb447b273cf88cc93799807b48ab07f9a901815cca497fec8870de5c0ccebf1091ea264fbf6edb63d0bbe8 SHA512 e86e0748a04ed3ce74f4309764d08063c0e01b9f1568f1de7e08bd8c22cd2d0ba6a3dea3afa272d2d697644bed8e0fa19c7d7940fa87393de30fcdaee095e483
|
||||
DIST es_NI-2.3.oxt 1410217 BLAKE2B ed401084f3a025abcd812a6022786682f91e2cd02a34ee37af0313703eb3d634506f5300f9b50b44004b95ad6d5906f593b21322ae6b5239143acbd0855e0927 SHA512 598896a853d81d1424e4927df634ca0e40c0e774a62e0f29bc1105d63fc586362c10ccc26a5f3becbc134a7b041272670bf971ea5bedb121f37cda5c7ace56c8
|
||||
DIST es_PA-0.7.oxt 1434970 BLAKE2B d87cdf1db1dce6c1a23acf9c2fb37f1053393755940c0f379b9ac56bd3f1f4abf070f66042fb43c2f96773afd9e07376d9706a6fb4cd2dd2f2432bc8ff60814d SHA512 172898dbe6a9b6ebe767797e08952af50fa0148059f215f4662c215b0df1b6333dec6d81bd3c629a538a96cfc571ed4ad1337d6a9e6d7bb941ad0a609a8cf588
|
||||
DIST es_PA-2.3.oxt 1410102 BLAKE2B 59fd0f5d657a2b3bfc6e9b878ed2b75b8929998d6f1b2d050273e0a2847e80bcf055ac4800975441bef225dfc556e7eced368f3d69ca9619e5bed42078d70cd7 SHA512 d54856ddd5a7af78813f4fd15f49e790682a2fb699557dcdfafd4cc94ea1794b0d641eed7dbcac4c2f9360ae673f5c51654f0240bd9e9ea7260ce84819f85526
|
||||
DIST es_PE-0.7.oxt 1434282 BLAKE2B 824243d8351192a4c50c4d1729d9bc927adcb618376665e5ed00977e6079002db9f88f72fd3d74b80a2b2f2f07ea7ae605676b42e28efa6b4e91a42c5e98505f SHA512 60ad75c363fb3e5612bf8b423975aedd32b7738073e0e863c42de3be7d22bf3a050d3d09a5a8a6a65ad8e36fd7a516f1c6c3775f9ad76696657d9eb8a4e2336e
|
||||
DIST es_PE-2.3.oxt 1417405 BLAKE2B 4cc5894c8cb199fa08c7f46ef3a5505a64b79e27d004be1bee7119207732aaed5fd965ae1bb5e5d7c2044f0cc2bcaf417a889b973f7f202e9c296f113232f64f SHA512 f76cc2fa18cb509bead6a5fb27bdb9007e54806ed8d130568b33154ede14150dede81248ee46476d4bcbefc349c78d566dc15e7c58a7c12d7ccf0a1ac18fcdad
|
||||
DIST es_PH-2.3.oxt 1442511 BLAKE2B 718441cac52cdfa979bd65f5acfbecdd488d1e89b9002b89ccb6ac0c9bfd25a6f483fc29d3d413afb949e7a74d53859d66471b0b5f945cd0563cc6f941f7e25d SHA512 d041cb89e89b9509150fedcbc39a317ce0a42ac72811e689f73879c76db264573899fb40c16c314374911b167c1f47c573ff97ac83bc88c659377f81bba511ee
|
||||
DIST es_PR-0.7.oxt 1435436 BLAKE2B 1f9af2c0f24dca0ac94d256438210b9ba6a21000469b0a88d4077c977b049303b08cd26744a765af9f8b1e48104cd995a4cec5d69bbfa7be7e9c74147626e695 SHA512 002767cd23709a3b2dd2a2616642fbb1b1d674a21507ee21c830741e04234fc32b0fd6a8b762c24183d44d9f7a233c8304b580ff3d96b7c87b10f43393e3a604
|
||||
DIST es_PR-2.3.oxt 1410569 BLAKE2B 1c673d5602a5347529dab58562a00c96e4a4c7fd02f2cfbad50ef2cb4bab35f7121a030264a9db46dafe9faa6f8de23c9feaacacca576dc4575d9ff734e2bbfd SHA512 92e6d9f16bd63696d64b8ce214c3fc19721ad3a17b2b5f82a2bf38c5ca42f42a62d9c0a06e1668e5ee7ab076781ae794e9a9abd40a564d36faae367d0adf28ef
|
||||
DIST es_PY-0.7.oxt 1434869 BLAKE2B 88da4c119a88b7a0455075da6a0a972354a303c2ff86e91cd71da0a21cea12961554ea2da72aea71c72dc3dc7dc1dd45c7a1b089a86067ca1c4693a7b579403a SHA512 10d785338250506ebf8bf3a8cbb79413c817e4e25f9153b4b8af9c0a7a422079d5d2bb9411e4989ceb7503d0a65ce926352af242bfa0a3de9c23e3dc6ef889c0
|
||||
DIST es_PY-2.3.oxt 1409970 BLAKE2B ed133f59c0a50b7aa4ffb0dca3942e6f0b4917e65428933f831b15d5ebefc3a1fca3317b85da84c5f6d99f9868071060ec1bed237709560d0d5853f2fe4df02f SHA512 885af32d996aa88dcf2848b3edbd13043c6542cff78c0ed8bb52f764b73843f11abc6572a87890c69ec42a5a5baf8c20c131a080d8d7df6e9327d02cbbe38a33
|
||||
DIST es_SV-0.7.oxt 1435063 BLAKE2B 031f65260cae0d74cb1d7e6cf922a6134ebdb0a85f91633f3e37a4fc523a04ef49931a1267f39068e5ee2748c501f73b9c17d5d0edd20f0f881d04642973a1e7 SHA512 30baf8e0191b10f107914728f09c5d193264932f4a78ad7cf8ad55bad9e80ae9cc42802ea69e4b5cbd5ea5871a8fb45c04728b29d51e2d4f24a9e4c1f1a62d57
|
||||
DIST es_SV-2.3.oxt 1410203 BLAKE2B 1cf9d6715136b9a509a0ebce7be157b792446c4132b62b657cd3b5fffb1a227231794e9e802a8e0ea3e22c80f6e3dbb79fb25a01f818744f338bc04fef224979 SHA512 56c3ecbac7c2a5b9b8b6b848060a094934badc335d0f832f04b1b9a0ad262b2de5c75e1c05a05520f3a7b44791045635df3499d9fa37f812a2d7adc54321336f
|
||||
DIST es_US-2.3.oxt 1411395 BLAKE2B 350c53e62a49eee1b7c3c465ef4c7d7e1f846c524ce0e0e55244f3fd9be88fca50d0ff9a67db0959af074fb6e0fc4e596587063fcc16652a16ad13efd9b93be4 SHA512 eaae90c940c3c76616bd57a52f1c8f7d61be46bb4a54732befd06d292ecf99d6844f6ae02fea214647a9fb7f83c7ce12062608214c67a284ac07155c979c0093
|
||||
DIST es_UY-0.7.oxt 1435883 BLAKE2B 3880e74f3184887c5b73b10188e8bbad87501d9001a066b27e64fc5dde877b68d25eca5fcac9a16ad331bcc890633bc19b0e91f5c2576b13081c1212eef89102 SHA512 ed0cfb3c8d097e4c56f92e239c6f27e1e794baa2ab4b81fe6eaa03dce00716c303d8d3bff20e163723c8a885029b9ae3f9e10d232d5c94f344b1a36261b86f1e
|
||||
DIST es_UY-2.3.oxt 1411016 BLAKE2B 51dc5d52b13ea15432669c7bc518ecea0e9c26df0245449c8f17e9a4b3d5b4b14c87052827fc96c7780b21f6597c08c36551316d705d84dfaf90d7ec4c7aadbb SHA512 a6f19361afb5bea47ba823c69ad57577f311ba78c7e43dcc3216aece1e7baf84a8b4490f13c582d5b1f1f3fdb16b48850d1d7adc882f2d3b5b39af65caf86ac7
|
||||
DIST es_VE-0.7.oxt 1435033 BLAKE2B 4b0c3bf2d0b4aed3db2d2cd2a895692a9e3ffec16d0f91795f2f8f462f22783bd4240359670ce0f0e35383d0b0ff1f78c3be130134604de6c9b3515f63b599ca SHA512 e70ab6b64931dd0f572625564295844d471e68d0e6d38dba5e2c27646d5caf416a412f179e31ac647ace9fcc673a40727abd1375c1edd69d80246b4888380969
|
||||
DIST es_VE-2.3.oxt 1411856 BLAKE2B d746113298bce3db8c8c4d4ee8caf369f809ef73971612fc207470ba1ebfc67521235e855fa6243d2b6850184f273723c7d83a0b8d22293c3abd9fb550826ff2 SHA512 4d10b818e4d00f60f07f9f64d519b02f549298cfb1da6a344504cd8953fb54793607c662ff2f0505dfa9924e1d1ba45c1ef6d2d6bc4cf2d37d3d1bef99078569
|
||||
|
@ -1,5 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<maintainer type="person">
|
||||
<email>boris2.9@gmail.com</email>
|
||||
<name>Boris Carvajal</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MUTATIONS=(
|
||||
"es_ANY" "es_AR" "es_BO" "es_CL" "es_CO" "es_CR" "es_CU" "es_DO" "es_EC"
|
||||
"es_ES" "es_GT" "es_HN" "es_MX" "es_NI" "es_PA" "es_PE" "es_PH" "es_PR"
|
||||
"es_PY" "es_SV" "es_US" "es_UY" "es_VE"
|
||||
)
|
||||
|
||||
MYSPELL_DICT=( )
|
||||
MYSPELL_HYPH=(
|
||||
"hyph_es_ANY.dic"
|
||||
)
|
||||
MYSPELL_THES=(
|
||||
"th_es_ES_v2.dat"
|
||||
"th_es_ES_v2.idx"
|
||||
)
|
||||
|
||||
SRC_URI=""
|
||||
for i in "${MUTATIONS[@]}"; do
|
||||
MYSPELL_DICT+=(
|
||||
"${i}.dic"
|
||||
"${i}.aff"
|
||||
)
|
||||
SRC_URI+=" https://github.com/sbosio/rla-es/releases/download/v${PV}/${i}.oxt -> ${i}-${PV}.oxt"
|
||||
done
|
||||
unset i MUTATIONS
|
||||
|
||||
inherit myspell-r2
|
||||
|
||||
DESCRIPTION="Spanish dictionaries for myspell/hunspell"
|
||||
HOMEPAGE="https://github.com/sbosio/rla-es"
|
||||
LICENSE="GPL-3 LGPL-3 MPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
# remove license files
|
||||
rm {GPL,LGPL,MPL}* || die
|
||||
default
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils linux-info
|
||||
|
||||
DESCRIPTION="ncurses interface for QEMU"
|
||||
HOMEPAGE="https://lib.void.so/nemu"
|
||||
SRC_URI="http://lib.void.so/src/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+vnc-client +ovf savevm debug"
|
||||
|
||||
RDEPEND="
|
||||
virtual/udev:=
|
||||
dev-db/sqlite:3=
|
||||
virtual/libusb:1
|
||||
app-emulation/qemu[vnc,virtfs]
|
||||
sys-libs/ncurses:0=[unicode]
|
||||
ovf? (
|
||||
dev-libs/libxml2
|
||||
app-arch/libarchive
|
||||
)
|
||||
vnc-client? ( net-misc/tigervnc )"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
sys-devel/gettext"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DNM_WITH_VNC_CLIENT=$(usex vnc-client)
|
||||
-DNM_DEBUG=$(usex debug)
|
||||
-DNM_SAVEVM_SNAPSHOTS=$(usex savevm)
|
||||
-DNM_WITH_OVF_SUPPORT=$(usex ovf)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
if use kernel_linux; then
|
||||
if ! linux_config_exists; then
|
||||
eerror "Unable to check your kernel"
|
||||
else
|
||||
CONFIG_CHECK="~VETH ~MACVTAP"
|
||||
ERROR_VETH="You will need the Virtual ethernet pair device driver compiled"
|
||||
ERROR_VETH+=" into your kernel or loaded as a module to use the"
|
||||
ERROR_VETH+=" local network settings feature."
|
||||
ERROR_MACVTAP="You will also need support for MAC-VLAN based tap driver."
|
||||
|
||||
check_extra_config
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "For non-root usage execute script:"
|
||||
elog "/usr/share/nemu/scripts/setup_nemu_nonroot.sh linux <username>"
|
||||
elog "and add udev rule:"
|
||||
elog "cp /usr/share/nemu/scripts/42-net-macvtap-perm.rules /lib/udev/rules.d"
|
||||
if use savevm; then
|
||||
elog ""
|
||||
elog "QEMU must be patched with qemu-qmp-savevm-VERSION.patch"
|
||||
elog "Get this patch from nEMU repository"
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST eselect-repository-2.tar.gz 5441 BLAKE2B 28608b7e5d06747afea4ef28b0f45ac97dcea0310201d857f1248e7fc586a331fce01c9017df83c332cbfb55b51b52a45361e06db8a7d4b788a70f63eb4c83d8 SHA512 7667053b7d06117f49366d7bb6ad39b1b0715c778e49e18649ce38b364e58c0c31f4fa077a459374c52d3bb7f550002a4368cbb7fc14fd9961815bb1355c1f61
|
||||
DIST eselect-repository-3.tar.gz 5448 BLAKE2B 36a079f2a876709a2cc045e0c113f44f9feaa491c49d3773eb3e123ee7e7a7ffa2ad05060ffa62ac39ff8091a64ff995ea948f3c784ffbb7d8ddca5e468364d3 SHA512 ac3396a6d14fcc7d4df1f9b058bc3025875707f3febdf4d1e03122445d0e6273759b8a66443525c94daaf19f91b411c469aabc0e0082cd53980886a91f38a062
|
||||
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{3_4,3_5,3_6} )
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="Manage repos.conf via eselect"
|
||||
HOMEPAGE="https://github.com/mgorny/eselect-repository"
|
||||
SRC_URI="https://github.com/mgorny/eselect-repository/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
app-admin/eselect
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
net-misc/wget"
|
||||
|
||||
src_compile() {
|
||||
MAKEARGS=(
|
||||
PREFIX="${EPREFIX}/usr"
|
||||
SYSCONFDIR="${EPREFIX}/etc"
|
||||
SHAREDSTATEDIR="${EPREFIX}/var"
|
||||
ESELECTDIR="${EPREFIX}/usr/share/eselect/modules"
|
||||
)
|
||||
|
||||
emake "${MAKEARGS[@]}"
|
||||
python_fix_shebang eselect-repo-helper
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake "${MAKEARGS[@]}" DESTDIR="${D}" install
|
||||
keepdir /var/db/repos
|
||||
einstalldocs
|
||||
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST man-PL28-06-2007.tar.gz 3436680 BLAKE2B 2f86479fa37ddf8653b3b5252485df10384c7204e7c4642ea8cda7f61d203edd5d1a473d183c1e27064ff6cadd314a546b78c63ec9f57d8f5b94875f0e259333 SHA512 cc5de191b5dc7963018db8c2e7094b8e4e6db0dc0afefaa3a36e73a0bc70a3889d68ce78c4a900862dc5590a00bf57a3897050ed25c45d2f6f33765858cc4c8b
|
||||
DIST manpages-pl-0.6.tar.bz2 3513993 BLAKE2B 3447da36b9f49b726286575d858ce74043c6a4d3954ed0329dd06a5ba796c873dc7fcfb6f905998c4b1776eeb5f5f5069236d97b4429a0d75786703857a8f0b5 SHA512 ff1841ae4e1d01af46f6f3e28ad1543d3f46ce9580665a9b4a538e96e87f77ec5b36ad26c7dc38ac816dd3c864643d47e0f809c8382e56d0c1418209849eeffa
|
||||
DIST manpages-pl-0.7.tar.bz2 3791061 BLAKE2B 81809280c78ecafc67c59a5353a589c119fe6b590c9d655dae4accb5247a178df9f3f186822834f3426b0d41ed9ab83f335204eb654acf2cf5a472dd7ca4cafb SHA512 79293e1bbfbaed5f97e63cb86fc1b445ea960fdee96567899ba9f6836d4188e0d80d4788180c29fdca3d358359b6fd3768c195857657819534942ece2c43694b
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MY_PKG=manpages-pl-${PV}
|
||||
|
||||
DESCRIPTION="A collection of Polish translations of Linux manual pages"
|
||||
HOMEPAGE="https://sourceforge.net/projects/manpages-pl/"
|
||||
SRC_URI="mirror://sourceforge/manpages-pl/${MY_PKG}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
|
||||
DOCS=( AUTHORS README )
|
||||
|
||||
S="${WORKDIR}/${MY_PKG}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
#mans provided by other packages
|
||||
rm generated/man1/groups.1 po/man1/groups.1.po || die "Failed to clean up duplicates from build directory!"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" COMPRESSOR=:
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST nnn-1.6.tar.gz 37456 BLAKE2B 90a6bcf7123b763585a05d5898ecee129561fa11dddbc40125f536b96315e4847b6187615df2bb6e0262d3df5efeec83d6681092ed69e4b65cd5486cf396e7e6 SHA512 7172f37f98f15b37cd2959c5ad144d32f55cde9cd2fe3221fc7a23887d3326da924c9be0bdc61a01a4d98ceb9b03de2420a66cc2cbf94a2ae1547da206e4c49a
|
||||
DIST nnn-1.8.tar.gz 42534 BLAKE2B acf1f9e211ddf688da96c77364f8eb2d12c853fa528774f2a3f8fa146203b155df089f6a3c995f0415d5349e9bb0c519cd0776c77094a83c23ecfe45561c846d SHA512 dfa3fc20cc9d77dc6a998913d79c1f98467f9e0f475d43317fe5b3b7c85f04a8aa1508305307873115ff810f5e212272e8348af9d8bd5283f48ad76ed34cad55
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit bash-completion-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="The missing terminal file browser for X"
|
||||
HOMEPAGE="https://github.com/jarun/nnn"
|
||||
SRC_URI="https://github.com/jarun/nnn/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="bash-completion fish-completion zsh-completion"
|
||||
|
||||
DEPEND="sys-libs/ncurses:0=
|
||||
sys-libs/readline:0="
|
||||
RDEPEND="${DEPEND}
|
||||
fish-completion? ( app-shells/fish )
|
||||
zsh-completion? ( app-shells/zsh )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
tc-export CC
|
||||
sed -i -e '/strip/d' Makefile || die "sed failed"
|
||||
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake PREFIX="/usr" DESTDIR="${D}" install
|
||||
|
||||
use bash-completion &&
|
||||
newbashcomp scripts/auto-completion/bash/nnn-completion.bash nnn
|
||||
|
||||
if use fish-completion; then
|
||||
insinto /usr/share/fish/completions
|
||||
doins scripts/auto-completion/fish/nnn.fish
|
||||
fi
|
||||
|
||||
if use zsh-completion; then
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins scripts/auto-completion/zsh/_nnn
|
||||
fi
|
||||
|
||||
einstalldocs
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="copy files/directories in a curses interface"
|
||||
HOMEPAGE="http://members.iinet.net.au/~lynx/vcp/"
|
||||
SRC_URI="http://members.iinet.net.au/~lynx/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ~sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="sys-libs/ncurses"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i Makefile -e '/-o vcp/s|$(CFLAGS)|& $(LDFLAGS)|' || die "sed Makefile"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
filter-lfs-flags
|
||||
emake CC="$(tc-getCC)" || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin vcp || die "dobin failed"
|
||||
doman vcp.1 || die "doman failed"
|
||||
insinto /etc
|
||||
newins vcp.conf.sample vcp.conf || die "newins failed"
|
||||
dodoc Changelog README INSTALL || die "dodoc failed"
|
||||
}
|
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST kexi-3.0.2.tar.xz 3676556 BLAKE2B 2d1d08904c4459362d7e0d2f79bd9ae0dce2bf11c18e6a9c3a68276bbd8c2fa67075c5d0739f7ecbb853802791df8676b76b0900eda396b62d0e09cb7f3a2107 SHA512 ef1da2e4a7b9d1f80200feb111f5dcedf8e3422e797bba4ac45744cb4b2f948cf3190aa0d126d0a3bb2bfb88f8fa112919e3dbb191bfcedd03e8e4512d1cf74e
|
||||
DIST kexi-3.1.0.tar.xz 3028492 BLAKE2B 8af7105ba570af225e7e2cbea2ab15d0c6e4997414c321654691af1329930754bea8a52c3ce5abb246c6a47e17473c462b9212eab8ef30fc23e4691f2ab8c9b2 SHA512 538b8b2c021bababb59a05cd477aa4414df76f84a9ae88244afe6f3dc29751257bfee2586279ee8ee7800d939702c3a81f71562039a6f97132f2cba4e9018118
|
||||
|
@ -1,81 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
# KDE_HANDBOOK="true"
|
||||
KDE_TEST="forceoptional"
|
||||
inherit kde5
|
||||
|
||||
DESCRIPTION="Visual database applications creator"
|
||||
HOMEPAGE="https://www.kde.org/applications/office/kexi/ http://www.kexi-project.org/"
|
||||
[[ ${KDE_BUILD_TYPE} != live ]] && SRC_URI="mirror://kde/stable/${PN}/src/${P}.tar.xz"
|
||||
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="marble mdb mysql postgres sqlite webkit"
|
||||
|
||||
COMMON_DEPEND="
|
||||
$(add_frameworks_dep karchive)
|
||||
$(add_frameworks_dep kcodecs)
|
||||
$(add_frameworks_dep kcompletion)
|
||||
$(add_frameworks_dep kconfig)
|
||||
$(add_frameworks_dep kconfigwidgets)
|
||||
$(add_frameworks_dep kcoreaddons)
|
||||
$(add_frameworks_dep kcrash)
|
||||
$(add_frameworks_dep kguiaddons)
|
||||
$(add_frameworks_dep ki18n)
|
||||
$(add_frameworks_dep kiconthemes)
|
||||
$(add_frameworks_dep kio)
|
||||
$(add_frameworks_dep kitemviews)
|
||||
$(add_frameworks_dep ktexteditor)
|
||||
$(add_frameworks_dep ktextwidgets)
|
||||
$(add_frameworks_dep kwidgetsaddons)
|
||||
$(add_frameworks_dep kxmlgui)
|
||||
$(add_qt_dep designer)
|
||||
$(add_qt_dep qtgui)
|
||||
$(add_qt_dep qtnetwork)
|
||||
$(add_qt_dep qtprintsupport)
|
||||
$(add_qt_dep qtwidgets)
|
||||
$(add_qt_dep qtxml)
|
||||
>=dev-db/kdb-3.0.2[mysql?,postgres?,sqlite?]
|
||||
dev-libs/kproperty
|
||||
dev-libs/kreport
|
||||
marble? ( $(add_kdeapps_dep marble) )
|
||||
mdb? (
|
||||
dev-libs/glib:2
|
||||
virtual/libiconv
|
||||
)
|
||||
mysql? ( virtual/libmysqlclient )
|
||||
postgres? (
|
||||
dev-db/postgresql:*
|
||||
dev-libs/libpqxx
|
||||
)
|
||||
webkit? ( $(add_qt_dep qtwebkit) )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
sys-devel/gettext
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
$(add_frameworks_dep breeze-icons-rcc)
|
||||
!app-office/calligra:4[calligra_features_kexi]
|
||||
!app-office/calligra-l10n:4[calligra_features_kexi(+)]
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
if ! use webkit; then
|
||||
punt_bogus_dep Qt5 WebKit
|
||||
punt_bogus_dep Qt5 WebKitWidgets
|
||||
fi
|
||||
|
||||
kde5_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_find_package marble KexiMarble)
|
||||
$(cmake-utils_use_find_package mdb GLIB2)
|
||||
$(cmake-utils_use_find_package mysql MySQL)
|
||||
$(cmake-utils_use_find_package postgres KexiPostgreSQL)
|
||||
)
|
||||
kde5_src_configure
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST skrooge-2.12.0.tar.xz 20289828 BLAKE2B 999f100fffca3b8fff5e343b1137fc51e337428cdbd89f7e5eb72811e3e5e1522cc257e6be83aad57cf4ec66fefd061b685d94caaadcc27182f32da13d57014f SHA512 348262a7e86f6b3f9fa028fea324eeb73c96e03a77d16774ae9f4b554c1893aca7a002bcf3160d4055cfe8aaceeb76a364e71e7f605382cfe1a801eca1ca874f
|
||||
DIST skrooge-2.13.0.tar.xz 20432856 BLAKE2B 5e5ace28f0a3d0f60decb8bcb63fde3d9ed5dc79103ce8d2f4bad2be33b3e4896f19aac4954668bee194362b3b860f0e585e902ed54563b0a82ee36ab41263a7 SHA512 7c5543a4c26953c89a1a67b653bdf5fa7f4baa14d96e763d868f27b288a0f9d7d4bc2994436a4e749d4fd7db999c16b6fcee69817be0774c6e171e49d69e30ba
|
||||
|
@ -0,0 +1,96 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
KDE_TEST="forceoptional"
|
||||
VIRTUALX_REQUIRED="test"
|
||||
inherit kde5
|
||||
|
||||
DESCRIPTION="Personal finances manager, aiming at being simple and intuitive"
|
||||
HOMEPAGE="https://skrooge.org/"
|
||||
[[ ${PV} == 9999 ]] || SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="activities designer kde ofx"
|
||||
|
||||
COMMON_DEPEND="
|
||||
$(add_frameworks_dep karchive)
|
||||
$(add_frameworks_dep kcompletion)
|
||||
$(add_frameworks_dep kconfig)
|
||||
$(add_frameworks_dep kconfigwidgets)
|
||||
$(add_frameworks_dep kcoreaddons)
|
||||
$(add_frameworks_dep kdbusaddons)
|
||||
$(add_frameworks_dep ki18n)
|
||||
$(add_frameworks_dep kiconthemes)
|
||||
$(add_frameworks_dep kio)
|
||||
$(add_frameworks_dep kitemviews)
|
||||
$(add_frameworks_dep knewstuff)
|
||||
$(add_frameworks_dep knotifications)
|
||||
$(add_frameworks_dep knotifyconfig)
|
||||
$(add_frameworks_dep kparts)
|
||||
$(add_frameworks_dep kservice)
|
||||
$(add_frameworks_dep ktextwidgets)
|
||||
$(add_frameworks_dep kwallet)
|
||||
$(add_frameworks_dep kwidgetsaddons)
|
||||
$(add_frameworks_dep kxmlgui)
|
||||
$(add_qt_dep qtconcurrent)
|
||||
$(add_qt_dep qtdbus)
|
||||
$(add_qt_dep qtdeclarative 'widgets')
|
||||
$(add_qt_dep qtgui)
|
||||
$(add_qt_dep qtnetwork)
|
||||
$(add_qt_dep qtprintsupport)
|
||||
$(add_qt_dep qtscript)
|
||||
$(add_qt_dep qtsql)
|
||||
$(add_qt_dep qtsvg)
|
||||
$(add_qt_dep qtwebkit)
|
||||
$(add_qt_dep qtwidgets)
|
||||
$(add_qt_dep qtxml)
|
||||
app-crypt/qca:2[qt5(+)]
|
||||
dev-db/sqlcipher
|
||||
dev-libs/grantlee:5
|
||||
activities? ( $(add_frameworks_dep kactivities) )
|
||||
kde? ( $(add_frameworks_dep krunner) )
|
||||
ofx? ( dev-libs/libofx )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
$(add_frameworks_dep kguiaddons)
|
||||
$(add_frameworks_dep kjobwidgets)
|
||||
$(add_frameworks_dep kwindowsystem)
|
||||
dev-libs/libxslt
|
||||
virtual/pkgconfig
|
||||
x11-misc/shared-mime-info
|
||||
designer? (
|
||||
$(add_frameworks_dep kdesignerplugin)
|
||||
$(add_qt_dep designer)
|
||||
)
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!app-office/skrooge:4
|
||||
"
|
||||
|
||||
REQUIRED_USE="test? ( designer )"
|
||||
|
||||
# hangs + installs files
|
||||
RESTRICT+=" test"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DSKG_BUILD_TEST=$(usex test)
|
||||
-DSKG_DESIGNER=$(usex designer)
|
||||
$(cmake-utils_use_find_package activities KF5Activities)
|
||||
$(cmake-utils_use_find_package kde KF5Runner)
|
||||
$(cmake-utils_use_find_package ofx LibOfx)
|
||||
)
|
||||
|
||||
kde5_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local mycmakeargs=(
|
||||
-DSKG_BUILD_TEST=ON
|
||||
)
|
||||
kde5_src_test
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST gentoopm-0.2.9.tar.bz2 24652 BLAKE2B 1046d4cc5dca19d2cc72e8d8d54cd0d2172164aa5594666c89a4dde9dbd994654d07982a2381fa09038b29ebb011bdd410f60ac3c340bdbf533bcfc29f4c4796 SHA512 e7d1daa811eb6c0877c2bec98b72bce61380802fe704f271a4df6383506d62ba661eb83ac9afd432627e2f10bf38840796768a565b80b6489563cfc54ed81ae7
|
||||
DIST gentoopm-0.3.0.tar.gz 37614 BLAKE2B c848c08677c4ac5ab0fdc1499045ae418048ec35d4ef925d1fe09ab4b68ec90e4f6843511efc29184883f3b3582bd3de519212bea1997736378b01bdc13ebd14 SHA512 e2a82f37b9a42688b6dd7023accdbf537780069deb6ca6ec6d9e159baf774af17e2a405c9eb40105b73b165f1c8c2ccde3ed685e04a61c9cd6665d1677da61d3
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A common interface to Gentoo package managers"
|
||||
HOMEPAGE="https://github.com/mgorny/gentoopm/"
|
||||
SRC_URI="https://github.com/mgorny/gentoopm/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~mips ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
|| (
|
||||
>=sys-apps/pkgcore-0.9.4[${PYTHON_USEDEP}]
|
||||
>=sys-apps/portage-2.1.10.3[${PYTHON_USEDEP}]
|
||||
sys-apps/portage-mgorny[${PYTHON_USEDEP}]
|
||||
>=sys-apps/paludis-3.0.0_pre20170219[python,${PYTHON_USEDEP}] )"
|
||||
PDEPEND="app-eselect/eselect-package-manager"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST unsandbox-2.tar.gz 891 BLAKE2B 7daabf3f5ae0bdd1fcbc9c61a098c6752a84f7e1ea9053ff4317760a6140d84bae541b802f738d1c11316c336ed67ebdd1d802ca4af467a4558fe14a940967e8 SHA512 d669a7119e397434219c7a86a5d10caeb0099fed841a3264ba09ed45c206621baf3f98104d3b6ff8239a79306177d6ebe0305ab67ab472e739f722e1823ab2c6
|
@ -1,15 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="The Sandbox escapist tool"
|
||||
HOMEPAGE="https://github.com/mgorny/unsandbox"
|
||||
SRC_URI="https://github.com/mgorny/unsandbox/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
IUSE=""
|
Binary file not shown.
@ -0,0 +1,16 @@
|
||||
https://bugs.gentoo.org/655320
|
||||
https://patchwork.kernel.org/patch/10382199/
|
||||
|
||||
--- dash-0.5.10/src/jobs.c
|
||||
+++ dash-0.5.10/src/jobs.c
|
||||
@@ -975,8 +975,8 @@
|
||||
int st;
|
||||
|
||||
TRACE(("waitforjob(%%%d) called\n", jp ? jobno(jp) : 0));
|
||||
- while ((jp && jp->state == JOBRUNNING) || gotsigchld)
|
||||
- dowait(DOWAIT_BLOCK, jp);
|
||||
+ while (jp ? jp->state == JOBRUNNING : gotsigchld)
|
||||
+ dowait(jp ? DOWAIT_BLOCK : DOWAIT_NORMAL, jp);
|
||||
if (!jp)
|
||||
return exitstatus;
|
||||
st = getstatus(jp);
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
MY_PV=v${PV}
|
||||
CHECKREQS_MEMORY="2G"
|
||||
|
||||
inherit check-reqs toolchain-funcs user
|
||||
|
||||
DESCRIPTION="open source database for building cloud services"
|
||||
HOMEPAGE="https://www.cockroachlabs.com"
|
||||
SRC_URI="https://binaries.cockroachdb.com/cockroach-${MY_PV}.src.tgz"
|
||||
|
||||
LICENSE="Cockroach Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=app-arch/xz-utils-5.2.3
|
||||
>=dev-lang/go-1.8.3
|
||||
>=dev-util/cmake-3.8.1"
|
||||
|
||||
S="${WORKDIR}/cockroach-${MY_PV}"
|
||||
|
||||
QA_EXECSTACK="usr/bin/cockroach"
|
||||
|
||||
pkg_pretend() {
|
||||
check-reqs_pkg_pretend
|
||||
if [[ ${MERGE_TYPE} != binary && $(gcc-major-version) -lt 6 ]]; then
|
||||
eerror "Cockroach cannot be built with this version of gcc."
|
||||
eerror "You need at least gcc-6.0"
|
||||
die "Your C compiler is too old for this package."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
check-reqs_pkg_setup
|
||||
enewgroup cockroach
|
||||
enewuser cockroach -1 /bin/sh /var/lib/cockroach cockroach
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# workaround for https://github.com/cockroachdb/cockroach/issues/20596
|
||||
unset CMAKE_MODULE_PATH
|
||||
emake build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin src/github.com/cockroachdb/cockroach/cockroach
|
||||
insinto /etc/security/limits.d
|
||||
newins "${FILESDIR}"/cockroach-limits.conf cockroach.conf
|
||||
newconfd "${FILESDIR}"/cockroach.confd-1.0 cockroach
|
||||
newinitd "${FILESDIR}"/cockroach.initd-1.0.1 cockroach
|
||||
keepdir /var/log/cockroach
|
||||
fowners cockroach:cockroach /var/log/cockroach
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
ewarn "The default setup is for the first node of an insecure"
|
||||
ewarn "cluster that only listens on localhost."
|
||||
ewarn "Please read the cockroach manual at the following url"
|
||||
ewarn "and configure /etc/conf.d/cockroach correctly if you"
|
||||
ewarn "plan to use it in production."
|
||||
ewarn
|
||||
ewarn "http://cockroachlabs.com/docs"
|
||||
fi
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST kdb-3.0.2.tar.xz 478576 BLAKE2B 66982ddae77eeca4238de5045729c049ab41a86471d896f8199af58c9ce6a88abffa1b65975b3e138579bb244e18095e95ddddd11c7c79008f18cbffa63a2076 SHA512 e2fcc09d9477b707bc5af23d23ebfedd21ee7445b0de8fa160969795eb608d712d74572618334fcef4aa06095fa69ce9861542851f5609e83287b23ef01fae90
|
||||
DIST kdb-3.1.0.tar.xz 543780 BLAKE2B d874765758e245fc939bf88312b064d2dcff3460b2c9e968277e0ce7b8821314273cb3086e821645f9d7605de1a4268e25d11c40f8bf847a8dc98c410bd4d9eb SHA512 f94f1ff87cb5133570f7e9b0ab48202a516eabe1c3f2ed750cd1794800d9b9936bbd62e1479ca6877c293f6473b7f4e2d4a144b928b5bc0f228af327131b43c2
|
||||
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit kde5 python-any-r1
|
||||
|
||||
DESCRIPTION="Database connectivity and creation framework for various vendors"
|
||||
[[ ${KDE_BUILD_TYPE} != live ]] && SRC_URI="mirror://kde/stable/${PN}/src/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2+"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="mysql postgres sqlite"
|
||||
|
||||
RDEPEND="
|
||||
$(add_frameworks_dep kcoreaddons)
|
||||
$(add_qt_dep qtgui)
|
||||
$(add_qt_dep qtwidgets)
|
||||
$(add_qt_dep qtxml)
|
||||
dev-libs/icu:=
|
||||
mysql? ( virtual/mysql )
|
||||
postgres? (
|
||||
$(add_qt_dep qtnetwork)
|
||||
dev-db/postgresql:*
|
||||
)
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
dev-qt/linguist-tools:5
|
||||
"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_find_package mysql MySQL)
|
||||
$(cmake-utils_use_find_package postgres PostgreSQL)
|
||||
$(cmake-utils_use_find_package sqlite Sqlite)
|
||||
)
|
||||
|
||||
kde5_src_configure
|
||||
}
|
@ -0,0 +1,210 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
MY_EXTRAS_VER="20170926-1321Z"
|
||||
SUBSLOT="18"
|
||||
MYSQL_PV_MAJOR="5.6"
|
||||
|
||||
JAVA_PKG_OPT_USE="jdbc"
|
||||
|
||||
inherit toolchain-funcs java-pkg-opt-2 mysql-multilib-r1
|
||||
|
||||
HOMEPAGE="http://mariadb.org/"
|
||||
DESCRIPTION="An enhanced, drop-in replacement for MySQL"
|
||||
|
||||
IUSE="bindist jdbc odbc oqgraph pam sphinx tokudb xml"
|
||||
RESTRICT="!bindist? ( bindist )"
|
||||
|
||||
REQUIRED_USE="jdbc? ( extraengine server !static ) server? ( tokudb? ( jemalloc !tcmalloc ) ) static? ( !pam )"
|
||||
|
||||
# REMEMBER: also update eclass/mysql*.eclass before committing!
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
|
||||
MY_PATCH_DIR="${WORKDIR}/mysql-extras-${MY_EXTRAS_VER}"
|
||||
PATCHES=(
|
||||
"${MY_PATCH_DIR}/01050_all_mariadb_mysql_config_cleanup-5.5.41.patch"
|
||||
"${MY_PATCH_DIR}/20006_all_cmake_elib-mariadb-10.0.33.patch"
|
||||
"${MY_PATCH_DIR}/20009_all_mariadb_myodbc_symbol_fix-5.5.38.patch"
|
||||
"${MY_PATCH_DIR}/20018_all_mariadb-10.0.20-without-clientlibs-tools.patch"
|
||||
)
|
||||
COMMON_DEPEND="
|
||||
!bindist? ( >=sys-libs/readline-4.1:0= )
|
||||
server? (
|
||||
extraengine? (
|
||||
odbc? ( dev-db/unixODBC:0= )
|
||||
xml? ( dev-libs/libxml2:2= )
|
||||
sys-libs/zlib[minizip]
|
||||
)
|
||||
oqgraph? ( >=dev-libs/boost-1.40.0:0= dev-libs/judy:0= )
|
||||
pam? ( virtual/pam:0= )
|
||||
tokudb? ( app-arch/snappy )
|
||||
)
|
||||
>=dev-libs/libpcre-8.41-r1:3=[${MULTILIB_USEDEP}]
|
||||
openssl? ( !>=dev-libs/openssl-1.1 )
|
||||
"
|
||||
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
|
||||
server? ( extraengine? ( jdbc? ( >=virtual/jdk-1.6 ) ) )
|
||||
${COMMON_DEPEND}"
|
||||
RDEPEND="${RDEPEND} ${COMMON_DEPEND}
|
||||
perl? ( !dev-db/mytop
|
||||
virtual/perl-Getopt-Long
|
||||
dev-perl/TermReadKey
|
||||
virtual/perl-Term-ANSIColor
|
||||
virtual/perl-Time-HiRes )
|
||||
server? ( extraengine? ( jdbc? ( >=virtual/jre-1.6 ) ) )
|
||||
"
|
||||
MULTILIB_WRAPPED_HEADERS+=( /usr/include/mysql/mysql_version.h
|
||||
/usr/include/mysql/private/probes_mysql_nodtrace.h
|
||||
/usr/include/mysql/private/probes_mysql_dtrace.h )
|
||||
|
||||
pkg_setup() {
|
||||
java-pkg-opt-2_pkg_setup
|
||||
mysql-multilib-r1_pkg_setup
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
java-pkg-opt-2_pkg_preinst
|
||||
mysql-multilib-r1_pkg_preinst
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
java-pkg-opt-2_src_prepare
|
||||
mysql-multilib-r1_src_prepare
|
||||
}
|
||||
|
||||
src_configure(){
|
||||
# bug 508724 mariadb cannot use ld.gold
|
||||
tc-ld-disable-gold
|
||||
local MYSQL_CMAKE_NATIVE_DEFINES=(
|
||||
-DWITH_JEMALLOC=$(usex jemalloc system)
|
||||
-DWITH_PCRE=system
|
||||
)
|
||||
if use server ; then
|
||||
# Federated{,X} must be treated special otherwise they will not be built as plugins
|
||||
if ! use extraengine ; then
|
||||
MYSQL_CMAKE_NATIVE_DEFINES+=(
|
||||
-DWITHOUT_FEDERATED=1
|
||||
-DWITHOUT_FEDERATEDX=1 )
|
||||
fi
|
||||
|
||||
# Connect with Zip is currently broken and does not compile
|
||||
# Reported upstream https://jira.mariadb.org/browse/MDEV-11809
|
||||
|
||||
MYSQL_CMAKE_NATIVE_DEFINES+=(
|
||||
$(mysql-cmake_use_plugin oqgraph OQGRAPH)
|
||||
$(mysql-cmake_use_plugin sphinx SPHINX)
|
||||
$(mysql-cmake_use_plugin tokudb TOKUDB)
|
||||
$(mysql-cmake_use_plugin pam AUTH_PAM)
|
||||
$(mysql-cmake_use_plugin extraengine SEQUENCE)
|
||||
$(mysql-cmake_use_plugin extraengine SPIDER)
|
||||
$(mysql-cmake_use_plugin extraengine CONNECT)
|
||||
-DCONNECT_WITH_LIBXML2=$(usex xml)
|
||||
-DCONNECT_WITH_ODBC=$(usex odbc)
|
||||
-DCONNECT_WITH_JDBC=$(usex jdbc)
|
||||
-DWITHOUT_MROONGA=1
|
||||
)
|
||||
fi
|
||||
mysql-multilib-r1_src_configure
|
||||
}
|
||||
|
||||
# Official test instructions:
|
||||
# USE='extraengine perl server openssl static-libs' \
|
||||
# FEATURES='test userpriv -usersandbox' \
|
||||
# ebuild mariadb-X.X.XX.ebuild \
|
||||
# digest clean package
|
||||
multilib_src_test() {
|
||||
|
||||
if ! multilib_is_native_abi ; then
|
||||
einfo "Server tests not available on non-native abi".
|
||||
return 0;
|
||||
fi
|
||||
|
||||
local TESTDIR="${BUILD_DIR}/mysql-test"
|
||||
local retstatus_unit
|
||||
local retstatus_tests
|
||||
|
||||
if use server ; then
|
||||
|
||||
# Bug #213475 - MySQL _will_ object strenously if your machine is named
|
||||
# localhost. Also causes weird failures.
|
||||
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
|
||||
|
||||
if [[ $UID -eq 0 ]]; then
|
||||
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
|
||||
fi
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
addpredict /this-dir-does-not-exist/t9.MYI
|
||||
|
||||
# Run CTest (test-units)
|
||||
cmake-utils_src_test
|
||||
retstatus_unit=$?
|
||||
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
|
||||
|
||||
# Ensure that parallel runs don't die
|
||||
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
|
||||
# Enable parallel testing, auto will try to detect number of cores
|
||||
# You may set this by hand.
|
||||
# The default maximum is 8 unless MTR_MAX_PARALLEL is increased
|
||||
export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
|
||||
|
||||
# create directories because mysqladmin might run out of order
|
||||
mkdir -p "${T}"/var-tests{,/log}
|
||||
|
||||
# These are failing in MariaDB 10.0 for now and are believed to be
|
||||
# false positives:
|
||||
#
|
||||
# main.information_schema, binlog.binlog_statement_insert_delayed,
|
||||
# main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql,
|
||||
# funcs_1.is_columns_mysql main.bootstrap
|
||||
# fails due to USE=-latin1 / utf8 default
|
||||
#
|
||||
# main.mysql_client_test, main.mysql_client_test_nonblock
|
||||
# main.mysql_client_test_comp:
|
||||
# segfaults at random under Portage only, suspect resource limits.
|
||||
#
|
||||
# archive.mysqlhotcopy_archive main.mysqlhotcopy_myisam
|
||||
# fails due to bad cleanup of previous tests when run in parallel
|
||||
# The tool is deprecated anyway
|
||||
# Bug 532288
|
||||
|
||||
#main.bootstrap \
|
||||
for t in connect.drop-open-error ; do
|
||||
# main.mysql_client_test_comp \
|
||||
# binlog.binlog_statement_insert_delayed main.information_schema \
|
||||
# main.mysqld--help \
|
||||
# archive.mysqlhotcopy_archive main.mysqlhotcopy_myisam \
|
||||
# funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do
|
||||
mysql-multilib-r1_disable_test "$t" "False positives in Gentoo"
|
||||
done
|
||||
|
||||
# Run mysql tests
|
||||
pushd "${TESTDIR}" || die
|
||||
|
||||
# run mysql-test tests
|
||||
perl mysql-test-run.pl --force --vardir="${T}/var-tests" --reorder
|
||||
|
||||
retstatus_tests=$?
|
||||
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
popd || die
|
||||
|
||||
# Cleanup is important for these testcases.
|
||||
pkill -9 -f "${S}/ndb" 2>/dev/null
|
||||
pkill -9 -f "${S}/sql" 2>/dev/null
|
||||
|
||||
failures=""
|
||||
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
|
||||
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
[[ -z "$failures" ]] || die "Test failures: $failures"
|
||||
einfo "Tests successfully completed"
|
||||
|
||||
else
|
||||
einfo "Skipping server tests due to minimal build."
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -0,0 +1,755 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
# to make make a crosscompiler use crossdev and symlink ghc tree into
|
||||
# cross overlay. result would look like 'cross-sparc-unknown-linux-gnu/ghc'
|
||||
export CBUILD=${CBUILD:-${CHOST}}
|
||||
export CTARGET=${CTARGET:-${CHOST}}
|
||||
if [[ ${CTARGET} = ${CHOST} ]] ; then
|
||||
if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
|
||||
export CTARGET=${CATEGORY/cross-}
|
||||
fi
|
||||
fi
|
||||
|
||||
inherit autotools bash-completion-r1 eutils flag-o-matic ghc-package
|
||||
inherit multilib pax-utils toolchain-funcs versionator prefix
|
||||
inherit check-reqs
|
||||
DESCRIPTION="The Glasgow Haskell Compiler"
|
||||
HOMEPAGE="http://www.haskell.org/ghc/"
|
||||
|
||||
# we don't have any binaries yet
|
||||
arch_binaries=""
|
||||
|
||||
# sorted!
|
||||
#arch_binaries="$arch_binaries alpha? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-alpha.tbz2 )"
|
||||
#arch_binaries="$arch_binaries arm? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-armv7a-hardfloat-linux-gnueabi.tbz2 )"
|
||||
#arch_binaries="$arch_binaries arm64? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-aarch64-unknown-linux-gnu.tbz2 )"
|
||||
arch_binaries="$arch_binaries amd64? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-x86_64-pc-linux-gnu.tbz2 )"
|
||||
#arch_binaries="$arch_binaries ia64? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-ia64-fixed-fiw.tbz2 )"
|
||||
#arch_binaries="$arch_binaries ppc? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-ppc.tbz2 )"
|
||||
#arch_binaries="$arch_binaries ppc64? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-ppc64.tbz2 )"
|
||||
#arch_binaries="$arch_binaries sparc? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-sparc.tbz2 )"
|
||||
arch_binaries="$arch_binaries x86? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-i686-pc-linux-gnu.tbz2 )"
|
||||
|
||||
# various ports:
|
||||
#arch_binaries="$arch_binaries x86-fbsd? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-x86-fbsd.tbz2 )"
|
||||
|
||||
# 0 - yet
|
||||
yet_binary() {
|
||||
case "${ARCH}" in
|
||||
#alpha) return 0 ;;
|
||||
#arm64) return 0 ;;
|
||||
#arm) return 0 ;;
|
||||
amd64) return 0 ;;
|
||||
#ia64) return 0 ;;
|
||||
#ppc) return 0 ;;
|
||||
#ppc64) return 0 ;;
|
||||
#sparc) return 0 ;;
|
||||
x86) return 0 ;;
|
||||
*) return 1 ;;
|
||||
esac
|
||||
}
|
||||
|
||||
GHC_PV=${PV}
|
||||
#GHC_PV=8.4.1.20180329 # uncomment only for -alpha, -beta, -rc ebuilds
|
||||
GHC_P=${PN}-${GHC_PV} # using ${P} is almost never correct
|
||||
|
||||
SRC_URI="!binary? ( http://downloads.haskell.org/~ghc/${PV/_/-}/${GHC_P}-src.tar.xz )"
|
||||
S="${WORKDIR}"/${GHC_P}
|
||||
|
||||
[[ -n $arch_binaries ]] && SRC_URI+=" !ghcbootstrap? ( $arch_binaries )"
|
||||
|
||||
BUMP_LIBRARIES=(
|
||||
# "hackage-name hackage-version"
|
||||
)
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
#KEYWORDS="~alpha ~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc ghcbootstrap ghcmakebinary +gmp profile"
|
||||
IUSE+=" binary"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/perl-5.6.1
|
||||
dev-libs/gmp:0=
|
||||
sys-libs/ncurses:0=[unicode]
|
||||
!ghcmakebinary? ( virtual/libffi:= )
|
||||
"
|
||||
|
||||
# This set of dependencies is needed to run
|
||||
# prebuilt ghc. We specifically avoid ncurses
|
||||
# dependency with:
|
||||
# utils/ghc-pkg_HC_OPTS += -DBOOTSTRAPPING
|
||||
PREBUILT_BINARY_DEPENDS="
|
||||
!prefix? ( elibc_glibc? ( >=sys-libs/glibc-2.17 ) )
|
||||
"
|
||||
# This set of dependencies is needed to install
|
||||
# ghc[binary] in system. terminfo package is linked
|
||||
# against ncurses.
|
||||
PREBUILT_BINARY_RDEPENDS="${PREBUILT_BINARY_DEPENDS}
|
||||
sys-libs/ncurses:0/6
|
||||
"
|
||||
|
||||
RDEPEND+="binary? ( ${PREBUILT_BINARY_RDEPENDS} )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-text/docbook-xml-dtd:4.2
|
||||
app-text/docbook-xml-dtd:4.5
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-python/sphinx
|
||||
>=dev-libs/libxslt-1.1.2 )
|
||||
!ghcbootstrap? ( ${PREBUILT_BINARY_DEPENDS} )"
|
||||
|
||||
PDEPEND="!ghcbootstrap? ( >=app-admin/haskell-updater-1.2 )"
|
||||
|
||||
REQUIRED_USE="?? ( ghcbootstrap binary )"
|
||||
|
||||
# haskell libraries built with cabal in configure mode, #515354
|
||||
QA_CONFIGURE_OPTIONS+=" --with-compiler --with-gcc"
|
||||
|
||||
is_crosscompile() {
|
||||
[[ ${CHOST} != ${CTARGET} ]]
|
||||
}
|
||||
|
||||
is_native() {
|
||||
[[ ${CHOST} == ${CBUILD} ]] && [[ ${CHOST} == ${CTARGET} ]]
|
||||
}
|
||||
|
||||
# returns tool prefix for crosscompiler.
|
||||
# Example:
|
||||
# CTARGET=armv7a-unknown-linux-gnueabi
|
||||
# CHOST=x86_64-pc-linux-gnu
|
||||
# "armv7a-unknown-linux-gnueabi-"
|
||||
# CTARGET=${CHOST}
|
||||
# ""
|
||||
# Used in tools and library prefix:
|
||||
# "${ED}"/usr/bin/$(cross)haddock
|
||||
# "${ED}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d"
|
||||
|
||||
cross() {
|
||||
if is_crosscompile; then
|
||||
echo "${CTARGET}-"
|
||||
else
|
||||
echo ""
|
||||
fi
|
||||
}
|
||||
|
||||
append-ghc-cflags() {
|
||||
local persistent compile assemble link
|
||||
local flag ghcflag
|
||||
|
||||
for flag in $*; do
|
||||
case ${flag} in
|
||||
persistent) persistent="yes";;
|
||||
compile) compile="yes";;
|
||||
assemble) assemble="yes";;
|
||||
link) link="yes";;
|
||||
*)
|
||||
[[ ${compile} ]] && ghcflag="-optc${flag}" CFLAGS+=" ${flag}" && GHC_FLAGS+=" ${ghcflag}" &&
|
||||
[[ ${persistent} ]] && GHC_PERSISTENT_FLAGS+=" ${ghcflag}"
|
||||
[[ ${assemble} ]] && ghcflag="-opta${flag}" CFLAGS+=" ${flag}" && GHC_FLAGS+=" ${ghcflag}" &&
|
||||
[[ ${persistent} ]] && GHC_PERSISTENT_FLAGS+=" ${ghcflag}"
|
||||
[[ ${link} ]] && ghcflag="-optl${flag}" LDFLAGS+=" ${flag}" && GHC_FLAGS+=" ${ghcflag}" &&
|
||||
[[ ${persistent} ]] && GHC_PERSISTENT_FLAGS+=" ${ghcflag}"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
|
||||
# $1 - lib name (under libraries/)
|
||||
# $2 - lib version
|
||||
# example: bump_lib "transformers" "0.4.2.0"
|
||||
bump_lib() {
|
||||
local pn=$1 pv=$2
|
||||
local p=${pn}-${pv}
|
||||
local f
|
||||
|
||||
einfo "Bumping ${pn} up to ${pv}"
|
||||
|
||||
for f in ghc.mk GNUmakefile; do
|
||||
mv libraries/"${pn}"/$f "${WORKDIR}"/"${p}"/$f || die
|
||||
done
|
||||
mv libraries/"${pn}" "${WORKDIR}"/"${pn}".old || die
|
||||
mv "${WORKDIR}"/"${p}" libraries/"${pn}" || die
|
||||
}
|
||||
|
||||
update_SRC_URI() {
|
||||
local p pn pv
|
||||
for p in "${BUMP_LIBRARIES[@]}"; do
|
||||
set -- $p
|
||||
pn=$1 pv=$2
|
||||
|
||||
SRC_URI+=" mirror://hackage/package/${pn}/${pn}-${pv}.tar.gz"
|
||||
done
|
||||
}
|
||||
|
||||
update_SRC_URI
|
||||
|
||||
bump_libs() {
|
||||
local p pn pv
|
||||
for p in "${BUMP_LIBRARIES[@]}"; do
|
||||
set -- $p
|
||||
pn=$1 pv=$2
|
||||
|
||||
bump_lib "${pn}" "${pv}"
|
||||
done
|
||||
}
|
||||
|
||||
ghc_setup_cflags() {
|
||||
# TODO: plumb CFLAGS and BUILD_CFLAGS to respective CONF_CC_OPTS_STAGE<N>
|
||||
if ! is_native; then
|
||||
export CFLAGS=${GHC_CFLAGS-"-O2 -pipe"}
|
||||
export LDFLAGS=${GHC_LDFLAGS-"-Wl,-O1"}
|
||||
einfo "Crosscompiling mode:"
|
||||
einfo " CHOST: ${CHOST}"
|
||||
einfo " CTARGET: ${CTARGET}"
|
||||
einfo " CFLAGS: ${CFLAGS}"
|
||||
einfo " LDFLAGS: ${LDFLAGS}"
|
||||
einfo " prefix: $(cross)"
|
||||
return
|
||||
fi
|
||||
# We need to be very careful with the CFLAGS we ask ghc to pass through to
|
||||
# gcc. There are plenty of flags which will make gcc produce output that
|
||||
# breaks ghc in various ways. The main ones we want to pass through are
|
||||
# -mcpu / -march flags. These are important for arches like alpha & sparc.
|
||||
# We also use these CFLAGS for building the C parts of ghc, ie the rts.
|
||||
strip-flags
|
||||
strip-unsupported-flags
|
||||
|
||||
# Cmm can't parse line numbers #482086
|
||||
replace-flags -ggdb[3-9] -ggdb2
|
||||
|
||||
GHC_FLAGS=""
|
||||
GHC_PERSISTENT_FLAGS=""
|
||||
for flag in ${CFLAGS}; do
|
||||
case ${flag} in
|
||||
|
||||
# Ignore extra optimisation (ghc passes -O to gcc anyway)
|
||||
# -O2 and above break on too many systems
|
||||
-O*) ;;
|
||||
|
||||
# Arch and ABI flags are what we're really after
|
||||
-m*) append-ghc-cflags compile assemble ${flag};;
|
||||
|
||||
# Sometimes it's handy to see backtrace of RTS
|
||||
# to get an idea what happens there
|
||||
-g*) append-ghc-cflags compile ${flag};;
|
||||
|
||||
# Ignore all other flags, including all -f* flags
|
||||
esac
|
||||
done
|
||||
|
||||
for flag in ${LDFLAGS}; do
|
||||
append-ghc-cflags link ${flag}
|
||||
done
|
||||
|
||||
# GHC uses ${CBUILD}-gcc, ${CHOST}-gcc and ${CTARGET}-gcc at a single build.
|
||||
# Skip any gentoo-specific tweaks for cross-case to avoid passing unsupported
|
||||
# options to gcc.
|
||||
if is_native; then
|
||||
# hardened-gcc needs to be disabled, because our prebuilt binaries/libraries
|
||||
# are not built with fPIC, bug #606666
|
||||
gcc-specs-pie && append-ghc-cflags persistent compile link -nopie
|
||||
tc-is-gcc && version_is_at_least 6.3 $(gcc-version) && if ! use ghcbootstrap; then
|
||||
# gcc-6.3 has support for -no-pie upstream, but spelling differs from
|
||||
# gentoo-specific '-nopie'. We enable it in non-bootstrap to allow
|
||||
# hardened users try '-pie' in USE=ghcbootstrap mode.
|
||||
append-ghc-cflags compile link -no-pie
|
||||
fi
|
||||
|
||||
# prevent from failing to build unregisterised ghc:
|
||||
# http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg171602.html
|
||||
use ppc64 && append-ghc-cflags persistent compile -mminimal-toc
|
||||
fi
|
||||
}
|
||||
|
||||
# substitutes string $1 to $2 in files $3 $4 ...
|
||||
relocate_path() {
|
||||
local from=$1
|
||||
local to=$2
|
||||
shift 2
|
||||
local file=
|
||||
for file in "$@"
|
||||
do
|
||||
sed -i -e "s|$from|$to|g" \
|
||||
"$file" || die "path relocation failed for '$file'"
|
||||
done
|
||||
}
|
||||
|
||||
# changes hardcoded ghc paths and updates package index
|
||||
# $1 - new absolute root path
|
||||
relocate_ghc() {
|
||||
local to=$1
|
||||
|
||||
# libdir for prebuilt binary and for current system may mismatch
|
||||
# It does for prefix installation for example: bug #476998
|
||||
local bin_ghc_prefix=${WORKDIR}/usr
|
||||
local bin_libpath=$(echo "${bin_ghc_prefix}"/lib*)
|
||||
local bin_libdir=${bin_libpath#${bin_ghc_prefix}/}
|
||||
|
||||
# backup original script to use it later after relocation
|
||||
local gp_back="${T}/ghc-pkg-${GHC_PV}-orig"
|
||||
cp "${WORKDIR}/usr/bin/ghc-pkg-${GHC_PV}" "$gp_back" || die "unable to backup ghc-pkg wrapper"
|
||||
|
||||
if [[ ${bin_libdir} != $(get_libdir) ]]; then
|
||||
einfo "Relocating '${bin_libdir}' to '$(get_libdir)' (bug #476998)"
|
||||
# moving the dir itself is not strictly needed
|
||||
# but then USE=binary would result in installing
|
||||
# in '${bin_libdir}'
|
||||
mv "${bin_ghc_prefix}/${bin_libdir}" "${bin_ghc_prefix}/$(get_libdir)" || die
|
||||
|
||||
relocate_path "/usr/${bin_libdir}" "/usr/$(get_libdir)" \
|
||||
"${WORKDIR}/usr/bin/ghc-${GHC_PV}" \
|
||||
"${WORKDIR}/usr/bin/ghci-${GHC_PV}" \
|
||||
"${WORKDIR}/usr/bin/ghc-pkg-${GHC_PV}" \
|
||||
"${WORKDIR}/usr/bin/hsc2hs" \
|
||||
"${WORKDIR}/usr/bin/runghc-${GHC_PV}" \
|
||||
"$gp_back" \
|
||||
"${WORKDIR}/usr/$(get_libdir)/${GHC_P}/package.conf.d/"*
|
||||
fi
|
||||
|
||||
# Relocate from /usr to ${EPREFIX}/usr
|
||||
relocate_path "/usr" "${to}/usr" \
|
||||
"${WORKDIR}/usr/bin/ghc-${GHC_PV}" \
|
||||
"${WORKDIR}/usr/bin/ghci-${GHC_PV}" \
|
||||
"${WORKDIR}/usr/bin/ghc-pkg-${GHC_PV}" \
|
||||
"${WORKDIR}/usr/bin/hsc2hs" \
|
||||
"${WORKDIR}/usr/bin/runghc-${GHC_PV}" \
|
||||
"${WORKDIR}/usr/$(get_libdir)/${GHC_P}/package.conf.d/"*
|
||||
|
||||
# this one we will use to regenerate cache
|
||||
# so it should point to current tree location
|
||||
relocate_path "/usr" "${WORKDIR}/usr" "$gp_back"
|
||||
|
||||
if use prefix; then
|
||||
hprefixify "${bin_libpath}"/${PN}*/settings
|
||||
fi
|
||||
|
||||
# regenerate the binary package cache
|
||||
"$gp_back" recache || die "failed to update cache after relocation"
|
||||
rm "$gp_back"
|
||||
}
|
||||
|
||||
ghc-check-reqs() {
|
||||
# These are pessimistic values (slightly bigger than worst-case)
|
||||
# Worst case is UNREG USE=profile ia64. See bug #611866 for some
|
||||
# numbers on various arches.
|
||||
CHECKREQS_DISK_BUILD=8G
|
||||
CHECKREQS_DISK_USR=2G
|
||||
# USE=binary roughly takes
|
||||
use binary && CHECKREQS_DISK_BUILD=4G
|
||||
|
||||
"$@"
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
ghc-check-reqs check-reqs_pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
ghc-check-reqs check-reqs_pkg_setup
|
||||
|
||||
# quiet portage about prebuilt binaries
|
||||
use binary && QA_PREBUILT="*"
|
||||
|
||||
[[ ${MERGE_TYPE} == binary ]] && return
|
||||
|
||||
if use ghcbootstrap; then
|
||||
ewarn "You requested ghc bootstrapping, this is usually only used"
|
||||
ewarn "by Gentoo developers to make binary .tbz2 packages."
|
||||
|
||||
[[ -z $(type -P ghc) ]] && \
|
||||
die "Could not find a ghc to bootstrap with."
|
||||
else
|
||||
if ! yet_binary; then
|
||||
eerror "Please try emerging with USE=ghcbootstrap and report build"
|
||||
eerror "sucess or failure to the haskell team (haskell@gentoo.org)"
|
||||
die "No binary available for '${ARCH}' arch yet, USE=ghcbootstrap"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
# Create the ${S} dir if we're using the binary version
|
||||
use binary && mkdir "${S}"
|
||||
|
||||
# the Solaris and Darwin binaries from ghc (maeder) need to be
|
||||
# unpacked separately, so prevent them from being unpacked
|
||||
local ONLYA=${A}
|
||||
case ${CHOST} in
|
||||
*-darwin* | *-solaris*) ONLYA=${GHC_P}-src.tar.xz ;;
|
||||
esac
|
||||
unpack ${ONLYA}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
ghc_setup_cflags
|
||||
|
||||
if ! use ghcbootstrap && [[ ${CHOST} != *-darwin* && ${CHOST} != *-solaris* ]]; then
|
||||
# Modify the wrapper script from the binary tarball to use GHC_PERSISTENT_FLAGS.
|
||||
# See bug #313635.
|
||||
sed -i -e "s|\"\$topdir\"|\"\$topdir\" ${GHC_PERSISTENT_FLAGS}|" \
|
||||
"${WORKDIR}/usr/bin/ghc-${GHC_PV}"
|
||||
|
||||
# allow hardened users use vanilla binary to bootstrap ghc
|
||||
# ghci uses mmap with rwx protection at it implements dynamic
|
||||
# linking on it's own (bug #299709)
|
||||
pax-mark -m "${WORKDIR}/usr/$(get_libdir)/${GHC_P}/bin/ghc"
|
||||
fi
|
||||
|
||||
if use binary; then
|
||||
if use prefix; then
|
||||
relocate_ghc "${EPREFIX}"
|
||||
fi
|
||||
|
||||
# Move unpacked files to the expected place
|
||||
mv "${WORKDIR}/usr" "${S}"
|
||||
eapply_user
|
||||
else
|
||||
if ! use ghcbootstrap; then
|
||||
case ${CHOST} in
|
||||
*-darwin* | *-solaris*)
|
||||
# UPDATE ME for ghc-7
|
||||
mkdir "${WORKDIR}"/ghc-bin-installer || die
|
||||
pushd "${WORKDIR}"/ghc-bin-installer > /dev/null || die
|
||||
use sparc-solaris && unpack ghc-6.10.4-sparc-sun-solaris2.tar.bz2
|
||||
use x86-solaris && unpack ghc-7.0.3-i386-unknown-solaris2.tar.bz2
|
||||
use x86-macos && unpack ghc-7.4.1-i386-apple-darwin.tar.bz2
|
||||
use x64-macos && unpack ghc-7.4.1-x86_64-apple-darwin.tar.bz2
|
||||
popd > /dev/null
|
||||
|
||||
pushd "${WORKDIR}"/ghc-bin-installer/ghc-[67].?*.? > /dev/null || die
|
||||
# fix the binaries so they run, on Solaris we need an
|
||||
# LD_LIBRARY_PATH which has our prefix libdirs, on
|
||||
# Darwin we need to replace the frameworks with our libs
|
||||
# from the prefix fix before installation, because some
|
||||
# of the tools are actually used during configure/make
|
||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||
export LD_LIBRARY_PATH="${EPREFIX}/$(get_libdir):${EPREFIX}/usr/$(get_libdir):${LD_LIBRARY_PATH}"
|
||||
elif [[ ${CHOST} == *-darwin* ]] ; then
|
||||
local readline_framework=GNUreadline.framework/GNUreadline
|
||||
local gmp_framework=/opt/local/lib/libgmp.10.dylib
|
||||
local ncurses_file=/opt/local/lib/libncurses.5.dylib
|
||||
for binary in $(scanmacho -BRE MH_EXECUTE -F '%F' .) ; do
|
||||
install_name_tool -change \
|
||||
${readline_framework} \
|
||||
"${EPREFIX}"/lib/libreadline.dylib \
|
||||
${binary} || die
|
||||
install_name_tool -change \
|
||||
${gmp_framework} \
|
||||
"${EPREFIX}"/usr/lib/libgmp.dylib \
|
||||
${binary} || die
|
||||
install_name_tool -change \
|
||||
${ncurses_file} \
|
||||
"${EPREFIX}"/usr/lib/libncurses.dylib \
|
||||
${binary} || die
|
||||
done
|
||||
# we don't do frameworks!
|
||||
sed -i \
|
||||
-e 's/\(frameworks = \)\["GMP"\]/\1[]/g' \
|
||||
-e 's/\(extraLibraries = \)\["m"\]/\1["m","gmp"]/g' \
|
||||
rts/package.conf.in || die
|
||||
fi
|
||||
|
||||
# it is autoconf, but we really don't want to give it too
|
||||
# much arguments, in fact we do the make in-place anyway
|
||||
./configure --prefix="${WORKDIR}"/usr || die
|
||||
make install || die
|
||||
popd > /dev/null
|
||||
;;
|
||||
*)
|
||||
relocate_ghc "${WORKDIR}"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
sed -i -e "s|\"\$topdir\"|\"\$topdir\" ${GHC_PERSISTENT_FLAGS}|" \
|
||||
"${S}/ghc/ghc.wrapper"
|
||||
|
||||
cd "${S}" # otherwise eapply will break
|
||||
|
||||
eapply "${FILESDIR}"/${PN}-7.0.4-CHOST-prefix.patch
|
||||
eapply "${FILESDIR}"/${PN}-8.2.1-darwin.patch
|
||||
eapply "${FILESDIR}"/${PN}-7.8.3-prim-lm.patch
|
||||
|
||||
# a bunch of crosscompiler patches
|
||||
# needs newer version:
|
||||
#eapply "${FILESDIR}"/${PN}-8.2.1_rc1-hp2ps-cross.patch
|
||||
|
||||
# mingw32 target
|
||||
pushd "${S}/libraries/Win32"
|
||||
eapply "${FILESDIR}"/${PN}-8.2.1_rc1-win32-cross-2-hack.patch # bad workaround
|
||||
popd
|
||||
|
||||
bump_libs
|
||||
|
||||
eapply_user
|
||||
# as we have changed the build system
|
||||
eautoreconf
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if ! use binary; then
|
||||
# initialize build.mk
|
||||
echo '# Gentoo changes' > mk/build.mk
|
||||
|
||||
# Put docs into the right place, ie /usr/share/doc/ghc-${GHC_PV}
|
||||
echo "docdir = ${EPREFIX}/usr/share/doc/$(cross)${P}" >> mk/build.mk
|
||||
echo "htmldir = ${EPREFIX}/usr/share/doc/$(cross)${P}" >> mk/build.mk
|
||||
|
||||
# We also need to use the GHC_FLAGS flags when building ghc itself
|
||||
echo "SRC_HC_OPTS+=${HCFLAGS} ${GHC_FLAGS}" >> mk/build.mk
|
||||
echo "SRC_CC_OPTS+=${CFLAGS}" >> mk/build.mk
|
||||
echo "SRC_LD_OPTS+=${LDFLAGS}" >> mk/build.mk
|
||||
# Speed up initial Cabal bootstrap
|
||||
echo "utils/ghc-cabal_dist_EXTRA_HC_OPTS+=$(ghc-make-args)" >> mk/build.mk
|
||||
|
||||
# We can't depend on haddock except when bootstrapping when we
|
||||
# must build docs and include them into the binary .tbz2 package
|
||||
# app-text/dblatex is not in portage, can not build PDF or PS
|
||||
echo "BUILD_SPHINX_PDF = NO" >> mk/build.mk
|
||||
echo "BUILD_SPHINX_HTML = $(usex doc YES NO)" >> mk/build.mk
|
||||
echo "BUILD_MAN = $(usex doc YES NO)" >> mk/build.mk
|
||||
|
||||
# this controls presence on 'xhtml' and 'haddock' in final install
|
||||
echo "HADDOCK_DOCS = YES" >> mk/build.mk
|
||||
|
||||
# not used outside of ghc's test
|
||||
if [[ -n ${GHC_BUILD_DPH} ]]; then
|
||||
echo "BUILD_DPH = YES" >> mk/build.mk
|
||||
else
|
||||
echo "BUILD_DPH = NO" >> mk/build.mk
|
||||
fi
|
||||
|
||||
# Any non-native build has to skip as it needs
|
||||
# target haddock binary to be runnabine.
|
||||
if ! is_native; then
|
||||
# disable docs generation as it requires running stage2
|
||||
echo "HADDOCK_DOCS=NO" >> mk/build.mk
|
||||
echo "BUILD_SPHINX_HTML=NO" >> mk/build.mk
|
||||
echo "BUILD_SPHINX_PDF=NO" >> mk/build.mk
|
||||
fi
|
||||
|
||||
if is_crosscompile; then
|
||||
# Install ghc-stage1 crosscompiler instead of
|
||||
# ghc-stage2 cross-built compiler.
|
||||
echo "Stage1Only=YES" >> mk/build.mk
|
||||
fi
|
||||
|
||||
# allows overriding build flavours for libraries:
|
||||
# v - vanilla (static libs)
|
||||
# p - profiled
|
||||
# dyn - shared libraries
|
||||
# example: GHC_LIBRARY_WAYS="v dyn"
|
||||
if [[ -n ${GHC_LIBRARY_WAYS} ]]; then
|
||||
echo "GhcLibWays=${GHC_LIBRARY_WAYS}" >> mk/build.mk
|
||||
fi
|
||||
echo "BUILD_PROF_LIBS = $(usex profile YES NO)" >> mk/build.mk
|
||||
|
||||
# Get ghc from the unpacked binary .tbz2
|
||||
# except when bootstrapping we just pick ghc up off the path
|
||||
if ! use ghcbootstrap; then
|
||||
export PATH="${WORKDIR}/usr/bin:${PATH}"
|
||||
fi
|
||||
|
||||
echo "INTEGER_LIBRARY = $(usex gmp integer-gmp integer-simple)" >> mk/build.mk
|
||||
|
||||
# don't strip anything. Very useful when stage2 SIGSEGVs on you
|
||||
echo "STRIP_CMD = :" >> mk/build.mk
|
||||
|
||||
local econf_args=()
|
||||
|
||||
# GHC embeds toolchain it was built by and uses it later.
|
||||
# Don't allow things like ccache or versioned binary slip.
|
||||
# We use stable thing across gcc upgrades.
|
||||
# User can use EXTRA_ECONF=CC=... to override this default.
|
||||
econf_args+=(
|
||||
AR=${CTARGET}-ar
|
||||
CC=${CTARGET}-gcc
|
||||
# these should be inferred by GHC but ghc defaults
|
||||
# to using bundled tools on windows.
|
||||
Windres=${CTARGET}-windres
|
||||
DllWrap=${CTARGET}-dllwrap
|
||||
# we set the linker explicitly below
|
||||
--disable-ld-override
|
||||
)
|
||||
case ${CTARGET} in
|
||||
arm*)
|
||||
# ld.bfd-2.28 does not work for ghc. Force ld.gold
|
||||
# instead. This should be removed once gentoo gets
|
||||
# a fix for R_ARM_COPY bug: https://sourceware.org/PR16177
|
||||
econf_args+=(LD=${CTARGET}-ld.gold)
|
||||
;;
|
||||
sparc*)
|
||||
# ld.gold-2.28 does not work for ghc. Force ld.bfd
|
||||
# instead. This should be removed once gentoo gets
|
||||
# a fix for missing --no-relax support bug:
|
||||
# https://sourceware.org/ml/binutils/2017-07/msg00183.html
|
||||
econf_args+=(LD=${CTARGET}-ld.bfd)
|
||||
;;
|
||||
*)
|
||||
econf_args+=(LD=${CTARGET}-ld)
|
||||
esac
|
||||
|
||||
if [[ ${CBUILD} != ${CHOST} ]]; then
|
||||
# GHC bug: ghc claims not to support cross-building.
|
||||
# It does, but does not distinct --host= value
|
||||
# for stage1 and stage2 compiler.
|
||||
econf_args+=(--host=${CBUILD})
|
||||
fi
|
||||
|
||||
if use ghcmakebinary; then
|
||||
# When building booting libary we are trying to
|
||||
# bundle or restrict most of external depends
|
||||
# with unstable ABI:
|
||||
# - embed libffi (default GHC behaviour)
|
||||
# - disable ncurses support for ghci (via haskeline)
|
||||
# https://bugs.gentoo.org/557478
|
||||
# - disable ncurses support for ghc-pkg
|
||||
echo "libraries/haskeline_CONFIGURE_OPTS += --flag=-terminfo" >> mk/build.mk
|
||||
echo "utils/ghc-pkg_HC_OPTS += -DBOOTSTRAPPING" >> mk/build.mk
|
||||
elif is_native; then
|
||||
# using ${GTARGET}'s libffi is not supported yet:
|
||||
# GHC embeds full path for ffi includes without /usr/${CTARGET} account.
|
||||
econf_args+=(--with-system-libffi)
|
||||
econf_args+=(--with-ffi-includes=$(pkg-config libffi --cflags-only-I | sed -e 's@^-I@@'))
|
||||
fi
|
||||
|
||||
einfo "Final mk/build.mk:"
|
||||
cat mk/build.mk || die
|
||||
|
||||
econf ${econf_args[@]} --enable-bootstrap-with-devel-snapshot
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
GHC_PV="$(grep 'S\[\"PACKAGE_VERSION\"\]' config.status | sed -e 's@^.*=\"\(.*\)\"@\1@')"
|
||||
GHC_P=${PN}-${GHC_PV}
|
||||
fi
|
||||
fi # ! use binary
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if ! use binary; then
|
||||
# Stage1Only crosscompiler does not build stage2
|
||||
if ! is_crosscompile; then
|
||||
# 1. build/pax-mark compiler binary first
|
||||
emake ghc/stage2/build/tmp/ghc-stage2
|
||||
# 2. pax-mark (bug #516430)
|
||||
pax-mark -m ghc/stage2/build/tmp/ghc-stage2
|
||||
# 2. build/pax-mark haddock using ghc-stage2
|
||||
if is_native; then
|
||||
# non-native build does not build haddock
|
||||
# due to HADDOCK_DOCS=NO, but it could.
|
||||
emake utils/haddock/dist/build/tmp/haddock
|
||||
pax-mark -m utils/haddock/dist/build/tmp/haddock
|
||||
fi
|
||||
fi
|
||||
# 3. and then all the rest
|
||||
emake all
|
||||
fi # ! use binary
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use binary; then
|
||||
use prefix && mkdir -p "${ED}"
|
||||
mv "${S}/usr" "${ED}"
|
||||
else
|
||||
[[ -f VERSION ]] || emake VERSION
|
||||
|
||||
# -j1 due to a rare race in install script:
|
||||
# make --no-print-directory -f ghc.mk phase=final install
|
||||
# /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c -m 755 \
|
||||
# -d "/tmp/portage-tmpdir/portage/cross-armv7a-unknown-linux-gnueabi/ghc-9999/image/usr/lib64/armv7a-unknown-linux-gnueabi-ghc-8.3.20170404/include"
|
||||
# /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c -m 644 utils/hsc2hs/template-hsc.h \
|
||||
# "/tmp/portage-tmpdir/portage/cross-armv7a-unknown-linux-gnueabi/ghc-9999/image/usr/lib64/armv7a-unknown-linux-gnueabi-ghc-8.3.20170404"
|
||||
# /usr/bin/install: cannot create regular file \
|
||||
# '/tmp/portage-tmpdir/portage/cross-armv7a-unknown-linux-gnueabi/ghc-9999/image/usr/lib64/armv7a-unknown-linux-gnueabi-ghc-8.3.20170404': No such file or directory
|
||||
emake -j1 install DESTDIR="${D}"
|
||||
|
||||
# Skip for cross-targets as they all share target location:
|
||||
# /usr/share/doc/ghc-9999/
|
||||
if ! is_crosscompile; then
|
||||
dodoc "distrib/README" "ANNOUNCE" "LICENSE" "VERSION"
|
||||
fi
|
||||
|
||||
# rename ghc-shipped files to avoid collision
|
||||
# of external packages. Motivating example:
|
||||
# user had installed:
|
||||
# dev-lang/ghc-7.8.4-r0 (with transformers-0.3.0.0)
|
||||
# dev-haskell/transformers-0.4.2.0
|
||||
# then user tried to update to
|
||||
# dev-lang/ghc-7.8.4-r1 (with transformers-0.4.2.0)
|
||||
# this will lead to single .conf file collision.
|
||||
local shipped_conf renamed_conf
|
||||
local package_confdir="${ED}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d"
|
||||
for shipped_conf in "${package_confdir}"/*.conf; do
|
||||
# rename 'pkg-ver-id.conf' to 'pkg-ver-id-gentoo-${PF}.conf'
|
||||
renamed_conf=${shipped_conf%.conf}-gentoo-${PF}.conf
|
||||
mv "${shipped_conf}" "${renamed_conf}" || die
|
||||
done
|
||||
|
||||
# remove link, but leave 'haddock-${GHC_P}'
|
||||
rm -f "${ED}"/usr/bin/$(cross)haddock
|
||||
|
||||
if ! is_crosscompile; then
|
||||
newbashcomp "${FILESDIR}"/ghc-bash-completion ghc-pkg
|
||||
newbashcomp utils/completion/ghc.bash ghc
|
||||
fi
|
||||
fi
|
||||
|
||||
# path to the package.cache
|
||||
local package_confdir="${ED}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d"
|
||||
PKGCACHE="${package_confdir}"/package.cache
|
||||
# copy the package.conf.d, including timestamp, save it so we can help
|
||||
# users that have a broken package.conf.d
|
||||
cp -pR "${package_confdir}"{,.initial} || die "failed to backup intial package.conf.d"
|
||||
|
||||
# copy the package.conf, including timestamp, save it so we later can put it
|
||||
# back before uninstalling, or when upgrading.
|
||||
cp -p "${PKGCACHE}"{,.shipped} \
|
||||
|| die "failed to copy package.conf.d/package.cache"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# have we got an earlier version of ghc installed?
|
||||
if has_version "<${CATEGORY}/${PF}"; then
|
||||
haskell_updater_warn="1"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ghc-reregister
|
||||
|
||||
# path to the package.cache
|
||||
PKGCACHE="${EROOT}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d/package.cache"
|
||||
|
||||
# give the cache a new timestamp, it must be as recent as
|
||||
# the package.conf.d directory.
|
||||
touch "${PKGCACHE}"
|
||||
|
||||
if [[ "${haskell_updater_warn}" == "1" ]]; then
|
||||
ewarn
|
||||
ewarn "\e[1;31m************************************************************************\e[0m"
|
||||
ewarn
|
||||
ewarn "You have just upgraded from an older version of GHC."
|
||||
ewarn "You may have to run"
|
||||
ewarn " 'haskell-updater'"
|
||||
ewarn "to rebuild all ghc-based Haskell libraries."
|
||||
ewarn
|
||||
ewarn "\e[1;31m************************************************************************\e[0m"
|
||||
ewarn
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
PKGCACHE="${EROOT}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d/package.cache"
|
||||
rm -rf "${PKGCACHE}"
|
||||
|
||||
cp -p "${PKGCACHE}"{.shipped,}
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
ghc-package_pkg_postrm
|
||||
}
|
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST OpenSRF-1.2.0.tar.gz 1096952 BLAKE2B 87e1b125463db9cb90737b2c4b5821de6ea01d6229e936b8edd9f8883b72bf0b4006916243c06c31383e68a3b2a806207ca2385476e95b01c11ac810aa47a8b6 SHA512 f6ee045b32464316eefb457dc74bd08f3a613fcd22ea54ea719a1762b38ea14972d75802d2a542f3c7489c86cea25cb6a9de61662031104b0c0b3634e1d09cd1
|
||||
DIST opensrf-2.1.1.tar.gz 1058060 BLAKE2B 83c702727d21bea4683530857cd67037bde9eab94b91a801f64ebe70f5ad3b4994eea956cb9aaf531fbc663d4e9cb3242740f1941604a69aceaab8e396ae0e0e SHA512 5294ae2c9410ae52964067cd9090f9b7b5424e96f1731868cd896c1928ef1e89729af4a83f804f491bf2da0c6d129149105309afa18531b184098ebff2820306
|
||||
|
@ -1,118 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit eutils multilib flag-o-matic apache-module autotools perl-module
|
||||
|
||||
DESCRIPTION="Framework for the high-level development of the Evergreen ILS software"
|
||||
HOMEPAGE="http://open-ils.org/"
|
||||
SRC_URI="http://open-ils.org/downloads/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE="postgres +sqlite"
|
||||
DEPEND=">=www-servers/apache-2.2.9
|
||||
>=dev-db/libdbi-drivers-0.8.2
|
||||
>=dev-db/libdbi-0.8.2
|
||||
net-im/ejabberd
|
||||
dev-libs/libmemcache
|
||||
dev-perl/Cache-Memcached
|
||||
dev-perl/Class-DBI-AbstractSearch
|
||||
sqlite? ( dev-perl/DBD-SQLite )
|
||||
postgres? ( dev-perl/DBD-Pg )
|
||||
virtual/perl-Digest-MD5
|
||||
dev-perl/JSON-XS
|
||||
dev-perl/Net-Server
|
||||
dev-perl/UNIVERSAL-require
|
||||
dev-perl/Unix-Syslog
|
||||
dev-perl/XML-LibXML
|
||||
"
|
||||
|
||||
PERL_S="${S}/src/perl"
|
||||
|
||||
APXS2_S="${S}/src/gateway/.libs/"
|
||||
APACHE2_MOD_FILE="${APXS2_S}/osrf_json_gateway.so ${APXS2_S}/osrf_http_translator.so"
|
||||
#APACHE2_MOD_CONF="42_${PN}"
|
||||
#APACHE2_MOD_DEFINE="FOO"
|
||||
#DOCFILES="docs/*.html"
|
||||
need_apache2_2
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
perl_set_version
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.2.0-buildfix.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
#src_compile() {
|
||||
# LIBXML2_CFLAGS=$(xml2-config --cflags)
|
||||
# LIBXML2_CFLAGS="${LIBXML2_CFLAGS//*-I}"
|
||||
# LIBXML2_HEADERS="${LIBXML2_CFLAGS// *}"
|
||||
# APR_HEADERS=$(apr-1-config --includedir)
|
||||
# APACHE2_HEADERS=$(apxs2 -q INCLUDEDIR)
|
||||
# sed -i \
|
||||
# -e '/^export PREFIX=/s,/.*,/usr,' \
|
||||
# -e '/^export BINDIR=/s,/.*,${PREFIX}/bin,' \
|
||||
# -e "/^export LIBDIR=/s,/.*,\${PREFIX}/$(get_libdir)," \
|
||||
# -e '/^export PERLDIR=/s,/.*,${LIBDIR}/perl5,' \
|
||||
# -e '/^export INCLUDEDIR=/s,/.*,${PREFIX}/include,' \
|
||||
# -e '/^export ETCDIR=/s,/.*,/etc,' \
|
||||
# -e '/^export SOCK=/s,/.*,/var/run/opensrf,' \
|
||||
# -e '/^export PID=/s,/.*,/var/run/opensrf,' \
|
||||
# -e '/^export LOG=/s,/.*,/var/log,' \
|
||||
# -e '/^export TMP=/s,/.*,/tmp,' \
|
||||
# -e '/^export APXS2=/s,/.*,/usr/sbin/apxs2,' \
|
||||
# -e "/^export APACHE2_HEADERS=/s,/.*,${APACHE2_HEADERS}," \
|
||||
# -e "/^export APR_HEADERS=/s,/.*,${APR_HEADERS}," \
|
||||
# -e "/^export LIBXML2_HEADERS=/s,/.*,${LIBXML2_HEADERS}," \
|
||||
# install.conf
|
||||
# emake verbose || die "Failed to build"
|
||||
#}
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-apxs=/usr/sbin/apxs2 \
|
||||
--sysconfdir=/etc/opensrf \
|
||||
--localstatedir=/var \
|
||||
|| die "econf failed"
|
||||
cd "${PERL_S}" && S="${PERL_S}" perl-module_src_configure || die "perl-module_src_configure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake || die "main emake failed"
|
||||
cd "${PERL_S}" && S="${PERL_S}" perl-module_src_compile || die "perl-module_src_compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einfo "Doing src_install"
|
||||
#emake install-verbose DESTDIR="${D}" || die "Failed to install"
|
||||
emake install DESTDIR="${D}" || die "Failed to install"
|
||||
apache-module_src_install || die "apache-module_src_install failed"
|
||||
cd "${PERL_S}" && S="${PERL_S}" perl-module_src_install || die "perl-module_src_install failed"
|
||||
cd "${S}"
|
||||
|
||||
# Docs
|
||||
dodoc README doc/*
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake check || die "emake check failed"
|
||||
cd "${PERL_S}" && S="${PERL_S}" perl-module_src_test || die "perl-module_src_test failed"
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
:
|
||||
#JABBER_SERVER=${JABBER_SERVER:=localhost}
|
||||
#JABBER_PORT=${JABBER_PORT:=5222}
|
||||
#PASSWORD=${PASSWORD:=osrf}
|
||||
#einfo "Using Jabber server at ${JABBER_SERVER}:${JABBER_PORT}"
|
||||
#einfo "Adding 'osrf' and 'router' users with password ${PASSWORD}"
|
||||
#cd "${ROOT}"/usr/share/doc/${PF}/examples
|
||||
#for user in osrf router ; do
|
||||
# perl register.pl ${JABBER_SERVER} ${JABBER_PORT} ${user} ${PASSWORD} \
|
||||
# || die "Failed to add $user user to server"
|
||||
#done
|
||||
}
|
@ -1,136 +0,0 @@
|
||||
diff -Nuar OpenSRF-1.2.0.orig/Makefile.am OpenSRF-1.2.0/Makefile.am
|
||||
--- OpenSRF-1.2.0.orig/Makefile.am 2008-10-27 05:07:06.000000000 +0000
|
||||
+++ OpenSRF-1.2.0/Makefile.am 2012-11-12 20:53:22.079732392 +0000
|
||||
@@ -115,14 +115,14 @@
|
||||
SUBDIRS = src
|
||||
|
||||
jserver:
|
||||
- make -s -C src jserver
|
||||
+ $(MAKE) -s -C src jserver
|
||||
|
||||
jserver-install:
|
||||
- make -s -C src jserver-install
|
||||
+ $(MAKE) -s -C src jserver-install
|
||||
|
||||
javascript-install:
|
||||
- make -s -C src javascript-install
|
||||
+ $(MAKE) -s -C src javascript-install
|
||||
|
||||
install-data-hook:
|
||||
- cp @srcdir@/src/gateway/apachetools.h @includedir@/opensrf/apachetools.h
|
||||
+ cp @srcdir@/src/gateway/apachetools.h $(DESTDIR)@includedir@/opensrf/apachetools.h
|
||||
|
||||
diff -Nuar OpenSRF-1.2.0.orig/src/gateway/Makefile.am OpenSRF-1.2.0/src/gateway/Makefile.am
|
||||
--- OpenSRF-1.2.0.orig/src/gateway/Makefile.am 2008-08-18 19:14:00.000000000 +0000
|
||||
+++ OpenSRF-1.2.0/src/gateway/Makefile.am 2012-11-12 20:53:22.079732392 +0000
|
||||
@@ -16,16 +16,25 @@
|
||||
|
||||
AM_CFLAGS = -D_LARGEFILE64_SOURCE -Wall -I@abs_top_srcdir@/include/ -I$(LIBXML2_HEADERS) -I$(APACHE2_HEADERS) -I$(APR_HEADERS)
|
||||
AM_LDFLAGS = -L$(LIBDIR) -L@top_builddir@/src/libopensrf
|
||||
+APACHE_DEPS = apachetools.c apachetools.h
|
||||
+LIBS=libopensrf.so
|
||||
+TARGETS = osrf_json_gateway.la osrf_http_translator.la
|
||||
|
||||
-install-exec-local:
|
||||
- if [ ! "$$(grep mod_placeholder `apxs2 -q SYSCONFDIR`/httpd.conf)" ]; \
|
||||
- then echo -e "#\n#LoadModule mod_placeholder /usr/lib/apache2/modules/mod_placeholder.so" \
|
||||
- >> `apxs2 -q SYSCONFDIR`/httpd.conf; \
|
||||
- fi
|
||||
- $(APXS2) -c $(DEF_LDLIBS) $(AM_CFLAGS) $(AM_LDFLAGS) @srcdir@/osrf_json_gateway.c apachetools.c apachetools.h libopensrf.so
|
||||
- $(APXS2) -c $(DEF_LDLIBS) $(AM_CFLAGS) $(AM_LDFLAGS) @srcdir@/osrf_http_translator.c apachetools.c apachetools.h libopensrf.so
|
||||
- $(APXS2) -i -a @srcdir@/osrf_json_gateway.la
|
||||
- $(APXS2) -i -a @srcdir@/osrf_http_translator.la
|
||||
+all: $(TARGETS)
|
||||
+
|
||||
+osrf_json_gateway.la: osrf_json_gateway.c $(APACHE_DEPS)
|
||||
+ $(APXS2) -c $(DEF_LDLIBS) $(AM_CFLAGS) $(AM_LDFLAGS) $^ $(LIBS)
|
||||
+
|
||||
+osrf_http_translator.la: osrf_http_translator.c $(APACHE_DEPS)
|
||||
+ $(APXS2) -c $(DEF_LDLIBS) $(AM_CFLAGS) $(AM_LDFLAGS) $^ $(LIBS)
|
||||
+
|
||||
+#install-exec-local: $(TARGETS)
|
||||
+# if [ ! "$$(grep mod_placeholder `apxs2 -q SYSCONFDIR`/httpd.conf)" ]; \
|
||||
+# then echo -e "#\n#LoadModule mod_placeholder /usr/lib/apache2/modules/mod_placeholder.so" \
|
||||
+# >> `apxs2 -q SYSCONFDIR`/httpd.conf; \
|
||||
+# fi
|
||||
+# $(APXS2) -i -a osrf_json_gateway.la
|
||||
+# $(APXS2) -i -a osrf_http_translator.la
|
||||
|
||||
clean-local:
|
||||
rm -f @srcdir@/osrf_http_translator.la @srcdir@/osrf_http_translator.lo @srcdir@/osrf_http_translator.slo @srcdir@/osrf_json_gateway.la @srcdir@/osrf_json_gateway.lo @srcdir@/osrf_json_gateway.slo
|
||||
diff -Nuar OpenSRF-1.2.0.orig/src/java/Makefile.am OpenSRF-1.2.0/src/java/Makefile.am
|
||||
--- OpenSRF-1.2.0.orig/src/java/Makefile.am 2008-07-17 18:15:09.000000000 +0000
|
||||
+++ OpenSRF-1.2.0/src/java/Makefile.am 2012-11-12 20:53:22.079732392 +0000
|
||||
@@ -48,8 +48,8 @@
|
||||
rm files;
|
||||
|
||||
install-data-local:
|
||||
- mkdir -p $(LIBDIR)/java
|
||||
- cp opensrf.jar $(LIBDIR)/java
|
||||
+ mkdir -p $(DESTDIR)$(LIBDIR)/java
|
||||
+ cp opensrf.jar $(DESTDIR)$(LIBDIR)/java
|
||||
|
||||
dep_clean:
|
||||
rm -rf deps
|
||||
diff -Nuar OpenSRF-1.2.0.orig/src/libopensrf/Makefile.am OpenSRF-1.2.0/src/libopensrf/Makefile.am
|
||||
--- OpenSRF-1.2.0.orig/src/libopensrf/Makefile.am 2009-04-08 02:48:02.000000000 +0000
|
||||
+++ OpenSRF-1.2.0/src/libopensrf/Makefile.am 2012-11-12 20:53:22.079732392 +0000
|
||||
@@ -99,6 +99,7 @@
|
||||
opensrf_c_SOURCES = opensrf.c
|
||||
opensrf_c_DEPENDENCIES = libopensrf.la
|
||||
|
||||
+osrf_json_test_DEPENDENCIES = libopensrf.la libosrf_json.la
|
||||
osrf_json_test_SOURCES = osrf_json_test.c $(JSON_TARGS) $(JSON_DEP) $(JSON_TARGS_HEADS) $(JSON_DEP_HEADS)
|
||||
|
||||
noinst_LTLIBRARIES = libosrf_json.la
|
||||
diff -Nuar OpenSRF-1.2.0.orig/src/Makefile.am OpenSRF-1.2.0/src/Makefile.am
|
||||
--- OpenSRF-1.2.0.orig/src/Makefile.am 2009-05-31 19:49:00.000000000 +0000
|
||||
+++ OpenSRF-1.2.0/src/Makefile.am 2012-11-12 20:53:52.475676800 +0000
|
||||
@@ -17,7 +17,7 @@
|
||||
export OPENSRF = opensrf
|
||||
export BINDIR = @bindir@
|
||||
export LIBDIR = @libdir@
|
||||
-jsdir = $(LIBDIR)/javascript
|
||||
+jsdir = $(datarootdir)/opensrf/javascript
|
||||
export OSRF_JAVA_DEPSDIR = @OSRF_JAVA_DEPSDIR@
|
||||
etcdir = $(ETCDIR)
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
MAYBE_JA = java
|
||||
endif
|
||||
|
||||
-SUBDIRS = libopensrf c-apps router srfsh jserver gateway perl $(MAYBE_PY) $(MAYBE_JA)
|
||||
+SUBDIRS = libopensrf c-apps router srfsh jserver gateway $(MAYBE_PY) $(MAYBE_JA) # perl is now seperate
|
||||
|
||||
dist_bin_SCRIPTS = @top_srcdir@/bin/opensrf-perl.pl
|
||||
bin_SCRIPTS = @top_srcdir@/bin/osrf_config @top_srcdir@/bin/osrf_ctl.sh
|
||||
@@ -41,11 +41,11 @@
|
||||
dist_sysconf_DATA = @top_srcdir@/examples/opensrf.xml.example @top_srcdir@/examples/opensrf_core.xml.example @top_srcdir@/examples/srfsh.xml.example
|
||||
|
||||
install-exec-local:
|
||||
- mkdir -p $(VAR)
|
||||
- mkdir -p $(PID)
|
||||
- mkdir -p $(LOG)
|
||||
- mkdir -p $(SOCK)
|
||||
- mkdir -p $(jsdir)
|
||||
+ mkdir -p $(DESTDIR)$(VAR)
|
||||
+ mkdir -p $(DESTDIR)$(PID)
|
||||
+ mkdir -p $(DESTDIR)$(LOG)
|
||||
+ mkdir -p $(DESTDIR)$(SOCK)
|
||||
+ mkdir -p $(DESTDIR)$(jsdir)
|
||||
|
||||
install-exec-hook:
|
||||
sed -i 's|LOCALSTATEDIR|$(VAR)|g' '$(DESTDIR)@sysconfdir@/opensrf.xml.example'
|
||||
@@ -54,9 +54,9 @@
|
||||
sed -i 's|SYSCONFDIR|$(ETCDIR)|g' '$(DESTDIR)@sysconfdir@/opensrf_core.xml.example'
|
||||
sed -i 's|LOCALSTATEDIR|$(VAR)|g' '$(DESTDIR)@sysconfdir@/srfsh.xml.example'
|
||||
sed -i 's|SYSCONFDIR|$(ETCDIR)|g' '$(DESTDIR)@sysconfdir@/srfsh.xml.example'
|
||||
- cp -r @srcdir@/javascript/* $(jsdir)/
|
||||
+ cp -r @srcdir@/javascript/* $(DESTDIR)$(jsdir)/
|
||||
|
||||
uninstall-hook:
|
||||
- rm @includedir@/opensrf/apachetools.h
|
||||
- rm -R $(jsdir)
|
||||
+ rm $(DESTDIR)@includedir@/opensrf/apachetools.h
|
||||
+ rm -R $(DESTDIR)$(jsdir)
|
||||
|
@ -1,2 +1 @@
|
||||
DIST kproperty-3.0.2.tar.xz 82556 BLAKE2B 57bde244b58d022c88cea6ff00776ebaecefbd865abd939d8a576f77ee8814077ed61f7576440185c71723e64b8a5d838b95f867df6c8892366d9c5f6bd52d06 SHA512 de37dbe3e0aa979c0c9fa75b0b26eef708b332a4b3f65d0b4c22926aa534c54b4f39643df107fabb136071940abd791b31ad8f864e40d514e20171af6fc16ea9
|
||||
DIST kproperty-3.1.0.tar.xz 123528 BLAKE2B 79d94bcdb83c343241d233b528f27e8fcabab587000562e695e03ac3877572c73be28574ecdb1fe2f538df9ea0ee20bc71e95f4c13943da585abccc7eeaf2f5d SHA512 6c6b9bc7db8e82b3c5ec216e42c439dfe30071804b2392026e6284ba7154338e2b6b108f0f14b5db556692de3230d8a780099e73349a740ce6edc68fd7fa54f5
|
||||
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit kde5
|
||||
|
||||
DESCRIPTION="Property editing framework with editor widget similar to Qt Designer"
|
||||
[[ ${KDE_BUILD_TYPE} != live ]] && SRC_URI="mirror://kde/stable/${PN}/src/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2+"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
$(add_frameworks_dep kconfig)
|
||||
$(add_frameworks_dep kcoreaddons)
|
||||
$(add_frameworks_dep kguiaddons)
|
||||
$(add_frameworks_dep kwidgetsaddons)
|
||||
$(add_qt_dep qtgui)
|
||||
$(add_qt_dep qtwidgets)
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# tests require installed headers, bug 636108
|
||||
RESTRICT+=" test"
|
@ -1,2 +1 @@
|
||||
DIST kreport-3.0.2.tar.xz 227508 BLAKE2B 48c2dae0ea13f513657780d9893c8ddb81c535757c376911fd01246694d55782f97039e8c13f7b2f04d535a91599f51068e0611c578b78602afa6472aab9d66d SHA512 25580783b1424d66608c48c6f0e254a9c27802b11157eaa199a50b05122f904b970b82cc747c7d8020ebede9bac1b30667e22a6b9c23a6e481055aa3c0a407ea
|
||||
DIST kreport-3.1.0.tar.xz 378980 BLAKE2B 9f6289a38e7fc0d6a7522e55dd5e769a52306edb4855efe79f933f47dbc87f367c865fede453c04402ec03046a9b5c5bb7b9055ff1ec6808319939328ef74862 SHA512 9f96d65ee420aab497b591a4a0d48da8df21f3c6a230ec742f4b2ff12f0e14a86a82e4fb114bb91ff334bcd8bdf3beec0f533507923bec31a6e79bba55213268
|
||||
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
KDE_TEST="true"
|
||||
VIRTUALX_REQUIRED="test"
|
||||
inherit kde5 python-any-r1
|
||||
|
||||
DESCRIPTION="Framework for creation and generation of reports in multiple formats"
|
||||
[[ ${KDE_BUILD_TYPE} != live ]] && SRC_URI="mirror://kde/stable/${PN}/src/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2+"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="marble +scripting webkit"
|
||||
|
||||
RESTRICT+=" test"
|
||||
|
||||
RDEPEND="
|
||||
$(add_frameworks_dep kconfig)
|
||||
$(add_frameworks_dep kcoreaddons)
|
||||
$(add_frameworks_dep kguiaddons)
|
||||
$(add_frameworks_dep kwidgetsaddons)
|
||||
$(add_qt_dep qtgui)
|
||||
$(add_qt_dep qtprintsupport)
|
||||
$(add_qt_dep qtwidgets)
|
||||
$(add_qt_dep qtxml)
|
||||
dev-libs/kproperty
|
||||
marble? ( $(add_kdeapps_dep marble '' '' '5=') )
|
||||
scripting? ( $(add_qt_dep qtdeclarative) )
|
||||
webkit? ( $(add_qt_dep qtwebkit) )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_find_package marble Marble)
|
||||
$(cmake-utils_use_find_package webkit Qt5WebKitWidgets)
|
||||
-DKREPORT_SCRIPTING=$(usex scripting)
|
||||
)
|
||||
kde5_src_configure
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST libuv-1.10.2.tar.gz 1074184 BLAKE2B 81b5327684ae75ad1347730264f07f1106d9136b84956ac170ab99db9fa5fb574f52af9a786f7e2ce6c5bd8caaa0a28b1efc2ee7a23c015499b420feb9c329c5 SHA512 5d9a7c483c3504e10e17c29297d72dee1572dc657d261229cc68efe63cb3abb59f7e7768885ce3eb06f22691e73323158c06dcce29000c81e35ff9888853f080
|
||||
DIST libuv-1.20.0.tar.gz 1180231 BLAKE2B 8ba258477c685acc1ed5486211b65719419757f6dec5dda863d622d4190552a2f5968f3b05519ec5574a5963cce99a9b92c224b511e0f9e70aa099d47f4fb4ca SHA512 382309cb6e54765b956b03357cb754f49d93505ba0e0122a77f33efca07d7b87966c993a5fd9f9503edd1bcd0f49ca42bd9cd9264cce94c847aebca77d237ba0
|
||||
DIST libuv-1.20.2.tar.gz 1180957 BLAKE2B bbf29ea1ee989a5197daef92fee12aa83687002e14e8a4311b61c743cfbf6e4e8e9f0045b38fa5301afcc9981a5fcd59d12e0649515b2e1695ede62795929d4b SHA512 449dfd15e2953d2a8b9c6160ab39728a87799b3e8595f9e3013467daf69d3561e2c5602172a0596e7c884237cf0d52d3b0f00edde03a7b037dc90b61bce2057c
|
||||
DIST libuv-1.20.3.tar.gz 1181741 BLAKE2B ee68f975c9f150034b02772b297a05692305155449dac75f35ca32761ffa2803385b22cce5c0fe1b2ad73a52144e6218e2c62d73c92e098017bee74a99e16062 SHA512 60ebc0059ec9fdd022aa9d60b2a0340f29e037bf79fa08707f6f2ecca9ec263c7a6466bdc1f94e0875a6a627ee749efa86117dedb22119676a7bafed8b5d77a0
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools ltprune multilib-minimal
|
||||
|
||||
DESCRIPTION="Cross-platform asychronous I/O"
|
||||
HOMEPAGE="https://github.com/libuv/libuv"
|
||||
SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD BSD-2 ISC MIT"
|
||||
SLOT="0/1"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="static-libs"
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="sys-devel/libtool
|
||||
virtual/pkgconfig[${MULTILIB_USEDEP}]"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
echo "m4_define([UV_EXTRA_AUTOMAKE_FLAGS], [serial-tests])" \
|
||||
> m4/libuv-extra-automake-flags.m4 || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myeconfargs=(
|
||||
cc_cv_cflags__g=no
|
||||
$(use_enable static-libs static)
|
||||
)
|
||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
mkdir "${BUILD_DIR}"/test || die
|
||||
cp -pPR "${S}"/test/fixtures "${BUILD_DIR}"/test/fixtures || die
|
||||
default
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
prune_libtool_files
|
||||
}
|
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
DIST Net_SmartIRC-1.1.10.tar.gz 927009 BLAKE2B b410a0b4a02e60e27860f9c6b0ab8fecf4874273601694ad61dcf88a2e916aee20d1858cf951fffb229f4eac0c0ddda55530bb6840da3c7b741cf9ee3971f7b2 SHA512 16ad30d358af99f40c53a75cf5f1c944a3e68f4c1cffd586acd61ceed280d5d1fcd4f4d5e88db55f1f66c37c5b7f37aec2f45a26dc6b98860eacb42c9f3fbea5
|
||||
DIST Net_SmartIRC-1.1.11.tgz 165935 BLAKE2B fd178858d3410efb0a3f772f653200063b2131c8e2c848b91d000096bc823df60afea5656c83aa6890b8a81dae5b9dddf8c7a2e065ca7e851cd139a82b1adcb9 SHA512 280c7ab9cd9ac263d7ecad26aabfd9ff3e2c2727794e85c944985139fc7b1c57288b3b02de07ab1139dcd58eb7f12ac47be41601661ea05fcf2b53d780183054
|
||||
DIST Net_SmartIRC-1.1.12.tgz 166039 BLAKE2B 43aec437de08d6e0dd651b810b21b5fed5587e2e7e154fe4f078cc618ee501c3d962b824931558458895541ddc9dc46ec3b1f0356aac5b052dd63b498018bb47 SHA512 2da5f0f9ea9167dfd1490fb6ba1e97416c78389924f390030ba71ea28dc5b667451223daa7e3878cbae607159054d656534ff646636f8f5294eb0bda1b17074c
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST propro-1.0.2.tgz 13393 BLAKE2B c451ad6e1e0f93308497514de22a949dfbbea54e326c18688d6883aeb4d6adb920c42adfa458faf4c350755da72c1db06f77efc408fbc182fbb950e2f8b33302 SHA512 a4a3216d13c412051c063e0370c5f0badb65aa7054a43b0f6eb387a7a5fbbba1800b7f5f5113ba68ca8c7fe19932184a069864d1362239c71e0f55466c9cc8eb
|
||||
DIST propro-2.0.1.tgz 13399 BLAKE2B 88b099602ed19da96570c6b65981158d1f8f335470e6cd7afa517844a71258b04d9cb294bf91c15a23bbc016b303b2e42a2dea263808e0ed92905ba9ba47247f SHA512 c5a5f7c1fdf042d49597df789dc2b2e4e1512e7320a3a39cad344a9dfa3b9253b4a98d2f33e10e04ee608e5b8d1e1b50238787510db0a0f99d8f8b45b91c5c22
|
||||
DIST propro-2.1.0.tgz 14253 BLAKE2B 44c9bde831486fa41520ce75b313865b90a057acd0d566ae7e5c2aca97240e089580ca79ef04842a57a5d8eb76a179e57c505e977913567c1e97260f87fe2165 SHA512 94fc97f7bf17661ec7ecbe4d13b4fc98b8381469140d121fef49d32a4b767e956ed87b9f5bbb794f27ca47ce4b7b3125ea2b9091eb9d1f0a52b5c8f9df7ee145
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST redis-3.1.6.tgz 199920 BLAKE2B 00aa81cdbedc03b4a672a58be98d8f01d2076038622b9d1e9673c0628c096152f12f9f5ff540af639da73b4458fcb1fce9c1c8b49a95db48970bab07806ac8d0 SHA512 4263d150c93f11dd06587925ad9a3cd8fbba2e4a18b2f23e6adfaeb25d566a1c2d256551a50ae1b9c770fd0f9bc4c92f483c46d60be9d4f5b5ba056231b7d527
|
||||
DIST redis-4.0.0.tgz 212340 BLAKE2B 996138b3dd92e839fbebaf5d562cfbe90e66384233c83612c8726fa41f10c106d0195c87449fc7886b3e832fd551b962ef50c161372c04c899c9fe7fd1140101 SHA512 e4bf2294f696e468174c0fff9ed33831cf81c3548ce30ede01bc3c45a15cb87b9b9ea02899c451f63211be8cb37e953be138e93c16d9e0f12772b7b6d03e8dcd
|
||||
DIST redis-4.0.2.tgz 212617 BLAKE2B 5778cf08e93fe8343e8fa07f1314c39b2d6d9a150d70c5b2084274afb163f1132a4be81385563f74d3b1d8f2dc32bf6578e98a123b43a941635fd85ebb229771 SHA512 3b296926ddd6a69a4d633da8bf6257c9b2962dffb4dd38c20eaf821a8c64262b476a7fb10ab4412ceb2d1307aef26c3d1d4b72141d29dab262d521a08df13a6a
|
||||
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PHP_EXT_NAME="redis"
|
||||
USE_PHP="php5-6 php7-0 php7-1 php7-2"
|
||||
DOCS=( arrays.markdown cluster.markdown README.markdown CREDITS )
|
||||
MY_P="${PN/pecl-/}-${PV/_rc/RC}"
|
||||
PHP_EXT_PECL_FILENAME="${MY_P}.tgz"
|
||||
PHP_EXT_S="${WORKDIR}/${MY_P}"
|
||||
|
||||
inherit php-ext-pecl-r3
|
||||
|
||||
DESCRIPTION="PHP extension for interfacing with Redis"
|
||||
LICENSE="PHP-3.01"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
IUSE="igbinary +session"
|
||||
|
||||
DEPEND="
|
||||
php_targets_php5-6? ( dev-lang/php:5.6[session?] igbinary? ( dev-php/igbinary[php_targets_php5-6] ) )
|
||||
php_targets_php7-0? ( dev-lang/php:7.0[session?] igbinary? ( dev-php/igbinary[php_targets_php7-0] ) )
|
||||
php_targets_php7-1? ( dev-lang/php:7.1[session?] igbinary? ( dev-php/igbinary[php_targets_php7-1] ) )
|
||||
php_targets_php7-2? ( dev-lang/php:7.2[session?] igbinary? ( dev-php/igbinary[php_targets_php7-2] ) )
|
||||
"
|
||||
RDEPEND="${DEPEND} !dev-php/pecl-redis:7"
|
||||
|
||||
# The test suite requires network access.
|
||||
RESTRICT=test
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
local PHP_EXT_ECONF_ARGS=(
|
||||
--enable-redis
|
||||
$(use_enable igbinary redis-igbinary)
|
||||
$(use_enable session redis-session)
|
||||
)
|
||||
php-ext-source-r3_src_configure
|
||||
}
|
||||
|
||||
src_test(){
|
||||
local slot
|
||||
for slot in $(php_get_slots); do
|
||||
php_init_slot_env "${slot}"
|
||||
# Run tests for Redis class
|
||||
${PHPCLI} -d extension=modules/redis.so \
|
||||
tests/TestRedis.php \
|
||||
--class Redis \
|
||||
--host ${PECL_REDIS_HOST} || die 'test suite failed'
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "The 4.0 release comes with breaking API changes."
|
||||
elog "Be sure to verify any applications upon upgrading."
|
||||
}
|
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue