parent
b2365a07aa
commit
bfeb2b7fbb
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 28989 BLAKE2B 72b007a3feca7ed5be2515eebe1349f4752cd77c48480076e26bda365ab83411bf7a89e7c05ae7d7e935a6fe3609689a2bab9962627aa1e5365927cb44768efd SHA512 db32d14a767a483f1b6dd408493709e077346e4042842fa4a3018168e57d5cc93c6bf6879ffc8ea7af668f9bf1a3cc0207b7022b9efb2892f24412597a816585
|
||||
TIMESTAMP 2018-04-10T20:38:33Z
|
||||
MANIFEST Manifest.files.gz 28992 BLAKE2B 74c7c66b77f5f2cc1ad33161047f3cf3ef2fe58a7786c9a73314fd6a225148288ef2d55e574cd4cd1617048c64cb269c973977641ee97f841d7ed7d430a6cc5f SHA512 d49028b2ea107e766c955d9419af4595f6ec53efc11d08a4acf29be5017fc5fc5bfebd20fc324cb7b08be3c8e8261c583010b7af59840fb8df7dc7fd529e3f83
|
||||
TIMESTAMP 2018-04-11T05:08:32Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAlrNIMlfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAlrNmFBfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klCMVw//WYRW6zFFSgct4Q9W9znOnSco5AdTmz7TzNyUQ6KNzQoMdBm9Y4sfobsc
|
||||
Wzp+Ka0NI4vMAPNlf+KsD8X6oNRUWiRixxty9vGXsBYOLPHKfHofkOaONAvYAKlp
|
||||
zfeYYLjmnsCAvfgO6MosgiftkAIT15P8Oxj73vopbJ4qTwWDoIum5IJ8e8nqq52b
|
||||
Wvxb/a9s0CGZ1gQGZQZlNYAsw+apdvIlmZQ1AxtuippX/acaUx0vdB4+++iuZy5E
|
||||
qq+EsNHyXrS/jyyNk1VIbfjjDEQPhGt8+0lBZbJapXovwpsLR6p0VGCwOmnLGRmC
|
||||
frdbgUxQ+pQKqr0dxARHp5hiZhMNORRyutm17TDT7q54mqlEkDVipoArHmBANEw1
|
||||
qsE9N5driZq1u2hGm9JHQAju3mIfftzZ/k4oaKqe9XdF7Xal9JD7mupj7NSMtYAS
|
||||
IwitkV2KiCmUPti1V7Aez1iwqIWvELSRGFbWBKlf1Je+wfsbistLN3hjohm2mFhY
|
||||
ZNwpd15MNPpizeW24qrEhpBdWeJ2VRnOK78uMMDPDjLTZgoCof3vUE0+KlT8/e15
|
||||
vemfJN5PidNk9vtVKXjd02uglz6QsWbdAG7MJFLyreBTqStrXma+PsBBqbbnTri/
|
||||
YeMTWDx33tql4+zFPbV4KGNDcKNdS7siLu56UtMg85Mg93bXkWU=
|
||||
=O9F+
|
||||
klCqhQ/+M/aXxdhgOpNsyKWVm4yASODTSo7S+we2Y1tGhvaVdbog7pMLBF1ultRE
|
||||
hwcJPIL5HTDxJsl/1nL7ATNu8oSMas1J/3f9+FA+QVCZ8yqay0sVpgZU/vOVSF6T
|
||||
yB01QWgttnX31RS1UXDFkem67gtV+/IjiHlxD3s4Z8TIJmmOquCAD28BVzEHN+VS
|
||||
BEOQU6RMwcR/NZCreoY13V2uK8YAwPH9BNWcbcYFUXGGjPk78tzFakHi6sHtaNk/
|
||||
dCyODbNlB6CmwEvxphaQpW19si01WLqf/1wAjSRM56UzNwJN3iYn/t+oai68taci
|
||||
XkDvof5ceVN3zUjTEDm9USZJ39cJroIsHH/nayO1Rj+O+FgYdyWYGaYCKENAn/uw
|
||||
QXueFx9hUGpWwuJleSYMU82frjrubb+1aI8C/xvuBG4YfvWwzbU97gLmjpntj2jD
|
||||
KCHHwzq3YPEJORJ2m+KD98Cf4pEOBWcx3zJCqAE4E3sUUM6FCR/RQhdIraMq44hR
|
||||
EO5FNegp+5uA411DD6Zb2ItDPzKIogDaQAb44hxpDP/GDCJ44aot6BVfJDlnFZ3E
|
||||
2CgXuRGlabRLcQcH1yqYT51k5vrJLeJ5SGZ1twhpebPjfYb1ZxN9BTK1Ko4IuxW+
|
||||
FSgTpgwpdjj066Abmq1pLCr08fP7Gi2hXwSEwl87zkvSWexv8Mk=
|
||||
=L48+
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST grip-4.2.0.zip 43079 BLAKE2B b7aa31c554d646fdedee88f54e2ad825d56eed26cb18ec364cc0e2638f3d002f2fb3192daa15085b2db5a9d608e37df8c74b19466042c57fa62b80f7bc259eef SHA512 2989a1cc2cb98254e932d5bf6679a205992e74802e68fe45d11cf087747d2379778df254bbf1cf980bb8993dc5568c5112707c645babbb32aae49f443319ff6b
|
||||
EBUILD grip-4.2.0.ebuild 602 BLAKE2B 2de49181b47ce12268a8bce223767f2005ce7c734d21cdcd037b0206e65639168f2d34441b020856c26d923af3d5253d36780b67692501fdc684fe96e5bbc8f2 SHA512 43b7b1419d247608f14a4c59f545cf443024d30d467494afbac56912768b7b355c51cb2bf7576fffed432d9475803e3b17cdaf947d4d7090def77033a6aa28e9
|
||||
EBUILD grip-4.2.0.ebuild 602 BLAKE2B fde77a5097a56f4ec4d6d27c49bf0d7698da77b8ea2ccb5e2fd04b534f8fd6a3b5e65adab4d0de0723f915db9ece67c4a5e6043c095f4aaca342b2d4d653312a SHA512 326080a495036c7ccdc99f2041b177ff8570bb9dcd0abac5899a719489a9e32a1662a7bfb637045a64c9d2aa87693c227ca08c7ddf74a3de72ab4a3f1d5736d0
|
||||
MISC metadata.xml 287 BLAKE2B 97d6c8c5b9fa03b5b8435a9719b819a9e071d1310656d97e6a203a8cf86d2414034e8642de7f010aa8f64955bcdc849bc66ef64a1e0e80fd23e355af50c6bbc1 SHA512 047bdd78979d55e9e37b92f51b52190c6a5780d6b3475560ae8908fdc98274949372918e1ab150821f09bff97cc12f25097f4e89ee4431861b608be79bd942bc
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST yodl-4.01.00.tar.gz 288932 BLAKE2B 71491eaedae9cf0b6bc65f1da3065bc2a90e9ff5f527cbac66a714c761e679600635f7f10b0f20b7e1a15413c1930ee6e64e5ec083226058b6c8822e4a445437 SHA512 f195dec8e03b83561b47f9bd00fbb0fe711bbc254c32413d748587d8bf3848e050b90a2140977bec5a335021b2ef49ec5a6b0ca89f1649def495d81c3e7b437f
|
||||
DIST yodl-4.02.00.tar.gz 308567 BLAKE2B bf64ff7248ddcdc17dec23fe4407c28edf604b76746f13e97dfbb470421c15ca6235747c9ef349925a0293f8503d319a637a11352a2987f161fb2bcab60ddf7e SHA512 ca3a2490bf54a0ce4e800a62a3de9a5cf37df96f0f553de89623ef6d36f07b65b7c09168e77d267d7fb79d900a8e8a6c6d3c17c4b733345001213f5450c02b13
|
||||
EBUILD yodl-4.01.00.ebuild 1136 BLAKE2B 2311cafeb275140c3caff1006836c89bb15a628ee72197103244a904bd56aa5bf9911e681edd073ccde6e1eb24b7e1473e5106fef5b74e8bb5581c0e9e7cfd6f SHA512 dbd05b7eab771c07e1d57d113d165f0bc54e47fd0762ae5dbcd908c8ced6b29000d3b5c241813126b1d0b33efbbfe2fb14cb98eb7ec5f2beff3afa5cd188b6c9
|
||||
EBUILD yodl-4.02.00.ebuild 1136 BLAKE2B 694047ca19bf5e71ad50558923df9dcb523218829970312d594cc522e24f451b70e5e3d34c0fd96322fd2f423b5c9551a34a3a5edc5562bf4eed3b0e1f0af2ec SHA512 2b07686c118212aec338b1e9f760a82afce29d8d48890c58c4ebd66aba15e2abfeaf582b9cb0359165c1d74fc9e87f5f1be1dce70c250ef203023e987fc92591
|
||||
EBUILD yodl-4.02.00.ebuild 1192 BLAKE2B 5e1a1b4b8f8c1dca81c70f15d6b2cef95be19e27708c0ec87081bf3292d062beebb98dfc2b6065a057d3b6b2e7bf0c89787046cad2d146d4cd71b9a51f5ca1fa SHA512 8978742891afabfcd2c18e76bd0cc98239fff3f305af890b033efa852f7b7853317cb7d1887d2ac5175a162a174a6080c307af200d189b11c7859a968a7880ca
|
||||
MISC metadata.xml 372 BLAKE2B 65ba0511a2e235b9d929f861708f75e472a4a79a489c1ec6b58ba0e48f867aa85e0419bde877b648dc6863134b27484f1bfd78f1d87414fd488037dd103e86c3 SHA512 12928d8f1683c8158ad34c23c10670585705055f8360861ea2cf09078811d07d74699515f2903a388e00920916e7b6100865fa39cbefb49a86a214b77d74dd04
|
||||
|
Binary file not shown.
@ -1,5 +1,7 @@
|
||||
AUX remove-imagick-check.patch 331 BLAKE2B 2d9c164055c3f54baf259326abe22d5aa478141df7f6ea05ba33f040701947038490c1898e89a7019cc1e41008fde5cb43c338730ef7ec3020f5005edd612d9c SHA512 1e949f8c704a2e6b541a276b8cb53e9cf09f009dadc01f4f50ad02e92258cfe30130b2d22b811e0b5b07e1bad4023fad05040c6031bd0063999212c2d6483bcf
|
||||
DIST libvirt-php-0.5.3.tar.gz 778604 BLAKE2B 40fe4bb2f1e3fd81f1aaf09b8b92c509e79186a1a6c0dc97aa55c7164ed36cc0088141ed46c3d82cf277e25eaf3b017edac9466684e1060b5a22c18aaa7a576f SHA512 b4cbfd8840d8f114fde762b5d6ada155ebdb231b554e28e8526a7af45a802a18f28e90fa52f3d7ca9f616996fe0a8289b70c2d14dca51a52a7bf8a501c3ff44f
|
||||
DIST libvirt-php-0.5.4.tar.gz 780793 BLAKE2B 8bb4577c26cc0ef8f2a0ae813ade7f5fdea9a2a7d70c97cab1033fde21d9a1c27b8c2ad7a8284096e143e955202bb564767b4d7e1a4bb9e15993895adc119288 SHA512 b5b204549e6810668203d1df8404a5cb71f646ae7e01ea223c6e9b9eec9b1f6500cc5bb4559859959d821a213ff992f22a97e4b683da2c683be3732710943487
|
||||
EBUILD libvirt-php-0.5.3.ebuild 1395 BLAKE2B 647e79ece9175fd70fc2dbecc0de440ac4db17e5ff4a19621d78d1c1e508047233fd2311df550d2da492676b97d328cef3e92aaa66cbfc924a0c97ce01afb8a2 SHA512 aa855f216e4a71fc69be4214a70cbe2dabcc5871100c0e90a3911de1a88958ed40a53a19584d406ce7777911889166535d838ffe9d25dd8596f170e8e6bd1f0e
|
||||
EBUILD libvirt-php-9999.ebuild 1395 BLAKE2B 33519844407a23d2954eff8bf7041d1fb93d5223231636b8d9a200e972c4aba5852f0bc2d69a4d56c5e361354fb20276373f91cc099736acc587eaa9cd98f4b6 SHA512 9d5ddcfff6fbd42f9b708fb5c4de4ace1ae722a04e9ec3104f603b8cde2a7417a7275461020e7df337bdae95a5e8fe87672342dafa9dc07868759dcd01949fdf
|
||||
EBUILD libvirt-php-0.5.4.ebuild 1424 BLAKE2B d83e13647fb36600aeb664a73ace71cc9a752c2b69e7b4b0853b97d6ad5c78f2e8e076f6ec810677af0851e15efedc11f6e121232a33c7b3d8ffb50cb8a8ab14 SHA512 68e05b6f4a2ba831eb325361f67fb115e93b6997447f861e33a1227d07bf79c696637d36957490a4ae703677d4acce3c3152fde5392cae0dcc0dc0a39d2976c1
|
||||
EBUILD libvirt-php-9999.ebuild 1402 BLAKE2B ae61aae3c201ed542e8548500f087d57b0f001abaf2ddd38608f01a97864ba0ffd838d7a159656151edfb32a28956b331c99a1c990fbc7e44dd688c578068d06 SHA512 623610c0736c1b306cc7fcd93030b9a29e6f08f3200cce93f8a7bdc614b669440fc1e5fd8a86fd2d19e1b4f370b0f9e9dd7f06ebe912f688117e13a3eb47bfa1
|
||||
MISC metadata.xml 482 BLAKE2B cc2209c8b662f3b122bcc87896f43a37767539e7cb4c2d4f5aa6dfceee8104f63b4af24a17cc05e0775e3dd2bddac36a341a7b0f8044821cc888dee594bf75bb SHA512 a1a8469c2e56cb1d32673057a3919a8f4799a921b67568a6109c60f5bacf61b879e7c07055d6b8d1b0c67faa5f7c1b468080875b7b2ce857b8e1af199d193547
|
||||
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PHP_EXT_NAME="libvirt-php"
|
||||
PHP_EXT_SKIP_PHPIZE="yes"
|
||||
USE_PHP="php5-6 php7-0 php7-1 php7-2"
|
||||
PHP_EXT_ECONF_ARGS=()
|
||||
|
||||
inherit php-ext-source-r3 autotools
|
||||
|
||||
DESCRIPTION="PHP bindings for libvirt"
|
||||
HOMEPAGE="http://libvirt.org/php/"
|
||||
SRC_URI="http://libvirt.org/sources/php/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="app-emulation/libvirt
|
||||
dev-libs/libxml2"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/libxslt
|
||||
virtual/pkgconfig
|
||||
doc? ( app-text/xhtml1 )"
|
||||
|
||||
RESTRICT="test"
|
||||
# ChangeLog and NEWS are empty files
|
||||
DOCS=( AUTHORS README )
|
||||
# Remove the insane check for pecl-imagick which is only used in examples
|
||||
# and is not called upon in any build
|
||||
PATCHES=( "${FILESDIR}/remove-imagick-check.patch" )
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
|
||||
# create the default modules directory to be able
|
||||
# to use the php-ext-source-r3 eclass to configure/build
|
||||
ln -s src "${S}/modules"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
php-ext-source-r3_src_prepare
|
||||
local slot
|
||||
for slot in $(php_get_slots); do
|
||||
php_init_slot_env "${slot}"
|
||||
eautoreconf
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local slot
|
||||
for slot in $(php_get_slots); do
|
||||
php_init_slot_env ${slot}
|
||||
insinto "${EXT_DIR}"
|
||||
doins "src/.libs/${PHP_EXT_NAME}.so"
|
||||
done
|
||||
php-ext-source-r3_createinifiles
|
||||
einstalldocs
|
||||
if use doc ; then
|
||||
docinto /usr/share/doc/${PF}/html
|
||||
dodoc -r docs/*
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,5 +1,7 @@
|
||||
DIST python-glanceclient-2.10.0.tar.gz 180299 BLAKE2B 0d97626361ad7fc2c688f5da6af6d49bf6e078f715560b4ac93725f8ea6df895e7eed0e44bf69399c973978af22ebaef3d371ae19026cff7fb2bd896c8be30d2 SHA512 9132493559d7a7b6de62e5ec1bdcd7a2dcf408c00bb0cfaccb6e11829975d468bfe68feabd71fdf8cc0d28a2c5c549945816aa14c9469314ffafd3d39b9c2da6
|
||||
DIST python-glanceclient-2.8.0.tar.gz 177172 BLAKE2B 0772b7e2b788b63bb590c8354dbad2c4e0bbd731f790f36916aeb154a44474f979961195d307e45149bccd2a58e1df72c48aa0593d6972c606b393f1202ee440 SHA512 257eaf1d548a3a6277b9c80e8b23b9ae4231586307c43a064754c227f3e3c872451ec0469aca931638ea0f7c9920892878c677b144dc72bad215c38d375a63d3
|
||||
DIST python-glanceclient-2.9.1.tar.gz 175836 BLAKE2B f559bff0b4ae1d1782bb06f9bb8b0188d9e78b83afb52a07245f8d9694bfe88e52718d3279f8b2b7d32acdd3cc86d507154bc9bcf716206696144345f4766249 SHA512 0dae48a5673ed779c0a4136896f5e74dcde489a5dfee55295f65d4b74dbe4680b1669570d0fe5011ca5282d0b6057ebc9261e5a06cff0b09fe41fa88529c3947
|
||||
EBUILD python-glanceclient-2.10.0.ebuild 2443 BLAKE2B 7e026fa4c173c8b9cd715e340a6550495b7a3fd155cd838006fe3c2edbf325c24390ac28aa968cb7d7e90859ace3c31cd99f6344c5f0ed83152b7e380a539118 SHA512 e497a697a28fc431a4586bc6373c71fff102f65bec5a3b0e6d07fcd83b04124079a8b5f5e0ce9d714e4fdbf52df80ae83d676cfdfe4aca401dd0e7b3b26dc93a
|
||||
EBUILD python-glanceclient-2.8.0.ebuild 2612 BLAKE2B 844e6ab91a070f9d20fd4418be7b63776eedc900c568ccf89f7c78f52f03fe6675e06249dc0eba5f56fcd70402d133192f77da1bc65ed1f71603852565b8f3b1 SHA512 ff395ab1c060e51278a7e5b6cb283827776a7a7d3e008d1fc0932412f05df0373f6d3f0bceec56e0d1e55d93d5256e59e6da6a15171b6f45bfc394a8a6f7abd0
|
||||
EBUILD python-glanceclient-2.9.1.ebuild 2441 BLAKE2B 50a79c1fce26ab8cb144944fff87afd00f8b83f63748bf01cac0ab84dc425acd9148ba0e5577fdaaf48dc430d92a9852073a9935d045b12166397100e54cedc6 SHA512 3b785c8b08d165b61ce665f3e41655afc9025c5fa8f58a297b4f7b673be82b366ab5146bb158a7bd6e412240f60584c8c66500faf9d291ef0715d9bc1befdcac
|
||||
MISC metadata.xml 632 BLAKE2B 69885578505253d6ec3d0245779a89ebe5c75ab8a8e9fecbf95c29d4aa17ba6864e69c1806a01cde0e92080a86ccbae146bdb2c003f50fd3dfd32b6d2186536f SHA512 d807a9aadecb131f92d6a476a8bc0b0293d46c6ac761a2d1ddb596ac219c6c8ac349402e3f56d150e78ad81c5d2838a33b3d35222a18f9a416f969f6d6208d8f
|
||||
|
@ -0,0 +1,77 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A client for the OpenStack Glance API"
|
||||
HOMEPAGE="https://github.com/openstack/python-glanceclient"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc test"
|
||||
REQUIRED_USE="test? ( doc )"
|
||||
|
||||
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/pbr-2.1.0"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
${CDEPEND}
|
||||
test? (
|
||||
>=dev-python/coverage-4.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/coverage-4.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/ordereddict-1.1[$(python_gen_usedep 'python2_7')]
|
||||
>=dev-python/os-client-config-1.28.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/openstackdocstheme-1.18.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/reno-2.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-mock-1.1.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
doc? (
|
||||
>=dev-python/openstackdocstheme-1.18.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.6.2[${PYTHON_USEDEP}]
|
||||
!~dev-python/sphinx-1.6.6[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}]
|
||||
<dev-python/prettytable-0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/keystoneauth-3.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.14.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/warlock-1.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/warlock-2[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/wrapt-1.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-16.2.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
python_prepare_all() {
|
||||
sed -e 's:intersphinx_mapping:_&:' -i doc/source/conf.py || die
|
||||
sed -i '/^hacking/d' test-requirements.txt || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && esetup.py build_sphinx
|
||||
}
|
||||
|
||||
python_test() {
|
||||
testr init
|
||||
testr run || die "testsuite failed under python2.7"
|
||||
flake8 tests && einfo "run flake8 over tests folder passed" || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
Binary file not shown.
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_NAME=Image-ExifTool
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Read and write meta information in image, audio and video files"
|
||||
HOMEPAGE="https://www.sno.phy.queensu.ca/~phil/exiftool/ ${HOMEPAGE}"
|
||||
SRC_URI="https://www.sno.phy.queensu.ca/~phil/exiftool/${DIST_P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x64-macos"
|
||||
IUSE="doc"
|
||||
|
||||
SRC_TEST="do"
|
||||
|
||||
src_install() {
|
||||
perl-module_src_install
|
||||
use doc && dodoc -r html/
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
From 07bd14c5c7fed103020dc9b630d6a254861ada07 Mon Sep 17 00:00:00 2001
|
||||
From: Akira TAGOH <akira@tagoh.org>
|
||||
Date: Fri, 9 Mar 2018 11:55:43 +0900
|
||||
Subject: Fix the build issue again on MinGW with enabling nls
|
||||
|
||||
---
|
||||
src/Makefile.am | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/Makefile.am b/src/Makefile.am
|
||||
index 1ff065b..2111ce0 100644
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -82,7 +82,7 @@ AM_CPPFLAGS = \
|
||||
-DFC_CACHEDIR='"$(FC_CACHEDIR)"' \
|
||||
-DFONTCONFIG_PATH='"$(BASECONFIGDIR)"' \
|
||||
-DFC_TEMPLATEDIR='"$(TEMPLATEDIR)"'
|
||||
-LDADD = $(INTLLIBS)
|
||||
+LDADD = $(LIBINTL)
|
||||
|
||||
EXTRA_DIST += makealias
|
||||
|
||||
@@ -168,7 +168,7 @@ lib_LTLIBRARIES = libfontconfig.la
|
||||
libfontconfig_la_LDFLAGS = \
|
||||
-version-info @LIBT_VERSION_INFO@ -no-undefined $(export_symbols)
|
||||
|
||||
-libfontconfig_la_LIBADD = $(ICONV_LIBS) $(FREETYPE_LIBS) $(LIBXML2_LIBS) $(EXPAT_LIBS) $(UUID_LIBS) $(INTLLIBS)
|
||||
+libfontconfig_la_LIBADD = $(ICONV_LIBS) $(FREETYPE_LIBS) $(LIBXML2_LIBS) $(EXPAT_LIBS) $(UUID_LIBS) $(LTLIBINTL)
|
||||
|
||||
libfontconfig_la_DEPENDENCIES = $(fontconfig_def_dependency)
|
||||
|
||||
--
|
||||
cgit v1.1
|
||||
|
Binary file not shown.
@ -0,0 +1,65 @@
|
||||
From: Janne Grunau <janne-vlc@jannau.net>
|
||||
Date: Mon, 19 Feb 2018 00:47:53 +0100
|
||||
Subject: arm: make the assembler functions compatible with non ELF/gas
|
||||
platforms
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Allow assembling arm neon functions for IOS and arm windows.
|
||||
|
||||
Signed-off-by: Martin Storsjö <martin@martin.st>
|
||||
(cherry picked from commit ec4d9649d1c03fe8f578db38b41dccdf5e11b005)
|
||||
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
|
||||
|
||||
[Add modules/arm_neon/asm.S missing from orig tarball.]
|
||||
---
|
||||
modules/arm_neon/asm.S | 39 +++++++++++++++++++++++++++++++++++++++
|
||||
1 file changed, 39 insertions(+)
|
||||
create mode 100644 modules/arm_neon/asm.S
|
||||
|
||||
diff --git a/modules/arm_neon/asm.S b/modules/arm_neon/asm.S
|
||||
new file mode 100644
|
||||
index 0000000..728391e
|
||||
--- /dev/null
|
||||
+++ b/modules/arm_neon/asm.S
|
||||
@@ -0,0 +1,39 @@
|
||||
+/*
|
||||
+ * Copyright (c) 2018 Janne Grunau <janne-libav@jannau.net>
|
||||
+ *
|
||||
+ * This program is free software; you can redistribute it and/or
|
||||
+ * modify it under the terms of the GNU Lesser General Public
|
||||
+ * License as published by the Free Software Foundation; either
|
||||
+ * version 2.1 of the License, or (at your option) any later version.
|
||||
+ *
|
||||
+ * This program is distributed in the hope that it will be useful,
|
||||
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
+ * Lesser General Public License for more details.
|
||||
+ *
|
||||
+ * You should have received a copy of the GNU Lesser General Public
|
||||
+ * License along with this program; if not, write to the Free Software
|
||||
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
+ */
|
||||
+
|
||||
+#ifdef __APPLE__
|
||||
+# define EXTERN_ASM _
|
||||
+#else
|
||||
+# define EXTERN_ASM
|
||||
+#endif
|
||||
+
|
||||
+#if defined(__APPLE__) || defined(_WIN32)
|
||||
+# define HAVE_AS_ARCH_DIRECTIVE 0
|
||||
+# define HAVE_AS_FPU_DIRECTIVE 0
|
||||
+#else
|
||||
+# define HAVE_AS_ARCH_DIRECTIVE 1
|
||||
+# define HAVE_AS_FPU_DIRECTIVE 1
|
||||
+#endif
|
||||
+
|
||||
+.macro function name
|
||||
+ .globl EXTERN_ASM\name
|
||||
+#ifdef __ELF__
|
||||
+ .type EXTERN_ASM\name, %function
|
||||
+#endif
|
||||
+EXTERN_ASM\name:
|
||||
+.endm
|
@ -1,483 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MY_PV="${PV/_/-}"
|
||||
MY_PV="${MY_PV/-beta/-test}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
if [[ ${PV} = *9999 ]] ; then
|
||||
if [[ ${PV%.9999} != ${PV} ]] ; then
|
||||
EGIT_REPO_URI="https://git.videolan.org/git/vlc/vlc-${PV%.9999}.git"
|
||||
else
|
||||
EGIT_REPO_URI="https://git.videolan.org/git/vlc.git"
|
||||
fi
|
||||
SCM="git-r3"
|
||||
else
|
||||
if [[ ${MY_P} = ${P} ]] ; then
|
||||
SRC_URI="https://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.xz"
|
||||
else
|
||||
SRC_URI="https://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}.tar.xz"
|
||||
fi
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 -sparc ~x86 ~x86-fbsd"
|
||||
fi
|
||||
inherit autotools flag-o-matic gnome2-utils toolchain-funcs versionator virtualx xdg-utils ${SCM}
|
||||
|
||||
DESCRIPTION="Media player and framework with support for most multimedia files and streaming"
|
||||
HOMEPAGE="https://www.videolan.org/vlc/"
|
||||
|
||||
LICENSE="LGPL-2.1 GPL-2"
|
||||
SLOT="0/5-9" # vlc - vlccore
|
||||
|
||||
IUSE="a52 alsa altivec aom archive bidi bluray cddb chromaprint chromecast dbus dc1394
|
||||
debug directx dts +dvbpsi dvd +encode faad fdk +ffmpeg flac fluidsynth fontconfig
|
||||
+gcrypt gme gnome-keyring gstreamer ieee1394 jack jpeg kate libass libav libcaca
|
||||
libnotify +libsamplerate libtar libtiger linsys lirc live lua macosx-notifications
|
||||
macosx-qtkit matroska microdns modplug mp3 mpeg mtp musepack ncurses neon nfs ogg
|
||||
omxil opencv optimisememory opus png postproc projectm pulseaudio +qt5 rdp rtsp
|
||||
run-as-root samba schroedinger sdl-image sftp shout sid skins speex ssl svg taglib
|
||||
theora tremor truetype twolame udev upnp vaapi v4l vcd vdpau vnc vorbis vpx wayland
|
||||
wma-fixed +X x264 x265 xml zeroconf zvbi cpu_flags_x86_mmx cpu_flags_x86_sse
|
||||
"
|
||||
REQUIRED_USE="
|
||||
bidi? ( truetype )
|
||||
chromecast? ( encode )
|
||||
directx? ( ffmpeg )
|
||||
fontconfig? ( truetype )
|
||||
libcaca? ( X )
|
||||
libtar? ( skins )
|
||||
libtiger? ( kate )
|
||||
postproc? ( ffmpeg )
|
||||
skins? ( qt5 truetype X xml )
|
||||
ssl? ( gcrypt )
|
||||
vaapi? ( ffmpeg X )
|
||||
vdpau? ( ffmpeg X )
|
||||
"
|
||||
RDEPEND="
|
||||
net-dns/libidn:0
|
||||
sys-libs/zlib:0[minizip]
|
||||
virtual/libintl:0
|
||||
virtual/opengl
|
||||
a52? ( media-libs/a52dec:0 )
|
||||
alsa? ( media-libs/alsa-lib:0 )
|
||||
aom? ( media-libs/libaom:= )
|
||||
archive? ( app-arch/libarchive:= )
|
||||
bidi? ( dev-libs/fribidi:0 )
|
||||
bluray? ( media-libs/libbluray:0= )
|
||||
cddb? ( media-libs/libcddb:0 )
|
||||
chromaprint? ( media-libs/chromaprint:0= )
|
||||
chromecast? ( >=dev-libs/protobuf-2.5.0:= )
|
||||
dbus? ( sys-apps/dbus:0 )
|
||||
dc1394? (
|
||||
media-libs/libdc1394:2
|
||||
sys-libs/libraw1394:0
|
||||
)
|
||||
dts? ( media-libs/libdca:0 )
|
||||
dvbpsi? ( >=media-libs/libdvbpsi-1.2.0:0= )
|
||||
dvd? (
|
||||
>=media-libs/libdvdnav-4.9:0
|
||||
>=media-libs/libdvdread-4.9:0
|
||||
)
|
||||
faad? ( media-libs/faad2:0 )
|
||||
fdk? ( media-libs/fdk-aac:0= )
|
||||
ffmpeg? (
|
||||
!libav? ( >=media-video/ffmpeg-3.1.3:0=[vaapi?,vdpau?] )
|
||||
libav? ( >=media-video/libav-11.8:0=[vaapi?,vdpau?] )
|
||||
)
|
||||
flac? (
|
||||
media-libs/flac:0
|
||||
media-libs/libogg:0
|
||||
)
|
||||
fluidsynth? ( media-sound/fluidsynth:0 )
|
||||
fontconfig? ( media-libs/fontconfig:1.0 )
|
||||
gcrypt? (
|
||||
dev-libs/libgcrypt:0=
|
||||
dev-libs/libgpg-error:0
|
||||
)
|
||||
gme? ( media-libs/game-music-emu:0 )
|
||||
gnome-keyring? ( app-crypt/libsecret )
|
||||
gstreamer? ( >=media-libs/gst-plugins-base-1.4.5:1.0 )
|
||||
ieee1394? (
|
||||
sys-libs/libavc1394:0
|
||||
sys-libs/libraw1394:0
|
||||
)
|
||||
jack? ( virtual/jack )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
kate? ( media-libs/libkate:0 )
|
||||
libass? (
|
||||
media-libs/fontconfig:1.0
|
||||
media-libs/libass:0=
|
||||
)
|
||||
libcaca? ( media-libs/libcaca:0 )
|
||||
libnotify? (
|
||||
dev-libs/glib:2
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libnotify:0
|
||||
)
|
||||
libsamplerate? ( media-libs/libsamplerate:0 )
|
||||
libtar? ( dev-libs/libtar:0 )
|
||||
libtiger? ( media-libs/libtiger:0 )
|
||||
linsys? ( media-libs/zvbi )
|
||||
lirc? ( app-misc/lirc:0 )
|
||||
live? ( media-plugins/live:0 )
|
||||
lua? ( >=dev-lang/lua-5.1:0 )
|
||||
matroska? (
|
||||
dev-libs/libebml:0=
|
||||
media-libs/libmatroska:0=
|
||||
)
|
||||
microdns? ( >=net-libs/libmicrodns-0.0.9:= )
|
||||
modplug? ( media-libs/libmodplug:0 )
|
||||
mp3? ( media-libs/libmad:0 )
|
||||
mpeg? ( media-libs/libmpeg2:0 )
|
||||
mtp? ( media-libs/libmtp:0= )
|
||||
musepack? ( media-sound/musepack-tools:0 )
|
||||
ncurses? ( sys-libs/ncurses:0=[unicode] )
|
||||
nfs? ( >=net-fs/libnfs-0.10.0:= )
|
||||
ogg? ( media-libs/libogg:0 )
|
||||
opencv? ( media-libs/opencv:0= )
|
||||
opus? ( >=media-libs/opus-1.0.3:0 )
|
||||
png? ( media-libs/libpng:0= )
|
||||
postproc? ( libav? ( media-libs/libpostproc:0= ) )
|
||||
projectm? (
|
||||
media-fonts/dejavu:0
|
||||
media-libs/libprojectm:0
|
||||
)
|
||||
pulseaudio? ( media-sound/pulseaudio:0 )
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qtwidgets:5
|
||||
X? (
|
||||
dev-qt/qtx11extras:5
|
||||
x11-libs/libX11
|
||||
)
|
||||
)
|
||||
rdp? ( >=net-misc/freerdp-2.0.0_rc0:0=[client] )
|
||||
samba? ( >=net-fs/samba-4.0.0:0[client,-debug(-)] )
|
||||
schroedinger? ( >=media-libs/schroedinger-1.0.10:0 )
|
||||
sdl-image? ( media-libs/sdl-image:0 )
|
||||
sftp? ( net-libs/libssh2:0 )
|
||||
shout? ( media-libs/libshout:0 )
|
||||
sid? ( media-libs/libsidplay:2 )
|
||||
skins? (
|
||||
x11-libs/libXext:0
|
||||
x11-libs/libXinerama:0
|
||||
x11-libs/libXpm:0
|
||||
)
|
||||
speex? (
|
||||
>=media-libs/speex-1.2.0:0
|
||||
media-libs/speexdsp:0
|
||||
)
|
||||
ssl? ( net-libs/gnutls:0 )
|
||||
svg? (
|
||||
gnome-base/librsvg:2
|
||||
x11-libs/cairo:0
|
||||
)
|
||||
taglib? ( >=media-libs/taglib-1.9:0 )
|
||||
theora? ( media-libs/libtheora:0 )
|
||||
tremor? ( media-libs/tremor:0 )
|
||||
truetype? (
|
||||
media-libs/freetype:2
|
||||
virtual/ttf-fonts:0
|
||||
!fontconfig? ( media-fonts/dejavu:0 )
|
||||
)
|
||||
twolame? ( media-sound/twolame:0 )
|
||||
udev? ( virtual/udev:0 )
|
||||
upnp? ( net-libs/libupnp:= )
|
||||
v4l? ( media-libs/libv4l:0 )
|
||||
vaapi? ( x11-libs/libva:0=[drm,wayland?,X?] )
|
||||
vcd? ( >=dev-libs/libcdio-0.78.2:0 )
|
||||
vdpau? ( x11-libs/libvdpau:0 )
|
||||
vnc? ( net-libs/libvncserver:0 )
|
||||
vorbis? ( media-libs/libvorbis:0 )
|
||||
vpx? ( media-libs/libvpx:0= )
|
||||
wayland? (
|
||||
dev-libs/wayland
|
||||
dev-libs/wayland-protocols
|
||||
)
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
x11-libs/xcb-util
|
||||
x11-libs/xcb-util-keysyms
|
||||
)
|
||||
x264? ( media-libs/x264:0= )
|
||||
x265? ( media-libs/x265:0= )
|
||||
xml? ( dev-libs/libxml2:2 )
|
||||
zeroconf? ( net-dns/avahi:0[dbus] )
|
||||
zvbi? ( media-libs/zvbi )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/gettext-0.19.8:*
|
||||
virtual/pkgconfig:*
|
||||
amd64? ( dev-lang/yasm:* )
|
||||
x86? ( dev-lang/yasm:* )
|
||||
X? ( x11-proto/xproto )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.1.0-fix-libtremor-libs.patch # build system
|
||||
"${FILESDIR}"/${PN}-2.2.4-libav-11.7.patch # bug #593460
|
||||
"${FILESDIR}"/${PN}-2.2.8-freerdp-2.patch # bug 590164
|
||||
)
|
||||
|
||||
DOCS=( AUTHORS THANKS NEWS README doc/fortunes.txt )
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_pretend() {
|
||||
# https://bugs.gentoo.org/647668
|
||||
if use chromecast && ! use microdns; then
|
||||
einfo "USE=microdns is required for Chromecast autodetection support"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
has_version '>=net-libs/libupnp-1.8.0' && \
|
||||
eapply "${FILESDIR}"/${PN}-2.2.8-libupnp-slot-1.8.patch
|
||||
|
||||
# Bootstrap when we are on a git checkout.
|
||||
if [[ ${PV} = *9999 ]] ; then
|
||||
./bootstrap
|
||||
fi
|
||||
|
||||
# Make it build with libtool 1.5
|
||||
rm m4/lt* m4/libtool.m4 || die
|
||||
|
||||
# We are not in a real git checkout due to the absence of a .git directory.
|
||||
touch src/revision.txt || die
|
||||
|
||||
# Don't use --started-from-file when not using dbus.
|
||||
if ! use dbus ; then
|
||||
sed -i 's/ --started-from-file//' share/vlc.desktop.in || die
|
||||
fi
|
||||
|
||||
# Disable running of vlc-cache-gen, we do that in pkg_postinst
|
||||
sed -e "/test.*build.*host/s/\$(host)/nothanks/" \
|
||||
-i Makefile.am -i bin/Makefile.am || die "Failed to disable vlc-cache-gen"
|
||||
|
||||
eautoreconf
|
||||
|
||||
# Disable automatic running of tests.
|
||||
find . -name 'Makefile.in' -exec sed -i 's/\(..*\)check-TESTS/\1/' {} \; || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-aa
|
||||
--disable-dependency-tracking
|
||||
--disable-optimizations
|
||||
--disable-update-check
|
||||
--enable-fast-install
|
||||
--enable-screen
|
||||
--enable-vlc
|
||||
$(use_enable a52)
|
||||
$(use_enable alsa)
|
||||
$(use_enable altivec)
|
||||
$(use_enable aom)
|
||||
$(use_enable archive)
|
||||
$(use_enable bidi fribidi)
|
||||
$(use_enable bluray)
|
||||
$(use_enable cddb libcddb)
|
||||
$(use_enable chromaprint)
|
||||
$(use_enable chromecast)
|
||||
$(use_enable cpu_flags_x86_mmx mmx)
|
||||
$(use_enable cpu_flags_x86_sse sse)
|
||||
$(use_enable dbus)
|
||||
$(use_enable dbus kwallet)
|
||||
$(use_enable dc1394)
|
||||
$(use_enable debug)
|
||||
$(use_enable directx)
|
||||
$(use_enable directx d3d11va)
|
||||
$(use_enable directx dxva2)
|
||||
$(use_enable dts dca)
|
||||
$(use_enable dvbpsi)
|
||||
$(use_enable dvd dvdnav)
|
||||
$(use_enable dvd dvdread)
|
||||
$(use_enable encode sout)
|
||||
$(use_enable encode vlm)
|
||||
$(use_enable faad)
|
||||
$(use_enable fdk fdkaac)
|
||||
$(use_enable ffmpeg avcodec)
|
||||
$(use_enable ffmpeg avformat)
|
||||
$(use_enable ffmpeg swscale)
|
||||
$(use_enable flac)
|
||||
$(use_enable fluidsynth)
|
||||
$(use_enable fontconfig)
|
||||
$(use_enable gcrypt libgcrypt)
|
||||
$(use_enable gme)
|
||||
$(use_enable gnome-keyring secret)
|
||||
$(use_enable gstreamer gst-decode)
|
||||
$(use_enable ieee1394 dv1394)
|
||||
$(use_enable jack)
|
||||
$(use_enable jpeg)
|
||||
$(use_enable kate)
|
||||
$(use_enable libass)
|
||||
$(use_enable libcaca caca)
|
||||
$(use_enable libnotify notify)
|
||||
$(use_enable libsamplerate samplerate)
|
||||
$(use_enable libtar)
|
||||
$(use_enable libtiger tiger)
|
||||
$(use_enable linsys)
|
||||
$(use_enable lirc)
|
||||
$(use_enable live live555)
|
||||
$(use_enable lua)
|
||||
$(use_enable macosx-notifications osx-notifications)
|
||||
$(use_enable macosx-qtkit)
|
||||
$(use_enable microdns)
|
||||
$(use_enable modplug mod)
|
||||
$(use_enable mp3 mad)
|
||||
$(use_enable mpeg libmpeg2)
|
||||
$(use_enable mtp)
|
||||
$(use_enable musepack mpc)
|
||||
$(use_enable ncurses)
|
||||
$(use_enable neon)
|
||||
$(use_enable ogg)
|
||||
$(use_enable omxil)
|
||||
$(use_enable omxil omxil-vout)
|
||||
$(use_enable opencv)
|
||||
$(use_enable optimisememory optimize-memory)
|
||||
$(use_enable opus)
|
||||
$(use_enable png)
|
||||
$(use_enable postproc)
|
||||
$(use_enable projectm)
|
||||
$(use_enable pulseaudio pulse)
|
||||
$(use_enable qt5 qt)
|
||||
$(use_enable rdp freerdp)
|
||||
$(use_enable rtsp realrtsp)
|
||||
$(use_enable run-as-root)
|
||||
$(use_enable samba smbclient)
|
||||
$(use_enable schroedinger)
|
||||
$(use_enable sdl-image)
|
||||
$(use_enable sftp)
|
||||
$(use_enable shout)
|
||||
$(use_enable sid)
|
||||
$(use_enable skins skins2)
|
||||
$(use_enable speex)
|
||||
$(use_enable ssl gnutls)
|
||||
$(use_enable svg)
|
||||
$(use_enable svg svgdec)
|
||||
$(use_enable taglib)
|
||||
$(use_enable theora)
|
||||
$(use_enable tremor)
|
||||
$(use_enable truetype freetype)
|
||||
$(use_enable twolame)
|
||||
$(use_enable udev)
|
||||
$(use_enable upnp)
|
||||
$(use_enable v4l v4l2)
|
||||
$(use_enable vaapi libva)
|
||||
$(use_enable vcd)
|
||||
$(use_enable vdpau)
|
||||
$(use_enable vnc)
|
||||
$(use_enable vorbis)
|
||||
$(use_enable vpx)
|
||||
$(use_enable wayland)
|
||||
$(use_enable wma-fixed)
|
||||
$(use_with X x)
|
||||
$(use_enable X xcb)
|
||||
$(use_enable X xvideo)
|
||||
$(use_enable x264)
|
||||
$(use_enable x265)
|
||||
$(use_enable xml libxml2)
|
||||
$(use_enable zeroconf avahi)
|
||||
$(use_enable zvbi)
|
||||
$(use_enable !zvbi telx)
|
||||
--disable-asdcp
|
||||
--disable-coverage
|
||||
--disable-cprof
|
||||
--disable-crystalhd
|
||||
--disable-decklink
|
||||
--disable-gles2
|
||||
--disable-goom
|
||||
--disable-kai
|
||||
--disable-kva
|
||||
--disable-libplacebo
|
||||
--disable-maintainer-mode
|
||||
--disable-merge-ffmpeg
|
||||
--disable-mfx
|
||||
--disable-mmal
|
||||
--disable-opensles
|
||||
--disable-oss
|
||||
--disable-rpi-omxil
|
||||
--disable-shine
|
||||
--disable-sndio
|
||||
--disable-spatialaudio
|
||||
--disable-srt
|
||||
--disable-vsxu
|
||||
--disable-wasapi
|
||||
)
|
||||
# ^ We don't have these disabled libraries in the Portage tree yet.
|
||||
|
||||
# Compatibility fix for Samba 4.
|
||||
use samba && append-cppflags "-I/usr/include/samba-4.0"
|
||||
|
||||
if use x86; then
|
||||
# We need to disable -fstack-check if use >=gcc 4.8.0. bug #499996
|
||||
append-cflags $(test-flags-CC -fno-stack-check)
|
||||
# Bug 569774
|
||||
replace-flags -Os -O2
|
||||
fi
|
||||
|
||||
# VLC now requires C++11 after commit 4b1c9dcdda0bbff801e47505ff9dfd3f274eb0d8
|
||||
append-cxxflags -std=c++11
|
||||
|
||||
# FIXME: Needs libresid-builder from libsidplay:2 which is in another directory...
|
||||
append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/"
|
||||
|
||||
xdg_environment_reset # bug 608256
|
||||
|
||||
if use truetype || use projectm ; then
|
||||
local dejavu="/usr/share/fonts/dejavu/"
|
||||
myeconfargs+=(
|
||||
--with-default-font=${dejavu}/DejaVuSans.ttf
|
||||
--with-default-font-family=Sans
|
||||
--with-default-monospace-font=${dejavu}/DejaVuSansMono.ttf
|
||||
--with-default-monospace-font-family=Monospace
|
||||
)
|
||||
fi
|
||||
|
||||
econf ${myeconfargs[@]}
|
||||
|
||||
# _FORTIFY_SOURCE is set to 2 in config.h, which is also the default value on Gentoo.
|
||||
# Other values may break the build (bug 523144), so definition should not be removed.
|
||||
# To prevent redefinition warnings, we undefine _FORTIFY_SOURCE at the start of config.h
|
||||
sed -i '1i#undef _FORTIFY_SOURCE' config.h || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx emake check-TESTS
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ "$ROOT" = "/" ]] && [[ -x "/usr/$(get_libdir)/vlc/vlc-cache-gen" ]] ; then
|
||||
einfo "Running /usr/$(get_libdir)/vlc/vlc-cache-gen on /usr/$(get_libdir)/vlc/plugins/"
|
||||
"/usr/$(get_libdir)/vlc/vlc-cache-gen" "/usr/$(get_libdir)/vlc/plugins/"
|
||||
else
|
||||
ewarn "We cannot run vlc-cache-gen (most likely ROOT!=/)"
|
||||
ewarn "Please run /usr/$(get_libdir)/vlc/vlc-cache-gen manually"
|
||||
ewarn "If you do not do it, vlc will take a long time to load."
|
||||
fi
|
||||
|
||||
gnome2_icon_cache_update
|
||||
xdg_mimeinfo_database_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if [[ -e /usr/$(get_libdir)/vlc/plugins/plugins.dat ]]; then
|
||||
rm /usr/$(get_libdir)/vlc/plugins/plugins.dat || die "Failed to rm plugins.dat"
|
||||
fi
|
||||
|
||||
gnome2_icon_cache_update
|
||||
xdg_mimeinfo_database_update
|
||||
xdg_desktop_database_update
|
||||
}
|
Binary file not shown.
@ -1 +1 @@
|
||||
Tue, 10 Apr 2018 20:38:28 +0000
|
||||
Wed, 11 Apr 2018 05:08:27 +0000
|
||||
|
@ -1 +1 @@
|
||||
Tue, 10 Apr 2018 20:38:28 +0000
|
||||
Wed, 11 Apr 2018 05:08:27 +0000
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,15 @@
|
||||
DEFINED_PHASES=compile configure install prepare test unpack
|
||||
DEPEND=app-emulation/libvirt dev-libs/libxml2 dev-libs/libxslt virtual/pkgconfig doc? ( app-text/xhtml1 ) >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 sys-devel/m4 sys-devel/libtool php_targets_php5-6? ( dev-lang/php:5.6 ) php_targets_php7-0? ( dev-lang/php:7.0 ) php_targets_php7-1? ( dev-lang/php:7.1 ) php_targets_php7-2? ( dev-lang/php:7.2 )
|
||||
DESCRIPTION=PHP bindings for libvirt
|
||||
EAPI=6
|
||||
HOMEPAGE=http://libvirt.org/php/
|
||||
IUSE=doc php_targets_php5-6 php_targets_php7-0 php_targets_php7-1 php_targets_php7-2
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=LGPL-2.1
|
||||
RDEPEND=app-emulation/libvirt dev-libs/libxml2 php_targets_php5-6? ( dev-lang/php:5.6 ) php_targets_php7-0? ( dev-lang/php:7.0 ) php_targets_php7-1? ( dev-lang/php:7.1 ) php_targets_php7-2? ( dev-lang/php:7.2 )
|
||||
REQUIRED_USE=|| ( php_targets_php5-6 php_targets_php7-0 php_targets_php7-1 php_targets_php7-2 )
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=http://libvirt.org/sources/php/libvirt-php-0.5.4.tar.gz
|
||||
_eclasses_=autotools 4842e626555a9a4344f34cef2e190b67 libtool 0081a71a261724730ec4c248494f044d multilib 97f470f374f2e94ccab04a2fb21d811e php-ext-source-r3 63b281041baa106ff1ef59b602ca7e2a toolchain-funcs 885c7d8dd70a58825f3d17e35a3cd1e9
|
||||
_md5_=1c2426bf3a080b9e090979ac8b0ccbfd
|
@ -1,13 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install prepare test unpack
|
||||
DEPEND=app-emulation/libvirt dev-libs/libxml2 dev-libs/libxslt virtual/pkgconfig doc? ( app-text/xhtml1 ) >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 sys-devel/m4 sys-devel/libtool php_targets_php5-6? ( dev-lang/php:5.6 ) php_targets_php7-0? ( dev-lang/php:7.0 ) php_targets_php7-1? ( dev-lang/php:7.1 ) >=dev-vcs/git-1.8.2.1
|
||||
DEPEND=app-emulation/libvirt dev-libs/libxml2 dev-libs/libxslt virtual/pkgconfig doc? ( app-text/xhtml1 ) >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 sys-devel/m4 sys-devel/libtool php_targets_php5-6? ( dev-lang/php:5.6 ) php_targets_php7-0? ( dev-lang/php:7.0 ) php_targets_php7-1? ( dev-lang/php:7.1 ) php_targets_php7-2? ( dev-lang/php:7.2 ) >=dev-vcs/git-1.8.2.1
|
||||
DESCRIPTION=PHP bindings for libvirt
|
||||
EAPI=6
|
||||
HOMEPAGE=http://libvirt.org/php/
|
||||
IUSE=doc php_targets_php5-6 php_targets_php7-0 php_targets_php7-1
|
||||
IUSE=doc php_targets_php5-6 php_targets_php7-0 php_targets_php7-1 php_targets_php7-2
|
||||
LICENSE=LGPL-2.1
|
||||
RDEPEND=app-emulation/libvirt dev-libs/libxml2 php_targets_php5-6? ( dev-lang/php:5.6 ) php_targets_php7-0? ( dev-lang/php:7.0 ) php_targets_php7-1? ( dev-lang/php:7.1 )
|
||||
REQUIRED_USE=|| ( php_targets_php5-6 php_targets_php7-0 php_targets_php7-1 )
|
||||
RDEPEND=app-emulation/libvirt dev-libs/libxml2 php_targets_php5-6? ( dev-lang/php:5.6 ) php_targets_php7-0? ( dev-lang/php:7.0 ) php_targets_php7-1? ( dev-lang/php:7.1 ) php_targets_php7-2? ( dev-lang/php:7.2 )
|
||||
REQUIRED_USE=|| ( php_targets_php5-6 php_targets_php7-0 php_targets_php7-1 php_targets_php7-2 )
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
_eclasses_=autotools 4842e626555a9a4344f34cef2e190b67 git-r3 25b08efef07cea6bcd45b8c6dcce2782 libtool 0081a71a261724730ec4c248494f044d multilib 97f470f374f2e94ccab04a2fb21d811e php-ext-source-r3 63b281041baa106ff1ef59b602ca7e2a toolchain-funcs 885c7d8dd70a58825f3d17e35a3cd1e9
|
||||
_md5_=d3652fe6a91457fbd999b9c8b2487f1a
|
||||
_md5_=cd26b9a05324d8d7290adc2bac4ab953
|
||||
|
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=dev-lang/perl:=
|
||||
DESCRIPTION=Read and write meta information in image, audio and video files
|
||||
EAPI=6
|
||||
HOMEPAGE=https://www.sno.phy.queensu.ca/~phil/exiftool/ http://search.cpan.org/dist/Image-ExifTool/
|
||||
IUSE=doc
|
||||
KEYWORDS=~amd64 ~ppc ~ppc64 ~x86 ~x64-macos
|
||||
LICENSE=|| ( Artistic GPL-1+ )
|
||||
RDEPEND=dev-lang/perl:=
|
||||
SLOT=0
|
||||
SRC_URI=https://www.sno.phy.queensu.ca/~phil/exiftool/Image-ExifTool-10.91.tar.gz
|
||||
_eclasses_=multiprocessing cac3169468f893670dac3e7cb940e045 perl-functions 01e8c68d5a528bbcda4d3c60205983df perl-module 863b35d127db98823d439f8d73c2d011
|
||||
_md5_=20d25e5adbde45b4c4c9e8f4871dd23a
|
Binary file not shown.
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=configure install postinst postrm prepare pretend test
|
||||
DEPEND=net-dns/libidn:0 sys-libs/zlib:0[minizip] virtual/libintl:0 virtual/opengl a52? ( media-libs/a52dec:0 ) alsa? ( media-libs/alsa-lib:0 ) aom? ( media-libs/libaom:= ) archive? ( app-arch/libarchive:= ) bidi? ( dev-libs/fribidi:0 ) bluray? ( media-libs/libbluray:0= ) cddb? ( media-libs/libcddb:0 ) chromaprint? ( media-libs/chromaprint:0= ) chromecast? ( >=dev-libs/protobuf-2.5.0:= ) dbus? ( sys-apps/dbus:0 ) dc1394? ( media-libs/libdc1394:2 sys-libs/libraw1394:0 ) dts? ( media-libs/libdca:0 ) dvbpsi? ( >=media-libs/libdvbpsi-1.2.0:0= ) dvd? ( >=media-libs/libdvdnav-4.9:0 >=media-libs/libdvdread-4.9:0 ) faad? ( media-libs/faad2:0 ) fdk? ( media-libs/fdk-aac:0= ) ffmpeg? ( !libav? ( >=media-video/ffmpeg-3.1.3:0=[vaapi?,vdpau?] ) libav? ( >=media-video/libav-11.8:0=[vaapi?,vdpau?] ) ) flac? ( media-libs/flac:0 media-libs/libogg:0 ) fluidsynth? ( media-sound/fluidsynth:0 ) fontconfig? ( media-libs/fontconfig:1.0 ) gcrypt? ( dev-libs/libgcrypt:0= dev-libs/libgpg-error:0 ) gme? ( media-libs/game-music-emu:0 ) gnome-keyring? ( app-crypt/libsecret ) gstreamer? ( >=media-libs/gst-plugins-base-1.4.5:1.0 ) ieee1394? ( sys-libs/libavc1394:0 sys-libs/libraw1394:0 ) jack? ( virtual/jack ) jpeg? ( virtual/jpeg:0 ) kate? ( media-libs/libkate:0 ) libass? ( media-libs/fontconfig:1.0 media-libs/libass:0= ) libcaca? ( media-libs/libcaca:0 ) libnotify? ( dev-libs/glib:2 x11-libs/gdk-pixbuf:2 x11-libs/gtk+:3 x11-libs/libnotify:0 ) libsamplerate? ( media-libs/libsamplerate:0 ) libtar? ( dev-libs/libtar:0 ) libtiger? ( media-libs/libtiger:0 ) linsys? ( media-libs/zvbi ) lirc? ( app-misc/lirc:0 ) live? ( media-plugins/live:0 ) lua? ( >=dev-lang/lua-5.1:0 ) matroska? ( dev-libs/libebml:0= media-libs/libmatroska:0= ) microdns? ( >=net-libs/libmicrodns-0.0.9:= ) modplug? ( media-libs/libmodplug:0 ) mp3? ( media-libs/libmad:0 ) mpeg? ( media-libs/libmpeg2:0 ) mtp? ( media-libs/libmtp:0= ) musepack? ( media-sound/musepack-tools:0 ) ncurses? ( sys-libs/ncurses:0=[unicode] ) nfs? ( >=net-fs/libnfs-0.10.0:= ) ogg? ( media-libs/libogg:0 ) opencv? ( media-libs/opencv:0= ) opus? ( >=media-libs/opus-1.0.3:0 ) png? ( media-libs/libpng:0= ) postproc? ( libav? ( media-libs/libpostproc:0= ) ) projectm? ( media-fonts/dejavu:0 media-libs/libprojectm:0 ) pulseaudio? ( media-sound/pulseaudio:0 ) qt5? ( dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtsvg:5 dev-qt/qtwidgets:5 X? ( dev-qt/qtx11extras:5 x11-libs/libX11 ) ) rdp? ( >=net-misc/freerdp-2.0.0_rc0:0=[client] ) samba? ( >=net-fs/samba-4.0.0:0[client,-debug(-)] ) schroedinger? ( >=media-libs/schroedinger-1.0.10:0 ) sdl-image? ( media-libs/sdl-image:0 ) sftp? ( net-libs/libssh2:0 ) shout? ( media-libs/libshout:0 ) sid? ( media-libs/libsidplay:2 ) skins? ( x11-libs/libXext:0 x11-libs/libXinerama:0 x11-libs/libXpm:0 ) speex? ( >=media-libs/speex-1.2.0:0 media-libs/speexdsp:0 ) ssl? ( net-libs/gnutls:0 ) svg? ( gnome-base/librsvg:2 x11-libs/cairo:0 ) taglib? ( >=media-libs/taglib-1.9:0 ) theora? ( media-libs/libtheora:0 ) tremor? ( media-libs/tremor:0 ) truetype? ( media-libs/freetype:2 virtual/ttf-fonts:0 !fontconfig? ( media-fonts/dejavu:0 ) ) twolame? ( media-sound/twolame:0 ) udev? ( virtual/udev:0 ) upnp? ( net-libs/libupnp:= ) v4l? ( media-libs/libv4l:0 ) vaapi? ( x11-libs/libva:0=[drm,wayland?,X?] ) vcd? ( >=dev-libs/libcdio-0.78.2:0 ) vdpau? ( x11-libs/libvdpau:0 ) vnc? ( net-libs/libvncserver:0 ) vorbis? ( media-libs/libvorbis:0 ) vpx? ( media-libs/libvpx:0= ) wayland? ( dev-libs/wayland dev-libs/wayland-protocols ) X? ( x11-libs/libX11 x11-libs/libxcb x11-libs/xcb-util x11-libs/xcb-util-keysyms ) x264? ( media-libs/x264:0= ) x265? ( media-libs/x265:0= ) xml? ( dev-libs/libxml2:2 ) zeroconf? ( net-dns/avahi:0[dbus] ) zvbi? ( media-libs/zvbi ) >=sys-devel/gettext-0.19.8:* virtual/pkgconfig:* amd64? ( dev-lang/yasm:* ) x86? ( dev-lang/yasm:* ) X? ( x11-proto/xproto ) >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 >=sys-apps/sed-4 test? ( !prefix? ( x11-base/xorg-server[xvfb] ) x11-apps/xhost )
|
||||
DESCRIPTION=Media player and framework with support for most multimedia files and streaming
|
||||
EAPI=6
|
||||
HOMEPAGE=https://www.videolan.org/vlc/
|
||||
IUSE=a52 alsa altivec aom archive bidi bluray cddb chromaprint chromecast dbus dc1394 debug directx dts +dvbpsi dvd +encode faad fdk +ffmpeg flac fluidsynth fontconfig +gcrypt gme gnome-keyring gstreamer ieee1394 jack jpeg kate libass libav libcaca libnotify +libsamplerate libtar libtiger linsys lirc live lua macosx-notifications macosx-qtkit matroska microdns modplug mp3 mpeg mtp musepack ncurses neon nfs ogg omxil opencv optimisememory opus png postproc projectm pulseaudio +qt5 rdp rtsp run-as-root samba schroedinger sdl-image sftp shout sid skins speex ssl svg taglib theora tremor truetype twolame udev upnp vaapi v4l vcd vdpau vnc vorbis vpx wayland wma-fixed +X x264 x265 xml zeroconf zvbi cpu_flags_x86_mmx cpu_flags_x86_sse test
|
||||
KEYWORDS=~amd64 ~arm ~arm64 ~ppc ~ppc64 -sparc ~x86 ~x86-fbsd
|
||||
LICENSE=LGPL-2.1 GPL-2
|
||||
RDEPEND=net-dns/libidn:0 sys-libs/zlib:0[minizip] virtual/libintl:0 virtual/opengl a52? ( media-libs/a52dec:0 ) alsa? ( media-libs/alsa-lib:0 ) aom? ( media-libs/libaom:= ) archive? ( app-arch/libarchive:= ) bidi? ( dev-libs/fribidi:0 ) bluray? ( media-libs/libbluray:0= ) cddb? ( media-libs/libcddb:0 ) chromaprint? ( media-libs/chromaprint:0= ) chromecast? ( >=dev-libs/protobuf-2.5.0:= ) dbus? ( sys-apps/dbus:0 ) dc1394? ( media-libs/libdc1394:2 sys-libs/libraw1394:0 ) dts? ( media-libs/libdca:0 ) dvbpsi? ( >=media-libs/libdvbpsi-1.2.0:0= ) dvd? ( >=media-libs/libdvdnav-4.9:0 >=media-libs/libdvdread-4.9:0 ) faad? ( media-libs/faad2:0 ) fdk? ( media-libs/fdk-aac:0= ) ffmpeg? ( !libav? ( >=media-video/ffmpeg-3.1.3:0=[vaapi?,vdpau?] ) libav? ( >=media-video/libav-11.8:0=[vaapi?,vdpau?] ) ) flac? ( media-libs/flac:0 media-libs/libogg:0 ) fluidsynth? ( media-sound/fluidsynth:0 ) fontconfig? ( media-libs/fontconfig:1.0 ) gcrypt? ( dev-libs/libgcrypt:0= dev-libs/libgpg-error:0 ) gme? ( media-libs/game-music-emu:0 ) gnome-keyring? ( app-crypt/libsecret ) gstreamer? ( >=media-libs/gst-plugins-base-1.4.5:1.0 ) ieee1394? ( sys-libs/libavc1394:0 sys-libs/libraw1394:0 ) jack? ( virtual/jack ) jpeg? ( virtual/jpeg:0 ) kate? ( media-libs/libkate:0 ) libass? ( media-libs/fontconfig:1.0 media-libs/libass:0= ) libcaca? ( media-libs/libcaca:0 ) libnotify? ( dev-libs/glib:2 x11-libs/gdk-pixbuf:2 x11-libs/gtk+:3 x11-libs/libnotify:0 ) libsamplerate? ( media-libs/libsamplerate:0 ) libtar? ( dev-libs/libtar:0 ) libtiger? ( media-libs/libtiger:0 ) linsys? ( media-libs/zvbi ) lirc? ( app-misc/lirc:0 ) live? ( media-plugins/live:0 ) lua? ( >=dev-lang/lua-5.1:0 ) matroska? ( dev-libs/libebml:0= media-libs/libmatroska:0= ) microdns? ( >=net-libs/libmicrodns-0.0.9:= ) modplug? ( media-libs/libmodplug:0 ) mp3? ( media-libs/libmad:0 ) mpeg? ( media-libs/libmpeg2:0 ) mtp? ( media-libs/libmtp:0= ) musepack? ( media-sound/musepack-tools:0 ) ncurses? ( sys-libs/ncurses:0=[unicode] ) nfs? ( >=net-fs/libnfs-0.10.0:= ) ogg? ( media-libs/libogg:0 ) opencv? ( media-libs/opencv:0= ) opus? ( >=media-libs/opus-1.0.3:0 ) png? ( media-libs/libpng:0= ) postproc? ( libav? ( media-libs/libpostproc:0= ) ) projectm? ( media-fonts/dejavu:0 media-libs/libprojectm:0 ) pulseaudio? ( media-sound/pulseaudio:0 ) qt5? ( dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtsvg:5 dev-qt/qtwidgets:5 X? ( dev-qt/qtx11extras:5 x11-libs/libX11 ) ) rdp? ( >=net-misc/freerdp-2.0.0_rc0:0=[client] ) samba? ( >=net-fs/samba-4.0.0:0[client,-debug(-)] ) schroedinger? ( >=media-libs/schroedinger-1.0.10:0 ) sdl-image? ( media-libs/sdl-image:0 ) sftp? ( net-libs/libssh2:0 ) shout? ( media-libs/libshout:0 ) sid? ( media-libs/libsidplay:2 ) skins? ( x11-libs/libXext:0 x11-libs/libXinerama:0 x11-libs/libXpm:0 ) speex? ( >=media-libs/speex-1.2.0:0 media-libs/speexdsp:0 ) ssl? ( net-libs/gnutls:0 ) svg? ( gnome-base/librsvg:2 x11-libs/cairo:0 ) taglib? ( >=media-libs/taglib-1.9:0 ) theora? ( media-libs/libtheora:0 ) tremor? ( media-libs/tremor:0 ) truetype? ( media-libs/freetype:2 virtual/ttf-fonts:0 !fontconfig? ( media-fonts/dejavu:0 ) ) twolame? ( media-sound/twolame:0 ) udev? ( virtual/udev:0 ) upnp? ( net-libs/libupnp:= ) v4l? ( media-libs/libv4l:0 ) vaapi? ( x11-libs/libva:0=[drm,wayland?,X?] ) vcd? ( >=dev-libs/libcdio-0.78.2:0 ) vdpau? ( x11-libs/libvdpau:0 ) vnc? ( net-libs/libvncserver:0 ) vorbis? ( media-libs/libvorbis:0 ) vpx? ( media-libs/libvpx:0= ) wayland? ( dev-libs/wayland dev-libs/wayland-protocols ) X? ( x11-libs/libX11 x11-libs/libxcb x11-libs/xcb-util x11-libs/xcb-util-keysyms ) x264? ( media-libs/x264:0= ) x265? ( media-libs/x265:0= ) xml? ( dev-libs/libxml2:2 ) zeroconf? ( net-dns/avahi:0[dbus] ) zvbi? ( media-libs/zvbi )
|
||||
REQUIRED_USE=bidi? ( truetype ) chromecast? ( encode ) directx? ( ffmpeg ) fontconfig? ( truetype ) libcaca? ( X ) libtar? ( skins ) libtiger? ( kate ) postproc? ( ffmpeg ) skins? ( qt5 truetype X xml ) ssl? ( gcrypt ) vaapi? ( ffmpeg X ) vdpau? ( ffmpeg X )
|
||||
SLOT=0/5-9
|
||||
SRC_URI=https://download.videolan.org/pub/videolan/vlc/3.0.0/vlc-3.0.0.tar.xz
|
||||
_eclasses_=autotools 4842e626555a9a4344f34cef2e190b67 desktop 2ccd1dd1dd7bfb8795eea024a4f91bb6 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 63392afb034aad67f17fa129019eb4d9 flag-o-matic 02908f00f002f0f07c5b74783d778325 gnome2-utils 4d211d7614f303710fca59db6ec12c88 libtool 0081a71a261724730ec4c248494f044d ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 885c7d8dd70a58825f3d17e35a3cd1e9 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf versionator ce21313503c41896ebcd7d58b0607e37 virtualx 3a3c4637ea6d5a2113707a644766337c xdg-utils f2c8335407f0b935b0a96d4adf23ef25
|
||||
_md5_=54d551d522dc6446f24f5562ca9242c1
|
Binary file not shown.
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=configure install postinst preinst prepare pretend test
|
||||
DEPEND=!static? ( audit? ( sys-process/audit ) ldns? ( net-libs/ldns !bindist? ( net-libs/ldns[ecdsa,ssl(+)] ) bindist? ( net-libs/ldns[-ecdsa,ssl(+)] ) ) libedit? ( dev-libs/libedit:= ) sctp? ( net-misc/lksctp-tools ) selinux? ( >=sys-libs/libselinux-1.28 ) skey? ( >=sys-auth/skey-1.1.5-r1 ) ssl? ( !libressl? ( >=dev-libs/openssl-1.0.1:0=[bindist=] dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= ) ) >=sys-libs/zlib-1.2.3:= ) pam? ( virtual/pam ) kerberos? ( virtual/krb5 ) ldap? ( net-nds/openldap ) static? ( audit? ( sys-process/audit[static-libs(+)] ) ldns? ( net-libs/ldns[static-libs(+)] !bindist? ( net-libs/ldns[ecdsa,ssl(+)] ) bindist? ( net-libs/ldns[-ecdsa,ssl(+)] ) ) libedit? ( dev-libs/libedit:=[static-libs(+)] ) sctp? ( net-misc/lksctp-tools[static-libs(+)] ) selinux? ( >=sys-libs/libselinux-1.28[static-libs(+)] ) skey? ( >=sys-auth/skey-1.1.5-r1[static-libs(+)] ) ssl? ( !libressl? ( >=dev-libs/openssl-1.0.1:0=[bindist=] dev-libs/openssl:0=[static-libs(+)] ) libressl? ( dev-libs/libressl:0=[static-libs(+)] ) ) >=sys-libs/zlib-1.2.3:=[static-libs(+)] ) virtual/pkgconfig virtual/os-headers sys-devel/autoconf >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig
|
||||
DESCRIPTION=Port of OpenBSD's free SSH release
|
||||
EAPI=6
|
||||
HOMEPAGE=https://www.openssh.com/
|
||||
IUSE=abi_mips_n32 audit bindist debug hpn kerberos kernel_linux ldap ldns libedit libressl livecd pam +pie sctp selinux skey +ssl static test X X509
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
||||
LICENSE=BSD GPL-2
|
||||
RDEPEND=!static? ( audit? ( sys-process/audit ) ldns? ( net-libs/ldns !bindist? ( net-libs/ldns[ecdsa,ssl(+)] ) bindist? ( net-libs/ldns[-ecdsa,ssl(+)] ) ) libedit? ( dev-libs/libedit:= ) sctp? ( net-misc/lksctp-tools ) selinux? ( >=sys-libs/libselinux-1.28 ) skey? ( >=sys-auth/skey-1.1.5-r1 ) ssl? ( !libressl? ( >=dev-libs/openssl-1.0.1:0=[bindist=] dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= ) ) >=sys-libs/zlib-1.2.3:= ) pam? ( virtual/pam ) kerberos? ( virtual/krb5 ) ldap? ( net-nds/openldap ) pam? ( >=sys-auth/pambase-20081028 ) userland_GNU? ( virtual/shadow ) X? ( x11-apps/xauth )
|
||||
REQUIRED_USE=ldns? ( ssl ) pie? ( !static ) static? ( !kerberos !pam ) X509? ( !ldap !sctp ssl ) test? ( ssl )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://openbsd/OpenSSH/portable/openssh-7.7p1.tar.gz https://dev.gentoo.org/~whissi/dist/openssh/openssh-7.7p1-sctp-1.0.patch.xz hpn? ( https://dev.gentoo.org/~whissi/dist/openssh/openssh-7.7p1-hpnssh14v14-gentoo1.patch.xz ) X509? ( https://dev.gentoo.org/~whissi/dist/openssh/openssh-7.7p1-x509-11.3.1.patch.xz )
|
||||
_eclasses_=autotools 4842e626555a9a4344f34cef2e190b67 desktop 2ccd1dd1dd7bfb8795eea024a4f91bb6 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 63392afb034aad67f17fa129019eb4d9 flag-o-matic 02908f00f002f0f07c5b74783d778325 libtool 0081a71a261724730ec4c248494f044d ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e pam 3e788d86170dfcd5b06824d898315e18 preserve-libs ef207dc62baddfddfd39a164d9797648 systemd a31844b675f1a1fea87fbe1144aee5f5 toolchain-funcs 885c7d8dd70a58825f3d17e35a3cd1e9 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf versionator ce21313503c41896ebcd7d58b0607e37
|
||||
_md5_=6bc7e9e54f95bc8d24c1d2d2f7f2e60c
|
Binary file not shown.
@ -1,14 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare test unpack
|
||||
DEPEND=dev-libs/jsoncpp:= >=sci-chemistry/molequeue-0.7 archive? ( app-arch/libarchive ) hdf5? ( sci-libs/hdf5:= ) qt5? ( dev-qt/qtconcurrent:5 dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtnetwork:5 dev-qt/qtwidgets:5 media-libs/glew:0= virtual/opengl ) vtk? ( sci-libs/vtk[qt5] ) dev-cpp/eigen:3 dev-qt/qtopengl:5 test? ( dev-cpp/gtest ) sys-devel/make >=dev-util/cmake-3.9.6
|
||||
DEPEND=dev-libs/jsoncpp:= >=sci-chemistry/molequeue-0.7 archive? ( app-arch/libarchive ) hdf5? ( sci-libs/hdf5:= ) qt5? ( dev-qt/qtconcurrent:5 dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtnetwork:5 dev-qt/qtwidgets:5 media-libs/glew:0= virtual/opengl ) vtk? ( sci-libs/vtk[qt5,views] ) dev-cpp/eigen:3 dev-qt/qtopengl:5 test? ( dev-cpp/gtest ) sys-devel/make >=dev-util/cmake-3.9.6
|
||||
DESCRIPTION=Advanced molecule editor and visualizer 2 - libraries
|
||||
EAPI=6
|
||||
HOMEPAGE=https://www.openchemistry.org/
|
||||
IUSE=archive doc hdf5 qt5 static-plugins test vtk
|
||||
KEYWORDS=~amd64 ~x86 ~amd64-linux ~x86-linux
|
||||
LICENSE=BSD GPL-2+
|
||||
RDEPEND=dev-libs/jsoncpp:= >=sci-chemistry/molequeue-0.7 archive? ( app-arch/libarchive ) hdf5? ( sci-libs/hdf5:= ) qt5? ( dev-qt/qtconcurrent:5 dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtnetwork:5 dev-qt/qtwidgets:5 media-libs/glew:0= virtual/opengl ) vtk? ( sci-libs/vtk[qt5] )
|
||||
RDEPEND=dev-libs/jsoncpp:= >=sci-chemistry/molequeue-0.7 archive? ( app-arch/libarchive ) hdf5? ( sci-libs/hdf5:= ) qt5? ( dev-qt/qtconcurrent:5 dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtnetwork:5 dev-qt/qtwidgets:5 media-libs/glew:0= virtual/opengl ) vtk? ( sci-libs/vtk[qt5,views] )
|
||||
REQUIRED_USE=vtk? ( qt5 )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/OpenChemistry/avogadrolibs/archive/f414794a168712f72884cdcfba818def5f42e721.tar.gz -> avogadrolibs-1.91.0_pre20180406.tar.gz vtk? ( https://github.com/psavery/genXrdPattern/releases/download/1.0-static/linux64-genXrdPattern )
|
||||
_eclasses_=cmake-utils d2f8cff68b90b869ef9d460c6f3c4e2e desktop 2ccd1dd1dd7bfb8795eea024a4f91bb6 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 63392afb034aad67f17fa129019eb4d9 flag-o-matic 02908f00f002f0f07c5b74783d778325 ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e multiprocessing cac3169468f893670dac3e7cb940e045 ninja-utils ebb2eaddc6331c4fa000b8eb8f6fe074 preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 885c7d8dd70a58825f3d17e35a3cd1e9 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf versionator ce21313503c41896ebcd7d58b0607e37 xdg-utils f2c8335407f0b935b0a96d4adf23ef25
|
||||
_md5_=b2acd668d8e3e1f3a6932c9a71a5904f
|
||||
_md5_=7b5116122304dc78ccb6782b2ac670cc
|
||||
|
Binary file not shown.
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=configure install postinst
|
||||
DEPEND=dev-libs/expat x11-libs/libXau x11-libs/libXdmcp x11-libs/libXext x11-libs/libXmu x11-libs/libXrender bidi? ( dev-libs/fribidi ) cairo? ( x11-libs/cairo gnome-base/librsvg ) iconv? ( virtual/libiconv ) jpeg? ( virtual/jpeg:0= ) nls? ( sys-devel/gettext virtual/libintl ) png? ( media-libs/libpng:0= ) truetype? ( x11-libs/libXft ) xinerama? ( x11-libs/libXinerama ) xpm? ( x11-libs/libXpm ) x11-proto/xproto x11-proto/xextproto xinerama? ( x11-proto/xineramaproto )
|
||||
DESCRIPTION=Very fast and lightweight still powerful window manager for X
|
||||
EAPI=6
|
||||
HOMEPAGE=http://joewing.net/projects/jwm/
|
||||
IUSE=bidi cairo debug iconv jpeg nls png truetype xinerama xpm
|
||||
KEYWORDS=~amd64 ~hppa ~ppc ~x86 ~x86-fbsd
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=dev-libs/expat x11-libs/libXau x11-libs/libXdmcp x11-libs/libXext x11-libs/libXmu x11-libs/libXrender bidi? ( dev-libs/fribidi ) cairo? ( x11-libs/cairo gnome-base/librsvg ) iconv? ( virtual/libiconv ) jpeg? ( virtual/jpeg:0= ) nls? ( sys-devel/gettext virtual/libintl ) png? ( media-libs/libpng:0= ) truetype? ( x11-libs/libXft ) xinerama? ( x11-libs/libXinerama ) xpm? ( x11-libs/libXpm )
|
||||
SLOT=0
|
||||
SRC_URI=http://joewing.net/projects/jwm/releases/jwm-2.3.7.tar.xz
|
||||
_eclasses_=desktop 2ccd1dd1dd7bfb8795eea024a4f91bb6 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 63392afb034aad67f17fa129019eb4d9 ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 885c7d8dd70a58825f3d17e35a3cd1e9 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf
|
||||
_md5_=e880057e92c85433e0f174c09e28ee2b
|
@ -1 +1 @@
|
||||
Tue, 10 Apr 2018 20:38:28 +0000
|
||||
Wed, 11 Apr 2018 05:08:27 +0000
|
||||
|
@ -1 +1 @@
|
||||
Tue Apr 10 20:38:28 UTC 2018
|
||||
Wed Apr 11 05:08:27 UTC 2018
|
||||
|
@ -1 +1 @@
|
||||
Tue, 10 Apr 2018 21:00:01 +0000
|
||||
Wed, 11 Apr 2018 05:30:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
0e1994c9b9b090db33bb71c2ce027833967abb42 1523392253 2018-04-10T20:30:53+00:00
|
||||
7d1def6e6a798e31da22848448f56c25685edffa 1523416881 2018-04-11T03:21:21+00:00
|
||||
|
@ -1 +1 @@
|
||||
1523392501 Tue 10 Apr 2018 08:35:01 PM UTC
|
||||
1523423101 Wed 11 Apr 2018 05:05:01 AM UTC
|
||||
|
@ -1 +1 @@
|
||||
Tue, 10 Apr 2018 20:38:28 +0000
|
||||
Wed, 11 Apr 2018 05:08:27 +0000
|
||||
|
Binary file not shown.
@ -0,0 +1,351 @@
|
||||
https://bugs.gentoo.org/165444
|
||||
https://bugzilla.mindrot.org/show_bug.cgi?id=1008
|
||||
|
||||
--- a/auth.c
|
||||
+++ b/auth.c
|
||||
@@ -728,120 +728,6 @@ fakepw(void)
|
||||
return (&fake);
|
||||
}
|
||||
|
||||
-/*
|
||||
- * Returns the remote DNS hostname as a string. The returned string must not
|
||||
- * be freed. NB. this will usually trigger a DNS query the first time it is
|
||||
- * called.
|
||||
- * This function does additional checks on the hostname to mitigate some
|
||||
- * attacks on legacy rhosts-style authentication.
|
||||
- * XXX is RhostsRSAAuthentication vulnerable to these?
|
||||
- * XXX Can we remove these checks? (or if not, remove RhostsRSAAuthentication?)
|
||||
- */
|
||||
-
|
||||
-static char *
|
||||
-remote_hostname(struct ssh *ssh)
|
||||
-{
|
||||
- struct sockaddr_storage from;
|
||||
- socklen_t fromlen;
|
||||
- struct addrinfo hints, *ai, *aitop;
|
||||
- char name[NI_MAXHOST], ntop2[NI_MAXHOST];
|
||||
- const char *ntop = ssh_remote_ipaddr(ssh);
|
||||
-
|
||||
- /* Get IP address of client. */
|
||||
- fromlen = sizeof(from);
|
||||
- memset(&from, 0, sizeof(from));
|
||||
- if (getpeername(ssh_packet_get_connection_in(ssh),
|
||||
- (struct sockaddr *)&from, &fromlen) < 0) {
|
||||
- debug("getpeername failed: %.100s", strerror(errno));
|
||||
- return strdup(ntop);
|
||||
- }
|
||||
-
|
||||
- ipv64_normalise_mapped(&from, &fromlen);
|
||||
- if (from.ss_family == AF_INET6)
|
||||
- fromlen = sizeof(struct sockaddr_in6);
|
||||
-
|
||||
- debug3("Trying to reverse map address %.100s.", ntop);
|
||||
- /* Map the IP address to a host name. */
|
||||
- if (getnameinfo((struct sockaddr *)&from, fromlen, name, sizeof(name),
|
||||
- NULL, 0, NI_NAMEREQD) != 0) {
|
||||
- /* Host name not found. Use ip address. */
|
||||
- return strdup(ntop);
|
||||
- }
|
||||
-
|
||||
- /*
|
||||
- * if reverse lookup result looks like a numeric hostname,
|
||||
- * someone is trying to trick us by PTR record like following:
|
||||
- * 1.1.1.10.in-addr.arpa. IN PTR 2.3.4.5
|
||||
- */
|
||||
- memset(&hints, 0, sizeof(hints));
|
||||
- hints.ai_socktype = SOCK_DGRAM; /*dummy*/
|
||||
- hints.ai_flags = AI_NUMERICHOST;
|
||||
- if (getaddrinfo(name, NULL, &hints, &ai) == 0) {
|
||||
- logit("Nasty PTR record \"%s\" is set up for %s, ignoring",
|
||||
- name, ntop);
|
||||
- freeaddrinfo(ai);
|
||||
- return strdup(ntop);
|
||||
- }
|
||||
-
|
||||
- /* Names are stored in lowercase. */
|
||||
- lowercase(name);
|
||||
-
|
||||
- /*
|
||||
- * Map it back to an IP address and check that the given
|
||||
- * address actually is an address of this host. This is
|
||||
- * necessary because anyone with access to a name server can
|
||||
- * define arbitrary names for an IP address. Mapping from
|
||||
- * name to IP address can be trusted better (but can still be
|
||||
- * fooled if the intruder has access to the name server of
|
||||
- * the domain).
|
||||
- */
|
||||
- memset(&hints, 0, sizeof(hints));
|
||||
- hints.ai_family = from.ss_family;
|
||||
- hints.ai_socktype = SOCK_STREAM;
|
||||
- if (getaddrinfo(name, NULL, &hints, &aitop) != 0) {
|
||||
- logit("reverse mapping checking getaddrinfo for %.700s "
|
||||
- "[%s] failed.", name, ntop);
|
||||
- return strdup(ntop);
|
||||
- }
|
||||
- /* Look for the address from the list of addresses. */
|
||||
- for (ai = aitop; ai; ai = ai->ai_next) {
|
||||
- if (getnameinfo(ai->ai_addr, ai->ai_addrlen, ntop2,
|
||||
- sizeof(ntop2), NULL, 0, NI_NUMERICHOST) == 0 &&
|
||||
- (strcmp(ntop, ntop2) == 0))
|
||||
- break;
|
||||
- }
|
||||
- freeaddrinfo(aitop);
|
||||
- /* If we reached the end of the list, the address was not there. */
|
||||
- if (ai == NULL) {
|
||||
- /* Address not found for the host name. */
|
||||
- logit("Address %.100s maps to %.600s, but this does not "
|
||||
- "map back to the address.", ntop, name);
|
||||
- return strdup(ntop);
|
||||
- }
|
||||
- return strdup(name);
|
||||
-}
|
||||
-
|
||||
-/*
|
||||
- * Return the canonical name of the host in the other side of the current
|
||||
- * connection. The host name is cached, so it is efficient to call this
|
||||
- * several times.
|
||||
- */
|
||||
-
|
||||
-const char *
|
||||
-auth_get_canonical_hostname(struct ssh *ssh, int use_dns)
|
||||
-{
|
||||
- static char *dnsname;
|
||||
-
|
||||
- if (!use_dns)
|
||||
- return ssh_remote_ipaddr(ssh);
|
||||
- else if (dnsname != NULL)
|
||||
- return dnsname;
|
||||
- else {
|
||||
- dnsname = remote_hostname(ssh);
|
||||
- return dnsname;
|
||||
- }
|
||||
-}
|
||||
-
|
||||
/*
|
||||
* Runs command in a subprocess wuth a minimal environment.
|
||||
* Returns pid on success, 0 on failure.
|
||||
--- a/canohost.c
|
||||
+++ b/canohost.c
|
||||
@@ -202,3 +202,117 @@ get_local_port(int sock)
|
||||
{
|
||||
return get_sock_port(sock, 1);
|
||||
}
|
||||
+
|
||||
+/*
|
||||
+ * Returns the remote DNS hostname as a string. The returned string must not
|
||||
+ * be freed. NB. this will usually trigger a DNS query the first time it is
|
||||
+ * called.
|
||||
+ * This function does additional checks on the hostname to mitigate some
|
||||
+ * attacks on legacy rhosts-style authentication.
|
||||
+ * XXX is RhostsRSAAuthentication vulnerable to these?
|
||||
+ * XXX Can we remove these checks? (or if not, remove RhostsRSAAuthentication?)
|
||||
+ */
|
||||
+
|
||||
+static char *
|
||||
+remote_hostname(struct ssh *ssh)
|
||||
+{
|
||||
+ struct sockaddr_storage from;
|
||||
+ socklen_t fromlen;
|
||||
+ struct addrinfo hints, *ai, *aitop;
|
||||
+ char name[NI_MAXHOST], ntop2[NI_MAXHOST];
|
||||
+ const char *ntop = ssh_remote_ipaddr(ssh);
|
||||
+
|
||||
+ /* Get IP address of client. */
|
||||
+ fromlen = sizeof(from);
|
||||
+ memset(&from, 0, sizeof(from));
|
||||
+ if (getpeername(ssh_packet_get_connection_in(ssh),
|
||||
+ (struct sockaddr *)&from, &fromlen) < 0) {
|
||||
+ debug("getpeername failed: %.100s", strerror(errno));
|
||||
+ return strdup(ntop);
|
||||
+ }
|
||||
+
|
||||
+ ipv64_normalise_mapped(&from, &fromlen);
|
||||
+ if (from.ss_family == AF_INET6)
|
||||
+ fromlen = sizeof(struct sockaddr_in6);
|
||||
+
|
||||
+ debug3("Trying to reverse map address %.100s.", ntop);
|
||||
+ /* Map the IP address to a host name. */
|
||||
+ if (getnameinfo((struct sockaddr *)&from, fromlen, name, sizeof(name),
|
||||
+ NULL, 0, NI_NAMEREQD) != 0) {
|
||||
+ /* Host name not found. Use ip address. */
|
||||
+ return strdup(ntop);
|
||||
+ }
|
||||
+
|
||||
+ /*
|
||||
+ * if reverse lookup result looks like a numeric hostname,
|
||||
+ * someone is trying to trick us by PTR record like following:
|
||||
+ * 1.1.1.10.in-addr.arpa. IN PTR 2.3.4.5
|
||||
+ */
|
||||
+ memset(&hints, 0, sizeof(hints));
|
||||
+ hints.ai_socktype = SOCK_DGRAM; /*dummy*/
|
||||
+ hints.ai_flags = AI_NUMERICHOST;
|
||||
+ if (getaddrinfo(name, NULL, &hints, &ai) == 0) {
|
||||
+ logit("Nasty PTR record \"%s\" is set up for %s, ignoring",
|
||||
+ name, ntop);
|
||||
+ freeaddrinfo(ai);
|
||||
+ return strdup(ntop);
|
||||
+ }
|
||||
+
|
||||
+ /* Names are stored in lowercase. */
|
||||
+ lowercase(name);
|
||||
+
|
||||
+ /*
|
||||
+ * Map it back to an IP address and check that the given
|
||||
+ * address actually is an address of this host. This is
|
||||
+ * necessary because anyone with access to a name server can
|
||||
+ * define arbitrary names for an IP address. Mapping from
|
||||
+ * name to IP address can be trusted better (but can still be
|
||||
+ * fooled if the intruder has access to the name server of
|
||||
+ * the domain).
|
||||
+ */
|
||||
+ memset(&hints, 0, sizeof(hints));
|
||||
+ hints.ai_family = from.ss_family;
|
||||
+ hints.ai_socktype = SOCK_STREAM;
|
||||
+ if (getaddrinfo(name, NULL, &hints, &aitop) != 0) {
|
||||
+ logit("reverse mapping checking getaddrinfo for %.700s "
|
||||
+ "[%s] failed.", name, ntop);
|
||||
+ return strdup(ntop);
|
||||
+ }
|
||||
+ /* Look for the address from the list of addresses. */
|
||||
+ for (ai = aitop; ai; ai = ai->ai_next) {
|
||||
+ if (getnameinfo(ai->ai_addr, ai->ai_addrlen, ntop2,
|
||||
+ sizeof(ntop2), NULL, 0, NI_NUMERICHOST) == 0 &&
|
||||
+ (strcmp(ntop, ntop2) == 0))
|
||||
+ break;
|
||||
+ }
|
||||
+ freeaddrinfo(aitop);
|
||||
+ /* If we reached the end of the list, the address was not there. */
|
||||
+ if (ai == NULL) {
|
||||
+ /* Address not found for the host name. */
|
||||
+ logit("Address %.100s maps to %.600s, but this does not "
|
||||
+ "map back to the address.", ntop, name);
|
||||
+ return strdup(ntop);
|
||||
+ }
|
||||
+ return strdup(name);
|
||||
+}
|
||||
+
|
||||
+/*
|
||||
+ * Return the canonical name of the host in the other side of the current
|
||||
+ * connection. The host name is cached, so it is efficient to call this
|
||||
+ * several times.
|
||||
+ */
|
||||
+
|
||||
+const char *
|
||||
+auth_get_canonical_hostname(struct ssh *ssh, int use_dns)
|
||||
+{
|
||||
+ static char *dnsname;
|
||||
+
|
||||
+ if (!use_dns)
|
||||
+ return ssh_remote_ipaddr(ssh);
|
||||
+ else if (dnsname != NULL)
|
||||
+ return dnsname;
|
||||
+ else {
|
||||
+ dnsname = remote_hostname(ssh);
|
||||
+ return dnsname;
|
||||
+ }
|
||||
+}
|
||||
--- a/readconf.c
|
||||
+++ b/readconf.c
|
||||
@@ -160,6 +160,7 @@ typedef enum {
|
||||
oClearAllForwardings, oNoHostAuthenticationForLocalhost,
|
||||
oEnableSSHKeysign, oRekeyLimit, oVerifyHostKeyDNS, oConnectTimeout,
|
||||
oAddressFamily, oGssAuthentication, oGssDelegateCreds,
|
||||
+ oGssTrustDns,
|
||||
oServerAliveInterval, oServerAliveCountMax, oIdentitiesOnly,
|
||||
oSendEnv, oControlPath, oControlMaster, oControlPersist,
|
||||
oHashKnownHosts,
|
||||
@@ -200,9 +201,11 @@ static struct {
|
||||
#if defined(GSSAPI)
|
||||
{ "gssapiauthentication", oGssAuthentication },
|
||||
{ "gssapidelegatecredentials", oGssDelegateCreds },
|
||||
+ { "gssapitrustdns", oGssTrustDns },
|
||||
# else
|
||||
{ "gssapiauthentication", oUnsupported },
|
||||
{ "gssapidelegatecredentials", oUnsupported },
|
||||
+ { "gssapitrustdns", oUnsupported },
|
||||
#endif
|
||||
#ifdef ENABLE_PKCS11
|
||||
{ "smartcarddevice", oPKCS11Provider },
|
||||
@@ -954,6 +957,10 @@ parse_time:
|
||||
intptr = &options->gss_deleg_creds;
|
||||
goto parse_flag;
|
||||
|
||||
+ case oGssTrustDns:
|
||||
+ intptr = &options->gss_trust_dns;
|
||||
+ goto parse_flag;
|
||||
+
|
||||
case oBatchMode:
|
||||
intptr = &options->batch_mode;
|
||||
goto parse_flag;
|
||||
@@ -1766,6 +1773,7 @@ initialize_options(Options * options)
|
||||
options->challenge_response_authentication = -1;
|
||||
options->gss_authentication = -1;
|
||||
options->gss_deleg_creds = -1;
|
||||
+ options->gss_trust_dns = -1;
|
||||
options->password_authentication = -1;
|
||||
options->kbd_interactive_authentication = -1;
|
||||
options->kbd_interactive_devices = NULL;
|
||||
@@ -1908,6 +1916,8 @@ fill_default_options(Options * options)
|
||||
options->gss_authentication = 0;
|
||||
if (options->gss_deleg_creds == -1)
|
||||
options->gss_deleg_creds = 0;
|
||||
+ if (options->gss_trust_dns == -1)
|
||||
+ options->gss_trust_dns = 0;
|
||||
if (options->password_authentication == -1)
|
||||
options->password_authentication = 1;
|
||||
if (options->kbd_interactive_authentication == -1)
|
||||
--- a/readconf.h
|
||||
+++ b/readconf.h
|
||||
@@ -43,6 +43,7 @@ typedef struct {
|
||||
/* Try S/Key or TIS, authentication. */
|
||||
int gss_authentication; /* Try GSS authentication */
|
||||
int gss_deleg_creds; /* Delegate GSS credentials */
|
||||
+ int gss_trust_dns; /* Trust DNS for GSS canonicalization */
|
||||
int password_authentication; /* Try password
|
||||
* authentication. */
|
||||
int kbd_interactive_authentication; /* Try keyboard-interactive auth. */
|
||||
--- a/ssh_config.5
|
||||
+++ b/ssh_config.5
|
||||
@@ -731,6 +731,16 @@ The default is
|
||||
Forward (delegate) credentials to the server.
|
||||
The default is
|
||||
.Cm no .
|
||||
+Note that this option applies to protocol version 2 connections using GSSAPI.
|
||||
+.It Cm GSSAPITrustDns
|
||||
+Set to
|
||||
+.Dq yes to indicate that the DNS is trusted to securely canonicalize
|
||||
+the name of the host being connected to. If
|
||||
+.Dq no, the hostname entered on the
|
||||
+command line will be passed untouched to the GSSAPI library.
|
||||
+The default is
|
||||
+.Dq no .
|
||||
+This option only applies to protocol version 2 connections using GSSAPI.
|
||||
.It Cm HashKnownHosts
|
||||
Indicates that
|
||||
.Xr ssh 1
|
||||
--- a/sshconnect2.c
|
||||
+++ b/sshconnect2.c
|
||||
@@ -643,6 +643,13 @@ userauth_gssapi(Authctxt *authctxt)
|
||||
static u_int mech = 0;
|
||||
OM_uint32 min;
|
||||
int ok = 0;
|
||||
+ const char *gss_host;
|
||||
+
|
||||
+ if (options.gss_trust_dns) {
|
||||
+ extern const char *auth_get_canonical_hostname(struct ssh *ssh, int use_dns);
|
||||
+ gss_host = auth_get_canonical_hostname(active_state, 1);
|
||||
+ } else
|
||||
+ gss_host = authctxt->host;
|
||||
|
||||
/* Try one GSSAPI method at a time, rather than sending them all at
|
||||
* once. */
|
||||
@@ -655,7 +662,7 @@ userauth_gssapi(Authctxt *authctxt)
|
||||
/* My DER encoding requires length<128 */
|
||||
if (gss_supported->elements[mech].length < 128 &&
|
||||
ssh_gssapi_check_mechanism(&gssctxt,
|
||||
- &gss_supported->elements[mech], authctxt->host)) {
|
||||
+ &gss_supported->elements[mech], gss_host)) {
|
||||
ok = 1; /* Mechanism works */
|
||||
} else {
|
||||
mech++;
|
||||
--
|
@ -0,0 +1,33 @@
|
||||
# /etc/conf.d/sshd: config file for /etc/init.d/sshd
|
||||
|
||||
# Where is your sshd_config file stored?
|
||||
|
||||
SSHD_CONFDIR="${RC_PREFIX%/}/etc/ssh"
|
||||
|
||||
|
||||
# Any random options you want to pass to sshd.
|
||||
# See the sshd(8) manpage for more info.
|
||||
|
||||
SSHD_OPTS=""
|
||||
|
||||
|
||||
# Wait one second (length chosen arbitrarily) to see if sshd actually
|
||||
# creates a PID file, or if it crashes for some reason like not being
|
||||
# able to bind to the address in ListenAddress.
|
||||
|
||||
#SSHD_SSD_OPTS="--wait 1000"
|
||||
|
||||
|
||||
# Pid file to use (needs to be absolute path).
|
||||
|
||||
#SSHD_PIDFILE="${RC_PREFIX%/}/run/sshd.pid"
|
||||
|
||||
|
||||
# Path to the sshd binary (needs to be absolute path).
|
||||
|
||||
#SSHD_BINARY="${RC_PREFIX%/}/usr/sbin/sshd"
|
||||
|
||||
|
||||
# Path to the ssh-keygen binary (needs to be absolute path).
|
||||
|
||||
#SSHD_KEYGEN_BINARY="${RC_PREFIX%/}/usr/bin/ssh-keygen"
|
@ -0,0 +1,89 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
extra_commands="checkconfig"
|
||||
extra_started_commands="reload"
|
||||
|
||||
: ${SSHD_CONFDIR:=${RC_PREFIX%/}/etc/ssh}
|
||||
: ${SSHD_CONFIG:=${SSHD_CONFDIR}/sshd_config}
|
||||
: ${SSHD_PIDFILE:=${RC_PREFIX%/}/run/${SVCNAME}.pid}
|
||||
: ${SSHD_BINARY:=${RC_PREFIX%/}/usr/sbin/sshd}
|
||||
: ${SSHD_KEYGEN_BINARY:=${RC_PREFIX%/}/usr/bin/ssh-keygen}
|
||||
|
||||
command="${SSHD_BINARY}"
|
||||
pidfile="${SSHD_PIDFILE}"
|
||||
command_args="${SSHD_OPTS} -o PidFile=${pidfile} -f ${SSHD_CONFIG}"
|
||||
|
||||
# Wait one second (length chosen arbitrarily) to see if sshd actually
|
||||
# creates a PID file, or if it crashes for some reason like not being
|
||||
# able to bind to the address in ListenAddress (bug 617596).
|
||||
: ${SSHD_SSD_OPTS:=--wait 1000}
|
||||
start_stop_daemon_args="${SSHD_SSD_OPTS}"
|
||||
|
||||
depend() {
|
||||
# Entropy can be used by ssh-keygen, among other things, but
|
||||
# is not strictly required (bug 470020).
|
||||
use logger dns entropy
|
||||
if [ "${rc_need+set}" = "set" ] ; then
|
||||
: # Do nothing, the user has explicitly set rc_need
|
||||
else
|
||||
local x warn_addr
|
||||
for x in $(awk '/^ListenAddress/{ print $2 }' "$SSHD_CONFIG" 2>/dev/null) ; do
|
||||
case "${x}" in
|
||||
0.0.0.0|0.0.0.0:*) ;;
|
||||
::|\[::\]*) ;;
|
||||
*) warn_addr="${warn_addr} ${x}" ;;
|
||||
esac
|
||||
done
|
||||
if [ -n "${warn_addr}" ] ; then
|
||||
need net
|
||||
ewarn "You are binding an interface in ListenAddress statement in your sshd_config!"
|
||||
ewarn "You must add rc_need=\"net.FOO\" to your ${RC_PREFIX%/}/etc/conf.d/sshd"
|
||||
ewarn "where FOO is the interface(s) providing the following address(es):"
|
||||
ewarn "${warn_addr}"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
checkconfig() {
|
||||
checkpath --directory "${RC_PREFIX%/}/var/empty"
|
||||
|
||||
if [ ! -e "${SSHD_CONFIG}" ] ; then
|
||||
eerror "You need an ${SSHD_CONFIG} file to run sshd"
|
||||
eerror "There is a sample file in /usr/share/doc/openssh"
|
||||
return 1
|
||||
fi
|
||||
|
||||
${SSHD_KEYGEN_BINARY} -A || return 2
|
||||
|
||||
"${command}" -t ${command_args} || return 3
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
# If this isn't a restart, make sure that the user's config isn't
|
||||
# busted before we try to start the daemon (this will produce
|
||||
# better error messages than if we just try to start it blindly).
|
||||
#
|
||||
# If, on the other hand, this *is* a restart, then the stop_pre
|
||||
# action will have ensured that the config is usable and we don't
|
||||
# need to do that again.
|
||||
if [ "${RC_CMD}" != "restart" ] ; then
|
||||
checkconfig || return $?
|
||||
fi
|
||||
}
|
||||
|
||||
stop_pre() {
|
||||
# If this is a restart, check to make sure the user's config
|
||||
# isn't busted before we stop the running daemon.
|
||||
if [ "${RC_CMD}" = "restart" ] ; then
|
||||
checkconfig || return $?
|
||||
fi
|
||||
}
|
||||
|
||||
reload() {
|
||||
checkconfig || return $?
|
||||
ebegin "Reloading ${SVCNAME}"
|
||||
start-stop-daemon --signal HUP --pidfile "${pidfile}"
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,406 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit user flag-o-matic multilib autotools pam systemd versionator
|
||||
|
||||
# Make it more portable between straight releases
|
||||
# and _p? releases.
|
||||
PARCH=${P/_}
|
||||
|
||||
HPN_VER="14v14-gentoo1" HPN_PATCH="${PARCH}-hpnssh${HPN_VER}.patch.xz" HPN_DISABLE_MTAES=1
|
||||
SCTP_VER="1.0" SCTP_PATCH="${PARCH}-sctp-${SCTP_VER}.patch.xz"
|
||||
X509_VER="11.3.1" X509_PATCH="${PARCH}-x509-${X509_VER}.patch.xz"
|
||||
|
||||
# Disable LDAP support until someone will rewrite the patch,
|
||||
# upstream removed auth_parse_options() via commit 7c856857607112a3dfe6414696bf4c7ab7fb0cb3
|
||||
#LDAP_VER="0.3.14" LDAP_PATCH="${PN}-lpk-7.7p1-${LDAP_VER}.patch.xz"
|
||||
|
||||
DESCRIPTION="Port of OpenBSD's free SSH release"
|
||||
HOMEPAGE="https://www.openssh.com/"
|
||||
SRC_URI="mirror://openbsd/OpenSSH/portable/${PARCH}.tar.gz
|
||||
${SCTP_PATCH:+https://dev.gentoo.org/~whissi/dist/openssh/${SCTP_PATCH}}
|
||||
${HPN_PATCH:+hpn? ( https://dev.gentoo.org/~whissi/dist/openssh/${HPN_PATCH} )}
|
||||
${LDAP_PATCH:+ldap? ( https://dev.gentoo.org/~whissi/dist/openssh/${LDAP_PATCH} )}
|
||||
${X509_PATCH:+X509? ( https://dev.gentoo.org/~whissi/dist/openssh/${X509_PATCH} )}
|
||||
"
|
||||
|
||||
LICENSE="BSD GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
# Probably want to drop ssl defaulting to on in a future version.
|
||||
IUSE="abi_mips_n32 audit bindist debug hpn kerberos kernel_linux ldap ldns libedit libressl livecd pam +pie sctp selinux skey +ssl static test X X509"
|
||||
REQUIRED_USE="ldns? ( ssl )
|
||||
pie? ( !static )
|
||||
static? ( !kerberos !pam )
|
||||
X509? ( !ldap !sctp ssl )
|
||||
test? ( ssl )"
|
||||
|
||||
LIB_DEPEND="
|
||||
audit? ( sys-process/audit[static-libs(+)] )
|
||||
ldns? (
|
||||
net-libs/ldns[static-libs(+)]
|
||||
!bindist? ( net-libs/ldns[ecdsa,ssl(+)] )
|
||||
bindist? ( net-libs/ldns[-ecdsa,ssl(+)] )
|
||||
)
|
||||
libedit? ( dev-libs/libedit:=[static-libs(+)] )
|
||||
sctp? ( net-misc/lksctp-tools[static-libs(+)] )
|
||||
selinux? ( >=sys-libs/libselinux-1.28[static-libs(+)] )
|
||||
skey? ( >=sys-auth/skey-1.1.5-r1[static-libs(+)] )
|
||||
ssl? (
|
||||
!libressl? (
|
||||
>=dev-libs/openssl-1.0.1:0=[bindist=]
|
||||
dev-libs/openssl:0=[static-libs(+)]
|
||||
)
|
||||
libressl? ( dev-libs/libressl:0=[static-libs(+)] )
|
||||
)
|
||||
>=sys-libs/zlib-1.2.3:=[static-libs(+)]"
|
||||
RDEPEND="
|
||||
!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
|
||||
pam? ( virtual/pam )
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( net-nds/openldap )"
|
||||
DEPEND="${RDEPEND}
|
||||
static? ( ${LIB_DEPEND} )
|
||||
virtual/pkgconfig
|
||||
virtual/os-headers
|
||||
sys-devel/autoconf"
|
||||
RDEPEND="${RDEPEND}
|
||||
pam? ( >=sys-auth/pambase-20081028 )
|
||||
userland_GNU? ( virtual/shadow )
|
||||
X? ( x11-apps/xauth )"
|
||||
|
||||
S="${WORKDIR}/${PARCH}"
|
||||
|
||||
pkg_pretend() {
|
||||
# this sucks, but i'd rather have people unable to `emerge -u openssh`
|
||||
# than not be able to log in to their server any more
|
||||
maybe_fail() { [[ -z ${!2} ]] && echo "$1" ; }
|
||||
local fail="
|
||||
$(use hpn && maybe_fail hpn HPN_PATCH)
|
||||
$(use ldap && maybe_fail ldap LDAP_PATCH)
|
||||
$(use sctp && maybe_fail sctp SCTP_PATCH)
|
||||
$(use X509 && maybe_fail X509 X509_PATCH)
|
||||
"
|
||||
fail=$(echo ${fail})
|
||||
if [[ -n ${fail} ]] ; then
|
||||
eerror "Sorry, but this version does not yet support features"
|
||||
eerror "that you requested: ${fail}"
|
||||
eerror "Please mask ${PF} for now and check back later:"
|
||||
eerror " # echo '=${CATEGORY}/${PF}' >> /etc/portage/package.mask"
|
||||
die "booooo"
|
||||
fi
|
||||
|
||||
# Make sure people who are using tcp wrappers are notified of its removal. #531156
|
||||
if grep -qs '^ *sshd *:' "${EROOT%/}"/etc/hosts.{allow,deny} ; then
|
||||
ewarn "Sorry, but openssh no longer supports tcp-wrappers, and it seems like"
|
||||
ewarn "you're trying to use it. Update your ${EROOT}etc/hosts.{allow,deny} please."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e "/_PATH_XAUTH/s:/usr/X11R6/bin/xauth:${EPREFIX%/}/usr/bin/xauth:" \
|
||||
pathnames.h || die
|
||||
|
||||
# don't break .ssh/authorized_keys2 for fun
|
||||
sed -i '/^AuthorizedKeysFile/s:^:#:' sshd_config || die
|
||||
|
||||
eapply "${FILESDIR}"/${PN}-7.7_p1-GSSAPI-dns.patch #165444 integrated into gsskex
|
||||
eapply "${FILESDIR}"/${PN}-6.7_p1-openssl-ignore-status.patch
|
||||
|
||||
local PATCHSET_VERSION_MACROS=()
|
||||
|
||||
if use X509 ; then
|
||||
eapply "${WORKDIR}"/${X509_PATCH%.*}
|
||||
|
||||
einfo "Patching version.h to expose X.509 patch set ..."
|
||||
sed -i \
|
||||
-e "/^#define SSH_PORTABLE.*/a #define SSH_X509 \"-PKIXSSH-${X509_VER}\"" \
|
||||
"${S}"/version.h || die "Failed to sed-in X.509 patch version"
|
||||
PATCHSET_VERSION_MACROS+=( 'SSH_X509' )
|
||||
|
||||
einfo "Disabling broken X.509 agent test ..."
|
||||
sed -i \
|
||||
-e "/^ agent$/d" \
|
||||
"${S}"/tests/CA/config || die "Failed to disable broken X.509 agent test"
|
||||
fi
|
||||
|
||||
if use ldap ; then
|
||||
eapply "${WORKDIR}"/${LDAP_PATCH%.*}
|
||||
|
||||
einfo "Patching version.h to expose LDAP patch set ..."
|
||||
sed -i \
|
||||
-e "/^#define SSH_PORTABLE.*/a #define SSH_LDAP \"-ldap-${LDAP_VER}\"" \
|
||||
"${S}"/version.h || die "Failed to sed-in LDAP patch version"
|
||||
PATCHSET_VERSION_MACROS+=( 'SSH_LDAP' )
|
||||
fi
|
||||
|
||||
if use sctp ; then
|
||||
eapply "${WORKDIR}"/${SCTP_PATCH%.*}
|
||||
|
||||
einfo "Patching version.h to expose SCTP patch set ..."
|
||||
sed -i \
|
||||
-e "/^#define SSH_PORTABLE/a #define SSH_SCTP \"-sctp-${SCTP_VER}\"" \
|
||||
"${S}"/version.h || die "Failed to sed-in SCTP patch version"
|
||||
PATCHSET_VERSION_MACROS+=( 'SSH_SCTP' )
|
||||
|
||||
einfo "Disabling know failing test (cfgparse) caused by SCTP patch ..."
|
||||
sed -i \
|
||||
-e "/\t\tcfgparse \\\/d" \
|
||||
"${S}"/regress/Makefile || die "Failed to disable known failing test (cfgparse) caused by SCTP patch"
|
||||
fi
|
||||
|
||||
if use hpn ; then
|
||||
eapply "${WORKDIR}"/${HPN_PATCH%.*}
|
||||
|
||||
einfo "Patching Makefile.in for HPN patch set ..."
|
||||
sed -i \
|
||||
-e "/^LIBS=/ s/\$/ -lpthread/" \
|
||||
"${S}"/Makefile.in || die "Failed to patch Makefile.in"
|
||||
|
||||
einfo "Patching version.h to expose HPN patch set ..."
|
||||
sed -i \
|
||||
-e "/^#define SSH_PORTABLE/a #define SSH_HPN \"-hpn${HPN_VER}\"" \
|
||||
"${S}"/version.h || die "Failed to sed-in HPN patch version"
|
||||
PATCHSET_VERSION_MACROS+=( 'SSH_HPN' )
|
||||
|
||||
if [[ -n "${HPN_DISABLE_MTAES}" ]] ; then
|
||||
einfo "Disabling known non-working MT AES cipher per default ..."
|
||||
|
||||
cat > "${T}"/disable_mtaes.conf <<- EOF
|
||||
|
||||
# HPN's Multi-Threaded AES CTR cipher is currently known to be broken
|
||||
# and therefore disabled per default.
|
||||
DisableMTAES yes
|
||||
EOF
|
||||
sed -i \
|
||||
-e "/^#HPNDisabled.*/r ${T}/disable_mtaes.conf" \
|
||||
"${S}"/sshd_config || die "Failed to disabled MT AES ciphers in sshd_config"
|
||||
|
||||
sed -i \
|
||||
-e "/AcceptEnv.*_XXX_TEST$/a \\\tDisableMTAES\t\tyes" \
|
||||
"${S}"/regress/test-exec.sh || die "Failed to disable MT AES ciphers in test config"
|
||||
fi
|
||||
fi
|
||||
|
||||
if use X509 || use hpn ; then
|
||||
einfo "Patching packet.c for X509 and/or HPN patch set ..."
|
||||
sed -i \
|
||||
-e "s/const struct sshcipher/struct sshcipher/" \
|
||||
"${S}"/packet.c || die "Failed to patch ssh_packet_set_connection() (packet.c)"
|
||||
fi
|
||||
|
||||
if use X509 || use sctp || use ldap || use hpn ; then
|
||||
einfo "Patching sshconnect.c to use SSH_RELEASE in send_client_banner() ..."
|
||||
sed -i \
|
||||
-e "s/PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_VERSION/PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_RELEASE/" \
|
||||
"${S}"/sshconnect.c || die "Failed to patch send_client_banner() to use SSH_RELEASE (sshconnect.c)"
|
||||
|
||||
einfo "Patching sshd.c to use SSH_RELEASE in sshd_exchange_identification() ..."
|
||||
sed -i \
|
||||
-e "s/PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_VERSION/PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_RELEASE/" \
|
||||
"${S}"/sshd.c || die "Failed to patch sshd_exchange_identification() to use SSH_RELEASE (sshd.c)"
|
||||
|
||||
einfo "Patching version.h to add our patch sets to SSH_RELEASE ..."
|
||||
sed -i \
|
||||
-e "s/^#define SSH_RELEASE.*/#define SSH_RELEASE SSH_VERSION SSH_PORTABLE ${PATCHSET_VERSION_MACROS[*]}/" \
|
||||
"${S}"/version.h || die "Failed to patch SSH_RELEASE (version.h)"
|
||||
fi
|
||||
|
||||
tc-export PKG_CONFIG
|
||||
local sed_args=(
|
||||
-e "s:-lcrypto:$(${PKG_CONFIG} --libs openssl):"
|
||||
# Disable PATH reset, trust what portage gives us #254615
|
||||
-e 's:^PATH=/:#PATH=/:'
|
||||
# Disable fortify flags ... our gcc does this for us
|
||||
-e 's:-D_FORTIFY_SOURCE=2::'
|
||||
)
|
||||
|
||||
# The -ftrapv flag ICEs on hppa #505182
|
||||
use hppa && sed_args+=(
|
||||
-e '/CFLAGS/s:-ftrapv:-fdisable-this-test:'
|
||||
-e '/OSSH_CHECK_CFLAG_LINK.*-ftrapv/d'
|
||||
)
|
||||
# _XOPEN_SOURCE causes header conflicts on Solaris
|
||||
[[ ${CHOST} == *-solaris* ]] && sed_args+=(
|
||||
-e 's/-D_XOPEN_SOURCE//'
|
||||
)
|
||||
sed -i "${sed_args[@]}" configure{.ac,} || die
|
||||
|
||||
eapply_user #473004
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
addwrite /dev/ptmx
|
||||
|
||||
use debug && append-cppflags -DSANDBOX_SECCOMP_FILTER_DEBUG
|
||||
use static && append-ldflags -static
|
||||
|
||||
local myconf=(
|
||||
--with-ldflags="${LDFLAGS}"
|
||||
--disable-strip
|
||||
--with-pid-dir="${EPREFIX}"$(usex kernel_linux '' '/var')/run
|
||||
--sysconfdir="${EPREFIX%/}"/etc/ssh
|
||||
--libexecdir="${EPREFIX%/}"/usr/$(get_libdir)/misc
|
||||
--datadir="${EPREFIX%/}"/usr/share/openssh
|
||||
--with-privsep-path="${EPREFIX%/}"/var/empty
|
||||
--with-privsep-user=sshd
|
||||
$(use_with audit audit linux)
|
||||
$(use_with kerberos kerberos5 "${EPREFIX%/}"/usr)
|
||||
# We apply the ldap and sctp patch conditionally, so can't pass --without-{ldap,sctp}
|
||||
# unconditionally else we get unknown flag warnings.
|
||||
$(use ldap && use_with ldap)
|
||||
$(use sctp && use_with sctp)
|
||||
$(use_with ldns)
|
||||
$(use_with libedit)
|
||||
$(use_with pam)
|
||||
$(use_with pie)
|
||||
$(use_with selinux)
|
||||
$(use_with skey)
|
||||
$(use_with ssl openssl)
|
||||
$(use_with ssl md5-passwords)
|
||||
$(use_with ssl ssl-engine)
|
||||
)
|
||||
|
||||
# The seccomp sandbox is broken on x32, so use the older method for now. #553748
|
||||
use amd64 && [[ ${ABI} == "x32" ]] && myconf+=( --with-sandbox=rlimit )
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local t skipped=() failed=() passed=()
|
||||
local tests=( interop-tests compat-tests )
|
||||
|
||||
local shell=$(egetshell "${UID}")
|
||||
if [[ ${shell} == */nologin ]] || [[ ${shell} == */false ]] ; then
|
||||
elog "Running the full OpenSSH testsuite requires a usable shell for the 'portage'"
|
||||
elog "user, so we will run a subset only."
|
||||
skipped+=( tests )
|
||||
else
|
||||
tests+=( tests )
|
||||
fi
|
||||
|
||||
# It will also attempt to write to the homedir .ssh.
|
||||
local sshhome=${T}/homedir
|
||||
mkdir -p "${sshhome}"/.ssh
|
||||
for t in "${tests[@]}" ; do
|
||||
# Some tests read from stdin ...
|
||||
HOMEDIR="${sshhome}" HOME="${sshhome}" \
|
||||
emake -k -j1 ${t} </dev/null \
|
||||
&& passed+=( "${t}" ) \
|
||||
|| failed+=( "${t}" )
|
||||
done
|
||||
|
||||
einfo "Passed tests: ${passed[*]}"
|
||||
[[ ${#skipped[@]} -gt 0 ]] && ewarn "Skipped tests: ${skipped[*]}"
|
||||
[[ ${#failed[@]} -gt 0 ]] && die "Some tests failed: ${failed[*]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install-nokeys DESTDIR="${D}"
|
||||
fperms 600 /etc/ssh/sshd_config
|
||||
dobin contrib/ssh-copy-id
|
||||
newinitd "${FILESDIR}"/sshd.rc6.5 sshd
|
||||
newconfd "${FILESDIR}"/sshd-r1.confd sshd
|
||||
|
||||
newpamd "${FILESDIR}"/sshd.pam_include.2 sshd
|
||||
if use pam ; then
|
||||
sed -i \
|
||||
-e "/^#UsePAM /s:.*:UsePAM yes:" \
|
||||
-e "/^#PasswordAuthentication /s:.*:PasswordAuthentication no:" \
|
||||
-e "/^#PrintMotd /s:.*:PrintMotd no:" \
|
||||
-e "/^#PrintLastLog /s:.*:PrintLastLog no:" \
|
||||
"${ED%/}"/etc/ssh/sshd_config || die
|
||||
fi
|
||||
|
||||
# Gentoo tweaks to default config files
|
||||
cat <<-EOF >> "${ED%/}"/etc/ssh/sshd_config
|
||||
|
||||
# Allow client to pass locale environment variables #367017
|
||||
AcceptEnv LANG LC_*
|
||||
EOF
|
||||
cat <<-EOF >> "${ED%/}"/etc/ssh/ssh_config
|
||||
|
||||
# Send locale environment variables #367017
|
||||
SendEnv LANG LC_*
|
||||
EOF
|
||||
|
||||
if use livecd ; then
|
||||
sed -i \
|
||||
-e '/^#PermitRootLogin/c# Allow root login with password on livecds.\nPermitRootLogin Yes' \
|
||||
"${ED%/}"/etc/ssh/sshd_config || die
|
||||
fi
|
||||
|
||||
if use ldap && [[ -n ${LDAP_PATCH} ]] ; then
|
||||
insinto /etc/openldap/schema/
|
||||
newins openssh-lpk_openldap.schema openssh-lpk.schema
|
||||
fi
|
||||
|
||||
doman contrib/ssh-copy-id.1
|
||||
dodoc CREDITS OVERVIEW README* TODO sshd_config
|
||||
use hpn && dodoc HPN-README
|
||||
use X509 || dodoc ChangeLog
|
||||
|
||||
diropts -m 0700
|
||||
dodir /etc/skel/.ssh
|
||||
|
||||
keepdir /var/empty
|
||||
|
||||
systemd_dounit "${FILESDIR}"/sshd.{service,socket}
|
||||
systemd_newunit "${FILESDIR}"/sshd_at.service 'sshd@.service'
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
enewgroup sshd 22
|
||||
enewuser sshd 22 -1 /var/empty sshd
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if has_version "<${CATEGORY}/${PN}-5.8_p1" ; then
|
||||
elog "Starting with openssh-5.8p1, the server will default to a newer key"
|
||||
elog "algorithm (ECDSA). You are encouraged to manually update your stored"
|
||||
elog "keys list as servers update theirs. See ssh-keyscan(1) for more info."
|
||||
fi
|
||||
if has_version "<${CATEGORY}/${PN}-7.0_p1" ; then
|
||||
elog "Starting with openssh-6.7, support for USE=tcpd has been dropped by upstream."
|
||||
elog "Make sure to update any configs that you might have. Note that xinetd might"
|
||||
elog "be an alternative for you as it supports USE=tcpd."
|
||||
fi
|
||||
if has_version "<${CATEGORY}/${PN}-7.1_p1" ; then #557388 #555518
|
||||
elog "Starting with openssh-7.0, support for ssh-dss keys were disabled due to their"
|
||||
elog "weak sizes. If you rely on these key types, you can re-enable the key types by"
|
||||
elog "adding to your sshd_config or ~/.ssh/config files:"
|
||||
elog " PubkeyAcceptedKeyTypes=+ssh-dss"
|
||||
elog "You should however generate new keys using rsa or ed25519."
|
||||
|
||||
elog "Starting with openssh-7.0, the default for PermitRootLogin changed from 'yes'"
|
||||
elog "to 'prohibit-password'. That means password auth for root users no longer works"
|
||||
elog "out of the box. If you need this, please update your sshd_config explicitly."
|
||||
fi
|
||||
if has_version "<${CATEGORY}/${PN}-7.6_p1" ; then
|
||||
elog "Starting with openssh-7.6p1, openssh upstream has removed ssh1 support entirely."
|
||||
elog "Furthermore, rsa keys with less than 1024 bits will be refused."
|
||||
fi
|
||||
if ! use ssl && has_version "${CATEGORY}/${PN}[ssl]" ; then
|
||||
elog "Be aware that by disabling openssl support in openssh, the server and clients"
|
||||
elog "no longer support dss/rsa/ecdsa keys. You will need to generate ed25519 keys"
|
||||
elog "and update all clients/servers that utilize them."
|
||||
fi
|
||||
|
||||
if use hpn && [[ -n "${HPN_DISABLE_MTAES}" ]] ; then
|
||||
elog ""
|
||||
elog "HPN's multi-threaded AES CTR cipher is currently known to be broken"
|
||||
elog "and therefore disabled at runtime per default."
|
||||
elog "Make sure your sshd_config is up to date and contains"
|
||||
elog ""
|
||||
elog " DisableMTAES yes"
|
||||
elog ""
|
||||
elog "Otherwise you maybe unable to connect to this sshd using any AES CTR cipher."
|
||||
elog ""
|
||||
fi
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,79 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Very fast and lightweight still powerful window manager for X"
|
||||
HOMEPAGE="http://joewing.net/projects/jwm/"
|
||||
SRC_URI="http://joewing.net/projects/${PN}/releases/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~x86-fbsd"
|
||||
IUSE="bidi cairo debug iconv jpeg nls png truetype xinerama xpm"
|
||||
|
||||
RDEPEND="dev-libs/expat
|
||||
x11-libs/libXau
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libXext
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXrender
|
||||
bidi? ( dev-libs/fribidi )
|
||||
cairo? (
|
||||
x11-libs/cairo
|
||||
gnome-base/librsvg
|
||||
)
|
||||
iconv? ( virtual/libiconv )
|
||||
jpeg? ( virtual/jpeg:0= )
|
||||
nls? ( sys-devel/gettext
|
||||
virtual/libintl )
|
||||
png? ( media-libs/libpng:0= )
|
||||
truetype? ( x11-libs/libXft )
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
xpm? ( x11-libs/libXpm )"
|
||||
DEPEND="${RDEPEND}
|
||||
x11-proto/xproto
|
||||
x11-proto/xextproto
|
||||
xinerama? ( x11-proto/xineramaproto )"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable bidi fribidi) \
|
||||
$(use_enable cairo) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable jpeg) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable png) \
|
||||
$(use_enable cairo rsvg) \
|
||||
$(use_enable truetype xft) \
|
||||
$(use_enable xinerama) \
|
||||
$(use_enable xpm) \
|
||||
$(use_with iconv libiconv-prefix /usr) \
|
||||
$(use_with nls libintl-prefix /usr) \
|
||||
--enable-shape \
|
||||
--enable-xrender \
|
||||
--disable-rpath
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /etc
|
||||
dodir /usr/bin
|
||||
dodir /usr/share/man
|
||||
|
||||
default
|
||||
|
||||
make_wrapper "${PN}" "/usr/bin/${PN}" "" "" "/etc/X11/Sessions"
|
||||
|
||||
insinto "/usr/share/xsessions"
|
||||
doins "${FILESDIR}"/jwm.desktop
|
||||
|
||||
dodoc README.md example.jwmrc ChangeLog
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "JWM can be configured system-wide with ${EROOT}/etc/system.jwmrc"
|
||||
einfo "or per-user by creating a configuration file in ~/.jwmrc"
|
||||
einfo
|
||||
einfo "An example file can be found in ${EROOT}/usr/share/doc/${PF}/"
|
||||
}
|
Loading…
Reference in new issue