parent
3424b4aa08
commit
260c4f1483
@ -1,3 +1,3 @@
|
||||
DIST obnam-1.14.tar.gz 361431 SHA256 67aca6e3a49f5ef14fe81010136ee90b81048d8bd9a1681ea20e699da227bee9 SHA512 652db41865d724e53abb8e31644c9cd8e583162e7b94c8e569a8efaf40962b7066564f7439066c329ee23f4f453ead46d14348f7dfa5a70e749d169e34aed69a WHIRLPOOL f5f5657be9ff1d80154f9ce63c15a69811474d1a0bd386be837c5432178938eb8939f3de8fae26c47db97d8f07482e86a8b6795d5321a2dc3cf767728513343b
|
||||
DIST obnam-1.16.tar.gz 362372 SHA256 4c3e525aeef87f4beba55bd8ab7459e33bc2c14c4fa7fc35b74beafc8beb25d0 SHA512 e495991c7277f6cb121900441a191bab9c58da7cd796afe47b24c62e081b281337a414ec43bac0c117c837e4195d4d8d911aa037280679aaba2b43ae109db085 WHIRLPOOL 942b8ad8e7f1852283eefee5bb371e71a160e65b0430428800dc8253650b7128fe0715786743fe30beaa2a1db84197326c377d30914700f022b177805d254f12
|
||||
DIST obnam-1.17.tar.gz 362512 SHA256 d340bdf6a5ebbc7c0a039501832c78257c57caa701bd29f5ef6fb841f16cbcf9 SHA512 63926ee62c5dae90cd653cee69a793f43098ed91a3fdb4cff7af1ed98994f54807c3d2c6b1bc3995bbda9a3ce9b319fa2a8e0e9c841b597a92c677bb01f549f1 WHIRLPOOL 442eae740c29064a188566cfe48a4091de29f22f41a6fabf0917c186dc683f9c19233bc3dc30c7f7339e8e7efc77feca0cc1d928e81f32b0a88920ba4dbfde43
|
||||
DIST obnam-1.9.tar.gz 340103 SHA256 7e0182efb16597d63916d052ac36546e7c597ee75ba40ae23b2dc9afbb959f82 SHA512 f170a4223b84d2b26617c412524e9ec6efcf3b7bb7bb1a4bfc7333c138e9b9066658c54da9aa8c41b4ea3c3335da3bcd1c26b911b2cce7eb98eabf52d72af67f WHIRLPOOL 73b72c8fe7bbf2958714ef05dba518839471aea91aa02d60f8015481c30440de985f2db0a610bcf08d29eaa86e074cf7b39e975c3847cb1e78c0adf27d793b31
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST pinentry-0.9.0.tar.bz2 464272 SHA256 90045a07ab8e1a8e1ecf5d19b51691f195525e579fa5d71d7e92c120b05490ab SHA512 2cc53a5c3852edaf6e940228d9b43fe4709344eba5fe230b7afd22b2c0239d0b258917d75661d80590b2d61c6fe9dac8ad15a0b4a0a0e7fba90a9e1c07364edd WHIRLPOOL 3f77a8aa2d44c7206d877e31088ec927473441e61f06e788330545d75ac489e6e9d5bf0026b23d0824304dad54ce8e61c4571d186df7ad0edc2d644ca3af04ac
|
||||
DIST pinentry-0.9.5.tar.bz2 514677 SHA256 6a57fd3afc0d8aaa5599ffcb3ea4e7c42c113a181e8870122203ea018384688c SHA512 31a190cacf45fd3ff5128a6a1a9f317fb09850fd595d5985392ea306ed65fa9232e2203458a9989eaac3b6e9d07199e01557912051f00a9a395cd1db61b44c39 WHIRLPOOL 52e9664d7cf0e804bb14b9586a89aca4037d3324261ac8931ed26365c32ae038b45eca9b7b6637b46f9231ff2db6a9e0a96a611404e48659c7ba009b84c40727
|
||||
DIST pinentry-0.9.6.tar.bz2 432889 SHA256 2a1124e9097f24f866cab7982610677e222cea71be0a71a5566f223177e01e66 SHA512 c9f94e5ce5baf6779f6effc13f82c8c7f99d426dc232114fc4e11a8684eaefbaf4f60363db78cdb9f4c8e91ba7af40779ec1c5d7e01ee15b84c7de77ccf46e72 WHIRLPOOL 954d185ce60eeb28717dd5986c4bdfda0472944b99d52caa213919b4dd1368b2d2b4cff27bfc4158a0fd7f70f7f6549b3415de7ba33239ec9305a2e0e0bdcbc0
|
||||
|
@ -0,0 +1,88 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools qmake-utils multilib eutils flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol"
|
||||
HOMEPAGE="http://gnupg.org/aegypten2/index.html"
|
||||
SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
|
||||
|
||||
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 ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="clipboard emacs gtk ncurses qt4 caps gnome-keyring static"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/libgpg-error-1.17
|
||||
>=dev-libs/libassuan-2
|
||||
app-eselect/eselect-pinentry
|
||||
caps? ( sys-libs/libcap )
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
ncurses? ( sys-libs/ncurses:0= )
|
||||
qt4? ( >=dev-qt/qtgui-4.4.1:4 )
|
||||
static? ( >=sys-libs/ncurses-5.7-r5:0=[static-libs,-gpm] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
gnome-keyring? ( app-crypt/libsecret )
|
||||
"
|
||||
REQUIRED_USE="
|
||||
|| ( ncurses gtk qt4 )
|
||||
gtk? ( !static )
|
||||
qt4? ( !static )
|
||||
static? ( ncurses )
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-0.8.2-ncurses.patch"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use static && append-ldflags -static
|
||||
[[ "$(gcc-major-version)" -ge 5 ]] && append-cxxflags -std=gnu++11
|
||||
|
||||
# Issues finding qt on multilib systems
|
||||
export QTLIB="${QTDIR}/$(get_libdir)"
|
||||
|
||||
econf \
|
||||
--enable-pinentry-tty \
|
||||
$(use_enable emacs pinentry-emacs) \
|
||||
$(use_enable gtk pinentry-gtk2) \
|
||||
$(use_enable ncurses pinentry-curses) \
|
||||
$(use_enable ncurses fallback-curses) \
|
||||
$(use_enable qt4 pinentry-qt4) \
|
||||
$(use qt4 && use_enable clipboard pinentry-qt4-clipboard) \
|
||||
$(use_with caps libcap) \
|
||||
$(use_enable gnome-keyring libsecret) \
|
||||
$(use_enable gnome-keyring pinentry-gnome3) \
|
||||
MOC="$(qt4_get_bindir)"/moc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
rm -f "${ED}"/usr/bin/pinentry || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! has_version 'app-crypt/pinentry' || has_version '<app-crypt/pinentry-0.7.3'; then
|
||||
elog "We no longer install pinentry-curses and pinentry-qt SUID root by default."
|
||||
elog "Linux kernels >=2.6.9 support memory locking for unprivileged processes."
|
||||
elog "The soft resource limit for memory locking specifies the limit an"
|
||||
elog "unprivileged process may lock into memory. You can also use POSIX"
|
||||
elog "capabilities to allow pinentry to lock memory. To do so activate the caps"
|
||||
elog "USE flag and add the CAP_IPC_LOCK capability to the permitted set of"
|
||||
elog "your users."
|
||||
fi
|
||||
eselect pinentry update ifunset
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect pinentry update ifunset
|
||||
}
|
@ -1,6 +1,8 @@
|
||||
DIST mariadb-10.0.19.tar.gz 56224123 SHA256 2fbf5e5d7d8094691601ece8ae60b941478d73c98a58a960aeebfa021091a132 SHA512 bfb2a3e9225b3dd7481c0240143346f38be80c426887e05ec2b8eeab251991e2a5f74788f421322342a0fa8f85294cf4c7f5d4fd10d7bc6b9da720f6168003f3 WHIRLPOOL d08c53228c40df18793316dd0eddb160ce5b67a853f16c4ddcdcedb049833b35b9ae9d0763e1fcc1e447e3528ae9a7ab2e6587dd2e2c0a225224f28a951dc3dd
|
||||
DIST mariadb-10.0.21.tar.gz 56216903 SHA256 4b9a32e15ceadefdb1057a02eb3e0addf702b75aef631a3c9194b832ecfa3545 SHA512 75aa4b019f3432a61483bb325a0f088ea92d6fede44d7a300c15659411c8927fa2a0586182226315b6d6796641ca1d8746f7fd49e21fe21505adec1fc38ae32f WHIRLPOOL b086fb34363b2426f5e91c14916b747787feadf37c609f4aea1f08bd235e9e97df17f5bfa0eb9e65e93fbed3df5eb6c021287c4eb987a3362ea87cf96eaf268e
|
||||
DIST mariadb-10.1.7.tar.gz 53812743 SHA256 5bd3b80cf0f312751271a3446c12579c7081f93406e59a0cdfda8e133423c88f SHA512 4a496ba22ccc839d412dd4858cb66464b499693c4ff89ea773a967bccc7d53a52622f3d494d6f889c5325b079d83ba17b25abae2bc9fc22b76c601fc51542f5a WHIRLPOOL 2366c46a7c6d83dd9fe7cac9affcb00387a574912ad9350c11279d31fd384e5fcc18a5d297765086b2f9208e5b899a7707cfb199d047309b89725d0e9582cd9d
|
||||
DIST mariadb-5.5.45.tar.gz 45686618 SHA256 4dc3aff6941ef1068412002915d795bcf67db0eaa38a5c6f3af57474c4226fb0 SHA512 57501670605cfcdd231ef57d2db7ac9bf460856e63c0660d050ad11aa0392d3d6ce6730ae119dca5d00847c9170990f375c8499593bf0d02c1995395191236ba WHIRLPOOL e5ef471c097c2b8921596b88f26df6914e031daafdcd878d79a16c20be6ba8c97fb79069e48d7d1b9aa405ced063f66feac1c52503907e06ee4b577def2c57fa
|
||||
DIST mysql-extras-20141215-0144Z.tar.bz2 1494767 SHA256 4757043858110654d52b0e6dccab064987ab5db8ae4ae99863cf86df0b90f947 SHA512 7a9b733d09f44b1faff19a496a3e820e444b339838665e6f37c4fddc8f2ad67e805082d598c4edc06fda9364f9906e4cf95520552f72d6b6df34413f38e7a2ed WHIRLPOOL 99ea6890a5faf097b941707538b68f62390e1a49ee662a87c27435a317a9a3f37f00802e72f86b52993b3d1674b57645db0f7e73379ab88fbc1d0ef791cf4326
|
||||
DIST mysql-extras-20150509-1847Z.tar.bz2 1494301 SHA256 de9c9fbb67998604cb3c0409842e4601646c8ad17f2aa301f55ffd4aed7a483d SHA512 f87d96ab8c35236d4453182c49f87f6e703af9dc217916546e4dd7368caa18a2340c9063decd96c22251d1097d7e2cac58bef30e6ff75c23aedf8926dbc3d3b4 WHIRLPOOL f60297c8ee1dfd9867ed6b29a8b04a002f23bc36b1e8d9b5db30e1e454a49fe06ffc37b10d934b11235364eecdc62beb50ce24690ab3d07a50056357906fa0fa
|
||||
DIST mysql-extras-20150717-1707Z.tar.bz2 1491956 SHA256 d67cc1e2c581ab7c57122b7d29864643869799893a95a158a18e14201d4ffc10 SHA512 3a7cb07773099e766f8e796d4e555d42874b85285cc2c7c60220370cc6aafc36a60eb340008637298d85d83f529e73392895a81c1438ffccff9eb8f354b29ba9 WHIRLPOOL 11e75f4b696e2547c1da40e69d8ab75df4bf7080426204c040632f24846407b07d71061c09c4ff4a1d21a9d14a94769d8f8ef62421d0aecd99efe832caf4dd22
|
||||
DIST mysql-extras-20150914-1946Z.tar.bz2 1491203 SHA256 4bc3842c74ae48297e8eaef71f76461dad2ed5f804c1811ab289643088f1d48e SHA512 75d57703d43a25b74a8c72a08eb9f582b470d3108532dd3fecbdc4a928e1e7ce99f8c02fb667b069a6f036a5e528e67a86e8508a4916b0b20bc3193d5a9f1212 WHIRLPOOL 588366aeaa50da09134d9c0eefe8922b8cde5514373d1e25f2c311ed7a023f792cb1dc69e4cd61e9732d051f26c2ce5bf90991502f6135e7578b36f64f23590d
|
||||
|
@ -0,0 +1,127 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
MY_EXTRAS_VER="20150914-1946Z"
|
||||
WSREP_REVISION="25"
|
||||
SUBSLOT="18"
|
||||
HAS_TOOLS_PATCH="yes"
|
||||
|
||||
inherit toolchain-funcs mysql-multilib
|
||||
# only to make repoman happy. it is really set in the eclass
|
||||
IUSE="$IUSE mroonga"
|
||||
|
||||
# REMEMBER: also update eclass/mysql*.eclass before committing!
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
|
||||
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
|
||||
#EPATCH_EXCLUDE='20014_all_mariadb-innodb-compression.patch'
|
||||
|
||||
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
|
||||
mroonga? ( app-text/groonga-normalizer-mysql )"
|
||||
RDEPEND="${RDEPEND}"
|
||||
|
||||
# Official test instructions:
|
||||
# USE='client-libs community embedded extraengine perl server ssl static-libs tools' \
|
||||
# FEATURES='test userpriv -usersandbox' \
|
||||
# ebuild mariadb-X.X.XX.ebuild \
|
||||
# digest clean package
|
||||
multilib_src_test() {
|
||||
|
||||
if ! multilib_is_native_abi ; then
|
||||
einfo "Server tests not available on non-native abi".
|
||||
return 0;
|
||||
fi
|
||||
|
||||
local TESTDIR="${BUILD_DIR}/mysql-test"
|
||||
local retstatus_unit
|
||||
local retstatus_tests
|
||||
|
||||
if use server ; then
|
||||
|
||||
# Bug #213475 - MySQL _will_ object strenously if your machine is named
|
||||
# localhost. Also causes weird failures.
|
||||
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
|
||||
|
||||
if [[ $UID -eq 0 ]]; then
|
||||
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
|
||||
fi
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
addpredict /this-dir-does-not-exist/t9.MYI
|
||||
|
||||
# Run CTest (test-units)
|
||||
cmake-utils_src_test
|
||||
retstatus_unit=$?
|
||||
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
|
||||
|
||||
# Create a symlink to provided binaries so the tests can find them when client-libs is off
|
||||
if ! use client-libs ; then
|
||||
ln -srf /usr/bin/my_print_defaults "${BUILD_DIR}/client/my_print_defaults" || die
|
||||
ln -srf /usr/bin/perror "${BUILD_DIR}/client/perror" || die
|
||||
mysql-multilib_disable_test main.perror "String mismatch due to not building local perror"
|
||||
fi
|
||||
|
||||
# Ensure that parallel runs don't die
|
||||
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
|
||||
# Enable parallel testing, auto will try to detect number of cores
|
||||
# You may set this by hand.
|
||||
# The default maximum is 8 unless MTR_MAX_PARALLEL is increased
|
||||
export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
|
||||
|
||||
# create directories because mysqladmin might run out of order
|
||||
mkdir -p "${T}"/var-tests{,/log}
|
||||
|
||||
# These are failing in MariaDB 10.0 for now and are believed to be
|
||||
# false positives:
|
||||
#
|
||||
# main.information_schema, binlog.binlog_statement_insert_delayed,
|
||||
# main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql,
|
||||
# funcs_1.is_columns_mysql main.bootstrap
|
||||
# fails due to USE=-latin1 / utf8 default
|
||||
#
|
||||
# main.mysql_client_test, main.mysql_client_test_nonblock
|
||||
# main.mysql_client_test_comp:
|
||||
# segfaults at random under Portage only, suspect resource limits.
|
||||
#
|
||||
# plugins.cracklib_password_check
|
||||
# Can randomly fail due to cracklib return message
|
||||
|
||||
for t in main.mysql_client_test main.mysql_client_test_nonblock \
|
||||
main.mysql_client_test_comp main.bootstrap \
|
||||
binlog.binlog_statement_insert_delayed main.information_schema \
|
||||
main.mysqld--help plugins.cracklib_password_check \
|
||||
funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do
|
||||
mysql-multilib_disable_test "$t" "False positives in Gentoo"
|
||||
done
|
||||
|
||||
# Run mysql tests
|
||||
pushd "${TESTDIR}"
|
||||
|
||||
# run mysql-test tests
|
||||
perl mysql-test-run.pl --force --vardir="${T}/var-tests" --reorder
|
||||
|
||||
retstatus_tests=$?
|
||||
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
popd
|
||||
|
||||
# Cleanup is important for these testcases.
|
||||
pkill -9 -f "${S}/ndb" 2>/dev/null
|
||||
pkill -9 -f "${S}/sql" 2>/dev/null
|
||||
|
||||
failures=""
|
||||
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
|
||||
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
[[ -z "$failures" ]] || die "Test failures: $failures"
|
||||
einfo "Tests successfully completed"
|
||||
|
||||
else
|
||||
einfo "Skipping server tests due to minimal build."
|
||||
fi
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
DIST Botan-1.10.10.tgz 2706592 SHA256 6b67b14746410461fe4a8ce6a625e7eef789243454fe30eab7329d5984be4163 SHA512 8f1aab5dde0191e8347ae98e265ffe799699f9ab6377a81acdb13ddabb8e025ab129b55dbc484796ddcd21c9997dde6e39ec080ad815472cb1e2857007744c9b WHIRLPOOL 3fe729adef417e5cf6af0748985324315d18ec1681ace8c00734c68043682888e29faed1bbd40e68f8f7a923f638f343368c97a89262e649d03360b361a79411
|
||||
DIST Botan-1.10.5.tbz 2214817 SHA256 2934c00533847dc93c485081d3ce6aae4a110151a69b587b895241159da77cf3 SHA512 7456eaf2bbdabac9438cdd28dbc0735924480034d848c40039b5b58d52924b4cb065316989d6902201bc62fb5c19cba109b550b6865ca4d11748e3a3a1ececa6 WHIRLPOOL 7fd3de981d55a03925e78a4afcee55c0f3cf7e2dc88bd503f9c5705e5cc73293cf3bdcf3c3fdf54b6d1b77ba7dc32cf6fa46720635b922e368aaf12a39339fcd
|
||||
DIST Botan-1.11.20.tgz 2916027 SHA256 60a02717983535215822bbb1d6ae3c97cf517874d4e48808c6fbfd5c3b112d9c SHA512 0d8f0b66d1fc753381d141da96f859d30301f5e4ea74e21dbd8a787020c186a814fc485bd5055589a06f6556c860dcd39a9ba3af662b63ccf71b6cf41d805137 WHIRLPOOL 31a7df028405df2b364f47b9f7c28a8408f06d9c3600cbb7fe058bd0f8015929ca2191053a43cd16c4fa8487ff175cc7e1f17dc16f4d8c70655fbaa56b44513c
|
||||
DIST Botan-1.11.4.tbz 2346343 SHA256 ebbcc493ef2f13f536597b72e317462e1503c83f7e18e1fe10887f16b5f4da0f SHA512 c5c521a78b50de6c6e2bba912f0697e507a8432bd7f348e3e41856cc2ed60fea5877df4957d74887419208f8df63224a4c6726c94eef58fc1b255133b1f0ee22 WHIRLPOOL 41a024e3698fa2ede2a5124b6c5d2400e969f2cddfec6e7e9e43e549097dd606d105d6e02d6268e322d98e83300c76eb4f7783ee54699a7fa85addcf9adc3aa2
|
||||
DIST Botan-1.11.8.tbz 2193897 SHA256 5c3a5485dd8f2b5e690bdc73d5848b1f436a090e7fc521c66920f34d6af68efd SHA512 2d3f5d77687ed56be39c88fe7ffdb27ebda573650f164b8681864cff0ca8b0a0bd56f9749f3695e4240a68bfa1483565c854ff4f9d8a7460de0883255a917e26 WHIRLPOOL c9eaeb2d2da10bc61eb704beb9025fada4f16ec4e82a7845cdc465295d05ad070e73d289abdc30fc96f5b43778c87f31ea4cb66c6706cb822ceb2adba0354d41
|
||||
|
@ -0,0 +1,148 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit eutils multilib python-r1 toolchain-funcs
|
||||
|
||||
MY_PN="Botan"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
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"
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
IUSE="bindist doc python bzip2 gmp ssl static-libs threads zlib"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
RDEPEND="bzip2? ( >=app-arch/bzip2-1.0.5 )
|
||||
zlib? ( >=sys-libs/zlib-1.2.3 )
|
||||
python? ( ${PYTHON_DEPS} >=dev-libs/boost-1.48[python,${PYTHON_USEDEP}] )
|
||||
gmp? ( >=dev-libs/gmp-4.2.2:* )
|
||||
ssl? ( >=dev-libs/openssl-0.9.8g:*[bindist=] )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-python/sphinx )"
|
||||
|
||||
src_prepare() {
|
||||
sed -e "s/-Wl,-soname,\$@ //" -i src/build-data/makefile/python.in || die "sed failed"
|
||||
sed \
|
||||
-e "/DOCDIR/d" \
|
||||
-e "/^install:/s/ docs//" \
|
||||
-i src/build-data/makefile/unix_shr.in || die "sed failed"
|
||||
|
||||
# Fix ImportError with Python 3.
|
||||
sed -e "s/_botan/.&/" -i src/wrap/python/__init__.py || die "sed failed"
|
||||
|
||||
use python && python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local disable_modules="proc_walk,unix_procs"
|
||||
use threads || disable_modules+=",pthreads"
|
||||
use bindist && disable_modules+=",ecdsa"
|
||||
elog "Disabling modules: ${disable_modules}"
|
||||
|
||||
# Enable v9 instructions for sparc64
|
||||
if [[ "${PROFILE_ARCH}" = "sparc64" ]]; then
|
||||
CHOSTARCH="sparc32-v9"
|
||||
else
|
||||
CHOSTARCH="${CHOST%%-*}"
|
||||
fi
|
||||
|
||||
local myos=
|
||||
case ${CHOST} in
|
||||
*-darwin*) myos=darwin ;;
|
||||
*) myos=linux ;;
|
||||
esac
|
||||
|
||||
# foobared buildsystem, --prefix translates into DESTDIR, see also make
|
||||
# install in src_install, we need the correct live-system prefix here on
|
||||
# Darwin for a shared lib with correct install_name
|
||||
./configure.py \
|
||||
--prefix="${EPREFIX}/usr" \
|
||||
--libdir=$(get_libdir) \
|
||||
--docdir=share/doc \
|
||||
--cc=gcc \
|
||||
--os=${myos} \
|
||||
--cpu=${CHOSTARCH} \
|
||||
--with-endian="$(tc-endian)" \
|
||||
--without-sphinx \
|
||||
--with-tr1=system \
|
||||
$(use_with bzip2) \
|
||||
$(use_with gmp gnump) \
|
||||
$(use_with python boost-python) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with zlib) \
|
||||
--disable-modules=${disable_modules} \
|
||||
|| die "configure.py failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CXX="$(tc-getCXX)" AR="$(tc-getAR) crs" LIB_OPT="${CXXFLAGS}" MACH_OPT=""
|
||||
|
||||
if use python; then
|
||||
building() {
|
||||
rm -fr build/python
|
||||
ln -s "${BUILD_DIR}" build/python
|
||||
cp Makefile.python build/python
|
||||
sed -i \
|
||||
-e "s/-lboost_python/-lboost_python-$(echo ${EPYTHON} | sed 's/python//')/" \
|
||||
build/python/Makefile.python
|
||||
emake -f build/python/Makefile.python \
|
||||
CXX="$(tc-getCXX)" \
|
||||
CFLAGS="${CXXFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}" \
|
||||
PYTHON_ROOT="/usr/$(get_libdir)" \
|
||||
PYTHON_INC="-I$(python_get_includedir)"
|
||||
}
|
||||
python_foreach_impl building
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
einfo "Generation of documentation"
|
||||
sphinx-build doc doc_output
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
chmod -R ugo+rX "${S}"
|
||||
emake CXX="$(tc-getCXX)" CHECK_OPT="${CXXFLAGS}" check
|
||||
LD_LIBRARY_PATH="${S}" ./check --validate || die "Validation tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}usr" install
|
||||
|
||||
if ! use static-libs; then
|
||||
rm "${ED}usr/$(get_libdir)/libbotan"*.a || die 'remove of static libs failed'
|
||||
fi
|
||||
|
||||
# Add compatibility symlinks.
|
||||
[[ -e "${ED}usr/bin/botan-config" ]] && die "Compatibility code no longer needed"
|
||||
[[ -e "${ED}usr/$(get_libdir)/pkgconfig/botan.pc" ]] && die "Compatibility code no longer needed"
|
||||
dosym botan-config-1.10 /usr/bin/botan-config
|
||||
dosym botan-1.10.pc /usr/$(get_libdir)/pkgconfig/botan.pc
|
||||
|
||||
if use python; then
|
||||
installation() {
|
||||
rm -fr build/python
|
||||
ln -s "${BUILD_DIR}" build/python
|
||||
emake -f Makefile.python \
|
||||
PYTHON_SITE_PACKAGE_DIR="${ED}$(python_get_sitedir)" \
|
||||
install
|
||||
}
|
||||
python_foreach_impl installation
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
pushd doc_output > /dev/null
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
doins -r [a-z]* _static
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
@ -0,0 +1,132 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit eutils multilib python-r1 toolchain-funcs
|
||||
|
||||
MY_PN="Botan"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
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"
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
IUSE="bindist doc boost python bzip2 lzma sqlite ssl static-libs zlib"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
REQUIRED_USE="python? ( boost )"
|
||||
|
||||
RDEPEND="bzip2? ( >=app-arch/bzip2-1.0.5 )
|
||||
zlib? ( >=sys-libs/zlib-1.2.3 )
|
||||
boost? ( ${PYTHON_DEPS} >=dev-libs/boost-1.48[python?,${PYTHON_USEDEP}] )
|
||||
lzma? ( app-arch/xz-utils )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
ssl? ( >=dev-libs/openssl-0.9.8g:*[bindist=] )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-python/sphinx )"
|
||||
|
||||
pkg_pretend() {
|
||||
# Botan 1.11 requires -std=c++11
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
[[ $(gcc-major-version) -lt 4 ]] || \
|
||||
( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 7 ]] ) \
|
||||
&& die "Sorry, but gcc 4.7 or higher is required."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-build-python.patch"
|
||||
sed \
|
||||
-e "/^install:/s/ docs//" \
|
||||
-i src/build-data/makefile/gmake.in || die "sed failed"
|
||||
use python && python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local disable_modules=( proc_walk unix_procs )
|
||||
use boost || disable_modules+=( "boost" )
|
||||
use bindist && disable_modules+=( "ecdsa" )
|
||||
elog "Disabling modules: ${disable_modules[@]}"
|
||||
|
||||
# Enable v9 instructions for sparc64
|
||||
if [[ "${PROFILE_ARCH}" = "sparc64" ]]; then
|
||||
CHOSTARCH="sparc32-v9"
|
||||
else
|
||||
CHOSTARCH="${CHOST%%-*}"
|
||||
fi
|
||||
|
||||
local myos=
|
||||
case ${CHOST} in
|
||||
*-darwin*) myos=darwin ;;
|
||||
*) myos=linux ;;
|
||||
esac
|
||||
|
||||
local pythonvers=()
|
||||
if use python; then
|
||||
append() {
|
||||
pythonvers+=( ${EPYTHON/python/} )
|
||||
}
|
||||
python_foreach_impl append
|
||||
fi
|
||||
|
||||
./configure.py \
|
||||
--prefix="${EPREFIX}/usr" \
|
||||
--destdir="${D}/${EPREFIX}/usr" \
|
||||
--libdir=$(get_libdir) \
|
||||
--docdir=share/doc \
|
||||
--cc=gcc \
|
||||
--os=${myos} \
|
||||
--cpu=${CHOSTARCH} \
|
||||
--with-endian="$(tc-endian)" \
|
||||
--without-sphinx \
|
||||
$(use_with bzip2) \
|
||||
$(use_with lzma) \
|
||||
$(use_with sqlite sqlite3) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with zlib) \
|
||||
$(use_with boost) \
|
||||
--with-python-version=$(IFS=","; echo "${pythonvers[*]}" ) \
|
||||
--disable-modules=$(IFS=","; echo "${disable_modules[*]}" ) \
|
||||
|| die "configure.py failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CXX="$(tc-getCXX) -pthread" AR="$(tc-getAR) crs" LIB_OPT="-c ${CXXFLAGS}"
|
||||
if use doc; then
|
||||
einfo "Generation of documentation"
|
||||
sphinx-build doc doc_output
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
LD_LIBRARY_PATH="${S}" ./botan-test || die "Validation tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install
|
||||
|
||||
if ! use static-libs; then
|
||||
rm "${ED}usr/$(get_libdir)/libbotan"*.a || die 'remove of static libs failed'
|
||||
fi
|
||||
|
||||
# Add compatibility symlinks.
|
||||
[[ -e "${ED}usr/bin/botan-config" ]] && die "Compatibility code no longer needed"
|
||||
[[ -e "${ED}usr/$(get_libdir)/pkgconfig/botan.pc" ]] && die "Compatibility code no longer needed"
|
||||
dosym botan-config-1.11 /usr/bin/botan-config
|
||||
dosym botan-1.11.pc /usr/$(get_libdir)/pkgconfig/botan.pc
|
||||
|
||||
use python && python_foreach_impl python_optimize
|
||||
|
||||
if use doc; then
|
||||
pushd doc_output > /dev/null
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
doins -r [a-z]* _static
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
From 5bb0b47e608e083dda5e39132174b840f3b091cf Mon Sep 17 00:00:00 2001
|
||||
From: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
Date: Tue, 15 Sep 2015 00:18:19 +0300
|
||||
Subject: [PATCH] build: support multiple python versions
|
||||
|
||||
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
---
|
||||
src/scripts/install.py | 11 ++++++-----
|
||||
1 file changed, 6 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/src/scripts/install.py b/src/scripts/install.py
|
||||
index 2c69213..d1d62b6 100755
|
||||
--- a/src/scripts/install.py
|
||||
+++ b/src/scripts/install.py
|
||||
@@ -181,11 +181,12 @@ def main(args = None):
|
||||
os.path.join(pkgconfig_dir, os.path.basename(cfg['botan_pkgconfig'])))
|
||||
|
||||
if 'ffi' in cfg['mod_list'].split('\n'):
|
||||
- py_lib_path = os.path.join(lib_dir, 'python%s' % (cfg['python_version']), 'site-packages')
|
||||
- logging.debug('Installing python module to %s' % (py_lib_path))
|
||||
- makedirs(py_lib_path)
|
||||
- for py in ['botan.py']:
|
||||
- copy_file(os.path.join(cfg['python_dir'], py), os.path.join(py_lib_path, py))
|
||||
+ for ver in cfg['python_version'].split(','):
|
||||
+ py_lib_path = os.path.join(lib_dir, 'python%s' % (ver), 'site-packages')
|
||||
+ logging.debug('Installing python module to %s' % (py_lib_path))
|
||||
+ makedirs(py_lib_path)
|
||||
+ for py in ['botan.py']:
|
||||
+ copy_file(os.path.join(cfg['python_dir'], py), os.path.join(py_lib_path, py))
|
||||
|
||||
shutil.rmtree(target_doc_dir, True)
|
||||
shutil.copytree(cfg['doc_output_dir'], target_doc_dir)
|
||||
--
|
||||
2.4.6
|
||||
|
@ -1,2 +1,2 @@
|
||||
DIST libtasn1-4.5.tar.gz 1850279 SHA256 89b3b5dce119273431544ecb305081f3530911001bb12e5d76588907edb71bda SHA512 9319c7109b006f6f1f52c5cc0ff4b076db0037fb977535e04980dc3a9b3195ef20a451f04771d0eff1d1a104557cc14ccd5147f82e4229230d6539046e7f5108 WHIRLPOOL 9a3673f576f0ff44889c00f4c24e3f2d9b27f0be1d53058b292ed56f89b2b4efbd0ac0f9721daa0ed1116b541146e86b8f42d9e8857bdc9d0ba8bacb5415a9dd
|
||||
DIST libtasn1-4.6.tar.gz 1852124 SHA256 3462fc25e2d2536878c39a8825f5e36ba2e2611b27ef535e064f4c56258e508b SHA512 865215b21ff13cd3998e1dbc893a0c9897e08611549a22e0aa42e068e8531c4b28226fe16bc27e1018cf3e0d481f86fa70d15a29a68b1aad155c4fa4f84a3d81 WHIRLPOOL fe2801328190b4ee75c379db6ab2fd7480641f2a2d25109bcc225d4e09431c580dad7f89342704ae20832dabebceadf38dc932ccb8d0aa3fab1e91e3b27e4b5a
|
||||
DIST libtasn1-4.7.tar.gz 1851611 SHA256 a40780dc93fc6d819170240e8ece25352058a85fd1d2347ce0f143667d8f11c9 SHA512 9e93264bfad250d88c528550db4731d07c5c1b2ec319b892e9b536dc3d46b2a4166241ebf3470127c4f662067b7dabaa407ce1f16bdf05ee31495881eefe5572 WHIRLPOOL e4acb580a80f1cecc1aafffe633568503e7d4596d4ebe851a74f7d00b8c6a391215d793afa8fd84f923b48ca391cf61df585a8336186e0e4cc092e384aad2620
|
||||
|
@ -0,0 +1,12 @@
|
||||
Index: dose3-3.3/doseparse/stdOptions.ml
|
||||
===================================================================
|
||||
--- dose3-3.3.orig/doseparse/stdOptions.ml
|
||||
+++ dose3-3.3/doseparse/stdOptions.ml
|
||||
@@ -20,6 +20,7 @@ include Util.Logging(struct let label =
|
||||
module type Ot = sig
|
||||
val options :
|
||||
?usage:string ->
|
||||
+ ?status:int ->
|
||||
?version:string ->
|
||||
?suppress_usage:bool ->
|
||||
?suppress_help:bool ->
|
@ -1,3 +1,3 @@
|
||||
DIST torment-2.0.2.tar.gz 23291 SHA256 09950e60289921cd21403f00b1dc5643dd1c143b6e963bd0ca1e7a6928b18425 SHA512 4f0cbfd080053cc7a8f4556012516d8e7647d6f42e232288b24e84fafdcb36a5098f1e24b734ca62d2e4ce34883e25fdc94795b71835ad3863af670edc200853 WHIRLPOOL 1a3b7e352d2e1667d2b513b8810b58cf01cc15d4439b6a3f2b578d88928b1d687d6e60037e061e3dd412a064dca65909a191e93785bbfa5285a023d8d548ba15
|
||||
DIST torment-2.0.3.tar.gz 23457 SHA256 577fb8227087100ec1e3c29fc422dfab8813f77881f74b7f68b41a7a9abde9ca SHA512 a112fdd20da24ecf2ac0d8acb50e226bdc60cd78ce2b903333cde20fa78c593e31ff5ef9922c0b9f5cd32ac5c910ee287f2534ff5669cd21b12a66a485d0f409 WHIRLPOOL 060fa7ec2200b7fddddd1fd128ca09ad0f30314707da7cf393e30c614f894169f3724c51ab4e2c2627ba51a1345a6079b804c5ce0f02f2dae54090bbd2b20cb9
|
||||
DIST torment-2.0.4.tar.gz 27980 SHA256 1968ffe76f4e759c0857828eff30074fbdcff72c2ff23ef13023c1cdd7608037 SHA512 aa6689387648b0c659487c99dbdfac14e2bdb9dfdaf5d1b777ccb50755bbf5ce0c576ed4682bb9ebcd55ed8babc4c5727e01b9843206bee26561b0b930a0d4c4 WHIRLPOOL 27c50a9dc61108ddc2feaa5c88fbde8a4eb6032b2fdbdf9eb7aaa1b2ad6d7a8c5700e48bba1e5aaa5b2fd679e150881827e4622ce3f65cc601093691a7a2aca0
|
||||
DIST torment-2.1.0.tar.gz 30608 SHA256 d8d21efd1a30c0bb964b43e47b41cc261d4b2417b09fd3945090bf48fd3d0248 SHA512 502a61372f61d653f98ed20e0d074d1c411cc33be08ae91fec4e7606b1d3d3b78fd4fee8b1908b4fc721e7fe6029400063e9a94830a589e572baf824e7e0a261 WHIRLPOOL 7fe54b057ea89823b1b861c61e771f02a8a66a755f5667c89728bfab8e52006524cc960fece75f77d00b1aa894e0f3853df59a79cddf70a28b27b08d31de856b
|
||||
|
@ -0,0 +1,30 @@
|
||||
Index: alsa-plugins-1.0.29/a52/pcm_a52.c
|
||||
===================================================================
|
||||
--- alsa-plugins-1.0.29.orig/a52/pcm_a52.c
|
||||
+++ alsa-plugins-1.0.29/a52/pcm_a52.c
|
||||
@@ -39,7 +39,6 @@
|
||||
#endif
|
||||
|
||||
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(53, 34, 0)
|
||||
-#include <libavutil/audioconvert.h>
|
||||
#include <libavutil/mem.h>
|
||||
#define USE_AVCODEC_FRAME
|
||||
#endif
|
||||
@@ -513,7 +512,7 @@ static void a52_free(struct a52_ctx *rec
|
||||
rec->inbuf = NULL;
|
||||
}
|
||||
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(54, 28, 0)
|
||||
- avcodec_free_frame(&rec->frame);
|
||||
+ av_frame_free(&rec->frame);
|
||||
#else
|
||||
av_freep(&rec->frame);
|
||||
#endif
|
||||
@@ -557,7 +556,7 @@ static int alloc_input_buffer(snd_pcm_io
|
||||
{
|
||||
struct a52_ctx *rec = io->private_data;
|
||||
#ifdef USE_AVCODEC_FRAME
|
||||
- rec->frame = avcodec_alloc_frame();
|
||||
+ rec->frame = av_frame_alloc();
|
||||
if (!rec->frame)
|
||||
return -ENOMEM;
|
||||
if (av_samples_alloc(rec->frame->data, rec->frame->linesize,
|
@ -1 +1 @@
|
||||
Mon, 14 Sep 2015 15:41:21 +0000
|
||||
Tue, 15 Sep 2015 05:12:00 +0000
|
||||
|
@ -1 +1 @@
|
||||
Mon, 14 Sep 2015 15:41:22 +0000
|
||||
Tue, 15 Sep 2015 05:12:00 +0000
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue