Sync with portage [Sun Mar 26 12:23:34 MSK 2017].

mhiretskiy 825
root 7 years ago
parent b70d10ca4c
commit a76b782d41

@ -0,0 +1,190 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils linux-info readme.gentoo-r1
DESCRIPTION="An advanced, highly configurable system monitor for X"
HOMEPAGE="https://github.com/brndnmtthws/conky"
SRC_URI="https://github.com/brndnmtthws/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3 BSD LGPL-2.1 MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86"
IUSE="apcupsd audacious cmus curl eve hddtemp ical iconv imlib iostats ipv6 irc
lua-cairo lua-imlib lua-rsvg math moc mpd mysql nano-syntax ncurses
nvidia +portmon pulseaudio rss systemd thinkpad truetype vim-syntax
weather-metar weather-xoap webserver wifi X xmms2"
DEPEND_COMMON="
X? (
imlib? ( media-libs/imlib2[X] )
lua-cairo? (
>=dev-lua/toluapp-1.0.93
x11-libs/cairo[X] )
lua-imlib? (
>=dev-lua/toluapp-1.0.93
media-libs/imlib2[X] )
lua-rsvg? (
>=dev-lua/toluapp-1.0.93
gnome-base/librsvg )
nvidia? ( || ( x11-drivers/nvidia-drivers[tools,static-libs] media-video/nvidia-settings ) )
truetype? ( x11-libs/libXft >=media-libs/freetype-2 )
x11-libs/libX11
x11-libs/libXdamage
x11-libs/libXinerama
x11-libs/libXfixes
x11-libs/libXext
audacious? ( >=media-sound/audacious-1.5 dev-libs/glib:2 )
xmms2? ( media-sound/xmms2 )
)
cmus? ( media-sound/cmus )
curl? ( net-misc/curl )
eve? ( net-misc/curl dev-libs/libxml2 )
ical? ( dev-libs/libical )
iconv? ( virtual/libiconv )
irc? ( net-libs/libircclient )
mysql? ( >=virtual/mysql-5.0 )
ncurses? ( sys-libs/ncurses:= )
pulseaudio? ( media-sound/pulseaudio )
rss? ( dev-libs/libxml2 net-misc/curl dev-libs/glib:2 )
systemd? ( sys-apps/systemd )
wifi? ( net-wireless/wireless-tools )
weather-metar? ( net-misc/curl )
weather-xoap? ( dev-libs/libxml2 net-misc/curl )
webserver? ( net-libs/libmicrohttpd )
>=dev-lang/lua-5.1.4-r8:0
"
RDEPEND="
${DEPEND_COMMON}
apcupsd? ( sys-power/apcupsd )
hddtemp? ( app-admin/hddtemp )
moc? ( media-sound/moc )
nano-syntax? ( app-editors/nano )
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
"
DEPEND="
${DEPEND_COMMON}
app-text/docbook2X
"
CONFIG_CHECK=~IPV6
DOCS=( README.md TODO ChangeLog NEWS AUTHORS )
PATCHES=( "${FILESDIR}"/${P}-new_graph-oor.patch )
DISABLE_AUTOFORMATTING="yes"
DOC_CONTENTS="You can find sample configurations at ${ROOT%/}/usr/share/doc/${PF}.
To customize, copy to ${XDG_CONFIG_HOME}/conky/conky.conf
and edit it to your liking.
There are pretty html docs available at the conky homepage
or in ${ROOT%/}/usr/share/doc/${PF}/html.
Also see https://wiki.gentoo.org/wiki/Conky/HOWTO"
pkg_setup() {
use ipv6 && linux-info_pkg_setup
}
src_prepare() {
default
sed -i -e "s|find_program(APP_MAN man)|set(APP_MAN $(which man) CACHE FILEPATH MAN_BINARY)|" \
cmake/ConkyPlatformChecks.cmake || die
}
src_configure() {
local mycmakeargs
if use X; then
mycmakeargs=(
-DBUILD_X11=ON
-DOWN_WINDOW=ON
-DBUILD_XDAMAGE=ON
-DBUILD_XINERAMA=ON
-DBUILD_XDBE=ON
-DBUILD_XFT=$(usex truetype)
-DBUILD_IMLIB2=$(usex imlib)
-DBUILD_XSHAPE=ON
-DBUILD_ARGB=ON
-DBUILD_LUA_CAIRO=$(usex lua-cairo)
-DBUILD_LUA_IMLIB2=$(usex lua-imlib)
-DBUILD_LUA_RSVG=$(usex lua-rsvg)
-DBUILD_NVIDIA=$(usex nvidia)
-DBUILD_AUDACIOUS=$(usex audacious)
-DBUILD_XMMS2=$(usex xmms2)
)
else
mycmakeargs=(
-DBUILD_X11=OFF
-DBUILD_NVIDIA=OFF
-DBUILD_LUA_CAIRO=OFF
-DBUILD_LUA_IMLIB2=OFF
-DBUILD_LUA_RSVG=OFF
-DBUILD_AUDACIOUS=OFF
-DBUILD_XMMS2=OFF
)
fi
mycmakeargs+=(
-DBUILD_APCUPSD=$(usex apcupsd)
-DBUILD_CMUS=$(usex cmus)
-DBUILD_CURL=$(usex curl)
-DBUILD_EVE=$(usex eve)
-DBUILD_HDDTEMP=$(usex hddtemp)
-DBUILD_IOSTATS=$(usex iostats)
-DBUILD_ICAL=$(usex ical)
-DBUILD_ICONV=$(usex iconv)
-DBUILD_IPV6=$(usex ipv6)
-DBUILD_IRC=$(usex irc)
-DBUILD_MATH=$(usex math)
-DBUILD_MOC=$(usex moc)
-DBUILD_MPD=$(usex mpd)
-DBUILD_MYSQL=$(usex mysql)
-DBUILD_NCURSES=$(usex ncurses)
-DBUILD_PORT_MONITORS=$(usex portmon)
-DBUILD_PULSEAUDIO=$(usex pulseaudio)
-DBUILD_RSS=$(usex rss)
-DBUILD_JOURNAL=$(usex systemd)
-DBUILD_IBM=$(usex thinkpad)
-DBUILD_WEATHER_METAR=$(usex weather-metar)
-DBUILD_WEATHER_XOAP=$(usex weather-xoap)
-DBUILD_HTTP=$(usex webserver)
-DBUILD_WLAN=$(usex wifi)
-DBUILD_BUILTIN_CONFIG=ON
-DBUILD_OLD_CONFIG=ON
-DBUILD_I18N=ON
-DMAINTAINER_MODE=ON
-DRELEASE=ON
-DBUILD_BMPX=OFF
-DDOC_PATH=/usr/share/doc/${PF}
)
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
if use vim-syntax; then
insinto /usr/share/vim/vimfiles/ftdetect
doins "${S}"/extras/vim/ftdetect/conkyrc.vim
insinto /usr/share/vim/vimfiles/syntax
doins "${S}"/extras/vim/syntax/conkyrc.vim
fi
if use nano-syntax; then
insinto /usr/share/nano/
doins "${S}"/extras/nano/conky.nanorc
fi
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}

@ -12,7 +12,7 @@ SRC_URI="https://tarballs.openstack.org/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
KEYWORDS="amd64 ~arm64 x86"
IUSE="doc mysql postgres +sqlite +swift"
REQUIRED_USE="|| ( mysql postgres sqlite )"

@ -1,3 +1,4 @@
DIST perl-cleaner-2.20.tar.bz2 6704 SHA256 ecc3b160d01466a5c9a070e12f3e11719bedb45a92a2ea0227d745be6b77cf64 SHA512 29888b4ee19a186ddaa1209d893ac57bed683b551546f63aeb874f8cc1fcab4ea0b0401247968aed0fb3b9a7d7196a803d6713e85b44cb94bc6642a44fbc4cf1 WHIRLPOOL 2ea9ca19738e8dd3bed076051efbccd1cced25b768ee8e95843c885b9057e1c6960247dd8f867b8ef7ab11ffffaddbedbcc01f20023203f4d3cbe7f09fd01e51
DIST perl-cleaner-2.22.tar.bz2 6407 SHA256 fed20de199e178012380e436f06668705746ae16e84fbc15b23653cc07bf5bbb SHA512 a822ea4178e1f36aadcad8c21e1adefe547e2b7c0cfecd34fa53d2d0f7c154ce5bcbb6f8d5a78f633b42842e08ea50cf68c151d97a46529e378dfb6c8fcb7d78 WHIRLPOOL 4025842fcfba7723768b7d5f23f23d0d9970a397a3313fe30d3b04d10e89328257977cba60ad183b4941453bd4dcd727bf871d8206e537ba89dbfa10b3779cad
DIST perl-cleaner-2.23.tar.bz2 6495 SHA256 b7d25021997bd9a98f5df930d16cbaec84d19674e7b0a6eb7727c11725e0f91b SHA512 e0879f75737746479cd1032acfed50f20aad183d834e1e0e9b847edeb14577b32ac8fd4b0f5ff54c03937f181d8f5702c3bd009587a5930d40eee59a13fe6624 WHIRLPOOL 5645da862594cb8b65828ab740f433cb279cb4cac84a3005f8adcced1586b54ff766cfd3bba48fe4eab8b978f4155e29de6701d62c5164bce77cea3f730bd01e
DIST perl-cleaner-2.24.tar.bz2 7161 SHA256 870e09b492e4f725771335512694e7f8fd11ea23cba36d86a89a0ca0075fd1f7 SHA512 c6e32aa3123064e9e2fb02823a8b228e3c77720f5c471e9be51f2a4b2765a6c83dcc2ac24fbffae077f4882c70054eb0a3ca0243677a5ac970cb7a64e8b9c265 WHIRLPOOL 5b8dadc4baf6bee9822f9a062a2e79130366b6f8e10534463d1f30fe6e50a6673ba4fdbbcf7f50c6e97458876728f211b768834ef0017cbfec6647dfe3b5eeea
DIST perl-cleaner-2.25.tar.bz2 7435 SHA256 e2e73243f5292824e9a506ae2037955a9901de498b1f88a9e74bc3ebe80a70a5 SHA512 5ef5682872ce840c0df98de82a6cf622120435f542206a00bb8fe0f9d5e46fb9898a89ab576b08a74b0d69d57a90a930d9f8d7d0b527fa3a928a6e4ddbad6ee9 WHIRLPOOL dd1545321dea22dfd465b7925f20b914b58d05464c83d10eeed96cdc270a0774c8dc81614446a36de7efbf908996c8dfd8c18912adac8bf92c0a4c975791446f

