1st export of non-private Ebuilds

This commit is contained in:
Andreas Billmeier 2021-06-20 10:09:01 +02:00
parent 0479f0e293
commit ff477cc6c5
76 changed files with 2289 additions and 0 deletions

View File

@ -0,0 +1,3 @@
AUX Makefile.PL.patch 741 BLAKE2B 9175d30f621075df300097b93eb34cd8667f3901ce6dcfe118de26f47362435f496c4041732c1c55166209fba8e59879d08da96cbf07360db4f9ac0f6135f376 SHA512 a0e65d419643e61119cea2dadd43a736f0410cd5acf4cba6c7b90388c10396c3ff63a2098f6f5e8134e6627b2a6602f67ccda5d5185bfe1a39fb3dcecc9c7705
DIST VMware-vSphere-CLI-6.7.0-8156551.x86_64.tar.gz 39353542 BLAKE2B 8ff38ce9b20be927703eeb4b20080e2db48547099928e650e9190b38d956c917768fd44f7300bdfd39fbade97f5196c412eacee55dc654b7c9e6cd415127846a SHA512 f2ef62fa6f8bbc0cb36460dfae7c045511a2c7bfa53a915c4291ef82fcf97827cd4328e21bd1cdaf5716d36faa50d0e1ce8f4d1e930eb6460df5ca39bf062ff4
EBUILD VMware-vSphere-CLI-6.7.0-r8156551.ebuild 1041 BLAKE2B 849d498236920b99d63ca6bff62e45945de0a35779e588bac361b764c6d53df00f9fad159d4499164d2be3c219e1e005149ad8862721aa53424d7eda5b4b385d SHA512 e31794e60240c3001c1b836e137ef0fb0a128aa25296ae236a6b7d87efc8aef07abfa5e479534a27d4ead4ceaa7bac2eea1f92cdb7b278cb0ceb94b84e7789f6

View File

@ -0,0 +1,47 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit perl-module
DESCRIPTION="VMware vSphere Command Line Interface 6.7"
HOMEPAGE="https://my.vmware.com/de/web/vmware/details?downloadGroup=VS-CLI-670&productId=742"
#SRC_URI="http://gentoo.in.streicher.de/distfiles/app-admin/VMware-vSphere-CLI/VMware-vSphere-CLI-6.7.0-8156551.x86_64.tar.gz"
SRC_URI="https://gentoorepo.in.edevau.net/edevau/2018/VMware-vSphere-CLI-6.7.0-8156551.x86_64.tar.gz"
PATCHES=(
"${FILESDIR}"/Makefile.PL.patch
)
LICENSE=""
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE=""
DEPEND="
dev-perl/HTTP-Date
dev-perl/URI
dev-perl/XML-LibXML
dev-perl/LWP-UserAgent-Cached
dev-perl/Text-Template
dev-perl/UUID
dev-perl/Time-Duration
dev-perl/Archive-Zip
"
RDEPEND="${DEPEND}"
BDEPEND=""
src_unpack() {
default
mv "${WORKDIR}/vmware-vsphere-cli-distrib" "${S}"
}
src_install() {
default
dobin bin/[r-z]*
cd "${D}/usr/bin"
for i in vicfg-*;do
ln -s "$i" "$(echo "$i"|sed "s/vicfg-/esxcfg-/")"
done
}

View File

@ -0,0 +1,26 @@
diff --git a/Makefile.PL b/Makefile.PL
index 046e794..25aa9bf 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -84,18 +84,11 @@ WriteMakefile(
macro => {
# vmware apps
INST_VMWARE_APPS => 'apps',
- DEST_VMWARE_APPS => (
- $Config{perlpath} eq '/usr/bin/perl' ?
- '/usr/lib/vmware-viperl/apps' :
- '$(INSTALLSITESCRIPT)/apps'
- ),
+ DEST_VMWARE_APPS => '../../image/usr/lib/vmware-viperl/apps',
+
# vmware docs
INST_VMWARE_DOC => 'doc',
- DEST_VMWARE_DOC => (
- $Config{perlpath} eq '/usr/bin/perl' ?
- '/usr/share/doc/vmware-viperl/doc' :
- '$(SITEPREFIX)/doc'
- ),
+ DEST_VMWARE_DOC => '../../image/$(SITEPREFIX)/doc',
},
);

View File

@ -0,0 +1,5 @@
DIST icmplib-2.1.1.tar.gz 35836 BLAKE2B cbd92b198e280daf96fa8d6a2e07c7258455095362caf8795cb24211e4c578c6ca2ac231230647a3cbcd29ae8c21a6f88d76632827e9ca49cf4349d865bf8a40 SHA512 6e00c588f1bf32248b362ca74ac48ae7dae0865502eaf305b641ca2cbbab656b79363fc084ea538c3c9d4ff19c9c56aded58ef2efca610ab3368067ca94ccb63
DIST icmplib-3.0.tar.gz 26575 BLAKE2B abf05d64a854e12ea985f898f1b5b3a9c2ee57016f62e549284f44b20f2dab1dda68cba6964532cc9c98aa99d58fb026cc83e9fd8e172a1005e53e10b202cde7 SHA512 7005ed2c68fc8776f3579d996ed81d5f1f5d8d9b0315704a5802e9146dcd2386aa61de23c6279918fd5d369e0a77287046b09ba2e65d283c76be1863b643d5f5
EBUILD icmplib-2.1.1.ebuild 734 BLAKE2B 4aba473283812ab3c30e890dac9c98bdf8ed68208d19997cf452a7d15f5526c772a1d5889b0fdbeb4928cac8d9a6ef26ce21afa40af0f91452e293b063a331d3 SHA512 d53d465678be494e44ab9866da066045c24bdcf20ea7d2aff13982355acdf2bd90cde29f792d2da714c6f60cdcdd07412b8419ea591b01cc1e3ffdad5f0a3e1e
EBUILD icmplib-3.0.ebuild 734 BLAKE2B 4aba473283812ab3c30e890dac9c98bdf8ed68208d19997cf452a7d15f5526c772a1d5889b0fdbeb4928cac8d9a6ef26ce21afa40af0f91452e293b063a331d3 SHA512 d53d465678be494e44ab9866da066045c24bdcf20ea7d2aff13982355acdf2bd90cde29f792d2da714c6f60cdcdd07412b8419ea591b01cc1e3ffdad5f0a3e1e
MISC metadata.xml 456 BLAKE2B 1f4a173b886ccdd3f33c7a3e7098c13a24d6915438e36a5ae4cbac2bf68e9b5fd8bab2c8a163967d1258910420c22ab937a39a47bdfb8da711e2ab128a8af79d SHA512 a5360dfaf60219581e0597069b852724033eecec6ff4958a2dd029ba56aa0fe33790551dabfe2cd2dac7f64988d7f721009917bba7342b420083c642f6bd3494

View File

@ -0,0 +1,32 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Easily forge ICMP packets and make your own ping and traceroute."
HOMEPAGE="https://github.com/ValentinBELYN/icmplib https://pypi.org/project/icmplib/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
DOCS="README.md"
RDEPEND=""
BDEPEND="${REDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}

View File

@ -0,0 +1,32 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Easily forge ICMP packets and make your own ping and traceroute."
HOMEPAGE="https://github.com/ValentinBELYN/icmplib https://pypi.org/project/icmplib/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
DOCS="README.md"
RDEPEND=""
BDEPEND="${REDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}

View File

@ -0,0 +1,15 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">icmplib</remote-id>
<maintainer status="unknown">
<email>valentin-hello@gmx.com</email>
<name>Valentin BELYN</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,3 @@
DIST netmiko-3.4.0.tar.gz 502064 BLAKE2B e6a63fbf8392810b78a8ae4e710addf4527af372676b99ae5aa3c1adb6c4702bc7d76818116af0f7c6124e3161fd6a1f971e8a414ebd8d77ccd350d2631b49d7 SHA512 b131707bcfec883c0d6a206e5c3a419cd740483287ab82b8f5879d01ca7f2ab2fca4d564515890ffefb9351bf7125f55e4e337711824c3ce720f02e21aaeab78
EBUILD netmiko-3.4.0-r1.ebuild 1669 BLAKE2B c9e9a30347a9e6353b4b6f1fb5a82af305d587a5b53cd0c930b8a534ae6936ae8bf0a9b54d2eb4a32973e031839c79a1ab6119789574e24938f6f3d0cbe175cf SHA512 e1a4d1aec6d3a503382735aa4ee13ad0282be304f814ca9b8199f4f5622356d22e0d2ee5064ff26490d9ea9a61cea02198a0167561c0e7cf5ceb80df8c51f6d8
MISC metadata.xml 450 BLAKE2B b6530376f9f3745b0b4ef741222af10c5d31e419ebcd5521fc30b947294ccb64b6ac00634cae105d19b664de2d9036b0748b4d4fe5d3b9435b254f1a304f4753 SHA512 39348b249b56b466cff7c1e165fa5804de019da30d79384451e32b94949904b8093267ceda1000538976b047626cd0355cd4f2cab8e05cb330547f02d1cc121c

View File

@ -0,0 +1,15 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">netmiko</remote-id>
<maintainer status="unknown">
<email>ktbyers@twb-tech.com</email>
<name>Kirk Byers</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,68 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Multi-vendor library to simplify Paramiko SSH connections to network devices"
HOMEPAGE="https://github.com/ktbyers/netmiko https://pypi.org/project/netmiko/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
DOCS=""
RDEPEND=""
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Multi-vendor library to simplify Paramiko SSH connections to network devices"
HOMEPAGE="https://github.com/ktbyers/netmiko https://pypi.org/project/netmiko/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
DOCS="README.md"
RDEPEND=">=dev-python/scp-0.13.2[${PYTHON_USEDEP}]
>=dev-python/paramiko-2.6.0[${PYTHON_USEDEP}]
dev-python/pyserial[${PYTHON_USEDEP}]
>=dev-python/ntc-templates-2.0.0[${PYTHON_USEDEP}]
dev-python/tenacity[${PYTHON_USEDEP}]"
BDEPEND="
>=dev-python/setuptools-38.4.0[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}

View File

@ -0,0 +1,3 @@
DIST ntc-templates-2.0.0.tar.gz 153273 BLAKE2B b5a74e657ff7f7d8bdf9b4f3bd8ff2507d5e758908e67b28e99f2675ae45362ea1012e08006df285313effc180dff8335af24d0f88aa82538888c28e91cb435e SHA512 140260ab6d36f3eab6d0b663ac935879307556836e2267899cf3d99518aad578f7007f5fbe3e21415193706b0bcc6c961d3e7e9387873ae6b2b3e5e7341f02ea
EBUILD ntc-templates-2.0.0.ebuild 892 BLAKE2B 8989293d2f688c1eb6dde6aa49a4ef626a4a14205bd7f5d81a8bd337942f9d5d3bebb3158c21848a8984cad50b10823850eb4cd0751399ff342b42dfdfb8275b SHA512 c183c9c875dbc1944839aa9aea1f34c02deb5f5c535242d57598e24b59a9e62fd2b94fcbe05192d69334e041b79c6ba43b45d71becb7494f200173767ba0030a
MISC metadata.xml 463 BLAKE2B 75834d0d5a0a6c3ee88d90f884055a7eb01dbe6d6b5fe81409bc799674a1c60a276c8cc8ecc8d2cef1168dbe43c1e56935d1cef97fc1c0bb2922251ea8ff77a7 SHA512 b814506c9a853c539df84515b41578390b0955290ee261528eab7c966f8286710789425f2c8c1b9ab2ea7e3eabae17ef7cb18ed8fe0d98d3f548ab1996d138e4

View File

@ -0,0 +1,15 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">ntc-templates</remote-id>
<maintainer status="unknown">
<email>info@networktocode.com</email>
<name>Network to Code</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,35 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
DESCRIPTION="TextFSM Templates for Network Devices, and Python wrapper for TextFSM's CliTable."
HOMEPAGE="https://github.com/networktocode/ntc-templates https://pypi.org/project/ntc-templates/"
MY_PN=${PN/-/_}
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
DOCS="README.md"
RDEPEND=">=dev-python/textfsm-1.1.0[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}

View File

@ -0,0 +1,3 @@
DIST oyaml-1.0.tar.gz 2914 BLAKE2B f111eeb27dab5af8c3c3176dd0260911a47111b2194cc281c8b0c2c365b957fc75558a12397755d0d511a3fa5e64482a6af4f1d7f524868d6b644cdc14f8e785 SHA512 488ba66412f7cdb67ef84ba3038904cb4b467c4ec2d8bca0ed01b566e39768c83b34ada7d8b9e50467bccc2a41f3c20702f8a6f2ac1f8aab1e94b956a611d28d
EBUILD oyaml-1.0.ebuild 757 BLAKE2B 875bee931ca6821a9e6d2fe1e7d4a3472aa85ab9a3945588c92403087f264f86d1072f1f081b72bafefaf10dcfeb85c7153680dea192695f18e509bc8aa6bb62 SHA512 983ac25e5283083cd599f49761c2a2d51c2ce0697f922a8cc154784a30d084a56f126f45a63d4b687d15e165dd1425901318affb86322b14534e60d913b69f0e
MISC metadata.xml 443 BLAKE2B 2e67a67231f86bb273098fdf2537492c77af7ab57510bb26cb8af2599c25a5044e31b677f7e69cc2eadd3145dbbc6855284d10743b568bb9c0bafebb926bf0c7 SHA512 d9b55773dca09190ea0929dcea47d0e7677ae636d443d2d2c58234f0dbb9e92e40dc94f1761fa521b1dd362620e75a5c3700ab52500795fd6f93871ebd7cef73

View File

@ -0,0 +1,15 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">oyaml</remote-id>
<maintainer status="unknown">
<email>hey@wimglenn.com</email>
<name>Wim Glenn</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,32 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Ordered YAML: drop-in replacement for PyYAML which preserves dict ordering"
HOMEPAGE="https://github.com/wimglenn/oyaml https://pypi.org/project/oyaml/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
DOCS="README.rst"
RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}

View File

@ -0,0 +1,3 @@
DIST paramiko-2.7.2.tar.gz 1069537 BLAKE2B 063c90a23a27043e29cc6343187656381cba3c8cbf3697a9a46d801903d465b64871ce47b5166635ef7d1829a702e41d3b81b9cd74d545ba1c76bfa7fe8bdc69 SHA512 230522734379b9861da5e9fc4baf5b7386ea35990430ba320c6d55d04beebeaefdd7d000a2be23d1178d7fd96ba400702ffe0ab03e8856c604456108876545bd
EBUILD paramiko-2.7.2.ebuild 666 BLAKE2B e3a2f6f96c089ebbf433cc6ee395031c8290999272de09b4bc30c1d775fc0fad66173c0c264cb8323a5b4023b91d42b0ae24226aef401c861883147468d9f44a SHA512 deea30cf1de49cfbd24f1d083c519fda0133de66573d0bac14ab6724bafc75f4a690c4bed952ce18cbb165159f442c3824340bcb9ff879d2ce06b28c5a8eedd1
MISC metadata.xml 452 BLAKE2B 6f92608a9e13638746993b264a10a2f1fe2a05f14de7aabd976cce4794621207d4e8fd841b4de559bfe02febc5a67c577c7df3306364c26ee03b58f298ac8836 SHA512 3492a08a5b2f90f7eb415089345ce95fa267ea8de402a2eb7ff22e1a31643a22148b8ede462261af6b5cd02a2c6491408fd3b64c1167416a6619c91decd8995a

View File

