diff options
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/knock/ChangeLog | 10 | ||||
-rw-r--r-- | net-misc/knock/Manifest | 28 | ||||
-rw-r--r-- | net-misc/knock/knock-0.6.ebuild | 48 |
3 files changed, 70 insertions, 16 deletions
diff --git a/net-misc/knock/ChangeLog b/net-misc/knock/ChangeLog index 50adf2e0d424..dffa2fc5ce85 100644 --- a/net-misc/knock/ChangeLog +++ b/net-misc/knock/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/knock -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/knock/ChangeLog,v 1.47 2012/06/13 12:35:00 xmw Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/knock/ChangeLog,v 1.48 2013/04/21 07:17:12 xmw Exp $ + +*knock-0.6 (21 Apr 2013) + + 21 Apr 2013; Michael Weber <xmw@gentoo.org> +knock-0.6.ebuild: + Version bump 13 Jun 2012; Michael Weber <xmw@gentoo.org> -knock-0.5-r1.ebuild, -knock-0.5.ebuild: @@ -153,4 +158,3 @@ 15 Apr 2004; Markus Nigbur <pyrania@gentoo.org> metadata.xml, files/knockd.confd, files/knockd.initd: Initial import. - diff --git a/net-misc/knock/Manifest b/net-misc/knock/Manifest index 134d6a63d0ba..eca385148823 100644 --- a/net-misc/knock/Manifest +++ b/net-misc/knock/Manifest @@ -1,19 +1,21 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 -AUX knock-0.5-gcc-4.3.patch 248 RMD160 197f27ccb79d40e94311e26912515ae9451dae46 SHA1 f3b8756a6dcb1a148856a54f4df9ab765ca9646c SHA256 e4e9db616068adcafcb9bfe3ef674fa3ea823bba3caa6fe133f728493b7970f3 -AUX knockd.confd 264 RMD160 7b938d3e2a36d76694d8fcc313fbd15620065f57 SHA1 8a3cf4003e9efd05bdd955bd417abb21e79a73a3 SHA256 2af786ff26705fb91f87296cb600c4e058031a5d6d550d4ac54e832cc937f88b -AUX knockd.confd.2 296 RMD160 1402133d45e380c9aea3073a65b3c274b7174b19 SHA1 38b95554cbec8cd3da37fbd65ac0451e6750a015 SHA256 694a4d49f68238778f56a6f8ed84bf00d448458034b6b8662b35e9d9c7125532 -AUX knockd.initd 492 RMD160 3a46092965b673c0b7de09706bdeddecdb2fa675 SHA1 41bb302c41abe3640ddf0992f7643c69fa7768dc SHA256 8e11f2bc31260227c869c402dbd2abe7bfcc6f237499441f4b798fb6040389ad -AUX knockd.initd.2 633 RMD160 53a106f4e2fd78d286cae2e5d111abcb1e45f1ea SHA1 fc21378be41fb96b7cce70c26b362831d9ec0667 SHA256 e66bc74ff29ce7db236e2a302d3f8b1b12f304277ff581f38762d670ebd7be89 -DIST knock-0.5.tar.gz 83990 RMD160 089ea289a51478a89945c46469b378c3b33fff6d SHA1 26f3b2f2d698bc6978390ef6e93c628361605059 SHA256 c4c141166a10c45b139e5e656d0c98bbb99567abb35163863fc1df1a025cde15 -EBUILD knock-0.5-r2.ebuild 1371 RMD160 0cd091bbcd9c21ec58eb78e221efb60eb30de488 SHA1 2807b409a085ceff95b1c942d3c8096bad54efe1 SHA256 dd44881dd1c2a02587413d1426d8533746d852349cc0a7c5e31a7bc1037b187b -MISC ChangeLog 5216 RMD160 022be7ab6d4beb1cf2e6f7e37d32be2255c39c6f SHA1 04c56497c32f2d8a8b7e419a946adbc7eced02ad SHA256 e85fbae8cc300d84c43d586f47d815162a61a2be129a58e4f5aba489b9249c64 -MISC metadata.xml 315 RMD160 afb937fe81d18a4aea146155c42d4f9d5547b9be SHA1 1791be98843993a469c74c4e04713e68954be7b2 SHA256 f55312cb6377d083000e5ab0ce23bb8a1f904984a23053a62e44ea2f97092c74 +AUX knock-0.5-gcc-4.3.patch 248 SHA256 e4e9db616068adcafcb9bfe3ef674fa3ea823bba3caa6fe133f728493b7970f3 SHA512 2a16c3736344af5fd350f6a9c1f6f3f69cec0a5546f8c0c7ab715c5affbc5a7494655d7c00ecad4e33a502b4f38b068ed7e69f68729b3835b8c4f8d02c9a0f3f WHIRLPOOL 5b9028c0f8ba8d6eb51618de8c297a276ef4c55ed91cb30ba8c301b248a2de85317f03e0374224792931e8306a79ef2e01eb04c1763a950a9aec2d71295ecc2b +AUX knockd.confd 264 SHA256 2af786ff26705fb91f87296cb600c4e058031a5d6d550d4ac54e832cc937f88b SHA512 1b917215ecf2c8594433cc8f1b1d37f2e17a30cdded5b5521da50a770255a69b1bfa2e9133d1b8bef2a464b5ded2e96a02e8c4f5056a12ea6d353a438deed4dd WHIRLPOOL 94a6a82d9cb3235826b5e2c1f4d6d7e09564eacf8636ad3ff84b8a8889d1a0f83a4c9d00fa00a61c21f15d07b12cc8cac0827eb4c608ce2ce6d3a7cde81699cf +AUX knockd.confd.2 296 SHA256 694a4d49f68238778f56a6f8ed84bf00d448458034b6b8662b35e9d9c7125532 SHA512 0d251413b585fcba7e9ef3e868b8f324c5459b6c20f42264022e51b052024a02c445e57ead813069c1c1776560170aa6d3bb7c166bba9958f51fa1c603e2af0c WHIRLPOOL 7d227de126e997da06aaa67783d65f144b7d20c91c8d778a3312a6344a5ce28a9693d9937791df0813c966208847e6244cae048ae5f41292427119d04e29b261 +AUX knockd.initd 492 SHA256 8e11f2bc31260227c869c402dbd2abe7bfcc6f237499441f4b798fb6040389ad SHA512 8d8c5d8b32e60485674e9ae256cd1a42a9c3b29a04282cad660f9a2f725e469a405b9fbe317ed8e10f41a0edd5fd448e0409dff3ae8553472328c2e39b40e76b WHIRLPOOL 001b7c61f3611b2d8125593d8d7e4a22363e71fc9fb451d206bc02d10c3e6587afb16027271242de2581245352cbc97c5093a3a8c6668660f58d52f8c13585a3 +AUX knockd.initd.2 633 SHA256 e66bc74ff29ce7db236e2a302d3f8b1b12f304277ff581f38762d670ebd7be89 SHA512 55f152d2bb05a7cb7257269a6ac864aa0be3c56e8c6cf43abf216ae94c49f89d791a5f0b218deb6e5bba991b7e4537dbec411068b832b5f2db29f1b821df5740 WHIRLPOOL c42c95c3888d364ca4f998c398e91a51f3774ce3942cf4115a1bce75e105a2f3ebc7eaa37418f09bb3ebe7d24b6c40dd158fb38143e34d8723b1e32af55f7d38 +DIST knock-0.5.tar.gz 83990 SHA256 c4c141166a10c45b139e5e656d0c98bbb99567abb35163863fc1df1a025cde15 SHA512 c5f7f3320d4d9a41847dba0cda4d66852f983db419b23d3bf9c83d44a41ba437379bf6cee47a096c600841e321740849dac26d5c3afff9b3ae0178a2fcb6c35e WHIRLPOOL 1e5eb037c16a7c6cc7f0cd86d0419cea2e776511d9a7368526aac1000fa62aeab6d2b01b6b81d96b2eae799fe8cbf09c31c0a78b1b69d77e985914b4fe99f18f +DIST knock-0.6.tar.gz 125772 SHA256 75a4e8ef8c59efa2cc910375191162adf0deeca20b7ab80d9eb0072f696ca541 SHA512 79179fe0358abfeb001b787522154b5045f9dd679e8b6bea0f375a064e56ed5166c20dee094b42d56338afdf19041c94f4c86b8d5d385d1cc02ca525c1b73714 WHIRLPOOL 556c27ac8dfaf58fa866b3644bbb4557dbbaf3f42896024825eccaf25896fa436685a1f1afce2ffe617c7948e368e189c1b00ddf83e19761886fde0c9c33ac02 +EBUILD knock-0.5-r2.ebuild 1371 SHA256 dd44881dd1c2a02587413d1426d8533746d852349cc0a7c5e31a7bc1037b187b SHA512 5817c784d5df35430d296f8696d6ca3b455e30e4f6fa2dee4ff887c974e07a5f299d14f8ca1247432a6d968cd86794426c9aa0632ae0ff9dc1bdf55084fd987d WHIRLPOOL 6c3ef4d0769ff4d634c7fa69f1cd201b381a4fd686e27adfceb3a3e9137b80dc40d528a59547ffdc60e3abe777ca83fe10a104b47fa716393d7f90bd5d697a96 +EBUILD knock-0.6.ebuild 1234 SHA256 fcfaf469d555b4fbfaa9153c1b9044a6b44d617048de46b605a5ad882457aedb SHA512 b80279ecc8825465b5015302f0e617ccef04e52dd39358a2812d96bc3ac68d40e2d83ed59fe3bce50a877cbeee554ce5df78f9812464d4bd1228ceaa159520c5 WHIRLPOOL d74aadf21cc3dc0783aa7c3b3b28018c5eb7601ce74edc6bf1b90a987ab530ebb7ccdb48435258b98a90e11b3111f311dfc2e89f0477f1dabd1c334b8b5a4d9a +MISC ChangeLog 5322 SHA256 1ff4107929025723beb4a0b1e1780b502424fc0aa3c7a6f7bce126619a9b630f SHA512 597c93f476edce5305a487328cb1158b5b94ce21703eb0a83677cbbfde46684305047029c4c2301af8d7fd3bb9084fc865b467e46eeec0e30009791134b5c35b WHIRLPOOL e64da92763b3f36732d99910b41d2c3bdbe9f5e74ec1b3803e695916420c160a5778e7d0b10c8e39d7491fe2686debbd786a4d2a8b2bf1e0af2a822a38bdc9b4 +MISC metadata.xml 315 SHA256 f55312cb6377d083000e5ab0ce23bb8a1f904984a23053a62e44ea2f97092c74 SHA512 57316525e06e5f518f2b4d03ccf397894b688d78435f6a0c4cf29c0c3ac45b6015d264ae22b65adcf101fb6aee290c90cf74aec8271f660a69857d6da88a393b WHIRLPOOL 5d9ceb63b8db46ecdbbc83922802029c52506c2a46291fc2cd03e44b9fcfa1e4a7bcb6de4b0eb7539e57d6672b66e54fb81c9689a65d24828396f52868602bdc -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) +Version: GnuPG v2.0.19 (GNU/Linux) -iF4EAREIAAYFAk/YiNMACgkQknrdDGLu8JCvlAD/fgdVrxWx18ZPVQQfMJEJ29k+ -Qb0fWpXjcj7ggmVqYxoA/1AosV0J5mWSAFJBZwMOVe3ciJvoDPNqJqE6iwTlNZ4p -=40G9 +iF4EAREIAAYFAlFzkp0ACgkQknrdDGLu8JAN2AD/bLoO+109vsNPD8m/XsI5xjBX +8U+RAb1tyDxAxBLEKu8A/RE4w4P4MiM5K7TckBzUpyqAVnmQX2L6sc9/qDaSw73o +=FrKW -----END PGP SIGNATURE----- diff --git a/net-misc/knock/knock-0.6.ebuild b/net-misc/knock/knock-0.6.ebuild new file mode 100644 index 000000000000..2e144206dd3e --- /dev/null +++ b/net-misc/knock/knock-0.6.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/knock/knock-0.6.ebuild,v 1.1 2013/04/21 07:17:12 xmw Exp $ + +EAPI=4 + +DESCRIPTION="A simple port-knocking daemon" +HOMEPAGE="http://www.zeroflux.org/projects/knock" +SRC_URI="http://www.zeroflux.org/proj/knock/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="+server" + +DEPEND="server? ( net-libs/libpcap )" +RDEPEND="${DEPEND} + server? ( sys-apps/openrc )" + +src_prepare() { + sed -e "/^AM_CFLAGS/s: -g : :" \ + -e "/dist_doc_DATA/s:COPYING::" \ + -i Makefile.in || die + sed -e "s:/usr/sbin/iptables:/sbin/iptables:g" \ + -i knockd.conf || die +} + +src_configure() { + econf $(use_enable server knockd) +} + +src_install() { + emake DESTDIR="${D}" docdir="${EROOT}/usr/share/doc/${PF}" install + + if use server ; then + newinitd "${FILESDIR}"/knockd.initd.2 knock + newconfd "${FILESDIR}"/knockd.confd.2 knock + fi +} + +pkg_postinst() { + if use server && ! has_version net-firewall/iptables ; then + einfo + elog "You're really encouraged to install net-firewall/iptables to" + elog "actually modify your firewall and use the example configuration." + einfo + fi +} |