parent
d76b93f781
commit
3919543d5e
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 28984 BLAKE2B 20b2b62526dc3e662004029d20966de388f2fd58306f4a144671f78b1c7d52803ef46bee004e31f44c303909e41c4a1da957f68eeb022bea1fc3465899d80d54 SHA512 b43bbd438bee27d4ea64de5d5ac82a49d07090afe812f15819db89bbbc0d314ae4ab3bf1ea092d1fce85ab2872e41d5715f920d4920e67aeaa2d466e1b6ad81d
|
||||
TIMESTAMP 2018-05-18T08:08:34Z
|
||||
MANIFEST Manifest.files.gz 29012 BLAKE2B 881eaaaa0060fcc71dd2a226846583b1660c476a6ccd29f2b4f4f67c6007a258c7e0dd991ebcaa86134ebe4e6bf3c70e4bce127f499b33b536afa8df2ba741f8 SHA512 586722c9162d032b4fad08a934b50093b1c2ad9a4c4bd5402d1a8f0e3cb696fb7af1b5742d207b8c62c4cb92684755ac17ef09a7161d6a0b44a3ad0fb4a909ba
|
||||
TIMESTAMP 2018-05-19T15:38:37Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAlr+igJfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAlsARP1fFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klA90BAAiWcGvD5ign7T+V//nipe/mBgETutZ/vgZCNgu14IVpnTfPSIB35rIY2I
|
||||
NEsI+Z/rceQbO0X4ZpbwpIOqsKbsN1LjCj2/jsupDbqWrhjjGj8XynxGLa+giWZs
|
||||
3sB3KZOrnJEKc3Y4m7DsBTrwviREhFk3xWBJjHZwt7JOzpY+UvD7mQHjz0uYzhcn
|
||||
9NlzR/fd+0+wS2h9m1wvPYuDVbGzdSf1qxJPfgeMagVJiGRa5bIluluwEBV304sC
|
||||
W2zuCFDIsGe+0VuR1EZacNlN5wuazD72Su/TMbNbz9O8lB0oM+N+2umt8DQ3LqFS
|
||||
O6LxbeKL5oqtr65KYb6hj/TFvu/bLS0mNsZf3zTwpDhmGjeQ2rZx9yaqw1zGQW8p
|
||||
otr9OULQALo50xN6k1dAh2EzHHchbjTM1ZU1pm849/ctaeBNh33nT45Iq4MJWlch
|
||||
A7HRDKtZyF1mAaeRpRQWOvIGt2kvA0pLHcDdoi1CbU0w9wNFXxuOI4fTi0trWzWD
|
||||
K6niYjS2n0FvRTBOHqsLW4mcYYaopCGaAHshh1W5N8Frg301uYKnziXZEilAgclw
|
||||
bqMs1PNnXkAkDbaan09fCX+8MNvWbKcCyEcyER467lRs4zbYoSJtQaI07v87Mb6G
|
||||
uijhR5CGeSywoYL842SrYiRf4TBLnEsx8KR9hp+TAkVg70PaX0k=
|
||||
=5kyM
|
||||
klCSdA/7B9NbpgcqLXK7TRl5MhMyVU961vcG5CUEBWNsD1BmjH5wnH3T7UM9/n7a
|
||||
3vzIJyHxJu1WS+nWkG+4xgCENK15vcj1zLUj6TLqRRQdKWBmO092vfk2pGj78V6H
|
||||
H5wdcsZwCROqZpr1WyTN0T0vzeozdtYwSg51YlP/O32lNQEOR2w29dk4sEIyaDmT
|
||||
AmUrtnqFCmVJ40M+gsmCbBNqyr1qMipDmc12u9T4dEJot+uXX3+oXV2s/UVRG6Tb
|
||||
i7d/MMCUoMla5ZfgFwuC+24eDVgLySmMoHSXIwSQsZJDa2ej4IUxhACUL8O0+6gU
|
||||
p5tGnJO1Vt/owivhJS+F/1yakv6EUV1HCiwAOxPBzs2Ne/P5OzVX0JtyZP4d1pfM
|
||||
8AP+lcO44APEhM+n1Os1S+2c0Ptc4orW1wIpWKWQT091LWCeN96Yhc4DFeAfrI+E
|
||||
unX/1kP7vqmkd0xSbJftbRxERoUAdyCWib/EkKBBqXGpCYIzAM5YRoDTop3YYufS
|
||||
Xqm3zGrQMMvwarYAZMBxzm76LKoTbf6ZwqOTctzAJooDtqKfLElSFrq69IRq0IvG
|
||||
BGCurwzMBWLxQWeyqfvnJYlpEQMTh3vej+dU3q3a81DMlwVyZheM7+byN0DE5VnT
|
||||
DOWy7Zyq8p+/5jZSiXbBA3pWx8vO7QMU9lnwjG9k6PifY7ql6xw=
|
||||
=lJ/4
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6} )
|
||||
|
||||
inherit distutils-r1 eutils versionator
|
||||
|
||||
DESCRIPTION="Model-driven deployment, config management, and command execution framework"
|
||||
HOMEPAGE="https://ansible.com/"
|
||||
SRC_URI="https://releases.ansible.com/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x64-macos"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/netaddr[${PYTHON_USEDEP}]
|
||||
net-misc/sshpass
|
||||
virtual/ssh
|
||||
"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-16.6[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
|
||||
dev-python/passlib[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-python/unittest2[${PYTHON_USEDEP}]
|
||||
dev-vcs/git
|
||||
)"
|
||||
|
||||
# not included in release tarball
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
nosetests -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
doman docs/man/man1/*.1
|
||||
dodoc -r examples
|
||||
}
|
@ -1,4 +1,6 @@
|
||||
AUX calamares-pkexec 43 BLAKE2B 432999808da0fdde0e5d9c88887a5f112ac00c90af51f3d907d02ab4f9eb4fae7348856028bcfff98ced8698d0d039bd9506f50baa90f5b12b43c1b72885f230 SHA512 768148cd58cdfb5c6791b76ec60c21a4ca852120f53ed31a83bc7a2e0a26aa77b10bd3756182d3dff03208e820def4b83c45edba0484fa2f5a33c93880c3f4bb
|
||||
DIST calamares-3.1.13.tar.gz 2279516 BLAKE2B ff2c81e81086d53c205c25dbdb7e8b1b60f5f10c979e9afd85c02426cd38037c6fbbf76e21fa5fb152ea9bf1c47658563ba5b2fb7e84b4e2734d6269584315df SHA512 451e04fe41448976e612b2a682cf38ed2683b490bb195ba82ad97d47dfd3eb808f8c25251be00104e3f3b4086ab37be462034bbd2866e64536e90f7ebcfb0d7a
|
||||
DIST calamares-3.2.0.tar.gz 2488863 BLAKE2B 6941cdd7eb381a6ee4f7bc2628605ee5a670de0d839b5797cec930737ec5fc09e214c484c2e8398ab2f12669bbc64768d5ee20b2aa1adae799fb96373a0b07df SHA512 0b502749ace48ce56f2bb364d265c5b9197cca2b27115663f928cb58d02ba43e93b80b5022053bca5899ce6ee35146992157408fc5af017da6d61abdcdbc4e1d
|
||||
EBUILD calamares-3.1.13.ebuild 1983 BLAKE2B ee4739b47d4224b681e5909fcc872eb59f8d414ecfd316338ae948b45fdcca51bcf7a82608b74b25e79db6a77fbe538f1ba4850edbc848a07bb4bf10aa9e471a SHA512 6c1630a7e30912297bc8238b46f40eb2935bd36ec862a421d46281881f167bd31b116c9bb19f082f9f584c01bc4102a241b8a668eae1cbcd6803e4b7404a969b
|
||||
EBUILD calamares-3.2.0.ebuild 2134 BLAKE2B 48d01855b913950b9e3fe68ed4e4ca7d2879e62bbf4f10ffa2d364704a1b806709b2afd0d48a1daa2ed8a50aab4154bc2135be949817bff8fd2c25b603ef610f SHA512 021c49d45c83ee2491f3eb14ac4d7c601139dfe40a1950fcae45381048760081c14120283a5988286f6e2487851a5629cfb1143279170e7d28924d6b38e7798c
|
||||
MISC metadata.xml 1055 BLAKE2B a6c7974103baa5a646cb1d594e3f224903df9ce5c618ad4ed46c0b3d4df5d3437be570eda0d55e3b0ca8f6df4af9627b088ace2a3f0efc802528aeb49fc7bce6 SHA512 0269dad0b0a05e7c729ad5b9f1f7d6790c117b0d76b904dc909b868b1c298ff3352faafe91104b39cfc3c2e4f5e1a20244d3f5321c937d2334bd15bd910dc89f
|
||||
|
@ -0,0 +1,84 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{3_5,3_6} )
|
||||
inherit kde5 python-r1
|
||||
|
||||
DESCRIPTION="Distribution-independent installer framework"
|
||||
HOMEPAGE="https://calamares.io"
|
||||
if [[ ${KDE_BUILD_TYPE} == live ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/${PN}/${PN}"
|
||||
else
|
||||
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${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 kconfig)
|
||||
$(add_frameworks_dep kcoreaddons)
|
||||
$(add_frameworks_dep kcrash)
|
||||
$(add_frameworks_dep kpackage)
|
||||
$(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)
|
||||
$(add_qt_dep qtxml)
|
||||
dev-cpp/yaml-cpp:=
|
||||
>=dev-libs/boost-1.55:=[${PYTHON_USEDEP}]
|
||||
dev-libs/libpwquality[${PYTHON_USEDEP}]
|
||||
sys-apps/dbus
|
||||
sys-apps/dmidecode
|
||||
sys-auth/polkit-qt[qt5(+)]
|
||||
>=sys-libs/kpmcore-3.0.3: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() {
|
||||
cmake-utils_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)"
|
||||
}
|
||||
|
||||
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
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils bash-completion-r1
|
||||
|
||||
DESCRIPTION="Interfaces with LastPass.com from the command line."
|
||||
HOMEPAGE="https://github.com/lastpass/lastpass-cli"
|
||||
SRC_URI="https://github.com/lastpass/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2+ GPL-2+-with-openssl-exception"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="libressl X +pinentry test"
|
||||
|
||||
RDEPEND="
|
||||
X? ( || ( x11-misc/xclip x11-misc/xsel ) )
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
net-misc/curl
|
||||
dev-libs/libxml2
|
||||
pinentry? ( app-crypt/pinentry )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/asciidoc
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBASH_COMPLETION_COMPLETIONSDIR="$(get_bashcompdir)"
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile all doc-man $(usex test lpass-test '')
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install install install-doc
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local myctestargs=(
|
||||
-j1 # Parallel tests fail
|
||||
)
|
||||
|
||||
# The path to lpass-test is hardcoded to "${S}"/build/lpass-test
|
||||
# which is incorrect for our out-of-source build
|
||||
sed -e "s|TEST_LPASS=.*|TEST_LPASS=\"${BUILD_DIR}/lpass-test\"|" \
|
||||
-i "${S}"/test/include.sh || die
|
||||
|
||||
cmake-utils_src_test
|
||||
}
|
@ -1,53 +0,0 @@
|
||||
From a358d5ec01c6f87b39e5bfbab7a35582624fdbf7 Mon Sep 17 00:00:00 2001
|
||||
From: Josh Cooper <josh@puppet.com>
|
||||
Date: Fri, 12 Jan 2018 15:30:38 -0800
|
||||
Subject: [PATCH] (PUP-8297) Don't accept already connected socket
|
||||
|
||||
Webrick's start method yields an already connected socket, so it is not
|
||||
necessary to call accept on the socket. In ruby versions prior to 2.3.6 and
|
||||
2.4.3, the accept call was a noop.
|
||||
|
||||
In 2.3.6 and 2.4.3, it is an error, because ruby those versions use a
|
||||
non-blocking accept to handle clients that make an TCP connection, but
|
||||
are slow to negotiate the TLS handshake[1,2]. On these versions, puppet
|
||||
master would report:
|
||||
|
||||
SSL_accept returned=1 errno=0 state=unknown state: unexpected record
|
||||
|
||||
Remove the call to Socket#accept.
|
||||
|
||||
[1] https://bugs.ruby-lang.org/issues/14005
|
||||
[2] https://github.com/ruby/ruby/commit/2e728d51e70ed3756ad760c687a08b8487b0112f
|
||||
---
|
||||
lib/puppet/network/http/webrick.rb | 1 -
|
||||
spec/unit/network/http/webrick_spec.rb | 5 +++++
|
||||
2 files changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/lib/puppet/network/http/webrick.rb b/lib/puppet/network/http/webrick.rb
|
||||
index 9ebf1763be5..3ac2ff40650 100644
|
||||
--- a/lib/puppet/network/http/webrick.rb
|
||||
+++ b/lib/puppet/network/http/webrick.rb
|
||||
@@ -29,7 +29,6 @@ def listen(address, port)
|
||||
if ! IO.select([sock],nil,nil,timeout)
|
||||
raise "Client did not send data within %.1f seconds of connecting" % timeout
|
||||
end
|
||||
- sock.accept
|
||||
@server.run(sock)
|
||||
end
|
||||
end
|
||||
diff --git a/spec/unit/network/http/webrick_spec.rb b/spec/unit/network/http/webrick_spec.rb
|
||||
index a90fc3f3378..843b0d54c8a 100644
|
||||
--- a/spec/unit/network/http/webrick_spec.rb
|
||||
+++ b/spec/unit/network/http/webrick_spec.rb
|
||||
@@ -92,6 +92,11 @@
|
||||
expect(server).to be_listening
|
||||
end
|
||||
|
||||
+ it "is passed an already connected socket" do
|
||||
+ socket.expects(:accept).never
|
||||
+ server.listen(address, port)
|
||||
+ end
|
||||
+
|
||||
describe "when the REST protocol is requested" do
|
||||
it "should register the REST handler at /" do
|
||||
# We don't care about the options here.
|
Binary file not shown.
@ -1,39 +0,0 @@
|
||||
diff -r -u ../unchanged/Lib/Makefile ./Lib/Makefile
|
||||
--- ../unchanged/Lib/Makefile 2004-08-26 00:39:58.847605592 +1000
|
||||
+++ ./Lib/Makefile 2004-08-26 00:41:12.307438000 +1000
|
||||
@@ -41,7 +41,7 @@
|
||||
# to define LITT_ENDIAN on little endian machines (intel)
|
||||
# checks for sizeof(long)=4, sizeof(short)=2, sizeof(int)=4
|
||||
defendian.h: myconf
|
||||
- myconf
|
||||
+ ./myconf
|
||||
|
||||
adf_nativ.o: ${NATIV_DIR}/adf_nativ.c ${NATIV_DIR}/adf_nativ.h
|
||||
$(CC) ${CFLAGS} -c ${NATIV_DIR}/adf_nativ.c
|
||||
Only in ../unchanged/Lib: Makefile.orig
|
||||
Only in ../unchanged/Lib: Makefile.rej
|
||||
diff -r -u ../unchanged/Lib/myconf ./Lib/myconf
|
||||
--- ../unchanged/Lib/myconf 2000-08-19 11:08:08.000000000 +1000
|
||||
+++ ./Lib/myconf 2004-08-26 00:41:28.344000072 +1000
|
||||
@@ -31,17 +31,17 @@
|
||||
gcc myctest.c -o myctest
|
||||
rm myctest.c
|
||||
|
||||
-if [ `myctest |cut -d' ' -f 1` != 4 ]
|
||||
+if [ `./myctest |cut -d' ' -f 1` != 4 ]
|
||||
then echo "Error : sizeof(long)!=4"
|
||||
fi
|
||||
-if [ `myctest |cut -d' ' -f 2` != 2 ]
|
||||
+if [ `./myctest |cut -d' ' -f 2` != 2 ]
|
||||
then echo "Error : sizeof(short)!=2"
|
||||
fi
|
||||
-if [ `myctest |cut -d' ' -f 3` != 4 ]
|
||||
+if [ `./myctest |cut -d' ' -f 3` != 4 ]
|
||||
then echo "Error :sizeof(int)!=4"
|
||||
fi
|
||||
|
||||
-if [ `myctest |cut -d' ' -f 4` = LITTLE ]
|
||||
+if [ `./myctest |cut -d' ' -f 4` = LITTLE ]
|
||||
then
|
||||
echo "#ifndef LITT_ENDIAN" >defendian.h
|
||||
echo "#define LITT_ENDIAN 1" >>defendian.h
|
@ -1,6 +1,9 @@
|
||||
AUX zopfli-1.0.1-makefile.patch 1979 BLAKE2B 7210faf2c8451f42efdd236fc5592fda8bba9010fcfe85112efb79799835382382073021a8695167fe9bb3672f13bb256c3c90cb21ef1e9a13ac652392cc50c6 SHA512 f26b02d88df75d9ce9bf8d86ae5bbf3cdc548be14a81939d26cbfbb2b6b29b74fcf40a62dd4ad20650e7c147d8234f6a0d5d82ff8780c2a1d54ae59825cd43b9
|
||||
AUX zopfli-1.0.2-makefile.patch 2505 BLAKE2B f00e9056738bc9cb64f7aae79c42388d1d8a0e78287ca8c309bc4c464104cb5c5febd2587b05fcd83de45c5ae45df9a7dc9dc7d3e4c77d687c5aec001cf1125c SHA512 354541b72fbc9539b514489ebd9f17c2bcdfe09f7d5ff8a102aa301ae22bc63698e5b20493692b4810dfca287ed315571d13a213d8c8d1a5722ddff1c11afc32
|
||||
DIST zopfli-1.0.0_p20140705.tar.gz 125759 BLAKE2B 5bc052de7f8189605ec4e155c35413e5000ab1fabe7edd2877b9bbc04a0041c5f02fa67fe6a818f68eb4af15251dabf7e599615656956e315b5ece497e2afa1a SHA512 ce5b3eb016b0d734a775dbb45842de4aa4a00bc1490edfdbbf81c4640da94994d08f336b313c45b785e17c61ecf58f370edb2cb6523c963798cad739af2282ca
|
||||
DIST zopfli-1.0.1.tar.gz 128178 BLAKE2B dfc410508c0566ba6ec948c2ed17b5ffa45338834c08991b5f2954b06b598f01a9c2cdba6526f324bd477e89e0ddb1ab86d4c2498ffe4cc573ba434b610fec14 SHA512 51d4b2d990e6785e86f0e0104325723c9a7c3b8bf6925ef694b6696f2238eaafff2ca625495a676874ecc1704df7d685e5234b0c601e5804c1c293242e113430
|
||||
DIST zopfli-1.0.2.tar.gz 136035 BLAKE2B 23b9af324f50f2fa7276cdb8ac042e251f4e295617638c6e3999b8ecaef5d61d1fe21dd7b8d84e19f7f682f3a592674fcd6c19f359efb86ac4ea57acaac3761e SHA512 290a9506a0c1f3d0510230ca21017e1d2bed830f3f96f9d38c9f27210d89123c3baebd05a1da988eccd5395a7b007f6690f08eb9087550a06eaa69d7531f074e
|
||||
EBUILD zopfli-1.0.0_p20140705.ebuild 677 BLAKE2B 9ab00361713213e8f01da29b9ace8e1761d70f08a2b7a35535848d4303f0309571852f54aac7b83193c8a323ec13d5e3fd2211416ac91187c6e62b9fa26c7ee1 SHA512 2ed577374b97e3bae087491a10b88d0967930a5de22663bf489844a0577f743bb6562d08b21c1df05396c82c5af0c16f843fde738a5eff37135cc8b2051b615c
|
||||
EBUILD zopfli-1.0.1-r2.ebuild 922 BLAKE2B f0ad60d9dd445277d41ef91cd28f329f6cb3d4297cf5cc42c89f27a0595778ff2e83e6050e3dd545796cbeac46756ffc8e279949b6c5cdc7bc8dd49d0ffda622 SHA512 acabf1c21f7d8f4c02fa5f6569f8bfdc1b4b5303a480bde95b762a84c04e7f67aba16761f358c65d14bfc9735e3157788b1317dc2e2b8b1352acbb92aa4a4d33
|
||||
EBUILD zopfli-1.0.2.ebuild 922 BLAKE2B 2d8c0b193c86c8f900810ef8748c730649892aa3031e7a85b5c6fb3a03ba8af759831341e9ca89532ea7033bb7c4cbc9f5b0966f5cb6ad39e4f3fec9b329bc5b SHA512 ae65b7cef4869bdb985374252fd036e14bae31de13c22e754d0a96fc0edd9e74058fd779c3a45feadf5be40dcf8b2be72aae9e5294cccbe4777aa14d3d8a2fac
|
||||
MISC metadata.xml 586 BLAKE2B 2545e2cc7e0f4737299f1e11472488e2a26f60c06fbca8ada9945ee4e4abb8a9ea9d4902367ed669ba74b82fac5a2da67b90517a2add19266fb73a634008c835 SHA512 9850711c420050ca6d7ffaff59c492a1a8ee606b541fb422f3e5f6f400540a2e9408a836b625ce645e0f327772c4613c95d9f4cdf20cf6b38eefdfd0b921cc0d
|
||||
|
@ -0,0 +1,70 @@
|
||||
From 90221a4d79dcbf44239b9b07cb7c3ec7c090a4a3 Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Pipping <sebastian@pipping.org>
|
||||
Date: Fri, 18 May 2018 20:43:23 +0200
|
||||
Subject: [PATCH] Respect env CC/CXX, split LDFLAGS, use libraries
|
||||
|
||||
This is a port of files/zopfli-1.0.1-makefile.patch to 1.0.2.
|
||||
---
|
||||
Makefile | 32 +++++++++++++++++++-------------
|
||||
1 file changed, 19 insertions(+), 13 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 30b931e..bf063df 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -1,8 +1,10 @@
|
||||
-CC = gcc
|
||||
-CXX = g++
|
||||
+CC ?= gcc
|
||||
+CXX ?= g++
|
||||
|
||||
-CFLAGS = -W -Wall -Wextra -ansi -pedantic -lm -O2 -Wno-unused-function
|
||||
-CXXFLAGS = -W -Wall -Wextra -ansi -pedantic -O2
|
||||
+CFLAGS += -W -Wall -Wextra -ansi -pedantic
|
||||
+CXXFLAGS += -W -Wall -Wextra -ansi -pedantic
|
||||
+LDFLAGS += -L. -Wno-unused-function
|
||||
+LIBS = -lm
|
||||
|
||||
ZOPFLILIB_SRC = src/zopfli/blocksplitter.c src/zopfli/cache.c\
|
||||
src/zopfli/deflate.c src/zopfli/gzip_container.c\
|
||||
@@ -18,24 +20,28 @@ ZOPFLIPNGBIN_SRC := src/zopflipng/zopflipng_bin.cc
|
||||
|
||||
.PHONY: zopfli zopflipng
|
||||
|
||||
+all: zopfli zopflipng
|
||||
+
|
||||
# Zopfli binary
|
||||
-zopfli:
|
||||
- $(CC) $(ZOPFLILIB_SRC) $(ZOPFLIBIN_SRC) $(CFLAGS) -o zopfli
|
||||
+zopfli: libzopfli
|
||||
+ $(CC) $(ZOPFLIBIN_SRC) $(CFLAGS) $(LDFLAGS) $(LIBS) -lzopfli -o zopfli
|
||||
|
||||
# Zopfli shared library
|
||||
libzopfli:
|
||||
$(CC) $(ZOPFLILIB_SRC) $(CFLAGS) -fPIC -c
|
||||
- $(CC) $(ZOPFLILIB_OBJ) $(CFLAGS) -shared -Wl,-soname,libzopfli.so.1 -o libzopfli.so.1.0.2
|
||||
+ $(CC) $(ZOPFLILIB_OBJ) $(CFLAGS) $(LDFLAGS) $(LIBS) -shared -Wl,-soname,libzopfli.so.1 -o libzopfli.so.1.0.2
|
||||
+ @ln -s libzopfli.so.1.0.2 libzopfli.so.1
|
||||
+ @ln -s libzopfli.so.1.0.2 libzopfli.so
|
||||
|
||||
# ZopfliPNG binary
|
||||
-zopflipng:
|
||||
- $(CC) $(ZOPFLILIB_SRC) $(CFLAGS) -c
|
||||
- $(CXX) $(ZOPFLILIB_OBJ) $(LODEPNG_SRC) $(ZOPFLIPNGLIB_SRC) $(ZOPFLIPNGBIN_SRC) $(CFLAGS) -o zopflipng
|
||||
+zopflipng: libzopflipng
|
||||
+ $(CXX) $(ZOPFLILIB_OBJ) $(LODEPNG_SRC) $(ZOPFLIPNGBIN_SRC) $(CXXFLAGS) $(LDFLAGS) $(LIBS) -lzopflipng -o zopflipng
|
||||
|
||||
# ZopfliPNG shared library
|
||||
-libzopflipng:
|
||||
- $(CC) $(ZOPFLILIB_SRC) $(CFLAGS) -fPIC -c
|
||||
- $(CXX) $(ZOPFLILIB_OBJ) $(LODEPNG_SRC) $(ZOPFLIPNGLIB_SRC) $(CFLAGS) -fPIC --shared -Wl,-soname,libzopflipng.so.1 -o libzopflipng.so.1.0.2
|
||||
+libzopflipng: libzopfli
|
||||
+ $(CXX) $(ZOPFLILIB_OBJ) $(LODEPNG_SRC) $(ZOPFLIPNGLIB_SRC) $(CXXFLAGS) $(LDFLAGS) $(LIBS) -fPIC --shared -Wl,-soname,libzopflipng.so.1 -o libzopflipng.so.1.0.2
|
||||
+ @ln -s libzopflipng.so.1.0.2 libzopflipng.so.1
|
||||
+ @ln -s libzopflipng.so.1.0.2 libzopflipng.so
|
||||
|
||||
# Remove all libraries and binaries
|
||||
clean:
|
||||
--
|
||||
2.17.0
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Very good, but slow, deflate or zlib compression"
|
||||
HOMEPAGE="https://github.com/google/zopfli/"
|
||||
SRC_URI="https://github.com/google/zopfli/archive/${P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/${PN}-${P}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0/1"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
DOCS=( CONTRIBUTORS README README.zopflipng )
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-makefile.patch )
|
||||
|
||||
# zopflipng statically links an exact version of LodePNG (https://github.com/lvandeve/lodepng)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
tc-export CC CXX
|
||||
}
|
||||
|
||||
# The Makefile has no install phase
|
||||
src_install() {
|
||||
dolib.so libzopfli.so*
|
||||
doheader src/zopfli/zopfli.h
|
||||
|
||||
dobin ${PN}
|
||||
|
||||
# This version was erroneously not bumped to match ${PV}
|
||||
dolib.so libzopflipng.so*
|
||||
doheader src/zopflipng/zopflipng_lib.h
|
||||
|
||||
dobin zopflipng
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools bash-completion-r1
|
||||
|
||||
DESCRIPTION="A HTTP regression testing and benchmarking utility"
|
||||
HOMEPAGE="https://www.joedog.org/siege-home/"
|
||||
SRC_URI="http://download.joedog.org/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~x86 ~x64-macos"
|
||||
SLOT="0"
|
||||
IUSE="libressl ssl"
|
||||
|
||||
RDEPEND="ssl? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/libtool"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# bundled macros break recent libtool
|
||||
sed -i -e '/AC_PROG_SHELL/d' configure.ac || die
|
||||
rm *.m4 || die "failed to remove bundled macros"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
$(use_with ssl ssl "${EPREFIX}/usr")
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
dodoc AUTHORS ChangeLog INSTALL README* doc/siegerc doc/urls.txt
|
||||
|
||||
newbashcomp "${FILESDIR}"/${PN}.bash-completion ${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "An example ~/.siegerc file has been installed in"
|
||||
elog "${EPREFIX}/usr/share/doc/${PF}/"
|
||||
}
|
Binary file not shown.
@ -1,45 +0,0 @@
|
||||
commit 53289f71c53f3aa8047b34d6db9b0ca2ac35f4cb
|
||||
Author: Cédric Krier <ced@b2ck.com>
|
||||
Date: Wed Jun 7 11:29:13 2017 +0200
|
||||
|
||||
Fix OpenSSL version check for LibreSSL
|
||||
|
||||
diff --git a/plugins_tools/eid-viewer/certhelpers.c b/plugins_tools/eid-viewer/certhelpers.c
|
||||
index de9f8bf4..1e3d1ee1 100644
|
||||
--- a/plugins_tools/eid-viewer/certhelpers.c
|
||||
+++ b/plugins_tools/eid-viewer/certhelpers.c
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
#include "backend.h"
|
||||
|
||||
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
||||
#define X509_get0_extensions(ce) ((ce)->cert_info->extensions)
|
||||
#define ASN1_STRING_get0_data ASN1_STRING_data
|
||||
#endif
|
||||
diff --git a/plugins_tools/eid-viewer/verify.c b/plugins_tools/eid-viewer/verify.c
|
||||
index 04016a44..f144d2cb 100644
|
||||
--- a/plugins_tools/eid-viewer/verify.c
|
||||
+++ b/plugins_tools/eid-viewer/verify.c
|
||||
@@ -22,7 +22,7 @@
|
||||
#endif
|
||||
// All valid OCSP URLs should have the following as their prefix:
|
||||
|
||||
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
||||
#define X509_get0_extensions(ce) ((ce)->cert_info->extensions)
|
||||
|
||||
#define X509_get0_tbs_sigalg(ci) ((ci)->sig_alg)
|
||||
diff --git a/tests/unit/sign.c b/tests/unit/sign.c
|
||||
index 31a1ab7a..0e0e3011 100644
|
||||
--- a/tests/unit/sign.c
|
||||
+++ b/tests/unit/sign.c
|
||||
@@ -37,7 +37,7 @@
|
||||
#include <openssl/rsa.h>
|
||||
#include <openssl/engine.h>
|
||||
|
||||
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
||||
static int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) {
|
||||
if(!r || !n || !e) {
|
||||
return 0;
|
@ -1,75 +0,0 @@
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 393ecb3..0e14661 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -1,7 +1,7 @@
|
||||
ACLOCAL_AMFLAGS = -I scripts/m4
|
||||
EXTRA_DIST = scripts/build-aux/config.rpath scripts/build-aux/genver.sh .version debian rpm doc
|
||||
|
||||
-SUBDIRS=cardcomm/pkcs11/src doc/sdk/include/rsaref220 plugins_tools/util tests/unit plugins_tools/xpi plugins_tools/aboutmw/gtk plugins_tools/eid-viewer
|
||||
+SUBDIRS=cardcomm/pkcs11/src doc/sdk/include/rsaref220 plugins_tools/util tests/unit plugins_tools/xpi
|
||||
|
||||
xpipackage:
|
||||
$(MAKE) -C plugins_tools/xpi xpipackage
|
||||
diff --git a/cardcomm/pkcs11/src/Makefile.am b/cardcomm/pkcs11/src/Makefile.am
|
||||
index 02e4e36..86d607b 100644
|
||||
--- a/cardcomm/pkcs11/src/Makefile.am
|
||||
+++ b/cardcomm/pkcs11/src/Makefile.am
|
||||
@@ -165,7 +165,6 @@ libbeidpkcs11_la_SOURCES += \
|
||||
dialogs/dialogsgtk/single_dialog.c
|
||||
endif
|
||||
|
||||
-libexec_PROGRAMS = beid-askpin beid-changepin beid-badpin beid-askaccess beid-spr-askpin beid-spr-changepin
|
||||
|
||||
if P11KIT
|
||||
dist_p11kitcf_DATA = beid.module
|
||||
@@ -176,30 +175,4 @@ install-exec-hook:
|
||||
$(LN_S) $(libdir)/libbeidpkcs11.so.0 beidpkcs11.so
|
||||
endif
|
||||
|
||||
-beid_askpin_SOURCES = dialogs/dialogsgtk/parent.c dialogs/dialogsgtk/beid-askpin.c
|
||||
-beid_askpin_CPPFLAGS = -I$(srcdir)/dialogsgtk -I$(srcdir)/../common/src -I$(srcdir)/src @GTK_CFLAGS@ -DDATAROOTDIR='"$(datarootdir)"'
|
||||
-beid_askpin_LDADD = @GTK_LIBS@
|
||||
-
|
||||
-beid_changepin_SOURCES = dialogs/dialogsgtk/parent.c dialogs/dialogsgtk/beid-changepin.c
|
||||
-beid_changepin_CPPFLAGS = -I$(dialogsdir)/dialogsgtk -I$(dialogsdir)/../common/dialogs -I$(dialogsdir)/dialogs @GTK_CFLAGS@ -DDATAROOTDIR='"$(datarootdir)"'
|
||||
-beid_changepin_LDADD = @GTK_LIBS@
|
||||
-
|
||||
-beid_badpin_SOURCES = dialogs/dialogsgtk/parent.c dialogs/dialogsgtk/beid-badpin.c
|
||||
-beid_badpin_CPPFLAGS = -I$(dialogsdir)/dialogsgtk -I$(dialogsdir)/../common/dialogs -I$(dialogsdir)/dialogs @GTK_CFLAGS@ -DDATAROOTDIR='"$(datarootdir)"'
|
||||
-beid_badpin_LDADD = @GTK_LIBS@
|
||||
-
|
||||
-beid_askaccess_SOURCES = dialogs/dialogsgtk/parent.c dialogs/dialogsgtk/beid-askaccess.c
|
||||
-beid_askaccess_CPPFLAGS = -I$(dialogsdir)/dialogsgtk -I$(dialogsdir)/../common/dialogs -I$(dialogsdir)/dialogs @GTK_CFLAGS@ -DDATAROOTDIR='"$(datarootdir)"'
|
||||
-beid_askaccess_LDADD = @GTK_LIBS@
|
||||
-
|
||||
-beid_spr_askpin_SOURCES = dialogs/dialogsgtk/parent.c dialogs/dialogsgtk/beid-spr-askpin.c
|
||||
-beid_spr_askpin_CPPFLAGS = -I$(dialogsdir)/dialogsgtk -I$(dialogsdir)/../common/dialogs -I$(dialogsdir)/dialogs @GTK_CFLAGS@ -DDATAROOTDIR='"$(datarootdir)"'
|
||||
-beid_spr_askpin_LDADD = @GTK_LIBS@
|
||||
-
|
||||
-beid_spr_changepin_SOURCES = dialogs/dialogsgtk/parent.c dialogs/dialogsgtk/beid-spr-changepin.c
|
||||
-beid_spr_changepin_CPPFLAGS = -I$(dialogsdir)/dialogsgtk -I$(dialogsdir)/../common/dialogs -I$(dialogsdir)/dialogs @GTK_CFLAGS@ -DDATAROOTDIR='"$(datarootdir)"'
|
||||
-beid_spr_changepin_LDADD = @GTK_LIBS@
|
||||
-
|
||||
pkgconfig_DATA=libbeidpkcs11.pc
|
||||
-
|
||||
-SUBDIRS = dialogs/dialogsgtk/po
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 9bf10f9..f0120b1 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -59,14 +59,6 @@ fi
|
||||
|
||||
AC_DEFINE_UNQUOTED([HAVE_GTK], [$have_gtk], [Set to major version of libgtk])
|
||||
|
||||
-if test "$have_gtk" = "no"
|
||||
-then
|
||||
- AC_MSG_ERROR([At least one version of GTK is required.])
|
||||
-fi
|
||||
-
|
||||
-PKG_CHECK_MODULES([XML2], [libxml-2.0])
|
||||
-PKG_CHECK_MODULES([libproxy], [libproxy-1.0])
|
||||
-
|
||||
###########################################################################
|
||||
####### read user-specific requests from --enable directives ######
|
||||
###########################################################################
|
@ -1,11 +1,14 @@
|
||||
AUX yubikey-manager-0.7.0-fix-tests.patch 599 BLAKE2B 1c1bf0c540a413a6aa380d89cff2e62675a1783971b44d09d1fd006aec248ebeb63dae0ec2ab1d7128f3ed4cd159e7efd80e274689bfc9592bee1288c2b6ea49 SHA512 5c97d10946f54d47373f8aa4d5ea0680eb00203c22427a63fd9ff4a401aa8316326148b72c10442672406dc2099a767aba41d83bef240d7f67561504acf55f10
|
||||
DIST yubikey-manager-0.3.3.tar.gz 51223 BLAKE2B 41bf4e6edfb597420ebc438315c2482bf82d608e578d6adb60e1213e7445add91e7edafc246eb1041fcaefe43b22408fe39e6bfbb5f1eb2e1a6d83ffe68b2c71 SHA512 ced7acb848747399d4b9f0214044dd40c38b332c2f8557485d61f2f0cb857a9f47d12df59ea6a7bded1076b5d539bc171d1dbc9fd8899699c0cb3cb65b0800d7
|
||||
DIST yubikey-manager-0.4.5.tar.gz 55315 BLAKE2B 231706a14ba9d65474c8bd92cc57fec3f056da1e84b2303b370a7d9e29d3570283099ec30ed803ce53e6388afabee7bae4674ca34e8dc60d30e0443d4686e204 SHA512 232ce7557aaab3c8a27dfa2ceaab0491ac1f97d4332b25e7f77c968da48c9303627defd0246b1e97c7ed766e6a667ac996ac0430cfeb4e7310a0cfc4a633d1b2
|
||||
DIST yubikey-manager-0.4.6.tar.gz 55065 BLAKE2B a0e8d85252836a6d99e68f637f42397266187372b0fd0723ea6d330a01e42a2b79d9fc5f283d7fab2378fe847aaf0cb307f16694ce59f41aabd7fcc668be01fe SHA512 fd52cb346e95b3184fd8e4bbb8e227c75780d7fcf5057712c6def866ea951700f8cdd1286ff857e32754d539dfc7093d809fc585191b05c57f5f983d5b288e7e
|
||||
DIST yubikey-manager-0.5.0.tar.gz 59672 BLAKE2B e5dbd32ba644e7b20f03c1511a4ff608c0e6dc93c115edd50077a9a41699411a5fd0eff3d62af1fb13545d977037510f696cbd27150e21308624bfc8613f8bcb SHA512 3a503ced29a557c5adafdd1bc6025a405962cabab7388c96e8f5582165bd33111adeb3b77c7c928cbac905fb085d53ddaefbb12169b54e62b7337c1989636a8a
|
||||
DIST yubikey-manager-0.6.0.tar.gz 77823 BLAKE2B 37d9a7e72135ba859521f209896c47423f3573b2f14a56956d145334124f7bf5a4259401a9e89e3f19b2e01a476b96a984e801a28a256815a7773baa44e71773 SHA512 fb49887f4646fe63874be9cb3510ef0d1f9b931ac5fb78f3cc82fb93ada94b36aa06fd91e2ee9d4ea868abedfc206dbedd02fa0c4385d5557d33e07e8099e761
|
||||
DIST yubikey-manager-0.7.0.tar.gz 83385 BLAKE2B cd0c440f8ce81549e52dd8e546d82678c19d95d2257c878b48d69719031317943bcca4ee713c03ca8f3fa1de4363df629b09b005955a1217adb2dc5ce89400aa SHA512 0fec23dafd2502a1508648fc96f1dcc873eaf3ad089f87b1afd94b35391513ad3a799985fcbc201c2fb4a3a3e473d24483c04a6862117d211c4cb6b294f74be0
|
||||
EBUILD yubikey-manager-0.3.3.ebuild 736 BLAKE2B 4d8cbfd4942f9dbca49240ed76c701d2bcca2e23aa3ffdb0f5346206938ee21fa003a197161e909a14c5d08b54956ecd5aefb659f363e7ff86d1e4994f23c685 SHA512 16b96e49659f6a5a4b9b3e90a61896de9d6cbcf991e2d9a44df81c48be8f7936f5de7aec380538cbc8ed034b54617928b456b53a2c322631dda476c6e6fe2d8f
|
||||
EBUILD yubikey-manager-0.4.5.ebuild 858 BLAKE2B 4218bcdb0c21ac2624282e8d174b74080b74cc0c62d0804e836dfe6d08dec99866af2d500c27837181e7574d0abecc4c97a8f565867ecf3adbae5ef2a1bfa3aa SHA512 25ace32bacc3ea4dafcc330222cd21b327e859ce138a4a2be4f07a322860dbf503ff00f9b32cd282ff8a97ade6aac59b4b9230ec23cf78b583bec490a614ed79
|
||||
EBUILD yubikey-manager-0.4.6.ebuild 858 BLAKE2B 4218bcdb0c21ac2624282e8d174b74080b74cc0c62d0804e836dfe6d08dec99866af2d500c27837181e7574d0abecc4c97a8f565867ecf3adbae5ef2a1bfa3aa SHA512 25ace32bacc3ea4dafcc330222cd21b327e859ce138a4a2be4f07a322860dbf503ff00f9b32cd282ff8a97ade6aac59b4b9230ec23cf78b583bec490a614ed79
|
||||
EBUILD yubikey-manager-0.5.0.ebuild 858 BLAKE2B 4218bcdb0c21ac2624282e8d174b74080b74cc0c62d0804e836dfe6d08dec99866af2d500c27837181e7574d0abecc4c97a8f565867ecf3adbae5ef2a1bfa3aa SHA512 25ace32bacc3ea4dafcc330222cd21b327e859ce138a4a2be4f07a322860dbf503ff00f9b32cd282ff8a97ade6aac59b4b9230ec23cf78b583bec490a614ed79
|
||||
EBUILD yubikey-manager-0.6.0.ebuild 1206 BLAKE2B 108de94576641f16b0a706d50c6d313ce14f437416bc05fffc3593ae37024d0043f323b13a0f6e31564307652a34ba5c057f8932d79c6a2fefea7035e68dc225 SHA512 6e5d43facf6e57595d118bab7402d75504073a39a21c06475add9cb50682fc45518d8179ee90fec4c6bb2bc6cf326cd03448071da81f7be6688d76625d418c3a
|
||||
EBUILD yubikey-manager-0.7.0.ebuild 1434 BLAKE2B 0109266dcac3d0a2e3f99f10858c5a9637f23d97d9a909e49a8f8b984511a14f9a1d06b8f6d1b2f8b414fef96ce73aae982016f575a69e8074eadbaf8d7921a2 SHA512 5fb2ea58c782336d6730ab5295fc008c8b87d3ac72fb43b10c0c54a0885755b00bd641160d1491686b4cca5a7293af0fd74a17ba8cc60afe9fae39da16abdb0c
|
||||
MISC metadata.xml 466 BLAKE2B 258688bf55e0d7d5d13a45996c2177d2154626a75ffd0c5b39cbc5c3f83979a00ec1d9a993870c00785d0e1d02cdeb1dadfa38f39d91b5992c5b495f644c6253 SHA512 6355c94235c5a7a9dbe37fb954d7de5807bbd48d62921f819da7ac1c56f0214820cbf74b2f91311573f8a1726b05960d944b536fbf0e0f27fe49a5aa0a827e1b
|
||||
|
@ -0,0 +1,24 @@
|
||||
diff --git b/test/util.py a/test/util.py
|
||||
new file mode 100644
|
||||
index 0000000..0551d06
|
||||
--- /dev/null
|
||||
+++ a/test/util.py
|
||||
@@ -0,0 +1,18 @@
|
||||
+from click.testing import CliRunner
|
||||
+from ykman.cli.__main__ import cli
|
||||
+import os
|
||||
+
|
||||
+
|
||||
+PKG_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||
+
|
||||
+
|
||||
+def open_file(*relative_path):
|
||||
+ return open(os.path.join(PKG_DIR, 'files', *relative_path), 'rb')
|
||||
+
|
||||
+
|
||||
+def ykman_cli(*argv, **kwargs):
|
||||
+ runner = CliRunner()
|
||||
+ result = runner.invoke(cli, list(argv), obj={}, **kwargs)
|
||||
+ if result.exit_code != 0:
|
||||
+ raise result.exception
|
||||
+ return result.output
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
|
||||
inherit readme.gentoo-r1 distutils-r1
|
||||
|
||||
DESCRIPTION="Python library and command line tool for configuring a YubiKey"
|
||||
HOMEPAGE="https://developers.yubico.com/yubikey-manager/"
|
||||
SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/fido2[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/pyscard[${PYTHON_USEDEP}]
|
||||
dev-python/pyusb[${PYTHON_USEDEP}]
|
||||
dev-python/click[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7)
|
||||
sys-auth/ykpers
|
||||
"
|
||||
DEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
$(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' 'python2_7')
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.7.0-fix-tests.patch
|
||||
)
|
||||
|
||||
python_test() {
|
||||
touch "${S}"/test/__init__.py || die
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local DOC_CONTENTS
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
DOC_CONTENTS="
|
||||
The 'openpgp' command may require the package 'app-crypt/ccid'
|
||||
to be installed on the system. Furthermore, make sure that pcscd
|
||||
daemon is running and has correct access permissions to USB
|
||||
devices.
|
||||
"
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
}
|
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
AUX 50distel-gentoo.el 197 BLAKE2B 4c58633362840f228ff45786c2ded8811504def269f978d79f853bf556c2c673b8235203ed72b2119cf27f252fb603643562e26cb3ca7c75a4550461b9b95267 SHA512 1ed45f84dde596713c8f14b0eed011d9e2f073196f55cf355f3ad8c4b540aac94d7d4a1780a0020719b74f4eb3a610094ab5ed4e1ad142604937fbdaf50d2b6b
|
||||
DIST distel-4.0.6.tar.gz 210257 BLAKE2B 615682bfc2b773a78ad85d4817135144dda787d1db57b2743ea2fca8ed672fc1e37f6bc23803c9cc2b6096e7376d318cd7c25c3133f7b9c1326dbd451273841b SHA512 510f82b6794379d89020d234462e09251e0db285ebc111eaf096e32a4e3619384650cb2b47ed68d38762a496504b58981c73ca5b930bd0eb1407aee9599c149f
|
||||
EBUILD distel-4.0.6.ebuild 921 BLAKE2B 6e1d1f3af09d0d2f49489acf21aae5ca8c0fd68514ea98709683afe624f01571a55cc6267c4e789be1136b14c108802d226d686879e7144d4c27402a2de0d736 SHA512 5b256dd05a8b86ec0390214fa58aadd28da507b3ee5787f57a32d5cdf3d5df11b90eec076b5ec9d02a32a57c77f7685bb4572af38f5eab2f15b39ac63b3471c0
|
||||
EBUILD distel-4.0.6.ebuild 922 BLAKE2B 3c604aae95aa29fd62f69d57750217fae6dd8a41636bf0d8affca05c79abc9fa0e670be9f30336c2291a0db4259995b19652efd456c083fab08e95f560fa5b45 SHA512 013f6fcbaa8baae4e291fa1649d238351e166ad727a4545f06be15fea7603b670356cdacc72df4e3448f132fa99035a6981f1518833077317f59825cadc42fef
|
||||
MISC metadata.xml 390 BLAKE2B 995ade09d45f16251665ffd7198d296959276bcc01ae085ecaba280022e47dbb3b9f6ebbbfcdd6d5038ef7dfe7779894a25fbc32feb5953c297e20f4321f6d7b SHA512 3652b1dc7101e291fbe1a9f4a1a54fb5692ce0e345fbd1164b6c32ae57e32af90dea1b22a648e7083d7b18f4730c6338da34e9cf3688a2e9ccee134f2dcda26c
|
||||
|
@ -1,4 +1,4 @@
|
||||
AUX 60moccur-edit-gentoo.el 97 BLAKE2B e84ce2acdd1a2b4a6551bab2e0059d22591c972825ce4d93e0f8a1c0849ef94c222cae82a183c741ca67fc2c5bebc0a50bc5a561d877ec5e14922b36ebe970a7 SHA512 21f05dfd28e00f0eda98bd2668d9fe4416db39ebc50e5708ba5097fc0ff66358d17342b4b30a50a6effd86097ed79f778ec84b078de2bd106f4e0de26004d801
|
||||
DIST moccur-edit-2.16.el.bz2 4325 BLAKE2B a93b09e6a4a844ede92878f70873d56fe7e91142c8702e839b3d44b06f64daf99f73c119453d365586f18c1c69bfe962d5864d79e6c20574f344599204d82825 SHA512 dcb6e2a6336534bf475790c5b80fc86ef8a6ee6d7525a7c45a0050e0f9df3d5d4fdc52151af7ff2ef5c72785affef151c488a12e6b6d723511303bb836d03025
|
||||
EBUILD moccur-edit-2.16.ebuild 527 BLAKE2B 44b198a3963fd6edda50169bd1acb3e7a85d5945a264c185fe5b838cc6e3d790fc9ba00214c8b742d04ddd9fc4cff9536b8d669bafeeb1173878abd74ec4aed8 SHA512 dc026c155ffa2cff48d013deb00ab06337850ccb9747802f36351431f852b39d8c79d5b0f37e328c583e6871039a5014b33e3e562c7ca58fc304e57c5dbe6c73
|
||||
EBUILD moccur-edit-2.16.ebuild 528 BLAKE2B 2a52b2856e02b85f896c506a36f66eddbb63c97ee0344432dc24539073d56de608da13c566ef138070649da95349cba27c4e97f094a02625020c28ebadb39cbc SHA512 094e826c4f1d499ebb7dfb04224195af586106f6c536fdd2e70ca38f397a9db3d46a052e3a17d0514ed905378b4d1653cbbe696c5d799e032dd7436dd2c8885c
|
||||
MISC metadata.xml 259 BLAKE2B 3e6f3a8d36eff69f3dc47c089b6b31bbd853db73e3ec9e6534f068caacea5f1651547da161de8ecd712c6937cde45f5a4a39ab5025633f09c791e5a4f498a429 SHA512 9a5c456aae7919a4cdbb10b67a27c232daf2ec6db4202e04ba6d5873242fc982a659410443dd6fb4498d42af00b495acc51a6a2cbe12aeab91b585dfac7233a3
|
||||
|
@ -1,4 +1,4 @@
|
||||
AUX 50scala-mode-gentoo.el 65 BLAKE2B 90302bb73d75edce2b458ca15e3c12d284cace94257f251f4e24be3fdb825b78c48d79daa903bbc83b2be3d388468f8dea4cecb7e7ae6497c2d0f51b20c20f32 SHA512 399fa433716e4f867ebd91fb52da5ea1da503b5e6621943491ceca9c05740ee701879e9d966e2fb266e5ca05d999097b4b9413569385004454c81b8e010ec022
|
||||
DIST scala-tool-support-2.10.3.tgz 26040 BLAKE2B 7ff24aa2e16a1eb587e633839b9e6be7a146dfc99b0edaabe260a653aa931ddff6c10dea3d7bb5ad12bc3f25373f7064f20a75945badb3c3e55f4bff5991c697 SHA512 77bd695d1e577d05884a8b70d4edcc6a0af1da13de0f8cdf54d5636e0e93c22ec919ccd3d79e92382b6a9fe8085a08af37b9f5428c1ed14359faf8fc860a81b5
|
||||
EBUILD scala-mode-2.10.3.ebuild 468 BLAKE2B c1d0fe8a13e0ebe847fce502841e87c9b16cd4961d5570dc394f04a0edb386b9659419312535a31bdef527496a7d69fa7280611902d37691e6ea3941c421c662 SHA512 ea488c5a1847f5bde8e577ec1bc49385c173857afabbc6cb7d41194d7bcc61bcb9447c06a98a53c787737ed2933bd79af4c67e92cc4ccf577bf257c4994d0671
|
||||
EBUILD scala-mode-2.10.3.ebuild 470 BLAKE2B d562954f9d1ee1fa31ec5c7816eff8a33d7123eb8f54ddba04c7a6c5c9a807a2fe92dca4282e8eeec19d5fd5cf88449bfff8fe30e352905878c475aa368679a7 SHA512 589399fa85ee152cf9aacc3ba7c5f7be22989a1f122a7796e241230e1f1b8a655b970214059a71e86955531a9320d1d6a26eb102516abf190a2ec004083c2dfb
|
||||
MISC metadata.xml 259 BLAKE2B 3e6f3a8d36eff69f3dc47c089b6b31bbd853db73e3ec9e6534f068caacea5f1651547da161de8ecd712c6937cde45f5a4a39ab5025633f09c791e5a4f498a429 SHA512 9a5c456aae7919a4cdbb10b67a27c232daf2ec6db4202e04ba6d5873242fc982a659410443dd6fb4498d42af00b495acc51a6a2cbe12aeab91b585dfac7233a3
|
||||
|
Binary file not shown.
@ -1,28 +0,0 @@
|
||||
###########
|
||||
# WARNING #
|
||||
###########
|
||||
#
|
||||
# This file is provided for backwards compatibility only. The Apache
|
||||
# PHP configuration is now located in 70_mod_php.conf and requires you
|
||||
# to set -DPHP in your Apache conf.d file. Please examine
|
||||
# 70_mod_php.conf and update your Apache configuration to use -DPHP
|
||||
# instead of -DPHP5. Afterwards you may delete this file.
|
||||
#
|
||||
<IfDefine PHP5>
|
||||
# Load the module first
|
||||
<IfModule !mod_php5.c>
|
||||
LoadModule php5_module modules/libphp5.so
|
||||
</IfModule>
|
||||
|
||||
# Set it to handle the files
|
||||
# NOTE: Avoiding AddHandler/AddType for security (bug #538822)
|
||||
# NOTE: Please read the related news item!
|
||||
<FilesMatch "\.(php|php5|phtml)$">
|
||||
SetHandler application/x-httpd-php
|
||||
</FilesMatch>
|
||||
<FilesMatch "\.phps$">
|
||||
SetHandler application/x-httpd-php-source
|
||||
</FilesMatch>
|
||||
|
||||
DirectoryIndex index.php index.phtml
|
||||
</IfDefine>
|
Binary file not shown.
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST pdf2htmlEX-0.14.6.2.tgz 9066685 BLAKE2B b139f72c806e432facce5472e55a23567e74204829956d06bd9ead0426cbadad4ce36c581fb1d39c96eeef27fb416b2c6387dff7b0ca08b10479de24b8ffdc9b SHA512 03d04437386b2eb83530551ff15ce9d21b7990127fa659d204a269405f0d49912c622687eb6920cc4e88be8e94ab41024b378663effb61d1eda905eeb98093d3
|
||||
DIST pdf2htmlEX-0.14.6.tgz 8955179 BLAKE2B 68a474a0afce7e505af0331c7a05e745d0c18057c0e9dab0f57f8455b36489c399985d2f69cbebc2c3df3264ee1eef43346df49ff9ac3fae7edd3bbff884c6d2 SHA512 0bef898653755da3d731a99f2850d11a686a1db589c615216c84dcac76f3a3c41f561732fe37be262cfec3f65970b2704819c3bd4d94d87cd63d26f062dacf50
|
||||
EBUILD pdf2htmlEX-0.14.6.2.ebuild 979 BLAKE2B d91ed9b11885a230ed270e5b6d607f3ee46a622ccb9486fc00bda81b58c5555c4ba34eb8852bde4e5e0953aa301fe6a9f2ccf9e22db5ab276d1134ff52bb5622 SHA512 01a3ce13e12befe178c77253dac2787fac6aee446c93a0dd3bb6b35fb2d53b9e83b35814229d260f2be6ac24012ce2bcb16f88889db06625fe182f1608f94dca
|
||||
EBUILD pdf2htmlEX-0.14.6.2.ebuild 991 BLAKE2B b020d13ec939340d673d715b8428598d1b9b6baa2015ac99afef728f2b8799d8416ca1581bfe31b183146cfdb9962ec0c534b14b20b4083f96faa242d2bcd5a8 SHA512 2a181bd3573e23a583c8251b5fbea65d1992bf9447bb6b720cd0b7cefabde02885dd4ba47144de3f3cd03b18809a82bd8c43200e02a5d1aeea314ffe3fcf6a2e
|
||||
EBUILD pdf2htmlEX-0.14.6.ebuild 559 BLAKE2B fc566297c6a7fd57a4bb36f74ceccac62dfaa3a0d3b18469420171b92cddfecccd418dd9d8a8e3a5eff35d7504f50b84cb026764c28ed3d9ca38fe0be248dfd0 SHA512 a903ef5c199c68c8eb5243dd1abcedf0bbad5d7b13132ada1affc18a635e27ca1f52b075c2221dd67e5a5a69fbc85d2ab1a1a0fcbf0398e91bb705b3343f0a60
|
||||
MISC metadata.xml 355 BLAKE2B da386c9bf8cf6684e23a3bf7638d341b7f8872ecc7d733b946ae697e9e13096df65398f6d4b2d4594b47eba7ec1e482dc8ab14a69395ed1a32c00cdc7d91c2b5 SHA512 c416fe8d4c3edf1055170e0c4cd84fa9da19437c6eab58fde5198561048018ae6b9387d52017dfbc38db717ef370fc70a1dcc0eb37c8843b4e65cfa7e80314ff
|
||||
|
Binary file not shown.
@ -1,5 +1,7 @@
|
||||
DIST SchemaSync-0.9.2.tar.gz 12828 BLAKE2B 050a027376282816bef34d6a7e146e590c5ebc279649f03d65129d33b9941c08aeb7bb58a302b9a77a62c8b7820b8dcbd6bc783c2405a25a4baca863baa53d3e SHA512 4f2522c05e3cf0957fe0d51cc48f3a45fd8eaeb341801bfdeb32bb7e959e8a250a84a162b80853f2010a99a932ef7d1b556579f7c77971f0e9a3e0fa87531599
|
||||
DIST SchemaSync-0.9.4.tar.gz 13824 BLAKE2B d98cd5cc0d6275ac5e4bb0272f4ab2879f4639b0e2986c175297ab3cc60930f63c3288cc2c3194784078958749c8e95a9e9ecdf660e071a61caac37b9659f2e3 SHA512 0087f5f634d2374def5e1dd2dd8d6d57d3fca9322bba23aee461487053233dba30ce889a87747ce2c11bd9a7e08418d619e9fd8b910ea303987b57bac7609248
|
||||
DIST SchemaSync-0.9.5.tar.gz 13973 BLAKE2B e76dd4e2e69875dedafed44214b6e30db6e71f4ee62a4bcd1cf1592c6727ae9d6f70190aa288559594d278b3962f8cb91eeb3d4b4b9014737be8b6b37acc9e84 SHA512 8ee37c099de8e3627d3d708c5642e4e0b7304306002bfa82d24cd2a733539bd0d5144d6afd18dd06e229a87b05ee569fe2febc727785a085bb32169581805934
|
||||
EBUILD SchemaSync-0.9.2-r1.ebuild 568 BLAKE2B a88730eb8d9f71df54ab1f617f1166f638ed530dbe168d7439409e614c968054939e3f5dbf7b212977250baf384d05f23cdba82023d2f64cd24360bfee03a9ce SHA512 6c7501e38ab17d0bfe24f78338e525415aac6f81bce0423e6db1dc2787ef43f82f8788f61cdd6de6d9916348332ca9d9fc4743b1fa15f16903ef6cb63acd84c8
|
||||
EBUILD SchemaSync-0.9.4.ebuild 550 BLAKE2B 550326591dcea19d82af7373fc5a1bd13356054bf679b1d01ee57ca05fd9b04989f0b24d07aacb879c5f475f2b8eedd0e3520fd5d1b14345caca7a16d5f24bb4 SHA512 620a7eecfdb121ef9d9076e7978921d07766e2fe3b54b02d2947fa6803be81c1dffcbcf73d9a8a66270320d538ec4194aead79af1d02f1c74d61cf1eb06c490b
|
||||
EBUILD SchemaSync-0.9.5.ebuild 550 BLAKE2B aeb421fbd4f55f0c0afd1ad5bb3c600d455413fcb56d1a953874653689c9c3b9010360b7f13bf299013a141917b69521c91b836c9fc23b1efa04ec7001786796 SHA512 252e8d0e8b3cac03f0a3f180f3adc3633dd77c5e4562f7f7ec4f8a84236e2ed2492c573e0849f4cf10c0e0eaaf1df30c18bb999984fd3cb4280736a10f3df49a
|
||||
MISC metadata.xml 384 BLAKE2B 124298e3a428e69e9fd9b204453ddc37d5e283bc9c5fdb2565c7c876b2b1f95fb9bf0c3485089b971f0f486d74b4d2674647098ed0bc6803266067964bd9cc75 SHA512 8b370f82a807086da710e4af1e39a5e6e9b2cc06e89171c91d2516ad96fd5e5f8f96ff745943123368bf9773a0408f6563a5eee38ec36fab38e872ad08120960
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="MySQL Schema Versioning and Migration Utility"
|
||||
HOMEPAGE="https://github.com/mmatuson/SchemaSync"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/mysql-python[${PYTHON_USEDEP}]
|
||||
dev-python/SchemaObject[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
@ -1,43 +0,0 @@
|
||||
diff -aurN a/cmake/FindMySQL.cmake b/cmake/FindMySQL.cmake
|
||||
--- a/cmake/FindMySQL.cmake 2016-11-29 07:40:13.000000000 -0500
|
||||
+++ b/cmake/FindMySQL.cmake 2017-02-17 13:59:18.115389096 -0500
|
||||
@@ -747,7 +747,7 @@
|
||||
endif()
|
||||
|
||||
if(NOT MYSQL_CXXFLAGS)
|
||||
- if(MYSQL_CXX_LINKAGE OR MYSQL_VERSION_ID GREATER 50603)
|
||||
+ if(MYSQL_CXX_LINKAGE)
|
||||
_mysql_conf(MYSQL_CXXFLAGS "--cxxflags")
|
||||
set(MYSQL_CXX_LINKAGE 1)
|
||||
else()
|
||||
diff -aurN a/CMakeLists.txt b/CMakeLists.txt
|
||||
--- a/CMakeLists.txt 2017-02-17 13:50:43.556006202 -0500
|
||||
+++ b/CMakeLists.txt 2017-02-17 13:57:15.745676184 -0500
|
||||
@@ -242,10 +242,9 @@
|
||||
SET(EXECUTABLE_OUTPUT_PATH "${CMAKE_BINARY_DIR}/bin")
|
||||
SET(LIBRARY_OUTPUT_PATH "${CMAKE_BINARY_DIR}/lib")
|
||||
|
||||
-SET(LIB_SUBDIR "lib")
|
||||
-IF(RPM_BUILD AND CMAKE_SYSTEM_PROCESSOR MATCHES "(x86_64|ppc64|ppc64p7|s390x|sparc64)")
|
||||
- SET(LIB_SUBDIR "lib64")
|
||||
-ENDIF()
|
||||
+IF(NOT LIB_SUBDIR)
|
||||
+ MESSAGE(ERROR "LIB_SUBDIR is not set")
|
||||
+ENDIF(NOT LIB_SUBDIR)
|
||||
|
||||
MESSAGE(STATUS "Installation library subdir: ${LIB_SUBDIR}")
|
||||
|
||||
diff -aurN a/cmake/FindMySQL.cmake b/cmake/FindMySQL.cmake
|
||||
--- a/cmake/FindMySQL.cmake 2017-02-17 14:44:29.532733308 -0500
|
||||
+++ b/cmake/FindMySQL.cmake 2017-02-17 14:48:56.756740330 -0500
|
||||
@@ -270,8 +270,8 @@
|
||||
set(_static_lib_ext ".lib") # Careful, can be import library for DLL
|
||||
elseif(MYSQLCLIENT_NO_THREADS)
|
||||
# In 5.1 and below there is a single threaded library
|
||||
- set(_dynamic_libs "mysqlclient")
|
||||
- set(_static_libs "libmysqlclient.a")
|
||||
+ set(_dynamic_libs "${MYSQLCLIENT_LIB_NAME}")
|
||||
+ set(_static_libs "lib${MYSQLCLIENT_LIB_NAME}.a")
|
||||
set(_static_lib_ext ".a")
|
||||
else()
|
||||
# We try the multithreaded "libmysqlclient_r" first and if not
|
@ -1,93 +0,0 @@
|
||||
diff -aurN a/driver/connect.c b/driver/connect.c
|
||||
--- a/driver/connect.c 2016-11-29 07:40:13.000000000 -0500
|
||||
+++ b/driver/connect.c 2017-02-17 16:14:48.116640371 -0500
|
||||
@@ -510,11 +510,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
-#if MYSQL_VERSION_ID >= 50709
|
||||
- mysql_get_option(mysql, MYSQL_OPT_NET_BUFFER_LENGTH, &dbc->net_buffer_length);
|
||||
+#if MYSQL_VERSION_ID >= 50709 && !defined(MARIADB_BASE_VERSION)
|
||||
+ mysql_get_option(mysql, MYSQL_OPT_NET_BUFFER_LENGTH, &dbc->net_buffer_length_value);
|
||||
#else
|
||||
// for older versions just use net_buffer_length() macro
|
||||
- dbc->net_buffer_length = net_buffer_length;
|
||||
+ dbc->net_buffer_length_value = net_buffer_length;
|
||||
#endif
|
||||
return rc;
|
||||
|
||||
diff -aurN a/driver/cursor.c b/driver/cursor.c
|
||||
--- a/driver/cursor.c 2016-11-29 07:40:13.000000000 -0500
|
||||
+++ b/driver/cursor.c 2017-02-17 16:13:19.163299885 -0500
|
||||
@@ -1485,7 +1485,7 @@
|
||||
We have a limited capacity to shove data across the wire, but
|
||||
we handle this by sending in multiple calls to exec_stmt_query()
|
||||
*/
|
||||
- if (ext_query->length + length >= (SQLULEN) stmt->dbc->net_buffer_length)
|
||||
+ if (ext_query->length + length >= (SQLULEN) stmt->dbc->net_buffer_length_value)
|
||||
{
|
||||
break_insert= TRUE;
|
||||
break;
|
||||
diff -aurN a/driver/driver.h b/driver/driver.h
|
||||
--- a/driver/driver.h 2016-11-29 07:40:13.000000000 -0500
|
||||
+++ b/driver/driver.h 2017-02-17 16:10:57.072950723 -0500
|
||||
@@ -378,7 +378,7 @@
|
||||
int txn_isolation;
|
||||
uint port;
|
||||
uint cursor_count;
|
||||
- ulong net_buffer_length;
|
||||
+ ulong net_buffer_length_value;
|
||||
uint commit_flag;
|
||||
#ifdef THREAD
|
||||
myodbc_mutex_t lock;
|
||||
diff -aurN a/driver/info.c b/driver/info.c
|
||||
--- a/driver/info.c 2016-11-29 07:40:13.000000000 -0500
|
||||
+++ b/driver/info.c 2017-02-17 16:12:54.315763441 -0500
|
||||
@@ -587,7 +587,7 @@
|
||||
MYINFO_SET_USHORT(0);
|
||||
|
||||
case SQL_MAX_STATEMENT_LEN:
|
||||
- MYINFO_SET_ULONG(dbc->net_buffer_length);
|
||||
+ MYINFO_SET_ULONG(dbc->net_buffer_length_value);
|
||||
|
||||
case SQL_MAX_TABLE_NAME_LEN:
|
||||
MYINFO_SET_USHORT(NAME_LEN);
|
||||
diff -aurN a/driver/connect.c b/driver/connect.c
|
||||
--- a/driver/connect.c 2017-02-17 16:16:14.609026769 -0500
|
||||
+++ b/driver/connect.c 2017-02-17 16:34:29.637592664 -0500
|
||||
@@ -179,7 +179,7 @@
|
||||
/* Set other connection options */
|
||||
|
||||
if (ds->allow_big_results || ds->safe)
|
||||
-#if MYSQL_VERSION_ID >= 50709
|
||||
+#if MYSQL_VERSION_ID >= 50709 && !defined(MARIADB_BASE_VERSION)
|
||||
mysql_options(mysql, MYSQL_OPT_MAX_ALLOWED_PACKET, &max_long);
|
||||
#else
|
||||
/* max_allowed_packet is a magical mysql macro. */
|
||||
@@ -252,7 +252,7 @@
|
||||
ds_get_utf8attr(ds->rsakey, &ds->rsakey8));
|
||||
}
|
||||
|
||||
-#if MYSQL_VERSION_ID >= 50710
|
||||
+#if MYSQL_VERSION_ID >= 50710 && !defined(MARIADB_BASE_VERSION)
|
||||
{
|
||||
char tls_options[128] = { 0 };
|
||||
if (!ds->no_tls_1)
|
||||
@@ -323,7 +323,7 @@
|
||||
#endif
|
||||
|
||||
mysql->options.use_ssl = !ds->disable_ssl_default;
|
||||
-#if MYSQL_VERSION_ID >= 50703
|
||||
+#if MYSQL_VERSION_ID >= 50703 && !defined(MARIADB_BASE_VERSION)
|
||||
{
|
||||
if (ds->ssl_enforce)
|
||||
{
|
||||
@@ -332,7 +332,7 @@
|
||||
}
|
||||
#endif
|
||||
|
||||
-#if MYSQL_VERSION_ID >= 50711
|
||||
+#if MYSQL_VERSION_ID >= 50711 && !defined(MARIADB_BASE_VERSION)
|
||||
if (ds->sslmode)
|
||||
{
|
||||
unsigned int mode = 0;
|
@ -1,96 +0,0 @@
|
||||
diff -aurN a/driver/catalog_no_i_s.c b/driver/catalog_no_i_s.c
|
||||
--- a/driver/catalog_no_i_s.c 2016-11-29 07:40:13.000000000 -0500
|
||||
+++ b/driver/catalog_no_i_s.c 2017-02-17 14:07:03.979683613 -0500
|
||||
@@ -1093,7 +1093,11 @@
|
||||
unsigned long *lengths;
|
||||
SQLRETURN rc= SQL_SUCCESS;
|
||||
|
||||
+#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID > 100001
|
||||
+ myodbc_init_dynamic_array(&records, sizeof(MY_FOREIGN_KEY_FIELD), 0, 0, MYF(0));
|
||||
+#else
|
||||
myodbc_init_dynamic_array(&records, sizeof(MY_FOREIGN_KEY_FIELD), 0, 0);
|
||||
+#endif
|
||||
|
||||
/* Get the list of tables that match szCatalog and szTable */
|
||||
myodbc_mutex_lock(&stmt->dbc->lock);
|
||||
diff -aurN a/driver/desc.c b/driver/desc.c
|
||||
--- a/driver/desc.c 2016-11-29 07:40:13.000000000 -0500
|
||||
+++ b/driver/desc.c 2017-02-17 14:09:30.139954232 -0500
|
||||
@@ -63,13 +63,21 @@
|
||||
but in desc_get_rec we manually get a pointer to it. This avoids
|
||||
having to call set_dynamic after modifying the DESCREC.
|
||||
*/
|
||||
+#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID > 100001
|
||||
+ if (myodbc_init_dynamic_array(&desc->records, sizeof(DESCREC), 0, 0, MYF(0)))
|
||||
+#else
|
||||
if (myodbc_init_dynamic_array(&desc->records, sizeof(DESCREC), 0, 0))
|
||||
+#endif
|
||||
{
|
||||
x_free((char *)desc);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
+#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID > 100001
|
||||
+ if (myodbc_init_dynamic_array(&desc->bookmark, sizeof(DESCREC), 0, 0, MYF(0)))
|
||||
+#else
|
||||
if (myodbc_init_dynamic_array(&desc->bookmark, sizeof(DESCREC), 0, 0))
|
||||
+#endif
|
||||
{
|
||||
delete_dynamic(&desc->records);
|
||||
x_free((char *)desc);
|
||||
@@ -997,7 +1005,11 @@
|
||||
delete_dynamic(&dest->records);
|
||||
if (myodbc_init_dynamic_array(&dest->records, sizeof(DESCREC),
|
||||
src->records.max_element,
|
||||
+#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID > 100001
|
||||
+ src->records.alloc_increment, MYF(0)))
|
||||
+#else
|
||||
src->records.alloc_increment))
|
||||
+#endif
|
||||
{
|
||||
return set_desc_error(dest, "HY001",
|
||||
"Memory allocation error",
|
||||
diff -aurN a/driver/handle.c b/driver/handle.c
|
||||
--- a/driver/handle.c 2016-11-29 07:40:13.000000000 -0500
|
||||
+++ b/driver/handle.c 2017-02-17 14:10:32.078797593 -0500
|
||||
@@ -409,7 +409,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
+#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID > 100001
|
||||
+ myodbc_init_dynamic_array(*param_bind, sizeof(MYSQL_BIND), elements, 10, MYF(0));
|
||||
+#else
|
||||
myodbc_init_dynamic_array(*param_bind, sizeof(MYSQL_BIND), elements, 10);
|
||||
+#endif
|
||||
memset((*param_bind)->buffer, 0, sizeof(MYSQL_BIND) *
|
||||
(*param_bind)->max_element);
|
||||
|
||||
diff -aurN a/driver/parse.c b/driver/parse.c
|
||||
--- a/driver/parse.c 2016-11-29 07:40:13.000000000 -0500
|
||||
+++ b/driver/parse.c 2017-02-17 14:12:00.638143846 -0500
|
||||
@@ -139,8 +139,13 @@
|
||||
|
||||
/* TODO: Store offsets rather than ptrs. In this case we will be fine
|
||||
if work with copy of the originally parsed string */
|
||||
+#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID > 100001
|
||||
+ myodbc_init_dynamic_array(&pq->token, sizeof(uint), 20, 10, MYF(0));
|
||||
+ myodbc_init_dynamic_array(&pq->param_pos, sizeof(uint), 10, 10, MYF(0));
|
||||
+#else
|
||||
myodbc_init_dynamic_array(&pq->token, sizeof(uint), 20, 10);
|
||||
myodbc_init_dynamic_array(&pq->param_pos, sizeof(uint), 10, 10);
|
||||
+#endif
|
||||
}
|
||||
|
||||
return pq;
|
||||
diff -aurN a/MYODBC_MYSQL.h b/MYODBC_MYSQL.h
|
||||
--- a/MYODBC_MYSQL.h 2016-11-29 07:40:13.000000000 -0500
|
||||
+++ b/MYODBC_MYSQL.h 2017-02-17 15:04:47.153994839 -0500
|
||||
@@ -44,7 +44,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef THREAD
|
||||
-#if MYSQL_VERSION_ID < 50703
|
||||
+#if MYSQL_VERSION_ID < 50703 || defined(MARIADB_BASE_VERSION)
|
||||
#include <my_pthread.h>
|
||||
#define myodbc_mutex_t pthread_mutex_t
|
||||
#define myodbc_key_t pthread_key_t
|
@ -1,5 +1,7 @@
|
||||
DIST pgadmin4-2.0.tar.gz 24988176 BLAKE2B 96e942d5001b1d590fb1b642933c665a13bca5429d3a3e74eefe4a8090c76515cc08b656ebfea3a170b4fa6077d7086fbffdd5fddfcb517be08fd4ecc20052ab SHA512 463e95a341dec74ac0a08a647af1cbe83b514b0595b8469ab9c7b5335e24604e082b906d530aa735fef7b08c58d8a8a6df3edf5dc65402f6521165f1cbb72f67
|
||||
DIST pgadmin4-2.1.tar.gz 27842212 BLAKE2B 26c12dff8e2e5e37dd2911f6eb582a0f706d73490c8d93e83b07b7537fc201547d095d4f34181d2502bbc29b2741614adabf876b7e6ea3ef5f555eab94caa240 SHA512 02bc122ae53db595a1fd395e634fc4d0891f024a2e5e341c81b306a8c1d07bc18e5673cda440c7ba56754be4902ae4441010db0140132352e12b8986c8c0f47c
|
||||
DIST pgadmin4-3.0.tar.gz 28915010 BLAKE2B 7e6dccd91f082f7b5514f5d3abdf4653a9961b4efc706e10ce58d817785d514508233e25068762fe0e4bca4c1a3cf10a2515afa38e6f9ba3c99b4af3fa32f3d2 SHA512 5921340176e6748ef13112d906061f195d4bb2f73917d762371bbaeb44ef66cf8e0edcd1cd241eb78dae46ed0b3af014c749468a930fb0c0983b38b2c54dfc3a
|
||||
EBUILD pgadmin4-2.0-r1.ebuild 3428 BLAKE2B f113a801d23cc94c8b3f56c52489e0d7725d3337f46dd24515ccb9a74e4c9320c1c508fc49410b27a53caf356c7d9b82bf98f1f0df8ac0618b89e9e9eaa05d02 SHA512 41c09ba0a15af4ce615deb72f9e944ddbf89515900c02a026f9ee4c42e21c2e409f2940842343441067864fad0d735db1e1993d5770a66501afa045879c14d64
|
||||
EBUILD pgadmin4-2.1.ebuild 3432 BLAKE2B 150010a6b6abbd2dae6a362883a24c1b2a13a62301489ef4a6073801de25e7c6b9792beb542306393c8fe1b598dcb2125bef88e03020de0a61688edb76a78578 SHA512 493c026a3bc156a92f5253ac96aa30891d8c644463196ab603daed5cfa9536fdb99e786dd07cfaafa31b1eb782040e6711d9e8a541211aa905e57227309843fa
|
||||
EBUILD pgadmin4-3.0.ebuild 3480 BLAKE2B 7f46411f73af5af0e32047943ff6fc384615614bdbf2d80c289b4ee4cc4ad9854a0d827c710fca89c5394f1857883b4af13914ffb2c316ff0b8b741d10f3e38e SHA512 9d82b57a2d3a24d317838d9806c38aa9c6c09b4d35b6bca16275f6fc971fa2c2f6ea2f73eff0fc9db68d5a670865a70a338fe9293ffa87326ef6408654e2143f
|
||||
MISC metadata.xml 266 BLAKE2B 9d5988ab45f9939f9be5ee7f4b7a9950a3d62252aa0d3e6c953265467428c59fb8c05b2bb72085431b7aa9fc18d31f2b3273e8fdb33443d786b2237db697b7e2 SHA512 9f85990c7ce6a1de5c1067e4781af18bede2d3bd02963a7b2927766b70dbe98d3fb63bb01e19b1cf6e2b77038d9788bf38155b3cc33f9e5ff8430b10a4006325
|
||||
|
@ -0,0 +1,123 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_{4,5} )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
|
||||
inherit python-single-r1 qmake-utils
|
||||
|
||||
DESCRIPTION="GUI administration and development platform for PostgreSQL"
|
||||
HOMEPAGE="http://www.pgadmin.org/"
|
||||
SRC_URI="mirror://postgresql/pgadmin/${PN}/v${PV}/source/${P}.tar.gz"
|
||||
|
||||
LICENSE="POSTGRESQL"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE="doc"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
COMMON_DEPEND="${PYTHON_DEPS}
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtwebkit:5
|
||||
dev-qt/qtwebengine:5[widgets]
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
>=app-text/htmlmin-0.1.12[${PYTHON_USEDEP}]
|
||||
>=dev-python/Babel-2.3.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/beautifulsoup-4.4.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/blinker-1.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/click-6.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/extras-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-0.12.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-babel-0.11.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-babelex-0.9.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-gravatar-0.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-htmlmin-1.3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-login-0.3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-mail-0.9.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-migrate-2.1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-paranoid-0.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-principal-0.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-security-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-sqlalchemy-2.3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-wtf-0.14.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/html5lib-1.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/itsdangerous-0.24[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-2.7.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/linecache2-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/markupsafe-0.23[${PYTHON_USEDEP}]
|
||||
>=dev-python/mimeparse-1.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/passlib-1.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-3.1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/psycopg-2.7.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycrypto-2.6.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyrsistent-0.14.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-sqlparse-0.2.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytz-2018.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/simplejson-3.13.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.11.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/speaklater-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-1.2.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/werkzeug-0.9.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/wtforms-2.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
S="${WORKDIR}"/${P}/runtime
|
||||
|
||||
src_prepare() {
|
||||
cd "${WORKDIR}"/${P} || die
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
if use doc; then
|
||||
cd "${WORKDIR}"/${P} || die
|
||||
emake docs
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin pgAdmin4
|
||||
|
||||
cd "${WORKDIR}"/${P} || die
|
||||
|
||||
local APP_DIR=/usr/share/${PN}/web
|
||||
insinto "${APP_DIR}"
|
||||
doins -r web/*
|
||||
cat > "${D}${APP_DIR}"/config_local.py <<-EOF
|
||||
SERVER_MODE = False
|
||||
UPGRADE_CHECK_ENABLED = False
|
||||
EOF
|
||||
python_optimize "${D}${APP_DIR}"
|
||||
|
||||
local CONFIG_DIR="/etc/xdg/pgadmin"
|
||||
dodir "${CONFIG_DIR}"
|
||||
cat > "${D}${CONFIG_DIR}"/pgadmin4.conf <<-EOF
|
||||
[General]
|
||||
ApplicationPath=${APP_DIR}
|
||||
PythonPath=$(python_get_sitedir)
|
||||
EOF
|
||||
|
||||
if use doc; then
|
||||
rm -r docs/en_US/_build/html/_sources || die
|
||||
insinto /usr/share/${PN}/docs/en_US/_build
|
||||
doins -r docs/en_US/_build/html
|
||||
fi
|
||||
}
|
@ -1,143 +0,0 @@
|
||||
diff -Naur a/contrib/Makefile b/contrib/Makefile
|
||||
--- a/contrib/Makefile 2012-05-10 18:35:09.000000000 -0400
|
||||
+++ b/contrib/Makefile 2012-05-20 09:33:47.892622992 -0400
|
||||
@@ -5,58 +5,10 @@
|
||||
include $(top_builddir)/src/Makefile.global
|
||||
|
||||
SUBDIRS = \
|
||||
- adminpack \
|
||||
- auth_delay \
|
||||
- auto_explain \
|
||||
- btree_gin \
|
||||
- btree_gist \
|
||||
- chkpass \
|
||||
- citext \
|
||||
- cube \
|
||||
- dblink \
|
||||
- dict_int \
|
||||
- dict_xsyn \
|
||||
- dummy_seclabel \
|
||||
- earthdistance \
|
||||
- file_fdw \
|
||||
- fuzzystrmatch \
|
||||
- hstore \
|
||||
- intagg \
|
||||
- intarray \
|
||||
- isn \
|
||||
- lo \
|
||||
- ltree \
|
||||
oid2name \
|
||||
- pageinspect \
|
||||
- passwordcheck \
|
||||
- pg_archivecleanup \
|
||||
- pg_buffercache \
|
||||
- pg_freespacemap \
|
||||
- pg_standby \
|
||||
- pg_stat_statements \
|
||||
- pg_test_fsync \
|
||||
- pg_test_timing \
|
||||
- pg_trgm \
|
||||
- pg_upgrade \
|
||||
- pg_upgrade_support \
|
||||
pgbench \
|
||||
- pgcrypto \
|
||||
- pgrowlocks \
|
||||
- pgstattuple \
|
||||
- seg \
|
||||
- spi \
|
||||
- tablefunc \
|
||||
- tcn \
|
||||
- test_parser \
|
||||
- tsearch2 \
|
||||
- unaccent \
|
||||
vacuumlo
|
||||
|
||||
-ifeq ($(with_openssl),yes)
|
||||
-SUBDIRS += sslinfo
|
||||
-else
|
||||
-ALWAYS_SUBDIRS += sslinfo
|
||||
-endif
|
||||
|
||||
ifeq ($(with_ossp_uuid),yes)
|
||||
SUBDIRS += uuid-ossp
|
||||
diff -Naur a/src/backend/Makefile b/src/backend/Makefile
|
||||
--- a/src/backend/Makefile 2012-05-10 18:35:09.000000000 -0400
|
||||
+++ b/src/backend/Makefile 2012-05-20 09:36:24.446654842 -0400
|
||||
@@ -45,7 +45,7 @@
|
||||
|
||||
##########################################################################
|
||||
|
||||
-all: submake-libpgport submake-schemapg postgres $(POSTGRES_IMP)
|
||||
+all: someheaders
|
||||
|
||||
ifneq ($(PORTNAME), cygwin)
|
||||
ifneq ($(PORTNAME), win32)
|
||||
@@ -114,7 +114,7 @@
|
||||
endif # aix
|
||||
|
||||
# Update the commonly used headers before building the subdirectories
|
||||
-$(SUBDIRS:%=%-recursive): $(top_builddir)/src/include/parser/gram.h $(top_builddir)/src/include/catalog/schemapg.h $(top_builddir)/src/include/utils/fmgroids.h $(top_builddir)/src/include/utils/errcodes.h $(top_builddir)/src/include/utils/probes.h
|
||||
+someheaders $(SUBDIRS:%=%-recursive): $(top_builddir)/src/include/parser/gram.h $(top_builddir)/src/include/catalog/schemapg.h $(top_builddir)/src/include/utils/fmgroids.h $(top_builddir)/src/include/utils/errcodes.h $(top_builddir)/src/include/utils/probes.h
|
||||
|
||||
# run this unconditionally to avoid needing to know its dependencies here:
|
||||
submake-schemapg:
|
||||
@@ -207,23 +207,7 @@
|
||||
|
||||
##########################################################################
|
||||
|
||||
-install: all installdirs install-bin
|
||||
-ifeq ($(PORTNAME), cygwin)
|
||||
-ifeq ($(MAKE_DLL), true)
|
||||
- $(INSTALL_DATA) libpostgres.a '$(DESTDIR)$(libdir)/libpostgres.a'
|
||||
-endif
|
||||
-endif
|
||||
-ifeq ($(PORTNAME), win32)
|
||||
-ifeq ($(MAKE_DLL), true)
|
||||
- $(INSTALL_DATA) libpostgres.a '$(DESTDIR)$(libdir)/libpostgres.a'
|
||||
-endif
|
||||
-endif
|
||||
- $(MAKE) -C catalog install-data
|
||||
- $(MAKE) -C tsearch install-data
|
||||
- $(INSTALL_DATA) $(srcdir)/libpq/pg_hba.conf.sample '$(DESTDIR)$(datadir)/pg_hba.conf.sample'
|
||||
- $(INSTALL_DATA) $(srcdir)/libpq/pg_ident.conf.sample '$(DESTDIR)$(datadir)/pg_ident.conf.sample'
|
||||
- $(INSTALL_DATA) $(srcdir)/utils/misc/postgresql.conf.sample '$(DESTDIR)$(datadir)/postgresql.conf.sample'
|
||||
- $(INSTALL_DATA) $(srcdir)/access/transam/recovery.conf.sample '$(DESTDIR)$(datadir)/recovery.conf.sample'
|
||||
+install:
|
||||
|
||||
install-bin: postgres $(POSTGRES_IMP) installdirs
|
||||
$(INSTALL_PROGRAM) postgres$(X) '$(DESTDIR)$(bindir)/postgres$(X)'
|
||||
diff -Naur a/src/bin/Makefile b/src/bin/Makefile
|
||||
--- a/src/bin/Makefile 2012-05-10 18:35:09.000000000 -0400
|
||||
+++ b/src/bin/Makefile 2012-05-20 09:41:18.489958216 -0400
|
||||
@@ -13,8 +13,7 @@
|
||||
top_builddir = ../..
|
||||
include $(top_builddir)/src/Makefile.global
|
||||
|
||||
-SUBDIRS = initdb pg_ctl pg_dump \
|
||||
- psql scripts pg_config pg_controldata pg_resetxlog pg_basebackup
|
||||
+SUBDIRS = pg_dump psql scripts pg_config
|
||||
|
||||
ifeq ($(PORTNAME), win32)
|
||||
SUBDIRS += pgevent
|
||||
diff -Naur a/src/Makefile b/src/Makefile
|
||||
--- a/src/Makefile 2012-05-10 18:35:09.000000000 -0400
|
||||
+++ b/src/Makefile 2012-05-20 09:40:13.532774840 -0400
|
||||
@@ -14,17 +14,11 @@
|
||||
|
||||
SUBDIRS = \
|
||||
port \
|
||||
- timezone \
|
||||
backend \
|
||||
- backend/utils/mb/conversion_procs \
|
||||
- backend/snowball \
|
||||
include \
|
||||
interfaces \
|
||||
- backend/replication/libpqwalreceiver \
|
||||
bin \
|
||||
- pl \
|
||||
- makefiles \
|
||||
- test/regress
|
||||
+ makefiles
|
||||
|
||||
# There are too many interdependencies between the subdirectories, so
|
||||
# don't attempt parallel make here.
|
@ -1,65 +0,0 @@
|
||||
# Directory that contains the unix socket. Created and controlled by
|
||||
# the related initscript. The directory created will be owned
|
||||
# root:postgres with mode 1775.
|
||||
#
|
||||
# /run/postgresql is the default directory.
|
||||
PG_SOCKET_DIRECTORY="/run/postgresql"
|
||||
|
||||
# Which port and socket to bind PostgreSQL
|
||||
PGPORT="5432"
|
||||
|
||||
# How long to wait for server to start in seconds
|
||||
START_TIMEOUT=10
|
||||
|
||||
# NICE_QUIT ignores new connections and wait for clients to disconnect from
|
||||
# server before shutting down. NICE_TIMEOUT in seconds determines how long to
|
||||
# wait for this to succeed.
|
||||
NICE_TIMEOUT=60
|
||||
|
||||
# Forecfully disconnect clients from server and shut down. This is performed
|
||||
# after NICE_QUIT. Terminated client connections have their open transactions
|
||||
# rolled back.
|
||||
# Set RUDE_QUIT to "NO" to disable. RUDE_TIMEOUT in seconds.
|
||||
RUDE_QUIT="YES"
|
||||
RUDE_TIMEOUT=30
|
||||
|
||||
# If the server still fails to shutdown, you can force it to quit by setting
|
||||
# this to YES and a recover-run will execute on the next startup.
|
||||
# Set FORCE_QUIT to "YES" to enable. FORCE_TIMEOUT in seconds.
|
||||
FORCE_QUIT="NO"
|
||||
FORCE_TIMEOUT=2
|
||||
|
||||
# Extra options to run postmaster with, e.g.:
|
||||
# -N is the maximal number of client connections
|
||||
# -B is the number of shared buffers and has to be at least 2x the value for -N
|
||||
# Please read the man-page to postmaster for more options. Many of these
|
||||
# options can be set directly in the configuration file.
|
||||
#PGOPTS="-N 512 -B 1024"
|
||||
|
||||
# Pass extra environment variables. If you have to export environment variables
|
||||
# for the database process, this can be done here.
|
||||
# Don't forget to escape quotes.
|
||||
#PG_EXTRA_ENV="PGPASSFILE=\"/path/to/.pgpass\""
|
||||
|
||||
##############################################################################
|
||||
#
|
||||
# The following values should not be arbitrarily changed.
|
||||
#
|
||||
# `emerge --config dev-db/postgresql:@SLOT@' uses these values to
|
||||
# determine where to create the data directory, where to place the
|
||||
# configuration files, and any additional options to pass to initdb.
|
||||
#
|
||||
# The initscript also uses these variables to inform PostgreSQL where to find
|
||||
# its data directory and configuration files.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
# Location of configuration files
|
||||
PGDATA="/etc/postgresql-@SLOT@/"
|
||||
|
||||
# Where the data directory is located/to be created
|
||||
DATA_DIR="/var/lib/postgresql/@SLOT@/data"
|
||||
|
||||
# Additional options to pass to initdb.
|
||||
# See `man initdb' for available options.
|
||||
PG_INITDB_OPTS="--encoding=UTF8"
|
@ -1,152 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
extra_started_commands="reload promote"
|
||||
|
||||
PG_CTL="/usr/@LIBDIR@/postgresql-@SLOT@/bin/pg_ctl"
|
||||
|
||||
description="PostgreSQL @SLOT@ -- the world's most advanced open source database --
|
||||
${RC_SERVICE} is a wrapper around pg_ctl with additional administrative checks
|
||||
and convenience"
|
||||
|
||||
get_config() {
|
||||
[ -f "${PGDATA%/}/postgresql.conf" ] || return 1
|
||||
|
||||
eval echo $(sed -e 's:#.*::' "${PGDATA%/}/postgresql.conf" \
|
||||
| awk '$1 == "'$1'" { print ($2 == "=" ? $3 : $2) }')
|
||||
}
|
||||
|
||||
depend() {
|
||||
use net
|
||||
provide postgresql
|
||||
|
||||
if [ "$(get_config log_destination)" = "syslog" ]; then
|
||||
use logger
|
||||
fi
|
||||
}
|
||||
|
||||
configured_port=$(get_config port)
|
||||
: ${configured_port:=${PGPORT}}
|
||||
|
||||
checkconfig() {
|
||||
# Check that DATA_DIR has been set
|
||||
if [ -z "${DATA_DIR}" ] ; then
|
||||
eerror "DATA_DIR not set"
|
||||
eerror "HINT: Perhaps you need to update /etc/conf.d/postgresql-@SLOT@"
|
||||
return 1
|
||||
fi
|
||||
|
||||
# Check that DATA_DIR exists
|
||||
if [ ! -d "${DATA_DIR}" ] ; then
|
||||
eerror "Directory not found: ${DATA_DIR}"
|
||||
eerror "HINT: Ensure that DATA_DIR points to the right path."
|
||||
eerror "HINT: Or perhaps you need to create the database cluster:"
|
||||
eerror " emerge --config dev-db/postgresql:@SLOT@"
|
||||
return 1
|
||||
fi
|
||||
|
||||
# Check for the existence of PostgreSQL's config files, and set the
|
||||
# proper mode and ownership.
|
||||
# Only three files should be checked as potentially other files
|
||||
# may be in PGDATA that should not be touched.
|
||||
local file
|
||||
for file in postgresql pg_hba pg_ident ; do
|
||||
file="${PGDATA%/}/${file}.conf"
|
||||
if [ -f "${file}" ] ; then
|
||||
checkpath -f -m 0600 -o postgres:postgres "${file}"
|
||||
else
|
||||
eerror "${file} not found"
|
||||
eerror "HINT: mv ${DATA_DIR%/}/*.conf ${PGDATA}"
|
||||
return 1
|
||||
fi
|
||||
done
|
||||
|
||||
# Set the proper permission for the socket path and create it if
|
||||
# it doesn't exist.
|
||||
checkpath -d -m 1775 -o root:postgres "${PG_SOCKET_DIRECTORY}"
|
||||
if [ -e "${PG_SOCKET_DIRECTORY%/}/.s.PGSQL.${configured_port}" ] ; then
|
||||
eerror "Socket conflict."
|
||||
eerror "A server is already listening on:"
|
||||
eerror " ${PG_SOCKET_DIRECTORY%/}/.s.PGSQL.${configured_port}"
|
||||
eerror "HINT: Change PGPORT to listen on a different socket."
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
start() {
|
||||
checkconfig || return 1
|
||||
|
||||
ebegin "Starting PostgreSQL @SLOT@"
|
||||
|
||||
rm -f "${DATA_DIR%/}/postmaster.pid"
|
||||
|
||||
su - postgres -c \
|
||||
"PGPORT=${configured_port} ${PG_EXTRA_ENV} ${PG_CTL} start \
|
||||
-s -w -t ${START_TIMEOUT} -l ${DATA_DIR%/}/postmaster.log \
|
||||
-D ${PGDATA} \
|
||||
-o '--data-directory=${DATA_DIR} \
|
||||
--unix-socket-directory=${PG_SOCKET_DIRECTORY} \
|
||||
${PGOPTS}'"
|
||||
|
||||
local retval=$?
|
||||
|
||||
if [ $retval -ne 0 ] ; then
|
||||
eerror "Check the log for a possible explanation of the above error."
|
||||
eerror "The log may be located at:"
|
||||
eerror " ${DATA_DIR%/}/postmaster.log"
|
||||
eerror "Or wherever you configured PostgreSQL @SLOT@ to log."
|
||||
fi
|
||||
|
||||
eend $retval
|
||||
}
|
||||
|
||||
stop() {
|
||||
local seconds=$(( ${NICE_TIMEOUT} + ${RUDE_TIMEOUT} + ${FORCE_TIMEOUT} ))
|
||||
ebegin "Stopping PostgreSQL @SLOT@ (this can take up to ${seconds} seconds)"
|
||||
|
||||
su - postgres -c \
|
||||
"${PG_CTL} stop -t ${NICE_TIMEOUT} -s -D ${DATA_DIR} -m smart"
|
||||
local retval=$?
|
||||
|
||||
if [ "${RUDE_QUIT}" != "NO" -a ${retval} -ne 0 ] ; then
|
||||
einfo "Previous attempt failed. Trying RUDE_QUIT."
|
||||
su - postgres -c \
|
||||
"${PG_CTL} stop -t ${RUDE_TIMEOUT} -s -D ${DATA_DIR} -m fast"
|
||||
retval=$?
|
||||
fi
|
||||
|
||||
if [ "${FORCE_QUIT}" = "YES" -a ${retval} -ne 0 ] ; then
|
||||
einfo "Previous step failed. Trying FORCE_QUIT."
|
||||
ewarn "A recover-run might be executed on next startup."
|
||||
su - postgres -c \
|
||||
"${PG_CTL} stop -t ${FORCE_TIMEOUT} -s -D ${DATA_DIR} -m immediate"
|
||||
retval=$?
|
||||
fi
|
||||
|
||||
eend ${retval}
|
||||
}
|
||||
|
||||
status() {
|
||||
ebegin "Checking PostgreSQL @SLOT@ status"
|
||||
su - postgres -c "${PG_CTL} status -D ${DATA_DIR}"
|
||||
eend $?
|
||||
}
|
||||
|
||||
description_reload="Simply sends the postgres process a SIGHUP signal, causing
|
||||
it to reread its configuration files (postgresql.conf, pg_hba.conf,
|
||||
etc.). This allows changing of configuration-file options that do not
|
||||
require a complete restart to take effect."
|
||||
reload() {
|
||||
ebegin "Reloading PostgreSQL @SLOT@ configuration"
|
||||
su - postgres -c "${PG_CTL} reload -s -D ${DATA_DIR}"
|
||||
eend $?
|
||||
}
|
||||
|
||||
description_promote="If the server is in standby, it is commanded to exit
|
||||
recovery and begin read-write operations."
|
||||
promote() {
|
||||
ebegin "Promoting PostgreSQL @SLOT@"
|
||||
su - postgres -c "${PG_CTL} promote -s -D ${DATA_DIR}"
|
||||
eend $?
|
||||
}
|
Binary file not shown.
@ -0,0 +1,75 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit desktop
|
||||
|
||||
FPCVER="3.0.4"
|
||||
|
||||
DESCRIPTION="Lazarus IDE is a feature rich visual programming environment emulating Delphi"
|
||||
HOMEPAGE="https://www.lazarus-ide.org/"
|
||||
SRC_URI="https://sourceforge.net/projects/${PN}/files/Lazarus%20Zip%20_%20GZip/Lazarus%20${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1-with-linking-exception"
|
||||
SLOT="0" # Note: Slotting Lazarus needs slotting fpc, see DEPEND.
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="minimal"
|
||||
|
||||
DEPEND=">=dev-lang/fpc-${FPCVER}[source]
|
||||
net-misc/rsync
|
||||
x11-libs/gtk+:2
|
||||
>=sys-devel/binutils-2.19.1-r1:="
|
||||
RDEPEND="${DEPEND}
|
||||
!=gnome-base/librsvg-2.16.1"
|
||||
|
||||
RESTRICT="strip" #269221
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-0.9.26-fpcsrc.patch )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Use default configuration (minus stripping) unless specifically requested otherwise
|
||||
if ! test ${PPC_CONFIG_PATH+set} ; then
|
||||
local FPCVER=$(fpc -iV)
|
||||
export PPC_CONFIG_PATH="${WORKDIR}"
|
||||
sed -e 's/^FPBIN=/#&/' /usr/lib/fpc/${FPCVER}/samplecfg |
|
||||
sh -s /usr/lib/fpc/${FPCVER} "${PPC_CONFIG_PATH}" || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
LCL_PLATFORM=gtk2 emake \
|
||||
$(usex minimal "" "bigide") \
|
||||
-j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
diropts -m0755
|
||||
dodir /usr/share
|
||||
# Using rsync to avoid unnecessary copies and cleaning...
|
||||
# Note: *.o and *.ppu are needed
|
||||
rsync -a \
|
||||
--exclude="CVS" --exclude=".cvsignore" \
|
||||
--exclude="*.ppw" --exclude="*.ppl" \
|
||||
--exclude="*.ow" --exclude="*.a"\
|
||||
--exclude="*.rst" --exclude=".#*" \
|
||||
--exclude="*.~*" --exclude="*.bak" \
|
||||
--exclude="*.orig" --exclude="*.rej" \
|
||||
--exclude=".xvpics" --exclude="*.compiled" \
|
||||
--exclude="killme*" --exclude=".gdb_hist*" \
|
||||
--exclude="debian" --exclude="COPYING*" \
|
||||
--exclude="*.app" \
|
||||
"${S}" "${ED%/}"/usr/share \
|
||||
|| die "Unable to copy files!"
|
||||
|
||||
dosym ../share/lazarus/startlazarus /usr/bin/startlazarus
|
||||
dosym ../share/lazarus/startlazarus /usr/bin/lazarus
|
||||
dosym ../share/lazarus/lazbuild /usr/bin/lazbuild
|
||||
use minimal || dosym ../share/lazarus/components/chmhelp/lhelp/lhelp /usr/bin/lhelp
|
||||
dosym ../lazarus/images/ide_icon48x48.png /usr/share/pixmaps/lazarus.png
|
||||
|
||||
make_desktop_entry startlazarus "Lazarus IDE" "lazarus" || die "Failed making desktop entry!"
|
||||
}
|
@ -0,0 +1,148 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils flag-o-matic java-pkg-opt-2 multilib
|
||||
|
||||
PATCHSET_VER="0"
|
||||
|
||||
DESCRIPTION="free, small, and standard compliant Prolog compiler"
|
||||
HOMEPAGE="http://www.swi-prolog.org/"
|
||||
SRC_URI="http://www.swi-prolog.org/download/devel/src/swipl-${PV}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="archive berkdb debug doc +gmp hardened java +libedit libressl minimal odbc pcre readline ssl static-libs test uuid zlib X"
|
||||
|
||||
RDEPEND="sys-libs/ncurses:=
|
||||
archive? ( app-arch/libarchive )
|
||||
berkdb? ( >=sys-libs/db-4:= )
|
||||
zlib? ( sys-libs/zlib )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
pcre? ( dev-libs/libpcre )
|
||||
readline? ( sys-libs/readline:= )
|
||||
libedit? ( dev-libs/libedit )
|
||||
gmp? ( dev-libs/gmp:0 )
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0 )
|
||||
libressl? ( dev-libs/libressl )
|
||||
)
|
||||
java? ( >=virtual/jdk-1.7:= )
|
||||
uuid? ( dev-libs/ossp-uuid )
|
||||
X? (
|
||||
virtual/jpeg:0
|
||||
x11-libs/libX11
|
||||
x11-libs/libXft
|
||||
x11-libs/libXpm
|
||||
x11-libs/libXt
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-base/xorg-proto )
|
||||
java? ( test? ( =dev-java/junit-3.8* ) )"
|
||||
|
||||
S="${WORKDIR}/swipl-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE=yes
|
||||
EPATCH_SUFFIX=patch
|
||||
if [[ -d "${WORKDIR}"/${PV} ]] ; then
|
||||
epatch "${WORKDIR}"/${PV}
|
||||
fi
|
||||
|
||||
if ! use uuid; then
|
||||
mv packages/clib/uuid.pl packages/clib/uuid.pl.unused || die
|
||||
fi
|
||||
|
||||
# OSX/Intel ld doesn't like an archive without table of contents
|
||||
sed -i -e 's/-cru/-scru/' packages/nlp/libstemmer_c/Makefile.pl || die
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
use ppc && append-flags -mno-altivec
|
||||
use hardened && append-flags -fno-unit-at-a-time
|
||||
use debug && append-flags -DO_DEBUG
|
||||
|
||||
# ARCH is used in the configure script to figure out host and target
|
||||
# specific stuff
|
||||
export ARCH=${CHOST}
|
||||
|
||||
export CC_FOR_BUILD=$(tc-getBUILD_CC)
|
||||
|
||||
cd "${S}"/src || die
|
||||
econf \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
$(use_enable gmp) \
|
||||
$(use_enable static-libs static) \
|
||||
--enable-shared \
|
||||
--enable-custom-flags COFLAGS="${CFLAGS} -DOF=_Z_OF"
|
||||
|
||||
if ! use minimal ; then
|
||||
local jpltestconf
|
||||
if use java && use test ; then
|
||||
jpltestconf="--with-junit=$(java-config --classpath junit)"
|
||||
fi
|
||||
|
||||
cd "${S}/packages" || die
|
||||
econf \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
$(use_with archive) \
|
||||
$(use_with berkdb bdb ) \
|
||||
$(use_with java jpl) \
|
||||
${jpltestconf} \
|
||||
$(use_with libedit) \
|
||||
$(use_with pcre) \
|
||||
$(use_with odbc) \
|
||||
$(use_with readline) \
|
||||
$(use_with ssl) \
|
||||
$(use_with X xpce) \
|
||||
$(use_with zlib) \
|
||||
COFLAGS='"${CFLAGS}"'
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/src || die
|
||||
emake
|
||||
|
||||
if ! use minimal ; then
|
||||
cd "${S}/packages" || die
|
||||
emake
|
||||
./report-failed || die "Cannot report failed packages"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}/src" || die
|
||||
emake check
|
||||
|
||||
if ! use minimal ; then
|
||||
unset DISPLAY
|
||||
cd "${S}/packages" || die
|
||||
emake \
|
||||
USE_PUBLIC_NETWORK_TESTS=false \
|
||||
USE_ODBC_TESTS=false \
|
||||
check
|
||||
./report-failed || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -C src DESTDIR="${D}" install
|
||||
|
||||
if ! use minimal ; then
|
||||
emake -C packages DESTDIR="${D}" install
|
||||
if use doc ; then
|
||||
emake -C packages DESTDIR="${D}" html-install
|
||||
fi
|
||||
./packages/report-failed || die "Cannot report failed packages"
|
||||
fi
|
||||
|
||||
dodoc ReleaseNotes/relnotes-5.10 INSTALL README.md VERSION
|
||||
}
|
Binary file not shown.
@ -1,5 +1,6 @@
|
||||
AUX appstream-0.11.5-fix-meson-po.patch 501 BLAKE2B 40d5f00cd7e883ddbd580ba7acfef6c956003a8a50f618b1f7e4810338af1ec41d6595828987132d175c2c07721ce60ba368033919a49ede9c659089fefd50eb SHA512 d4b4fb770ad84a6bf365e998eb749939a3aa4553aad9730f6d99d5072de37eb6594ad2ac00ee17706621483afe58f44c9f9f90aa9f666d0e2f6379f40ad78e71
|
||||
DIST appstream-0.10.6.tar.gz 1821879 BLAKE2B 49e0476ef41c37d2e9bb12a7c046fcbb2cd8fcb1f521321dce4cda15e504a966cf59a1cbf56fc7359a82f677c54906ba041ad37eeb7f639ad69691e8d2ccd24c SHA512 9f8b4ddc39d580c62b166df0d9a2c5e4caac1b433d25a4e9118b7c73ceea5c7b1ff78f02d682a68cdfeb8da29e806a4838cfc11637fca2982f436af333605256
|
||||
DIST appstream-0.11.5.tar.gz 1856204 BLAKE2B 9f1e423e71e40b569cae0fb259bf5a0203a0abcba64f877c951c941f1dfdbc8005509ca46040586b8937cc168ad9315978dd2a3763592de1686c9648eac6c928 SHA512 308f65df2d03f09a5fdfe1d5b61ed37ddfd73a6f7cd861f685463c45ba17a2a937ba34216b4d5f533cb5f9f56c65ff9b261e03d07aaab74bec3f89e5bfb57d7b
|
||||
EBUILD appstream-0.10.6-r1.ebuild 1474 BLAKE2B 7b70518da8b410ae9e9843d8238a4408ea571a5c1e7ff8d037d33636e4ea6d75758ba9bf33b03a6d084880caa8b1a02d0ebcf392fb6f81c5430bc83f0546e498 SHA512 53f95d11310cb6926059ece55a46240883a7e6f7dd6322b319cd8697ac306f4bd106e38aa05f04ebee33c481ea4bb82ab3d94ae664f925ee58df4fc63066e80e
|
||||
EBUILD appstream-0.11.5.ebuild 1348 BLAKE2B 6076f907fcf6cea0e607bc9ba8a1a4fcbfdf5688f012325ea18c9b630d79346e814f29c33fecbbab222569a68d8729a617700a1193db08008f627437d27ca2ef SHA512 41bc8f2b0f8e3c838eb3da4997cef8136a99756db39474380761abd11039d4bffd5e9010d8f3ab71b0b3f80dddec29b31f1c18c02c4a7d366af7d727dc80ae54
|
||||
EBUILD appstream-0.11.5.ebuild 1376 BLAKE2B a4505ffee8274eeeff1d78a79ba1e2bf47588dda71a2dfb5993985ab4d689380fe94d473b5cb4f43a018228e0a59f1ae72d294190e4e89e9df52512ac121c449 SHA512 de2b3c1a9ea20715572b94dcd78b23a0c7e9a41545d9c1898a33d50a263c5b82b7b2b99a9d0cc2e61e02598b6b8885df48d9ab5f4c88c58e0f9548fea60ea62a
|
||||
MISC metadata.xml 399 BLAKE2B 433fcfbb840f3efc4130de1a4b9a18ce3b1762363bfa67d994a063098da0397b6776a6154250ad5a35a4960241234f2ba3dc2464b760cf19cbb680590d559049 SHA512 1f81f3603fc34a3dbeb570fe83ed2ff97e4ea2391cda7d7ceef017624a8498052cda4a21dee1f6b8eb41407998dfcecd765bde556837d00b13caaa41989f934f
|
||||
|
@ -0,0 +1,14 @@
|
||||
Gentoo-bug: https://bugs.gentoo.org/640916
|
||||
Thanks-to: David Haller <gentoo@dhaller.de>
|
||||
|
||||
--- a/po/meson.build 2017-09-04 18:09:52.000000000 +0200
|
||||
+++ b/po/meson.build 2018-05-15 12:24:42.000000000 +0200
|
||||
@@ -21,7 +21,7 @@
|
||||
'find ' + meson.current_source_dir() +
|
||||
' -type f' +
|
||||
' -iname "*.po"' +
|
||||
- ' -printf \'%f\\n\'' +
|
||||
+ ' -printf \'%f\n\'' +
|
||||
' | grep -oP \'.*(?=[.])\' | sort' +
|
||||
' > ' + join_paths(meson.current_source_dir(), 'LINGUAS')
|
||||
]
|
@ -1,5 +1,5 @@
|
||||
DIST jansson-2.10.tar.gz 487855 BLAKE2B b1d83ad1a37e66cb7c497284a7958882d5a7e13cec2260d9cc2b5eaef648feea66b70305dec9193f10cf77f37bdda17605277ea41735708ca6a9898b79fef807 SHA512 e331d5c097b4acb0b1df7d90d1d3453c26bd34bfe2e06af0027665bee9efecc2bc61cc7ab5b70dab1262bf80a3315ffb53b4176874fe07e20eee4b9ea7071d44
|
||||
DIST jansson-2.11.tar.gz 483686 BLAKE2B 873283a1b41eef1c57fbcb3d4cdb8c33b850d95ee93c800cbcc009e3e9c9e87278beff11800e63894087e51c767dcbd555fbde48163376d53be2bf72b2eac72d SHA512 0ae77cf7ec264536313639458ba20b66e221078cddd209df3ce45c895b897799954abc1ca4b0d5993b974135652804be6bede2825503469d56303470888382f8
|
||||
EBUILD jansson-2.10.ebuild 857 BLAKE2B 7b1b318f3a0dab579b82019dc0fd07caee375f19c0a19f4c92ba0f59a094432d85e722eea298c1d38ffd8d0508139dd160e99c29d1bb2c3a8d6512f1d5ce9465 SHA512 4ff618e64579443a2811717259086ad988991a773b1d35f05456647b9e19d2b757107cdedb1e840ede68c36b82714117acf5a42f46d89b020a835ff67b2a2fac
|
||||
EBUILD jansson-2.11.ebuild 766 BLAKE2B efdb317dbd84437ace65aa5d83fdc7d86b2b0512268b85b8cf87a10e7124d3c3580af5f31921b0fccec826742e794b37884e5a160993843d534bed11549a0a80 SHA512 a7d2e597d62a5fd0386f82b849969dc99c577e84c6836f08467067b001468e49ff811f815c2583599cd2fab256a113ef3f73b4ef914c8a3bc93bbf5023a9ce01
|
||||
EBUILD jansson-2.11.ebuild 845 BLAKE2B c1dc7acd0b9bb849774c43cb60a51011e067228348e4f81f4a3005e4f3c47ad310b707e53270efa7163c50a5fb3b79d1b95e296d2f2efa82983090644b1b4645 SHA512 665569db3edf7d1bc9701536c75226b71b2860a56cda6b5a76c37882eacd9f018267a97dd10ab987c1b6e628a08762f8754019a570bbdab54d2717b0beea9849
|
||||
MISC metadata.xml 364 BLAKE2B 98019538f02d8e12711b7e2f72036ad32a2f2b8c2b821a2ba4a0fe113653eb565ac7d447a5d2331d22c13f3bb5bff7484e89438ba82abd9b1d226ea1e8288ecf SHA512 414d6b7630f823690c293214be138c5b6f9748e2d80dda57022404d710b0a9ed78c5c9da4a57e2058368caf7caa8a698eacc9ded1cec5577d0799b21b338de59
|
||||
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=3
|
||||
inherit autotools eutils toolchain-funcs
|
||||
|
||||
MY_P=${PN}-${PV/_/.}
|
||||
|
||||
DESCRIPTION="C API for memcached"
|
||||
HOMEPAGE="http://people.freebsd.org/~seanc/libmemcache/"
|
||||
SRC_URI="http://people.freebsd.org/~seanc/libmemcache/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-inline.patch
|
||||
epatch "${FILESDIR}"/${P}-implicit_pointer.patch
|
||||
[[ $(tc-arch) == ppc* ]] && epatch "${FILESDIR}"/${P}-ppc_ftbfs.patch
|
||||
|
||||
rm -rf test/unit || die
|
||||
sed -i -e '/DIR/s,unit,,g' test/Makefile.am || die
|
||||
sed -i \
|
||||
-e 's,test/unit/Makefile,,g' \
|
||||
-e '/^CFLAGS=.*Wall.*pipe/s,-Wall,${CFLAGS} -Wall,g' \
|
||||
-e '/^OPTIMIZE=/d' \
|
||||
-e '/^PROFILE=/d' \
|
||||
configure.ac || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
dodoc ChangeLog
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST libressl-2.6.4.tar.gz 3227935 BLAKE2B 48e865448a9e5b0b604b06060091073276aebd376506de73773a5eb9cb0bb4c5b93aa16353b4892abaee97ec933ad77e89775c3f52263d77bb17c68e481b4f70 SHA512 181761da573ff392aaee17dd3dde416d7cbb299ab3e07b49c97e279ceb3f619e78d1dc9ec4c59b0af024f0a8270ff31fe37f8282d0392be34c3143c9647cd246
|
||||
DIST libressl-2.7.3.tar.gz 3364724 BLAKE2B e245cd0e3c4819e12f3f05898429c10894959d9bbe27bfca38543ec304a84abc8edda7c968eb8d25e5c589011c5482060d05bd1e5aef71c13708ec804cd05a72 SHA512 5fafff32bc4effa98c00278206f0aeca92652c6a8101b2c5da3904a5a3deead2d1e3ce979c644b8dc6060ec216eb878a5069324a0396c0b1d7b6f8169d509e9b
|
||||
EBUILD libressl-2.6.4.ebuild 1352 BLAKE2B 534573071ef72addd3c5ba00c2660e8d2b1ab09acff56d7e072c59ba4eaa3a9dc3abd859791ceb968318425d5b90d1f7b7c87f3f7933f054615173e580776f08 SHA512 605fda0d2e4935171e6b22ace0e35eeb7483c320ab64baf78737599f367843d82266fe2953526f75b9d64585d1e948e73ce94af244d996d8fedf5c59d4b7ffe4
|
||||
EBUILD libressl-2.6.4.ebuild 1353 BLAKE2B a7885671883289a1723ebe3c8d02885b30668bb1dfc37a418b5c0ca964c75a01c688279f43ba863cf28e4eacf61d0ff1946c651eacb48684efa7767026ac68ee SHA512 52257e618750254f0fc49c881c30e7058f6d82724930710e7cb19b5ab02dfba3cfa0b201058444c840e2b695de3fd85f13dddb0e9bae9b0562c9b02be3d61cc5
|
||||
EBUILD libressl-2.7.3.ebuild 1358 BLAKE2B 55a2f05f0042d113c2bbf0c01831e41dc08960d34a8aebd00b15b9c866581a928d9a1ef02bf7f2fea67b3a7f6eadd9cebcfe92a52ca28707efe18fdf2e49c330 SHA512 45499b0db8205bcb7f3d7d1cd0b2aca1cc6433918af9d94016c96d5b95ce9308615571221882ba9e6d0717ca6a6ce8a6c360e5f3de0e34e0d08e922f359ee70e
|
||||
MISC metadata.xml 986 BLAKE2B 1c3f46d2694b17352ec02e1f2c331aae79c677ea638ed6290c51076961ac81f1b472576000fc162115f0ea1f037ac1c6ed0ea80c4603ef6a283e0ac4915fadad SHA512 bd38bf852aebe8dbac58fa324524f2fbbc0da5d22a673f5fa83dafeeee599f4022a46687d10f3d159b0953a0d4b0f1ea88156f7d04c2f1db864569dd29f3e4fe
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST sink-0.5.0.tar.gz 330203 BLAKE2B 5b0448dfb984c1aa4bdb913f8ce5e5e4e3f1a6ee33d840ed3d9fdf9e0ea6003a928970d2e6dc25e824241768da9abed7dce31ef857e4986990aad16e7aecd667 SHA512 e47f3d99b934abb184a5f8293f1a092fccabe0bb550573cd8c35918471a4caa94eaaec0361c43376c93cdb480612dd0f78626d6649077f777c5cccc8c5d4389f
|
||||
EBUILD sink-0.5.0.ebuild 1196 BLAKE2B ec09fa49e1d20266d74b2b314da4ce08282e68082e83768c2dfeb23e09c7d66661ff935fffe12f3a413d6a849ef6f5655793aa109cd7c1e0694c94c2db726abe SHA512 b224fb3e7a56ff03dcf84b30f7b25643c7cc460b725a2d29c2036fdd489a2a8eb835325981ded8b27a5cb20e0cf026dd71f2882b61f275a8e7c7afddf00df95b
|
||||
EBUILD sink-0.5.0.ebuild 1225 BLAKE2B 2f273d3b025048bbd73dbb6f1b4078b9fc700ac7907547ea4d9e62514af3d1c801856c26582301b294091ee2d68f8163d3953e57894aa878adb44af6f1c03e8f SHA512 5ceb4826009802f333720d36404a58a2efa464b70e1a3a3cbf9c898f5ff0406b0fcba598f30fed8677ab0ccf23d61a79a3350e8764077e1986451d91b82714fe
|
||||
MISC metadata.xml 249 BLAKE2B ad415db89e5dee1627aa77f44ded9d4e1e5b8217d06c7ca25bbaa3fe92ce67c2b1090957c45a821b407d7927e5af798498aa6a5b903895ee1af8ee20a446c7f7 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue