Sync with portage [Sun Mar 5 00:09:29 MSK 2017].

mhiretskiy 801
root 7 years ago
parent 7fdde41bcf
commit 1b7b5e6505

@ -1,2 +1,3 @@
DIST calamares-2.4.6.tar.gz 2143386 SHA256 c091ad0db9b69b7552d7f282317ba4a4453d7e5ca7ee4bf98f605fe43c63597e SHA512 d2ba4675a846095c437231eb1d59f86668f7c65e2f9bda9681cd4de60324b8d8007f4337f8cd93ca71a303812ecdb8c55935805adc8fd25bb98f1e39432be009 WHIRLPOOL b54ac8347604942a00293c23e766142af867ac37dc3e910d93a07fc909eefb70bd9dc7744270320fcda10b25c3db50476f35074122ae60ee2243e46ab14ea206
DIST calamares-3.0.1.tar.gz 2213505 SHA256 2c0f4f04d1520186ef0b30584daa73c32dce99603bb4d8f6880497ee3f2322b5 SHA512 9d6dfae611211bffae5509e97fdd1363701a2db675224badf058a4d22c395e150cf91d148fcfbe49fa7aef8c81049a331a91a3b350cb47acbb9af934e3c96f22 WHIRLPOOL d8fb6c7fe6a594055f3ba0be9fd9e46833b590accc58ffb36ef852bad3dbbb67560b021747f81f1f115d7622df0be1ab776d696d5ed818269badc9b3b47b721d
DIST calamares-3.1.0.tar.gz 2215820 SHA256 7b4c74fc350624a17eb8b8187ade490711bfdc608d2be07322c8a3fc0a449276 SHA512 17c15aafbc811f42246f8300f64ffe7d44b43ac24f5b6ced15c83715c5fff9644060964de82cc3e7021c710e6eebbc124785d9d7b85613c5f190ec0f8d5d5389 WHIRLPOOL 6c8e46aff3700d26e876dd6f02bf28e55ea59cebe46438e64a8d04e921df9e35d0c1c3077479767b67284805103c16cda7ef5e1a2ec50d9e735093cb9e04b886

@ -0,0 +1,82 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{3_4,3_5} )
inherit kde5 python-r1
DESCRIPTION="Distribution-independent installer framework"
HOMEPAGE="http://calamares.io"
if [[ ${KDE_BUILD_TYPE} == live ]] ; then
EGIT_REPO_URI="git://github.com/${PN}/${PN}"
else
inherit versionator
MAJOR_PV=$(get_version_component_range 1-2)
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${MAJOR_PV}/${P}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="GPL-3"
IUSE="+networkmanager pythonqt +upower"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="${PYTHON_DEPS}
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep kparts)
$(add_frameworks_dep kservice)
$(add_qt_dep qtdbus)
$(add_qt_dep qtdeclarative)
$(add_qt_dep qtgui)
$(add_qt_dep qtnetwork)
$(add_qt_dep qtsvg)
$(add_qt_dep qtwebengine 'widgets')
$(add_qt_dep qtwidgets)
>=dev-cpp/yaml-cpp-0.5.1
>=dev-libs/boost-1.55:=[${PYTHON_USEDEP}]
sys-apps/dbus
sys-apps/dmidecode
sys-auth/polkit-qt[qt5]
>=sys-libs/kpmcore-3.0.2:5=
pythonqt? ( >=dev-python/PythonQt-3.1:=[${PYTHON_USEDEP}] )
"
RDEPEND="${DEPEND}
app-admin/sudo
dev-libs/libatasmart
net-misc/rsync
>=sys-block/parted-3.0
|| ( sys-boot/grub:2 sys-boot/systemd-boot )
sys-boot/os-prober
sys-fs/squashfs-tools
virtual/udev
networkmanager? ( net-misc/networkmanager )
upower? ( sys-power/upower )
"
src_prepare() {
python_setup
export PYTHON_INCLUDE_DIRS="$(python_get_includedir)" \
PYTHON_INCLUDE_PATH="$(python_get_library_path)"\
PYTHON_CFLAGS="$(python_get_CFLAGS)"\
PYTHON_LIBS="$(python_get_LIBS)"
eapply_user
}
src_configure() {
local mycmakeargs=(
-DWEBVIEW_FORCE_WEBKIT=OFF
-DWITH_PYTHONQT=$(usex pythonqt)
)
kde5_src_configure
sed -i -e 's:pkexec /usr/bin/calamares:calamares-pkexec:' "${S}"/calamares.desktop
sed -i -e 's:Icon=calamares:Icon=drive-harddisk:' "${S}"/calamares.desktop
}
src_install() {
kde5_src_install
dobin "${FILESDIR}"/calamares-pkexec
}

@ -1,3 +1,2 @@
DIST conky-1.10.4.tar.gz 365145 SHA256 ed61ffb3be9fd24965d40401c7d54553e732038f3da2e03454915779384f59b4 SHA512 665a3c2a9b150576d7c29964dafb7030f5aa5955530142cf0d00f0f49f4a3b320924d389b3a833ef6eb18468000f5c62d918e8f067c7b40cd9e205d0bf0d8e0c WHIRLPOOL 6ca2a043dbc20aaff94bd0c05367b535cd71819543d76dd9a90b79417e2ebb0462c9203901f4e26e887bc249388ec041e0f76dcccf24a88fed9ce4bb532af558
DIST conky-1.10.6.tar.gz 365669 SHA256 4c80982960b2a72e3e33cef33347c97b9239ed110d9584da4e7f17f28faf60ca SHA512 ddd0b087e89654f8dace7d9682935a802b3bb22b7e65acd25dcc0f06e90b46bee695502d78b6e40a409f8eaffcd65a78d5f861ee6dbcbff6e48f88c2f20319c9 WHIRLPOOL 65a43baf0ec1b5e298a81a062d2aa511488026baf440a470eecc89d15aac010d0f89f86b60a16040ae1941fedbdb46f9aed82431a79f59b7f97439f148b9c5f5
DIST conky-1.9.0.tar.bz2 626555 SHA256 baf1b550f135fbfb53e5e286a33aadc03a667d63bf6c4d52ba7637366295bb6f SHA512 98c9f69fd8bee2062e3eddeb7a394cce932199ffd6c8664006d1222f0453569406613e63637848c77a455f7dae3f16be3079a2cab56ecafea51ec043de23c889 WHIRLPOOL 41bbe95ec838dbda2c2d4a9422d2f2f7d22d0cb99e87c59fbd32c0c7856cc83de36cbeefd982c964ec5229ae0b0342e84525aa5343d8c5cf9525205cea4a274a

@ -1,182 +0,0 @@
# 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 )
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_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=OFF
-DRELEASE=ON
-DBUILD_BMPX=OFF
-DDOC_PATH=/usr/share/doc/${PF}
)
# -DMAINTAINER_MODE=OFF disables building documentation and fixes bug #486270
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
}