@ -0,0 +1,15 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">paramiko</remote-id>
<maintainer status="unknown">
<email>jeff@bitprophet.org</email>
<name>Jeff Forcier</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,32 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
DESCRIPTION="SSH2 protocol library"
HOMEPAGE="https://github.com/paramiko/paramiko/ https://pypi.org/project/paramiko/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="LGPL"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
DOCS=""
RDEPEND=""
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}

View File

@ -0,0 +1,3 @@
DIST pynumparser-1.4.1.tar.gz 9520 BLAKE2B 16e66eb08859445140874f6e9874bbefaabe8095337d63b99fd4b63161706119217fba2574622592e032e93e9cbf977c04f9b910e742945616ea59b11de2a20d SHA512 d8ce7697e4ab73148995192e8a9e229b2a6becba3ec05b0d41e88c4cda697c3c55644d2083116ca22f1d571b62dc77704e67d8579ac05a180edb0599f6d326ce
EBUILD pynumparser-1.4.1.ebuild 866 BLAKE2B 7274c0d5393dd5965d8623e75154ce2399d3f15ffaf2f333286eba62435b211c541d93b84f11fe70ac3170913178daea8c713cb9edbf4c8017a2c08ec37e29f9 SHA512 ec44d4ee5b747ac5c63b5d504cef006d74825dbc112bc2bf5cc6e08c0cafebecf382811b6e23badffd00ff224baaa86a14b4c103ec000547d07a962a889f82f9
MISC metadata.xml 456 BLAKE2B 315cd74056e5b0919ae236dd71440f1558dceebc0edc619df9f61899d9792fd3e5f14629b6310bcd94aa7b53c150ac6bba3a783631fd6060a75dfa95097c5f45 SHA512 3b3232f096ed0bcd00eaa3b93499c0f7232447ac56f84ba12edcecc4f0b1373cc81a10bd7f621d203741ff5a282f48f8cd0c18a0da2c7a20ff4d6ba0a3e679cb

View File

@ -0,0 +1,15 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">pynumparser</remote-id>
<maintainer status="unknown">
<email>nvram@users.sourceforge.net</email>
<name>NVRAM</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,32 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
DESCRIPTION="A library to parse arguments of numbers and number sequences, usable directly or with argparse. Allows concise representation of contiguous or non-contiguous sequences. Example: 1,5-10,40-50/5,200+100/25"
HOMEPAGE="https://gitlab.com/n2vram/pynumparser https://pypi.org/project/pynumparser/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
DOCS="README.rst"
RDEPEND=""
BDEPEND="${REDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}

View File

@ -0,0 +1,3 @@
DIST pyvmomi-7.0.tar.gz 587116 BLAKE2B 8c5e5a9d4132b9ca8192820ae7e7110eaf94cedbf68b400ef97a838a7e4003ff9bfcbc781f6d243ae0ace8e9b2686e227caf3d3559db456dbed2d2b50610eb40 SHA512 07d3e0344d349d7ce402d7c6ec7ad5d25506e37f078932cb07a943cff3e27d286add8f4fd6212b6d48f12d0898d77247adfc6a700021303aad60ce30a0c80a0d
EBUILD pyvmomi-7.0.ebuild 829 BLAKE2B 0c6e91c67fce59f3fd7479eaa7fa77c798390920439a535527606f92b8cab969d274268e1062c0ed4071d67e5bb05f1b015e179d4021d0e64bb9d261f6020122 SHA512 c1a14413fd586bc619ef03da80b83973b958cbb3dddbeaee692371b042e0445d5a9f816207566daffe026cb28dfddc77a558dce4286ed1efd0b7831656782e3e
MISC metadata.xml 446 BLAKE2B b4068c27e10f6f118ea49a1de419ce2a1daf698fac95567a6f7e5a1bb673746004f9034930dcfa090b45c179702025a79763f98695daeaccad42dbf78bb6f209 SHA512 7bb64d6d8334d46f89e597652351b207524f5353eab23b04ce5fc432a183a5f6748dc142dedc841978c54b1330a50bd0b392b56cf008d93072b8f49b1cdaffe6

View File

@ -0,0 +1,15 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">pyvmomi</remote-id>
<maintainer status="unknown">
<email>jhu@vmware.com</email>
<name>VMware, Inc.</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,33 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
DESCRIPTION="VMware vSphere Python SDK"
HOMEPAGE="https://github.com/vmware/pyvmomi https://pypi.org/project/pyvmomi/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RDEPEND="dev-python/pyopenssl[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]
>=dev-python/requests-2.3.0[${PYTHON_USEDEP}]
>=dev-python/six-1.7.3[${PYTHON_USEDEP}]"
DEPEND="${REDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}

3
dev-python/scp/Manifest Normal file
View File

@ -0,0 +1,3 @@
DIST scp-0.13.3.tar.gz 11657 BLAKE2B 99261e951c1b5343c8cc621abf95d4fdc886171d76515f3f16d5b3abeb261e5116a9e43301e3231ac36bd9617cec03c6cae0f9369a8244a1e5e452421526bda6 SHA512 063bb22eabc6dbe5c75b10bc39f5c08c3f30a7b540d0b9f278460c62c211625ff839ae3a0b8ae2b78cd323d32130e9d06ab7d805d4b494fff35645afeb589ad2
EBUILD scp-0.13.3.ebuild 707 BLAKE2B 065898f25c7ea23837af9a938393169f346139867d9106181596c18618a551a4d0e0de83faa27ddb1521a6dedf9b4c579758b97059ff759aa29fbc537cebf312 SHA512 baaf527093cfa7d9e7820243be5c7dbfc19172afed70c4e0180ae10c241b5641753fa306f901c4e46399ce4da52e082906b21e169c31c15df4abae67357639bf
MISC metadata.xml 446 BLAKE2B f982b28177d924f3a2c1b8d07c9170c725ad18608433583685dd483f7955248294ec3b28dc2e718fcd37733b6e8756b51d4785575e00ed4c05f394acfd617f4f SHA512 61dc66441c78e202f4949a03aaa94d47187baa58aad9e6951db5c383150240b4afc018de0a33a50294905ad62201543007222f8bb1f567d10de70021ac624b2e

View File

@ -0,0 +1,15 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">scp</remote-id>
<maintainer status="unknown">
<email>j.bardin@gmail.com</email>
<name>James Bardin</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,32 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="scp module for paramiko"
HOMEPAGE="https://github.com/jbardin/scp.py https://pypi.org/project/scp/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="LGPL"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
DOCS="README.rst"
RDEPEND="dev-python/paramiko[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}

View File

@ -0,0 +1,3 @@
DIST textfsm-1.1.1.tar.gz 51340 BLAKE2B 79653e5a8a06c7978c57a2a1ffb9e21bdc215ca42d4a812cfd31fed869c39568ffa763d71a26f54846eac3d79213606eb7f73ae7aec445ef7d29b101b61106f3 SHA512 c3ae2a290754ec7dae4257bfd23aaa562180aaf47157df3c7250b1b6ec8eeeb1f39eabdaf0ab732a8c63fce365760ada5da1c10bd42d7bdce7b5426ccd9a42e5
EBUILD textfsm-1.1.1-r1.ebuild 963 BLAKE2B e54243568baf95e9dee5d8a1cb71627971a2f595c8408f0950bc7a06a5b5d43b1cf3ec1600e401c6f949d4cee65d440728249b96f118fff7e63ad292ecc66c13 SHA512 5d837eb026db56cfe436ba1d74f2102a0cf0b2d1e8082119498f6b0f2ac945327f96bd732c55db4dd5493fbb30497f431e371bf311aa0a2069660da08f7d6823
MISC metadata.xml 454 BLAKE2B 9ed1ff6c86e6987ffac06a442fa2ad015360bb29a2ffd0b4c66120a9bef7c438f0b71dc7a79b46916049a19186123cbf88a7324332206f6b2fb15a49f63eb4d8 SHA512 237e9c0a3bf505ce54f15a9b89b65177534264c8bc9f0e5e51097ae3e73f426a847ef05b1cde7ad5571d4331c1c7fa8e150b95ff372aec21f3bab1014bf24140

View File

