diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/arm |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/arm')
-rw-r--r-- | net-misc/arm/Manifest | 7 | ||||
-rw-r--r-- | net-misc/arm/arm-1.4.5.0-r2.ebuild | 53 | ||||
-rw-r--r-- | net-misc/arm/arm-1.4.5.0_p20140714-r2.ebuild | 60 | ||||
-rw-r--r-- | net-misc/arm/metadata.xml | 16 |
4 files changed, 136 insertions, 0 deletions
diff --git a/net-misc/arm/Manifest b/net-misc/arm/Manifest new file mode 100644 index 000000000000..d2d3069cf3c7 --- /dev/null +++ b/net-misc/arm/Manifest @@ -0,0 +1,7 @@ +DIST arm-1.4.5.0.tar.bz2 303760 SHA256 fc0e771585dde3803873b4807578060f0556cf1cac6c38840a714ffada3b28fa SHA512 60560761ba55f39c5b1ddafec9e67dc0cd052804224bf40a229d1a8c8ce87635465147933686078d02584b8681710c99ec169490550d33b7fab5212ac6933519 WHIRLPOOL 12c4aef7a9bb15fe8defc112d98def6a7f0d120588c9831a22aca49fb1bd5a76f7ce1f8eff9d675e682464c31f7335a340c6427ad57cb6545b497941eac86fad +DIST arm-1.4.5.0_p20140714.tar.gz 185569 SHA256 08c81a781dbffbad7f1a76a6211edece03a2721f6f6327352b4a9b952dda4286 SHA512 65145796958a71385f5b8bf0a0a05cd123f5481718480d65d8d48dc3a4cc4fd198158cfe8e5b2a4dbe98818d3d93642694bed18ca6f9ca4bf7f668eb769aee9f WHIRLPOOL 23df21a1c62634a96b201cdc60e165118f80d702b974fd795a58020f1f5a7c191e8977872c31b71ba72f2a18deefcbcd16e74041218fe97d2bf39fe0bc7398b7 +EBUILD arm-1.4.5.0-r2.ebuild 1252 SHA256 50e40ad4782d855efeaa44a00d5724adf6bddac05324868085355734acbffb98 SHA512 e18e83e529a146e671de966412c215da4d559502d614230fbb37b0f8fbf414fac247c83a2a0b840337005e386e3f380992a29bcf196e13b6c0d896945a17950d WHIRLPOOL cd768f6820115c58394dc8d462598ac31ba1017ba19749fedb3bc7f00ad5f25d53fb49915dd985971e66b63c48725dbf690887e9e982f848e3b68c2fe96719c3 +EBUILD arm-1.4.5.0_p20140714-r2.ebuild 1838 SHA256 ef394545ddd95b4409d1f71bddbb29d417db155289ea1b9dc5b976a0c72ea66e SHA512 3d8c3d0d6345cd4ab5758ce2d472520cc78774199b2eb9e5b7552b33a7c559ebe69a287fb7ddb83180a2f0942d191c8c5e0a40eea8ec7e146f52374779475eed WHIRLPOOL 272f9b75faed49163368f7d923d9b299f67aba46f06434872d27f09d922e397351b074df4fca5e046730e62480467842cf9773b7a1d09d6f3ca2e2e697ebf0f8 +MISC ChangeLog 2499 SHA256 c7da1643a1f6d4220dfdf8f12e2186a0fc1b28e3b6543fa321da393478efb6ce SHA512 95565cabe9b76e2cb1c71faa000db6d173c6c97d7c23372342a80d6a930ad234f465b94c42038884b7c13d217865c1d0fb996dcc7132fdf59c28b3b60725e9b4 WHIRLPOOL a9df85d7f84152f1d64002902796b6f1e3ddf44c8d4ce68864fc2adbfe4a73aa2e640cd53b6a1037f4012e29fc6a3f872e3b8de7d644a8790021fb5f827f44e5 +MISC ChangeLog-2015 5236 SHA256 5a7f949d40f0bf02074f2d99a1d220993f5eda1208021cba57eeb04409084977 SHA512 1a53ff6a9e33ec0098495b9cc4437b1f57186c10c96a5fc680425ac8ed29be721b4cc6f36aaaeed95de190883af5065a06946613748654f84f5faa48f7b040a2 WHIRLPOOL ecacc9f68396d293c5c821c16b2527758963ab5e4368807ec6a03b173452fcffcd76fff9e48ac32ad73a8b65099d44c7b589443688d8127f1caba651c5012b54 +MISC metadata.xml 498 SHA256 fd4a183f2df1dd72681d01fe251dd4399c47284f52b87161d307e6d1533126e2 SHA512 8033a634a646f2211cda2d22a54a238d3b86b68c575f955848b39d1aa6e5985641d1e2ac2c64e48da28cb861431bd0ad199164c58e9730ceef5c04593ec3afee WHIRLPOOL dd6221a18bb734aff5c65d0c222448bc0d92b7a64386ab9dca12ab51dc906c29a8110e71a70f91be6a6aa7164918cec9fd2964a104e78cea13bc43b4c4221292 diff --git a/net-misc/arm/arm-1.4.5.0-r2.ebuild b/net-misc/arm/arm-1.4.5.0-r2.ebuild new file mode 100644 index 000000000000..69b319c282dc --- /dev/null +++ b/net-misc/arm/arm-1.4.5.0-r2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE='ncurses' +DISTUTILS_SINGLE_IMPL=1 + +inherit distutils-r1 + +DESCRIPTION="A ncurses-based status monitor for Tor relays" +HOMEPAGE="http://www.atagar.com/arm/" +SRC_URI="http://www.atagar.com/arm/resources/static/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86 ~x86-fbsd" +IUSE="" + +# Note: While we depend on net-vpn/tor, we strictly speaking +# don't have to because it could run on a different machine. +RDEPEND=" + >=net-vpn/tor-0.2.1.27 + app-admin/sudo + sys-process/lsof + net-dns/bind-tools + virtual/man" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${PN}" + +python_prepare_all() { + python_fix_shebang . + + distutils-r1_python_prepare_all +} + +python_install() { + distutils-r1_python_install \ + --docPath "${EPREFIX}/usr/share/doc/${PF}" + + sed -i -e "s:python:${EPYTHON}:" "${ED}"usr/bin/arm || die +} + +pkg_postinst() { + elog "Some graphing data issues have been noted in testing" + elog "when run as root. It is not recommended to run arm as" + elog "root until those issues have been isolated and fixed." + elog + elog "Trouble with graphs under app-misc/screen? Try:" + elog 'TERM="rxvt-unicode" arm' +} diff --git a/net-misc/arm/arm-1.4.5.0_p20140714-r2.ebuild b/net-misc/arm/arm-1.4.5.0_p20140714-r2.ebuild new file mode 100644 index 000000000000..2a05500a0067 --- /dev/null +++ b/net-misc/arm/arm-1.4.5.0_p20140714-r2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=(python2_7) +PYTHON_REQ_USE="ncurses" +inherit vcs-snapshot distutils-r1 + +DESCRIPTION="A ncurses-based status monitor for Tor relays" +HOMEPAGE="http://www.atagar.com/arm/" +COMMIT_ID="ac7923e31f52d3cf51b538ddf799162d67c04ecc" +SRC_URI="https://gitweb.torproject.org/arm.git/snapshot/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd" +IUSE="test" + +DEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] ) + dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND=">=net-libs/stem-1.2.2_p20140718[${PYTHON_USEDEP}] + net-vpn/tor" + +python_prepare_all() { + sed -i -e "s/.version import VERSION/ import __version__ as VERSION/"\ + -e "s/, 'arm.cli'//"\ + -e "s/arm.cli/arm/g"\ + -e "s/'arm.stem'//"\ + -e "/gui/d"\ + -e "s/\"arm\/settings.cfg\",//"\ + -e "/install-purelib/d"\ + -e "/eggPath/d" setup.py || die + sed -i -e "s/1.4.6_dev/${PV}/" arm/__init__.py || die + sed -i -e "s/line.replace(/line.replace(u/" arm/util/ui_tools.py || die + distutils-r1_python_prepare_all +} + +python_install() { + distutils-r1_python_install --docPath "${EPREFIX}"/usr/share/doc/${PF} + # Workaround until setup.py is fixed upstream + python_moduleinto arm + python_domodule arm/config + python_replicate_script "${ED}"/usr/bin/run_arm +} +python_install_all() { + distutils-r1_python_install_all --docPath "${EPREFIX}"/usr/share/doc/${PF} +} + +python_test() { + ${PYTHON} run_tests.py || die +} + +pkg_postinst() { + elog "Some graphing data issues have been noted in testing" + elog "when run as root. It is not recommended to run arm as" + elog "root until those issues have been isolated and fixed." + elog + elog "Trouble with graphs under app-misc/screen? Try:" + elog 'TERM="rxvt-unicode" arm' +} diff --git a/net-misc/arm/metadata.xml b/net-misc/arm/metadata.xml new file mode 100644 index 000000000000..f1dcc5dbf220 --- /dev/null +++ b/net-misc/arm/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>blueness@gentoo.org</email> + <name>Anthony G. Basile</name> + </maintainer> + <maintainer type="person"> + <email>jesse@boldandbusted.com</email> + <name>Jesse Adelman</name> + </maintainer> +<maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> +</pkgmetadata> |