@ -1,145 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit autotools eutils libtool
DESCRIPTION="An advanced, highly configurable system monitor for X"
HOMEPAGE="http://conky.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="GPL-3 BSD LGPL-2.1 MIT"
SLOT="0"
KEYWORDS="alpha ~arm ppc ppc64 sparc"
IUSE="apcupsd audacious curl debug eve hddtemp imlib iostats lua lua-cairo lua-imlib math moc mpd nano-syntax ncurses nvidia +portmon rss thinkpad truetype vim-syntax weather-metar weather-xoap wifi X xmms2"
DEPEND_COMMON="
X? (
imlib? ( media-libs/imlib2[X] )
lua-cairo? (
>=dev-lua/toluapp-1.0.93
>=dev-lang/lua-5.1.4-r8:0
x11-libs/cairo[X] )
lua-imlib? (
>=dev-lua/toluapp-1.0.93
>=dev-lang/lua-5.1.4-r8:0
media-libs/imlib2[X] )
nvidia? ( media-video/nvidia-settings )
truetype? ( x11-libs/libXft >=media-libs/freetype-2 )
x11-libs/libX11
x11-libs/libXdamage
x11-libs/libXext
audacious? ( >=media-sound/audacious-1.5 dev-libs/glib:2 )
xmms2? ( media-sound/xmms2 )
)
curl? ( net-misc/curl )
eve? ( net-misc/curl dev-libs/libxml2 )
portmon? ( dev-libs/glib:2 )
lua? ( >=dev-lang/lua-5.1.4-r8:0 )
ncurses? ( sys-libs/ncurses:= )
rss? ( dev-libs/libxml2 net-misc/curl dev-libs/glib:2 )
wifi? ( net-wireless/wireless-tools )
weather-metar? ( net-misc/curl )
weather-xoap? ( dev-libs/libxml2 net-misc/curl )
virtual/libiconv
"
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}
virtual/pkgconfig
"
src_prepare() {
epatch \
"${FILESDIR}/${PN}-1.8.1-utf8-scroll.patch" \
"${FILESDIR}/${P}-ncurses.patch" \
"${FILESDIR}/${P}-lines-fix.patch" \
"${FILESDIR}/${P}-update-when-message-count-decreases.patch" \
"${FILESDIR}/${P}-apcupsd.patch" \
"${FILESDIR}/${P}-default-graph-size.patch" \
"${FILESDIR}/${P}-diskio-dmmajor.patch" \
"${FILESDIR}/${P}-tinfo.patch" \
"${FILESDIR}/${P}-update-noaa-metar-uri.patch"
# Allow user patches #478482
epatch_user
eautoreconf
}
src_configure() {
local myconf
if use X; then
myconf="--enable-x11 --enable-double-buffer --enable-xdamage"
myconf="${myconf} --enable-argb --enable-own-window"
myconf="${myconf} $(use_enable imlib imlib2) $(use_enable lua-cairo)"
myconf="${myconf} $(use_enable lua-imlib lua-imlib2)"
myconf="${myconf} $(use_enable nvidia) $(use_enable truetype xft)"
myconf="${myconf} $(use_enable audacious) $(use_enable xmms2)"
else
myconf="--disable-x11 --disable-own-window --disable-argb"
myconf="${myconf} --disable-lua-cairo --disable-nvidia --disable-xft"
myconf="${myconf} --disable-audacious --disable-xmms2"
fi
econf \
${myconf} \
$(use_enable apcupsd) \
$(use_enable curl) \
$(use_enable debug) \
$(use_enable eve) \
$(use_enable hddtemp) \
$(use_enable iostats) \
$(use_enable lua) \
$(use_enable thinkpad ibm) \
$(use_enable math) \
$(use_enable moc) \
$(use_enable mpd) \
$(use_enable ncurses) \
$(use_enable portmon) \
$(use_enable rss) \
$(use_enable weather-metar) \
$(use_enable weather-xoap) \
$(use_enable wifi wlan)
}
src_install() {
default
dohtml doc/*.html
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
}
pkg_postinst() {
if [[ -z "${REPLACING_VERSIONS}" ]]; then
elog "You can find sample configurations at ${ROOT%/}/etc/conky."
elog "To customize, copy to ~/.conkyrc and edit it to your liking."
elog
elog "There are pretty html docs available at the conky homepage"
elog "or in ${ROOT%/}/usr/share/doc/${PF}/html."
elog
elog "Also see https://wiki.gentoo.org/wiki/Conky/HOWTO"
elog
fi
}

@ -22,7 +22,6 @@
<flag name="ical">Enable support for events from iCalendar (RFC 5545) files using <pkg>dev-libs/libical</pkg></flag>
<flag name="iostats">Enable support for per-task I/O statistics</flag>
<flag name="irc">Enable support for displaying everything from an irc channel using <pkg>net-libs/libircclient</pkg></flag>
<flag name="lua">Enable if you want Lua scripting support</flag>
<flag name="lua-cairo">Enable if you want Lua Cairo bindings</flag>
<flag name="lua-imlib">Enable if you want Lua Imlib2 bindings</flag>
<flag name="lua-rsvg">Enable if you want Lua RSVG bindings</flag>

@ -9,7 +9,7 @@ SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ~hppa ~ppc ~ppc64 ~sparc x86"
KEYWORDS="alpha amd64 ~hppa ~ppc ~ppc64 sparc x86"
IUSE=""
S="${WORKDIR}"

@ -1,2 +1,2 @@
DIST keepassxc-2.1.1.tar.gz 3274143 SHA256 b0a737640070d80483b2ac436d87c2872a248f60f86b741e5413b0b8cda92eef SHA512 7ec2aab5b5e87036b3c778fd9b24612a35ac80243c009da9151f0a8aca9b7065c6652bc595be2958cd4fd96c5c8937cc7ce668c47d34267b7e014c3117a32e72 WHIRLPOOL 5cb6a85c58e28eeff8f11bb70a8b949e15e0f97769c73844474abab321c40f81c6a23b3efe1c05ce5e8e8623c7feb3e38d64cda88b13fedc651a722a3607806f
DIST keepassxc-2.1.2.tar.gz 3319554 SHA256 8cd94a401910ff67cadeed3d7d1b285f1e5d82ac8622a05b5c7eae60f28f1710 SHA512 81c30612eec301f2b6776e229c607f2d9a721c8bed7ca34403f4c281a90a9e110e4673830630447b50d0aef241f2e983394b2513394dcf48751c0f13de9a9586 WHIRLPOOL d032277686f73889f03a7f8cbabace5eafbb8f3f95f6a36678e2eb8913322de514226af5d038b094d5ce910e445843992c29b64447eec453254f686d64270c16
DIST keepassxc-2.1.3.tar.gz 3329237 SHA256 9cfdcb519127197e4b35837160729a3f38c34771f869249b03fa88a8104fb0e4 SHA512 dac030211f596265e5a70d508393bb88ad314a029112b4ce3ae9e4ad6e33ef82f94b616b73535aa45065e34fef819a5136401dd01808fa0b80d21f25b1a68b4a WHIRLPOOL 454cdb17368db06b77b9325363de62654797e739c4417cb1ffc4965b3f12ed8537c488815d3af334986f55f15c42cbac8e841240fd3c472bf9deda8e6f06c331

@ -28,7 +28,6 @@ RDEPEND="
dev-qt/qtgui:5
dev-qt/qtnetwork:5
dev-qt/qtwidgets:5
net-libs/libmicrohttpd
sys-libs/zlib
autotype? (
dev-qt/qtx11extras:5
@ -36,7 +35,7 @@ RDEPEND="
x11-libs/libXtst
)
"
#yubikey? ( sys-auth/libyubikey )
# yubikey? ( sys-auth/libyubikey )
DEPEND="
${RDEPEND}

@ -15,7 +15,7 @@ SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mong
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="sasl ssl"
IUSE="sasl ssl libressl"
# Maintainer note:
# openssl DEPEND constraint, see:
@ -26,7 +26,10 @@ DEPEND="${RDEPEND}
dev-lang/go:=
net-libs/libpcap
sasl? ( dev-libs/cyrus-sasl )
ssl? ( dev-libs/openssl )"
ssl? (
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
)"
S=${WORKDIR}/${MY_P}

@ -1,272 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit fcaps multilib toolchain-funcs flag-o-matic gnuconfig
MY_P="${P/_alpha/a}"
DESCRIPTION="A set of tools for CD/DVD reading and recording, including cdrecord"
HOMEPAGE="https://sourceforge.net/projects/cdrtools/"
SRC_URI="mirror://sourceforge/${PN}/$([[ -z ${PV/*_alpha*} ]] && echo 'alpha')/${MY_P}.tar.bz2"
LICENSE="GPL-2 LGPL-2.1 CDDL-Schily"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="acl caps nls unicode"
RDEPEND="acl? ( virtual/acl )
caps? ( sys-libs/libcap )
nls? ( virtual/libintl )
!app-cdr/cdrkit"
DEPEND="${RDEPEND}
x11-misc/makedepend
nls? ( >=sys-devel/gettext-0.18.1.1 )"
S=${WORKDIR}/${P/_alpha[0-9][0-9]}
FILECAPS=(
cap_sys_resource,cap_dac_override,cap_sys_admin,cap_sys_nice,cap_net_bind_service,cap_ipc_lock,cap_sys_rawio+ep usr/bin/cdrecord --
cap_dac_override,cap_sys_admin,cap_sys_nice,cap_net_bind_service,cap_sys_rawio+ep usr/bin/cdda2wav --
cap_dac_override,cap_sys_admin,cap_net_bind_service,cap_sys_rawio+ep usr/bin/readcd
)
cdrtools_os() {
local os="linux"
[[ ${CHOST} == *-darwin* ]] && os="mac-os10"
[[ ${CHOST} == *-freebsd* ]] && os="freebsd"
echo "${os}"
}
src_prepare() {
default
gnuconfig_update
# This fixes a clash with clone() on uclibc. Upstream isn't
# going to include this so let's try to carry it forward.
# Contact me if it needs updating. Bug #486782.
# Anthony G. Basile <blueness@gentoo.org>.
use elibc_uclibc && epatch "${FILESDIR}"/${PN}-fix-clone-uclibc.patch
# Remove profiled make files.
find -name '*_p.mk' -delete || die "delete *_p.mk"
# Adjusting hardcoded paths.
sed -i -e "s|opt/schily|usr|" \
$(find ./ -type f -name \*.[0-9ch] -exec grep -l 'opt/schily' '{}' '+') \
|| die "sed opt/schily"
sed -i -e "s|\(^INSDIR=\t\tshare/doc/\)|\1${PF}/|" \
$(find ./ -type f -exec grep -l '^INSDIR.\+doc' '{}' '+') \
|| die "sed doc"
# Respect libdir.
sed -i -e "s|\(^INSDIR=\t\t\)lib|\1$(get_libdir)|" \
$(find ./ -type f -exec grep -l '^INSDIR.\+lib\(/siconv\)\?$' '{}' '+') \
|| die "sed multilib"
# Do not install static libraries.
sed -i -e "s|include\t\t.*rules.lib||" \
$(find ./ -type f -exec grep -l '^include.\+rules\.lib' '{}' '+') \
|| die "sed rules"
# Enable verbose build.
sed -i -e '/@echo.*==>.*;/s:@echo[^;]*;:&set -x;:' \
RULES/*.rul RULES/rules.prg RULES/rules.inc \
|| die "sed verbose rules"
# Respect CC/CXX variables.
cd "${S}"/RULES || die
local tcCC=$(tc-getCC)
local tcCXX=$(tc-getCXX)
sed -i -e "/cc-config.sh/s|\$(C_ARCH:%64=%) \$(CCOM_DEF)|${tcCC} ${tcCC}|" \
rules1.top || die "sed rules1.top"
sed -i -e "/^CC_COM_DEF=/s|gcc|${tcCC}|" \
-e "/^CC++_COM_DEF=/s|g++|${tcCXX}|" \
-e "/COPTOPT=/s|-O||" \
-e 's|$(GCCOPTOPT)||' \
cc-gcc.rul || die "sed cc-gcc.rul"
sed -i -e "s|^#\(CONFFLAGS +=\).*|\1\t-cc=${tcCC}|" \
rules.cnf || die "sed rules.cnf"
# Schily make setup.
cd "${S}"/DEFAULTS || die
local os=$(cdrtools_os)
sed -i \
-e "s|^\(DEFLINKMODE=\).*|\1\tdynamic|" \
-e "s|^\(LINUX_INCL_PATH=\).*|\1|" \
-e "s|^\(LDPATH=\).*|\1|" \
-e "s|^\(RUNPATH=\).*|\1|" \
-e "s|^\(INS_BASE=\).*|\1\t${ED}/usr|" \
-e "s|^\(INS_RBASE=\).*|\1\t${ED}|" \
-e "s|^\(DEFINSGRP=\).*|\1\t0|" \
-e '/^DEFUMASK/s,002,022,g' \
Defaults.${os} || die "sed Schily make setup"
# re DEFUMASK above:
# bug 486680: grsec TPE will block the exec if the directory is
# group-writable. This is painful with cdrtools, because it makes a bunch of
# group-writable directories during build. Change the umask on their
# creation to prevent this.
}
ac_cv_sizeof() {
cat <<-EOF >"${T}"/test.c
#include <inttypes.h>
#include <stddef.h>
#include <stdint.h>
#include <sys/types.h>
int main () {
static int test_array [1 - 2 * !((sizeof(TYPE)) == LEN)];
test_array [0] = 0;
return test_array [0];
}
EOF
local i=1
while [[ ${i} -lt 20 ]] ; do
if ${CC} ${CPPFLAGS} ${CFLAGS} -c "${T}"/test.c -o /dev/null -DTYPE="$1" -DLEN=$i 2>/dev/null; then
echo ${i}
return 0
fi
: $(( i += 1 ))
done
return 1
}
src_configure() {
use acl || export ac_cv_header_sys_acl_h="no"
use caps || export ac_cv_lib_cap_cap_get_proc="no"
# skip obsolete configure script
if tc-is-cross-compiler ; then
# Cache known values for targets. #486680
tc-export CC
local var val t types=(
char "short int" int "long int" "long long"
"unsigned char" "unsigned short int" "unsigned int"
"unsigned long int" "unsigned long long"
float double "long double" size_t ssize_t ptrdiff_t
mode_t uid_t gid_t pid_t dev_t time_t wchar_t
"char *" "unsigned char *"
)
for t in "${types[@]}" ; do
var="ac_cv_sizeof_${t// /_}"
var=${var//[*]/p}
val=$(ac_cv_sizeof "${t}") || die "could not compute ${t}"
export "${var}=${val}"
einfo "Computing sizeof(${t}) as ${val}"
done
# We don't have these types.
export ac_cv_sizeof___int64=0
export ac_cv_sizeof_unsigned___int64=0
export ac_cv_sizeof_major_t=${ac_cv_sizeof_dev_t}
export ac_cv_sizeof_minor_t=${ac_cv_sizeof_dev_t}
export ac_cv_sizeof_wchar=${ac_cv_sizeof_wchar_t}
export ac_cv_type_prototypes="yes"
export ac_cv_func_mlock{,all}="yes"
export ac_cv_func_{e,f,g}cvt=$(usex elibc_glibc)
export ac_cv_func_dtoa_r="no"
export ac_cv_func_sys_siglist{,_def}="no"
export ac_cv_func_printf_{j,ll}="yes"
export ac_cv_realloc_null="yes"
export ac_cv_no_user_malloc="no"
export ac_cv_var_timezone="yes"
export ac_cv_var___progname{,_full}="yes"
export ac_cv_fnmatch_igncase="yes"
export ac_cv_file__dev_{fd_{0,1,2},null,std{err,in,out},tty,zero}="yes"
export ac_cv_file__usr_src_linux_include="no"
case $(cdrtools_os) in
linux)
export ac_cv_func_bsd_{g,s}etpgrp="no"
export ac_cv_hard_symlinks="yes"
export ac_cv_link_nofollow="yes"
export ac_cv_access_e_ok="no"
export ac_cv_dev_minor_noncontig="yes"
case ${ac_cv_sizeof_long_int} in
4) export ac_cv_dev_minor_bits="32";;
8) export ac_cv_dev_minor_bits="44";;
esac
cat <<-EOF >"${T}"/test.c
struct {
char start[6];
unsigned char x1:4;
unsigned char x2:4;
char end[5];
} a = {
.start = {'S', 't', 'A', 'r', 'T', '_'},
.x1 = 5,
.x2 = 4,
.end = {'_', 'e', 'N', 'd', 'X'},
};
EOF
${CC} ${CPPFLAGS} ${CFLAGS} -c "${T}"/test.c -o "${T}"/test.o
if grep -q 'StArT_E_eNdX' "${T}"/test.o ; then
export ac_cv_c_bitfields_htol="no"
elif grep -q 'StArT_T_eNdX' "${T}"/test.o ; then
export ac_cv_c_bitfields_htol="yes"
fi
;;
esac
fi
}
src_compile() {
if use unicode; then
local flags="$(test-flags -finput-charset=ISO-8859-1 -fexec-charset=UTF-8)"
if [[ -n ${flags} ]]; then
append-flags ${flags}
else
ewarn "Your compiler does not support the options required to build"
ewarn "cdrtools with unicode in USE. unicode flag will be ignored."
fi
fi
# If not built with -j1, "sometimes" cdda2wav will not be built.
emake -j1 CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" C++OPTX="${CXXFLAGS}" \
LDOPTX="${LDFLAGS}" GMAKE_NOWARN="true"
}
src_install() {
# If not built with -j1, "sometimes" manpages are not installed.
emake -j1 CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" C++OPTX="${CXXFLAGS}" \
LDOPTX="${LDFLAGS}" GMAKE_NOWARN="true" install
# These symlinks are for compat with cdrkit.
dosym schily /usr/include/scsilib
dosym ../scg /usr/include/schily/scg
dodoc ABOUT Changelog* CONTRIBUTING PORTING README.linux-shm READMEs/README.linux
cd "${S}"/cdda2wav || die
docinto cdda2wav
dodoc Changelog FAQ Frontends HOWTOUSE NEEDED README THANKS TODO
cd "${S}"/mkisofs || die
docinto mkisofs
dodoc ChangeLog* TODO
# Remove man pages related to the build system
rm -rvf "${ED}"/usr/share/man/man5 || die
}
pkg_postinst() {
fcaps_pkg_postinst
if [[ ${CHOST} == *-darwin* ]] ; then
einfo
einfo "Darwin/OS X use the following device names:"
einfo
einfo "CD burners: (probably) ./cdrecord dev=IOCompactDiscServices"
einfo
einfo "DVD burners: (probably) ./cdrecord dev=IODVDServices"
einfo
fi
}

@ -11,7 +11,7 @@ SRC_URI="http://loop-aes.sourceforge.net/aespipe/${PN}-v${PV}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris"
KEYWORDS="amd64 ~arm ~ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris"
IUSE="+asm cpu_flags_x86_aes cpu_flags_x86_padlock static"
DEPEND=""
RDEPEND="app-arch/sharutils

@ -15,7 +15,7 @@ SRC_URI="https://www.jetico.com/linux/BCWipe-${MY_PV}.tar.gz
LICENSE="bestcrypt"
SLOT="0"
IUSE="doc"
KEYWORDS="amd64 ~arm ~ppc ~x86"
KEYWORDS="amd64 ~arm ~ppc x86"
DEPEND=""
RDEPEND=""

@ -13,7 +13,7 @@ SRC_URI="http://alioth.debian.org/frs/download.php/file/${STUPID_NUM}/${P}.tar.b
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
IUSE="twinserial kobil-midentity +usb"
RDEPEND=">=sys-apps/pcsc-lite-1.8.3

@ -1,6 +1,8 @@
# udev rules to set the access rights of CCID smart card readers
# so they can be used by pcscd
# $Id: 92_pcscd_ccid.rules 6587 2013-04-05 16:31:55Z rousseau $
# Gemplus PCMCIA Card
#SUBSYSTEMS=="pcmcia", DRIVERS=="serial_cs", ACTION=="add", ATTRS{prod_id1}=="Gemplus", ATTRS{prod_id2}=="SerialPort", ATTRS{prod_id3}=="GemPC Card", RUN+="/usr/sbin/pcscd --hotplug"

@ -1,6 +1,8 @@
# udev rules to set the access rights of CCID smart card readers
# so they can be used by pcscd
# $Id: 92_pcscd_ccid.rules 6587 2013-04-05 16:31:55Z rousseau $
# Gemplus PCMCIA Card
#SUBSYSTEMS=="pcmcia", DRIVERS=="serial_cs", ACTION=="add", ATTRS{prod_id1}=="Gemplus", ATTRS{prod_id2}=="SerialPort", ATTRS{prod_id3}=="GemPC Card", RUN+="/usr/sbin/pcscd --hotplug"

@ -11,7 +11,7 @@ LICENSE="GPL-3"
MY_P="${P/_/-}"
SRC_URI="mirror://gnupg/gnupg/${MY_P}.tar.bz2"
KEYWORDS="alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~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 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
SLOT="0"
IUSE="bzip2 doc +gnutls ldap nls readline selinux +smartcard tofu tools usb wks-server"

@ -9,7 +9,7 @@ SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha amd64 ~ppc ~ppc64 ~sparc ~x86"
KEYWORDS="alpha amd64 ~ppc ~ppc64 sparc x86"
IUSE_LINGUAS=" ar cs de es fr ja nl pl pt_BR ru sv tr zh_TW"
IUSE="nls ${IUSE_LINGUAS// / linguas_}"

@ -14,7 +14,7 @@ SRC_URI="mirror://gnupg/gpgme/${P}.tar.bz2"
LICENSE="GPL-2 LGPL-2.1"
SLOT="1/11" # subslot = soname major version
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="common-lisp static-libs cxx python qt5"
COMMON_DEPEND="app-crypt/gnupg

@ -1 +1,2 @@
DIST hashcat-3.30.tar.gz 3970267 SHA256 d255147cbbf6b3cacea81b818ee228170969b61487dd7d49b339fc94dfe53e8e SHA512 8f160a5ec4bd9add83cfc468e9335dcfc9297585180c67263fce18235a8b748f75205fa5bd5ddd1c34efc65569d94408ba98c6181a2b1ab760f33371f92c3c54 WHIRLPOOL c9396118d4223175f7bb19f095a590b66ba8cdbb9970a1e84b406b7423a6a0b3009491dd6c8b7394d38eee1f796fe290ac88b839e30d6166077ae54fbedc528b
DIST hashcat-3.40.tar.gz 4099155 SHA256 92627197daa850dc7d723793150801c0791fe31f6c767de68417cee097ad6f4c SHA512 fd8d1927703cfe56c7708c460cc142de4ce64d96b651ed68817b70e6a53cac376a191d16752cbb7cabfcb0230299301173a5eda6c27e6188e79b5d83d758378e WHIRLPOOL bcd25930b4a9616f7a0ebd19575432d98a8abd67083ca434758d40d887ca642418a0305d54e4a0ade662f34059cdc1705097423733d02d97ba1eda0213280e4d

@ -0,0 +1,49 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils pax-utils multilib
DESCRIPTION="World's fastest and most advanced password recovery utility"
HOMEPAGE="https://github.com/hashcat/hashcat"
SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="custom-cflags video_cards_nvidia video_cards_fglrx"
DEPEND="virtual/opencl"
RDEPEND="${DEPEND}"
src_prepare() {
#do not strip
sed -i "/LFLAGS += -s/d" src/Makefile
#do not add random CFLAGS
sed -i "s/-O2//" src/Makefile || die
export PREFIX=/usr
export LIBRARY_FOLDER="/usr/$(get_libdir)"
eapply_user
}
src_compile() {
default
pax-mark -mr hashcat
}
src_test() {
if use video_cards_nvidia; then
addwrite /dev/nvidia0
addwrite /dev/nvidiactl
addwrite /dev/nvidia-uvm
if [ ! -w /dev/nvidia0 ]; then
einfo "To run these tests, portage likely must be in the video group."
einfo "Please run \"gpasswd -a portage video\" if the tests will fail"
fi
elif use vidia_cards_fglrx; then
addwrite /dev/ati
fi
#this always exits with 255 despite success
#./hashcat -b -m 2500 || die "Test failed"
./hashcat -a 3 -m 1500 nQCk49SiErOgk
}

@ -9,7 +9,7 @@ SRC_URI="mirror://sourceforge/mcrypt/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-macos"
KEYWORDS="amd64 ~ppc sparc x86 ~x86-macos"
IUSE="nls"
DEPEND=">=dev-libs/libmcrypt-2.5.8

@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/mhash/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
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 ~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 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="static-libs"
RDEPEND=""

@ -1,2 +1 @@
DIST onak-0.4.0.tar.gz 230996 SHA256 e402042d2cbcbe34cfac1d737a564054fea84ad5c00386ab0c877698c3076ecd SHA512 0cf8960652cda242fde2e834953581312431136fe380076bc3b76b42ef11ff1c83975d6d4fc8463466ce37b84c71c83fbbdfb08cd5eefb9928814b550c08ce67 WHIRLPOOL 7a56f17a856e297853e3872ac7b7f712c07e44d071d71f198785ddd5e61300b471e70b6829193ec0c01fb883f5668151f157f229d979df883ae9178cb3834177
DIST onak-0.5.0.tar.xz 240764 SHA256 24cc12b41dec9f8a53baeeaf9ab6f9f82e7d6ea795c48c37421e8d7184a8b1fa SHA512 db38793acc82089089ac0b9fb6db9989b6bb8e94c35c14112d028d12f7bb7553b7409121378346625528c4916506d007bf40963f4a346483f51a23b670680a7d WHIRLPOOL 85cebf7807922d3c1d8c85cce23c960078971c8c74ac29ecfa9379b55fb1f8a9a8333f775935566aa2dfa27636a02d09700642e10d6605f204ab1c984ef47ccf

@ -1,54 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools
DESCRIPTION="onak is an OpenPGP keyserver"
HOMEPAGE="http://www.earth.li/projectpurple/progs/onak.html"
SRC_URI="http://www.earth.li/projectpurple/files/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="berkdb postgres"
DEPEND="berkdb? ( >=sys-libs/db-4 )
postgres? ( dev-db/postgresql[server] )"
src_prepare() {
default
eautoreconf
}
src_configure() {
local backend="fs"
use berkdb && backend="db4"
use postgres && backend="pg"
if use berkdb && use postgres; then
ewarn "berkdb and postgres requested, postgres was preferred"
fi
econf --enable-backend="${backend}"
}
src_install() {
keepdir /var/lib/onak
dosbin onak maxpath sixdegrees onak-mail.pl
dobin splitkeys stripkey
doman *[^0].[1-8]
insinto /etc
doins onak.conf
dodir /var/lib/onak/doc
insinto /var/lib/onak/doc
doins apache2 README LICENSE onak.sql
dodir /usr/lib/cgi-bin/pks
insinto /usr/lib/cgi-bin/pks
doins add gpgwww lookup
sed -i \
-e 's,^www_port 11371,www_port 0,g' \
-e 's,^db_dir /var/lib/lib/onak,db_dir /var/lib/onak,g' \
-e 's,^logfile /var/lib/log/onak.log,logfile /var/log/onak.log,g' \
-e 's,^max_last 1,max_last 0,g' \
"${D}/etc/onak.conf"
}

@ -1,2 +1 @@
DIST openssl_tpm_engine-0.4.1.tar.gz 648249 SHA256 01d1244f1985d5ba1720a64d04de9080acd9b1c08cc04a2f1b7beb6850deae67 SHA512 5904f268cb3ecf2243ed87d4813597418b8df27bf3dc20ba2af4b30c2fd946584581fb108eee490649700fc1d491a439e5bbc1514aa6b44ce2bed75b289c7485 WHIRLPOOL d0e59c85276657f421d650a387f57541f9e4f0b67805d6181417670763ca9e5dbbbcfc0c64f83411960b20dd143c6f1d43e775994f34826037c711b2231eb4d6
DIST openssl_tpm_engine-0.4.2.tar.gz 528196 SHA256 2df697e583053f7047a89daa4585e21fc67cf4397ee34ece94cf2d4b4f7ab49c SHA512 376f2aa87ab10d4a77bcc363865238a19e6dfcd548eb1f0780ee223d57d90ebfe7046308757836b76e7f33f4c30f98c0d82126b5e0e0534ec57087384e584f95 WHIRLPOOL 0b3daeda9ef8c52e472905d3f85dc3dd78220a6e1bbf59b5f7fb4d4231f64d6fca189b75fb00c391d130bff3ae5a7e0adf43059eddaf8a1fe93d80a6510dbee3

@ -1,33 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=4
MY_P="${P/-tpm-/_tpm_}"
DESCRIPTION="This provides a OpenSSL engine that uses private keys stored in TPM hardware"
HOMEPAGE="http://trousers.sourceforge.net"
SRC_URI="mirror://sourceforge/trousers/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
RDEPEND=">=dev-libs/openssl-0.9.8
>=app-crypt/trousers-0.2.8"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${MY_P}"
src_prepare() {
# autotools way too old to fix it properly
sed -i 's/^\(create_tpm_key_LDADD.*\)/\1 -L@OPENSSL_LIB_DIR@ -lcrypto/' Makefile.in
}
src_configure() {
econf --with-openssl=/usr
}
src_install() {
emake DESTDIR="${D}" install
dodoc openssl.cnf.sample README
}

@ -11,7 +11,7 @@ SRC_URI="http://linux.netpimpz.com/quickcrypt/download/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~sparc ~ppc ~alpha ~amd64 ~ia64 ~hppa ~mips"
KEYWORDS="alpha amd64 ~hppa ~ia64 ~mips ~ppc sparc x86"
IUSE=""
DEPEND=">=dev-lang/perl-5.6

@ -11,7 +11,7 @@ SRC_URI="mirror://debian/pool/main/s/signing-party/${PN}_${PV}.orig.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="

@ -10,7 +10,7 @@ SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 x86"
IUSE=""
PATCHES=(

@ -1,26 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="2"
inherit autotools eutils
DESCRIPTION="Stan analyzes binary streams and calculates statistical information"
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
src_prepare() {
epatch "${FILESDIR}/${P}-errno.patch"
sed -i -e "s/-O3/${CFLAGS}/" configure.in || die "sed failed"
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.in || die
eautoreconf
}
src_install() {
emake install DESTDIR="${D}" || die "install failed"
dodoc README || die
}

@ -1,67 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit eutils
MY_P="${PN}${PV/./-}"
DESCRIPTION="Simple Perl/Tk GUI to manage a small certification authority"
HOMEPAGE="http://tinyca.sm-zone.net/"
SRC_URI="http://tinyca.sm-zone.net/${MY_P}.tar.bz2"
LICENSE="Artistic"
SLOT="0"
KEYWORDS="amd64 ~ppc ~sparc x86"
IUSE=""
LANGS="en de cs es sv"
for X in ${LANGS} ; do
IUSE="${IUSE} linguas_${X}"
done
RDEPEND="
>=dev-libs/openssl-0.9.7e:0=
dev-perl/Locale-gettext
>=virtual/perl-MIME-Base64-2.12
>=dev-perl/gtk2-perl-1.072"
DEPEND="${RDEPEND}
>=sys-apps/sed-4"
S="${WORKDIR}/${MY_P}"
src_prepare() {
epatch "${FILESDIR}/${PN}-2.0.7.3-compositefix.patch"
epatch "${FILESDIR}/${P}-openssl-1.patch"
epatch "${FILESDIR}/${P}-perl-5.18.patch"
sed -i -e 's:./lib:/usr/share/tinyca/lib:g' \
-e 's:./templates:/usr/share/tinyca/templates:g' \
-e 's:./locale:/usr/share/locale:g' "${S}/tinyca2" || die
}
src_compile() {
emake -C po
}
locale_install() {
insinto /usr/share/locale/$@/LC_MESSAGES/
doins locale/$@/LC_MESSAGES/tinyca2.mo
}
src_install() {
newbin tinyca2 tinyca
insinto /usr/share/tinyca/lib
doins lib/*.pm
insinto /usr/share/tinyca/lib/GUI
doins lib/GUI/*.pm
insinto /usr/share/tinyca/templates
doins templates/*
insinto /usr/share/
strip-linguas ${LANGS}
local l
for l in ${LANGS}; do
if [ "$l" != "en" ]; then
use linguas_$l && locale_install $l
fi
done
}

@ -12,7 +12,7 @@ SRC_URI="http://tinyca.sm-zone.net/${MY_P}.tar.bz2"
LICENSE="Artistic"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
KEYWORDS="amd64 ~ppc ~sparc x86"
IUSE="libressl"
LANGS="en de cs es sv"

@ -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
@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/trousers/${PN}/${P}.tar.gz"
LICENSE="CPL-1.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~s390 ~sh ~x86"
KEYWORDS="amd64 ~arm ~arm64 ~m68k ~s390 ~sh x86"
IUSE="libressl nls pkcs11 debug"
COMMON_DEPEND="

@ -11,7 +11,7 @@ if [[ ${PV} = *9999* ]]; then
SRC_URI=""
else
SRC_URI="http://ftp.stack.nl/pub/users/dimitri/${P}.src.tar.gz"
KEYWORDS="alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
KEYWORDS="alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
fi
SRC_URI+=" https://dev.gentoo.org/~xarthisius/distfiles/doxywizard.png"

@ -1,3 +1,4 @@
# $Id: Makefile,v 1.4 2005/10/05 10:07:40 jodrell Exp $
NAME=podbrowser
PREFIX=/usr/local
BINDIR=$(PREFIX)/bin

@ -14,7 +14,7 @@ if [[ ${PV} == 9999* ]] ; then
else
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> vim-${PV}.tar.gz
https://dev.gentoo.org/~radhermit/vim/vim-8.0.0106-gentoo-patches.tar.bz2"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
KEYWORDS="alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
fi
DESCRIPTION="GUI version of the Vim text editor"

@ -1,2 +1,3 @@
DIST qemacs-0.4.0_pre20090420.tar.bz2 1393436 SHA256 14f1ffad569f1bdaaa27d2d7ab0251ce69afc9efc347bb244b11f5e34e818ab5 SHA512 4595e34d3a83cbd7f25514dd96b7578976b30de80eb19b1391448ecdb9c06d24088880978961e5abb94b3f715057e7563ae0976d704bc5afaaf83e62a67e8dd4 WHIRLPOOL 63ba6950a0340731cd9a041a5929d18f1769d915a7343a94b2b0c48d82a0af1680b2163426e8d268240d3c0c740895853439d96c2d49791e106f0798f5d88a8b
DIST qemacs-0.4.1_pre20150916.tar.xz 1136592 SHA256 1f019c7fc7aceaa2c5608a7ca251e244ee8bf67086e4b285c28f88849e1269b0 SHA512 e9775ff3dfef6d6b6b263029a620e6575f9f4718b94c0acfcddc8e5da8cd835e57dfbd5fbd948778135b609ae0588924fc9a727b2e763a25148aa27886a9f467 WHIRLPOOL 4f97d931eb3880a8ce0f1f09a6f404297797f230cfcc4d2507fcf0b6fcf0c4d28d5868e943905d316cb0d5d22581095c4cd1a8bf00c44f11ed7606a357f7cc19
DIST qemacs-0.4.1_pre20170225.tar.xz 1147408 SHA256 9a3f754effbd9253b7aec9909fea801fc233cf69f98f6c807e5334ae1c8a08a6 SHA512 a17c8901c917f91401e16b4f857735957ab0d3533d9dcc7a0decf768f453b68023f45e1241225a84d35ba793beb69754e0f2caa857165f8223882d5041d56c99 WHIRLPOOL b430a0fd8ecef701d4727acb023d0a56553cf109e18ae64dfec886923ec6e5395d1dae9484c274d298675928c69e0e966f3443c0f9f4f8c6890af15bc0fd52ae

@ -0,0 +1,42 @@
Removes forced march setting and align-functions on x86, as they would
override user's CFLAGS.
--- qemacs-orig/Makefile
+++ qemacs/Makefile
@@ -29,35 +29,11 @@
cmd :=
endif
-ifeq ($(CC),gcc)
- CFLAGS += -Wall -g -O2 -funsigned-char
- # do not warn about zero-length formats.
- CFLAGS += -Wno-format-zero-length
- LDFLAGS += -g
-endif
-
-#include local compiler configuration file
--include $(DEPTH)/cflags.mk
-
-ifdef TARGET_GPROF
- CFLAGS += -p
- LDFLAGS += -p
-endif
-
#TCFLAGS := -DCONFIG_TINY -m32 $(CFLAGS) -Os
#TLDFLAGS := -m32 $(LDFLAGS)
-TCFLAGS := -DCONFIG_TINY $(CFLAGS) -Os
+TCFLAGS := -DCONFIG_TINY $(CFLAGS)
TLDFLAGS := $(LDFLAGS)
-ifdef TARGET_ARCH_X86
- #CFLAGS+=-fomit-frame-pointer
- ifeq ($(GCC_MAJOR),2)
- CFLAGS += -m386 -malign-functions=0
- else
- CFLAGS += -march=i386 -falign-functions=0
- endif
-endif
-
DEFINES=-DHAVE_QE_CONFIG_H
########################################################

@ -0,0 +1,11 @@
--- qemacs-orig/qe.1
+++ qemacs/qe.1
@@ -44,7 +44,7 @@
anti aliased font display.
.PP
For more information and a list of key bindings please see
-/usr/share/doc/qemacs/README.gz.
+the README file in /usr/share/doc/@PF@/.
.SH AUTHOR
This manual page was written by Edmund GRIMLEY EVANS <edmundo@rano.org>,
for the Debian GNU/Linux system (but may be used by others).

@ -0,0 +1,61 @@
Suppress stripping.
--- qemacs-orig/Makefile
+++ qemacs/Makefile
@@ -203,7 +203,6 @@
qe$(EXE): qe_g$(EXE) Makefile
@rm -f $@
cp $< $@
- -$(STRIP) $@
@ls -l $@
@echo `size $@` `wc -c $@` qe $(OPTIONS) \
| cut -d ' ' -f 7-10,13,15-40 >> STATS
@@ -218,7 +217,6 @@
xqe$(EXE): xqe_g$(EXE) Makefile
@rm -f $@
cp $< $@
- -$(STRIP) $@
@ls -l $@
@echo `size $@` `wc -c $@` xqe $(OPTIONS) \
| cut -d ' ' -f 7-10,13,15-40 >> STATS
@@ -233,7 +231,6 @@
tqe$(EXE): tqe_g$(EXE) Makefile
@rm -f $@
cp $< $@
- -$(STRIP) $@
@ls -l $@
@echo `size $@` `wc -c $@` tqe $(OPTIONS) \
| cut -d ' ' -f 7-10,13,15-40 >> STATS
@@ -245,7 +242,6 @@
t1qe$(EXE): t1qe_g$(EXE) Makefile
@rm -f $@
cp $< $@
- -$(STRIP) $@
@ls -l $@
@echo `size $@` `wc -c $@` t1qe $(OPTIONS) \
| cut -d ' ' -f 7-10,13,15-40 >> STATS
@@ -478,12 +474,12 @@
$(INSTALL) -m 755 -d $(DESTDIR)$(mandir)/man1
$(INSTALL) -m 755 -d $(DESTDIR)$(datadir)/qe
ifdef CONFIG_X11
- $(INSTALL) -m 755 -s xqe$(EXE) $(DESTDIR)$(prefix)/bin/qemacs$(EXE)
+ $(INSTALL) -m 755 xqe$(EXE) $(DESTDIR)$(prefix)/bin/qemacs$(EXE)
else
ifdef CONFIG_TINY
- $(INSTALL) -m 755 -s tqe$(EXE) $(DESTDIR)$(prefix)/bin/qemacs$(EXE)
+ $(INSTALL) -m 755 tqe$(EXE) $(DESTDIR)$(prefix)/bin/qemacs$(EXE)
else
- $(INSTALL) -m 755 -s qe$(EXE) $(DESTDIR)$(prefix)/bin/qemacs$(EXE)
+ $(INSTALL) -m 755 qe$(EXE) $(DESTDIR)$(prefix)/bin/qemacs$(EXE)
endif
endif
ln -sf qemacs$(EXE) $(DESTDIR)$(prefix)/bin/qe$(EXE)
@@ -493,7 +489,7 @@
$(INSTALL) -m 644 kmaps ligatures $(DESTDIR)$(datadir)/qe
$(INSTALL) -m 644 qe.1 $(DESTDIR)$(mandir)/man1
ifdef CONFIG_HTML
- $(INSTALL) -m 755 -s html2png$(EXE) $(DESTDIR)$(prefix)/bin
+ $(INSTALL) -m 755 html2png$(EXE) $(DESTDIR)$(prefix)/bin
endif
uninstall:

@ -0,0 +1,63 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit toolchain-funcs
DESCRIPTION="QEmacs is a very small but powerful UNIX editor"
HOMEPAGE="https://savannah.nongnu.org/projects/qemacs/"
# snapshot of http://cvs.savannah.gnu.org/viewvc/?root=qemacs
SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
LICENSE="LGPL-2.1+ GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~x86"
IUSE="X png unicode xv"
RESTRICT="test"
RDEPEND="
X? ( x11-libs/libX11
x11-libs/libXext
xv? ( x11-libs/libXv ) )
png? ( >=media-libs/libpng-1.2:0= )"
DEPEND="${RDEPEND}
>=app-text/texi2html-5"
S="${WORKDIR}/${PN}"
src_prepare() {
eapply "${FILESDIR}/${P}-Makefile.patch"
eapply "${FILESDIR}/${P}-nostrip.patch"
eapply_user
# Change the manpage to reference a /real/ file instead of just an
# approximation. Purely cosmetic!
eapply "${FILESDIR}/${P}-manpage.patch"
sed -i -e "s:@PF@:${PF}:" qe.1 || die
}
src_configure() {
# Home-grown configure script, doesn't support most standard options
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
--cc="$(tc-getCC)" \
$(use_enable X x11) \
$(use_enable png) \
$(use_enable xv) || die
}
src_install() {
emake install DESTDIR="${D}"
dodoc Changelog README TODO.org config.eg
docinto html
dodoc qe-doc.html
# Install headers so users can build their own plugins
insinto /usr/include/qe
doins *.h
insinto /usr/include/qe/libqhtml
doins libqhtml/*.h
}

@ -1 +1,2 @@
DIST qxmledit-0.9.5-src.tgz 19653021 SHA256 ac6341f1ceb004e64e070c6e99b5c3be3cfdf7d81a5556e79d99beb2f9eab43f SHA512 d54672af9154dcae4486b72a14024f23bcec834dae9c6ec082496b532d750d2411f64ae0dfbd66da7817027e2f4cd6ed1bc7e065ceb822ef2e4d60d14a308609 WHIRLPOOL 37e32dcca088693d5ffb591e812a93b3d8815eaab341a45d5c2a0278c0db18dc9788593ed7dd8ca8411d5d0ac1034c8a0dac8bd9c1b3a09fe22697dd97716d98
DIST qxmledit-0.9.6-src.tgz 22661917 SHA256 46928b059d9c00c96d98a5ab0bb6249abdd9225b2bbf280bbb8e0f54a894e964 SHA512 d2cf6ae630a84305b10d4a362859500b52e4d6e03e4f1852b953178ac023a13eb9e90f8da8cf6633dcf5a3cfbf5a44affb69465eb91240ccc22b0256100a685f WHIRLPOOL 784362b4738bc5606f942a48a1dfade4a264227c4feb2597bdfa10759b1c96e68ec824ca56550a20c5322d790ce7b82728c1ca4d774370fcbbbbc5dfa3953846

@ -0,0 +1,68 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils fdo-mime qmake-utils
DESCRIPTION="Simple Qt-based XML editor"
HOMEPAGE="http://qxmledit.org/"
SRC_URI="mirror://sourceforge/${PN}/${P}-src.tgz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="
dev-qt/qtconcurrent:5
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
dev-qt/qtopengl:5
dev-qt/qtprintsupport:5
dev-qt/qtscxml:5
dev-qt/qtsql:5
dev-qt/qtsvg:5
dev-qt/qtwidgets:5
dev-qt/qtxml:5
dev-qt/qtxmlpatterns:5
"
RDEPEND="${DEPEND}"
DOCS=( AUTHORS NEWS README )
src_prepare() {
default
# bug 568746
sed -i -e '/QMAKE_CXXFLAGS/s:-Werror::' \
src/{QXmlEdit,QXmlEditWidget,sessions/QXmlEditSessions}.pro || die
}
src_configure() {
export \
QXMLEDIT_INST_DIR="${EPREFIX}/usr/bin" \
QXMLEDIT_INST_LIB_DIR="${EPREFIX}/usr/$(get_libdir)" \
QXMLEDIT_INST_INCLUDE_DIR="${EPREFIX}/usr/include/${PN}" \
QXMLEDIT_INST_DATA_DIR="${EPREFIX}/usr/share/${PN}" \
QXMLEDIT_INST_DOC_DIR="${EPREFIX}/usr/share/doc/${PF}"
eqmake5
}
src_install() {
emake INSTALL_ROOT="${D}" install
doicon install_scripts/environment/icon/qxmledit.png
domenu install_scripts/environment/desktop/QXmlEdit.desktop
einstalldocs
}
pkg_postinst() {
fdo-mime_desktop_database_update
}
pkg_postrm() {
fdo-mime_desktop_database_update
}

@ -12,7 +12,7 @@ if [[ ${PV} == 9999* ]] ; then
else
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> vim-${PV}.tar.gz
https://dev.gentoo.org/~radhermit/vim/vim-8.0.0106-gentoo-patches.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 ~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
DESCRIPTION="vim and gvim shared files"

@ -13,7 +13,7 @@ if [[ ${PV} == 9999* ]] ; then
else
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://dev.gentoo.org/~radhermit/vim/vim-8.0.0106-gentoo-patches.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 ~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
DESCRIPTION="Vim, an improved vi-style text editor"

@ -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
@ -11,7 +11,7 @@ SRC_URI="https://github.com/josteink/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
KEYWORDS="amd64 ~ppc x86"
SITEFILE="50${PN}-gentoo.el"

@ -1,47 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit readme.gentoo elisp
DESCRIPTION="Collaborative editing environment for GNU Emacs"
HOMEPAGE="http://rudel.sourceforge.net/
http://www.emacswiki.org/emacs/Rudel"
# snapshot of bzr://rudel.bzr.sourceforge.net/bzrroot/rudel/trunk
SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/${PN}"
SITEFILE="60${PN}-gentoo.el"
src_compile() {
${EMACS} ${EMACSFLAGS} -l rudel-compile.el || die
}
src_install() {
local dir
for dir in . adopted infinote jupiter obby socket telepathy tls \
xmpp zeroconf
do
insinto "${SITELISP}/${PN}/${dir}"
doins ${dir}/*.{el,elc}
done
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
insinto "${SITEETC}/${PN}"
doins -r icons
dodoc README INSTALL ChangeLog TODO doc/card.pdf
DOC_CONTENTS="Connections to Gobby servers require the gnutls-cli program
(net-libs/gnutls).
\\n\\nThe Avahi daemon (net-dns/avahi) is required for automatic
session discovery and advertising."
readme.gentoo_create_doc
}

@ -413,10 +413,10 @@ qemu_src_configure() {
# Disable options not used by user targets as the default configure
# options will autoprobe and try to link in a bunch of unused junk.
conf_softmmu() {
if [[ ${buildtype} == "user" ]] ; then
echo "--disable-${2:-$1}"
else
if [[ ${buildtype} == "softmmu" ]] ; then
use_enable "$@"
else
echo "--disable-${2:-$1}"
fi
}
conf_opts+=(

@ -392,10 +392,10 @@ qemu_src_configure() {
# Disable options not used by user targets as the default configure
# options will autoprobe and try to link in a bunch of unused junk.
conf_softmmu() {
if [[ ${buildtype} == "user" ]] ; then
echo "--disable-${2:-$1}"
else
if [[ ${buildtype} == "softmmu" ]] ; then
use_enable "$@"
else
echo "--disable-${2:-$1}"
fi
}
conf_opts+=(

@ -9,7 +9,7 @@ SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RDEPEND=">=app-eselect/eselect-lib-bin-symlink-0.1.1"

@ -1 +1,2 @@
DIST dtach-0.8.tar.gz 55472 SHA256 16614ebddf8ab2811d3dc0e7f329c7de88929ac6a9632d4cb4aef7fe11b8f2a9 SHA512 ad0a788d10a5e1e1be4c353b64e1e4a0dc8c888492a638b2442d7c59ef31d67975357116435a1059141bfc2c82a3a6e9e490faa87cf81e5fc3bc7457a99c1193 WHIRLPOOL 271236b493a36e159081570c1a2bea41cc58e151a9cdfd99d2a4f27486dd62d4c1955a4b858b356ef0d6613e1a9c5c8958ca3bd143e0fb07a12f3cb92370f989
DIST dtach-0.9.tar.gz 60608 SHA256 32e9fd6923c553c443fab4ec9c1f95d83fa47b771e6e1dafb018c567291492f3 SHA512 28c13dc8c96c16b9c6153a3a11fdeb4a4bc72e84e1f2575043b047cd8e600a47232f29544ffd87d82e2575623ec2e999a26e23e9eac25ec81c7722bdf98cfb18 WHIRLPOOL d86a11d15fb9c2995cb7f7613a2cc45f6da8321fba5678034fd4d68c563f33e8962570e66e7d37a4145b520dfad7b267b5c00fb3c11325888ce46a082b91584f

@ -0,0 +1,19 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="Emulates the detach feature of screen"
HOMEPAGE="http://dtach.sourceforge.net/ https://github.com/crigler/dtach"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~x86"
IUSE=""
src_install() {
dobin dtach
doman dtach.1
dodoc README
}

@ -1 +1,2 @@
DIST golly-2.7-src.tar.gz 3881882 SHA256 9af30afd7b03b3eebcfaec088d67c495609aef72516d9ca8f076b62f32b5e17b SHA512 084919f508b471cc0937d50307410c3f48281e7328e3b9d20e634b9ddfe5909e3b9a000da5a9845a2ba7e45a733fee39e2e6d55902c9af110b5f2d7ea8654d77 WHIRLPOOL 5c391894943593391e2c784f28c00cbbb479068936c6bd754d6c81847d4b0a3c57aad65535a5d8f5f97f789225a6d8d18f52b203ea9340fdd49f641fac8ae42e
DIST golly-2.8-src.tar.gz 4087191 SHA256 0488724715bae228e88d0a819d8ed311f964c70f37f228f6218bc053a1b09b28 SHA512 bd86f685d180687814a44aa51edf4952a5af9024abb76d6b30faf1229edc86a1ba4e1f2c13f249f604d483fbde1a6db05150263450935b5bb073c155ad166a53 WHIRLPOOL e42ac36a1b61c2df7ddbab6b1d99fc34547cb1856178ba8de55d0e029e5d13fadcb1ca3cc4fd3211a8e470b4568971f23e95ee64d7d33f3a424f3977aa6e293d

@ -0,0 +1,56 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
WX_GTK_VER=3.0
PYTHON_COMPAT=( python2_7 )
inherit eutils flag-o-matic python-single-r1 gnome2-utils wxwidgets
DESCRIPTION="simulator for Conway's Game of Life and other cellular automata"
HOMEPAGE="http://golly.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-lang/perl
virtual/opengl
sys-libs/zlib
x11-libs/wxGTK:${WX_GTK_VER}[X]"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${P}-src
ECONF_SOURCE=gui-wx/configure
pkg_setup() {
setup-wxwidgets
}
src_configure() {
append-libs -lGL -ldl
econf \
--with-perl-shlib="libperl.so" \
--with-wxshared
}
src_install() {
emake docdir= DESTDIR="${D}" install
dodoc docs/ReadMe.html
newicon --size 32 gui-wx/icons/appicon.xpm ${PN}.xpm
make_desktop_entry ${PN} "Golly" ${PN} "Science"
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}

@ -1,3 +1,4 @@
DIST lirc-0.9.0.tar.bz2 857286 SHA256 6323afae6ad498d4369675f77ec3dbb680fe661bea586aa296e67f2e2daba4ff SHA512 e91534c63e6065bd7da3b15e1676edf1672b8beb21864a6825df86247d7d165bf2dee6f8191732933e24e42a406e46afc55559948e4061eed2de7b08fac13431 WHIRLPOOL 0a1c00b07898aa7a5d78865fb73c6d26c6331dd0a4945773a801d29e40298b365eb58cae113a95fcf73be678a24ac082ad0868e8051303d732882fb82a859a7b
DIST lirc-0.9.4a.tar.bz2 2292119 SHA256 386086a74c7d12e7e8f26f7dbc8f40d20b9968c9ad2a42599483a51dd2da03ba SHA512 16be0ac5dd9b07d717ceba63cdc38c0db4a2bdcfc373ca6346d7cd4ab2cd2973aa7585d10b045fcaea952a3aabf7617c564ccb8268db6c62b172683a4b2cc188 WHIRLPOOL 93431c43d2dd31081e97113e2d49134de7feb29be53508900b3360408f7a099becf169fcebd0f6fc196280c594dc83d1299617ee54b65452828492db9bcd09ad
DIST lirc-0.9.4c.tar.bz2 2311300 SHA256 8974fe5dc8eaa717daab6785d2aefeec27615f01ec24b96d31e3381b2f70726a SHA512 0a0d0e025b87a55ec919c92824d8288bfaf35cfebae0ee97d86e344109f584baa72a2eff6d24fbc526900671d6092e0eebef8d1566559b0d153e122e3127c0cb WHIRLPOOL a614fc10b0e40831e81c558439ea528ae0628d64e55b272b9b5a97cb93cba2b8759062a5258c732fa97c2be7966226c3aca2efe2de84aad1f62211146d202efc
DIST lirc-0.9.4d.tar.bz2 2489704 SHA256 c68f18c35b489b865c0a741d119b136e8702191538cd3551b977a7af6c4e41ab SHA512 fb3892e12fbe5277e04c451694f1ea4ed45cc424d66ea57b11c4ac4760afa7df4b37897f380b4ade464a82523a0cee336f216d2009ea9431333fd7ca74a8336c WHIRLPOOL c5b1d803d4bb8e269ae96a69f351b304298fd6577fd1d8871f024f1b118e71f392945153cb397a840c5f1b71d1fa475db1bb04d381c18c8580c9e148238cfeea

@ -0,0 +1,150 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_4 python3_5 )
inherit eutils flag-o-matic python-single-r1 systemd xdg-utils
DESCRIPTION="decode and send infra-red signals of many commonly used remote controls"
HOMEPAGE="http://www.lirc.org/"
LIRC_DRIVER_DEVICE="/dev/lirc0"
MY_P=${PN}-${PV/_/}
if [[ "${PV/_pre/}" = "${PV}" ]]; then
SRC_URI="mirror://sourceforge/lirc/${MY_P}.tar.bz2"
else
SRC_URI="http://www.lirc.org/software/snapshots/${MY_P}.tar.bz2"
fi
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="audio doc ftdi gtk inputlirc static-libs systemd usb X"
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
gtk? ( X )
"
S="${WORKDIR}/${MY_P}"
COMMON_DEPEND="
${PYTHON_DEPS}
audio? (
>media-libs/portaudio-18
media-libs/alsa-lib
)
dev-python/pyyaml[${PYTHON_USEDEP}]
ftdi? ( dev-embedded/libftdi:0 )
systemd? ( sys-apps/systemd )
usb? ( virtual/libusb:0 )
X? (
x11-libs/libICE
x11-libs/libSM
x11-libs/libX11
)
"
DEPEND="
${COMMON_DEPEND}
dev-libs/libxslt
doc? ( app-doc/doxygen )
sys-apps/kmod
sys-kernel/linux-headers
"
RDEPEND="
${COMMON_DEPEND}
gtk? (
x11-libs/vte[introspection]
dev-python/pygobject[${PYTHON_USEDEP}]
)
inputlirc? ( app-misc/inputlircd )
"
PATCHES=(
# https://bugs.gentoo.org/show_bug.cgi?id=589246 https://sourceforge.net/p/lirc/tickets/214/
"${FILESDIR}"/lirc-0.9.4-doc-path-fix.patch
)
src_configure() {
xdg_environment_reset
econf \
--localstatedir="${EPREFIX}/var" \
$(use_enable static-libs static) \
$(use_with X x)
}
src_install() {
default
if use !gtk ; then
# lirc-setup requires gtk
rm "${ED%/}"/usr/bin/lirc-setup || die
fi
newinitd "${FILESDIR}"/lircd-0.8.6-r2 lircd
newinitd "${FILESDIR}"/lircmd-0.9.4a-r2 lircmd
newconfd "${FILESDIR}"/lircd.conf.4 lircd
newconfd "${FILESDIR}"/lircmd.conf lircmd
insinto /etc/modprobe.d/
newins "${FILESDIR}"/modprobed.lirc lirc.conf
newinitd "${FILESDIR}"/irexec-initd-0.9.4a-r2 irexec
newconfd "${FILESDIR}"/irexec-confd irexec
keepdir /etc/lirc
if [[ -e "${ED%/}"/etc/lirc/lircd.conf ]]; then
newdoc "${ED%/}"/etc/lirc/lircd.conf lircd.conf.example
fi
find "${ED}" -name '*.la' -delete || die
# Avoid QA notice
rm -d "${ED%/}"/var/run/lirc || die
rm -d "${ED%/}"/var/run || die
}
pkg_preinst() {
local dir="${EROOT%/}/etc/modprobe.d"
if [[ -a "${dir}"/lirc && ! -a "${dir}"/lirc.conf ]]; then
elog "Renaming ${dir}/lirc to lirc.conf"
mv -f "${dir}/lirc" "${dir}/lirc.conf" || die
fi
# copy the first file that can be found
if [[ -f "${EROOT%/}"/etc/lirc/lircd.conf ]]; then
cp "${EROOT%/}"/etc/lirc/lircd.conf "${T}"/lircd.conf || die
elif [[ -f "${EROOT%/}"/etc/lircd.conf ]]; then
cp "${EROOT%/}"/etc/lircd.conf "${T}"/lircd.conf || die
MOVE_OLD_LIRCD_CONF=1
elif [[ -f "${ED%/}"/etc/lirc/lircd.conf ]]; then
cp "${ED%/}"/etc/lirc/lircd.conf "${T}"/lircd.conf || die
fi
# stop portage from touching the config file
if [[ -e "${ED%/}"/etc/lirc/lircd.conf ]]; then
rm -f "${ED%/}"/etc/lirc/lircd.conf || die
fi
}
pkg_postinst() {
# copy config file to new location
# without portage knowing about it
# so it will not delete it on unmerge or ever touch it again
if [[ -e "${T}"/lircd.conf ]]; then
cp "${T}"/lircd.conf "${EROOT%/}"/etc/lirc/lircd.conf || die
if [[ "$MOVE_OLD_LIRCD_CONF" = "1" ]]; then
elog "Moved /etc/lircd.conf to /etc/lirc/lircd.conf"
rm -f "${EROOT%/}"/etc/lircd.conf || die
fi
fi
einfo "The new default location for lircd.conf is inside of"
einfo "${EROOT%/}/etc/lirc/ directory"
}

@ -1 +1,2 @@
DIST recoll-1.19.5.tar.gz 1997615 SHA256 c4d63a4cd1a598117a521a883a6078082b30fe63eef84a879da9b467fcb56a8d SHA512 45ae5dc6d4f6d6dbb3d7e634bd60a2835b767e5d2d8d188636ab4b1777d65a6918c09d5bc09e80e4849aea6e8b2c9c430b99a9e56b645531065e558f4161a5f3 WHIRLPOOL df099f39a681aa1956076018861d064445bcb9fc050c866133a830ebeddb33efcc9a06596ce18d17d80bcfdb663bb780434719092c6c571f42b6093a4c750be3
DIST recoll-1.22.4.tar.gz 2511949 SHA256 8211e1ccc6e576b0c21e5bfb4f49a0b69990a44bd5a3ce6eae4ff16aaf23412f SHA512 90d258c854972a41adbb3eef71b08d25c5aea24ed6fc830245d19e273112c016b66b0359e1d83143992d07b5a67226216e8f406ac135c21da6b86c7ffde31225 WHIRLPOOL 2dac2936e4c13448b6f8cb0c6d9d0d6d1d7c14b47a6761b6115762d734f91cfd8652186627b8ab55149c14ff5b00260838b0e62962f32ecbd4d2bef1f25e44ba

@ -1,24 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<use>
<flag name="camelcase">Enable indexing for camelCase sentences and words</flag>
<flag name="chm">Index chm files</flag>
<flag name="dvi">Index dvi files</flag>
<flag name="ics">Index iCalendar files</flag>
<flag name="info">Index GNU info files</flag>
<flag name="inotify">Use the Linux Kernel notification subsystem for monitoring file alterations in realtime</flag>
<flag name="lyx">Index Latex lyx files</flag>
<flag name="msdoc">Index Microsoft Word documents</flag>
<flag name="msppt">Index Microsoft PowerPoint documents</flag>
<flag name="msxls">Index Microsoft Excel documents</flag>
<flag name="pdf">Index PDF documents</flag>
<flag name="rtf">Index Microsoft RTF documents</flag>
<flag name="session">Stop monitoring file alterations when X11 session terminates</flag>
<flag name="sound">Index audio files</flag>
<flag name="tex">Index TeX files</flag>
<flag name="wordperfect">Index WordPerfect documents</flag>
<flag name="xml">Index several XML-based formats (Abiword, FictionBook, Kword, Office OpenXML, OpenDocument, SVG)</flag>
</use>
<maintainer type="person">
<email>ppurka@gmail.com</email>
<name>Punarbasu 'ppurka' Purkayastha</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers Project</name>
</maintainer>
<upstream>
<maintainer status="active">
<email>jfd@recoll.org</email>
<name>Jean-Francois Dockes</name>
</maintainer>
<bugs-to>https://bitbucket.org/medoc/recoll/issues</bugs-to>
</upstream>
<use>
<flag name="camelcase">Enable indexing for camelCase sentences and words</flag>
<flag name="chm">Index chm files</flag>
<flag name="dvi">Index dvi files</flag>
<flag name="ics">Index iCalendar files</flag>
<flag name="info">Index GNU info files</flag>
<flag name="inotify">Use the Linux Kernel notification subsystem for monitoring file alterations in realtime</flag>
<flag name="lyx">Index Latex lyx files</flag>
<flag name="msdoc">Index Microsoft Word documents</flag>
<flag name="msppt">Index Microsoft PowerPoint documents</flag>
<flag name="msxls">Index Microsoft Excel documents</flag>
<flag name="pdf">Index PDF documents</flag>
<flag name="rtf">Index Microsoft RTF documents</flag>
<flag name="session">Stop monitoring file alterations when X11 session terminates</flag>
<flag name="sound">Index audio files</flag>
<flag name="tex">Index TeX files</flag>
<flag name="wordperfect">Index WordPerfect documents</flag>
<flag name="xml">Index several XML-based formats (Abiword, FictionBook, Kword, Office OpenXML, OpenDocument, SVG)</flag>
</use>
<longdescription lang="en">
Recoll is a desktop full-text search tool. It can search most document
formats. You may need external applications for text extraction. It
can reach any storage place: files, archive members, email attachments,
transparently handling decompression.
</longdescription>
</pkgmetadata>

@ -0,0 +1,128 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit eutils linux-info python-single-r1 qmake-utils
DESCRIPTION="A personal full text search package"
HOMEPAGE="http://www.lesbonscomptes.com/recoll/"
SRC_URI="http://www.lesbonscomptes.com/recoll/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="camelcase doc +inotify qt4 qt5 session +spell"
REQUIRED_USE="session? ( inotify )"
COMMON_DEPEND="
dev-libs/xapian:=
sys-libs/zlib
virtual/libiconv
qt5? (
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtprintsupport:5
dev-qt/qtwebkit:5
)
!qt5? ( qt4? (
dev-qt/qtcore:4
dev-qt/qtgui:4
) )
session? (
inotify? ( x11-libs/libSM x11-libs/libICE )
)
spell? ( app-text/aspell )
"
DEPEND="${COMMON_DEPEND}
qt5? ( dev-qt/linguist-tools:5 )
"
RDEPEND="${COMMON_DEPEND}
app-arch/unzip
sys-apps/sed
virtual/awk
"
pkg_setup() {
if has_version "<app-misc/recoll-1.20"; then
einfo "Installing ${PV} over an 1.19 index is possible,"
einfo "but there have been small changes in the way"
einfo "compound words are indexed. So it is best to reset"
einfo "the index. The best method to reset the index is to"
einfo "quit all recoll programs and delete the index directory"
einfo "rm -rf ~/.recoll/xapiandb, then start recoll or recollindex."
fi
if use inotify; then
CONFIG_CHECK="~INOTIFY_USER"
check_extra_config
fi
python-single-r1_pkg_setup
}
src_prepare() {
python_fix_shebang filters
default
}
src_configure() {
local qtconf
if use qt4 || use qt5; then
qtconf="--enable-qtgui"
if use qt5; then
export QT_SELECT=qt5
qtconf+=" --enable-webkit"
elif use qt4; then
export QT_SELECT=qt4
qtconf+=" --disable-webkit"
fi
else
qtconf="--disable-qtgui --disable-webkit"
fi
econf \
$(use_enable camelcase) \
$(use_enable session x11mon) \
$(use_with inotify) \
$(use_with spell aspell) \
${qtconf} \
--without-fam \
--enable-recollq
}
src_install() {
emake STRIP="$(type -P true)" DESTDIR="${D}" install
prune_libtool_files
# html docs should be placed in /usr/share/doc/${PN}/html
use doc && dodoc "${ED}"/usr/share/recoll/doc/*
rm -r "${ED}/usr/share/recoll/doc" || die
}
pkg_postinst() {
einfo "In order to extract the full functionality of "
einfo "recoll, the following packages should be installed "
einfo "to get the corresponding document support."
optfeature "XML based documents support" "dev-libs/libxslt[python] dev-libs/libxml2[python]"
optfeature "PDF files support" app-text/poppler
optfeature "PDF files with OCR support" app-text/tesseract
optfeature "MS Word files support" app-text/antiword
optfeature "Wordperfect files support" "app-text/libwpd[tools]"
optfeature "Lyx files support" app-office/lyx
optfeature "CHM files support" dev-python/pychm
optfeature "GNU Info files support" sys-apps/texinfo
optfeature "RAR archives support" dev-python/rarfile
optfeature "7zip archives support" dev-python/pylzma
optfeature "iCalendar files support" dev-python/icalendar
optfeature "Postscript files support" app-text/pstotext
optfeature "RTF files support" app-text/unrtf
optfeature "TeX files support" dev-text/detex
optfeature "DVI files support" virtual/tex-base
optfeature "DJVU files support" app-text/djvu
optfeature "tags in audio files support" media-libs/mutagen
optfeature "tags in image files support" media-libs/exiftool
optfeature "Midi karaoke files support" dev-python/chardet
}

@ -1,2 +1 @@
DIST SocNetV-0.90.tar.gz 371285 SHA256 044988db0cb068c61f8310fa6e51fe2db098cc9a040694b69cab495066b35744 SHA512 a2f6972486d5437977f76539ae00fa6400d979285926398629209199d2fb8b8758c1fd18dc88d89e19865072b9749d5183151c93b6714f802589b0fe10ea7791 WHIRLPOOL bec2654fb2c2141d55e4dee4ea41880d451de8f30d23292abf064df3fec691a3df15a2dcd76961685b5ed0a39e4b9ca979227e2be3d120cbd8865c24d7c4ea7b
DIST SocNetV-2.2.tar.gz 745086 SHA256 736fa636e888638874deaf356b1ebc400bbef6a4dc94b069dc257ba3a247025f SHA512 12f490fd1f7fc1a6b45f77d23d8825117def0b7720595cd203d171fd88c41d5a0194a70359f55cbe2dab9e545f300156b31bb0680e46d7ab584e070e128e457b WHIRLPOOL af271d9e1e4c5179e1e6629a55f23ffad2035f707ac22d202d4a11dbbfc3dc94160e5c3393f62dcf1f72b0d648d50dcb45ef4ffa848518430dae6396f67deda3

@ -1,46 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
inherit eutils qt4-r2 toolchain-funcs
MY_PN="SocNetV"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Qt Social Network Visualizer"
HOMEPAGE="http://socnetv.sourceforge.net/"
SRC_URI="mirror://sourceforge/socnetv/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc"
DEPEND="dev-qt/qtgui:4
dev-qt/qtwebkit:4"
RDEPEND="${DEPEND}"
src_prepare() {
qt4-r2_src_prepare
sed -i "s/@make/@+make/" Makefile.in \
|| die "Fix parallel build"
}
src_compile() {
emake CXX="$(tc-getCXX)" CXXFLAGS="${LDFLAGS} ${CXXFLAGS}" \
LFLAGS="${LDFLAGS}"
}
src_install() {
dobin socnetv
doicon src/images/socnetv.png
make_desktop_entry ${PN} SocNetV ${PN} 'Science'
insinto /usr/share/${PN}/examples
doins nets/*
dodoc AUTHORS ChangeLog README TODO
if use doc; then
dohtml -r "${S}"/manual/*
fi
doman "${S}/man/${PN}.1.gz"
}

@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/socnetv/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~x86"
KEYWORDS="amd64 x86"
IUSE="examples"
DEPEND="

@ -0,0 +1,21 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EGIT_REPO_URI="https://github.com/mgorny/cpuid2cpuflags"
inherit autotools git-r3
DESCRIPTION="Tool to guess CPU_FLAGS_X86 flags for the host"
HOMEPAGE="https://github.com/mgorny/cpuid2cpuflags"
SRC_URI=""
LICENSE="BSD-2"
SLOT="0"
KEYWORDS=""
IUSE=""
src_prepare() {
default
eautoreconf
}

@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ppc ppc64 ~s390 x86"
KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ppc ppc64 ~s390 sparc x86"
IUSE="bazaar cvs darcs +git gpg g-sorcery mercurial sqlite squashfs subversion sync-plugin-portage test"
DEPEND="test? ( dev-vcs/subversion )

@ -0,0 +1,32 @@
diff --git a/Makefile.in b/Makefile.in
index 35e63ae..b73c612 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -195,11 +195,16 @@ ifeq ($(shell uname), Darwin)
endif
#
-# All translation message catalogs
+# All translation message catalogs, filter files based on LINGUAS.
#
TRANSLATIONS_SRC := $(wildcard po/*.po)
-ifdef HAVE_GETTEXT
+ifeq ($(HAVE_GETTEXT), 1)
TRANSLATIONS := $(TRANSLATIONS_SRC:.po=.gmo)
+ifdef LINGUAS
+ TRANSLATIONS_ALL := $(TRANSLATIONS)
+ TRANSLATIONS_WANTED = $(patsubst %,po/%.gmo,$(LINGUAS))
+ TRANSLATIONS = $(filter $(TRANSLATIONS_WANTED),$(TRANSLATIONS_ALL))
+endif
else
TRANSLATIONS :=
endif
@@ -764,7 +769,7 @@ uninstall: uninstall-translations | show-prefix show-bindir show-sysconfdir show
.PHONY: uninstall
install-translations: $(TRANSLATIONS) | show-HAVE_GETTEXT
-ifdef HAVE_GETTEXT
+ifeq ($(HAVE_GETTEXT), 1)
@echo "Installing translations..."
$v for i in $(TRANSLATIONS); do \
$(INSTALL) -m 755 -d $(DESTDIR)$(localedir)/`basename $$i .gmo`/LC_MESSAGES; \

@ -1,23 +0,0 @@
# only apply env for login shells, as we'd like fish to
# inherit existing shell environment without overriding it
# using csh env, as it's cleaner and less too parse/strip
if status --is-login
# since fish supports export via upstream provided function
# we can source directly, only ommiting $PATH and comments.
string match -r -v '^(#|setenv (PATH|ROOTPATH) )' < /etc/csh.env | source
# strip unneded stuff from setenv lines
# apply paths and cleanup
if [ "$EUID" = "0" ] ; or [ "$USER" = "root" ]
string match -r '^setenv ROOTPATH .+' < /etc/csh.env | string replace -ra '\'|\:' ' ' | source
set -gx PATH /usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin $ROOTPATH
set -e ROOTPATH
else
string match -r '^setenv PATH .+' < /etc/csh.env | string replace -ra '\'|\:' ' ' | source
set -gx PATH /usr/local/bin /usr/bin /bin $PATH
end
# re-prepend $fish_user_paths
__fish_reconstruct_path
end

@ -10,7 +10,7 @@ SRC_URI="http://fishshell.com/files/${PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
IUSE=""
IUSE="nls"
RDEPEND="
>=dev-libs/libpcre2-10.21[pcre32]
@ -19,9 +19,11 @@ RDEPEND="
DEPEND="
${RDEPEND}
sys-devel/bc
sys-devel/gettext
nls? ( sys-devel/gettext )
"
PATCHES=( "${FILESDIR}/${P}-honor-linguas.patch" )
src_configure() {
# Set things up for fish to be a default shell.
# It has to be in /bin in case /usr is unavailable.
@ -29,14 +31,8 @@ src_configure() {
econf \
docdir="${EPREFIX}"/usr/share/doc/${PF} \
--bindir="${EPREFIX}"/bin \
--without-included-pcre2
}
src_install() {
default
insinto /usr/share/fish/vendor_conf.d
newins "${FILESDIR}/profile-env.fish" 00-profile-env.fish
--without-included-pcre2 \
$(use_with nls gettext)
}
src_test() {
@ -51,10 +47,10 @@ pkg_postinst() {
elog "fish is now installed on your system."
elog "To run fish, type 'fish' in your terminal."
elog
elog "To use fish as your login shell:"
elog "* add the line '${EPREFIX}/bin/${PN}'"
elog "* to the file '${EPREFIX}/etc/shells'."
elog "* use the command 'chsh -s ${EPREFIX}/bin/${PN}'."
elog "It is advised not to set fish as a default login shell."
elog "see bug #545830 for more details."
elog "Executing fish using ~/.bashrc is an alternative"
elog "see https://wiki.gentoo.org/wiki/Fish#Caveats for details"
elog
elog "To set your colors, run 'fish_config'"
elog "To scan your man pages for completions, run 'fish_update_completions'"

@ -1 +1,2 @@
DIST cb2bib-1.5.0.tar.gz 899936 SHA256 e5eae392c9223889fb21c5a656b014d5a81a333c5378196075a985233885f3b9 SHA512 bc1149ebc1dc2f6fb0e2bf04dedc156c2decd5f76a3b57bc24713db5827afb83e5ff2ef4b380d6a4fa6f80ce6375bfa97b2cfdc6d7540f620e3f541a586e998b WHIRLPOOL b4de5b4ad924ae623403070d95d50cbfa378676ed76519d7ec9002c686dd26da6ea8a43531f8c0147c0206a157ca44e9e94c50d53564a78e7a0a098ccb293f53
DIST cb2bib-1.9.6.tar.gz 845129 SHA256 a2715a670ad405d6599b237d058cccf9e0dbe47070ee8e5d7f799c24ea4715af SHA512 2e13d50996a5461f544ece6cac96ca32f1df1c703b9872d0ec8852a43fd0ba51041a136363fbed433b464163254b4d42ab2e6239a48567961155ae068ad6b27c WHIRLPOOL fbaaa3c77c5d90098d33c31dd13c75484be05b8c5fbf81d33b5a9a620bd9dec452fb9877f2d3c69213354763c63b56d07ff0c282d0ddd2077b8a58942a6d0571

@ -0,0 +1,63 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit qmake-utils
DESCRIPTION="Tool for extracting unformatted bibliographic references"
HOMEPAGE="http://www.molspaces.com/cb2bib/"
SRC_URI="http://www.molspaces.com/dl/progs/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+lzo webengine +webkit"
REQUIRED_USE="?? ( webkit webengine )"
DEPEND="
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
dev-qt/qtwidgets:5
lzo? ( dev-libs/lzo:2 )
webkit? ( dev-qt/qtwebkit:5 )
webengine? ( dev-qt/qtwebengine:5[widgets] )
"
RDEPEND="${DEPEND}"
DOCS=( AUTHORS CHANGELOG COPYRIGHT )
src_prepare() {
default
sed -i -e "s|../AUTHORS ../COPYRIGHT ../LICENSE ../CHANGELOG||" src/src.pro || die
use webengine || sed -i -e "s/qtHaveModule(webenginewidgets)/false/g" src/src.pro || die
use webkit || sed -i -e "s/qtHaveModule(webkitwidgets)/false/g" src/src.pro || die
}
src_configure() {
eqmake5 \
$(use !lzo && echo -config disable_lzo)
}
src_install() {
emake INSTALL_ROOT="${D}" install
einstalldocs
}
pkg_postinst() {
einfo
elog "For best functionality, emerge the following packages:"
elog " app-text/poppler[utils] - for data import from PDF files"
elog " app-text/dvipdfm - for data import from DVI files"
elog " app-text/bibutils - for data import from ISI, endnote format"
elog " media-fonts/jsmath - for displaying mathematical notation"
elog " media-libs/exiftool - for proper UTF-8 metadata writing in PDF"
elog " text strings"
elog " virtual/latex-base - to check for BibTeX file correctness and to get"
elog " nice printing through the shell script bib2pdf"
einfo
}

@ -5,6 +5,9 @@
<email>qt@gentoo.org</email>
<name>Gentoo Qt Project</name>
</maintainer>
<use>
<flag name="webengine">Use <pkg>dev-qt/qtwebengine</pkg> instead of <pkg>dev-qt/qtwebkit</pkg></flag>
</use>
<upstream>
<bugs-to>mailto:webmaster@molspaces.com</bugs-to>
</upstream>

@ -1,10 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>nvinson234@gmail.com</email>
<name>Nicholas Vinson</name>
</maintainer>
<maintainer type="person">
<email>maksbotan@gentoo.org</email>
<name>Maxim Koltsov</name>

@ -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=5
@ -56,15 +56,21 @@ CMAKE_USE_DIR=${S}/third_party/ycmd/cpp
VIM_PLUGIN_HELPFILES="${PN}"
src_prepare() {
if ! use test ; then
if ! use test; then
sed -i '/^add_subdirectory( tests )/d' third_party/ycmd/cpp/ycm/CMakeLists.txt || die
fi
for third_party_module in requests pythonfutures; do
rm -r "${S}"/third_party/${third_party_module} || die "Failed to remove third party module ${third_party_module}"
if [[ -d "${third_party_module}" ]]; then
rm -r "${S}"/third_party/${third_party_module} || die "Failed to remove third party module ${third_party_module}"
fi
done
# Argparse is included in python 2.7
for third_party_module in argparse bottle jedi waitress sh requests; do
rm -r "${S}"/third_party/ycmd/third_party/${third_party_module} || die "Failed to remove third party module ${third_party_module}"
if [[ -d "${third_party_module}" ]]; then
rm -r "${S}"/third_party/ycmd/third_party/${third_party_module} || die "Failed to remove third party module ${third_party_module}"
fi
done
}

@ -0,0 +1,72 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools eutils
DESCRIPTION="C++ library offering portable support for system-related services"
SRC_URI="mirror://gnu/commoncpp/${P}.tar.gz"
HOMEPAGE="https://www.gnu.org/software/commoncpp/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="debug doc examples ipv6 gnutls ssl static-libs"
RDEPEND="
sys-libs/zlib
ssl? (
gnutls? (
dev-libs/libgcrypt:0=
net-libs/gnutls:=
)
!gnutls? ( dev-libs/openssl:0= )
)"
DEPEND="${RDEPEND}
doc? ( >=app-doc/doxygen-1.3.6 )"
HTML_DOCS=()
PATCHES=(
"${FILESDIR}/1.8.1-configure_detect_netfilter.patch"
"${FILESDIR}/1.8.0-glibc212.patch"
"${FILESDIR}/1.8.1-autoconf-update.patch"
"${FILESDIR}/1.8.1-fix-buffer-overflow.patch"
"${FILESDIR}/1.8.1-parallel-build.patch"
"${FILESDIR}/1.8.1-libgcrypt.patch"
"${FILESDIR}/1.8.1-fix-c++14.patch"
"${FILESDIR}/1.8.1-gnutls-3.4.patch"
)
pkg_setup() {
use doc && HTML_DOCS+=( doc/html/. )
}
src_prepare() {
default
eautoreconf
}
src_configure() {
use ssl && local myconf=( $(usex gnutls '--with-gnutls' '--with-openssl') )
econf \
$(use_enable debug) \
$(use_with ipv6) \
$(use_enable static-libs static) \
$(use_with doc doxygen) \
"${myconf[@]}"
}
src_install () {
default
prune_libtool_files
dodoc COPYING.addendum
if use examples; then
docinto examples
dodoc demo/{*.cpp,*.h,*.xml,README}
docompress -x /usr/share/doc/${PF}/examples
fi
}

@ -0,0 +1,36 @@
From ba702b6034444c2e30b0990d06e28bb2dea8ecb7 Mon Sep 17 00:00:00 2001
From: Alon Bar-Lev <alon.barlev@gmail.com>
Date: Sat, 4 Mar 2017 01:36:23 +0200
Subject: [PATCH] ssl: support gnutls-3.4
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
---
src/ssl.cpp | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/ssl.cpp b/src/ssl.cpp
index 5bf526d..38ef0a7 100644
--- a/src/ssl.cpp
+++ b/src/ssl.cpp
@@ -344,9 +344,6 @@ ssize_t SSLStream::readData(void *target, size_t size, char separator, timeout_t
#ifdef CCXX_GNUTLS
bool SSLStream::getSession(void)
{
- const int cert_priority[3] =
- {GNUTLS_CRT_X509, GNUTLS_CRT_OPENPGP, 0};
-
if(ssl)
return true;
@@ -362,7 +359,7 @@ bool SSLStream::getSession(void)
gnutls_set_default_priority(ssl->session);
gnutls_certificate_allocate_credentials(&ssl->xcred);
- gnutls_certificate_type_set_priority(ssl->session, cert_priority);
+ gnutls_priority_set_direct(ssl->session, "NORMAL:+CTYPE-OPENPGP", NULL);
gnutls_credentials_set(ssl->session, GNUTLS_CRD_CERTIFICATE, ssl->xcred);
gnutls_transport_set_ptr(ssl->session, (gnutls_transport_ptr)so);
if(gnutls_handshake(ssl->session)) {
--
2.10.2

@ -1 +1,2 @@
DIST simgear-2016.4.4.tar.bz2 1200320 SHA256 5514fd0006bbfcdbdc0e2dab7da41eae491ea03a6246cc6a009590032b2fc1dc SHA512 f7b9124e40dba347cd73304fc1b20a5b6d09eb476bc41949d5be615be968a6a66f64141b87819bfa357bd1fd376b2e1fc18334eb1d4df2d4f1e3f95ef4a1928d WHIRLPOOL 3fb4d580d84633a6a852f6a8ab5e708afde9616b636bb5b49d30b56ed232d9938606f602d473e51855605d2544b364691ae362ec974f56b34e32507a37752221
DIST simgear-2017.1.1.tar.bz2 1236106 SHA256 1815f6a2c3f43bb6121b2394e68f8e6e341c14a7a40e4163c0bcc105ee06ccbc SHA512 8920b41127eac40e3633444eae2cd7b61ac8a386164571a5f1205c92da7f555d54824fc39ab2e1af40860cb507eb358679282adede371c9a81c858bbcaadc9dd WHIRLPOOL 2b1fcce13c5919ac8fe248320a0289ac1dd317224f9a9b9ab9fd000e627ea726b1b2abf5e0fec6f924bc8561f408281dffd907081f82cd0b0e48ab5be8e97169

@ -0,0 +1,51 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils cmake-utils
DESCRIPTION="Development library for simulation games"
HOMEPAGE="http://www.simgear.org/"
SRC_URI="mirror://sourceforge/flightgear/${P}.tar.bz2"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc ~x86"
SLOT="0"
IUSE="+dns debug subversion test"
COMMON_DEPEND="
dev-libs/expat
>=dev-games/openscenegraph-3.2.0
media-libs/openal
net-misc/curl
sys-libs/zlib
virtual/opengl
dns? ( net-libs/udns )
"
DEPEND="${COMMON_DEPEND}
>=dev-libs/boost-1.44
"
RDEPEND="${COMMON_DEPEND}
subversion? ( dev-vcs/subversion )
"
DOCS=(AUTHORS ChangeLog NEWS README Thanks)
src_configure() {
local mycmakeargs=(
-DENABLE_DNS=$(usex dns)
-DENABLE_PKGUTIL=ON
-DENABLE_RTI=OFF
-DENABLE_SIMD=OFF
-DENABLE_SOUND=ON
-DENABLE_TESTS=$(usex test)
-DSIMGEAR_HEADLESS=OFF
-DSIMGEAR_SHARED=ON
-DSYSTEM_EXPAT=ON
-DSYSTEM_UDNS=ON
-DUSE_AEONWAVE=OFF
-DOSG_FSTREAM_EXPORT_FIXED=OFF # TODO perhaps track it
)
cmake-utils_src_configure
}

@ -1,3 +1,5 @@
# $Id: Version.properties 390452 2006-03-31 11:34:17 -0500 (Fri, 31 Mar 2006) jkuhnert $
#
# Stores the version number of the framework.
framework.version=3.0.4

@ -1,3 +1,4 @@
# $Id: build.properties.sample 243768 2004-02-04 13:04:22Z mindbridge $
# This file is used to configure the Tapestry build.
# Copy it as "build.properties" and fill in the necessary data.

@ -1,3 +1,5 @@
# $Id: common.properties 385802 2006-03-14 13:47:10Z jkuhnert $
#
# Specifies some general properties used throughout.
# Each build.xml must specify root.dir (as a relative path).

@ -12,7 +12,7 @@ DESCRIPTION="A C++ crypto library"
HOMEPAGE="http://botan.randombit.net/"
SRC_URI="http://botan.randombit.net/releases/${MY_P}.tgz"
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos"
KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 sparc x86 ~ppc-macos"
SLOT="0"
LICENSE="BSD"
IUSE="bindist doc python bzip2 gmp libressl ssl static-libs threads zlib"

@ -1,4 +1,2 @@
DIST cl340.zip 5514751 SHA256 fff4cca9e70e579763882cd58bc8a5b36c52c20a7ace6c8b21c5e4e9e05fd9d5 SHA512 b9091ee4ce589f95ce479a0de25c5456db18d955350cc245637addf31f3c03cfe87c971f5a7bff274d17451059d319723cd337cb25a672e0823e29b98b4b87f8 WHIRLPOOL 8965d0c6b0e0bd38d0bbf674a75ac43ea7ea482218c6592d51d0baa7a6ff8673a27c8095084dc7d7cbca39c29bc9acdb6351d6a1f64f6cdc6c1bf906b2579cff
DIST cl343.zip 5703258 SHA256 08b104442bb5c7281a3299853d5585cc63bd928454dff3150569c02b957427ad SHA512 abbd53c00be82749f7e359f22cd45ef2b1d90040427457ee8d452d2b513093789b99fa8e904b8a7c75e8db046c59d96e966ce64c2b3630bd21cf3e91b57bc58a WHIRLPOOL 0e1f9dd18172ac9ba244845147e7da41932ea13099aa94957b090be2eb302f179a96bb64c04ddcb74f21cdf5be0c6ed849df4076eb77cbde912719a73ffb1b26
DIST cl3431.zip 5828863 SHA256 4a608d725f66669d983083420f9f57f763f320292c50346de3e8c1caeee743bd SHA512 d6a3403361fe39b855ec85b030989c5dfc54e499260869de0de151ad6f62245020561dd308b86edf6792da9663e19a0c0d21c53aa7434b21e83eb4b7445fd8dc WHIRLPOOL eccc446361f7daa9cf5a017ae7e229b2003f198490b9cae1bed61fd7bd585e9a08ec54c6c035ba2c4f3e8a58d3eb9756a61f608d5a299c8cc66b159a87e95874
DIST cryptlib-3.4.0-manual.pdf.bz2 1215921 SHA256 b06b736e6e123f578adcd08a8ede6cdb62e3e6d4ac2decb3570def1b29d44da8 SHA512 dbf9914a110a686dc23fedd23c16cefbae12cc67e378db67ac292f8f782b3b615a5819013f2b9c4861086c7ddfab690db9d68a911346102def323255cf48069b WHIRLPOOL 8cc64ab7ffe8a97714e793dd3dfe36708e7e2c7ec583479c593d767de22b860be5bcf0a70427f6f2e7e1d9732ec4ba2d2b3f1617f97bb649c0298924e4a93fb6

@ -1,141 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python2_7 pypy )
DISTUTILS_OPTIONAL=1
inherit distutils-r1 eutils flag-o-matic multilib toolchain-funcs
MY_PV="${PV//.}"
DESCRIPTION="Powerful security toolkit for adding encryption to software"
HOMEPAGE="http://www.cs.auckland.ac.nz/~pgut001/cryptlib/"
DOC_PREFIX="${PN}-${PV}"
SRC_URI="ftp://ftp.franken.de/pub/crypt/cryptlib/cl${MY_PV}.zip
doc? ( mirror://gentoo/${DOC_PREFIX}-manual.pdf.bz2 )"
LICENSE="Sleepycat"
KEYWORDS="amd64 x86"
SLOT="0"
IUSE="doc ldap odbc python"
S="${WORKDIR}"
RDEPEND="sys-libs/zlib
ldap? ( net-nds/openldap )
odbc? ( dev-db/unixODBC )
python? ( ${PYTHON_DEPS} )"
DEPEND="${RDEPEND}
app-arch/unzip"
src_unpack() {
# we need the -a option, so we can not use 'unpack'
unzip -qoa "${DISTDIR}/cl${MY_PV}.zip"
use doc && unpack "${DOC_PREFIX}-manual.pdf.bz2"
}
wrap_python() {
if use python; then
# cd bindings || die
distutils-r1_${1}
fi
}
src_prepare() {
rm -fr zlib
# we want our own CFLAGS ;-)
sed -i -e "s:-m.*=pentium::g" -e "s:-fomit-frame-pointer::g" -e "s:-O2::g" \
-e "s:-O3::g" -e "s:-O4::g" makefile || die "sed makefile failed"
sed -i -e "s/-march=[[:alnum:]\.=-]*//g" -e "s/-mcpu=[[:alnum:]\.=-]*//g" \
-e "s:-O2::g" -e "s:-O3::g" tools/ccopts.sh || die "sed tools/ccopts.sh failed"
# change 'make' to '$(MAKE)'
sed -i -e "s:@\?make:\$(MAKE):g" makefile || die "sed makefile failed"
# NOTICE:
# Because of stack execution
# assembly parts are disabled.
sed -i -e 's:i\[3,4,5,6\]86:___:g' makefile || die "sed makefile failed"
# Fix version number of shared library.
sed -i -e 's/PLV="2"/PLV="3"/' tools/buildall.sh || die "sed tools/buildall.sh failed"
# Respect LDFLAGS and fix soname and strip issues.
epatch "${FILESDIR}/${PN}-3.3.2-ld.patch"
# Use external zlib.
epatch "${FILESDIR}/${PN}-3.4.0-external-zlib.patch"
# Fix setup.py
epatch "${FILESDIR}"/${P}-python.patch
# For some reason, setup.py is half-designed to be run from proper dir,
# and half-designed to be run from root. Since the patch fixes it to
# be completely from root, move it.
#
# When bumping the package, please update the patch to make setup.py work
# properly when executed from 'bindings' subdirectory.
mv bindings/setup.py . || die
wrap_python ${FUNCNAME}
}
src_compile() {
local libname="libcl.so.${PV}"
# At least -O2 is needed.
replace-flags -O -O2
replace-flags -O0 -O2
replace-flags -O1 -O2
replace-flags -Os -O2
is-flagq -O* || append-flags -O2
append-flags "-D__UNIX__ -DOSVERSION=2 -DNDEBUG -I."
if [ -f /usr/include/pthread.h -a \
`grep -c PTHREAD_MUTEX_RECURSIVE /usr/include/pthread.h` -ge 0 ] ; then
append-flags "-DHAS_RECURSIVE_MUTEX"
fi
if [ -f /usr/include/pthread.h -a \
`grep -c PTHREAD_MUTEX_ROBUST /usr/include/pthread.h` -ge 0 ] ; then
append-flags "-DHAS_ROBUST_MUTEX"
fi
use ldap && append-flags -DHAS_LDAP
use odbc && append-flags -DHAS_ODBC
emake directories || die
emake toolscripts || die
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -c" Linux || die "emake static failed"
emake TARGET=${libname} OBJPATH="./shared-obj/" CC="$(tc-getCC)" \
CFLAGS="${CFLAGS} -fPIC -c" Linux
if use python; then
ln -s libcl.so.${PV} libcl.so || die
# Python bindings don't work with -O2 and higher.
replace-flags -O* -O1
wrap_python ${FUNCNAME}
fi
}
src_install() {
dolib.so "libcl.so.${PV}"
dosym "libcl.so.${PV}" "/usr/$(get_libdir)/libcl.so"
dolib.a "libcl.a"
doheader cryptlib.h
dodoc README
if use doc; then
newdoc "${DOC_PREFIX}-manual.pdf" "manual.pdf"
fi
wrap_python ${FUNCNAME}
}