@ -0,0 +1,15 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">textfsm</remote-id>
<maintainer status="unknown">
<email>textfsm-dev@googlegroups.com</email>
<name>Google</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,32 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Python module for parsing semi-structured text into python tables."
HOMEPAGE="https://github.com/google/textfsm/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="examples"
BDEPEND="dev-python/pip[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/pytest-runner[${PYTHON_USEDEP}]"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]
dev-python/future[${PYTHON_USEDEP}]"
python_install_all() {
distutils-r1_python_install_all
if use examples; then
insinto /usr/share/doc/${PF}
doins -r examples
docompress -x /usr/share/doc/${PF}/examples
fi
}

View File

@ -0,0 +1,3 @@
DIST vcard-0.13.0.tar.gz 18455 BLAKE2B e45f8e098e8a04ce9817e53e8a4754b98d7d59195049842e0cb1ba028cbcb638a348cc4eb362abcd12b21df22df7e10c2cf62c63ef4933ab6d7a5d7d18c24508 SHA512 0b8a7d8873d26d2a99fb38acd2970018d874ec1ecefcf202da0e2ed2e282b5cb43d0b53717873d29c62c0c72748278929db9562308f6503792271fe42f915ce3
EBUILD vcard-0.13.0.ebuild 744 BLAKE2B f6cddea8f9d0e4b8f1a37d513be3ea48b2e7e3e78212b82a7432a35f7ad1eea465cbe63db7a829eccddae2c3032a328c3248fe1b191c48766b860eb8e207da3c SHA512 4147566081b80bec6f9236a3067508ec44734160ec9c6d583a3e61af6c650a6392fb0ccb4348d21355528b2d1c77deee66d80c916fea058f8ad265b10f95e4e2
MISC metadata.xml 456 BLAKE2B 11a174860646b90dcbe04ecd4fc9a9d9b7ff9e354694432021e6e29fd6d16ef9d7472eb41326f83df0f179c334cd1dd77560904d2e42a8436a7b04e106ddd037 SHA512 950e58d7ea47f1bdb26600fb01c5ea39a147f334e46a722a41afa1bcf5b992220eb7e575d0fb29df9d6e076612cc4f2e20af63ba2c5e479857ea70f9abe7b226

View File

@ -0,0 +1,15 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">vcard</remote-id>
<maintainer status="unknown">
<email>victor.engmark@gmail.com</email>
<name>Victor Engmark</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,32 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
DESCRIPTION="vCard validator, class and utility functions"
HOMEPAGE="https://gitlab.com/victor-engmark/vcard https://pypi.org/project/vcard/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="AGPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
DOCS="README.md"
RDEPEND="dev-python/python-dateutil[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}

View File

@ -0,0 +1,3 @@
DIST vcfpy-0.13.3.tar.gz 1005744 BLAKE2B ab66fe2a5380822088b9148c5392a6178e9896e095c7a02203713be90ba8bb979a2450f3f7bd01a19384e1dca9afa210a7caa78075801f838f1c247754b133fe SHA512 7ab2e875cd643b1130b9abb6f5a3bd0428153b3b87c6e6d1b54575f259937e2433c674cb94169f06dd41ac9163337584aed781f2eb1f308c3a2e248d98f46807
EBUILD vcfpy-0.13.3.ebuild 759 BLAKE2B 98731ce2600985c4968b623c015f91dedee1508686cba0dafec05eecf07cb5d859738088ead0731de97615d8e10a29fbcc1d8df9dbdbbf0f2242d9a83572559a SHA512 e1ac8b3d0c0adb746652d9b7825df9e00439a3bb6d0f57559f17bccc128a915d1e3e2ab02e9f17b82ccc4b9acb21355ad3942fe7fd529e3dc8e8724c225f2b5f
MISC metadata.xml 462 BLAKE2B 9bcff6663ecae70cf051abf273b0e4b935995568382195687431b78d6b6a5ae321e38caf646030ef7d1e9b6260222d8da3bf3fb8f83e3a15577600cd1ccdab04 SHA512 4dc9e140187561282cf94c640c17933678c3cc1ab8d27ea6d4abc2e2a24985f43800851726677e22be075e0379be8f8cf2a07e26dcb5e85152e50431d09ea934

View File

@ -0,0 +1,15 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">vcfpy</remote-id>
<maintainer status="unknown">
<email>manuel.holtgrewe@bihealth.de</email>
<name>Manuel Holtgrewe</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,32 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Python 3 VCF library with good support for both reading and writing"
HOMEPAGE="https://github.com/bihealth/vcfpy https://pypi.org/project/vcfpy/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
DOCS="README.rst"
RDEPEND=">=sci-biology/pysam-0.10.0[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}

12
dev-python/ycast/Manifest Normal file
View File

@ -0,0 +1,12 @@
AUX examples/apache/apache-proxy.conf 432 BLAKE2B ec5aef7ab86e8fd444e24689c5aced2627b520619bf129724c19f4cbffd75ac3575b3f39648c67bad490798217e21a68cdb50d20931bc697d3595569eecc9db9 SHA512 57f3ad0f701b8b07628f19dedfea6616c223127cb4d078b348bbf5842f5b418c146a0adf9ca9e097ca085b7ad9c0ea787a39b3f8ccc3ada07b4788834a0b9572
AUX examples/apache/radioyamaha.vtuner.com.conf 660 BLAKE2B d4bb875420317e12734750095b93c64932e52eab4649a84fd9aa664ab99d9de9cd45a2b77c01a847fb899b09400704d858a94bbadd42e4ce2ae37e29dbf71a66 SHA512 a2b0befdc1c7f25a2f41bbce9bb86ed99a7072feb070797637557407d47dbe8587b30573d737f81a52ab7ed6ac14dd3df81f895d4e55e4ce96144bf5befaa0cd
AUX examples/bind/radioyamaha.vtuner.com.zone 217 BLAKE2B ab9617bc91f07b30ca149ddd50ec785c72a2f514f9aad6bcb64a1e85e6a831ffa0ad43d104989bfa7e054d296e6c047de38dcf0240e62a1b149591a3633e8df9 SHA512 ef9dd005b53a0585366878310beaea25ab2951876d3a5c11a9ca058b85fb0701b6dc8e2e6bcf6275f7f182caa0e605cd5dfb156bd9d5b019451abb3100b6f98e
AUX examples/bind/radioyamaha2.vtuner.com.zone 221 BLAKE2B 5260440acd0e94664563a10a830ab8fcbe2357919b714533f842d160f49d293d1be3b1d348d3eba16793de3dc1d79a2260cd36f97e7aae529828058900fcf4e7 SHA512 0de653254a4de1156c979248f2bf44bdcfe9b3a4e8a769f2f14e00be93d0ca4a4641d5e83dca99abb88216a2b0acc0c99f308a32f70603d1d2e8aa4e67b2a54c
AUX stations.yml 2421 BLAKE2B 5e422ad96fd93b81ed029b6082dd8d5ec713b70fcb3d8c561ecbb8130e67a29b2d3760fbc5dbf96c98d9dc5c60f65c85961caa042364d05124f5214d594d9237 SHA512 33716caeddc50d7dacf55425ebab0ac2ac6dd439eb8fabcf336e513cc0d28635bf373e19b56acc2ef00b5d2e9510ff59ce03912b491a6808bbc6239b23c0b255
AUX ycast-1.1.0-short_uuid.patch 7964 BLAKE2B 45560b02300cf4e3e3235d746d11c6b7df3fc863e4da3bc0b96866891008dd276e6c28122055a2cda9026408ccc195926a73285a96a655f503c2af11c2db5f71 SHA512 d7811b4f8dc130a731cfb3151a584db6027dccea3feb1653cbd0ab253bf257458194b9bdc88109aaaca1b25349dc250da49cc17eb64c5d1634d29382dc7e1389
AUX ycast.init.d 517 BLAKE2B 7f811864688c02fe3412c9f0de94a1707c91b18668a59322a9cc6a1764cbc0f86827c0196b097a20c296c62dfaa478e745c7ef1e3dd98b7f49f85a9b64d0a3e6 SHA512 b5485bb67fa6a212562ab2a6bcda8750c6e5feea9554686eedc3c5b52da287660a029e7e13d58e3cdf44deed92adf454151a39a3afcb1fbc074f1d62d25a55b7
AUX ycast.wsgi 381 BLAKE2B 8aa1fa994713fd74bbf504420bed08cd7f6e2e9961bcc7eb4e6b73ca3a1317e866ba247b519df5f535817a8cb2598b6f8b82ffed0f8f9f5ef0bdd214a62741bb SHA512 bf6937f7c5f944b8ae42b2a29e64c2cbb82e5c622ca44d2c2e399bf8387c85685e43b4ec36c820d47206e33b5f2ae1f71e6a38185bf8b3dc8893c7d64db893ad
DIST ycast-1.1.0.tar.gz 15018 BLAKE2B b58dd0658b75319d9f2a5d281902d75fb98bedd14539526ffa17ed979beb1a9bc62102698bbcced321a7c843682109b846fd412395ffeaa56525f3f1612623ac SHA512 f253f345924ce55c9869c625a9ce18830ecd4546894a74b5a756b383a10c5edc584121a8bc28dbe792a0b32784a0ea900edea669b9ff96766f691cac7294e95e
EBUILD ycast-1.1.0-r1.ebuild 1880 BLAKE2B 6d5b7a7b57078aa1678b08ecd8a74687aef7646558ed399d52853e76138350bfb1986daafc2af115f4c1b7d0ffb5c2403240f3630e05e58e27b14a0525dbe496 SHA512 b3fcd5e2150d3e4357b994de0d4e9d34e27b6223a93fc1fbb247e514540fc554535d29dacb98d19ec29a0d7b3b6304cd6c11d8acf3c8c42c0d3cc66361befbe9
EBUILD ycast-1.1.0.ebuild 846 BLAKE2B 30caaf2c613ba732db6b99237195281582c70418e56d3963795a6dc0e09821eebbd4006b3db1865f815341a798a27d6584e7555f8e436a43381ba747c8009e4e SHA512 a5323694603cb3130ac6ca4e63d32a48bfb3f2b6f657a49de32d16a018721203bd1be84fbeb7cec4120fb19292e7cb98163216a6dbb0e2d3f7197a763596839a
MISC metadata.xml 444 BLAKE2B 14d2b81876630dd1ffc27149995610fba7954968ad41a83999959f6036e2111cdbb6c6ab277b8fc61db3cbec148331c32a16fb943437008ff8c58cadaf4193e9 SHA512 8d9edeeb841147e1bcfa3d7e43b76d343b66144d51b308e4ed370c665922915154b0ef3f03fc432fc4a11cc6a21890bc49fad2b1d0d9511203e9356f83ec6103