@ -13,7 +13,7 @@ if [[ "${PV}" == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/gentoo-perl/perl-cleaner.git"
else
SRC_URI="mirror://gentoo/${P}.tar.bz2 https://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.bz2"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
LICENSE="GPL-2"

@ -0,0 +1,42 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit prefix
DESCRIPTION="User land tool for cleaning up old perl installs"
HOMEPAGE="https://www.gentoo.org/proj/en/perl/"
if [[ "${PV}" == "9999" ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/gentoo-perl/perl-cleaner.git"
else
SRC_URI="mirror://gentoo/${P}.tar.bz2 https://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.bz2"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
LICENSE="GPL-2"
SLOT="0"
IUSE=""
[[ "${PV}" == "9999" ]] && DEPEND="sys-apps/help2man"
RDEPEND="app-shells/bash
dev-lang/perl
|| (
( sys-apps/portage app-portage/portage-utils )
sys-apps/pkgcore
sys-apps/paludis
)
"
src_prepare() {
default
eprefixify ${PN}
}
src_install() {
dosbin perl-cleaner
doman perl-cleaner.1
}

@ -13,7 +13,7 @@ if [[ "${PV}" == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/gentoo-perl/perl-cleaner.git"
else
SRC_URI="mirror://gentoo/${P}.tar.bz2 https://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.bz2"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
LICENSE="GPL-2"

@ -5,7 +5,7 @@ EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit eutils toolchain-funcs python-single-r1
inherit toolchain-funcs python-single-r1
DESCRIPTION="tools to create and apply deltarpms"
HOMEPAGE="http://gitorious.org/deltarpm/deltarpm"

@ -3,7 +3,7 @@
EAPI=6
inherit autotools versionator toolchain-funcs udev
inherit autotools ltprune versionator toolchain-funcs udev
MY_P=ACR38_LINUX_$(get_version_component_range 1)00$(get_version_component_range 2)$(get_version_component_range 3)_P

@ -3,7 +3,7 @@
EAPI="6"
inherit eutils versionator
inherit versionator
MY_PV="$(replace_version_separator 2 -)"

@ -3,7 +3,7 @@
EAPI="6"
inherit eutils linux-mod toolchain-funcs versionator
inherit linux-mod toolchain-funcs versionator
MY_PN="BestCrypt"
DESCRIPTION="commercially licensed transparent filesystem encryption"

@ -3,8 +3,6 @@
EAPI=6
inherit eutils
DESCRIPTION="Tool to read the contents of smartcards"
HOMEPAGE="http://pannetrat.com/Cardpeek"
SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz"

@ -5,7 +5,7 @@ EAPI=6
STUPID_NUM="4205"
inherit eutils toolchain-funcs udev
inherit toolchain-funcs udev
DESCRIPTION="CCID free software driver"
HOMEPAGE="http://pcsclite.alioth.debian.org/ccid.html"

@ -1,10 +1,8 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils
PATCHVER="003"
DESCRIPTION="Linux Driver support for the CoolKey and CAC products"

@ -3,8 +3,6 @@
EAPI=6
inherit eutils
DESCRIPTION="An advanced suite for testing the randomness of RNG's"
HOMEPAGE="http://www.phy.duke.edu/~rgb/General/dieharder.php"
SRC_URI="http://www.phy.duke.edu/~rgb/General/${PN}/${P}.tgz"

@ -3,7 +3,7 @@
EAPI="6"
inherit eutils flag-o-matic toolchain-funcs
inherit toolchain-funcs
DESCRIPTION="The GNU Privacy Guard, a GPL OpenPGP implementation"
HOMEPAGE="http://www.gnupg.org/"
@ -111,7 +111,6 @@ src_install() {
tools/{convert-from-106,gpg-check-pattern} \
tools/{gpg-zip,gpgconf,gpgsplit,lspgpot,mail-signed-keys} \
tools/make-dns-cert
emake DESTDIR="${ED}" -f doc/Makefile uninstall-nobase_dist_docDATA
dosym gpg2 /usr/bin/gpg
dosym gpgv2 /usr/bin/gpgv

@ -3,7 +3,7 @@
EAPI="5"
inherit eutils libtool
inherit eutils libtool ltprune
DESCRIPTION="GnuPG Made Easy is a library for making GnuPG easier to use"
HOMEPAGE="http://www.gnupg.org/related_software/gpgme"

@ -6,7 +6,7 @@ EAPI="6"
PYTHON_COMPAT=( python2_7 python3_{4,5} )
DISTUTILS_OPTIONAL=1
inherit distutils-r1 eutils flag-o-matic qmake-utils
inherit distutils-r1 flag-o-matic ltprune qmake-utils
DESCRIPTION="GnuPG Made Easy is a library for making GnuPG easier to use"
HOMEPAGE="http://www.gnupg.org/related_software/gpgme"

@ -3,7 +3,7 @@
EAPI="6"
inherit eutils toolchain-funcs
inherit toolchain-funcs
DESCRIPTION="GPGstats calculates statistics on the keys in your key-ring"
HOMEPAGE="http://www.vanheusden.com/gpgstats/"

@ -3,7 +3,7 @@
EAPI="6"
inherit eutils autotools toolchain-funcs libtool flag-o-matic
inherit autotools toolchain-funcs libtool flag-o-matic
MY_PV="${PV/_/-}"
MY_P="util-linux-${MY_PV}"
@ -25,9 +25,12 @@ DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
virtual/os-headers"
PATCHES=(
"${WORKDIR}/${LOOPAES_P}/util-linux-${PV}.diff"
)
src_prepare() {
default
epatch "${WORKDIR}/${LOOPAES_P}/util-linux-${PV}.diff"
eautoreconf
}

@ -3,8 +3,6 @@
EAPI="6"
inherit eutils
DESCRIPTION="A C implementation of MD6"
HOMEPAGE="http://groups.csail.mit.edu/cis/md6"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

@ -3,7 +3,7 @@
EAPI="6"
inherit eutils toolchain-funcs
inherit toolchain-funcs
DESCRIPTION="A MD4/MD5/NTML hashes bruteforcer"
HOMEPAGE="http://mdcrack.df.ru/"

@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils
inherit ltprune
DESCRIPTION="library providing a uniform interface to a large number of hash algorithms"
HOMEPAGE="http://mhash.sourceforge.net/"

@ -3,7 +3,7 @@
EAPI=6
inherit autotools eutils
inherit autotools ltprune
MY_P="${P/-tpm-/_tpm_}"

@ -3,7 +3,7 @@
EAPI=6
inherit eutils multilib-minimal
inherit ltprune multilib-minimal
DESCRIPTION="Provides a standard configuration setup for installing PKCS#11"
HOMEPAGE="https://p11-glue.freedesktop.org/p11-kit.html"

@ -3,7 +3,7 @@
EAPI=5
inherit eutils multilib-minimal
inherit ltprune multilib-minimal
DESCRIPTION="Provides a standard configuration setup for installing PKCS#11"
HOMEPAGE="https://p11-glue.freedesktop.org/p11-kit.html"

@ -3,7 +3,7 @@
EAPI=6
inherit eutils multilib-minimal
inherit ltprune multilib-minimal
DESCRIPTION="Provides a standard configuration setup for installing PKCS#11"
HOMEPAGE="https://p11-glue.freedesktop.org/p11-kit.html https://github.com/p11-glue/p11-kit"

@ -1,8 +1,9 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit eutils toolchain-funcs
EAPI=6
inherit toolchain-funcs
DESCRIPTION="Tool for recovering passwords and content from PDF-files"
HOMEPAGE="http://pdfcrack.sourceforge.net/"
@ -13,9 +14,9 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
src_prepare() {
epatch "${FILESDIR}"/${PN}-0.14-cflags.patch
}
PATCHES=(
"${FILESDIR}/${PN}-0.14-cflags.patch"
)
src_compile() {
emake CC="$(tc-getCC)"

@ -3,7 +3,7 @@
EAPI=6
inherit autotools qmake-utils multilib eutils flag-o-matic toolchain-funcs
inherit autotools qmake-utils multilib flag-o-matic toolchain-funcs
DESCRIPTION="Simple passphrase entry dialogs which utilize the Assuan protocol"
HOMEPAGE="http://gnupg.org/aegypten2/index.html"

@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils
DESCRIPTION="Hash cracker that precomputes plaintext - ciphertext pairs in advance"
@ -28,7 +29,7 @@ DOCS=(
)
src_unpack() {
unpack ${A}
default
mv ${P}-linux* "${S}"
}

@ -3,7 +3,7 @@
EAPI=6
inherit autotools eutils libtool
inherit autotools ltprune
DESCRIPTION="A PKCS #11 module for OpenPGP smartcards"
HOMEPAGE="http://www.scute.org/"

@ -3,7 +3,7 @@
EAPI="6"
inherit eutils toolchain-funcs autotools
inherit toolchain-funcs autotools
DESCRIPTION="A collection of several tools related to OpenPGP"
HOMEPAGE="http://pgp-tools.alioth.debian.org/"
@ -26,6 +26,7 @@ RDEPEND="${DEPEND}
net-mail/qprint
>=dev-perl/MailTools-1.62
dev-perl/Net-IDN-Encode
app-crypt/libmd
virtual/mailx
virtual/mta
|| (

@ -3,7 +3,7 @@
EAPI=6
inherit autotools eutils flag-o-matic
inherit autotools flag-o-matic ltprune
DESCRIPTION="TrouSerS' support tools for the Trusted Platform Modules"
HOMEPAGE="http://trousers.sourceforge.net"

@ -3,7 +3,7 @@
EAPI=6
inherit autotools eutils linux-info readme.gentoo-r1 systemd user udev
inherit autotools linux-info ltprune readme.gentoo-r1 systemd user udev
DESCRIPTION="An open-source TCG Software Stack (TSS) v1.1 implementation"
HOMEPAGE="http://trousers.sf.net"

@ -3,7 +3,7 @@
EAPI="6"
inherit eutils flag-o-matic toolchain-funcs autotools
inherit flag-o-matic toolchain-funcs autotools
DESCRIPTION="A GUI to OpenSSL, RSA public keys, certificates, signing requests etc"
HOMEPAGE="http://xca.sourceforge.net"
@ -20,7 +20,10 @@ RDEPEND="
!libressl? ( dev-libs/openssl:0=[bindist=] )
libressl? ( dev-libs/libressl:0= )
doc? ( app-text/linuxdoc-tools )
qt5? ( dev-qt/qtgui:5 )
qt5? (
dev-qt/qtgui:5
dev-qt/qtwidgets:5
)
qt4? ( dev-qt/qtgui:4 )"
DEPEND="${RDEPEND}"

@ -24,9 +24,13 @@ RDEPEND="|| ( >=app-emulation/virtualbox-5.0.28 >=app-emulation/virtualbox-bin-5
dev-libs/openssl
dev-qt/qtgui:5[libinput,xcb]
dev-qt/qtsql:5[sqlite]
dev-qt/qtwebkit:5
dev-qt/qtsvg:5
dev-qt/qtx11extras:5
dev-qt/qtdeclarative:5
dev-qt/qtconcurrent:5
dev-util/android-sdk-update-manager
media-libs/jpeg:8
dev-libs/protobuf:0/9
dev-libs/double-conversion
sys-apps/util-linux
media-libs/fontconfig:1.0
@ -35,6 +39,7 @@ RDEPEND="|| ( >=app-emulation/virtualbox-5.0.28 >=app-emulation/virtualbox-bin-5
media-libs/gstreamer[orc]
"
RESTRICT="bindist fetch"
S="${WORKDIR}"
pkg_nofetch() {
einfo
@ -43,18 +48,18 @@ pkg_nofetch() {
einfo
}
pkg_setup() {
# removed function _install_desktop_file because happens outside of sandbox
sed -i -e "s/_install_desktop_file\ ||\ abort//" "${DISTDIR}"/${A} || die "sed failed"
chmod +x "${DISTDIR}"/${A} || die "chmod failed"
}
src_unpack() {
yes | "${DISTDIR}"/${A} -d "${S}" > /dev/null || die "unpack failed"
cp "${DISTDIR}/${A}" "${WORKDIR}" || die "cp failed"
}
src_prepare() {
default
# removed function _install_desktop_file because happens outside of sandbox
sed -i -e "s/_install_desktop_file\ ||\ abort//" ${A} || die "sed failed"
chmod +x ${A} || die "chmod failed"
yes | ./${A} -d "${S}" > /dev/null || die "unpack failed"
# removed windows line for bashcompletion
sed -i -e "s/complete\ -F\ _gmtool\ gmtool.exe//" "${S}/${MY_PN}/completion/bash/gmtool.bash" || die "sed failed"
}
@ -77,7 +82,7 @@ src_install() {
doins "${MY_PN}"/{libcom,librendering}.so*
# library that differ from system version
doins "${MY_PN}"/{libicudata,libicui18n,libicuuc,libswscale,libavutil}.so*
doins "${MY_PN}"/{libicudata,libicui18n,libicuuc,libswscale,libavutil,libprotobuf}.so*
# android library
doins "${MY_PN}"/{libEGL_translator,libGLES_CM_translator,libGLES_V2_translator,libOpenglRender}.so*
@ -104,3 +109,12 @@ src_install() {
make_desktop_entry "/opt/${MY_PN}/${MY_PN}" "Genymotion ${PV}" "/opt/${MY_PN}/icons/icon.png" "Development;Emulator;"
mv "${ED%/}"/usr/share/applications/*.desktop "${ED%/}"/usr/share/applications/"${MY_PN}".desktop || die "mv failed"
}
pkg_postinst() {
elog "Genymotion needs adb to work correctly: install with android-sdk-update-manager"
elog "'Android SDK Platform-tools' and 'Android SDK Tools'"
elog "Your user should also be in the android group to work correctly"
elog "Then in Genymotion set the android-sdk-update-manager directory: (Settings->ADB)"
elog
elog " /opt/android-sdk-update-manager"
}

@ -30,7 +30,7 @@ SRC_URI="${MIRROR}/opencl.h.${CL_ABI}.xz
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc x86 ~amd64-fbsd ~x86-fbsd"
KEYWORDS="amd64 x86 ~amd64-fbsd ~x86-fbsd"
IUSE=""
DEPEND="app-arch/xz-utils"

@ -25,7 +25,7 @@ SRC_URI="https://github.com/anyc/opencl-headers/archive/opencl-headers-1.2.tar.g
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-fbsd ~x86-fbsd"
KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd"
IUSE=""
DEPEND="app-arch/xz-utils"

@ -25,7 +25,7 @@ SRC_URI="https://github.com/anyc/opencl-headers/archive/opencl-headers-1.2.tar.g
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-fbsd ~x86-fbsd"
KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd"
IUSE=""
DEPEND="app-arch/xz-utils"

@ -30,7 +30,7 @@ SRC_URI="
"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-fbsd ~x86-fbsd"
KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd"
IUSE=""
DEPEND="app-arch/xz-utils"

@ -3,7 +3,7 @@
EAPI=6
inherit eutils multilib systemd udev
inherit multilib systemd udev
MY_P="${PN}_${PV}"

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@ -10,7 +10,7 @@ HOMEPAGE="https://www.kde.org/"
LICENSE="GPL-2"
SLOT="4"
KEYWORDS="~amd64 ~arm ~x86"
KEYWORDS="amd64 ~arm ~x86"
IUSE="doc"
DEPEND="sys-devel/gettext"

@ -36,7 +36,7 @@ LICENSE="GPL-2"
SLOT="4"
if [[ ${KDE_BUILD_TYPE} == release ]] ; then
KEYWORDS="~amd64 ~arm ~x86"
KEYWORDS="amd64 ~arm ~x86"
fi
IUSE="color-management +crypt +eigen +exif fftw +fontconfig freetds +glew +glib
@ -219,3 +219,10 @@ src_configure() {
kde4-base_src_configure
}
src_install() {
kde4-base_src_install
# bug 613414
QA_DT_NEEDED="usr/lib64/libkoversion.so.14.0.0"
}

@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@ -10,7 +10,7 @@ SRC_URI="https://github.com/mgorny/cpuid2cpuflags/releases/download/v${PV}/${MY_
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
KEYWORDS="amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
IUSE=""
S=${WORKDIR}/${MY_P}

@ -14,6 +14,16 @@ IUSE=""
DEPEND="app-arch/xz-utils"
# How to create a snapshot and upload it to your dev-space:
#
# mkdir eclass-manpages-$(date +%Y%m%d)
# cp "$(portageq get_repo_path / gentoo)"/eclass/*.eclass eclass-manpages-$(date +%Y%m%d)/
# tar -cf eclass-manpages-$(date +%Y%m%d).tar eclass-manpages-$(date +%Y%m%d)
# xz -9e eclass-manpages-$(date +%Y%m%d).tar
# scp eclass-manpages-$(date +%Y%m%d).tar.xz dev.gentoo.org:public_html/dist/
#
# Then copy the ebuild and update your name in SRC_URI ;-).
src_compile() {
env ECLASSDIR="${S}" bash "${FILESDIR}"/eclass-to-manpage.sh || die
}

@ -12,6 +12,8 @@ SLOT="0"
KEYWORDS=""
IUSE=""
DEPEND="sys-apps/portage"
S=${WORKDIR}
genit() {

@ -0,0 +1 @@
DIST elt-patches-20170317.tar.xz 23356 SHA256 24d2665ba560d01160b955ecf46a17433ee879960e3d914698be170b6698dad4 SHA512 28da9a214cd2bccebad45f464a414fedf80fc6b497d1f6b8f30a0a67570a614065ef67ce43316872d94a144de1a154ecd164a47009ebcd7d39128ccc2dd39618 WHIRLPOOL 944e2a1a92485a93b1b236047d8c6394c76b8b68242f8bf3f683511c0357ee351a2823e77707e2737ea247873fd88287120c3fc3af4ed28488bfafb13a0b163b

@ -0,0 +1,20 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="Collection of patches for libtool.eclass"
HOMEPAGE="https://gitweb.gentoo.org/proj/elt-patches.git/"
SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-aix ~amd64-linux ~arm-linux ~arm64-linux ~ppc64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt ~x64-cygwin ~x86-cygwin"
IUSE=""
DEPEND="app-arch/xz-utils"
src_install() {
insinto /usr/share/elt-patches
doins -r .
}

@ -2,7 +2,6 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>gstreamer@gentoo.org</email>
<name>GStreamer package maintainers</name>
<email>base-system@gentoo.org</email>
</maintainer>
</pkgmetadata>

@ -1 +1,2 @@
DIST kbibtex-0.6.2.tar.xz 3081364 SHA256 d99e419aec1d3af0a57eba6d7498de4e6be25ddbd5a5e56fc9de09e7e17dcdf3 SHA512 aa23e80cb273c0ae721ecc917f540070deea520fea2d7ca7ee97fde2c6918dba84769ad083fed93b9d0260539273c20c214b92c94269b413f46cb644d16dc270 WHIRLPOOL 4ab308a8a44df4f3e3a485a67b265ecaf28d2c4a9e4e126d5ab4b95eac12ecacdd3b49bd03f67167a358d86b8359d758e3c4cbc72bd5eed8c10873d181f7e32e
DIST kbibtex-0.6.tar.xz 2430176 SHA256 fc67a376f05105f14a0bee595bfd073a1ef2c7f9fc6be35dc620bb34f3bd9656 SHA512 a6943271df529c15be8a3112ccbe2c64ccff4cc942c846f00447f7a40bb3e6a6408af12fafe201143a8cf0288ec5ea13da1abab5d870fea6d0516bf5c4543b60 WHIRLPOOL e679f3907fb3041e0680aee1f3f7e0a299fce648c5c1b81663de49ce9d77351dfde8165048cd92c2a5ba7139f8d67d5a9a4eb5f37c393e19006fba4bd5dcd98e

@ -0,0 +1,109 @@
commit 2cd09d41ed559461a0f0a346ebec3dea82c06947
Author: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
Date: Sat Jan 21 18:26:46 2017 +0100
Add option to disable Qt4WebKit even if present
- Link against Qt4WebKit only if(HAVE_WEBKIT)
- Remove Qt4WebKit linking from tests
REVIEW: 129863
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ee3d810..1acbf8a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -48,6 +48,12 @@ set(
)
option(
+ WITH_QTWEBKIT
+ "Enable QtWebkit support"
+ ON
+)
+
+option(
UNITY_BUILD
"Compile multiple C++ files in one big, merged file (\"Unity build\")\nSee also http://t-fischer.dreamwidth.org/3054.html"
)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 04222a7..0b7be01 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -37,24 +37,41 @@ include(
# check if QtWebKit is available, which seems to be not available
# on e.g. RedHat Enterprise Linux 6 or Scientific Linux 6
if(
- QT_QTWEBKIT_FOUND
+ WITH_QTWEBKIT
)
- message(
- STATUS
- "Found QtWebKit, enabling WebKit support"
+ if(
+ QT_QTWEBKIT_FOUND
+ )
+ message(
+ STATUS
+ "Found QtWebKit, enabling WebKit support"
+ )
+ add_definitions(
+ -DHAVE_QTWEBKIT
+ )
+ set(
+ OPTIONAL_QTWEBKIT_LIBRARIES
+ ${QT_QTWEBKIT_LIBRARIES}
+ )
+ else(
+ QT_QTWEBKIT_FOUND
)
- add_definitions(
- -DHAVE_QTWEBKIT
+ message(
+ STATUS
+ "QtWebKit not found, disabling WebKit support"
+ )
+ endif(
+ QT_QTWEBKIT_FOUND
)
else(
- QT_QTWEBKIT_FOUND
+ WITH_QTWEBKIT
)
message(
STATUS
- "QtWebKit not found, disabling WebKit support"
+ "QtWebKit support disabled by configure"
)
endif(
- QT_QTWEBKIT_FOUND
+ WITH_QTWEBKIT
)
add_definitions(
diff --git a/src/networking/CMakeLists.txt b/src/networking/CMakeLists.txt
index efa14f4..f7ade08 100644
--- a/src/networking/CMakeLists.txt
+++ b/src/networking/CMakeLists.txt
@@ -131,7 +131,7 @@ target_link_libraries(
kbibtexnetworking
LINK_PRIVATE
${QT_QTCORE_LIBRARY}
- ${QT_QTWEBKIT_LIBRARY}
+ ${OPTIONAL_QTWEBKIT_LIBRARIES}
${KDE4_KDECORE_LIBS}
${KDE4_KIO_LIBS}
${POPPLER_QT4_LIBRARIES}
diff --git a/src/program/CMakeLists.txt b/src/program/CMakeLists.txt
index a9fe213..fa57506 100644
--- a/src/program/CMakeLists.txt
+++ b/src/program/CMakeLists.txt
@@ -65,7 +65,7 @@ kde4_add_executable(
target_link_libraries(
kbibtex
LINK_PRIVATE
- ${QT_QTWEBKIT_LIBRARIES}
+ ${OPTIONAL_QTWEBKIT_LIBRARIES}
${KDE4_KIO_LIBS}
${KDE4_KPARTS_LIBS}
${KDE4_KFILE_LIBS}

@ -0,0 +1,39 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
WEBKIT_REQUIRED="optional"
inherit kde4-base
DESCRIPTION="BibTeX editor by KDE to edit bibliographies used with LaTeX"
HOMEPAGE="http://home.gna.org/kbibtex/"
SRC_URI="http://download.gna.org/${PN}/0.6/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="4"
KEYWORDS="~amd64 ~x86"
IUSE="debug"
DEPEND="
app-text/poppler[qt4]
dev-libs/libxml2
dev-libs/libxslt
dev-libs/qoauth:0
virtual/tex-base
x11-libs/libqxt
"
RDEPEND="${DEPEND}
dev-tex/bibtex2html
"
PATCHES=( "${FILESDIR}/${P}-webkit.patch" )
src_configure() {
local mycmakeargs=(
-DWITH_QTWEBKIT=$(usex webkit)
)
kde4-base_src_configure
}

@ -1,7 +0,0 @@
DIST asis-3.4.4.tar.bz2 2874938 SHA256 2d3546d04839801ef617005e60ee24be9a0004f8481c70e3ea51a17443d094d5 SHA512 9eed1fbc2fb9fbe5180c3884947280eeb2224a0484940506cbefe528f30b144c85a7a57b4698cc0a7aac919718edd2c74fb2b20f083b05d5ce33fcd8cdaa3830 WHIRLPOOL 57b8713e587e00ae044856f1f28ced3b3ab01a7f4d87b4bec13a8abb68d2999cb8e5a66aff81cc422373993864eae1357353bdc4948e195a0929e4e3827d2e6e
DIST asis-gcc-4.1.1.tar.bz2 2938979 SHA256 712674ad21d21c9aec59e3f4db35cb92b01a6fbc1fc80450f801666f0ac2827e SHA512 5879f8686c4b3dffbf01e1d915f0f8aa63451f230b5206f02b34a3c84c425f8ebb1be9b5fb108deffbbb904341f70547ea56a64165a8818e3bb0dc10441c1cbc WHIRLPOOL 9332e71399711d3f9dcff0fda81d908cf22431afa37ce36a4b859b778d9ce06dcdaf28e9dbc11ce9a9677fdd063ff3801a3ce4cfa7b1f55ebf566db43f398930
DIST asis-gcc-4.1.2.tar.bz2 2617806 SHA256 37466312b6c43ada02b704893b509af449ab1833bc6e3cddea40344cb8972c5e SHA512 235b2a8e1464d6899155521782ef37b7e579d32035d9108d4292c71fde45aea193ada3b76ef06480508e5f4baa677b3f6b76bc4159533b4ec2be30d9db76cd5e WHIRLPOOL 042dc1c935132f99f41407b9b83061a72dd71212e6d4f9bf40c28626aa0725625f98f320eac3437bcb99c2e5e2bcc1cf1b7876c52bc0eb2738f7c659ffb16320
DIST asis-gcc-4.2.2.tar.bz2 2474467 SHA256 5da24ed1cb73845facf062d0c277bbb978fcddf3e5ac2706859205cb8ac875bb SHA512 676106a21d830710258dff25e4a5988903208097ddebbcb9cfcb89aa74b47f8d540c9404e49b0f7816ffc332e6454ea7b6d23922d505c7c65097b6a997473e71 WHIRLPOOL 8b3c013f2b4a6d8f20d694ff3fce3d7abe7354d6bd9eed3aa14e6b1bb47ea960be80d6e7316270b2e209293552a95a3fc4e30f7d449a1a1997d35fcd43f39c4b
DIST asis-gcc-4.3.0_pre132166.tar.bz2 2552217 SHA256 663144c94a3c30ec8d9af16f1b6cb40f271e858d43bdd44a9c170257a5d21263 SHA512 93a201aa11873b12bbb77a04a279aed4d8fc6fd286a5df727f1b90889c43460046ffb2e673caf1581454773edbb25de0250f7083a789859139f4c638bad394ee WHIRLPOOL 0fb4c53a6a3f806587060b3d5e230493c04b0aa6c15946d501d52d401c39bfe034b79122f5b50c94e43a1fbaf42cbebc3f744a8d36dc182c24fad33e1e6dfa6e
DIST asis-gpl-2009-src.tgz 2445137 SHA256 2bc72317de6d5f5274d04ac4366ec0a700268ae84afe8e3311bc9257a0755700 SHA512 723c519eaceffddf58efc8f55c7ef507895abfa6c7e4e196b6cb3b1bc8b2c8f644b397c5d085711e013764e34fa08dd200e8c305026a89f80c188be6e3f714f3 WHIRLPOOL a6820f99ab4563e15162663ca5662e502a2b95b43ec27007533fb8cf7844ae09fcac2cce397cb117a47154236e459881f44dae60517f896f5a74e3c7bb916303
DIST asis-gpl-2010-src.tgz 2784774 SHA256 2e8a94827255fa532c07e54b067655fabebcc0adaaca8a243c3068f6ffa69958 SHA512 cdae7eb661127111f4cab5dfcf3c22e0bc6c49f20fce107786ead3213356f87e9057f4f8025e6417e4503299e632ecb97cc25e94aca6f6034f999a86843ccda7 WHIRLPOOL 30c23e2cc96038df0f7028bd5392c3a8ea08bdcb7e2ede85e35dc4459162f72f7a7d2fdc79c040fda82d93d4348b6e2765f0e28285e36703eae088b4c527cce0

@ -1,153 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
inherit eutils flag-o-matic gnatbuild
DESCRIPTION="The Ada Semantic Interface Specification (tools tied to compiler). GnuAda version"
HOMEPAGE="http://gnuada.sourceforge.net/"
LICENSE="GMGPL"
KEYWORDS="~amd64 x86"
Gnat_Name="gnat-gcc"
My_PN="asis"
My_PV="3.4.4"
SRC_URI="https://dev.gentoo.org/~george/src/${My_PN}-${My_PV}.tar.bz2"
IUSE="doc"
RDEPEND="=dev-lang/gnat-gcc-${PV}*"
DEPEND="${RDEPEND}
doc? ( virtual/latex-base
app-text/texi2html
app-text/ghostscript-gpl )"
S="${WORKDIR}/${My_PN}-${My_PV}"
# Execstack is not nearly as dangerous in Ada as in C and would require a lot of
# work to work around. See bug #141315.
QA_EXECSTACK="usr/$(get_libdir)/gnat-gcc/*/${SLOT}/adalib/libasis-${SLOT}.so
usr/$(get_libdir)/gnat-gcc/*/${SLOT}/adalib/libasis.a
usr/*/gnat-gcc-bin/${SLOT}/*"
# it may be even better to force plain -O2 -pipe -ftracer here
replace-flags -O3 -O2
# we need to adjust some vars defined in gnatbuild.eclass so that they use
# gnat-gcc instead of asis
My_LIBPATH=${LIBPATH/${PN}/${Gnat_Name}}
My_BINPATH=${BINPATH/${PN}/${Gnat_Name}}
My_DATAPATH=${DATAPATH/${PN}/${Gnat_Name}}
pkg_setup() {
currGnat=$(eselect gnat show | grep "gnat-" | awk '{ print $1 }')
if [[ "${currGnat}" != "${CTARGET}-${Gnat_Name}-${SLOT}" ]]; then
echo
eerror "The active gnat profile does not correspond to the selected"
eerror "version of asis! Please install the appropriate gnat (if you"
eerror "did not so yet) and run:"
eerror "eselect gnat set ${CTARGET}-${Gnat_Name}-${SLOT}"
eerror "env-update && source /etc/profile"
eerror "and then emerge =dev-ada/asis-${PV} again.."
echo
die
fi
if [[ -e ${My_LIBPATH}/adalib/libasis.a ]] ; then
echo
ewarn "gnatmake of gnat-gcc unfortunately has problems forcind the build"
ewarn "if the package is already installed."
eerror "Please unmerge asis-gcc first and then resume the merge:"
eerror "emerge --unmerge asis-gcc && emerge asis-gcc"
echo
die
fi
}
src_unpack() {
unpack ${A}
}
src_compile() {
# Build the shared library first, we need -fPIC here
gnatmake -Pasis -cargs ${CFLAGS} || die "building libasis.a failed"
gnatmake -Pasis_dyn -f -cargs ${CFLAGS} || die "building libasis.so failed"
# build tools
# we need version.o generated for all the tools
gcc -c -o obj/version.o gnat/version.c
for fn in asistant gnatelim gnatstub ; do
pushd tools/${fn}
gnatmake -o ${fn} ${fn}-driver.adb -I../../asis/ -I../../gnat/ \
-L../../lib -cargs ${CFLAGS} -largs -lasis ../../obj/version.o \
|| die "building ${fn} failed"
popd
done
pushd tools/adabrowse
gcc -c util-nl.c
gnatmake -I../../asis -I../../gnat adabrowse -L../../lib -cargs ${CFLAGS} \
-largs -lasis ../../obj/version.o || die
popd
pushd tools/semtools
gnatmake -I../../asis -I../../gnat adadep -L../../lib \
-cargs ${CFLAGS} -largs -lasis ../../obj/version.o || die
gnatmake -I../../asis -I../../gnat adasubst -L../../lib \
-cargs ${CFLAGS} -largs -lasis ../../obj/version.o || die
popd
# common stuff is just docs in this case
if use doc; then
pushd documentation
make all || die "Failed while compiling documentation"
for fn in *.ps; do ps2pdf ${fn}; done
popd
fi
}
src_install () {
# install the lib
dodir ${My_LIBPATH}/adalib
chmod 0755 lib_dyn/libasis.so
cp lib_dyn/libasis.so "${D}${My_LIBPATH}"/adalib/libasis-${SLOT}.so
insinto ${My_LIBPATH}/adalib
doins obj/*.ali
doins lib/libasis.a
# make appropriate symlinks
pushd "${D}${My_LIBPATH}"/adalib
ln -s libasis-${SLOT}.so libasis.so
popd
# sources
insinto ${My_LIBPATH}/adainclude
doins gnat/*.ad[sb]
doins asis/*.ad[sb]
# two files are already part of gnat, removing to avoid collision
rm "${D}${My_LIBPATH}"/adainclude/g-string.ad?
# tools
mkdir -p "${D}${My_BINPATH}"
for fn in tools/{adabrowse,asistant,gnatelim,gnatstub}; do
cp ${fn}/${fn:6} "${D}${My_BINPATH}"
done
cp tools/semtools/ada{dep,subst} "${D}${My_BINPATH}"
if use doc; then
# docs and examples
dodoc documentation/*.{txt,ps}
dohtml documentation/*.html
insinto /usr/share/doc/${PF}
doins -r documentation/*.pdf
# info's should go into gnat-gpl dirs
insinto ${My_DATAPATH}/info/
doins documentation/*.info
fi
insinto /usr/share/doc/${PF}
doins -r examples/ tutorial/ templates/
}
pkg_postinst() {
echo
elog "The ASIS is installed for the active gnat compiler at gnat's location."
elog "No further configuration is necessary. Enjoy."
echo
}

@ -1,149 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
inherit eutils flag-o-matic gnatbuild
DESCRIPTION="The Ada Semantic Interface Specification (tools tied to compiler). GnuAda version"
HOMEPAGE="http://gnuada.sourceforge.net/"
LICENSE="GMGPL"
KEYWORDS="amd64 x86"
Gnat_Name="gnat-gcc"
My_PN="asis"
SRC_URI="https://dev.gentoo.org/~george/src/${P}.tar.bz2"
IUSE="doc"
RDEPEND="=dev-lang/gnat-gcc-${PV}*"
DEPEND="${RDEPEND}
doc? ( virtual/latex-base
app-text/texi2html )"
# overwriting gnatboot's S
S="${WORKDIR}/${My_PN}-${PV}"
# Execstack is not nearly as dangerous in Ada as in C and would require a lot of
# work to work around. See bug #141315.
QA_EXECSTACK="usr/lib/gnat-gcc/*/${SLOT}/adalib/libasis-${SLOT}.so
usr/lib/gnat-gcc/*/${SLOT}/adalib/libasis.a
usr/*/gnat-gcc-bin/${SLOT}/*"
# it may be even better to force plain -O2 -pipe here
replace-flags -O3 -O2
# we need to adjust some vars defined in gnatbuild.eclass so that they use
# gnat-gcc instead of asis
My_LIBPATH=${LIBPATH/${PN}/${Gnat_Name}}
My_BINPATH=${BINPATH/${PN}/${Gnat_Name}}
My_DATAPATH=${DATAPATH/${PN}/${Gnat_Name}}
pkg_setup() {
local currGnat=$(eselect gnat show | grep "gnat-" | awk '{ print $1 }')
if [[ "${currGnat}" != "${CTARGET}-${Gnat_Name}-${SLOT}" ]]; then
echo
eerror "The active gnat profile does not correspond to the selected"
eerror "version of asis! Please install the appropriate gnat (if you"
eerror "did not so yet) and run:"
eerror "eselect gnat set ${CTARGET}-${Gnat_Name}-${SLOT}"
eerror "env-update && source /etc/profile"
eerror "and then emerge =dev-ada/asis-${PV} again.."
echo
die
fi
if [[ -e ${My_LIBPATH}/adalib/libasis.a ]] ; then
echo
ewarn "gnatmake of gnat-gcc unfortunately has problems forcind the build"
ewarn "if the package is already installed."
eerror "Please unmerge asis-gcc first and then resume the merge:"
eerror "emerge --unmerge asis-gcc && emerge asis-gcc"
echo
die
fi
}
# we need to avoid calling gnatboot_src_unpack
src_unpack() {
unpack ${A}
}
src_compile() {
# Build the shared library first, we need -fPIC here
gnatmake -f -Pasis_stat -cargs ${CFLAGS} || die "building libasis.a failed"
gnatmake -f -Pasis_dyn -cargs ${CFLAGS} || die "building libasis.so failed"
chmod 0444 lib/*.ali
# build tools
# we need version.o generated for all the tools
gcc -c -o obj/version.o gnat/version.c
for fn in gnatelim gnatstub gnatpp ; do
pushd tools/${fn}
gnatmake -o ${fn} ${fn}-driver.adb -I../../asis/ -I../../gnat/ \
-I../tool_utils/ -I../tool_utils/templates/ \
-L../../lib -cargs ${CFLAGS} -largs -lasis ../../obj/version.o \
|| die "building ${fn} failed"
popd
done
pushd tools/gnatmetric
gnatmake -o gnatmetric metrics-simple_driver.adb -I../../asis/ -I../../gnat/ \
-I../tool_utils/ -I../tool_utils/templates/ \
-L../../lib -cargs ${CFLAGS} -largs -lasis ../../obj/version.o \
|| die "building ${fn} failed"
popd
pushd tools/adabrowse
gcc -c util-nl.c
gnatmake -I../../asis -I../../gnat adabrowse -L../../lib -cargs ${CFLAGS} \
-largs -lasis ../../obj/version.o || die
popd
pushd tools/semtools
gnatmake -I../../asis -I../../gnat adadep -L../../lib \
-cargs ${CFLAGS} -largs -lasis ../../obj/version.o || die
gnatmake -I../../asis -I../../gnat adasubst -L../../lib \
-cargs ${CFLAGS} -largs -lasis ../../obj/version.o || die
popd
# common stuff is just docs in this case
if use doc; then
pushd documentation
make all || die "Failed while compiling documentation"
for fn in *.ps; do ps2pdf ${fn}; done
popd
fi
}
src_install () {
# install the lib
dodir ${My_LIBPATH}/adalib
# doins grossly screws permissions
cp -dpP lib/* "${D}${My_LIBPATH}"/adalib
# sources
insinto ${My_LIBPATH}/adainclude
doins gnat/*.ad[sb]
doins asis/*.ad[sb]
# tools
mkdir -p "${D}${My_BINPATH}"
for fn in tools/{adabrowse,gnatelim,gnatstub,gnatpp,gnatmetric}; do
cp ${fn}/${fn:6} "${D}${My_BINPATH}"
done
cp tools/semtools/ada{dep,subst} "${D}${My_BINPATH}"
# docs and examples
if use doc ; then
dodoc documentation/*.{txt,ps}
dohtml documentation/*.html
# info's should go into gnat-gpl dirs
insinto ${My_DATAPATH}/info/
doins documentation/*.info
insinto /usr/share/doc/${PF}
doins -r documentation/*.pdf examples/ tutorial/ templates/
fi
}
pkg_postinst() {
echo
elog "The ASIS is installed for the active gnat compiler at gnat's location."
elog "No further configuration is necessary. Enjoy."
echo
}

@ -1,152 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
inherit eutils flag-o-matic gnatbuild
DESCRIPTION="The Ada Semantic Interface Specification (tools tied to compiler). GnuAda version"
HOMEPAGE="http://gnuada.sourceforge.net/"
LICENSE="GMGPL"
KEYWORDS="~amd64 ~x86"
Gnat_Name="gnat-gcc"
My_PN="asis"
# can reuse the same sources, but we need to force an upgrade
My_PV="4.1.1"
SRC_URI="https://dev.gentoo.org/~george/src/${PN}-${My_PV}.tar.bz2"
IUSE="doc"
RDEPEND="=dev-lang/gnat-gcc-${PV}*"
DEPEND="${RDEPEND}
doc? ( virtual/latex-base
app-text/texi2html )"
# overwriting gnatboot's S
S="${WORKDIR}/${My_PN}-${My_PV}"
# Execstack is not nearly as dangerous in Ada as in C and would require a lot of
# work to work around. See bug #141315.
QA_EXECSTACK="usr/lib/gnat-gcc/*/${SLOT}/adalib/libasis-4.1.so
usr/lib/gnat-gcc/*/${SLOT}/adalib/libasis.a
usr/*/gnat-gcc-bin/${SLOT}/*"
# it may be even better to force plain -O2 -pipe -ftracer here
replace-flags -O3 -O2
pkg_setup() {
currGnat=$(eselect gnat show | grep "gnat-" | awk '{ print $1 }')
if [[ "${currGnat}" != "${CTARGET}-${Gnat_Name}-${SLOT}" ]]; then
echo
eerror "The active gnat profile does not correspond to the selected"
eerror "version of asis! Please install the appropriate gnat (if you"
eerror "did not so yet) and run:"
eerror "eselect gnat set ${CTARGET}-${Gnat_Name}-${SLOT}"
eerror "env-update && source /etc/profile"
eerror "and then emerge =dev-ada/asis-${PV} again.."
echo
die
fi
}
# we need to avoid calling gnatboot_src_unpack
src_unpack() {
unpack ${A}
}
src_compile() {
# Build the shared library first, we need -fPIC here
gnatmake -Pasis -cargs ${CFLAGS} || die "building libasis.a failed"
gnatmake -Pasis_dyn -f -cargs ${CFLAGS} || die "building libasis.so failed"
# build tools
# we need version.o generated for all the tools
gcc -c -o obj/version.o gnat/version.c
for fn in gnatelim gnatstub gnatpp ; do
pushd tools/${fn}
gnatmake -o ${fn} ${fn}-driver.adb -I../../asis/ -I../../gnat/ \
-I../tool_utils/ -I../tool_utils/templates/ \
-L../../lib -cargs ${CFLAGS} -largs -lasis ../../obj/version.o \
|| die "building ${fn} failed"
popd
done
pushd tools/gnatmetric
gnatmake -o gnatmetric metrics-simple_driver.adb -I../../asis/ -I../../gnat/ \
-I../tool_utils/ -I../tool_utils/templates/ \
-L../../lib -cargs ${CFLAGS} -largs -lasis ../../obj/version.o \
|| die "building ${fn} failed"
popd
pushd tools/adabrowse
gcc -c util-nl.c
gnatmake -I../../asis -I../../gnat adabrowse -L../../lib -cargs ${CFLAGS} \
-largs -lasis ../../obj/version.o || die
popd
pushd tools/semtools
gnatmake -I../../asis -I../../gnat adadep -L../../lib \
-cargs ${CFLAGS} -largs -lasis ../../obj/version.o || die
gnatmake -I../../asis -I../../gnat adasubst -L../../lib \
-cargs ${CFLAGS} -largs -lasis ../../obj/version.o || die
popd
# common stuff is just docs in this case
if use doc; then
pushd documentation
make all || die "Failed while compiling documentation"
for fn in *.ps; do ps2pdf ${fn}; done
popd
fi
}
src_install () {
# we need to adjust some vars defined in gnatbuild.eclass so that they use
# gnat-gcc instead of asis
LIBPATH=${LIBPATH/${PN}/${Gnat_Name}}
BINPATH=${BINPATH/${PN}/${Gnat_Name}}
DATAPATH=${DATAPATH/${PN}/${Gnat_Name}}
# install the lib
dodir ${LIBPATH}/adalib
chmod 0755 lib_dyn/libasis.so
cp lib_dyn/libasis.so "${D}${LIBPATH}"/adalib/libasis-${SLOT}.so
insinto ${LIBPATH}/adalib
doins obj/*.ali
chmod 0444 "${D}${LIBPATH}"/adalib/*.ali
doins lib/libasis.a
# make appropriate symlinks
pushd "${D}${LIBPATH}"/adalib
ln -s libasis-${SLOT}.so libasis.so
popd
# sources
insinto ${LIBPATH}/adainclude
doins gnat/*.ad[sb]
doins asis/*.ad[sb]
# tools
mkdir -p "${D}${BINPATH}"
for fn in tools/{adabrowse,gnatelim,gnatstub,gnatpp,gnatmetric}; do
cp ${fn}/${fn:6} "${D}${BINPATH}"
done
cp tools/semtools/ada{dep,subst} "${D}${BINPATH}"
# docs and examples
if use doc ; then
dodoc documentation/*.{txt,ps}
dohtml documentation/*.html
# info's should go into gnat-gpl dirs
insinto ${DATAPATH}/info/
doins documentation/*.info
insinto /usr/share/doc/${PF}
doins -r documentation/*.pdf examples/ tutorial/ templates/
# this version also provides wiki contents, may be added at some point,
# however it seems to make sense to just use the online wiki..
fi
}
pkg_postinst() {
echo
elog "The ASIS is installed for the active gnat compiler at gnat's location."
elog "No further configuration is necessary. Enjoy."
echo
}

@ -1,152 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
inherit eutils flag-o-matic gnatbuild multilib
DESCRIPTION="The Ada Semantic Interface Specification (tools tied to compiler). GnuAda version"
HOMEPAGE="http://gnuada.sourceforge.net/"
LICENSE="GMGPL"
KEYWORDS="~amd64 ~x86"
Gnat_Name="gnat-gcc"
My_PN="asis"
SRC_URI="https://dev.gentoo.org/~george/src/${P}.tar.bz2"
IUSE="doc"
RDEPEND="=dev-lang/gnat-gcc-${SLOT}*"
DEPEND="${RDEPEND}
doc? ( virtual/latex-base
app-text/ghostscript-gpl
app-text/texi2html )"
# overwriting gnatboot's S
S="${WORKDIR}/${My_PN}-${PV}"
# Execstack is not nearly as dangerous in Ada as in C and would require a lot of
# work to work around. See bug #141315.
QA_EXECSTACK="usr/$(get_libdir)/gnat-gcc/*/${SLOT}/adalib/libasis-${SLOT}.so
usr/$(get_libdir)/gnat-gcc/*/${SLOT}/adalib/libasis.a
usr/*/gnat-gcc-bin/${SLOT}/*"
# it may be even better to force plain -O2 -pipe here
replace-flags -O3 -O2
# we need to adjust some vars defined in gnatbuild.eclass so that they use
# gnat-gcc instead of asis
My_LIBPATH=${LIBPATH/${PN}/${Gnat_Name}}
My_BINPATH=${BINPATH/${PN}/${Gnat_Name}}
My_DATAPATH=${DATAPATH/${PN}/${Gnat_Name}}
pkg_setup() {
local currGnat=$(eselect gnat show | grep "gnat-" | awk '{ print $1 }')
if [[ "${currGnat}" != "${CTARGET}-${Gnat_Name}-${SLOT}" ]]; then
echo
eerror "The active gnat profile does not correspond to the selected"
eerror "version of asis! Please install the appropriate gnat (if you"
eerror "did not so yet) and run:"
eerror "eselect gnat set ${CTARGET}-${Gnat_Name}-${SLOT}"
eerror "env-update && source /etc/profile"
eerror "and then emerge =dev-ada/asis-${PV} again.."
echo
die
fi
if [[ -e ${My_LIBPATH}/adalib/libasis.a ]] ; then
echo
ewarn "gnatmake of gnat-gcc unfortunately has problems forcing the build"
ewarn "if the package is already installed."
eerror "Please unmerge asis-gcc first and then resume the merge:"
eerror "emerge --unmerge asis-gcc && emerge asis-gcc"
echo
die
fi
}
# we need to avoid calling gnatboot_src_unpack
src_unpack() {
unpack ${A}
}
src_compile() {
# Build the shared library first, we need -fPIC here
gnatmake -f -Pasis_stat -cargs ${CFLAGS} || die "building libasis.a failed"
gnatmake -f -Pasis_dyn -cargs ${CFLAGS} || die "building libasis.so failed"
chmod 0444 lib/*.ali
# build tools
# we need version.o generated for all the tools
gcc -c -o obj/version.o gnat/version.c
for fn in gnatelim gnatstub gnatpp ; do
pushd tools/${fn}
gnatmake -o ${fn} ${fn}-driver.adb -I../../asis/ -I../../gnat/ \
-I../tool_utils/ -I../tool_utils/templates/ \
-L../../lib -cargs ${CFLAGS} -largs -lasis ../../obj/version.o \
|| die "building ${fn} failed"
popd
done
pushd tools/gnatmetric
gnatmake -o gnatmetric metrics-simple_driver.adb -I../../asis/ -I../../gnat/ \
-I../tool_utils/ -I../tool_utils/templates/ \
-L../../lib -cargs ${CFLAGS} -largs -lasis ../../obj/version.o \
|| die "building ${fn} failed"
popd
pushd tools/adabrowse
gcc -c util-nl.c
gnatmake -I../../asis -I../../gnat adabrowse -L../../lib -cargs ${CFLAGS} \
-largs -lasis ../../obj/version.o || die
popd
pushd tools/semtools
gnatmake -I../../asis -I../../gnat adadep -L../../lib \
-cargs ${CFLAGS} -largs -lasis ../../obj/version.o || die
gnatmake -I../../asis -I../../gnat adasubst -L../../lib \
-cargs ${CFLAGS} -largs -lasis ../../obj/version.o || die
popd
# common stuff is just docs in this case
if use doc; then
pushd documentation
make all || die "Failed while compiling documentation"
for fn in *.ps; do ps2pdf ${fn}; done
popd
fi
}
src_install () {
# install the lib
dodir ${My_LIBPATH}/adalib
# doins grossly screws permissions
cp -dpP lib/* "${D}${My_LIBPATH}"/adalib
# sources
insinto ${My_LIBPATH}/adainclude
doins gnat/*.ad[sb]
doins asis/*.ad[sb]
# two files are already part of gnat, removing to avoid collision
rm "${D}${My_LIBPATH}"/adainclude/g-string.ad?
# tools
mkdir -p "${D}${My_BINPATH}"
for fn in tools/{adabrowse,gnatelim,gnatstub,gnatpp,gnatmetric}; do
cp ${fn}/${fn:6} "${D}${My_BINPATH}"
done
cp tools/semtools/ada{dep,subst} "${D}${My_BINPATH}"
# docs and examples
if use doc ; then
dodoc documentation/*.{txt,ps}
dohtml documentation/*.html
# info's should go into gnat-gpl dirs
insinto ${My_DATAPATH}/info/
doins documentation/*.info
insinto /usr/share/doc/${PF}
doins -r documentation/*.pdf examples/ tutorial/ templates/
fi
}
pkg_postinst() {
echo
elog "The ASIS is installed for the active gnat compiler at gnat's location."
elog "No further configuration is necessary. Enjoy."
echo
}

@ -1,155 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
inherit eutils flag-o-matic gnatbuild multilib
DESCRIPTION="The Ada Semantic Interface Specification (tools tied to compiler). GnuAda version"
HOMEPAGE="http://gnuada.sourceforge.net/"
LICENSE="GMGPL"
KEYWORDS="~amd64 ~x86"
Gnat_Name="gnat-gcc"
My_PN="asis"
SRC_URI="https://dev.gentoo.org/~george/src/${P}.tar.bz2"
IUSE="doc"
RDEPEND="=dev-lang/gnat-gcc-${SLOT}*"
DEPEND="${RDEPEND}
doc? ( virtual/latex-base
app-text/ghostscript-gpl
app-text/texi2html )"
# overwriting gnatboot's S
S="${WORKDIR}/${My_PN}-${PV}"
# Execstack is not nearly as dangerous in Ada as in C and would require a lot of
# work to work around. See bug #141315.
QA_EXECSTACK="usr/$(get_libdir)/gnat-gcc/*/${SLOT}/adalib/libasis-${SLOT}.so
usr/$(get_libdir)/gnat-gcc/*/${SLOT}/adalib/libasis.a
usr/*/gnat-gcc-bin/${SLOT}/*"
# it may be even better to force plain -O2 -pipe here
replace-flags -O3 -O2
# we need to adjust some vars defined in gnatbuild.eclass so that they use
# gnat-gcc instead of asis
My_LIBPATH=${LIBPATH/${PN}/${Gnat_Name}}
My_BINPATH=${BINPATH/${PN}/${Gnat_Name}}
My_DATAPATH=${DATAPATH/${PN}/${Gnat_Name}}
pkg_setup() {
local currGnat=$(eselect gnat show | grep "gnat-" | awk '{ print $1 }')
if [[ "${currGnat}" != "${CTARGET}-${Gnat_Name}-${SLOT}" ]]; then
echo
eerror "The active gnat profile does not correspond to the selected"
eerror "version of asis! Please install the appropriate gnat (if you"
eerror "did not so yet) and run:"
eerror "eselect gnat set ${CTARGET}-${Gnat_Name}-${SLOT}"
eerror "env-update && source /etc/profile"
eerror "and then emerge =dev-ada/asis-${PV} again.."
echo
die
fi
if [[ -e ${My_LIBPATH}/adalib/libasis.a ]] ; then
echo
ewarn "gnatmake of gnat-gcc unfortunately has problems forcing the build"
ewarn "if the package is already installed."
eerror "Please unmerge asis-gcc first and then resume the merge:"
eerror "emerge --unmerge asis-gcc && emerge asis-gcc"
echo
die
fi
}
# we need to avoid calling gnatboot_src_unpack
src_unpack() {
unpack ${A}
}
src_compile() {
# Build the shared library first, we need -fPIC here
gnatmake -f -Pasis_stat -cargs ${CFLAGS} || die "building libasis.a failed"
gnatmake -f -Pasis_dyn -cargs ${CFLAGS} || die "building libasis.so failed"
chmod 0444 lib/*.ali
# build tools
# we need version.o generated for all the tools
gcc -c -o obj/version.o gnat/version.c
for fn in gnatelim gnatstub gnatpp ; do
pushd tools/${fn}
gnatmake -o ${fn} ${fn}-driver.adb -I../../asis/ -I../../gnat/ \
-I../tool_utils/ -I../tool_utils/templates/ \
-L../../lib -cargs ${CFLAGS} -largs -lasis ../../obj/version.o \
|| die "building ${fn} failed"
popd
done
pushd tools/gnatmetric
gnatmake -o gnatmetric metrics-simple_driver.adb -I../../asis/ -I../../gnat/ \
-I../tool_utils/ -I../tool_utils/templates/ \
-L../../lib -cargs ${CFLAGS} -largs -lasis ../../obj/version.o \
|| die "building ${fn} failed"
popd
pushd tools/adabrowse
gcc -c util-nl.c
gnatmake -I../../asis -I../../gnat adabrowse -L../../lib -cargs ${CFLAGS} \
-largs -lasis ../../obj/version.o || die
popd
pushd tools/semtools
gnatmake -I../../asis -I../../gnat adadep -L../../lib \
-cargs ${CFLAGS} -largs -lasis ../../obj/version.o || die
gnatmake -I../../asis -I../../gnat adasubst -L../../lib \
-cargs ${CFLAGS} -largs -lasis ../../obj/version.o || die
popd
# common stuff is just docs in this case
if use doc; then
pushd documentation
make all || die "Failed while compiling documentation"
for fn in *.ps; do ps2pdf ${fn}; done
popd
fi
}
src_install () {
# install the lib
dodir ${My_LIBPATH}/adalib
# doins grossly screws permissions
cp -dpP lib/* "${D}${My_LIBPATH}"/adalib
# make link point to the right location
pushd "${D}${My_LIBPATH}"/adalib/
rm libasis.so
ln -s libasis-${SLOT}.so libasis.so
popd
# sources
insinto ${My_LIBPATH}/adainclude
doins gnat/*.ad[sb]
doins asis/*.ad[sb]
# tools
mkdir -p "${D}${My_BINPATH}"
for fn in tools/{adabrowse,gnatelim,gnatstub,gnatpp,gnatmetric}; do
cp ${fn}/${fn:6} "${D}${My_BINPATH}"
done
cp tools/semtools/ada{dep,subst} "${D}${My_BINPATH}"
# docs and examples
if use doc ; then
dodoc documentation/*.{txt,ps}
dohtml documentation/*.html
# info's should go into gnat-gpl dirs
insinto ${My_DATAPATH}/info/
doins documentation/*.info
insinto /usr/share/doc/${PF}
doins -r documentation/*.pdf examples/ tutorial/ templates/
fi
}
pkg_postinst() {
echo
elog "The ASIS is installed for the active gnat compiler at gnat's location."
elog "No further configuration is necessary. Enjoy."
echo
}

@ -1,142 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
inherit eutils flag-o-matic gnatbuild
ACT_Ver=2009
Gnat_Name="gnat-gcc"
DESCRIPTION="The Ada Semantic Interface Specification (semantic analysis and tools tied to compiler)"
SRC_URI="https://dev.gentoo.org/~george/src/asis-gpl-${ACT_Ver}-src.tgz"
HOMEPAGE="https://libre.adacore.com/"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
RDEPEND="=dev-lang/gnat-gcc-${SLOT}*"
DEPEND="${RDEPEND}
doc? ( virtual/latex-base
app-text/texi2html )"
S="${WORKDIR}/asis-${ACT_Ver}-src"
# it may be even better to force plain -O2 -pipe -ftracer here
replace-flags -O3 -O2
# we need to adjust some vars defined in gnatbuild.eclass so that they use
# gnat-gcc instead of asis
LIBPATH=${LIBPATH/${PN}/${Gnat_Name}}
BINPATH=${BINPATH/${PN}/${Gnat_Name}}
DATAPATH=${DATAPATH/${PN}/${Gnat_Name}}
#QA_EXECSTACK="${BINPATH:1}/*
# ${LIBPATH:1}/adalib/libasis-${ACT_Ver}.so"
pkg_setup() {
currGnat=$(eselect gnat show | grep "gnat-" | awk '{ print $1 }')
if [[ "${currGnat}" != "${CTARGET}-${Gnat_Name}-${SLOT}" ]]; then
echo
eerror "The active gnat profile does not correspond to the selected"
eerror "version of asis! Please install the appropriate gnat (if you"
eerror "did not so yet) and run:"
eerror "eselect gnat set ${CTARGET}-${Gnat_Name}-${SLOT}"
eerror "env-update && source /etc/profile"
eerror "and then emerge asis-gcc:${SLOT} again.."
echo
die
fi
if [[ -e ${LIBPATH}/adalib/libasis.a ]] ; then
echo
ewarn "Already installed asis appears to interfer with the build."
eerror "Please unmerge matching asis-gcc first and then resume the merge:"
eerror "emerge --unmerge asis-gcc:${SLOT} && emerge asis-gcc"
ewarn
echo
die
fi
}
# we need to override the eclass defined src_unpack
# and change gcc to gnatgcc where appropriate
src_unpack() {
unpack ${A}
cd "${S}"/gnat/
# newer versions autogen snames.ad?
# Looks logical to keep it here, as this is a part of source prep
gnatmake xsnamest.adb
./xsnamest
mv snames.ns snames.ads
mv snames.nb snames.adb
# need to change gcc -> gnatgcc
cd "${S}"
for fn in asis/a4g-gnat_int.adb \
asis/a4g-contt.adb \
gnat/snames.adb \
tools/tool_utils/asis_ul-common.adb \
tools/gnatmetric/metrics-compute.adb; do
sed -i -e "s:\"gcc:\"gnatgcc:" ${fn}
done
}
src_compile() {
# Build the shared library first, we need -fPIC here
gnatmake -Pasis_bld -XBLD=prod -XOPSYS=default_Unix -cargs ${CFLAGS} -fPIC \
|| die "building libasis.a failed"
gnatgcc -shared -Wl,-soname,libasis-${ACT_Ver}.so \
-o obj/libasis-${ACT_Ver}.so obj/*.o -lc \
|| die "building libasis.so failed"
# build tools
for fn in tools/*; do
pushd ${fn}
gnatmake -P${fn:6}.gpr || die "building ${fn:6} failed"
popd
done
# common stuff is just docs in this case
if use doc; then
emake -C documentation all || die "Failed while compiling documentation"
fi
}
src_install () {
# README asks to run make install, claiming that some sources are built at
# that point
make all install prefix="${D}"
# now manually move all the stuff to proper places
mkdir -p "${D}${LIBPATH}"
mv "${D}"lib/asis/ "${D}${LIBPATH}"/adalib
# install the shared lib
chmod 0755 obj/libasis-${ACT_Ver}.so
cp obj/libasis-${ACT_Ver}.so "${D}${LIBPATH}"/adalib
# make appropriate symlinks
pushd "${D}${LIBPATH}"/adalib
ln -s libasis-${ACT_Ver}.so libasis.so
popd
# sources
mv "${D}"include/asis/ "${D}${LIBPATH}"/adainclude
# tools
mkdir -p "${D}${BINPATH}"
find "${S}"/tools/ -type f -executable -exec cp {} "${D}${BINPATH}" \;
rm -f "${D}${BINPATH}"/Makefile*
# docs and examples
cd "${S}"/documentation/
dodoc *.txt
dohtml *.html
cd "${S}"
insinto /usr/share/doc/${PF}
doins -r documentation/*.pdf documentation/*.info tutorial/ templates/
# cleanup empty dirs
rm -rf "${D}"/{bin,include,lib,share}
}
pkg_postinst() {
echo
elog "The ASIS is installed for the active gnat compiler at gnat's location."
elog "No further configuration is necessary. Enjoy."
echo
}

@ -1,134 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
inherit eutils flag-o-matic gnatbuild
ACT_Ver=2009
Gnat_Name="gnat-gcc"
DESCRIPTION="The Ada Semantic Interface Specification (semantic analysis and tools tied to compiler)"
SRC_URI="https://dev.gentoo.org/~george/src/asis-gpl-${ACT_Ver}-src.tgz"
HOMEPAGE="https://libre.adacore.com/"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
RDEPEND="=dev-lang/gnat-gcc-${SLOT}*"
DEPEND="${RDEPEND}
doc? ( virtual/latex-base
app-text/texi2html )"
S="${WORKDIR}/asis-${ACT_Ver}-src"
# it may be even better to force plain -O2 -pipe -ftracer here
replace-flags -O3 -O2
# we need to adjust some vars defined in gnatbuild.eclass so that they use
# gnat-gcc instead of asis
LIBPATH=${LIBPATH/${PN}/${Gnat_Name}}
BINPATH=${BINPATH/${PN}/${Gnat_Name}}
DATAPATH=${DATAPATH/${PN}/${Gnat_Name}}
#QA_EXECSTACK="${BINPATH:1}/*
# ${LIBPATH:1}/adalib/libasis-${ACT_Ver}.so"
pkg_setup() {
currGnat=$(eselect gnat show | grep "gnat-" | awk '{ print $1 }')
if [[ "${currGnat}" != "${CTARGET}-${Gnat_Name}-${SLOT}" ]]; then
echo
eerror "The active gnat profile does not correspond to the selected"
eerror "version of asis! Please install the appropriate gnat (if you"
eerror "did not so yet) and run:"
eerror "eselect gnat set ${CTARGET}-${Gnat_Name}-${SLOT}"
eerror "env-update && source /etc/profile"
eerror "and then emerge asis-gcc:${SLOT} again.."
echo
die
fi
}
# we need to override the eclass defined src_unpack
# and change gcc to gnatgcc where appropriate
src_unpack() {
unpack ${A}
cd "${S}"/gnat/
# newer versions autogen snames.ad?
# Looks logical to keep it here, as this is a part of source prep
gnatmake xsnamest.adb
./xsnamest
mv snames.ns snames.ads
mv snames.nb snames.adb
# need to change gcc -> gnatgcc
cd "${S}"
for fn in asis/a4g-gnat_int.adb \
asis/a4g-contt.adb \
gnat/snames.adb \
tools/tool_utils/asis_ul-common.adb \
tools/gnatmetric/metrics-compute.adb; do
sed -i -e "s:\"gcc:\"gnatgcc:" ${fn}
done
}
src_compile() {
# Build the shared library first, we need -fPIC here
gnatmake -Pasis_bld -XBLD=prod -XOPSYS=default_Unix -cargs ${CFLAGS} -fPIC \
|| die "building libasis.a failed"
gnatgcc -shared -Wl,-soname,libasis-${ACT_Ver}.so \
-o obj/libasis-${ACT_Ver}.so obj/*.o -lc \
|| die "building libasis.so failed"
# build tools
for fn in tools/*; do
pushd ${fn}
gnatmake -P${fn:6}.gpr || die "building ${fn:6} failed"
popd
done
# common stuff is just docs in this case
if use doc; then
emake -C documentation all || die "Failed while compiling documentation"
fi
}
src_install () {
# README asks to run make install, claiming that some sources are built at
# that point
make all install prefix="${D}"
# now manually move all the stuff to proper places
mkdir -p "${D}${LIBPATH}"
mv "${D}"lib/asis/ "${D}${LIBPATH}"/adalib
# install the shared lib
chmod 0755 obj/libasis-${ACT_Ver}.so
cp obj/libasis-${ACT_Ver}.so "${D}${LIBPATH}"/adalib
# make appropriate symlinks
pushd "${D}${LIBPATH}"/adalib
ln -s libasis-${ACT_Ver}.so libasis.so
popd
# sources
mv "${D}"include/asis/ "${D}${LIBPATH}"/adainclude
# tools
mkdir -p "${D}${BINPATH}"
find "${S}"/tools/ -type f -executable -exec cp {} "${D}${BINPATH}" \;
rm -f "${D}${BINPATH}"/Makefile*
# docs and examples
cd "${S}"/documentation/
dodoc *.txt
dohtml *.html
doinfo *.info
cd "${S}"
insinto /usr/share/doc/${PF}
doins -r documentation/*.pdf tutorial/ templates/
# cleanup empty dirs
rm -rf "${D}"/{bin,include,lib,share}
}
pkg_postinst() {
echo
elog "The ASIS is installed for the active gnat compiler at gnat's location."
elog "No further configuration is necessary. Enjoy."
echo
}

@ -1,143 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
inherit eutils flag-o-matic gnatbuild
ACT_Ver="2010"
Gnat_Name="gnat-gcc"
DESCRIPTION="The Ada Semantic Interface Specification (semantic analysis and tools tied to compiler)"
SRC_URI="https://dev.gentoo.org/~george/src/asis-gpl-${ACT_Ver}-src.tgz"
HOMEPAGE="https://libre.adacore.com/"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
RDEPEND="=dev-lang/gnat-gcc-${SLOT}*"
DEPEND="${RDEPEND}
doc? ( virtual/latex-base
app-text/texi2html )"
S="${WORKDIR}/asis-gpl-${ACT_Ver}-src"
# it may be even better to force plain -O2 -pipe -ftracer here
replace-flags -O3 -O2
# we need to adjust some vars defined in gnatbuild.eclass so that they use
# gnat-gcc instead of asis
LIBPATH=${LIBPATH/${PN}/${Gnat_Name}}
BINPATH=${BINPATH/${PN}/${Gnat_Name}}
DATAPATH=${DATAPATH/${PN}/${Gnat_Name}}
#QA_EXECSTACK="${BINPATH:1}/*
# ${LIBPATH:1}/adalib/libasis-${ACT_Ver}.so"
pkg_setup() {
currGnat=$(eselect gnat show | grep "gnat-" | awk '{ print $1 }')
if [[ "${currGnat}" != "${CTARGET}-${Gnat_Name}-${SLOT}" ]]; then
echo
eerror "The active gnat profile does not correspond to the selected"
eerror "version of asis! Please install the appropriate gnat (if you"
eerror "did not so yet) and run:"
eerror "eselect gnat set ${CTARGET}-${Gnat_Name}-${SLOT}"
eerror "env-update && source /etc/profile"
eerror "and then emerge asis-gcc:${SLOT} again.."
echo
die
fi
if [[ -e ${LIBPATH}/adalib/libasis.a ]] ; then
echo
ewarn "Already installed asis appears to interfer with the build."
eerror "Please unmerge matching asis-gcc first and then resume the merge:"
eerror "emerge --unmerge asis-gcc:${SLOT} && emerge asis-gcc"
echo
die
fi
}
# we need to override the eclass defined src_unpack
# and change gcc to gnatgcc where appropriate
src_unpack() {
unpack ${A}
cd "${S}"/gnat/
# newer versions autogen snames.ad?
# Looks logical to keep it here, as this is a part of source prep
gnatmake xsnamest.adb
./xsnamest
mv snames.ns snames.ads
mv snames.nb snames.adb
# need to change gcc -> gnatgcc
cd "${S}"
for fn in asis/a4g-gnat_int.adb \
asis/a4g-contt.adb \
gnat/snames.adb \
tools/tool_utils/asis_ul-common.adb \
tools/gnatmetric/metrics-compute.adb; do
sed -i -e "s:\"gcc:\"gnatgcc:" ${fn}
done
}
src_compile() {
# Build the shared library first, we need -fPIC here
gnatmake -Pasis_bld -XBLD=prod -XOPSYS=default_Unix -cargs ${CFLAGS} -fPIC \
|| die "building libasis.a failed"
gnatgcc -shared -Wl,-soname,libasis-${ACT_Ver}.so \
-o obj/libasis-${ACT_Ver}.so obj/*.o -lc \
|| die "building libasis.so failed"
# build tools
for fn in tools/*; do
pushd ${fn}
gnatmake -P${fn:6}.gpr || die "building ${fn:6} failed"
popd
done
# no point in rebuilding pregenerated docs
#if use doc; then
# emake -C documentation all || die "Failed while compiling documentation"
#fi
}
src_install () {
# README asks to run make install, claiming that some sources are built at
# that point
make all install prefix="${D}"
# now manually move all the stuff to proper places
mkdir -p "${D}${LIBPATH}"
mv "${D}"lib/asis/ "${D}${LIBPATH}"/adalib
# install the shared lib
chmod 0755 obj/libasis-${ACT_Ver}.so
cp obj/libasis-${ACT_Ver}.so "${D}${LIBPATH}"/adalib
# make appropriate symlinks
pushd "${D}${LIBPATH}"/adalib
ln -s libasis-${ACT_Ver}.so libasis.so
popd
# sources
mv "${D}"include/asis/ "${D}${LIBPATH}"/adainclude
# tools
mkdir -p "${D}${BINPATH}"
find "${S}"/tools/ -type f -executable -exec cp {} "${D}${BINPATH}" \;
rm -f "${D}${BINPATH}"/Makefile*
# docs and examples
cd "${S}"/documentation/
if use doc; then
dodoc *.txt
dohtml *.html
cd "${S}"
insinto /usr/share/doc/${PF}
doins -r documentation/*.pdf documentation/*.info tutorial/ templates/
fi
# cleanup empty dirs
rm -rf "${D}"/{bin,include,lib,share}
}
pkg_postinst() {
echo
elog "The ASIS is installed for the active gnat compiler at gnat's location."
elog "No further configuration is necessary. Enjoy."
echo
}

@ -1,18 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!--maintainer-needed-->
<longdescription>
Ada Semantic Interface Specification is a published international ISO
standard (ISO/IEC 15291:1999). ASIS represents a compiler independent
toolset consisting of a set of standard Ada interfaces which allow extraction
of information about user source programs. This information was previously
only available inside the Ada compilers themselves or exported in
non-standard, and thus non portable mechanisms.
This particular package is adjusted for use with the FSF version of gnat
compilers.
</longdescription>
<upstream>
<remote-id type="sourceforge">gnuada</remote-id>
</upstream>
</pkgmetadata>

@ -1 +0,0 @@
DIST charles-20050913.tar.bz2 4098538 SHA256 a6dc507769aec161391c6608417726d6c17feebcc423442b6c6784c5bfeaa792 SHA512 a2a42c1c14555ce8a3384c5af0fb0a8a017874a0c6a220464fe163ab66428def8878d2f7231f9749064f15e4aaf34d06f87d9433d9b277fbf48202294900bd6b WHIRLPOOL de0287be1fe0cfc07b7e81d8062b3e6acf244f4aaacbea53bee0dfb242442fe04c857269b0cea6df420691a6e36ee1abdd5abe027ea49f8fd5d4dfa0b90fedcf

@ -1,49 +0,0 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
inherit gnat
IUSE=""
DESCRIPTION="Posix bindings for Ada"
HOMEPAGE="http://libre2.adacore.com/"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
DEPEND="virtual/ada"
S="${WORKDIR}/${PN}"
lib_compile()
{
einfo "nothing to do here"
}
# NOTE: we are using $1 - the passed gnat profile name
lib_install()
{
einfo "nothing to do here"
}
src_install ()
{
# install sources
dodir ${AdalibSpecsDir}/${PN}
insinto ${AdalibSpecsDir}/${PN}
doins src/*.ad?
#set up environment
#echo "PATH=%DL%/bin" > ${LibEnv}
#echo "LDPATH=%DL%" >> ${LibEnv}
#echo "ADA_OBJECTS_PATH=%DL%" >> ${LibEnv}
echo "ADA_INCLUDE_PATH=/usr/include/ada/${PN}" > ${LibEnv}
gnat_src_install
dodoc src/{COPYING.TXT,README.txt}
insinto /usr/share/doc/${PF}
doins -r src/testdir/ www/charles_tutorial.pdf
}

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!--maintainer-needed-->
<longdescription>Charles is a data structure library for Ada95, modelled principally on the C++ STL. It features both ordered (lists and arrays) and unordered (sets and maps) collections. In addition to lists and vectors, the Charles library has set, multi-set, map, and multi-map data structure types.</longdescription>
</pkgmetadata>

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/clucene/${MY_P}.tar.gz"
LICENSE="|| ( Apache-2.0 LGPL-2.1 )"
SLOT="1"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="debug doc static-libs"

@ -19,7 +19,7 @@ RESTRICT="!bindist? ( bindist )"
REQUIRED_USE="server? ( tokudb? ( jemalloc ) ) static? ( !pam ) jdbc? ( extraengine server !static )"
# REMEMBER: also update eclass/mysql*.eclass before committing!
KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh sparc x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~sparc-fbsd ~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=(

@ -1,100 +0,0 @@
module TestTime(tests) where
import Test.HUnit
import Database.HDBC
import TestUtils
import Control.Exception
import Data.Time
import Data.Time.LocalTime
import Data.Time.Clock.POSIX
import Data.Maybe
import Data.Convertible
import SpecificDB
import System.Locale(defaultTimeLocale)
import Database.HDBC.Locale (iso8601DateFormat)
import qualified System.Time as ST
instance Eq ZonedTime where
a == b = zonedTimeToUTC a == zonedTimeToUTC b &&
zonedTimeZone a == zonedTimeZone b
testZonedTime :: ZonedTime
testZonedTime = fromJust $ parseTime defaultTimeLocale (iso8601DateFormat (Just "%T %z"))
"1989-08-01 15:33:01 -0500"
testZonedTimeFrac :: ZonedTime
testZonedTimeFrac = fromJust $ parseTime defaultTimeLocale (iso8601DateFormat (Just "%T%Q %z"))
"1989-08-01 15:33:01.536 -0500"
rowdata t = [[SqlInt32 100, toSql t, SqlNull]]
testDTType inputdata convToSqlValue = dbTestCase $ \dbh ->
do run dbh ("CREATE TABLE hdbctesttime (testid INTEGER PRIMARY KEY NOT NULL, \
\testvalue " ++ dateTimeTypeOfSqlValue value ++ ")") []
finally (testIt dbh) (do commit dbh
run dbh "DROP TABLE hdbctesttime" []
commit dbh
)
where testIt dbh =
do run dbh "INSERT INTO hdbctesttime (testid, testvalue) VALUES (?, ?)"
[iToSql 5, value]
commit dbh
r <- quickQuery' dbh "SELECT testid, testvalue FROM hdbctesttime" []
case r of
[[testidsv, testvaluesv]] ->
do assertEqual "testid" (5::Int) (fromSql testidsv)
assertEqual "testvalue" inputdata (fromSql testvaluesv)
value = convToSqlValue inputdata
mkTest label inputdata convfunc =
TestLabel label (testDTType inputdata convfunc)
tests = TestList $
((TestLabel "Non-frac" $ testIt testZonedTime) :
if supportsFracTime then [TestLabel "Frac" $ testIt testZonedTimeFrac] else [])
testIt baseZonedTime =
TestList [mkTest "Day" baseDay toSql,
mkTest "TimeOfDay" baseTimeOfDay toSql,
mkTest "ZonedTimeOfDay" baseZonedTimeOfDay toSql,
mkTest "LocalTime" baseLocalTime toSql,
mkTest "ZonedTime" baseZonedTime toSql,
mkTest "UTCTime" baseUTCTime toSql,
mkTest "DiffTime" baseDiffTime toSql,
mkTest "POSIXTime" basePOSIXTime posixToSql,
mkTest "ClockTime" baseClockTime toSql,
mkTest "CalendarTime" baseCalendarTime toSql,
mkTest "TimeDiff" baseTimeDiff toSql
]
where
baseDay :: Day
baseDay = localDay baseLocalTime
baseTimeOfDay :: TimeOfDay
baseTimeOfDay = localTimeOfDay baseLocalTime
baseZonedTimeOfDay :: (TimeOfDay, TimeZone)
baseZonedTimeOfDay = fromSql (SqlZonedTime baseZonedTime)
baseLocalTime :: LocalTime
baseLocalTime = zonedTimeToLocalTime baseZonedTime
baseUTCTime :: UTCTime
baseUTCTime = convert baseZonedTime
baseDiffTime :: NominalDiffTime
baseDiffTime = basePOSIXTime
basePOSIXTime :: POSIXTime
basePOSIXTime = convert baseZonedTime
baseTimeDiff :: ST.TimeDiff
baseTimeDiff = convert baseDiffTime
-- No fractional parts for these two
baseClockTime :: ST.ClockTime
baseClockTime = convert testZonedTime
baseCalendarTime :: ST.CalendarTime
baseCalendarTime = convert testZonedTime

@ -1,11 +1,11 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
EAPI=6
# ebuild generated by hackport 0.4.6
# ebuild generated by hackport 0.5.1
CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
CABAL_FEATURES="lib profile haddock hoogle hscolour"
inherit haskell-cabal
MY_PN="HDBC-sqlite3"
@ -16,29 +16,29 @@ HOMEPAGE="https://github.com/hdbc/hdbc-sqlite3"
SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="2"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="test"
IUSE="buildtests +splitbase"
RDEPEND=">=dev-db/sqlite-3.0
>=dev-haskell/hdbc-2.3.0.0:2=[profile?]
dev-haskell/mtl:=[profile?]
dev-haskell/utf8-string:=[profile?]
>=dev-lang/ghc-7.4.1:=
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.2.3
test? ( dev-haskell/convertible:=[profile?]
buildtests? ( dev-haskell/convertible:=[profile?]
dev-haskell/hunit:=[profile?]
dev-haskell/old-locale:=[profile?]
dev-haskell/old-time:=[profile?]
dev-haskell/testpack:=[profile?] )
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.2.3
"
S="${WORKDIR}/${MY_P}"
# The test suite doesn't work right now. See
#
# https://github.com/hdbc/hdbc-sqlite3/pull/17
#
RESTRICT="test"
src_configure() {
haskell-cabal_src_configure \
$(cabal_flag buildtests buildtests) \
$(cabal_flag splitbase splitbase)
}

@ -5,6 +5,10 @@
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</maintainer>
<use>
<flag name="buildtests">Build the executable to run unit tests</flag>
<flag name="splitbase">Choose the new smaller, split-up package.</flag>
</use>
<longdescription>
This is the Sqlite v3 driver for HDBC, the generic
database access system for Haskell

@ -37,7 +37,7 @@ DEPENDV="$(get_version_component_range 1-2)"
PDEPEND="mysql? ( dev-haskell/hdbc-mysql )
odbc? ( =dev-haskell/hdbc-odbc-${DEPENDV}* )
postgres? ( =dev-haskell/hdbc-postgresql-${DEPENDV}* )
sqlite? ( >=dev-haskell/hdbc-sqlite-${DEPENDV} )"
sqlite? ( >=dev-haskell/hdbc-sqlite3-${DEPENDV} )"
S="${WORKDIR}/${MY_P}"

@ -1,2 +1,3 @@
DIST laf-plugin-0.2-src.tar.bz2 13799 SHA256 e2252f74efbaa1f0c32a475c320283e614932e3af2d98a65462bf0e1f8cc00ba SHA512 91ac3f9f5ebfcd70e7cc76f2e028e9578c6113a848b0ccdc6b001fff006bf5aaa12af08b1752851693d218d4b2d7d053f62461481e49d5a0bde21e5a7d086331 WHIRLPOOL 6aaea36bbcc22eca1704185faf866fba1b723cd3d6ff02197f28287ded67fc43bb4c2f9cbe8a2dce9e82eaa88774b1fdb4c66e54cdc4f09ad946718641cb1334
DIST laf-plugin-0.2.tar.bz2 13799 SHA256 e2252f74efbaa1f0c32a475c320283e614932e3af2d98a65462bf0e1f8cc00ba SHA512 91ac3f9f5ebfcd70e7cc76f2e028e9578c6113a848b0ccdc6b001fff006bf5aaa12af08b1752851693d218d4b2d7d053f62461481e49d5a0bde21e5a7d086331 WHIRLPOOL 6aaea36bbcc22eca1704185faf866fba1b723cd3d6ff02197f28287ded67fc43bb4c2f9cbe8a2dce9e82eaa88774b1fdb4c66e54cdc4f09ad946718641cb1334
DIST laf-plugin-1.1.jar 8105 SHA256 2b7919c502906983307b556284d6e86df2034b69ebf3394f303490e99936500d SHA512 2ca265d23ac95e5d194e4905ead4c975cb8739a0aa30096c028d2f6467b148de2ac0ff71c6730752a666eee53551867d9d8c852d25238a873fbd4bd994cf80c0 WHIRLPOOL cda35e80834745d00ab2e1a3f3531ecc0e5cf4b140c5a167b86ffd213ccf9cdf0bb76d4582ec1745d738fbccd5fa81e1267e6f54a7a330521cd78fb6897d6e3d

@ -0,0 +1,42 @@
--- a/src/org/jvnet/lafplugin/XMLElement.java 2017-03-24 19:08:40.320048066 +0000
+++ b/src/org/jvnet/lafplugin/XMLElement.java 2017-03-24 19:10:18.490049991 +0000
@@ -478,9 +478,9 @@
this.children = new Vector();
this.entities = entities;
this.lineNr = 0;
- Enumeration enum = this.entities.keys();
- while (enum.hasMoreElements()) {
- Object key = enum.nextElement();
+ Enumeration myEnum = this.entities.keys();
+ while (myEnum.hasMoreElements()) {
+ Object key = myEnum.nextElement();
Object value = this.entities.get(key);
if (value instanceof String) {
value = ((String) value).toCharArray();
@@ -2168,10 +2168,10 @@
writer.write('<');
writer.write(this.name);
if (! this.attributes.isEmpty()) {
- Enumeration enum = this.attributes.keys();
- while (enum.hasMoreElements()) {
+ Enumeration myEnum = this.attributes.keys();
+ while (myEnum.hasMoreElements()) {
writer.write(' ');
- String key = (String) enum.nextElement();
+ String key = (String) myEnum.nextElement();
String value = (String) this.attributes.get(key);
writer.write(key);
writer.write('='); writer.write('"');
@@ -2189,9 +2189,9 @@
writer.write('/'); writer.write('>');
} else {
writer.write('>');
- Enumeration enum = this.enumerateChildren();
- while (enum.hasMoreElements()) {
- XMLElement child = (XMLElement) enum.nextElement();
+ Enumeration myEnum = this.enumerateChildren();
+ while (myEnum.hasMoreElements()) {
+ XMLElement child = (XMLElement) myEnum.nextElement();
child.write(writer);
}
writer.write('<'); writer.write('/');

@ -0,0 +1,30 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="Look'n'feel Java library"
HOMEPAGE="http://laf-plugin.dev.java.net/"
SRC_URI="mirror://gentoo/${P}-src.tar.bz2 -> ${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND=">=virtual/jdk-1.6"
RDEPEND=">=virtual/jre-1.6"
S="${WORKDIR}/${P}"
PATCHES=( "${FILESDIR}/${P}-enum.patch" )
src_prepare() {
default
}
src_install() {
java-pkg-simple_src_install
}

@ -1,33 +1,33 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
EAPI=6
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="A generic plugin framework for look-and-feels"
HOMEPAGE="http://laf-plugin.dev.java.net/"
DESCRIPTION="Look'n'feel Java library"
HOMEPAGE="http://laf-plugin.dev.java.net"
SRC_URI="https://repo1.maven.org/maven2/net/java/dev/${PN}/${PN}/${PV}/${P}-sources.jar -> ${P}.jar"
LICENSE="BSD"
SLOT="0"
SLOT="1"
KEYWORDS="~amd64 ~x86"
CDEPEND="
dev-java/nanoxml:0"
CDEPEND="dev-java/nanoxml:0"
DEPEND="
>=virtual/jdk-1.6
${CDEPEND}"
${CDEPEND}
>=virtual/jdk-1.6"
RDEPEND="
>=virtual/jre-1.6
${CDEPEND}"
${CDEPEND}
>=virtual/jre-1.6"
JAVA_GENTOO_CLASSPATH="nanoxml"
java_prepare() {
src_prepare() {
default
java-pkg_clean
}

@ -282,6 +282,10 @@ src_prepare() {
sed -i \
-e 's|^lib/unicore/CombiningClass.pl pod/perluniprops.pod:|lib/unicore/CombiningClass.pl pod/perluniprops.pod: $(CONFIGPM)|' \
Makefile || die
# bug 604072
MAKEOPTS+=" -j1"
export MAKEOPTS
fi
if ! tc-is-static-only ; then

@ -1,17 +1,12 @@
DIST ruby-2.1.10.tar.xz 9362868 SHA256 5be9f8d5d29d252cd7f969ab7550e31bbb001feb4a83532301c0dd3b5006e148 SHA512 72406ac133af7f057d4633d2a300e49e133881f6b36ff4cdf6c72b4ff4325de332fc5a45c96ea407140a8bf09cdc307e13107c539196902e5b67b7d24cd72dc9 WHIRLPOOL c069461eca483db74ffd72efb3279eea3949975e504d1b38ef76d4226f6e85cc3d337a358453fb4910f3b1306fc903ce38f156c7af65d207d2a4732571ef9ac1
DIST ruby-2.1.9.tar.xz 9395648 SHA256 39f203f7498aed2456fb500147fada5adcbf102d89d4f6aca773ebcadd8ea82a SHA512 1f331a8910fd7a9ab9c41bf56aef12041dd413ad49c696f6df2c9a7ec3a3d5cdf383f2a3d30949ea37b8ecb39f50355e526412b36ed4e07b60733d9db4d2bd14 WHIRLPOOL bb2fa158d837f9c278cab93ecb1a8f6a00ddff12c40d1fa5ffb6b55741dc71268fef40fc9f30508dc89b27a05fe9f3b4fbf739ba69ab4e62f669f82a15d26dfa
DIST ruby-2.2.5.tar.xz 10457620 SHA256 f86feaa0a578e8da0924ced3ec68b25b50d69fc9a72cc8d919bc3c73f85f87d7 SHA512 6da4bdb0a43d56c7a8e4dddbcacf237e998ebb54706c8f835b53713dbdf924e40d5f89f63017515e1d66904ca01f28058cf296567104e06540c57f036dcdd0fe WHIRLPOOL 16d7a03c359bf31aeecc67afd72d8290f8f7e2a26b15c069ad623716866b76cea467f550946a27916087343ab3225149681e1555ea9c21459a94f7a038758270
DIST ruby-2.2.6.tar.xz 10487776 SHA256 9414ecc0d09cf71c9a24e8dc82fcc87919ac7359fb08db2791d6c32bfd157339 SHA512 a2cfde1c6df4df6b996f8d86c52b255fd43b469f8b9f0d7a81ce5f4de949a67025d8bead4ce61f03263eb6a8378b156b843f97b429208afaa1d3bfd0a7af4ef4 WHIRLPOOL 77b01fbd54f77196bca93d0120474436dcdc2e8d437cf70ca1382ed38c58cf05c27e9896cb4b2afd61ea2862ce6b864d707cd4682e17dfc7912d4a74da2b741e
DIST ruby-2.3.1.tar.xz 11407048 SHA256 6725b5534d5a3a21ec4f14d6d7b9921a0d00d08acb88fd04cd50b47b70496338 SHA512 e9d89aeefb1b1e72cee9d3d414b27c793cf09ff3ed5e0ea5277a2b6ae1cae9fdbf6b404a84b42c0c6835754eb04674fc4f1470fbfedabeee3f57e518f13db633 WHIRLPOOL ddfad0f36d61e75209bdc69da0ec549a3443ecb3ed8e1347bb3d0b54ec34073eb05fc8bb78843d59b8b65ec92b8df47f001f5f28f00f685bd2ab60b1ce557558
DIST ruby-2.3.2.tar.xz 11420276 SHA256 5c78f311045ce48160092160444dec2744941a5e37d7865032978bd5bf392f0c SHA512 f2e602281cbcfad81b8197b9555bf637a1ef34f51dbc7548e5e0c5996ab1b7db5bd9eeb902128d37eed90f39b559c569aa75f2b29fe5f65085be65a63206fd72 WHIRLPOOL a8206b08b27c45e237069804d03d2250f561c588dfbb65aeb4e3f394b8d843d08abddc65fbf56b4f943dcc25cc2a60b3967cc1a50af4fdce4b8eb5eb1ebe5b95
DIST ruby-2.3.3.tar.xz 11444164 SHA256 1a4fa8c2885734ba37b97ffdb4a19b8fba0e8982606db02d936e65bac07419dc SHA512 73dd6ed896ff52d953b153b2cab359c87953ea77521878f1ee16c1e217cc46bcb253100debe61ba631e6ffa0bc773e592d603a374508ed5189a311136ccd8d20 WHIRLPOOL aa368a2d0f067ac9d0c6fed62c0e1bdfac0d49c473cd49be9b2774ed3097b76286d091a0887528227f36307b8c1217a2493c5c48fb462db52a3e23cb251a7f79
DIST ruby-2.4.0.tar.xz 9906880 SHA256 3a87fef45cba48b9322236be60c455c13fd4220184ce7287600361319bb63690 SHA512 975a5388592adc038461e0acebb6c0efee242891b2ea8621476401458efe2bc0fdd317d3bf99beb745b0b3808410efdff33862da29c95c027f457943721e3ab6 WHIRLPOOL 5e0594aa853f9a8a64837d6c34d7110f32471bda719df3ae724643cbe9722b5003cf014ac10130b5a1d59c3f4cc65967c4c00edeea47801e389241be7fe0b53f
DIST ruby-2.4.1.tar.xz 9939188 SHA256 4fc8a9992de3e90191de369270ea4b6c1b171b7941743614cc50822ddc1fe654 SHA512 e6fd290b6edd166348b70f0f1c56f7ed9d956c4c1eb91d97d0548041ca4196b9b75ec1ad35c745bdbfd4de195899093e7205d7f02b014ecf1c48e6f31cf25903 WHIRLPOOL b45a6e3bd70e6ef802d084ad87ad0eddd85932e07939bd6ed6a2e6944aa289f231971fedd7d1eece792becb08312f37b80073a2a9df070f61f32747c0708523e
DIST ruby-patches-2.1.10.tar.bz2 1931 SHA256 7e02c1b6a6352693bfd5828c9d1a7633a52baa57d8770df182ed0d8b450a3341 SHA512 85928207db4f76e58925e50d39d73db2d521674385ce3232828377e7d7bb4252aafb9f93d6045d4c159bf094b472af61ef9307203db313bf28918fe35e0f3a21 WHIRLPOOL 17a698b0a09be15f444ea34b33e9aa1d029fbd572c565072a92480bf7b6b21f1b6b88b0da3183a486bae30e7e65f3172cd72b7336be1dc5974b62bd8e2b9ef7a
DIST ruby-patches-2.1.9.tar.bz2 1931 SHA256 7e02c1b6a6352693bfd5828c9d1a7633a52baa57d8770df182ed0d8b450a3341 SHA512 85928207db4f76e58925e50d39d73db2d521674385ce3232828377e7d7bb4252aafb9f93d6045d4c159bf094b472af61ef9307203db313bf28918fe35e0f3a21 WHIRLPOOL 17a698b0a09be15f444ea34b33e9aa1d029fbd572c565072a92480bf7b6b21f1b6b88b0da3183a486bae30e7e65f3172cd72b7336be1dc5974b62bd8e2b9ef7a
DIST ruby-patches-2.2.5.tar.bz2 2272 SHA256 f54373704ce8df732490e8d1e7e35188503faacc5278fe0ab0d8c07bdc762fed SHA512 ed8bff8f730ccb114e62784d29541f276b2821d9eb121a9772dc4aabc139b688f2b14f5f27710098a8cd751c62d31b46170b427ad54dc4f6490c003450ae1583 WHIRLPOOL 8598c9284252c1e7cc9f9019c5f468ce5ab8b4ae013e71c631cd00cc8bfde068b041f1bc6851bb2962982a1e46cbde0ddc51c186ea41638a7881c587c658e603
DIST ruby-patches-2.2.6.tar.bz2 2272 SHA256 f54373704ce8df732490e8d1e7e35188503faacc5278fe0ab0d8c07bdc762fed SHA512 ed8bff8f730ccb114e62784d29541f276b2821d9eb121a9772dc4aabc139b688f2b14f5f27710098a8cd751c62d31b46170b427ad54dc4f6490c003450ae1583 WHIRLPOOL 8598c9284252c1e7cc9f9019c5f468ce5ab8b4ae013e71c631cd00cc8bfde068b041f1bc6851bb2962982a1e46cbde0ddc51c186ea41638a7881c587c658e603
DIST ruby-patches-2.3.1.tar.bz2 2223 SHA256 f0a803173564368e5cf31162e1dba901c46640f9e861255f6cbe14256d18f3eb SHA512 bb47000e516017c1fedf7c5313b0628fa734030e69bd0fed1c06a38dd115b8c50837e3dd917f272e24abf5609c4c12793ae4570bfd7d6210290785bf2f8287bd WHIRLPOOL 0b0d4dcf7df4ff3ff11610bfe7a7b29ed621b45b412cb7618a6572f98a568ac67419bd852b193cfc3aa0968382cf9400a578511e9e8fb8b2125bc876e733bd64
DIST ruby-patches-2.3.2.tar.bz2 2223 SHA256 f0a803173564368e5cf31162e1dba901c46640f9e861255f6cbe14256d18f3eb SHA512 bb47000e516017c1fedf7c5313b0628fa734030e69bd0fed1c06a38dd115b8c50837e3dd917f272e24abf5609c4c12793ae4570bfd7d6210290785bf2f8287bd WHIRLPOOL 0b0d4dcf7df4ff3ff11610bfe7a7b29ed621b45b412cb7618a6572f98a568ac67419bd852b193cfc3aa0968382cf9400a578511e9e8fb8b2125bc876e733bd64
DIST ruby-patches-2.3.3-r1.tar.bz2 2223 SHA256 f0a803173564368e5cf31162e1dba901c46640f9e861255f6cbe14256d18f3eb SHA512 bb47000e516017c1fedf7c5313b0628fa734030e69bd0fed1c06a38dd115b8c50837e3dd917f272e24abf5609c4c12793ae4570bfd7d6210290785bf2f8287bd WHIRLPOOL 0b0d4dcf7df4ff3ff11610bfe7a7b29ed621b45b412cb7618a6572f98a568ac67419bd852b193cfc3aa0968382cf9400a578511e9e8fb8b2125bc876e733bd64
DIST ruby-patches-2.3.3.tar.bz2 2223 SHA256 f0a803173564368e5cf31162e1dba901c46640f9e861255f6cbe14256d18f3eb SHA512 bb47000e516017c1fedf7c5313b0628fa734030e69bd0fed1c06a38dd115b8c50837e3dd917f272e24abf5609c4c12793ae4570bfd7d6210290785bf2f8287bd WHIRLPOOL 0b0d4dcf7df4ff3ff11610bfe7a7b29ed621b45b412cb7618a6572f98a568ac67419bd852b193cfc3aa0968382cf9400a578511e9e8fb8b2125bc876e733bd64
DIST ruby-patches-2.4.0.tar.bz2 2047 SHA256 9560b8e8dc4a5517814df07aa635c9269f5e7cff5a15827a25a9f0811194e450 SHA512 b35db875a7e4a226e75eb6f7bc68b4bc97cc699bdc5f6930015e55cdc324b67b9883a2aa574c9c9a8b5dc5345c4df8a5ca8ace5b794b3e4de6517f3eefd25745 WHIRLPOOL fc5d226f46fe4ee1c86f6fff51ec9184b8c0ec08a1793eab365437d4ce2fd573cfc8857386cd10932f7dde05254bc975eff5b7986aea429730c606147fae2a5c
DIST ruby-patches-2.4.1.tar.bz2 2047 SHA256 9560b8e8dc4a5517814df07aa635c9269f5e7cff5a15827a25a9f0811194e450 SHA512 b35db875a7e4a226e75eb6f7bc68b4bc97cc699bdc5f6930015e55cdc324b67b9883a2aa574c9c9a8b5dc5345c4df8a5ca8ace5b794b3e4de6517f3eefd25745 WHIRLPOOL fc5d226f46fe4ee1c86f6fff51ec9184b8c0ec08a1793eab365437d4ce2fd573cfc8857386cd10932f7dde05254bc975eff5b7986aea429730c606147fae2a5c

@ -1,245 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
#PATCHSET=1
inherit autotools eutils flag-o-matic multilib versionator
MY_P="${PN}-$(get_version_component_range 1-3)"
S=${WORKDIR}/${MY_P}
SLOT=$(get_version_component_range 1-2)
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
RUBYVERSION=2.2.0
if [[ -n ${PATCHSET} ]]; then
if [[ ${PVR} == ${PV} ]]; then
PATCHSET="${PV}-r0.${PATCHSET}"
else
PATCHSET="${PVR}.${PATCHSET}"
fi
else
PATCHSET="${PVR}"
fi
DESCRIPTION="An object-oriented scripting language"
HOMEPAGE="http://www.ruby-lang.org/"
SRC_URI="mirror://ruby/2.2/${MY_P}.tar.xz
https://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
LICENSE="|| ( Ruby-BSD BSD-2 )"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
IUSE="berkdb debug doc examples gdbm ipv6 jemalloc libressl +rdoc rubytests socks5 ssl tk xemacs ncurses +readline"
RDEPEND="
berkdb? ( sys-libs/db:= )
gdbm? ( sys-libs/gdbm )
jemalloc? ( dev-libs/jemalloc )
ssl? (
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl )
)
socks5? ( >=net-proxy/dante-1.1.13 )
tk? (
dev-lang/tcl:0=[threads]
dev-lang/tk:0=[threads]
)
ncurses? ( sys-libs/ncurses:0= )
readline? ( sys-libs/readline:0= )
dev-libs/libyaml
virtual/libffi
sys-libs/zlib
>=app-eselect/eselect-ruby-20141227
!<dev-ruby/rdoc-3.9.4
!<dev-ruby/rubygems-1.8.10-r1"
DEPEND="${RDEPEND}"
BUNDLED_GEMS="
>=dev-ruby/minitest-5.4.3[ruby_targets_ruby22]
>=dev-ruby/power_assert-0.2.2[ruby_targets_ruby22]
>=dev-ruby/test-unit-3.0.8[ruby_targets_ruby22]
"
PDEPEND="
${BUNDLED_GEMS}
virtual/rubygems[ruby_targets_ruby22]
>=dev-ruby/json-1.8.1[ruby_targets_ruby22]
>=dev-ruby/rake-0.9.6[ruby_targets_ruby22]
rdoc? ( >=dev-ruby/rdoc-4.0.1[ruby_targets_ruby22] )
xemacs? ( app-xemacs/ruby-modes )"
src_prepare() {
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
epatch "${WORKDIR}/patches"
# We can no longer unbundle all of rake because rubygems now depends
# on this. We leave the actual rake code around to bootstrap
# rubygems, but remove the bits that would cause a file collision.
einfo "Unbundling gems..."
cd "$S"
rm -rf \
{bin,lib}/rake lib/rake.rb man/rake.1 \
bin/gem || die "removal failed"
# Remove bundled gems that we will install via PDEPEND, bug
# 539700. Use explicit version numbers to ensure rm fails when they
# change so we can update dependencies accordingly.
rm gems/{minitest-5.4.3,power_assert-0.2.2,test-unit-3.0.8}.gem || die
# Fix a hardcoded lib path in configure script
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
configure.in || die "sed failed"
eautoreconf
}
src_configure() {
local modules= myconf=
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
filter-flags -fomit-frame-pointer
# In many places aliasing rules are broken; play it safe
# as it's risky with newer compilers to leave it as it is.
append-flags -fno-strict-aliasing
# SuperH needs this
use sh && append-flags -mieee
# Socks support via dante
if use socks5 ; then
# Socks support can't be disabled as long as SOCKS_SERVER is
# set and socks library is present, so need to unset
# SOCKS_SERVER in that case.
unset SOCKS_SERVER
fi
# Increase GC_MALLOC_LIMIT if set (default is 8000000)
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
fi
# ipv6 hack, bug 168939. Needs --enable-ipv6.
use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
# Determine which modules *not* to build depending in the USE flags.
if ! use readline ; then
modules="${modules},readline"
fi
if ! use berkdb ; then
modules="${modules},dbm"
fi
if ! use gdbm ; then
modules="${modules},gdbm"
fi
if ! use ssl ; then
modules="${modules},openssl"
fi
if ! use ncurses ; then
modules="${modules},curses"
fi
if ! use tk ; then
modules="${modules},tk"
fi
# Provide an empty LIBPATHENV because we disable rpath but we do not
# need LD_LIBRARY_PATH by default since that breaks USE=multitarget
# #564272
INSTALL="${EPREFIX}/usr/bin/install -c" LIBPATHENV="" econf \
--program-suffix=${MY_SUFFIX} \
--with-soname=ruby${MY_SUFFIX} \
--docdir=${EPREFIX}/usr/share/doc/${P} \
--enable-shared \
--enable-pthread \
--disable-rpath \
--with-out-ext="${modules}" \
$(use_enable jemalloc jemalloc) \
$(use_enable socks5 socks) \
$(use_enable doc install-doc) \
--enable-ipv6 \
$(use_enable debug) \
${myconf} \
--enable-option-checking=no \
|| die "econf failed"
}
src_compile() {
emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
}
src_test() {
emake -j1 V=1 test || die "make test failed"
elog "Ruby's make test has been run. Ruby also ships with a make check"
elog "that cannot be run until after ruby has been installed."
elog
if use rubytests; then
elog "You have enabled rubytests, so they will be installed to"
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
elog "than root, and you must place them into a writeable directory."
elog "Then call: "
elog
elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb"
else
elog "Enable the rubytests USE flag to install the make check tests"
fi
}
src_install() {
# Remove the remaining bundled gems. We do this late in the process
# since they are used during the build to e.g. create the
# documentation.
rm -rf ext/json || die
# Ruby is involved in the install process, we don't want interference here.
unset RUBYOPT
local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
LD_LIBRARY_PATH="${S}:${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"
for d in $(find "${S}/ext" -type d) ; do
RUBYLIB="${RUBYLIB}:$d"
done
export LD_LIBRARY_PATH RUBYLIB
emake V=1 DESTDIR="${D}" install || die "make install failed"
# Remove installed rubygems copy
rm -rf "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"
rm -rf "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed"
rm -rf "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed"
if use doc; then
make DESTDIR="${D}" install-doc || die "make install-doc failed"
fi
if use examples; then
insinto /usr/share/doc/${PF}
doins -r sample
fi
dodoc ChangeLog NEWS doc/NEWS* README* || die
if use rubytests; then
pushd test
insinto /usr/share/${PN}-${SLOT}/test
doins -r .
popd
fi
}
pkg_postinst() {
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
eselect ruby set ruby${MY_SUFFIX}
fi
elog
elog "To switch between available Ruby profiles, execute as root:"
elog "\teselect ruby set ruby(19|20|...)"
elog
}
pkg_postrm() {
eselect ruby cleanup
}

@ -1,242 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
#PATCHSET=1
inherit autotools eutils flag-o-matic multilib versionator
MY_P="${PN}-$(get_version_component_range 1-3)"
S=${WORKDIR}/${MY_P}
SLOT=$(get_version_component_range 1-2)
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
RUBYVERSION=2.3.0
if [[ -n ${PATCHSET} ]]; then
if [[ ${PVR} == ${PV} ]]; then
PATCHSET="${PV}-r0.${PATCHSET}"
else
PATCHSET="${PVR}.${PATCHSET}"
fi
else
PATCHSET="${PVR}"
fi
DESCRIPTION="An object-oriented scripting language"
HOMEPAGE="http://www.ruby-lang.org/"
SRC_URI="mirror://ruby/${SLOT}/${MY_P}.tar.xz
https://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
LICENSE="|| ( Ruby-BSD BSD-2 )"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
IUSE="berkdb debug doc examples gdbm ipv6 jemalloc libressl +rdoc rubytests socks5 ssl tk xemacs ncurses +readline"
RDEPEND="
berkdb? ( sys-libs/db:= )
gdbm? ( sys-libs/gdbm )
jemalloc? ( dev-libs/jemalloc )
ssl? (
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl )
)
socks5? ( >=net-proxy/dante-1.1.13 )
tk? (
dev-lang/tcl:0=[threads]
dev-lang/tk:0=[threads]
)
ncurses? ( sys-libs/ncurses:0= )
readline? ( sys-libs/readline:0= )
dev-libs/libyaml
virtual/libffi
sys-libs/zlib
>=app-eselect/eselect-ruby-20151229
!<dev-ruby/rdoc-3.9.4
!<dev-ruby/rubygems-1.8.10-r1"
DEPEND="${RDEPEND}"
BUNDLED_GEMS="
>=dev-ruby/did_you_mean-1.0.0[ruby_targets_ruby23]
>=dev-ruby/minitest-5.8.3[ruby_targets_ruby23]
>=dev-ruby/net-telnet-0.1.1[ruby_targets_ruby23]
>=dev-ruby/power_assert-0.2.6[ruby_targets_ruby23]
>=dev-ruby/rake-10.4.2[ruby_targets_ruby23]
>=dev-ruby/test-unit-3.1.5[ruby_targets_ruby23]
"
PDEPEND="
${BUNDLED_GEMS}
virtual/rubygems[ruby_targets_ruby23]
>=dev-ruby/json-1.8.3[ruby_targets_ruby23]
rdoc? ( >=dev-ruby/rdoc-4.2.1[ruby_targets_ruby23] )
xemacs? ( app-xemacs/ruby-modes )"
src_prepare() {
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
epatch "${WORKDIR}/patches"
einfo "Unbundling gems..."
cd "$S"
# Remove bundled gems that we will install via PDEPEND, bug
# 539700. Use explicit version numbers to ensure rm fails when they
# change so we can update dependencies accordingly.
rm -f gems/{did_you_mean-1.0.0,minitest-5.8.3,net-telnet-0.1.1,power_assert-0.2.6,rake-10.4.2,test-unit-3.1.5}.gem || die
# Fix a hardcoded lib path in configure script
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
configure.in || die "sed failed"
eautoreconf
}
src_configure() {
local modules= myconf=
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
filter-flags -fomit-frame-pointer
# In many places aliasing rules are broken; play it safe
# as it's risky with newer compilers to leave it as it is.
append-flags -fno-strict-aliasing
# SuperH needs this
use sh && append-flags -mieee
# Socks support via dante
if use socks5 ; then
# Socks support can't be disabled as long as SOCKS_SERVER is
# set and socks library is present, so need to unset
# SOCKS_SERVER in that case.
unset SOCKS_SERVER
fi
# Increase GC_MALLOC_LIMIT if set (default is 8000000)
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
fi
# ipv6 hack, bug 168939. Needs --enable-ipv6.
use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
# Determine which modules *not* to build depending in the USE flags.
if ! use readline ; then
modules="${modules},readline"
fi
if ! use berkdb ; then
modules="${modules},dbm"
fi
if ! use gdbm ; then
modules="${modules},gdbm"
fi
if ! use ssl ; then
modules="${modules},openssl"
fi
if ! use ncurses ; then
modules="${modules},curses"
fi
if ! use tk ; then
modules="${modules},tk"
fi
# Provide an empty LIBPATHENV because we disable rpath but we do not
# need LD_LIBRARY_PATH by default since that breaks USE=multitarget
# #564272
INSTALL="${EPREFIX}/usr/bin/install -c" LIBPATHENV="" econf \
--program-suffix=${MY_SUFFIX} \
--with-soname=ruby${MY_SUFFIX} \
--docdir=${EPREFIX}/usr/share/doc/${P} \
--enable-shared \
--enable-pthread \
--disable-rpath \
--with-out-ext="${modules}" \
$(use_enable jemalloc jemalloc) \
$(use_enable socks5 socks) \
$(use_enable doc install-doc) \
--enable-ipv6 \
$(use_enable debug) \
${myconf} \
--enable-option-checking=no \
|| die "econf failed"
}
src_compile() {
emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
}
src_test() {
emake -j1 V=1 test || die "make test failed"
elog "Ruby's make test has been run. Ruby also ships with a make check"
elog "that cannot be run until after ruby has been installed."
elog
if use rubytests; then
elog "You have enabled rubytests, so they will be installed to"
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
elog "than root, and you must place them into a writeable directory."
elog "Then call: "
elog
elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb"
else
elog "Enable the rubytests USE flag to install the make check tests"
fi
}
src_install() {
# Remove the remaining bundled gems. We do this late in the process
# since they are used during the build to e.g. create the
# documentation.
rm -rf ext/json || die
# Ruby is involved in the install process, we don't want interference here.
unset RUBYOPT
local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
LD_LIBRARY_PATH="${S}:${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"
for d in $(find "${S}/ext" -type d) ; do
RUBYLIB="${RUBYLIB}:$d"
done
export LD_LIBRARY_PATH RUBYLIB
emake V=1 DESTDIR="${D}" install || die "make install failed"
# Remove installed rubygems and rdoc copy
rm -rf "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"
rm -rf "${D}/usr/bin/"gem"${MY_SUFFIX}" || die "rm rdoc bins failed"
rm -rf "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed"
rm -rf "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed"
if use doc; then
make DESTDIR="${D}" install-doc || die "make install-doc failed"
fi
if use examples; then
insinto /usr/share/doc/${PF}
doins -r sample
fi
dodoc ChangeLog NEWS doc/NEWS* README* || die
if use rubytests; then
pushd test
insinto /usr/share/${PN}-${SLOT}/test
doins -r .
popd
fi
}
pkg_postinst() {
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
eselect ruby set ruby${MY_SUFFIX}
fi
elog
elog "To switch between available Ruby profiles, execute as root:"
elog "\teselect ruby set ruby(19|20|...)"
elog
}
pkg_postrm() {
eselect ruby cleanup
}

@ -1,242 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
#PATCHSET=1
inherit autotools eutils flag-o-matic multilib versionator
MY_P="${PN}-$(get_version_component_range 1-3)"
S=${WORKDIR}/${MY_P}
SLOT=$(get_version_component_range 1-2)
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
RUBYVERSION=2.3.0
if [[ -n ${PATCHSET} ]]; then
if [[ ${PVR} == ${PV} ]]; then
PATCHSET="${PV}-r0.${PATCHSET}"
else
PATCHSET="${PVR}.${PATCHSET}"
fi
else
PATCHSET="${PVR}"
fi
DESCRIPTION="An object-oriented scripting language"
HOMEPAGE="http://www.ruby-lang.org/"
SRC_URI="mirror://ruby/${SLOT}/${MY_P}.tar.xz
https://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
LICENSE="|| ( Ruby-BSD BSD-2 )"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
IUSE="berkdb debug doc examples gdbm ipv6 jemalloc libressl +rdoc rubytests socks5 ssl tk xemacs ncurses +readline"
RDEPEND="
berkdb? ( sys-libs/db:= )
gdbm? ( sys-libs/gdbm )
jemalloc? ( dev-libs/jemalloc )
ssl? (
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl )
)
socks5? ( >=net-proxy/dante-1.1.13 )
tk? (
dev-lang/tcl:0=[threads]
dev-lang/tk:0=[threads]
)
ncurses? ( sys-libs/ncurses:0= )
readline? ( sys-libs/readline:0= )
dev-libs/libyaml
virtual/libffi
sys-libs/zlib
>=app-eselect/eselect-ruby-20151229
!<dev-ruby/rdoc-3.9.4
!<dev-ruby/rubygems-1.8.10-r1"
DEPEND="${RDEPEND}"
BUNDLED_GEMS="
>=dev-ruby/did_you_mean-1.0.0[ruby_targets_ruby23]
>=dev-ruby/minitest-5.8.3[ruby_targets_ruby23]
>=dev-ruby/net-telnet-0.1.1[ruby_targets_ruby23]
>=dev-ruby/power_assert-0.2.6[ruby_targets_ruby23]
>=dev-ruby/rake-10.4.2[ruby_targets_ruby23]
>=dev-ruby/test-unit-3.1.5[ruby_targets_ruby23]
"
PDEPEND="
${BUNDLED_GEMS}
virtual/rubygems[ruby_targets_ruby23]
>=dev-ruby/json-1.8.3[ruby_targets_ruby23]
rdoc? ( >=dev-ruby/rdoc-4.2.1[ruby_targets_ruby23] )
xemacs? ( app-xemacs/ruby-modes )"
src_prepare() {
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
epatch "${WORKDIR}/patches"
einfo "Unbundling gems..."
cd "$S"
# Remove bundled gems that we will install via PDEPEND, bug
# 539700. Use explicit version numbers to ensure rm fails when they
# change so we can update dependencies accordingly.
rm -f gems/{did_you_mean-1.0.0,minitest-5.8.3,net-telnet-0.1.1,power_assert-0.2.6,rake-10.4.2,test-unit-3.1.5}.gem || die
# Fix a hardcoded lib path in configure script
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
configure.in || die "sed failed"
eautoreconf
}
src_configure() {
local modules= myconf=
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
filter-flags -fomit-frame-pointer
# In many places aliasing rules are broken; play it safe
# as it's risky with newer compilers to leave it as it is.
append-flags -fno-strict-aliasing
# SuperH needs this
use sh && append-flags -mieee
# Socks support via dante
if use socks5 ; then
# Socks support can't be disabled as long as SOCKS_SERVER is
# set and socks library is present, so need to unset
# SOCKS_SERVER in that case.
unset SOCKS_SERVER
fi
# Increase GC_MALLOC_LIMIT if set (default is 8000000)
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
fi
# ipv6 hack, bug 168939. Needs --enable-ipv6.
use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
# Determine which modules *not* to build depending in the USE flags.
if ! use readline ; then
modules="${modules},readline"
fi
if ! use berkdb ; then
modules="${modules},dbm"
fi
if ! use gdbm ; then
modules="${modules},gdbm"
fi
if ! use ssl ; then
modules="${modules},openssl"
fi
if ! use ncurses ; then
modules="${modules},curses"
fi
if ! use tk ; then
modules="${modules},tk"
fi
# Provide an empty LIBPATHENV because we disable rpath but we do not
# need LD_LIBRARY_PATH by default since that breaks USE=multitarget
# #564272
INSTALL="${EPREFIX}/usr/bin/install -c" LIBPATHENV="" econf \
--program-suffix=${MY_SUFFIX} \
--with-soname=ruby${MY_SUFFIX} \
--docdir=${EPREFIX}/usr/share/doc/${P} \
--enable-shared \
--enable-pthread \
--disable-rpath \
--with-out-ext="${modules}" \
$(use_enable jemalloc jemalloc) \
$(use_enable socks5 socks) \
$(use_enable doc install-doc) \
--enable-ipv6 \
$(use_enable debug) \
${myconf} \
--enable-option-checking=no \
|| die "econf failed"
}
src_compile() {
emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
}
src_test() {
emake -j1 V=1 test || die "make test failed"
elog "Ruby's make test has been run. Ruby also ships with a make check"
elog "that cannot be run until after ruby has been installed."
elog
if use rubytests; then
elog "You have enabled rubytests, so they will be installed to"
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
elog "than root, and you must place them into a writeable directory."
elog "Then call: "
elog
elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb"
else
elog "Enable the rubytests USE flag to install the make check tests"
fi
}
src_install() {
# Remove the remaining bundled gems. We do this late in the process
# since they are used during the build to e.g. create the
# documentation.
rm -rf ext/json || die
# Ruby is involved in the install process, we don't want interference here.
unset RUBYOPT
local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
LD_LIBRARY_PATH="${S}:${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"
for d in $(find "${S}/ext" -type d) ; do
RUBYLIB="${RUBYLIB}:$d"
done
export LD_LIBRARY_PATH RUBYLIB
emake V=1 DESTDIR="${D}" install || die "make install failed"
# Remove installed rubygems and rdoc copy
rm -rf "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"
rm -rf "${D}/usr/bin/"gem"${MY_SUFFIX}" || die "rm rdoc bins failed"
rm -rf "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed"
rm -rf "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed"
if use doc; then
make DESTDIR="${D}" install-doc || die "make install-doc failed"
fi
if use examples; then
insinto /usr/share/doc/${PF}
doins -r sample
fi
dodoc ChangeLog NEWS doc/NEWS* README* || die
if use rubytests; then
pushd test
insinto /usr/share/${PN}-${SLOT}/test
doins -r .
popd
fi
}
pkg_postinst() {
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
eselect ruby set ruby${MY_SUFFIX}
fi
elog
elog "To switch between available Ruby profiles, execute as root:"
elog "\teselect ruby set ruby(19|20|...)"
elog
}
pkg_postrm() {
eselect ruby cleanup
}

@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
EAPI=6
#PATCHSET=1
@ -12,7 +12,7 @@ S=${WORKDIR}/${MY_P}
SLOT=$(get_version_component_range 1-2)
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
RUBYVERSION=2.3.0
RUBYVERSION=${SLOT}.0
if [[ -n ${PATCHSET} ]]; then
if [[ ${PVR} == ${PV} ]]; then
@ -27,11 +27,11 @@ fi
DESCRIPTION="An object-oriented scripting language"
HOMEPAGE="http://www.ruby-lang.org/"
SRC_URI="mirror://ruby/${SLOT}/${MY_P}.tar.xz
https://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
https://dev.gentoo.org/~graaff/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
LICENSE="|| ( Ruby-BSD BSD-2 )"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
IUSE="berkdb debug doc examples gdbm ipv6 jemalloc libressl +rdoc rubytests socks5 ssl tk xemacs ncurses +readline"
IUSE="berkdb debug doc examples gdbm ipv6 jemalloc libressl +rdoc rubytests socks5 ssl tk xemacs"
RDEPEND="
berkdb? ( sys-libs/db:= )
@ -46,31 +46,30 @@ RDEPEND="
dev-lang/tcl:0=[threads]
dev-lang/tk:0=[threads]
)
ncurses? ( sys-libs/ncurses:0= )
readline? ( sys-libs/readline:0= )
dev-libs/libyaml
virtual/libffi
sys-libs/zlib
>=app-eselect/eselect-ruby-20151229
>=app-eselect/eselect-ruby-20161226
!<dev-ruby/rdoc-3.9.4
!<dev-ruby/rubygems-1.8.10-r1"
DEPEND="${RDEPEND}"
BUNDLED_GEMS="
>=dev-ruby/did_you_mean-1.0.0[ruby_targets_ruby23]
>=dev-ruby/minitest-5.8.3[ruby_targets_ruby23]
>=dev-ruby/net-telnet-0.1.1[ruby_targets_ruby23]
>=dev-ruby/power_assert-0.2.6[ruby_targets_ruby23]
>=dev-ruby/rake-10.4.2[ruby_targets_ruby23]
>=dev-ruby/test-unit-3.1.5[ruby_targets_ruby23]
>=dev-ruby/did_you_mean-1.1.0:2.4[ruby_targets_ruby24]
>=dev-ruby/minitest-5.10.1[ruby_targets_ruby24]
>=dev-ruby/net-telnet-0.1.1[ruby_targets_ruby24]
>=dev-ruby/power_assert-0.4.1[ruby_targets_ruby24]
>=dev-ruby/rake-12.0.0[ruby_targets_ruby24]
>=dev-ruby/test-unit-3.2.3[ruby_targets_ruby24]
>=dev-ruby/xmlrpc-0.2.1[ruby_targets_ruby24]
"
PDEPEND="
${BUNDLED_GEMS}
virtual/rubygems[ruby_targets_ruby23]
>=dev-ruby/json-1.8.3[ruby_targets_ruby23]
rdoc? ( >=dev-ruby/rdoc-4.2.1[ruby_targets_ruby23] )
virtual/rubygems[ruby_targets_ruby24]
>=dev-ruby/json-2.0.2[ruby_targets_ruby24]
rdoc? ( >=dev-ruby/rdoc-5.1.0[ruby_targets_ruby24] )
xemacs? ( app-xemacs/ruby-modes )"
src_prepare() {
@ -82,12 +81,17 @@ src_prepare() {
# Remove bundled gems that we will install via PDEPEND, bug
# 539700. Use explicit version numbers to ensure rm fails when they
# change so we can update dependencies accordingly.
rm -f gems/{did_you_mean-1.0.0,minitest-5.8.3,net-telnet-0.1.1,power_assert-0.2.6,rake-10.4.2,test-unit-3.1.5}.gem || die
rm -f gems/{did_you_mean-1.1.0,minitest-5.10.1,net-telnet-0.1.1,power_assert-0.4.1,rake-12.0.0,test-unit-3.2.3,xmlrpc-0.2.1}.gem || die
einfo "Removing bundled libraries..."
rm -fr ext/fiddle/libffi-3.2.1 || die
# Fix a hardcoded lib path in configure script
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
configure.in || die "sed failed"
eapply_user
eautoreconf
}
@ -119,9 +123,6 @@ src_configure() {
use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
# Determine which modules *not* to build depending in the USE flags.
if ! use readline ; then
modules="${modules},readline"
fi
if ! use berkdb ; then
modules="${modules},dbm"
fi
@ -131,9 +132,6 @@ src_configure() {
if ! use ssl ; then
modules="${modules},openssl"
fi
if ! use ncurses ; then
modules="${modules},curses"
fi
if ! use tk ; then
modules="${modules},tk"
fi

@ -1,2 +1,3 @@
DIST beignet-1.2.1-source.tar.gz 1080590 SHA256 b74eb03534a12b86a896cdbd8209b072c8a38e7af456195793a498428a7ac81f SHA512 f0d0d0590be1624928d9ee1a0666f49d908eff1ee9c1a7a28c4e680523419e544f607899bcfdae7f4ce5d32d411739afb481c0c22383db4a7381ccc71326e7f2 WHIRLPOOL 74bb72220e865406100a232fd8755b37746acf3616adbc7c66389a7a7ef3d7ca959ea1234d167091161019c1c3fc0fb9b877fc70af695bd2d2bb232c83725322
DIST beignet-1.3.0-source.tar.gz 1133643 SHA256 63d98b4fe8fba3dbc0299d29fef84560625e5ac51b16b8fed453021d4afb5cd5 SHA512 7eb3c8bca484462787a6b4d360059b63608305b171e33078f1b65dcbcbf6831bcca95e762af3f4f0b9c99449c7d607e63ea138149b9f3a854d7017df927aa7ee WHIRLPOOL cbaa92f67a5f53b3d3243dd08c9a680c734b732601667a40ba147023fa96c0b4f78794f76011ab172c66265ad4bf0eddd5b6b301fc0a67790dc3d30c23d7ec83
DIST beignet-1.3.1-source.tar.gz 1136608 SHA256 399b7bc64d674b3092683263f7c085c5592686b9d837817e77857248e5cb561f SHA512 727c8ce68dc39672aa37370ebf2748955925a7cfd58c970c9a641706b45cc31d4a7d3eeebc366ed32ef69add5dd36189814454e5b31f12a6f09ea1a51c810338 WHIRLPOOL 528667a58fbd446e7177edc578543b301205a05fae99d3b1d3782792cac564683e7318fe4e83d81c194ee29fa6cca613e86ce8064f26b551385c8b6c51f4b21e

@ -0,0 +1,104 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
CMAKE_BUILD_TYPE="Release"
inherit python-any-r1 cmake-multilib flag-o-matic toolchain-funcs
DESCRIPTION="OpenCL implementation for Intel GPUs"
HOMEPAGE="https://01.org/beignet"
LICENSE="LGPL-2.1+"
SLOT="0"
IUSE="ocl-icd ocl20"
if [[ "${PV}" == "9999" ]]; then
inherit git-r3
EGIT_REPO_URI="git://anongit.freedesktop.org/beignet"
KEYWORDS=""
else
KEYWORDS="~amd64"
SRC_URI="https://01.org/sites/default/files/${P}-source.tar.gz"
S=${WORKDIR}/Beignet-${PV}-Source
fi
COMMON="${PYTHON_DEPS}
media-libs/mesa
sys-devel/clang:0=
>=sys-devel/llvm-3.6:0=
ocl20? ( >=sys-devel/llvm-3.9:0= )
>=x11-libs/libdrm-2.4.70[video_cards_intel]
x11-libs/libXext
x11-libs/libXfixes"
RDEPEND="${COMMON}
app-eselect/eselect-opencl"
DEPEND="${COMMON}
${PYTHON_DEPS}
ocl-icd? ( dev-libs/ocl-icd )
virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/no-debian-multiarch.patch
"${FILESDIR}"/${P}-oclicd_no_upstream_icdfile.patch
"${FILESDIR}"/${PN}-1.2.0_no-hardcoded-cflags.patch
"${FILESDIR}"/llvm-terminfo.patch
)
DOCS=(
docs/.
)
pkg_pretend() {
if [[ ${MERGE_TYPE} != "binary" ]]; then
if tc-is-gcc; then
if [[ $(gcc-major-version) -eq 4 ]] && [[ $(gcc-minor-version) -lt 6 ]]; then
eerror "Compilation with gcc older than 4.6 is not supported"
die "Too old gcc found."
fi
fi
fi
}
pkg_setup() {
python_setup
}
src_prepare() {
# See Bug #593968
append-flags -fPIC
cmake-utils_src_prepare
# We cannot run tests because they require permissions to access
# the hardware, and building them is very time-consuming.
cmake_comment_add_subdirectory utests
}
multilib_src_configure() {
VENDOR_DIR="/usr/$(get_libdir)/OpenCL/vendors/${PN}"
local mycmakeargs=(
-DCMAKE_INSTALL_PREFIX="${VENDOR_DIR}"
-DOCLICD_COMPAT=$(usex ocl-icd)
-DENABLE_OPENCL_20=$(usex ocl20)
)
cmake-utils_src_configure
}
multilib_src_install() {
VENDOR_DIR="/usr/$(get_libdir)/OpenCL/vendors/${PN}"
cmake-utils_src_install
insinto /etc/OpenCL/vendors/
echo "${VENDOR_DIR}/lib/${PN}/libcl.so" > "${PN}-${ABI}.icd" || die "Failed to generate ICD file"
doins "${PN}-${ABI}.icd"
dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libOpenCL.so.1
dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libOpenCL.so
dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libcl.so.1
dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libcl.so
}

@ -0,0 +1,14 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -213,11 +213,6 @@
Find_Package(OCLIcd)
IF(OCLIcd_FOUND)
MESSAGE(STATUS "Looking for OCL ICD header file - found")
- configure_file (
- "intel-beignet.icd.in"
- "${ICD_FILE_NAME}"
- )
- install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${ICD_FILE_NAME} DESTINATION /etc/OpenCL/vendors)
ELSE(OCLIcd_FOUND)
MESSAGE(STATUS "Looking for OCL ICD header file - not found")
MESSAGE(FATAL_ERROR "OCL ICD loader miss. If you really want to disable OCL ICD support, please run cmake with option -DOCLICD_COMPAT=0.")

@ -4,7 +4,7 @@
EAPI="6"
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
inherit eutils multilib python-r1 toolchain-funcs
inherit multilib python-r1 toolchain-funcs
MY_PN="Botan"
MY_P="${MY_PN}-${PV}"

@ -4,7 +4,7 @@
EAPI="6"
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
inherit eutils multilib python-r1 toolchain-funcs
inherit multilib python-r1 toolchain-funcs
MY_PN="Botan"
MY_P="${MY_PN}-${PV}"

@ -1 +1 @@
DIST capstone-3.0.4.tar.gz 2800818 SHA256 5d6dadf5864c56f8de66c66088fa68e849d0bff6577865a4f81b6f23112b14f2 SHA512 a5c29e7c559b5391d6a4ec9a7f766699ea6d321aa2f1fc57fdcec893107fa3ef2f5f6323629971c1129f1ca087df4f3ad03d0a8234d2eae368c8ccfec04dbf4d WHIRLPOOL 24aa002e215ee2a74c06a9be40218c78258a853028c74e1cdf95a5e2ea484471cf084cc8f5cc9db1aaefc16cf80a0b37480d4af60ca9119730334cbe2a02b906
DIST capstone-3.0.5_rc2.tar.gz 2829338 SHA256 587c092454ad59137686529f3c008c265cc6d427a85d5d2e8f6a902b72d215b3 SHA512 31bafdb0b3183d0c054a4244cc135db9a3c3dc5cb2e2af706bfede0d53cca8cba81d74b74ef9a4adbfd6c79cc408864dd80b8203791e17bd6c98bb69ea4f6894 WHIRLPOOL 11a84f178cae68507d2686a81ca6cbc84b6402cb02e7278c03ec598887a0aa02d28a9ecbf388e09c8c3ae8d8ecf323dd4eaa211f79969089c4c7d6fbbe022349

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@ -7,7 +7,7 @@ inherit toolchain-funcs
DESCRIPTION="disassembly/disassembler framework + bindings"
HOMEPAGE="http://www.capstone-engine.org/"
SRC_URI="https://github.com/aquynh/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/aquynh/${PN}/archive/${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0/3" # libcapstone.so.3
@ -16,6 +16,13 @@ KEYWORDS="~amd64 ~arm ~x86"
RDEPEND=""
DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}"/${P}-CVE-2017-6952.patch
"${FILESDIR}"/${P}-FLAGS.patch
)
S=${WORKDIR}/${P/_rc/-rc}
src_configure() {
{
cat <<-EOF

@ -0,0 +1,41 @@
commit 6fe86eef621b9849f51a5e1e5d73258a93440403
Author: Quang Nguyễn <quangnh89@users.noreply.github.com>
Date: Mon Mar 13 22:34:48 2017 +0700
provide a validity check to prevent against Integer overflow conditions (#870)
* provide a validity check to prevent against Integer overflow conditions
* fix some style issues.
diff --git a/windows/winkernel_mm.c b/windows/winkernel_mm.c
index c127da3a..ecdc1ca2 100644
--- a/windows/winkernel_mm.c
+++ b/windows/winkernel_mm.c
@@ -3,6 +3,7 @@
#include "winkernel_mm.h"
#include <ntddk.h>
+#include <Ntintsafe.h>
// A pool tag for memory allocation
static const ULONG CS_WINKERNEL_POOL_TAG = 'kwsC';
@@ -33,8 +34,16 @@ void * CAPSTONE_API cs_winkernel_malloc(size_t size)
// FP; a use of NonPagedPool is required for Windows 7 support
#pragma prefast(suppress : 30030) // Allocating executable POOL_TYPE memory
- CS_WINKERNEL_MEMBLOCK *block = (CS_WINKERNEL_MEMBLOCK *)ExAllocatePoolWithTag(
- NonPagedPool, size + sizeof(CS_WINKERNEL_MEMBLOCK), CS_WINKERNEL_POOL_TAG);
+ size_t number_of_bytes = 0;
+ CS_WINKERNEL_MEMBLOCK *block = NULL;
+ // A specially crafted size value can trigger the overflow.
+ // If the sum in a value that overflows or underflows the capacity of the type,
+ // the function returns NULL.
+ if (!NT_SUCCESS(RtlSizeTAdd(size, sizeof(CS_WINKERNEL_MEMBLOCK), &number_of_bytes))) {
+ return NULL;
+ }
+ block = (CS_WINKERNEL_MEMBLOCK *)ExAllocatePoolWithTag(
+ NonPagedPool, number_of_bytes, CS_WINKERNEL_POOL_TAG);
if (!block) {
return NULL;
}

@ -0,0 +1,16 @@
Add support for user overridden CFLAGS and LDFLAGS
diff --git a/cstool/Makefile b/cstool/Makefile
index 450ac1b..3cf2a81 100644
--- a/cstool/Makefile
+++ b/cstool/Makefile
@@ -3,2 +3,3 @@
include ../functions.mk
+include ../config.mk
@@ -8,4 +9,4 @@ LIBNAME = capstone
-CFLAGS = -I../include
-LDFLAGS = -O3 -Wall -L.. -l$(LIBNAME)
+CFLAGS += -I../include
+LDFLAGS += -Wall -L.. -l$(LIBNAME)

@ -6,7 +6,7 @@ EAPI=6
PYTHON_COMPAT=( python2_7 pypy )
DISTUTILS_OPTIONAL=1
inherit distutils-r1 eutils flag-o-matic multilib toolchain-funcs versionator
inherit distutils-r1 flag-o-matic multilib toolchain-funcs versionator
MY_PV="${PV//.}"

@ -38,7 +38,8 @@ multilib_src_configure() {
--enable-man \
--disable-gcov \
$(usex debug --enable-debug=yes --enable-debug=minimum) \
$(multilib_native_use_enable introspection)
$(multilib_native_use_enable introspection) \
--with-xml-catalog="${EPREFIX}"/etc/xml/catalog
if multilib_is_native_abi; then
ln -s "${S}"/doc/html doc/html || die

@ -3,7 +3,7 @@
EAPI=6
inherit libtool eutils
inherit libtool ltprune
DESCRIPTION="IPC library used by GnuPG and GPGME"
HOMEPAGE="http://www.gnupg.org/related_software/libassuan/index.en.html"

@ -3,7 +3,7 @@
EAPI=5
inherit libtool eutils
inherit libtool ltprune
DESCRIPTION="IPC library used by GnuPG and GPGME"
HOMEPAGE="http://www.gnupg.org/related_software/libassuan/index.en.html"

@ -24,7 +24,7 @@ fi
LICENSE="|| ( MIT BSD )"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="

@ -24,7 +24,7 @@ fi
LICENSE="|| ( MIT BSD )"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="

@ -24,7 +24,7 @@ fi
LICENSE="|| ( MIT BSD )"
SLOT="0"
KEYWORDS="amd64 ppc x86"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND="

@ -13,7 +13,7 @@ S="${WORKDIR}/tsg--${PN}-${CUSTOM_VERSION}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
KEYWORDS="amd64 ~arm64 x86"
IUSE="doc static-libs"
RDEPEND=""

@ -3,7 +3,7 @@
EAPI=5
inherit eutils libtool multilib-minimal toolchain-funcs
inherit libtool ltprune multilib-minimal toolchain-funcs
DESCRIPTION="Contains error handling functions used by GnuPG software"
HOMEPAGE="http://www.gnupg.org/related_software/libgpg-error"

@ -3,7 +3,7 @@
EAPI=6
inherit eutils libtool multilib-minimal toolchain-funcs
inherit libtool ltprune multilib-minimal toolchain-funcs
DESCRIPTION="Contains error handling functions used by GnuPG software"
HOMEPAGE="http://www.gnupg.org/related_software/libgpg-error"

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

Loading…
Cancel
Save