@ -1,132 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 pypy )
DISTUTILS_OPTIONAL=1
inherit distutils-r1 eutils flag-o-matic multilib toolchain-funcs versionator
MY_PV="${PV//.}"
DESCRIPTION="Powerful security toolkit for adding encryption to software"
HOMEPAGE="http://www.cs.auckland.ac.nz/~pgut001/cryptlib/"
DOC_PREFIX="${PN}-$(get_version_component_range 1-2 ${PV}).0"
SRC_URI="ftp://ftp.franken.de/pub/crypt/cryptlib/cl${MY_PV}.zip
doc? ( mirror://gentoo/${DOC_PREFIX}-manual.pdf.bz2 )"
LICENSE="Sleepycat"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE="doc ldap odbc python"
S="${WORKDIR}"
RDEPEND="sys-libs/zlib
ldap? ( net-nds/openldap )
odbc? ( dev-db/unixODBC )
python? ( ${PYTHON_DEPS} )"
DEPEND="${RDEPEND}
app-arch/unzip"
PATCHES=(
"${FILESDIR}/${P}-build.patch"
"${FILESDIR}/${P}-zlib.patch"
)
src_unpack() {
# we need the -a option, so we can not use 'unpack'
unzip -qoa "${DISTDIR}/cl${MY_PV}.zip" || die
use doc && unpack "${DOC_PREFIX}-manual.pdf.bz2"
}
wrap_python() {
if use python; then
cd bindings || die
distutils-r1_${1}
fi
}
src_prepare() {
default
rm -fr zlib || die
# we want our own CFLAGS ;-)
sed -i -e "s:-m.*=pentium::g" -e "s:-fomit-frame-pointer::g" -e "s:-O2::g" \
-e "s:-O3::g" -e "s:-O4::g" makefile || die "sed makefile failed"
sed -i -e "s/-march=[[:alnum:]\.=-]*//g" -e "s/-mcpu=[[:alnum:]\.=-]*//g" \
-e "s:-O2::g" -e "s:-O3::g" tools/ccopts.sh || die "sed tools/ccopts.sh failed"
# change 'make' to '$(MAKE)'
sed -i -e "s:@\?make:\$(MAKE):g" makefile || die "sed makefile failed"
# NOTICE:
# Because of stack execution
# assembly parts are disabled.
sed -i -e 's:i\[3,4,5,6\]86:___:g' makefile || die "sed makefile failed"
# Fix version number of shared library.
sed -i -e 's/PLV="2"/PLV="3"/' tools/buildall.sh || die "sed tools/buildall.sh failed"
wrap_python ${FUNCNAME}
}
src_compile() {
local libname="libcl.so.${PV}"
# At least -O2 is needed.
replace-flags -O -O2
replace-flags -O0 -O2
replace-flags -O1 -O2
replace-flags -Os -O2
is-flagq -O* || append-flags -O2
append-flags "-fPIC"
append-cppflags "-D__UNIX__ -DOSVERSION=2 -DNDEBUG -I."
if [ -f /usr/include/pthread.h -a \
`grep -c PTHREAD_MUTEX_RECURSIVE /usr/include/pthread.h` -ge 0 ] ; then
append-cppflags "-DHAS_RECURSIVE_MUTEX"
fi
if [ -f /usr/include/pthread.h -a \
`grep -c PTHREAD_MUTEX_ROBUST /usr/include/pthread.h` -ge 0 ] ; then
append-cppflags "-DHAS_ROBUST_MUTEX"
fi
use ldap && append-cppflags -DHAS_LDAP
use odbc && append-cppflags -DHAS_ODBC
emake directories
emake toolscripts
emake CC="$(tc-getCC)" CFLAGS="${CPPFLAGS} ${CFLAGS} -c" STRIP=true Linux
emake TARGET=${libname} OBJPATH="./shared-obj/" CC="$(tc-getCC)" \
CFLAGS="${CPPFLAGS} ${CFLAGS} -c" STRIP=true Linux
if use python; then
# Without this python will link against the static lib
ln -s libcl.so.${PV} libcl.so || die
# Python bindings don't work with -O2 and higher.
replace-flags -O* -O1
wrap_python ${FUNCNAME}
fi
}
src_install() {
dolib.so "libcl.so.${PV}"
dosym "libcl.so.${PV}" "/usr/$(get_libdir)/libcl.so"
dolib.a "libcl.a"
doheader cryptlib.h
dodoc README
if use doc; then
newdoc "${DOC_PREFIX}-manual.pdf" "manual.pdf"
fi
wrap_python ${FUNCNAME}
}

@ -17,7 +17,7 @@ SRC_URI="ftp://ftp.franken.de/pub/crypt/cryptlib/cl${MY_PV}.zip
doc? ( mirror://gentoo/${DOC_PREFIX}-manual.pdf.bz2 )"
LICENSE="Sleepycat"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 x86"
SLOT="0"
IUSE="doc ldap odbc python static-libs test"

@ -1,19 +0,0 @@
--- tools/buildsharedlib.sh
+++ tools/buildsharedlib.sh
@@ -115,13 +115,13 @@
*)
if [ `$LD -v 2>&1 | grep -c gcc` -gt 0 -a \
`gcc -Wl,-Bsymbolic 2>&1 | grep -c unrecognized` = 0 ] ; then
- $LD -shared -Wl,-Bsymbolic -o $LIBNAME `cat $LINKFILE` `./tools/getlibs.sh autodetect` ;
+ $LD -shared $LDFLAGS -Wl,-soname,$LIBNAME -Wl,-Bsymbolic -o $LIBNAME `cat $LINKFILE` `./tools/getlibs.sh autodetect` ;
else
- $LD -shared -o $LIBNAME `cat $LINKFILE` `./tools/getlibs.sh autodetect` ;
+ $LD -shared $LDFLAGS -Wl,-soname,$LIBNAME -o $LIBNAME `cat $LINKFILE` `./tools/getlibs.sh autodetect` ;
fi
if [ `which objdump` -a `objdump -p $LIBNAME | grep -c TEXTREL` -gt '0' ] ; then
echo "Warning: Shared library still contains TEXTREL records." ;
fi
- strip $LIBNAME ;;
+ ;;
esac
rm -f $LINKFILE

@ -1,35 +0,0 @@
--- makefile 2011-01-18 14:23:05.000000000 -0500
+++ makefile.new 2011-01-18 14:25:47.000000000 -0500
@@ -259,7 +259,7 @@
OBJS = $(BNOBJS) $(CERTOBJS) $(CRYPTOBJS) $(CTXOBJS) $(DEVOBJS) \
$(ENCDECOBJS) $(ENVOBJS) $(HASHOBJS) $(IOOBJS) $(KEYSETOBJS) \
$(KRNLOBJS) $(LIBOBJS) $(MECHOBJS) $(MISCOBJS) $(SESSOBJS) \
- $(ZLIBOBJS) $(OSOBJS)
+ $(OSOBJS)
# Object files for the self-test code
@@ -1477,7 +1477,7 @@
$(SLIBNAME): $(OBJS) $(EXTRAOBJS) $(TESTOBJS)
@./tools/buildsharedlib.sh $(OSNAME) $(SLIBNAME) $(LD) $(OBJS) \
- $(EXTRAOBJS)
+ $(EXTRAOBJS) -lz
$(DYLIBNAME): $(OBJS) $(EXTRAOBJS) $(TESTOBJS)
@$(LD) -dynamiclib -compatibility_version $(MAJ).$(MIN) \
--- envelope/envelope.h 2010-12-14 23:16:40.000000000 -0500
+++ envelope.h.new 2011-01-18 14:28:06.000000000 -0500
@@ -17,11 +17,7 @@
#endif /* Compiler-specific includes */
#endif /* _STREAM_DEFINED */
#ifdef USE_COMPRESSION
- #if defined( INC_ALL )
- #include "zlib.h"
- #else
- #include "zlib/zlib.h"
- #endif /* Compiler-specific includes */
+ #include <zlib.h>
#endif /* USE_COMPRESSION */
/****************************************************************************

@ -1,50 +0,0 @@
--- bindings/setup.py 2010-12-13 04:51:58.000000000 -0500
+++ setup.py.new 2011-01-19 08:41:40.000000000 -0500
@@ -15,7 +15,7 @@
ext = Extension("cryptlib_py",
sources=["bindings/python.c"],
- library_dirs=['..'],
+ library_dirs=['.'],
- libraries=['cl'])
+ libraries=['cl','resolv'])
setup(name="cryptlib_py", ext_modules=[ext])
--- bindings/python.c 2010-11-30 18:35:52.000000000 -0500
+++ python.c.new 2011-01-19 09:05:43.000000000 -0500
@@ -358,6 +358,7 @@
return(processStatus(status));
}
+/*
static PyObject* python_cryptGenerateKeyAsync(PyObject* self, PyObject* args)
{
int status = 0;
@@ -396,6 +397,7 @@
return(processStatus(status));
}
+*/
static PyObject* python_cryptEncrypt(PyObject* self, PyObject* args)
{
@@ -1429,9 +1431,9 @@
{ "cryptDestroyContext", python_cryptDestroyContext, METH_VARARGS },
{ "cryptDestroyObject", python_cryptDestroyObject, METH_VARARGS },
{ "cryptGenerateKey", python_cryptGenerateKey, METH_VARARGS },
- { "cryptGenerateKeyAsync", python_cryptGenerateKeyAsync, METH_VARARGS },
- { "cryptAsyncQuery", python_cryptAsyncQuery, METH_VARARGS },
- { "cryptAsyncCancel", python_cryptAsyncCancel, METH_VARARGS },
+// { "cryptGenerateKeyAsync", python_cryptGenerateKeyAsync, METH_VARARGS },
+// { "cryptAsyncQuery", python_cryptAsyncQuery, METH_VARARGS },
+// { "cryptAsyncCancel", python_cryptAsyncCancel, METH_VARARGS },
{ "cryptEncrypt", python_cryptEncrypt, METH_VARARGS },
{ "cryptDecrypt", python_cryptDecrypt, METH_VARARGS },
{ "cryptSetAttribute", python_cryptSetAttribute, METH_VARARGS },
@@ -4892,4 +4894,4 @@
v = Py_BuildValue("i", -50);
PyDict_SetItemString(moduleDict, "CRYPT_ENVELOPE_RESOURCE", v);
Py_DECREF(v); /* Need resource to proceed */
-}
\ No newline at end of file
+}