View File

@ -0,0 +1,10 @@
# Virtual Hosts
<VirtualHost *:80>
ProxyPreserveHost On
ProxyRequests off
ProxyPass /setupapp http://localhost:8282/setupapp retry=0 max=10 acquire=10000 timeout=1200 ttl=120 Keepalive=On
ProxyPassReverse /setupapp http://localhost:8282/setupapp
ProxyPass /ycast http://localhost:8282/ycast retry=0 max=10 acquire=10000 timeout=1200 ttl=120 Keepalive=On
ProxyPassReverse /ycast http://localhost:8282/ycast
</VirtualHost>

View File

@ -0,0 +1,20 @@
WSGIRestrictStdout Off
<VirtualHost *:80>
ServerAdmin b@edevau.net
ServerName radioyamaha.vtuner.com
ServerAlias *.vtuner.com
HostnameLookups Off
UseCanonicalName Off
ServerSignature Off
TraceEnable off
# SuexecUserGroup ycast ycast
DocumentRoot /var/www/radioyamaha.vtuner.com/htdocs
ErrorLog /var/www/radioyamaha.vtuner.com/logs/error.log
CustomLog /var/www/radioyamaha.vtuner.com/logs/access.log combined
ProxyPreserveHost On
ProxyRequests off
ProxyPass / http://localhost:82/ retry=0 max=10 acquire=10000 timeout=1200 ttl=120 Keepalive=On
ProxyPassReverse / http://localhost:82/
</VirtualHost>

View File

@ -0,0 +1,4 @@
radioyamaha.vtuner.com. IN SOA sanibel.in.edevau.net. b.edevau.net. (
2021061901 3600 180 12096 3600 )
IN NS sanibel.in.edevau.net.
IN A 172.16.2.6

View File

@ -0,0 +1,4 @@
radioyamaha2.vtuner.com. IN SOA sanibel.in.edevau.net. b.edevau.net. (
2021061902 3600 180 12096 3600 )
IN NS sanibel.in.edevau.net.
IN A 172.16.2.6

View File

@ -0,0 +1,46 @@
OnkelBeh:
181.FM - Awesome 80's: http://listen.181fm.com/181-awesome80s_128k.mp3
181.FM - 90's Alternative: http://listen.181fm.com/181-90salt_128k.mp3
181.FM - The Eagle (Classic): http://listen.181fm.com/181-eagle_128k.mp3
Antenne Bayern:
Antenne Bayern: http://s5-webradio.antenne.de/antenne
Rock Antenne: http://s3-webradio.rockantenne.de/rockantenne
Rock Antenne(AAC): http://s3-webradio.rockantenne.de/rockantenne.aac
Rock Antenne - Punk Rock: http://s9-webradio.rockantenne.de/punkrock.aac
ROCK ANTENNE Soft Rock: http://s7-webradio.rockantenne.de/soft-rock
Rock Antenne - Heavy Metal: http://s2-webradio.rockantenne.de/heavy-metal
ROCK ANTENNE Classic Perlen: http://s5-webradio.rockantenne.de/classic-perlen
ROCK ANTENNE Alternative: http://s6-webradio.rockantenne.de/alternative
Antenne Bayern - Chillout: http://s2-webradio.antenne.de/chillout
Antenne Bayern - Oldies but Goldies: http://s9-webradio.antenne.de/oldies-but-goldies
Antenne Bayern - Classic Rock Live (MP3): http://s6-webradio.antenne.de/classic-rock-live
Antenne Bayern - 80er Kulthits: http://s4-webradio.antenne.de/80er-kulthits
HomeAssistant:
181.FM - Awesome 80's: http://listen.181fm.com/181-awesome80s_128k.mp3
ROCK ANTENNE Classic Perlen: http://s5-webradio.rockantenne.de/classic-perlen
181.FM - The Eagle (Classic): http://listen.181fm.com/181-eagle_128k.mp3
Electronic:
Deep House Lounge: http://198.15.94.34:8006
Ibiza Sonica: http://s1.sonicabroadcast.com:7005/stream
Bassdrive: http://50.7.98.106:8200
SomaFM Fluid: http://ice1.somafm.com/fluid-128-mp3
Chillout:
Joint Radio: http://radio.jointil.net:9998
SomaFM DEF CON Radio: http://ice1.somafm.com/defcon-256-mp3
SomaFM Drone Zone: http://ice1.somafm.com/dronezone-256-mp3
SomaFM Mission Control: http://ice1.somafm.com/missioncontrol-128-mp3
The Jazz Groove: http://west-mp3-128.streamthejazzgroove.com
Radionomy Downbeat: http://streaming.radionomy.com/TempoOfTheDownbeat1
Casual:
76Radio: http://192.240.102.133:9566/stream
SomaFM Beat Blender: http://ice1.somafm.com/beatblender-128-mp3
Jazz Radio Electro Swing: http://jazz-wr04.ice.infomaniak.ch/jazz-wr04-128.mp3
SomaFM Groove Salad: http://ice1.somafm.com/groovesalad-256-mp3
SomaFM Lush: http://ice1.somafm.com/lush-128-mp3
Allzic Radio R&B: http://allzic10.ice.infomaniak.ch/allzic10.mp3
The UK 1940s Radio Station: http://91.121.134.23:8100/1

