[gentoo-commits] repo/gentoo:master commit in: net-misc/endlessh/
commit: 04aac61dc416a21f4f9cd14e919e945b2b8e852e Author: Sam James gentoo org> AuthorDate: Sat Jun 3 05:41:19 2023 + Commit: Sam James gentoo org> CommitDate: Sat Jun 3 05:41:19 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04aac61d net-misc/endlessh: drop ulm pointed out that there's not much point in this given low upstream activity, and he's right. Drop. Signed-off-by: Sam James gentoo.org> net-misc/endlessh/endlessh-.ebuild | 56 -- 1 file changed, 56 deletions(-) diff --git a/net-misc/endlessh/endlessh-.ebuild b/net-misc/endlessh/endlessh-.ebuild deleted file mode 100644 index 60a4cd2633ee.. --- a/net-misc/endlessh/endlessh-.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 2019-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit systemd toolchain-funcs - -DESCRIPTION="SSH tarpit that slowly sends and endless banner" -HOMEPAGE="https://github.com/skeeto/endlessh"; - -if [[ ${PV} == "" ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/skeeto/${PN}.git"; -else - SRC_URI="https://github.com/skeeto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~arm ~arm64 ppc64 x86" -fi - -LICENSE="Unlicense" -SLOT="0" - -src_prepare() { - default - - tc-export CC - - sed -i \ - -e 's/^CC/CC?/' \ - -e 's/^CFLAGS =/CFLAGS +=/' \ - -e 's/ -Os//' \ - -e 's/^LDFLAGS/LDFLAGS?/' \ - -e 's/^PREFIX/PREFIX?/' \ - Makefile || die - - sed -i -e "/^ExecStart=/ s:=/usr/local:=${EPREFIX}/usr:" \ - -e /InaccessiblePaths/d util/endlessh.service || die -} - -src_install() { - emake DESTDIR="${D}" PREFIX=/usr install - - einstalldocs - - newinitd "${FILESDIR}"/endlessh.initd endlessh - newconfd "${FILESDIR}"/endlessh.confd endlessh - - systemd_dounit util/endlessh.service - - insinto /usr/share/${PN} - doins util/{pivot.py,schema.sql} -} - -pkg_postinst() { - elog "Log parsing script installed to ${EPREFIX}/usr/share/${PN}" - elog "Install dev-python/pyrfc3339 if you are going to use it" -}
[gentoo-commits] repo/gentoo:master commit in: net-misc/endlessh/
commit: 5fca2bad156bcf407a684495f24f2568307c163e Author: Mike Gilbert gentoo org> AuthorDate: Fri Dec 24 15:11:38 2021 + Commit: Mike Gilbert gentoo org> CommitDate: Fri Dec 24 15:11:38 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fca2bad net-misc/endlessh: drop InaccessiblePaths from endlessh.service Bug: https://github.com/skeeto/endlessh/issues/53 Signed-off-by: Mike Gilbert gentoo.org> net-misc/endlessh/{endlessh-1.1-r1.ebuild => endlessh-1.1-r2.ebuild} | 2 +- net-misc/endlessh/endlessh-.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net-misc/endlessh/endlessh-1.1-r1.ebuild b/net-misc/endlessh/endlessh-1.1-r2.ebuild similarity index 95% rename from net-misc/endlessh/endlessh-1.1-r1.ebuild rename to net-misc/endlessh/endlessh-1.1-r2.ebuild index 6b88d25a68ab..5112f7ee494f 100644 --- a/net-misc/endlessh/endlessh-1.1-r1.ebuild +++ b/net-misc/endlessh/endlessh-1.1-r2.ebuild @@ -37,7 +37,7 @@ src_prepare() { Makefile || die sed -i -e "/^ExecStart=/ s:=/usr/local:=${EPREFIX}/usr:" \ - util/endlessh.service || die + -e /InaccessiblePaths/d util/endlessh.service || die } src_install() { diff --git a/net-misc/endlessh/endlessh-.ebuild b/net-misc/endlessh/endlessh-.ebuild index 6a1cf2d9165f..60a4cd2633ee 100644 --- a/net-misc/endlessh/endlessh-.ebuild +++ b/net-misc/endlessh/endlessh-.ebuild @@ -33,7 +33,7 @@ src_prepare() { Makefile || die sed -i -e "/^ExecStart=/ s:=/usr/local:=${EPREFIX}/usr:" \ - util/endlessh.service || die + -e /InaccessiblePaths/d util/endlessh.service || die } src_install() {
[gentoo-commits] repo/gentoo:master commit in: net-misc/endlessh/
commit: 693251517b99f90c63717abc0056f925a608cf60 Author: Sam James gentoo org> AuthorDate: Mon Mar 22 23:02:56 2021 + Commit: Sam James gentoo org> CommitDate: Tue Mar 23 04:48:55 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69325151 net-misc/endlessh: style changes * Bash tests, not POSIX * Drop unneeded variables Signed-off-by: Sam James gentoo.org> net-misc/endlessh/endlessh-1.1-r1.ebuild | 9 ++--- net-misc/endlessh/endlessh-.ebuild | 11 +++ 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/net-misc/endlessh/endlessh-1.1-r1.ebuild b/net-misc/endlessh/endlessh-1.1-r1.ebuild index d1022eecb73..6b88d25a68a 100644 --- a/net-misc/endlessh/endlessh-1.1-r1.ebuild +++ b/net-misc/endlessh/endlessh-1.1-r1.ebuild @@ -8,7 +8,7 @@ inherit systemd toolchain-funcs DESCRIPTION="SSH tarpit that slowly sends and endless banner" HOMEPAGE="https://github.com/skeeto/endlessh"; -if [ ${PV} == "" ] ; then +if [[ ${PV} == "" ]] ; then inherit git-r3 EGIT_REPO_URI="https://github.com/skeeto/${PN}.git"; else @@ -18,11 +18,6 @@ fi LICENSE="Unlicense" SLOT="0" -IUSE="" - -DEPEND="" -RDEPEND="" -BDEPEND="" PATCHES=( "${FILESDIR}"/${PN}-1.1-syslog-help.patch @@ -55,7 +50,7 @@ src_install() { systemd_dounit util/endlessh.service - insinto /usr/share/"${PN}" + insinto /usr/share/${PN} doins util/{pivot.py,schema.sql} } diff --git a/net-misc/endlessh/endlessh-.ebuild b/net-misc/endlessh/endlessh-.ebuild index 8d77c61d5a7..6a1cf2d9165 100644 --- a/net-misc/endlessh/endlessh-.ebuild +++ b/net-misc/endlessh/endlessh-.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019-2020 Gentoo Authors +# Copyright 2019-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -8,7 +8,7 @@ inherit systemd toolchain-funcs DESCRIPTION="SSH tarpit that slowly sends and endless banner" HOMEPAGE="https://github.com/skeeto/endlessh"; -if [ ${PV} == "" ] ; then +if [[ ${PV} == "" ]] ; then inherit git-r3 EGIT_REPO_URI="https://github.com/skeeto/${PN}.git"; else @@ -18,11 +18,6 @@ fi LICENSE="Unlicense" SLOT="0" -IUSE="" - -DEPEND="" -RDEPEND="" -BDEPEND="" src_prepare() { default @@ -51,7 +46,7 @@ src_install() { systemd_dounit util/endlessh.service - insinto /usr/share/"${PN}" + insinto /usr/share/${PN} doins util/{pivot.py,schema.sql} }
[gentoo-commits] repo/gentoo:master commit in: net-misc/endlessh/
commit: c2e04474a31c1231ee0230a29675fdcce5d4107a Author: Yixun Lan gentoo org> AuthorDate: Tue Feb 2 08:47:50 2021 + Commit: Yixun Lan gentoo org> CommitDate: Tue Feb 2 08:52:14 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2e04474 net-misc/endlessh: fix systemd exec path without rivision bump Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Yixun Lan gentoo.org> net-misc/endlessh/endlessh-1.1-r1.ebuild | 4 ++-- net-misc/endlessh/endlessh-.ebuild | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/net-misc/endlessh/endlessh-1.1-r1.ebuild b/net-misc/endlessh/endlessh-1.1-r1.ebuild index eb2ab463fcb..d1022eecb73 100644 --- a/net-misc/endlessh/endlessh-1.1-r1.ebuild +++ b/net-misc/endlessh/endlessh-1.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019-2020 Gentoo Authors +# Copyright 2019-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -41,7 +41,7 @@ src_prepare() { -e 's/^PREFIX/PREFIX?/' \ Makefile || die - sed -i -e "/^ExecStart=/ s:=/opt/endlessh:=${EPREFIX}/usr/bin:" \ + sed -i -e "/^ExecStart=/ s:=/usr/local:=${EPREFIX}/usr:" \ util/endlessh.service || die } diff --git a/net-misc/endlessh/endlessh-.ebuild b/net-misc/endlessh/endlessh-.ebuild index 45747936cb6..8d77c61d5a7 100644 --- a/net-misc/endlessh/endlessh-.ebuild +++ b/net-misc/endlessh/endlessh-.ebuild @@ -37,7 +37,7 @@ src_prepare() { -e 's/^PREFIX/PREFIX?/' \ Makefile || die - sed -i -e "/^ExecStart=/ s:=/opt/endlessh:=${EPREFIX}/usr/bin:" \ + sed -i -e "/^ExecStart=/ s:=/usr/local:=${EPREFIX}/usr:" \ util/endlessh.service || die }
[gentoo-commits] repo/gentoo:master commit in: net-misc/endlessh/
commit: c6224f58222b9d7df63fd02e45514dc1cd8167a2 Author: Georgy Yakovlev gentoo org> AuthorDate: Sat Jul 11 06:14:15 2020 + Commit: Georgy Yakovlev gentoo org> CommitDate: Sat Jul 11 06:14:15 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6224f58 net-misc/endlessh: remove myself from meatdata Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Georgy Yakovlev gentoo.org> net-misc/endlessh/metadata.xml | 4 1 file changed, 4 deletions(-) diff --git a/net-misc/endlessh/metadata.xml b/net-misc/endlessh/metadata.xml index cb1cd21f7d6..eff6a3d0357 100644 --- a/net-misc/endlessh/metadata.xml +++ b/net-misc/endlessh/metadata.xml @@ -5,10 +5,6 @@ s...@gentoo.org Sam James - - gyakov...@gentoo.org - Georgy Yakovlev - Endlessh is an SSH tarpit that very slowly sends an endless, random SSH banner. It keeps SSH clients locked up for hours or even days at a time.
[gentoo-commits] repo/gentoo:master commit in: net-misc/endlessh/
commit: f2dae18e93e0b4d13588d1094bc7ad69b52999d9 Author: Sam James gentoo org> AuthorDate: Wed Jul 8 20:43:12 2020 + Commit: Sam James gentoo org> CommitDate: Wed Jul 8 20:50:16 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2dae18e net-misc/endlessh: update sam's email Package-Manager: Portage-2.3.103, Repoman-2.3.22 Signed-off-by: Sam James gentoo.org> net-misc/endlessh/metadata.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/endlessh/metadata.xml b/net-misc/endlessh/metadata.xml index 98e3367dc98..cb1cd21f7d6 100644 --- a/net-misc/endlessh/metadata.xml +++ b/net-misc/endlessh/metadata.xml @@ -2,7 +2,7 @@ http://www.gentoo.org/dtd/metadata.dtd";> - s...@cmpct.info + s...@gentoo.org Sam James
[gentoo-commits] repo/gentoo:master commit in: net-misc/endlessh/files/, net-misc/endlessh/
commit: e0e09c698ce483ee91e93ad8a04e8fa0fdf06de1 Author: Georgy Yakovlev gentoo org> AuthorDate: Sun Jun 21 20:05:30 2020 + Commit: Georgy Yakovlev gentoo org> CommitDate: Sun Jun 21 20:07:51 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0e09c69 net-misc/endlessh: remove revision from file names Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Georgy Yakovlev gentoo.org> net-misc/endlessh/endlessh-1.1-r1.ebuild | 4 ++-- net-misc/endlessh/endlessh-.ebuild| 4 ++-- net-misc/endlessh/files/{endlessh.confd-r2 => endlessh.confd} | 0 net-misc/endlessh/files/{endlessh.initd-r2 => endlessh.initd} | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/net-misc/endlessh/endlessh-1.1-r1.ebuild b/net-misc/endlessh/endlessh-1.1-r1.ebuild index 73bfcfb1b20..eb2ab463fcb 100644 --- a/net-misc/endlessh/endlessh-1.1-r1.ebuild +++ b/net-misc/endlessh/endlessh-1.1-r1.ebuild @@ -50,8 +50,8 @@ src_install() { einstalldocs - newinitd "${FILESDIR}"/endlessh.initd-r2 endlessh - newconfd "${FILESDIR}"/endlessh.confd-r2 endlessh + newinitd "${FILESDIR}"/endlessh.initd endlessh + newconfd "${FILESDIR}"/endlessh.confd endlessh systemd_dounit util/endlessh.service diff --git a/net-misc/endlessh/endlessh-.ebuild b/net-misc/endlessh/endlessh-.ebuild index 89e86696bb7..4fe369495d5 100644 --- a/net-misc/endlessh/endlessh-.ebuild +++ b/net-misc/endlessh/endlessh-.ebuild @@ -46,8 +46,8 @@ src_install() { einstalldocs - newinitd "${FILESDIR}"/endlessh.initd-r2 endlessh - newconfd "${FILESDIR}"/endlessh.confd-r2 endlessh + newinitd "${FILESDIR}"/endlessh.initd endlessh + newconfd "${FILESDIR}"/endlessh.confd endlessh systemd_dounit util/endlessh.service diff --git a/net-misc/endlessh/files/endlessh.confd-r2 b/net-misc/endlessh/files/endlessh.confd similarity index 100% rename from net-misc/endlessh/files/endlessh.confd-r2 rename to net-misc/endlessh/files/endlessh.confd diff --git a/net-misc/endlessh/files/endlessh.initd-r2 b/net-misc/endlessh/files/endlessh.initd similarity index 95% rename from net-misc/endlessh/files/endlessh.initd-r2 rename to net-misc/endlessh/files/endlessh.initd index 0b995f683d9..1639c57348c 100644 --- a/net-misc/endlessh/files/endlessh.initd-r2 +++ b/net-misc/endlessh/files/endlessh.initd @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 2019 Gentoo Authors +# Copyright 2019-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 depend() {
[gentoo-commits] repo/gentoo:master commit in: net-misc/endlessh/
commit: e28be2da708d0809f65b063850583af737ee4c08 Author: Sam James (sam_c) cmpct info> AuthorDate: Sat Jun 20 07:55:42 2020 + Commit: Georgy Yakovlev gentoo org> CommitDate: Sun Jun 21 20:07:49 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e28be2da net-misc/endlessh: fix respecting CFLAGS in Upstream changed the spacing in their Makefile which caused our filtering of their flags to break. Maybe we should switch to a patch in future. See: https://github.com/skeeto/endlessh/commit/4cb4fc6eac621196ce30c5506b5e36b94b643354 Signed-off-by: Sam James (sam_c) cmpct.info> Closes: https://github.com/gentoo/gentoo/pull/16347 Signed-off-by: Georgy Yakovlev gentoo.org> net-misc/endlessh/endlessh-.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/endlessh/endlessh-.ebuild b/net-misc/endlessh/endlessh-.ebuild index d41c01c6c8e..cf5249abf5f 100644 --- a/net-misc/endlessh/endlessh-.ebuild +++ b/net-misc/endlessh/endlessh-.ebuild @@ -35,7 +35,7 @@ src_prepare() { sed -i \ -e 's/^CC/CC?/' \ - -e 's/^CFLAGS =/CFLAGS +=/' \ + -e 's/^CFLAGS =/CFLAGS +=/' \ -e 's/ -Os//' \ -e 's/^LDFLAGS/LDFLAGS?/' \ -e 's/^PREFIX/PREFIX?/' \
[gentoo-commits] repo/gentoo:master commit in: net-misc/endlessh/
commit: 5fd4366633cad3cf537c98a757275a91af34de5a Author: Georgy Yakovlev gentoo org> AuthorDate: Sun Jun 21 20:07:34 2020 + Commit: Georgy Yakovlev gentoo org> CommitDate: Sun Jun 21 20:07:52 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fd43666 net-misc/endlessh: fix CFLAGS sed (again) Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Georgy Yakovlev gentoo.org> net-misc/endlessh/endlessh-.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/endlessh/endlessh-.ebuild b/net-misc/endlessh/endlessh-.ebuild index 4fe369495d5..45747936cb6 100644 --- a/net-misc/endlessh/endlessh-.ebuild +++ b/net-misc/endlessh/endlessh-.ebuild @@ -31,7 +31,7 @@ src_prepare() { sed -i \ -e 's/^CC/CC?/' \ - -e 's/^CFLAGS =/CFLAGS +=/' \ + -e 's/^CFLAGS =/CFLAGS +=/' \ -e 's/ -Os//' \ -e 's/^LDFLAGS/LDFLAGS?/' \ -e 's/^PREFIX/PREFIX?/' \
[gentoo-commits] repo/gentoo:master commit in: net-misc/endlessh/
commit: 613c911db09e04fe818c60ba31c386484b704b45 Author: Sam James (sam_c) cmpct info> AuthorDate: Sat Jun 20 07:54:52 2020 + Commit: Georgy Yakovlev gentoo org> CommitDate: Sun Jun 21 20:07:48 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=613c911d net-misc/endlessh: apply forgotten patch Reported-by: Michael Mair-Keimberger gmail.com> Closes: https://bugs.gentoo.org/728914 Signed-off-by: Sam James (sam_c) cmpct.info> Signed-off-by: Georgy Yakovlev gentoo.org> net-misc/endlessh/endlessh-1.1.ebuild | 4 net-misc/endlessh/endlessh-.ebuild | 4 2 files changed, 8 insertions(+) diff --git a/net-misc/endlessh/endlessh-1.1.ebuild b/net-misc/endlessh/endlessh-1.1.ebuild index 89e86696bb7..73bfcfb1b20 100644 --- a/net-misc/endlessh/endlessh-1.1.ebuild +++ b/net-misc/endlessh/endlessh-1.1.ebuild @@ -24,6 +24,10 @@ DEPEND="" RDEPEND="" BDEPEND="" +PATCHES=( + "${FILESDIR}"/${PN}-1.1-syslog-help.patch +) + src_prepare() { default diff --git a/net-misc/endlessh/endlessh-.ebuild b/net-misc/endlessh/endlessh-.ebuild index c9996640c02..d41c01c6c8e 100644 --- a/net-misc/endlessh/endlessh-.ebuild +++ b/net-misc/endlessh/endlessh-.ebuild @@ -24,6 +24,10 @@ DEPEND="" RDEPEND="" BDEPEND="" +PATCHES=( + "${FILESDIR}"/${PN}-1.1-syslog-help.patch +) + src_prepare() { default
[gentoo-commits] repo/gentoo:master commit in: net-misc/endlessh/
commit: ca9b61ac4dbbb693e6f966a2cec6b346f3e8c601 Author: Georgy Yakovlev gentoo org> AuthorDate: Sun Jun 21 19:48:24 2020 + Commit: Georgy Yakovlev gentoo org> CommitDate: Sun Jun 21 20:07:49 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca9b61ac net-misc/endlessh: revbump to propogate patch straight to stable Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Georgy Yakovlev gentoo.org> net-misc/endlessh/{endlessh-1.1.ebuild => endlessh-1.1-r1.ebuild} | 0 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/net-misc/endlessh/endlessh-1.1.ebuild b/net-misc/endlessh/endlessh-1.1-r1.ebuild similarity index 100% rename from net-misc/endlessh/endlessh-1.1.ebuild rename to net-misc/endlessh/endlessh-1.1-r1.ebuild
[gentoo-commits] repo/gentoo:master commit in: net-misc/endlessh/
commit: a03cfa9c5525075820e806ca3e3f8a5efbb08b60 Author: Georgy Yakovlev gentoo org> AuthorDate: Sun Jun 21 20:03:15 2020 + Commit: Georgy Yakovlev gentoo org> CommitDate: Sun Jun 21 20:07:51 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a03cfa9c net-misc/endlessh: sync live ebuild Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Georgy Yakovlev gentoo.org> net-misc/endlessh/endlessh-.ebuild | 15 --- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/net-misc/endlessh/endlessh-.ebuild b/net-misc/endlessh/endlessh-.ebuild index cf5249abf5f..89e86696bb7 100644 --- a/net-misc/endlessh/endlessh-.ebuild +++ b/net-misc/endlessh/endlessh-.ebuild @@ -13,7 +13,7 @@ if [ ${PV} == "" ] ; then EGIT_REPO_URI="https://github.com/skeeto/${PN}.git"; else SRC_URI="https://github.com/skeeto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~ppc64 ~x86" + KEYWORDS="amd64 ~arm ~arm64 ppc64 x86" fi LICENSE="Unlicense" @@ -24,10 +24,6 @@ DEPEND="" RDEPEND="" BDEPEND="" -PATCHES=( - "${FILESDIR}"/${PN}-1.1-syslog-help.patch -) - src_prepare() { default @@ -35,7 +31,7 @@ src_prepare() { sed -i \ -e 's/^CC/CC?/' \ - -e 's/^CFLAGS =/CFLAGS +=/' \ + -e 's/^CFLAGS =/CFLAGS +=/' \ -e 's/ -Os//' \ -e 's/^LDFLAGS/LDFLAGS?/' \ -e 's/^PREFIX/PREFIX?/' \ @@ -50,14 +46,11 @@ src_install() { einstalldocs - newinitd "${FILESDIR}"/endlessh.initd-r1 endlessh - newconfd "${FILESDIR}"/endlessh.confd-r1 endlessh + newinitd "${FILESDIR}"/endlessh.initd-r2 endlessh + newconfd "${FILESDIR}"/endlessh.confd-r2 endlessh systemd_dounit util/endlessh.service - insinto /etc/logrotate.d - newins "${FILESDIR}/logrotated-r1" endlessh - insinto /usr/share/"${PN}" doins util/{pivot.py,schema.sql} }
[gentoo-commits] repo/gentoo:master commit in: net-misc/endlessh/files/, net-misc/endlessh/
commit: 85b6a69f5babbb25bce25074ef711f0e4a61bdd1 Author: Georgy Yakovlev gentoo org> AuthorDate: Sun Jun 21 19:56:24 2020 + Commit: Georgy Yakovlev gentoo org> CommitDate: Sun Jun 21 20:07:50 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85b6a69f net-misc/endlessh: drop old Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Georgy Yakovlev gentoo.org> net-misc/endlessh/Manifest| 1 - net-misc/endlessh/endlessh-1.0.ebuild | 64 --- net-misc/endlessh/files/endlessh.confd-r1 | 34 net-misc/endlessh/files/endlessh.initd-r1 | 29 -- net-misc/endlessh/files/logrotated-r1 | 9 - 5 files changed, 137 deletions(-) diff --git a/net-misc/endlessh/Manifest b/net-misc/endlessh/Manifest index 24508ced9f3..ba94bbcd0bc 100644 --- a/net-misc/endlessh/Manifest +++ b/net-misc/endlessh/Manifest @@ -1,2 +1 @@ -DIST endlessh-1.0.tar.gz 12258 BLAKE2B add6e24568cc94b244aa52bb484d1516210bfaa5a82440e090a89a94d50fbd4805ae004f917af56a7ad82a6502ae97c059d3f1c24b7c3e13ad1bd5a04bcf1c3e SHA512 a7e4e6ac5dc5e9b6e479ac3323b6a3ecec398ea074970de7794c93bd7a1a77c5662bdfa5752217fe552db1b3dbb9f400183114d7399c5a019637cb40756b46a8 DIST endlessh-1.1.tar.gz 12844 BLAKE2B 8828739844cb03f67067bb020c3da5b5c6610a195202776da1ae184c0ab02c9f2acef32cc6536bbb80a46242251e3425eed2c70b0d1a90b0e73696ac14babc94 SHA512 7df2463425ad1417a2e328eacfb840aed14727168b83b5adf80cf6c5c98a6fc05f96bba9257b543ef60202a74383e4978e92c4a1b959e35d4ab94e0e5bda14fd diff --git a/net-misc/endlessh/endlessh-1.0.ebuild b/net-misc/endlessh/endlessh-1.0.ebuild deleted file mode 100644 index c9996640c02..000 --- a/net-misc/endlessh/endlessh-1.0.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 2019-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit systemd toolchain-funcs - -DESCRIPTION="SSH tarpit that slowly sends and endless banner" -HOMEPAGE="https://github.com/skeeto/endlessh"; - -if [ ${PV} == "" ] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/skeeto/${PN}.git"; -else - SRC_URI="https://github.com/skeeto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~ppc64 ~x86" -fi - -LICENSE="Unlicense" -SLOT="0" -IUSE="" - -DEPEND="" -RDEPEND="" -BDEPEND="" - -src_prepare() { - default - - tc-export CC - - sed -i \ - -e 's/^CC/CC?/' \ - -e 's/^CFLAGS =/CFLAGS +=/' \ - -e 's/ -Os//' \ - -e 's/^LDFLAGS/LDFLAGS?/' \ - -e 's/^PREFIX/PREFIX?/' \ - Makefile || die - - sed -i -e "/^ExecStart=/ s:=/opt/endlessh:=${EPREFIX}/usr/bin:" \ - util/endlessh.service || die -} - -src_install() { - emake DESTDIR="${D}" PREFIX=/usr install - - einstalldocs - - newinitd "${FILESDIR}"/endlessh.initd-r1 endlessh - newconfd "${FILESDIR}"/endlessh.confd-r1 endlessh - - systemd_dounit util/endlessh.service - - insinto /etc/logrotate.d - newins "${FILESDIR}/logrotated-r1" endlessh - - insinto /usr/share/"${PN}" - doins util/{pivot.py,schema.sql} -} - -pkg_postinst() { - elog "Log parsing script installed to ${EPREFIX}/usr/share/${PN}" - elog "Install dev-python/pyrfc3339 if you are going to use it" -} diff --git a/net-misc/endlessh/files/endlessh.confd-r1 b/net-misc/endlessh/files/endlessh.confd-r1 deleted file mode 100644 index 13ba0ef55d2..000 --- a/net-misc/endlessh/files/endlessh.confd-r1 +++ /dev/null @@ -1,34 +0,0 @@ -# /etc/conf.d/endlessh: config file for /etc/init.d/endlessh -# -#ENDLESSH_ARGS="" -# Usage: [-vh] [-46] [-d MS] [-f CONFIG] [-l LEN] [-m LIMIT] [-p PORT] -# -4Bind to IPv4 only -# -6Bind to IPv6 only -# -d INTMessage millisecond delay [1] -# -fSet and load config file [/etc/endlessh/config] -# -hPrint this help message and exit -# -l INTMaximum banner line length (3-255) [32] -# -m INTMaximum number of clients [4096] -# -p INTListening port [] -# -vPrint diagnostics to standard output (repeatable) -# -VPrint version information and exit - -# EXAMPLE 1: listen on port 22, log all queries and errors in very verbose mode -#ENDLESSH_ARGS="-p 22 -vv" - -# EXAMPLE 2: load settings from config file -#ENDLESSH_ARGS="-f /etc/endlessh/config" - -# EXAMPLE 3: load settings from config file, but override port -#ENDLESSH_ARGS="-f /etc/endlessh/config -p 22" - - -# LOGGING: is disabled by default, enable this to actually redirect messages - -# plain file (preferred), change logrotate file as well if you change this. -#output_log=/var/log/"${RC_SVCNAME}.log" -#error_log=/var/log/"${RC_SVCNAME}.error.log" - -# syslog support via LOGGER(1). Note this spawns logger processes per io stream -#output_logger="logger -p daemon.none --" -#error_logger="logg
[gentoo-commits] repo/gentoo:master commit in: net-misc/endlessh/
commit: f58393382fb22ccffc4dae1832cce6703b127b18 Author: Sam James (sam_c) cmpct info> AuthorDate: Thu Jun 4 03:45:09 2020 + Commit: Michał Górny gentoo org> CommitDate: Thu Jun 4 14:05:22 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5839338 net-misc/endlessh: arm keyworded (bug #723004) Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sam James (sam_c) cmpct.info> Signed-off-by: Michał Górny gentoo.org> net-misc/endlessh/endlessh-1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/endlessh/endlessh-1.1.ebuild b/net-misc/endlessh/endlessh-1.1.ebuild index 076f1f1161c..89e86696bb7 100644 --- a/net-misc/endlessh/endlessh-1.1.ebuild +++ b/net-misc/endlessh/endlessh-1.1.ebuild @@ -13,7 +13,7 @@ if [ ${PV} == "" ] ; then EGIT_REPO_URI="https://github.com/skeeto/${PN}.git"; else SRC_URI="https://github.com/skeeto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~arm64 ppc64 x86" + KEYWORDS="amd64 ~arm ~arm64 ppc64 x86" fi LICENSE="Unlicense"
[gentoo-commits] repo/gentoo:master commit in: net-misc/endlessh/
commit: 63824c9ddea3de70dd058840cbc3b30b67da681e Author: Sam James (sam_c) cmpct info> AuthorDate: Thu May 14 13:25:55 2020 + Commit: Mart Raudsepp gentoo org> CommitDate: Thu May 14 21:25:39 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63824c9d net-misc/endlessh: arm64 keyworded (bug #723004) Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sam James (sam_c) cmpct.info> Signed-off-by: Mart Raudsepp gentoo.org> net-misc/endlessh/endlessh-1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/endlessh/endlessh-1.1.ebuild b/net-misc/endlessh/endlessh-1.1.ebuild index f79dee7a10e..076f1f1161c 100644 --- a/net-misc/endlessh/endlessh-1.1.ebuild +++ b/net-misc/endlessh/endlessh-1.1.ebuild @@ -13,7 +13,7 @@ if [ ${PV} == "" ] ; then EGIT_REPO_URI="https://github.com/skeeto/${PN}.git"; else SRC_URI="https://github.com/skeeto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ppc64 x86" + KEYWORDS="amd64 ~arm64 ppc64 x86" fi LICENSE="Unlicense"
[gentoo-commits] repo/gentoo:master commit in: net-misc/endlessh/
commit: 4ac34a6a433991301925a8924c9129fe38fedd94 Author: Agostino Sarubbo gentoo org> AuthorDate: Wed May 13 11:31:11 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed May 13 11:31:11 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ac34a6a net-misc/endlessh: x86 stable wrt bug #722794 Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> net-misc/endlessh/endlessh-1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/endlessh/endlessh-1.1.ebuild b/net-misc/endlessh/endlessh-1.1.ebuild index 038da27f9a0..f79dee7a10e 100644 --- a/net-misc/endlessh/endlessh-1.1.ebuild +++ b/net-misc/endlessh/endlessh-1.1.ebuild @@ -13,7 +13,7 @@ if [ ${PV} == "" ] ; then EGIT_REPO_URI="https://github.com/skeeto/${PN}.git"; else SRC_URI="https://github.com/skeeto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ppc64 ~x86" + KEYWORDS="amd64 ppc64 x86" fi LICENSE="Unlicense"
[gentoo-commits] repo/gentoo:master commit in: net-misc/endlessh/
commit: 26683f3ef46441b2296b38398e4dc31078cb064b Author: Agostino Sarubbo gentoo org> AuthorDate: Wed May 13 11:29:19 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed May 13 11:29:19 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26683f3e net-misc/endlessh: ppc64 stable wrt bug #722794 Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Agostino Sarubbo gentoo.org> net-misc/endlessh/endlessh-1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/endlessh/endlessh-1.1.ebuild b/net-misc/endlessh/endlessh-1.1.ebuild index 83b5992e887..038da27f9a0 100644 --- a/net-misc/endlessh/endlessh-1.1.ebuild +++ b/net-misc/endlessh/endlessh-1.1.ebuild @@ -13,7 +13,7 @@ if [ ${PV} == "" ] ; then EGIT_REPO_URI="https://github.com/skeeto/${PN}.git"; else SRC_URI="https://github.com/skeeto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~ppc64 ~x86" + KEYWORDS="amd64 ppc64 ~x86" fi LICENSE="Unlicense"
[gentoo-commits] repo/gentoo:master commit in: net-misc/endlessh/
commit: e57d020528645808857bf89be26f2e75b97b51aa Author: Agostino Sarubbo gentoo org> AuthorDate: Wed May 13 11:27:25 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed May 13 11:27:25 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e57d0205 net-misc/endlessh: amd64 stable wrt bug #722794 Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> net-misc/endlessh/endlessh-1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/endlessh/endlessh-1.1.ebuild b/net-misc/endlessh/endlessh-1.1.ebuild index d4fc3553bf5..83b5992e887 100644 --- a/net-misc/endlessh/endlessh-1.1.ebuild +++ b/net-misc/endlessh/endlessh-1.1.ebuild @@ -13,7 +13,7 @@ if [ ${PV} == "" ] ; then EGIT_REPO_URI="https://github.com/skeeto/${PN}.git"; else SRC_URI="https://github.com/skeeto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~ppc64 ~x86" + KEYWORDS="amd64 ~ppc64 ~x86" fi LICENSE="Unlicense"
[gentoo-commits] repo/gentoo:master commit in: net-misc/endlessh/
commit: c1938e6035974e43a34fab83aa12cf5aaa7ccc79 Author: Georgy Yakovlev gentoo org> AuthorDate: Tue Apr 21 08:25:22 2020 + Commit: Georgy Yakovlev gentoo org> CommitDate: Tue Apr 21 08:25:45 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1938e60 net-misc/endlessh: update metadata.xml Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Georgy Yakovlev gentoo.org> net-misc/endlessh/metadata.xml | 4 1 file changed, 4 insertions(+) diff --git a/net-misc/endlessh/metadata.xml b/net-misc/endlessh/metadata.xml index 98a449ec2b7..98e3367dc98 100644 --- a/net-misc/endlessh/metadata.xml +++ b/net-misc/endlessh/metadata.xml @@ -1,6 +1,10 @@ http://www.gentoo.org/dtd/metadata.dtd";> + + s...@cmpct.info + Sam James + gyakov...@gentoo.org Georgy Yakovlev
[gentoo-commits] repo/gentoo:master commit in: net-misc/endlessh/files/, net-misc/endlessh/
commit: af3182b61d2db38d9ad2f4b37fb1196c2961f879 Author: Sam James (sam_c) cmpct info> AuthorDate: Mon Apr 13 07:51:16 2020 + Commit: Georgy Yakovlev gentoo org> CommitDate: Tue Apr 21 08:23:44 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af3182b6 net-misc/endlessh: bump to 1.1 Signed-off-by: Sam James (sam_c) cmpct.info> Closes: https://github.com/gentoo/gentoo/pull/15328 Signed-off-by: Georgy Yakovlev gentoo.org> net-misc/endlessh/Manifest | 1 + net-misc/endlessh/endlessh-1.1.ebuild | 61 ++ .../endlessh/files/endlessh-1.1-syslog-help.patch | 24 + net-misc/endlessh/files/endlessh.confd-r2 | 29 ++ net-misc/endlessh/files/endlessh.initd-r2 | 30 +++ 5 files changed, 145 insertions(+) diff --git a/net-misc/endlessh/Manifest b/net-misc/endlessh/Manifest index 55b4df2b685..24508ced9f3 100644 --- a/net-misc/endlessh/Manifest +++ b/net-misc/endlessh/Manifest @@ -1 +1,2 @@ DIST endlessh-1.0.tar.gz 12258 BLAKE2B add6e24568cc94b244aa52bb484d1516210bfaa5a82440e090a89a94d50fbd4805ae004f917af56a7ad82a6502ae97c059d3f1c24b7c3e13ad1bd5a04bcf1c3e SHA512 a7e4e6ac5dc5e9b6e479ac3323b6a3ecec398ea074970de7794c93bd7a1a77c5662bdfa5752217fe552db1b3dbb9f400183114d7399c5a019637cb40756b46a8 +DIST endlessh-1.1.tar.gz 12844 BLAKE2B 8828739844cb03f67067bb020c3da5b5c6610a195202776da1ae184c0ab02c9f2acef32cc6536bbb80a46242251e3425eed2c70b0d1a90b0e73696ac14babc94 SHA512 7df2463425ad1417a2e328eacfb840aed14727168b83b5adf80cf6c5c98a6fc05f96bba9257b543ef60202a74383e4978e92c4a1b959e35d4ab94e0e5bda14fd diff --git a/net-misc/endlessh/endlessh-1.1.ebuild b/net-misc/endlessh/endlessh-1.1.ebuild new file mode 100644 index 000..d4fc3553bf5 --- /dev/null +++ b/net-misc/endlessh/endlessh-1.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit systemd toolchain-funcs + +DESCRIPTION="SSH tarpit that slowly sends and endless banner" +HOMEPAGE="https://github.com/skeeto/endlessh"; + +if [ ${PV} == "" ] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/skeeto/${PN}.git"; +else + SRC_URI="https://github.com/skeeto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~ppc64 ~x86" +fi + +LICENSE="Unlicense" +SLOT="0" +IUSE="" + +DEPEND="" +RDEPEND="" +BDEPEND="" + +src_prepare() { + default + + tc-export CC + + sed -i \ + -e 's/^CC/CC?/' \ + -e 's/^CFLAGS =/CFLAGS +=/' \ + -e 's/ -Os//' \ + -e 's/^LDFLAGS/LDFLAGS?/' \ + -e 's/^PREFIX/PREFIX?/' \ + Makefile || die + + sed -i -e "/^ExecStart=/ s:=/opt/endlessh:=${EPREFIX}/usr/bin:" \ + util/endlessh.service || die +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr install + + einstalldocs + + newinitd "${FILESDIR}"/endlessh.initd-r2 endlessh + newconfd "${FILESDIR}"/endlessh.confd-r2 endlessh + + systemd_dounit util/endlessh.service + + insinto /usr/share/"${PN}" + doins util/{pivot.py,schema.sql} +} + +pkg_postinst() { + elog "Log parsing script installed to ${EPREFIX}/usr/share/${PN}" + elog "Install dev-python/pyrfc3339 if you are going to use it" +} diff --git a/net-misc/endlessh/files/endlessh-1.1-syslog-help.patch b/net-misc/endlessh/files/endlessh-1.1-syslog-help.patch new file mode 100644 index 000..ec87997d2f2 --- /dev/null +++ b/net-misc/endlessh/files/endlessh-1.1-syslog-help.patch @@ -0,0 +1,24 @@ +From 3643683c20774afa1606bae5f1c4ccbfd2a905db Mon Sep 17 00:00:00 2001 +From: "Sam James (sam_c)" +Date: Tue, 21 Apr 2020 08:09:49 + +Subject: [PATCH] Add -s (syslog) to help output + +Signed-off-by: Sam James (sam_c) +--- + endlessh.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/endlessh.c b/endlessh.c +index adb8ad3..8c3afff 100644 +--- a/endlessh.c b/endlessh.c +@@ -530,6 +530,8 @@ usage(FILE *f) + fprintf(f, " -m INTMaximum number of clients [" + XSTR(DEFAULT_MAX_CLIENTS) "]\n"); + fprintf(f, " -p INTListening port [" XSTR(DEFAULT_PORT) "]\n"); ++fprintf(f, " -sPrint diagnostics to syslog instead of " ++"standard output\n"); + fprintf(f, " -vPrint diagnostics to standard output " + "(repeatable)\n"); + fprintf(f, " -VPrint version information and exit\n"); + diff --git a/net-misc/endlessh/files/endlessh.confd-r2 b/net-misc/endlessh/files/endlessh.confd-r2 new file mode 100644 index 000..062e30f0c16 --- /dev/null +++ b/net-misc/endlessh/files/endlessh.confd-r2 @@ -0,0 +1,29 @@ +# /etc/conf.d/endlessh: config file for /etc/init.d/endlessh +# +#default options used by init.d if this is unset +#ENDLESSH_ARGS="-sv" +# +#Usage: endlessh [-vh] [-46] [-d MS] [-f CONFIG] [-l L
[gentoo-commits] repo/gentoo:master commit in: net-misc/endlessh/
commit: 4d53c7d8f840e5b6873154db14c70a5c72de7434 Author: Georgy Yakovlev gentoo org> AuthorDate: Wed Jan 1 21:58:25 2020 + Commit: Georgy Yakovlev gentoo org> CommitDate: Wed Jan 1 21:58:39 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d53c7d8 net-misc/endlessh: sync live ebuild Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Georgy Yakovlev gentoo.org> net-misc/endlessh/endlessh-.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-misc/endlessh/endlessh-.ebuild b/net-misc/endlessh/endlessh-.ebuild index e0a840877f3..c9996640c02 100644 --- a/net-misc/endlessh/endlessh-.ebuild +++ b/net-misc/endlessh/endlessh-.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019 Gentoo Authors +# Copyright 2019-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,7 +13,7 @@ if [ ${PV} == "" ] ; then EGIT_REPO_URI="https://github.com/skeeto/${PN}.git"; else SRC_URI="https://github.com/skeeto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" + KEYWORDS="~amd64 ~ppc64 ~x86" fi LICENSE="Unlicense"
[gentoo-commits] repo/gentoo:master commit in: net-misc/endlessh/
commit: 688e7a8a7b39537a78001ccdd963e39b9869a948 Author: Georgy Yakovlev gentoo org> AuthorDate: Wed Jan 1 21:57:40 2020 + Commit: Georgy Yakovlev gentoo org> CommitDate: Wed Jan 1 21:58:39 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=688e7a8a net-misc/endlessh: keyword on ~ppc64 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Georgy Yakovlev gentoo.org> net-misc/endlessh/endlessh-1.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-misc/endlessh/endlessh-1.0.ebuild b/net-misc/endlessh/endlessh-1.0.ebuild index e0a840877f3..c9996640c02 100644 --- a/net-misc/endlessh/endlessh-1.0.ebuild +++ b/net-misc/endlessh/endlessh-1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019 Gentoo Authors +# Copyright 2019-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,7 +13,7 @@ if [ ${PV} == "" ] ; then EGIT_REPO_URI="https://github.com/skeeto/${PN}.git"; else SRC_URI="https://github.com/skeeto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" + KEYWORDS="~amd64 ~ppc64 ~x86" fi LICENSE="Unlicense"
[gentoo-commits] repo/gentoo:master commit in: net-misc/endlessh/files/
commit: be3f757fffb93c229fb255a474cce15fa6128fe1 Author: Georgy Yakovlev gentoo org> AuthorDate: Wed Aug 14 06:06:42 2019 + Commit: Georgy Yakovlev gentoo org> CommitDate: Wed Aug 14 06:06:42 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be3f757f net-misc/endlessh: remove +x bit from stored initd Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Georgy Yakovlev gentoo.org> net-misc/endlessh/files/endlessh.initd-r1 | 0 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/net-misc/endlessh/files/endlessh.initd-r1 b/net-misc/endlessh/files/endlessh.initd-r1 old mode 100755 new mode 100644
[gentoo-commits] repo/gentoo:master commit in: net-misc/endlessh/, net-misc/endlessh/files/
commit: 9f1dce1725ea8f5b2f1a03da5b63b14111326487 Author: Georgy Yakovlev gentoo org> AuthorDate: Sun Jun 16 18:58:56 2019 + Commit: Georgy Yakovlev gentoo org> CommitDate: Sun Jun 16 19:07:15 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f1dce17 net-misc/endlessh: drop old Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Georgy Yakovlev gentoo.org> net-misc/endlessh/Manifest | 1 - net-misc/endlessh/endlessh-0.1.ebuild | 70 -- net-misc/endlessh/files/endlessh.confd | 22 --- net-misc/endlessh/files/endlessh.initd | 22 --- net-misc/endlessh/files/logrotated | 7 net-misc/endlessh/metadata.xml | 3 -- 6 files changed, 125 deletions(-) diff --git a/net-misc/endlessh/Manifest b/net-misc/endlessh/Manifest index a6980673bc4..55b4df2b685 100644 --- a/net-misc/endlessh/Manifest +++ b/net-misc/endlessh/Manifest @@ -1,2 +1 @@ -DIST endlessh-0.1.tar.gz 8566 BLAKE2B e8fefd6ef80d26c25f57ffe1cef502af05322e348d63ca17c0bb626e35d5c1d35cb98384b35c86c579f2876573f4c13468605c3f44325a48d19e27c499657853 SHA512 0d11c82a708a26bd77ca85f7f3bd0eda2807ded9de88e3e518da09a38b3e94fc2658ea6f210e4f1493d38ca5948968c5488c8f2f09ff2adf22b799622b4952b8 DIST endlessh-1.0.tar.gz 12258 BLAKE2B add6e24568cc94b244aa52bb484d1516210bfaa5a82440e090a89a94d50fbd4805ae004f917af56a7ad82a6502ae97c059d3f1c24b7c3e13ad1bd5a04bcf1c3e SHA512 a7e4e6ac5dc5e9b6e479ac3323b6a3ecec398ea074970de7794c93bd7a1a77c5662bdfa5752217fe552db1b3dbb9f400183114d7399c5a019637cb40756b46a8 diff --git a/net-misc/endlessh/endlessh-0.1.ebuild b/net-misc/endlessh/endlessh-0.1.ebuild deleted file mode 100644 index 105c786b101..000 --- a/net-misc/endlessh/endlessh-0.1.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_6 ) - -inherit python-single-r1 systemd toolchain-funcs - -DESCRIPTION="SSH tarpit that slowly sends and endless banner" -HOMEPAGE="https://github.com/skeeto/endlessh"; - -if [ ${PV} == "" ] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/skeeto/${PN}.git"; -else - SRC_URI="https://github.com/skeeto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="Unlicense" -SLOT="0" -IUSE="tools" -REQUIRED_USE="tools? ( ${PYTHON_REQUIRED_USE} )" - -DEPEND="" - -RDEPEND="${DEPEND} - tools? ( - ${PYTHON_DEPS} - dev-db/sqlite - dev-python/pyrfc3339[${PYTHON_USEDEP}] - ) -" - -BDEPEND="" - -pkg_setup() { - use tools && python-single-r1_pkg_setup -} - -src_prepare() { - default - - tc-export CC - - sed -i \ - -e 's/^CC/CC?/' \ - -e 's/^CFLAGS =/CFLAGS +=/' \ - -e 's/ -Os//' \ - -e 's/^LDFLAGS/LDFLAGS?/' \ - Makefile || die - - sed -i -e "/^ExecStart=/ s:=/opt/endlessh:=${EPREFIX}/usr/bin:" \ - util/endlessh.service || die -} - -src_install() { - dobin endlessh - - newinitd "${FILESDIR}"/endlessh.initd endlessh - newconfd "${FILESDIR}"/endlessh.confd endlessh - - systemd_dounit util/endlessh.service - - insinto /etc/logrotate.d - newins "${FILESDIR}/logrotated" endlessh - - einstalldocs -} diff --git a/net-misc/endlessh/files/endlessh.confd b/net-misc/endlessh/files/endlessh.confd deleted file mode 100644 index a114889c8ca..000 --- a/net-misc/endlessh/files/endlessh.confd +++ /dev/null @@ -1,22 +0,0 @@ -# /etc/conf.d/endlessh: config file for /etc/init.d/endlessh -# -#ENDLESSH_ARGS="" -# -# -d INTMessage millisecond delay [1] -# -fSet and load config file [/etc/endlessh/config] -# -l INTMaximum banner line length (3-255) [32] -# -m INTMaximum number of clients [4096] -# -p INTListening port [] -# -vPrint diagnostics to standard output (repeatable) - -# EXAMPLE: listen on port 22, log all queries and errors in very verbose mode - -#ENDLESSH_ARGS="-p 22 -vv" - -# plain file (preferred), change logrotate file as well if you change this. -#output_log=/var/log/"${RC_SVCNAME}.log" -#error_log=/var/log/"${RC_SVCNAME}.error.log" - -# syslog support via LOGGER(1). Note this spawns logger processes per io stream -#output_logger="logger -p daemon.none --" -#error_logger="logger -p daemon.err --" diff --git a/net-misc/endlessh/files/endlessh.initd b/net-misc/endlessh/files/endlessh.initd deleted file mode 100755 index a88fd9c34c9..000 --- a/net-misc/endlessh/files/endlessh.initd +++ /dev/null @@ -1,22 +0,0 @@ -#!/sbin/openrc-run -# Copyright 2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -depend() { - need localmount - use net -} - -description="Starts endlessh tarpit" - -command="/usr/bin/endlessh" -command_args="${
[gentoo-commits] repo/gentoo:master commit in: net-misc/endlessh/
commit: 3eb912727e8848d9e3060d3502282c0ffee6abe4 Author: Georgy Yakovlev gentoo org> AuthorDate: Wed May 1 19:17:57 2019 + Commit: Georgy Yakovlev gentoo org> CommitDate: Wed May 1 19:17:57 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eb91272 net-misc/endlessh: sync live ebuild Bug: https://bugs.gentoo.org/684848 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Georgy Yakovlev gentoo.org> net-misc/endlessh/endlessh-.ebuild | 40 +++--- 1 file changed, 17 insertions(+), 23 deletions(-) diff --git a/net-misc/endlessh/endlessh-.ebuild b/net-misc/endlessh/endlessh-.ebuild index 105c786b101..e0a840877f3 100644 --- a/net-misc/endlessh/endlessh-.ebuild +++ b/net-misc/endlessh/endlessh-.ebuild @@ -3,9 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_6 ) - -inherit python-single-r1 systemd toolchain-funcs +inherit systemd toolchain-funcs DESCRIPTION="SSH tarpit that slowly sends and endless banner" HOMEPAGE="https://github.com/skeeto/endlessh"; @@ -20,25 +18,12 @@ fi LICENSE="Unlicense" SLOT="0" -IUSE="tools" -REQUIRED_USE="tools? ( ${PYTHON_REQUIRED_USE} )" +IUSE="" DEPEND="" - -RDEPEND="${DEPEND} - tools? ( - ${PYTHON_DEPS} - dev-db/sqlite - dev-python/pyrfc3339[${PYTHON_USEDEP}] - ) -" - +RDEPEND="" BDEPEND="" -pkg_setup() { - use tools && python-single-r1_pkg_setup -} - src_prepare() { default @@ -49,6 +34,7 @@ src_prepare() { -e 's/^CFLAGS =/CFLAGS +=/' \ -e 's/ -Os//' \ -e 's/^LDFLAGS/LDFLAGS?/' \ + -e 's/^PREFIX/PREFIX?/' \ Makefile || die sed -i -e "/^ExecStart=/ s:=/opt/endlessh:=${EPREFIX}/usr/bin:" \ @@ -56,15 +42,23 @@ src_prepare() { } src_install() { - dobin endlessh + emake DESTDIR="${D}" PREFIX=/usr install - newinitd "${FILESDIR}"/endlessh.initd endlessh - newconfd "${FILESDIR}"/endlessh.confd endlessh + einstalldocs + + newinitd "${FILESDIR}"/endlessh.initd-r1 endlessh + newconfd "${FILESDIR}"/endlessh.confd-r1 endlessh systemd_dounit util/endlessh.service insinto /etc/logrotate.d - newins "${FILESDIR}/logrotated" endlessh + newins "${FILESDIR}/logrotated-r1" endlessh - einstalldocs + insinto /usr/share/"${PN}" + doins util/{pivot.py,schema.sql} +} + +pkg_postinst() { + elog "Log parsing script installed to ${EPREFIX}/usr/share/${PN}" + elog "Install dev-python/pyrfc3339 if you are going to use it" }
[gentoo-commits] repo/gentoo:master commit in: net-misc/endlessh/, net-misc/endlessh/files/
commit: 14af5665e3f1d17b90d89b9608fea394d0429cf5 Author: Georgy Yakovlev gentoo org> AuthorDate: Wed May 1 18:51:19 2019 + Commit: Georgy Yakovlev gentoo org> CommitDate: Wed May 1 19:15:49 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14af5665 net-misc/endlessh: bump to 1.0 also bump openrc scripts with latest changes remove tools useflag and python deps fix logrotate to do copytruncate and don't send HUP dump connection stats summary before rotating logs Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Georgy Yakovlev gentoo.org> net-misc/endlessh/Manifest| 1 + net-misc/endlessh/endlessh-1.0.ebuild | 64 +++ net-misc/endlessh/files/endlessh.confd-r1 | 34 net-misc/endlessh/files/endlessh.initd-r1 | 29 ++ net-misc/endlessh/files/logrotated-r1 | 9 + 5 files changed, 137 insertions(+) diff --git a/net-misc/endlessh/Manifest b/net-misc/endlessh/Manifest index 997e300902a..a6980673bc4 100644 --- a/net-misc/endlessh/Manifest +++ b/net-misc/endlessh/Manifest @@ -1 +1,2 @@ DIST endlessh-0.1.tar.gz 8566 BLAKE2B e8fefd6ef80d26c25f57ffe1cef502af05322e348d63ca17c0bb626e35d5c1d35cb98384b35c86c579f2876573f4c13468605c3f44325a48d19e27c499657853 SHA512 0d11c82a708a26bd77ca85f7f3bd0eda2807ded9de88e3e518da09a38b3e94fc2658ea6f210e4f1493d38ca5948968c5488c8f2f09ff2adf22b799622b4952b8 +DIST endlessh-1.0.tar.gz 12258 BLAKE2B add6e24568cc94b244aa52bb484d1516210bfaa5a82440e090a89a94d50fbd4805ae004f917af56a7ad82a6502ae97c059d3f1c24b7c3e13ad1bd5a04bcf1c3e SHA512 a7e4e6ac5dc5e9b6e479ac3323b6a3ecec398ea074970de7794c93bd7a1a77c5662bdfa5752217fe552db1b3dbb9f400183114d7399c5a019637cb40756b46a8 diff --git a/net-misc/endlessh/endlessh-1.0.ebuild b/net-misc/endlessh/endlessh-1.0.ebuild new file mode 100644 index 000..e0a840877f3 --- /dev/null +++ b/net-misc/endlessh/endlessh-1.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit systemd toolchain-funcs + +DESCRIPTION="SSH tarpit that slowly sends and endless banner" +HOMEPAGE="https://github.com/skeeto/endlessh"; + +if [ ${PV} == "" ] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/skeeto/${PN}.git"; +else + SRC_URI="https://github.com/skeeto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="Unlicense" +SLOT="0" +IUSE="" + +DEPEND="" +RDEPEND="" +BDEPEND="" + +src_prepare() { + default + + tc-export CC + + sed -i \ + -e 's/^CC/CC?/' \ + -e 's/^CFLAGS =/CFLAGS +=/' \ + -e 's/ -Os//' \ + -e 's/^LDFLAGS/LDFLAGS?/' \ + -e 's/^PREFIX/PREFIX?/' \ + Makefile || die + + sed -i -e "/^ExecStart=/ s:=/opt/endlessh:=${EPREFIX}/usr/bin:" \ + util/endlessh.service || die +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr install + + einstalldocs + + newinitd "${FILESDIR}"/endlessh.initd-r1 endlessh + newconfd "${FILESDIR}"/endlessh.confd-r1 endlessh + + systemd_dounit util/endlessh.service + + insinto /etc/logrotate.d + newins "${FILESDIR}/logrotated-r1" endlessh + + insinto /usr/share/"${PN}" + doins util/{pivot.py,schema.sql} +} + +pkg_postinst() { + elog "Log parsing script installed to ${EPREFIX}/usr/share/${PN}" + elog "Install dev-python/pyrfc3339 if you are going to use it" +} diff --git a/net-misc/endlessh/files/endlessh.confd-r1 b/net-misc/endlessh/files/endlessh.confd-r1 new file mode 100644 index 000..13ba0ef55d2 --- /dev/null +++ b/net-misc/endlessh/files/endlessh.confd-r1 @@ -0,0 +1,34 @@ +# /etc/conf.d/endlessh: config file for /etc/init.d/endlessh +# +#ENDLESSH_ARGS="" +# Usage: [-vh] [-46] [-d MS] [-f CONFIG] [-l LEN] [-m LIMIT] [-p PORT] +# -4Bind to IPv4 only +# -6Bind to IPv6 only +# -d INTMessage millisecond delay [1] +# -fSet and load config file [/etc/endlessh/config] +# -hPrint this help message and exit +# -l INTMaximum banner line length (3-255) [32] +# -m INTMaximum number of clients [4096] +# -p INTListening port [] +# -vPrint diagnostics to standard output (repeatable) +# -VPrint version information and exit + +# EXAMPLE 1: listen on port 22, log all queries and errors in very verbose mode +#ENDLESSH_ARGS="-p 22 -vv" + +# EXAMPLE 2: load settings from config file +#ENDLESSH_ARGS="-f /etc/endlessh/config" + +# EXAMPLE 3: load settings from config file, but override port +#ENDLESSH_ARGS="-f /etc/endlessh/config -p 22" + + +# LOGGING: is disabled by default, enable this to actually redirect messages + +# plain file (preferred), change logrotate file as well if you change this. +#output_log=/var/log/"${RC_SVCNAME}.log" +#error_log=/var/log/"${R
[gentoo-commits] repo/gentoo:master commit in: net-misc/endlessh/files/, net-misc/endlessh/
commit: d838e64623453aa3ec106d76b34509327d583066 Author: Georgy Yakovlev gentoo org> AuthorDate: Mon Mar 25 21:56:38 2019 + Commit: Georgy Yakovlev gentoo org> CommitDate: Mon Mar 25 21:57:22 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d838e646 net-misc/endlessh: new package, ssh tarpit service Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Georgy Yakovlev gentoo.org> net-misc/endlessh/Manifest | 1 + net-misc/endlessh/endlessh-0.1.ebuild | 70 ++ net-misc/endlessh/endlessh-.ebuild | 70 ++ net-misc/endlessh/files/endlessh.confd | 22 +++ net-misc/endlessh/files/endlessh.initd | 22 +++ net-misc/endlessh/files/logrotated | 7 net-misc/endlessh/metadata.xml | 23 +++ 7 files changed, 215 insertions(+) diff --git a/net-misc/endlessh/Manifest b/net-misc/endlessh/Manifest new file mode 100644 index 000..997e300902a --- /dev/null +++ b/net-misc/endlessh/Manifest @@ -0,0 +1 @@ +DIST endlessh-0.1.tar.gz 8566 BLAKE2B e8fefd6ef80d26c25f57ffe1cef502af05322e348d63ca17c0bb626e35d5c1d35cb98384b35c86c579f2876573f4c13468605c3f44325a48d19e27c499657853 SHA512 0d11c82a708a26bd77ca85f7f3bd0eda2807ded9de88e3e518da09a38b3e94fc2658ea6f210e4f1493d38ca5948968c5488c8f2f09ff2adf22b799622b4952b8 diff --git a/net-misc/endlessh/endlessh-0.1.ebuild b/net-misc/endlessh/endlessh-0.1.ebuild new file mode 100644 index 000..105c786b101 --- /dev/null +++ b/net-misc/endlessh/endlessh-0.1.ebuild @@ -0,0 +1,70 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_6 ) + +inherit python-single-r1 systemd toolchain-funcs + +DESCRIPTION="SSH tarpit that slowly sends and endless banner" +HOMEPAGE="https://github.com/skeeto/endlessh"; + +if [ ${PV} == "" ] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/skeeto/${PN}.git"; +else + SRC_URI="https://github.com/skeeto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="Unlicense" +SLOT="0" +IUSE="tools" +REQUIRED_USE="tools? ( ${PYTHON_REQUIRED_USE} )" + +DEPEND="" + +RDEPEND="${DEPEND} + tools? ( + ${PYTHON_DEPS} + dev-db/sqlite + dev-python/pyrfc3339[${PYTHON_USEDEP}] + ) +" + +BDEPEND="" + +pkg_setup() { + use tools && python-single-r1_pkg_setup +} + +src_prepare() { + default + + tc-export CC + + sed -i \ + -e 's/^CC/CC?/' \ + -e 's/^CFLAGS =/CFLAGS +=/' \ + -e 's/ -Os//' \ + -e 's/^LDFLAGS/LDFLAGS?/' \ + Makefile || die + + sed -i -e "/^ExecStart=/ s:=/opt/endlessh:=${EPREFIX}/usr/bin:" \ + util/endlessh.service || die +} + +src_install() { + dobin endlessh + + newinitd "${FILESDIR}"/endlessh.initd endlessh + newconfd "${FILESDIR}"/endlessh.confd endlessh + + systemd_dounit util/endlessh.service + + insinto /etc/logrotate.d + newins "${FILESDIR}/logrotated" endlessh + + einstalldocs +} diff --git a/net-misc/endlessh/endlessh-.ebuild b/net-misc/endlessh/endlessh-.ebuild new file mode 100644 index 000..105c786b101 --- /dev/null +++ b/net-misc/endlessh/endlessh-.ebuild @@ -0,0 +1,70 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_6 ) + +inherit python-single-r1 systemd toolchain-funcs + +DESCRIPTION="SSH tarpit that slowly sends and endless banner" +HOMEPAGE="https://github.com/skeeto/endlessh"; + +if [ ${PV} == "" ] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/skeeto/${PN}.git"; +else + SRC_URI="https://github.com/skeeto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="Unlicense" +SLOT="0" +IUSE="tools" +REQUIRED_USE="tools? ( ${PYTHON_REQUIRED_USE} )" + +DEPEND="" + +RDEPEND="${DEPEND} + tools? ( + ${PYTHON_DEPS} + dev-db/sqlite + dev-python/pyrfc3339[${PYTHON_USEDEP}] + ) +" + +BDEPEND="" + +pkg_setup() { + use tools && python-single-r1_pkg_setup +} + +src_prepare() { + default + + tc-export CC + + sed -i \ + -e 's/^CC/CC?/' \ + -e 's/^CFLAGS =/CFLAGS +=/' \ + -e 's/ -Os//' \ + -e 's/^LDFLAGS/LDFLAGS?/' \ + Makefile || die + + sed -i -e "/^ExecStart=/ s:=/opt/endlessh:=${EPREFIX}/usr/bin:" \ + util/endlessh.service || die +} + +src_install() { + dobin endlessh + + newinitd "${FILESDIR}"/endlessh.initd endlessh + newconfd "${FILESDIR}"/endlessh.confd endlessh + + systemd_dounit util/endlessh.service + + insinto /etc/logrotate.d +