@ -1,54 +0,0 @@
From 58d3e56f59e0e8d48d913c217929b35e9366e829 Mon Sep 17 00:00:00 2001
From: Alon Bar-Lev <alon.barlev@gmail.com>
Date: Sat, 11 Jun 2016 15:07:12 +0300
Subject: [PATCH] build: so: support LDFLAGS and SONAME
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
---
tools/buildsharedlib.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/buildsharedlib.sh b/tools/buildsharedlib.sh
index f1277a7..59c4713 100644
--- a/tools/buildsharedlib.sh
+++ b/tools/buildsharedlib.sh
@@ -131,9 +131,9 @@ case $OSNAME in
*)
if [ `$LD -v 2>&1 | grep -c gcc` -gt 0 -a \
`gcc -Wl,-Bsymbolic 2>&1 | grep -c unrecognized` = 0 ] ; then
- $LD -shared -Wl,-Bsymbolic -o $LIBNAME `cat $LINKFILE` `./tools/getlibs.sh autodetect` ;
+ $LD -shared $LDFLAGS -Wl,-soname,$LIBNAME -Wl,-Bsymbolic -o $LIBNAME `cat $LINKFILE` `./tools/getlibs.sh autodetect` ;
else
- $LD -shared -o $LIBNAME `cat $LINKFILE` `./tools/getlibs.sh autodetect` ;
+ $LD -shared -shared $LDFLAGS -Wl,-soname,$LIBNAME -o $LIBNAME `cat $LINKFILE` `./tools/getlibs.sh autodetect` ;
fi
if [ `which objdump` -a `objdump -p $LIBNAME | grep -c TEXTREL` -gt '0' ] ; then
echo "Warning: Shared library still contains TEXTREL records." ;
--
2.7.3
From b11541f4beaf8395dd90de53b57933661e120b0a Mon Sep 17 00:00:00 2001
From: Dennis Schridde <devurandom@gmx.net>
Date: Sat, 11 Jun 2016 15:34:57 +0300
Subject: [PATCH] build: ignore DL_EXPORT on non windows
Signed-off-by: Dennis Schridde <devurandom@gmx.net>
---
cryptlib.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/cryptlib.h b/cryptlib.h
index 61cf338..4738852 100644
--- a/cryptlib.h
+++ b/cryptlib.h
@@ -122,6 +122,7 @@
#define C_CHR char
#define C_STR C_CHR *
#define C_RET int
+ #define DL_EXPORT(type) type
#endif /* Windows vs.everything else function types */
/* Symbolic defines to make it clearer how the function parameters behave */
--
2.7.3