View File

@ -0,0 +1,211 @@
diff --git a/ycast/__main__.py b/ycast/__main__.py
old mode 100644
new mode 100755
diff --git a/ycast/generic.py b/ycast/generic.py
index 0ef42a1..dcbe209 100644
--- a/ycast/generic.py
+++ b/ycast/generic.py
@@ -1,5 +1,6 @@
import logging
import os
+import hashlib
USER_AGENT = 'YCast'
VAR_PATH = os.path.expanduser("~") + '/.ycast'
@@ -50,3 +51,13 @@ def get_cache_path(cache_name):
logging.error("Could not create cache folders (%s) because of access permissions", cache_path)
return None
return cache_path
+
+def get_checksum(feed, charlimit=12):
+ hash_feed = feed.encode()
+ hash_object = hashlib.md5(hash_feed)
+ digest = hash_object.digest()
+ xor_fold = bytearray(digest[:8])
+ for i, b in enumerate(digest[8:]):
+ xor_fold[i] ^= b
+ digest_xor_fold = ''.join(format(x, '02x') for x in bytes(xor_fold))
+ return digest_xor_fold[:charlimit]
diff --git a/ycast/my_stations.py b/ycast/my_stations.py
index 64df667..032b3af 100644
--- a/ycast/my_stations.py
+++ b/ycast/my_stations.py
@@ -1,7 +1,5 @@
import logging
-import hashlib
-
-import yaml
+import oyaml as yaml
import ycast.vtuner as vtuner
import ycast.generic as generic
@@ -71,17 +69,6 @@ def get_stations_by_category(category):
if my_stations_yaml and category in my_stations_yaml:
for station_name in my_stations_yaml[category]:
station_url = my_stations_yaml[category][station_name]
- station_id = str(get_checksum(station_name + station_url)).upper()
+ station_id = str(generic.get_checksum(station_name + station_url)).upper()
stations.append(Station(station_id, station_name, station_url, category))
return stations
-
-
-def get_checksum(feed, charlimit=12):
- hash_feed = feed.encode()
- hash_object = hashlib.md5(hash_feed)
- digest = hash_object.digest()
- xor_fold = bytearray(digest[:8])
- for i, b in enumerate(digest[8:]):
- xor_fold[i] ^= b
- digest_xor_fold = ''.join(format(x, '02x') for x in bytes(xor_fold))
- return digest_xor_fold[:charlimit]
diff --git a/ycast/radiobrowser.py b/ycast/radiobrowser.py
index b220884..87c1a2f 100644
--- a/ycast/radiobrowser.py
+++ b/ycast/radiobrowser.py
@@ -13,6 +13,7 @@ DEFAULT_STATION_LIMIT = 200
SHOW_BROKEN_STATIONS = False
ID_PREFIX = "RB"
+id_registry = {}
def get_json_attr(json, attr):
try:
@@ -23,7 +24,7 @@ def get_json_attr(json, attr):
class Station:
def __init__(self, station_json):
- self.id = generic.generate_stationid_with_prefix(get_json_attr(station_json, 'stationuuid'), ID_PREFIX)
+ self.id = get_json_attr(station_json, 'stationuuid')
self.name = get_json_attr(station_json, 'name')
self.url = get_json_attr(station_json, 'url')
self.icon = get_json_attr(station_json, 'favicon')
@@ -35,12 +36,14 @@ class Station:
self.bitrate = get_json_attr(station_json, 'bitrate')
def to_vtuner(self):
- return vtuner.Station(self.id, self.name, ', '.join(self.tags), self.url, self.icon,
+ tid = generic.get_checksum(self.id)
+ id_registry[tid] = self.id
+ return vtuner.Station(generic.generate_stationid_with_prefix(tid, ID_PREFIX), self.name, ', '.join(self.tags), self.url, self.icon,
self.tags[0], self.countrycode, self.codec, self.bitrate, None)
def get_playable_url(self):
try:
- playable_url_json = request('url/' + generic.get_stationid_without_prefix(self.id))[0]
+ playable_url_json = request('url/' + str(self.id))[0]
self.url = playable_url_json['url']
except (IndexError, KeyError):
logging.error("Could not retrieve first playlist item for station with id '%s'", self.id)
@@ -61,14 +64,18 @@ def request(url):
def get_station_by_id(uid):
- station_json = request('stations/byid/' + str(uid))
- if station_json and len(station_json):
- return Station(station_json[0])
- else:
+ try:
+ station_json = request('stations/byuuid/' + str(id_registry[uid]))
+ if station_json and len(station_json):
+ return Station(station_json[0])
+ else:
+ return None
+ except KeyError:
return None
def search(name, limit=DEFAULT_STATION_LIMIT):
+ id_registry.clear()
stations = []
stations_json = request('stations/search?order=name&reverse=false&limit=' + str(limit) + '&name=' + str(name))
for station_json in stations_json:
@@ -78,6 +85,7 @@ def search(name, limit=DEFAULT_STATION_LIMIT):
def get_country_directories():
+ id_registry.clear()
country_directories = []
apicall = 'countries'
if not SHOW_BROKEN_STATIONS:
@@ -92,6 +100,7 @@ def get_country_directories():
def get_language_directories():
+ id_registry.clear()
language_directories = []
apicall = 'languages'
if not SHOW_BROKEN_STATIONS:
@@ -107,6 +116,7 @@ def get_language_directories():
def get_genre_directories():
+ id_registry.clear()
genre_directories = []
apicall = 'tags'
if not SHOW_BROKEN_STATIONS:
@@ -122,6 +132,7 @@ def get_genre_directories():
def get_stations_by_country(country):
+ id_registry.clear()
stations = []
stations_json = request('stations/search?order=name&reverse=false&countryExact=true&country=' + str(country))
for station_json in stations_json:
@@ -131,6 +142,7 @@ def get_stations_by_country(country):
def get_stations_by_language(language):
+ id_registry.clear()
stations = []
stations_json = request('stations/search?order=name&reverse=false&languageExact=true&language=' + str(language))
for station_json in stations_json:
@@ -140,6 +152,7 @@ def get_stations_by_language(language):
def get_stations_by_genre(genre):
+ id_registry.clear()
stations = []
stations_json = request('stations/search?order=name&reverse=false&tagExact=true&tag=' + str(genre))
for station_json in stations_json:
@@ -149,10 +162,10 @@ def get_stations_by_genre(genre):
def get_stations_by_votes(limit=DEFAULT_STATION_LIMIT):
+ id_registry.clear()
stations = []
stations_json = request('stations?order=votes&reverse=true&limit=' + str(limit))
for station_json in stations_json:
- print(station_json)
if SHOW_BROKEN_STATIONS or get_json_attr(station_json, 'lastcheckok') == 1:
stations.append(Station(station_json))
return stations
diff --git a/ycast/server.py b/ycast/server.py
index 6d963da..dcdffee 100644
--- a/ycast/server.py
+++ b/ycast/server.py
@@ -304,7 +304,7 @@ def get_station_icon():
abort(404)
station_icon = station_icons.get_icon(station)
if not station_icon:
- logging.error("Could not get station icon for station with id '%s'", stationid)
+ logging.warning("Could not get station icon for station with id '%s'", stationid)
abort(404)
response = make_response(station_icon)
response.headers.set('Content-Type', 'image/jpeg')
diff --git a/ycast/station_icons.py b/ycast/station_icons.py
index 3c79ce7..e072024 100644
--- a/ycast/station_icons.py
+++ b/ycast/station_icons.py
@@ -23,10 +23,10 @@ def get_icon(station):
try:
response = requests.get(station.icon, headers=headers)
except requests.exceptions.ConnectionError as err:
- logging.error("Connection to station icon URL failed (%s)", err)
+ logging.debug("Connection to station icon URL failed (%s)", err)
return None
if response.status_code != 200:
- logging.error("Could not get station icon data from %s (HTML status %s)", station.icon, response.status_code)
+ logging.debug("Could not get station icon data from %s (HTML status %s)", station.icon, response.status_code)
return None
try:
image = Image.open(io.BytesIO(response.content))

View File

@ -0,0 +1,19 @@
#!/sbin/openrc-run
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
description="Run ycast, Self hosted vTuner internet radio service emulation"
user="ycast:ycast"
stdoutlog="/var/log/ycast/ycast.log"
start_stop_daemon_args="--user $user --stdout $stdoutlog"
command="/usr/bin/python"
command_args="-m ycast -p 8282 -l localhost -d -c /var/www/radioyamaha.vtuner.com/data/stations.yml"
command_background=yes
pidfile=/run/ycast
depend() {
need net
}

View File

@ -0,0 +1,16 @@
#!/usr/bin/env python
import sys
sys.stdout = sys.stderr
PATH_MY_STATIONS = '/var/www/radioyamaha.vtuner.com/data'
#from flup.server.fcgi import WSGIServer
# from ycast import server
from ycast import server as application
if __name__ == '__main__':
server.check_my_stations_feature(PATH_MY_STATIONS)
#print (app)
server.app.run()
#WSGIServer(server.app).run()

View File

@ -0,0 +1,15 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">ycast</remote-id>
<maintainer status="unknown">
<email>micha.laqua@gmail.com</email>
<name>milaq</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,80 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1 user
DESCRIPTION="Self hosted vTuner internet radio service emulation"
HOMEPAGE="https://github.com/milaq/YCast https://pypi.org/project/ycast/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-3.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test +shortuuid wscgi"
DOCS="README.md"
RDEPEND="dev-python/requests[${PYTHON_USEDEP}]
dev-python/flask[${PYTHON_USEDEP}]
dev-python/oyaml[${PYTHON_USEDEP}]
dev-python/pillow[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}
src_prepare() {
default
# Radiobrowser - Access Error issue on some models #79
# https://github.com/milaq/YCast/pull/79
use shortuuid && eapply "${FILESDIR}/${P}-short_uuid.patch"
}
pkg_setup() {
enewgroup "${PN}"
enewuser "${PN}" -1 -1 "$INSTALL_DIR" "${PN}"
}
# Location of Webserver's root (wscgi only)
INSTALL_DIR="/var/www/${PN}"
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
if use wscgi; then
dodir "$INSTALL_DIR"
dodir "$INSTALL_DIR/wscgi"
newins "${FILESDIR}/${PN}.wscgi" "$INSTALL_DIR/wscgi/"
else
newinitd "${FILESDIR}/${PN}.init.d" "${PN}"
fi
keepdir "/var/log/${PN}"
fowners -R "${PN}:${PN}" "/var/log/${PN}"
insinto "/etc/${PN}"
newins "${FILESDIR}/stations.yml" stations.yml
fowners -R "${PN}:${PN}" "/etc/${PN}"
readme.gentoo_create_doc
}
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
stations file is in: /etc/${PN}/
logging goes to: /var/log/${PN}/
for radio-browser.info access, ${PN} looks for a proxy server in http_proxy environment.
"

