diff options
author | Zac Medico <zmedico@gentoo.org> | 2016-07-20 03:15:22 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2016-07-20 03:16:54 -0700 |
commit | 6cd309c2cebf6005584ac3b8c6b2796a52750fad (patch) | |
tree | e4ac56365f4cf63c59e47eedf21afdb0a3329f47 /net-misc/socket-burst-dampener | |
parent | app-admin/rex: Bump (diff) | |
download | gentoo-6cd309c2cebf6005584ac3b8c6b2796a52750fad.tar.gz gentoo-6cd309c2cebf6005584ac3b8c6b2796a52750fad.tar.bz2 gentoo-6cd309c2cebf6005584ac3b8c6b2796a52750fad.zip |
net-misc/socket-burst-dampener: new package
Package-Manager: portage-2.3.0
Diffstat (limited to 'net-misc/socket-burst-dampener')
-rw-r--r-- | net-misc/socket-burst-dampener/Manifest | 1 | ||||
-rw-r--r-- | net-misc/socket-burst-dampener/metadata.xml | 10 | ||||
-rw-r--r-- | net-misc/socket-burst-dampener/socket-burst-dampener-1.0.0.ebuild | 24 |
3 files changed, 35 insertions, 0 deletions
diff --git a/net-misc/socket-burst-dampener/Manifest b/net-misc/socket-burst-dampener/Manifest new file mode 100644 index 000000000000..4328879e694c --- /dev/null +++ b/net-misc/socket-burst-dampener/Manifest @@ -0,0 +1 @@ +DIST socket-burst-dampener-1.0.0.tar.gz 3010 SHA256 2b379a2e9954f2056b063d4e402066bb8118296f109a1550e9289f25583eb92f SHA512 3950497d46213c01df4ef3e0dc12fd1c087bce8a44836ccf78b66fae1eabcda608eeb42982c3492c8128b0517adfff7473d6496b93d8555bfe7b422dfd641afe WHIRLPOOL affecebc96cf5be4aa020a1b06d99d625860f43747ea4d9eebe96bdfb9c81065bac012224f511e022bdebb9a06680cb9171f18bc8af2b6452a215c7fb99aff1d diff --git a/net-misc/socket-burst-dampener/metadata.xml b/net-misc/socket-burst-dampener/metadata.xml new file mode 100644 index 000000000000..682ea708fac3 --- /dev/null +++ b/net-misc/socket-burst-dampener/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <upstream> + <remote-id type="github">zmedico/socket-burst-dampener</remote-id> + </upstream> + <maintainer type="person"> + <email>zmedico@gentoo.org</email> + </maintainer> +</pkgmetadata> diff --git a/net-misc/socket-burst-dampener/socket-burst-dampener-1.0.0.ebuild b/net-misc/socket-burst-dampener/socket-burst-dampener-1.0.0.ebuild new file mode 100644 index 000000000000..d302e33cc4f2 --- /dev/null +++ b/net-misc/socket-burst-dampener/socket-burst-dampener-1.0.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python3_{3,4,5} ) + +inherit distutils-r1 + +DESCRIPTION="A daemon that spawns a specified command to handle each connection, and dampens connection bursts" +HOMEPAGE="https://github.com/zmedico/${PN}" +SRC_URI="https://github.com/zmedico/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="" +RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" + +src_prepare() { + sed -i "s:^\(__version__ =\).*:\\1 \"${PV}\":" src/${PN//-/_}.py || die + distutils-r1_src_prepare +} |