@ -1,55 +0,0 @@
From 70b00d882e9ff1e17bb82b3e722def0b71f2374a Mon Sep 17 00:00:00 2001
From: Alon Bar-Lev <alon.barlev@gmail.com>
Date: Sat, 11 Jun 2016 15:15:25 +0300
Subject: [PATCH 2/2] build: use system zlib
this should be a toggle of build system not hard coded.
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
---
envelope/envelope.h | 6 +-----
makefile | 4 ++--
2 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/envelope/envelope.h b/envelope/envelope.h
index 028f4b2..4ef6b20 100644
--- a/envelope/envelope.h
+++ b/envelope/envelope.h
@@ -17,11 +17,7 @@
#endif /* Compiler-specific includes */
#endif /* _STREAM_DEFINED */
#ifdef USE_COMPRESSION
- #if defined( INC_ALL )
- #include "zlib.h"
- #else
- #include "zlib/zlib.h"
- #endif /* Compiler-specific includes */
+ #include <zlib.h>
#endif /* USE_COMPRESSION */
/****************************************************************************
diff --git a/makefile b/makefile
index c762d02..24c180a 100644
--- a/makefile
+++ b/makefile
@@ -283,7 +283,7 @@ ZLIBOBJS = $(OBJPATH)adler32.o $(OBJPATH)deflate.o $(OBJPATH)inffast.o \
OBJS = $(BNOBJS) $(CERTOBJS) $(CRYPTOBJS) $(CTXOBJS) $(DEVOBJS) \
$(ENCDECOBJS) $(ENVOBJS) $(HASHOBJS) $(IOOBJS) $(KEYSETOBJS) \
$(KRNLOBJS) $(LIBOBJS) $(MECHOBJS) $(MISCOBJS) $(SESSOBJS) \
- $(ZLIBOBJS) $(OSOBJS)
+ $(OSOBJS)
# Object files for the self-test code
@@ -1483,7 +1483,7 @@ $(LIBNAME): $(OBJS) $(EXTRAOBJS) $(TESTOBJS)
$(SLIBNAME): $(OBJS) $(EXTRAOBJS) $(TESTOBJS)
@./tools/buildsharedlib.sh $(OSNAME) $(SLIBNAME) $(LD) \
- $(STRIP) $(OBJS) $(EXTRAOBJS)
+ $(STRIP) $(OBJS) $(EXTRAOBJS) -lz
$(DYLIBNAME): $(OBJS) $(EXTRAOBJS) $(TESTOBJS)
@$(LD) -dynamiclib -compatibility_version $(MAJ).$(MIN) \
--
2.7.3

@ -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
@ -11,7 +11,7 @@ SRC_URI="https://www.cryptopp.com/cryptopp${PV//.}.zip"
LICENSE="Boost-1.0"
SLOT="0/5.6" # subslot is so version
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x64-macos"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc ~ppc64 sparc x86 ~x64-macos"
IUSE="static-libs"
DEPEND="app-arch/unzip"

@ -0,0 +1,279 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
MY_P=${P/_/-}
if [[ "${PV}" == "9999" ]] ; then
EGIT_SUB_PROJECT="core"
EGIT_URI_APPEND="${PN}"
elif [[ *"${PV}" == *"_pre"* ]] ; then
MY_P=${P%%_*}
SRC_URI="https://download.enlightenment.org/pre-releases/${MY_P}.tar.xz"
EKEY_STATE="snap"
else
SRC_URI="https://download.enlightenment.org/rel/libs/${PN}/${MY_P}.tar.xz"
EKEY_STATE="release"
fi
inherit enlightenment pax-utils
DESCRIPTION="Enlightenment Foundation Libraries all-in-one package"
LICENSE="BSD-2 GPL-2 LGPL-2.1 ZLIB"
IUSE="+bmp debug drm +eet egl fbcon +fontconfig fribidi gif gles glib gnutls gstreamer harfbuzz +ico ibus jpeg2k libressl neon oldlua opengl ssl physics pixman +png +ppm +psd pulseaudio scim sdl sound systemd tga tiff tslib v4l valgrind wayland webp X xim xine xpm"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
REQUIRED_USE="
pulseaudio? ( sound )
opengl? ( || ( X sdl wayland ) )
gles? ( || ( X wayland ) )
gles? ( !sdl )
gles? ( egl )
sdl? ( opengl )
wayland? ( egl !opengl gles )
xim? ( X )
"
RDEPEND="
drm? (
>=dev-libs/libinput-0.8
media-libs/mesa[gbm]
>=x11-libs/libdrm-2.4
>=x11-libs/libxkbcommon-0.3.0
)
fontconfig? ( media-libs/fontconfig )
fribidi? ( dev-libs/fribidi )
gif? ( media-libs/giflib )
glib? ( dev-libs/glib:2 )
gnutls? ( net-libs/gnutls )
!gnutls? (
ssl? (
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl )
)
)
gstreamer? (
media-libs/gstreamer:1.0
media-libs/gst-plugins-base:1.0
)
harfbuzz? ( media-libs/harfbuzz )
ibus? ( app-i18n/ibus )
jpeg2k? ( media-libs/openjpeg:0 )
!oldlua? ( >=dev-lang/luajit-2.0.0 )
oldlua? ( dev-lang/lua:* )
physics? ( >=sci-physics/bullet-2.80 )
pixman? ( x11-libs/pixman )
png? ( media-libs/libpng:0= )
pulseaudio? ( media-sound/pulseaudio )
scim? ( app-i18n/scim )
sdl? (
media-libs/libsdl2
virtual/opengl
)
sound? ( media-libs/libsndfile )
systemd? ( sys-apps/systemd )
tiff? ( media-libs/tiff:0= )
tslib? ( x11-libs/tslib )
valgrind? ( dev-util/valgrind )
wayland? (
>=dev-libs/wayland-1.8.0
>=x11-libs/libxkbcommon-0.3.1
media-libs/mesa[gles2,wayland]
)
webp? ( media-libs/libwebp )
X? (
x11-libs/libXcursor
x11-libs/libX11
x11-libs/libXcomposite
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXinerama
x11-libs/libXp
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/libXtst
x11-libs/libXScrnSaver
opengl? (
x11-libs/libX11
x11-libs/libXrender
virtual/opengl
)
gles? (
x11-libs/libX11
x11-libs/libXrender
virtual/opengl
)
)
xine? ( >=media-libs/xine-lib-1.1.1 )
xpm? ( x11-libs/libXpm )
sys-apps/dbus
>=sys-apps/util-linux-2.20.0
sys-libs/zlib
virtual/jpeg:0=
!dev-libs/ecore
!dev-libs/edbus
!dev-libs/eet
!dev-libs/eeze
!dev-libs/efreet
!dev-libs/eina
!dev-libs/eio
!dev-libs/embryo
!dev-libs/eobj
!dev-libs/ephysics
!media-libs/edje
!media-libs/emotion
!media-libs/ethumb
!media-libs/evas
"
#external lz4 support currently broken because of unstable ABI/API
# app-arch/lz4
#soft blockers added above for binpkg users
#hard blocks are needed for building
CORE_EFL_CONFLICTS="
!!dev-libs/ecore
!!dev-libs/edbus
!!dev-libs/eet
!!dev-libs/eeze
!!dev-libs/efreet
!!dev-libs/eina
!!dev-libs/eio
!!dev-libs/embryo
!!dev-libs/eobj
!!dev-libs/ephysics
!!media-libs/edje
!!media-libs/emotion
!!media-libs/ethumb
!!media-libs/evas
"
DEPEND="
${CORE_EFL_CONFLICTS}
${RDEPEND}
doc? ( app-doc/doxygen )
"
S=${WORKDIR}/${MY_P}
src_prepare() {
enlightenment_src_prepare
epatch "${FILESDIR}/${P}-gnutls-3.4.patch"
# Remove stupid sleep command.
# Also back out gnu make hack that causes regen of Makefiles.
# Delete var setting that causes the build to abort.
sed -i \
-e '/sleep 10/d' \
-e '/^#### Work around bug in automake check macro$/,/^#### Info$/d' \
-e '/BARF_OK=/s:=.*:=:' \
configure || die
}
src_configure() {
if use ssl && use gnutls ; then
einfo "You enabled both USE=ssl and USE=gnutls, but only one can be used;"
einfo "gnutls has been selected for you."
fi
if use opengl && use gles ; then
einfo "You enabled both USE=opengl and USE=gles, but only one can be used;"
einfo "opengl has been selected for you."
fi
E_ECONF=(
--with-profile=$(usex debug debug release)
--with-crypto=$(usex gnutls gnutls $(usex ssl openssl none))
--with-x11=$(usex X xlib none)
$(use_with X x)
--with-opengl=$(usex opengl full $(usex gles es none))
--with-glib=$(usex glib)
--enable-i-really-know-what-i-am-doing-and-that-this-will-probably-break-things-and-i-will-fix-them-myself-and-send-patches-abb
$(use_enable bmp image-loader-bmp)
$(use_enable bmp image-loader-wbmp)
$(use_enable drm)
$(use_enable doc)
$(use_enable eet image-loader-eet)
$(use_enable egl)
$(use_enable fbcon fb)
$(use_enable fontconfig)
$(use_enable fribidi)
$(use_enable gif image-loader-gif)
$(use_enable gstreamer gstreamer1)
$(use_enable harfbuzz)
$(use_enable ico image-loader-ico)
$(use_enable ibus)
$(use_enable jpeg2k image-loader-jp2k)
$(use_enable neon)
$(use_enable nls)
$(use_enable oldlua lua-old)
$(use_enable physics)
$(use_enable pixman)
$(use_enable pixman pixman-font)
$(use_enable pixman pixman-rect)
$(use_enable pixman pixman-line)
$(use_enable pixman pixman-poly)
$(use_enable pixman pixman-image)
$(use_enable pixman pixman-image-scale-sample)
$(use_enable png image-loader-png)
$(use_enable ppm image-loader-pmaps)
$(use_enable psd image-loader-psd)
$(use_enable pulseaudio)
$(use_enable scim)
$(use_enable sdl)
$(use_enable sound audio)
$(use_enable systemd)
$(use_enable tga image-loader-tga)
$(use_enable tiff image-loader-tiff)
$(use_enable tslib)
$(use_enable v4l v4l2)
$(use_enable valgrind)
$(use_enable wayland)
$(use_enable webp image-loader-webp)
$(use_enable xim)
$(use_enable xine)
$(use_enable xpm image-loader-xpm)
--enable-cserve
--enable-image-loader-generic
--enable-image-loader-jpeg
--disable-tizen
--disable-gesture
--disable-gstreamer
--enable-xinput2
--disable-xinput22
--disable-multisense
--enable-libmount
# external lz4 support currently broken because of unstable ABI/API
#--enable-liblz4
)
enlightenment_src_configure
}
src_compile() {
if host-is-pax && ! use oldlua ; then
# We need to build the lua code first so we can pax-mark it. #547076
local target='_e_built_sources_target_gogogo_'
printf '%s: $(BUILT_SOURCES)\n' "${target}" >> src/Makefile || die
emake -C src "${target}"
emake -C src bin/elua/elua
pax-mark m src/bin/elua/.libs/elua
fi
enlightenment_src_compile
}
src_install() {
MAKEOPTS+=" -j1"
enlightenment_src_install
}

@ -0,0 +1,39 @@
From 6f42992b4f1110f44d2db57cd6fe42559cfffdc2 Mon Sep 17 00:00:00 2001
From: Cedric BAIL <cedric@osg.samsung.com>
Date: Wed, 21 Sep 2016 10:33:44 -0700
Subject: [PATCH] eet: fix gnutls support with newer version.
---
src/lib/eet/eet_cipher.c | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/src/lib/eet/eet_cipher.c b/src/lib/eet/eet_cipher.c
index a34fdff..cf9ef71 100644
--- a/src/lib/eet/eet_cipher.c
+++ b/src/lib/eet/eet_cipher.c
@@ -679,7 +679,6 @@ eet_identity_check(const void *data_base,
gnutls_datum_t datum;
gnutls_datum_t signature;
gnutls_pubkey_t pubkey;
- gnutls_digest_algorithm_t hash_algo;
unsigned char *hash;
gcry_md_hd_t md;
int err;
@@ -717,10 +716,10 @@ eet_identity_check(const void *data_base,
if (gnutls_pubkey_import_x509(pubkey, cert, 0) < 0)
goto on_error;
- if (gnutls_pubkey_get_verify_algorithm(pubkey, &signature, &hash_algo) < 0)
- goto on_error;
-
- if (gnutls_pubkey_verify_hash(pubkey, 0, &datum, &signature) < 0)
+ if (gnutls_pubkey_verify_hash2(pubkey,
+ gnutls_x509_crt_get_signature_algorithm(cert),
+ 0,
+ &datum, &signature) < 0)
goto on_error;
if (sha1)
--
2.10.2

@ -0,0 +1 @@
DIST flatbuffers-1.6.0.tar.gz 440968 SHA256 768c50ebf5823f8cde81a9e38ffff115c8f5a5d031a37520d0024e7b9c6cd22e SHA512 d1e4d47cac663010eda58ca801e6da5e9d54104115dbb70b125b9251041611229e39c17a4b63f06eee2424f3cdd733b8efa49c723759ad533a07d33ef8406bcc WHIRLPOOL 1572de7bf181d00bbdf68d27b6ce369693f7eeb4a27aa56adfd9eb46554c520d0a66350eb2db071c5b4a8fb00b2bf67cb06732a2c7d1e716d2347ea72a4882a0

@ -0,0 +1,33 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils flag-o-matic
DESCRIPTION="Memory efficient serialization library"
HOMEPAGE="https://google.github.io/flatbuffers/"
SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="static-libs test"
src_prepare() {
sed -i -e "s/DESTINATION lib/DESTINATION $(get_libdir)/" CMakeLists.txt || die
cmake-utils_src_prepare
}
src_configure() {
append-cppflags -std=c++11
local mycmakeargs=(
-DFLATBUFFERS_BUILD_FLATLIB=$(usex static-libs)
-DFLATBUFFERS_BUILD_SHAREDLIB=ON
-DFLATBUFFERS_BUILD_TESTS=$(usex test)
)
cmake-utils_src_configure
}

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>kde@gentoo.org</email>
<name>Gentoo KDE Project</name>
</maintainer>
</pkgmetadata>

@ -13,7 +13,7 @@ SRC_URI="
# GPL-2 for md5.c - part of libGeoIPUpdate, MaxMind for GeoLite Country db
LICENSE="LGPL-2.1 GPL-2 MaxMind2"
SLOT="0"
KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
IUSE="static-libs"
RESTRICT="test"

@ -0,0 +1 @@
DIST kasync-0.1.0.tar.xz 17808 SHA256 f69fe2ca9b4f533dda268d27f072abf0947cc451662fcf5c2f67cbebdeb03020 SHA512 ff5e918ab47cbc39cba1e47e7890e6a749970efe34c825d2c53477a3f6f433e01aed477da2c33a83242169e457b4183a7cd42171c4679efdc3746dedcbde2db4 WHIRLPOOL bd75b61c90cfb634a8d2dcf2a1492ccffedd369d6784d6a46e449e3e7414be14b353f0aa78169426915a0bdc7f768264f71a088ff9e5aaa196093a15e561e6a6

@ -0,0 +1,14 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
KDE_TEST="forceoptional"
inherit kde5
DESCRIPTION="C++ library for controlling asynchronous tasks"
SRC_URI="mirror://kde/unstable/${PN}/${PV}/src/${P}.tar.xz"
LICENSE="LGPL-2+"
KEYWORDS="~amd64"
IUSE=""

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>kde@gentoo.org</email>
<name>Gentoo KDE Project</name>
</maintainer>
</pkgmetadata>

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

Loading…
Cancel
Save