View File

@ -0,0 +1,35 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Self hosted vTuner internet radio service emulation"
HOMEPAGE="https://github.com/milaq/YCast https://pypi.org/project/ycast/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-3.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
DOCS="README.md"
RDEPEND="dev-python/requests[${PYTHON_USEDEP}]
dev-python/flask[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/pillow[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}

1
metadata/layout.conf Normal file
View File

@ -0,0 +1 @@
masters = gentoo

0
metadata/timestamp Normal file
View File

0
metadata/timestamp.chk Normal file
View File

View File

@ -0,0 +1,10 @@
AUX fwbuilder-5.3.7-qtbindir.patch 1833 BLAKE2B 715f3e218f2e1dd48a58b969da0035bc0caf228d928fc17b3035a57b2170f50efc29d9199193530894ccaae096a285a655093d63548d4a0450fb611833d642cc SHA512 926ea0ebd8fbb58e37c225d84b1e6674ee4e8838ebad35303045e982b689d9b511057d3bdbc93039ad9aa0cd58d875ddcf1717d83c77208bfd1aa125b7b7c2de
AUX fwbuilder-6.0.0_beta-gcc-maybe-uninitialized.patch 2588 BLAKE2B 174109923dd010c799adf881ac4c1236d5c277ec438f6dd30f92d1bbc902686ebae3cab0721c1ea596965357dcca62a150df344608cba02c3a32459d386f45e3 SHA512 a251e851c7e0c5e9d3adea10b36250e504960f39c897900a04c38691e5f6dd73cb4c7b61ecd0f72b2deff0a0d12517f782f5feca965ae4dfb5426d79f276a948
DIST fwbuilder-5.3.7.tar.gz 7332419 BLAKE2B 130c5ab413263b61b7a78dfabe8d0db861ddfd8bfcee62eb11b9ac8c229c9a9e2b6d8a22e296a12e0e9d0fd9b503882eb06e62f7dc0f62487d760191fce8b553 SHA512 d6504ddab17e80cb332f005b6bbb16c15a7b4735361733f0e0437cb94059a5c9039e563be6e0e8d328954db2416b2c0bdbb8afa36cd946f61e7c7edaee47453b
DIST fwbuilder-6.0.0-beta.tar.gz 7347994 BLAKE2B d120b47a68df458ebd6fc38babf5d4bc791fb3540f28b9acf0701452c4a7c690aa5244ddba1e70329b7cf1e84a637e27a3e469d5955f42ca226b21651d07a328 SHA512 25633f786495adf937d48269279b623a75e3ea746fa86185560939183f0f5f9ed7eae740b70db4ed619a65836a8e898559747080bd2ed2901037e574f7e3b721
DIST fwbuilder-6.0.0-rc1.tar.gz 7281841 BLAKE2B 4adfb2c1ba22d781e98de2e02cc7cca6a1c214d3b63e156b76a351d1a7e399afaf0227ced4c9fa228c637c37247dd1cb6e88a0cc4231a3827ba2e5bd0b8a4c5e SHA512 11126c23d8b9f68e7cdcf0a6d3de1678f1b0c879959cef5484b30c2d41ab0377c70dce432d014331cfd376a5fd20e384db7342745a066e8159c2ae275d5bdec4
EBUILD fwbuilder-5.3.7.ebuild 1419 BLAKE2B 641e5b19d154ea8d2dbd4a85e156ee1c289bbea8aa69e642f22292e199b4651d45b9e123bc86907a753f05e97501349239dccc2b65f1f539648c2f7e0146bae1 SHA512 7dc691444ac24a6c80d34a153e5608c4e4cdb83cce87fbbc09c09c0cedaca6404b2680dd532a26779bb60d64149ee95e6a6adc5bf7c33f5abf5acca0ee7960a6
EBUILD fwbuilder-6.0.0_beta.ebuild 1483 BLAKE2B 25f6e666322060227010ac8292f4b12ced2fc860f4225d2bba3ca6193d1ea84aa92861d164bb2980967eb70d426c95cf94c27b820941993eb5705765462df48c SHA512 d02c29af9c4933c60e637c25ed1b39399945096c783497c819ae6eb5504ec66c91c23cac5229bc84570751a0cd473230141eb9699bc7060a06d0cccb304e7101
EBUILD fwbuilder-6.0.0_rc1.ebuild 1077 BLAKE2B 007bdc681821b18c202f9af667a9f7214e7d1827ccac96122c70460c804e692b2cab7942f4f4b6728bbc3075b6b7d6c961c0e12174ec9f923a3e7316e3287f00 SHA512 6dde2aece9264c1c97bff5a71fe0d8bb9731c98f585f21184e147101df8381cec0bb4787fa5eb7c18a26e2f1addd0e062eac40550c878aa7387de46bef8bc4f0
EBUILD fwbuilder-9999.ebuild 1077 BLAKE2B 007bdc681821b18c202f9af667a9f7214e7d1827ccac96122c70460c804e692b2cab7942f4f4b6728bbc3075b6b7d6c961c0e12174ec9f923a3e7316e3287f00 SHA512 6dde2aece9264c1c97bff5a71fe0d8bb9731c98f585f21184e147101df8381cec0bb4787fa5eb7c18a26e2f1addd0e062eac40550c878aa7387de46bef8bc4f0
MISC metadata.xml 520 BLAKE2B 396078caf521038a991589d7aaca8c6c35cec058a3e163f15372512138bfef9c523b7759005c86884ee17522275877ecdef32bdec0085d6d46d7adceb6f962ef SHA512 deda312a012b6b7e342fa3b37d53a6c6fc2b5de129121314856ea659dad92cf3e7b17923f2942bc606deab719907a26e9908c35d087596291b05c0f2e1645e62

View File

@ -0,0 +1,57 @@
--- a/configure.in 2017-12-04 21:30:44.000000000 +0100
+++ b/configure.in 2017-12-04 21:56:00.277286322 +0100
@@ -45,44 +45,18 @@
#define GENERATION "$GENERATION"
EOF
-dnl try to find QT
-dnl
-AC_ARG_WITH(qtdir,[ --with-qtdir=DIR Specify directory path for QT ])
-
-if test -n "$with_qtdir"; then
- AC_MSG_CHECKING(Using QT in )
- QTDIR="$with_qtdir";
- export QTDIR
- AC_MSG_RESULT($QTDIR)
-fi
-
-# TODO: do we need to add $QTDIR/bin to PATH to find qmake?
-EXTENDED_PATH="/usr/local/bin:$QTDIR/bin/:$PATH"
+EXTENDED_PATH="/usr/local/bin:$PATH"
+PKG_PROG_PKG_CONFIG
-AC_ARG_WITH(qmake, [ --with-qmake=qmake Specify the qmake to be used (debian qmake-qt4) ])
-if test -n "$with_qmake"; then
- AC_PATH_PROG(QMAKE, $with_qmake, ,[$EXTENDED_PATH])
- if test -z "$QMAKE"; then
- AC_MSG_ERROR("Could not find qmake")
- fi
-else
- AC_PATH_PROG(QMAKE, qmake, ,[$EXTENDED_PATH])
- if test -z "$QMAKE"; then
- AC_PATH_PROG(QMAKE, qmake-qt4, ,[$EXTENDED_PATH])
- if test -z "$QMAKE"; then
- AC_MSG_ERROR("Could not find qmake")
- fi
- fi
-fi
-
-AC_MSG_CHECKING(checking version of QT this qmake is part of)
-qmake_version=`$QMAKE -v 2>&1 | awk '/Using Qt version/ { print $4;}'`
-case $qmake_version in
- 4.*) AC_MSG_RESULT( $qmake_version ) ;;
- 5.*) AC_MSG_RESULT( $qmake_version ) ;;
- *) AC_MSG_ERROR( "$qmake_version -- v4.x or v5.x is required") ;;
-esac
+dnl try to find Qt5
+dnl
+PKG_CHECK_MODULES([QT5], [Qt5Core >= 5.1.0], [
+ QT_PATH="$( eval $PKG_CONFIG --variable=host_bins Qt5Core )"
+ AC_PATH_PROGS([QMAKE], [qmake-qt5 qmake], [qmake], [$QT_PATH])
+], [
+ AC_MSG_ERROR([Qt5 not found])
+])
AC_ARG_WITH(templatedir, [ --with-templatedir=DIR Specify directory path for fwbuilder template files ])

View File

@ -0,0 +1,52 @@
From 1ec3d2315d6c1a8f020763cd7fa019c9b8ed2921 Mon Sep 17 00:00:00 2001
From: Hannes Schweizer <nilathak@users.noreply.github.com>
Date: Tue, 11 Sep 2018 21:18:10 +0200
Subject: [PATCH] fix: demote GCC maybe-uninitialized error to warning again
After enabling stricter compile warnings with the following commit
https://github.com/fwbuilder/fwbuilder/commit/302299ec52956c98f2cbf0a6a6056c3ae458925f
it is necessary to add "-Wno-error=maybe-uninitialized" to CXXFLAGS, otherwise the compile fails with gcc-7.3.0/gcc-8.2.0:
../fwbuilder/FWObject.h:64:65: warning: 'nserv' may be used uninitialized in this function [-Wmaybe-uninitialized]
PIXImporter.cpp:968:40: warning: 'obj' may be used uninitialized in this function [-Wmaybe-uninitialized]
linux24Interfaces.cpp:279:21: warning: 'itype' may be used uninitialized in this function [-Wmaybe-uninitialized]
RuleSetDiffDialog.cpp:179:101: warning: 'originalRuleSetModel' may be used uninitialized in this function [-Wmaybe-uninitialized]
RuleSetDiffDialog.cpp:186:99: warning: 'currentRuleSetModel' may be used uninitialized in this function [-Wmaybe-uninitialized]
---
qmake.inc.in | 4 ++--
src/libfwbuilder/qmake.inc.in | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/qmake.inc.in b/qmake.inc.in
index 09748142..c0823e80 100644
--- a/qmake.inc.in
+++ b/qmake.inc.in
@@ -199,8 +199,8 @@ FWB_SIG = $$(FWB_SIG)
if (isEmpty(FWB_SIG)) { FWB_SIG=26932 }
DEFINES += FWB_SIG=$$FWB_SIG
-QMAKE_CXXFLAGS_DEBUG += -D__STDC_FORMAT_MACROS -Wall -Wextra -Werror $$(CXXFLAGS)
-QMAKE_CXXFLAGS_RELEASE += -D__STDC_FORMAT_MACROS -Wall -Wextra -Werror $$(CXXFLAGS)
+QMAKE_CXXFLAGS_DEBUG += -D__STDC_FORMAT_MACROS -Wall -Wextra -Wno-error=maybe-uninitialized $$(CXXFLAGS)
+QMAKE_CXXFLAGS_RELEASE += -D__STDC_FORMAT_MACROS -Wall -Wextra -Wno-error=maybe-uninitialized $$(CXXFLAGS)
exists(qmake2.inc) {
include(qmake2.inc)
diff --git a/src/libfwbuilder/qmake.inc.in b/src/libfwbuilder/qmake.inc.in
index 0ec1ad98..4401369c 100644
--- a/src/libfwbuilder/qmake.inc.in
+++ b/src/libfwbuilder/qmake.inc.in
@@ -16,8 +16,8 @@ CPPUNIT_LIBS = @CPPUNIT_LIBS@
CONFIG -= qt
CONFIG += c++14
-QMAKE_CXXFLAGS_DEBUG += -D__STDC_FORMAT_MACROS -Wall -Wextra -Werror $$(CXXFLAGS)
-QMAKE_CXXFLAGS_RELEASE += -D__STDC_FORMAT_MACROS -Wall -Wextra -Werror $$(CXXFLAGS)
+QMAKE_CXXFLAGS_DEBUG += -D__STDC_FORMAT_MACROS -Wall -Wextra -Werror -Wno-error=maybe-uninitialized $$(CXXFLAGS)
+QMAKE_CXXFLAGS_RELEASE += -D__STDC_FORMAT_MACROS -Wall -Wextra -Werror -Wno-error=maybe-uninitialized $$(CXXFLAGS)
unix {
--
2.16.4

View File

@ -0,0 +1,72 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit autotools gnome2-utils qmake-utils
DESCRIPTION="A firewall GUI"
HOMEPAGE="http://www.fwbuilder.org/"
SRC_URI="https://github.com/fwbuilder/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86"
IUSE=""
DEPEND="
dev-libs/libxml2
dev-libs/libxslt
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
dev-qt/qtprintsupport:5
dev-qt/qtwidgets:5
sys-libs/zlib
"
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}/${P}-qtbindir.patch" )
src_prepare() {
default
# bug 398743
sed