* [gentoo-commits] repo/gentoo:master commit in: www-misc/shellinabox/
@ 2015-11-25 8:54 Agostino Sarubbo
0 siblings, 0 replies; 26+ messages in thread
From: Agostino Sarubbo @ 2015-11-25 8:54 UTC (permalink / raw
To: gentoo-commits
commit: 969a64f19d122a3c5f2cf8f65368f0c053324ff7
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 25 08:54:24 2015 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Nov 25 08:54:24 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=969a64f1
www-misc/shellinabox: amd64 stable wrt bug #566718
Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="amd64"
www-misc/shellinabox/shellinabox-2.18.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-misc/shellinabox/shellinabox-2.18.ebuild b/www-misc/shellinabox/shellinabox-2.18.ebuild
index fb9d66a..4fa793e 100644
--- a/www-misc/shellinabox/shellinabox-2.18.ebuild
+++ b/www-misc/shellinabox/shellinabox-2.18.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.zip -> ${P}.zip"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
IUSE="+ssl +pam"
RDEPEND="${DEPEND}"
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/shellinabox/
@ 2015-11-27 1:16 Patrice Clement
0 siblings, 0 replies; 26+ messages in thread
From: Patrice Clement @ 2015-11-27 1:16 UTC (permalink / raw
To: gentoo-commits
commit: 331ea1b89ee08a704ad8f4c51d5d008c26873625
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 26 23:29:19 2015 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri Nov 27 01:12:43 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=331ea1b8
www-misc/shellinabox: Stable for ppc+ppc64. Fixes bug 566718.
Package-Manager: portage-2.2.20.1
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
www-misc/shellinabox/shellinabox-2.18.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-misc/shellinabox/shellinabox-2.18.ebuild b/www-misc/shellinabox/shellinabox-2.18.ebuild
index 4fa793e..d8f3e66 100644
--- a/www-misc/shellinabox/shellinabox-2.18.ebuild
+++ b/www-misc/shellinabox/shellinabox-2.18.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.zip -> ${P}.zip"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ppc ppc64 ~x86"
IUSE="+ssl +pam"
RDEPEND="${DEPEND}"
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/shellinabox/
@ 2015-12-03 13:28 Agostino Sarubbo
0 siblings, 0 replies; 26+ messages in thread
From: Agostino Sarubbo @ 2015-12-03 13:28 UTC (permalink / raw
To: gentoo-commits
commit: 940375b2c7e2b83a03745f2374f41bf2a1467e8a
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 3 13:26:41 2015 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Dec 3 13:26:41 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=940375b2
www-misc/shellinabox: x86 stable wrt bug #566718
Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
www-misc/shellinabox/shellinabox-2.18.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-misc/shellinabox/shellinabox-2.18.ebuild b/www-misc/shellinabox/shellinabox-2.18.ebuild
index d8f3e66..f069cf3 100644
--- a/www-misc/shellinabox/shellinabox-2.18.ebuild
+++ b/www-misc/shellinabox/shellinabox-2.18.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.zip -> ${P}.zip"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ppc ppc64 ~x86"
+KEYWORDS="amd64 ppc ppc64 x86"
IUSE="+ssl +pam"
RDEPEND="${DEPEND}"
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/shellinabox/
@ 2015-12-07 11:38 Patrice Clement
0 siblings, 0 replies; 26+ messages in thread
From: Patrice Clement @ 2015-12-07 11:38 UTC (permalink / raw
To: gentoo-commits
commit: 85d4f95876799bc3493925120573a41ce496c238
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 7 11:35:52 2015 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Mon Dec 7 11:38:29 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85d4f958
www-misc/shellinabox: Version bump. Fixes security bug 567316.
Package-Manager: portage-2.2.20.1
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
www-misc/shellinabox/Manifest | 1 +
www-misc/shellinabox/shellinabox-2.19.ebuild | 108 +++++++++++++++++++++++++++
2 files changed, 109 insertions(+)
diff --git a/www-misc/shellinabox/Manifest b/www-misc/shellinabox/Manifest
index 85f28cd..9c84883 100644
--- a/www-misc/shellinabox/Manifest
+++ b/www-misc/shellinabox/Manifest
@@ -1 +1,2 @@
DIST shellinabox-2.18.zip 328195 SHA256 0a3572268b7f42e402cd2fc48ca1f9d1dad6d27d6209ca19923a60f4ee5cb5f8 SHA512 a036131d48d7e1b2e69e128d509a755978bbeb13ebac82212b225d3b0eafea8420ecbb830ea85a75e870814bf20c446ca1642fe59da516f74e0e439a3a41fe24 WHIRLPOOL 903195402af196b55dafcf7f261bc291c5fdd690c3a40ca09578c58d307a6b75e38bbb5316995708e078a6bab6a36de1e2ae9722142bf97b948de2c1dbcf2e52
+DIST shellinabox-2.19.zip 790437 SHA256 1897ec000bb05f8ded07ffb3092c4b43232b8695d8a656985ccae45bebd922e9 SHA512 e6f09679282fd1f23abb272082ca9983df217ad017cad4fdb04d5fa4f93124bfea4b5f12cedb17571e56770ee8b0a4cca1492aff144df5458ed7c1a4ee6a1838 WHIRLPOOL b887101335a48789041574e948a67cf24dd9b269e68481861ff7f4c0ededb4bceae0cc36c11870675597b9c5f3be2d84d824a2c882515b719e4e244c2c93f711
diff --git a/www-misc/shellinabox/shellinabox-2.19.ebuild b/www-misc/shellinabox/shellinabox-2.19.ebuild
new file mode 100644
index 0000000..fb9d66a
--- /dev/null
+++ b/www-misc/shellinabox/shellinabox-2.19.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF="yes"
+AUTOTOOLS_IN_SOURCE_BUILD="yes"
+
+inherit user autotools-utils
+
+DESCRIPTION="Web server that can export arbitrary command line tools to a web based terminal emulator"
+HOMEPAGE="https://github.com/shellinabox/shellinabox"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.zip -> ${P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="+ssl +pam"
+
+RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND}
+ ssl? ( dev-libs/openssl:0= )
+ pam? ( virtual/pam )"
+
+SIAB_CERT_DIR="/etc/shellinabox/cert"
+SIAB_SSL_BASH="${SIAB_CERT_DIR}/gen_ssl_cert.bash"
+SIAB_DAEMON="${PN}d"
+
+shellinbox_gen_ssl_setup() {
+ read -r -d '' SIAB_SSL_SETUP << EOF
+cd ${SIAB_CERT_DIR}
+openssl genrsa -des3 -out server.key 1024
+openssl req -new -key server.key -out server.csr
+cp server.key server.key.org
+openssl rsa -in server.key.org -out server.key
+openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
+cat server.crt server.key > certificate.pem
+EOF
+}
+
+pkg_setup() {
+ enewgroup "${SIAB_DAEMON}"
+ enewuser "${SIAB_DAEMON}" -1 -1 -1 "${SIAB_DAEMON}"
+}
+
+src_configure() {
+ local myeconf="--disable-runtime-loading"
+
+ econf \
+ $(use_enable ssl) \
+ $(use_enable pam) \
+ "${myeconf}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ # make installs the binary in bin.
+ rm -rf "${D}/usr/bin" || die
+
+ # whereas it should put it in sbin.
+ dosbin "${SIAB_DAEMON}"
+
+ # Install init+conf files.
+ newinitd "${FILESDIR}/${SIAB_DAEMON}.init" "${SIAB_DAEMON}"
+ newconfd "${FILESDIR}/${SIAB_DAEMON}.conf" "${SIAB_DAEMON}"
+
+ # Install CSS files.
+ insinto "/usr/share/${PN}-resources"
+ doins -r "${PN}"/*.css
+
+ if use ssl; then
+ # Create directory where SSL certificates will be generated.
+ dodir "${SIAB_CERT_DIR}"
+ fowners "${SIAB_DAEMON}:${SIAB_DAEMON}" "${SIAB_CERT_DIR}"
+
+ # Generate set up variable.
+ shellinbox_gen_ssl_setup
+
+ # Dump it in a bash script.
+ echo "#!/usr/bin/env bash" > "${D}/${SIAB_SSL_BASH}" ||die
+ echo "${SIAB_SSL_SETUP}" >> "${D}/${SIAB_SSL_BASH}" || die
+ chmod +x "${D}/${SIAB_SSL_BASH}" || die
+ fi
+}
+
+pkg_postinst() {
+ ewarn
+ ewarn "The default configuration expose a login shell"
+ ewarn "with SSL disabled on the localhost interface only."
+ ewarn
+
+ if use ssl; then
+ shellinbox_gen_ssl_setup
+
+ einfo
+ einfo "To generate self-signed SSL certificates"
+ einfo "please read the following procedure"
+ einfo "explained here: https://code.google.com/p/shellinabox/issues/detail?id=59#c15"
+ einfo
+ einfo "${SIAB_SSL_SETUP}"
+ einfo
+ einfo "This walkthrough has been written in ${SIAB_SSL_BASH} for your convenience."
+ einfo "Make sure to execute this script."
+ einfo
+ fi
+}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/shellinabox/
@ 2015-12-09 10:47 Agostino Sarubbo
0 siblings, 0 replies; 26+ messages in thread
From: Agostino Sarubbo @ 2015-12-09 10:47 UTC (permalink / raw
To: gentoo-commits
commit: c5fc2aa215795ee0dc43675a2d9e278476dff465
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 9 10:47:37 2015 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Dec 9 10:47:37 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5fc2aa2
www-misc/shellinabox: amd64 stable wrt bug #567316
Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
www-misc/shellinabox/shellinabox-2.19.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-misc/shellinabox/shellinabox-2.19.ebuild b/www-misc/shellinabox/shellinabox-2.19.ebuild
index fb9d66a..4fa793e 100644
--- a/www-misc/shellinabox/shellinabox-2.19.ebuild
+++ b/www-misc/shellinabox/shellinabox-2.19.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.zip -> ${P}.zip"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
IUSE="+ssl +pam"
RDEPEND="${DEPEND}"
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/shellinabox/
@ 2015-12-19 7:39 Jeroen Roovers
0 siblings, 0 replies; 26+ messages in thread
From: Jeroen Roovers @ 2015-12-19 7:39 UTC (permalink / raw
To: gentoo-commits
commit: 4987f896014a9c102212648cfb54f061eb6c303c
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 19 07:39:13 2015 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Dec 19 07:39:13 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4987f896
www-misc/shellinabox: Stable for PPC64 (bug #567316).
Package-Manager: portage-2.2.26
RepoMan-Options: --ignore-arches
www-misc/shellinabox/shellinabox-2.19.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-misc/shellinabox/shellinabox-2.19.ebuild b/www-misc/shellinabox/shellinabox-2.19.ebuild
index 4fa793e..5c5fa6c 100644
--- a/www-misc/shellinabox/shellinabox-2.19.ebuild
+++ b/www-misc/shellinabox/shellinabox-2.19.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.zip -> ${P}.zip"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc ppc64 ~x86"
IUSE="+ssl +pam"
RDEPEND="${DEPEND}"
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/shellinabox/
@ 2015-12-22 0:27 Patrice Clement
0 siblings, 0 replies; 26+ messages in thread
From: Patrice Clement @ 2015-12-22 0:27 UTC (permalink / raw
To: gentoo-commits
commit: 4c8dd3382e2fb91346681b935c40c1b858dc4fd4
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 22 00:26:38 2015 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Tue Dec 22 00:26:53 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c8dd338
www-misc/shellinabox: Stable for ppc. Fixes security bug 567316.
Package-Manager: portage-2.2.20.1
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
www-misc/shellinabox/shellinabox-2.19.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-misc/shellinabox/shellinabox-2.19.ebuild b/www-misc/shellinabox/shellinabox-2.19.ebuild
index 5c5fa6c..d8f3e66 100644
--- a/www-misc/shellinabox/shellinabox-2.19.ebuild
+++ b/www-misc/shellinabox/shellinabox-2.19.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.zip -> ${P}.zip"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~ppc ppc64 ~x86"
+KEYWORDS="amd64 ppc ppc64 ~x86"
IUSE="+ssl +pam"
RDEPEND="${DEPEND}"
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/shellinabox/
@ 2015-12-25 18:19 Agostino Sarubbo
0 siblings, 0 replies; 26+ messages in thread
From: Agostino Sarubbo @ 2015-12-25 18:19 UTC (permalink / raw
To: gentoo-commits
commit: 5a3e7bc5288261f119f70bd0f1dcb6edfcb64082
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 25 18:19:39 2015 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Dec 25 18:19:39 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a3e7bc5
www-misc/shellinabox: x86 stable wrt bug #567316
Package-Manager: portage-2.2.24
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
www-misc/shellinabox/shellinabox-2.19.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-misc/shellinabox/shellinabox-2.19.ebuild b/www-misc/shellinabox/shellinabox-2.19.ebuild
index d8f3e66..f069cf3 100644
--- a/www-misc/shellinabox/shellinabox-2.19.ebuild
+++ b/www-misc/shellinabox/shellinabox-2.19.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.zip -> ${P}.zip"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ppc ppc64 ~x86"
+KEYWORDS="amd64 ppc ppc64 x86"
IUSE="+ssl +pam"
RDEPEND="${DEPEND}"
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/shellinabox/
@ 2015-12-31 17:40 Patrice Clement
0 siblings, 0 replies; 26+ messages in thread
From: Patrice Clement @ 2015-12-31 17:40 UTC (permalink / raw
To: gentoo-commits
commit: 58096a0141daac212263b1c491de3927c36d3013
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 31 17:38:02 2015 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Thu Dec 31 17:39:13 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58096a01
www-misc/shellinabox: Remove vulnerable version. Fixes security bug 567316.
Package-Manager: portage-2.2.20.1
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
www-misc/shellinabox/Manifest | 1 -
www-misc/shellinabox/shellinabox-2.18.ebuild | 108 ---------------------------
2 files changed, 109 deletions(-)
diff --git a/www-misc/shellinabox/Manifest b/www-misc/shellinabox/Manifest
index 9c84883..ceeda32 100644
--- a/www-misc/shellinabox/Manifest
+++ b/www-misc/shellinabox/Manifest
@@ -1,2 +1 @@
-DIST shellinabox-2.18.zip 328195 SHA256 0a3572268b7f42e402cd2fc48ca1f9d1dad6d27d6209ca19923a60f4ee5cb5f8 SHA512 a036131d48d7e1b2e69e128d509a755978bbeb13ebac82212b225d3b0eafea8420ecbb830ea85a75e870814bf20c446ca1642fe59da516f74e0e439a3a41fe24 WHIRLPOOL 903195402af196b55dafcf7f261bc291c5fdd690c3a40ca09578c58d307a6b75e38bbb5316995708e078a6bab6a36de1e2ae9722142bf97b948de2c1dbcf2e52
DIST shellinabox-2.19.zip 790437 SHA256 1897ec000bb05f8ded07ffb3092c4b43232b8695d8a656985ccae45bebd922e9 SHA512 e6f09679282fd1f23abb272082ca9983df217ad017cad4fdb04d5fa4f93124bfea4b5f12cedb17571e56770ee8b0a4cca1492aff144df5458ed7c1a4ee6a1838 WHIRLPOOL b887101335a48789041574e948a67cf24dd9b269e68481861ff7f4c0ededb4bceae0cc36c11870675597b9c5f3be2d84d824a2c882515b719e4e244c2c93f711
diff --git a/www-misc/shellinabox/shellinabox-2.18.ebuild b/www-misc/shellinabox/shellinabox-2.18.ebuild
deleted file mode 100644
index f069cf3..0000000
--- a/www-misc/shellinabox/shellinabox-2.18.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-AUTOTOOLS_AUTORECONF="yes"
-AUTOTOOLS_IN_SOURCE_BUILD="yes"
-
-inherit user autotools-utils
-
-DESCRIPTION="Web server that can export arbitrary command line tools to a web based terminal emulator"
-HOMEPAGE="https://github.com/shellinabox/shellinabox"
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.zip -> ${P}.zip"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc ppc64 x86"
-IUSE="+ssl +pam"
-
-RDEPEND="${DEPEND}"
-DEPEND="${RDEPEND}
- ssl? ( dev-libs/openssl:0= )
- pam? ( virtual/pam )"
-
-SIAB_CERT_DIR="/etc/shellinabox/cert"
-SIAB_SSL_BASH="${SIAB_CERT_DIR}/gen_ssl_cert.bash"
-SIAB_DAEMON="${PN}d"
-
-shellinbox_gen_ssl_setup() {
- read -r -d '' SIAB_SSL_SETUP << EOF
-cd ${SIAB_CERT_DIR}
-openssl genrsa -des3 -out server.key 1024
-openssl req -new -key server.key -out server.csr
-cp server.key server.key.org
-openssl rsa -in server.key.org -out server.key
-openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
-cat server.crt server.key > certificate.pem
-EOF
-}
-
-pkg_setup() {
- enewgroup "${SIAB_DAEMON}"
- enewuser "${SIAB_DAEMON}" -1 -1 -1 "${SIAB_DAEMON}"
-}
-
-src_configure() {
- local myeconf="--disable-runtime-loading"
-
- econf \
- $(use_enable ssl) \
- $(use_enable pam) \
- "${myeconf}"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
-
- # make installs the binary in bin.
- rm -rf "${D}/usr/bin" || die
-
- # whereas it should put it in sbin.
- dosbin "${SIAB_DAEMON}"
-
- # Install init+conf files.
- newinitd "${FILESDIR}/${SIAB_DAEMON}.init" "${SIAB_DAEMON}"
- newconfd "${FILESDIR}/${SIAB_DAEMON}.conf" "${SIAB_DAEMON}"
-
- # Install CSS files.
- insinto "/usr/share/${PN}-resources"
- doins -r "${PN}"/*.css
-
- if use ssl; then
- # Create directory where SSL certificates will be generated.
- dodir "${SIAB_CERT_DIR}"
- fowners "${SIAB_DAEMON}:${SIAB_DAEMON}" "${SIAB_CERT_DIR}"
-
- # Generate set up variable.
- shellinbox_gen_ssl_setup
-
- # Dump it in a bash script.
- echo "#!/usr/bin/env bash" > "${D}/${SIAB_SSL_BASH}" ||die
- echo "${SIAB_SSL_SETUP}" >> "${D}/${SIAB_SSL_BASH}" || die
- chmod +x "${D}/${SIAB_SSL_BASH}" || die
- fi
-}
-
-pkg_postinst() {
- ewarn
- ewarn "The default configuration expose a login shell"
- ewarn "with SSL disabled on the localhost interface only."
- ewarn
-
- if use ssl; then
- shellinbox_gen_ssl_setup
-
- einfo
- einfo "To generate self-signed SSL certificates"
- einfo "please read the following procedure"
- einfo "explained here: https://code.google.com/p/shellinabox/issues/detail?id=59#c15"
- einfo
- einfo "${SIAB_SSL_SETUP}"
- einfo
- einfo "This walkthrough has been written in ${SIAB_SSL_BASH} for your convenience."
- einfo "Make sure to execute this script."
- einfo
- fi
-}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/shellinabox/
@ 2016-11-23 15:53 Patrice Clement
0 siblings, 0 replies; 26+ messages in thread
From: Patrice Clement @ 2016-11-23 15:53 UTC (permalink / raw
To: gentoo-commits
commit: a3033209d3da1d8d84dad8336cbc4f7c397a762e
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 23 15:53:29 2016 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Nov 23 15:53:57 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3033209
www-misc/shellinabox: version bump.
Gentoo-Bug: https://bugs.gentoo.org/587724
Package-Manager: portage-2.3.0
www-misc/shellinabox/Manifest | 1 +
www-misc/shellinabox/shellinabox-2.20.ebuild | 112 +++++++++++++++++++++++++++
2 files changed, 113 insertions(+)
diff --git a/www-misc/shellinabox/Manifest b/www-misc/shellinabox/Manifest
index ceeda32..301b0ec 100644
--- a/www-misc/shellinabox/Manifest
+++ b/www-misc/shellinabox/Manifest
@@ -1 +1,2 @@
DIST shellinabox-2.19.zip 790437 SHA256 1897ec000bb05f8ded07ffb3092c4b43232b8695d8a656985ccae45bebd922e9 SHA512 e6f09679282fd1f23abb272082ca9983df217ad017cad4fdb04d5fa4f93124bfea4b5f12cedb17571e56770ee8b0a4cca1492aff144df5458ed7c1a4ee6a1838 WHIRLPOOL b887101335a48789041574e948a67cf24dd9b269e68481861ff7f4c0ededb4bceae0cc36c11870675597b9c5f3be2d84d824a2c882515b719e4e244c2c93f711
+DIST shellinabox-2.20.zip 792359 SHA256 2b79ed66e5d20a8a46f68d88ba3a74d5302ffe7e5eb048a46b92b268351419f4 SHA512 0537b6400cb7f4880c76cce270e5eefd6f536eae7e27b5f7b12de0465a1e354f7980bb2f67230237eda1f7945afb1d3bb18013106bf7c3a02e7974532f0d9190 WHIRLPOOL a41f1d4010b6fd5386a8e37d6106d774a4600ac43e4baa3efc7a3b3d0f4c22214f13c5eb3d821a7b169731115ea17c9c0f5a6ad762c9791658a5ad98983f1356
diff --git a/www-misc/shellinabox/shellinabox-2.20.ebuild b/www-misc/shellinabox/shellinabox-2.20.ebuild
new file mode 100644
index 00000000..d215bc7
--- /dev/null
+++ b/www-misc/shellinabox/shellinabox-2.20.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF="yes"
+AUTOTOOLS_IN_SOURCE_BUILD="yes"
+
+inherit user autotools-utils systemd
+
+DESCRIPTION="Export command line tools to a web based terminal emulator"
+HOMEPAGE="https://github.com/shellinabox/shellinabox"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.zip -> ${P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="+ssl +pam"
+
+RDEPEND="${DEPEND}"
+DEPEND="
+ ${RDEPEND}
+ ssl? ( dev-libs/openssl:0= )
+ pam? ( virtual/pam )"
+
+SIAB_CERT_DIR="/etc/shellinabox/cert"
+SIAB_SSL_BASH="${SIAB_CERT_DIR}/gen_ssl_cert.bash"
+SIAB_DAEMON="${PN}d"
+
+shellinbox_gen_ssl_setup() {
+ read -r -d '' SIAB_SSL_SETUP << EOF
+cd ${SIAB_CERT_DIR}
+openssl genrsa -des3 -out server.key 1024
+openssl req -new -key server.key -out server.csr
+cp server.key server.key.org
+openssl rsa -in server.key.org -out server.key
+openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
+cat server.crt server.key > certificate.pem
+EOF
+}
+
+pkg_setup() {
+ enewgroup "${SIAB_DAEMON}"
+ enewuser "${SIAB_DAEMON}" -1 -1 -1 "${SIAB_DAEMON}"
+}
+
+src_configure() {
+ local myeconf="--disable-runtime-loading"
+
+ econf \
+ $(use_enable ssl) \
+ $(use_enable pam) \
+ "${myeconf}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ # make installs the binary in bin.
+ rm -rf "${D}/usr/bin" || die
+
+ # whereas it should put it in sbin.
+ dosbin "${SIAB_DAEMON}"
+
+ # Install init+conf files.
+ newinitd "${FILESDIR}/${SIAB_DAEMON}.init" "${SIAB_DAEMON}"
+ newconfd "${FILESDIR}/${SIAB_DAEMON}.conf" "${SIAB_DAEMON}"
+
+ # Install systemd unit files
+ systemd_dounit "${FILESDIR}"/shellinaboxd.service
+
+ # Install CSS files.
+ insinto "/usr/share/${PN}-resources"
+ doins -r "${PN}"/*.css
+
+ if use ssl; then
+ # Create directory where SSL certificates will be generated.
+ dodir "${SIAB_CERT_DIR}"
+ fowners "${SIAB_DAEMON}:${SIAB_DAEMON}" "${SIAB_CERT_DIR}"
+
+ # Generate set up variable.
+ shellinbox_gen_ssl_setup
+
+ # Dump it in a bash script.
+ echo "#!/usr/bin/env bash" > "${D}/${SIAB_SSL_BASH}" || die
+ echo "${SIAB_SSL_SETUP}" >> "${D}/${SIAB_SSL_BASH}" || die
+ chmod +x "${D}/${SIAB_SSL_BASH}" || die
+ fi
+}
+
+pkg_postinst() {
+ ewarn
+ ewarn "The default configuration exposes a login shell"
+ ewarn "with SSL disabled on the localhost interface only."
+ ewarn
+
+ if use ssl; then
+ shellinbox_gen_ssl_setup
+
+ einfo
+ einfo "To generate self-signed SSL certificates"
+ einfo "please read the following procedure"
+ einfo "explained here: https://code.google.com/p/shellinabox/issues/detail?id=59#c15"
+ einfo
+ einfo "${SIAB_SSL_SETUP}"
+ einfo
+ einfo "This walkthrough has been written in ${SIAB_SSL_BASH} for your convenience."
+ einfo "Make sure to execute this script."
+ einfo
+ fi
+}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/shellinabox/
@ 2017-01-31 13:01 Patrice Clement
0 siblings, 0 replies; 26+ messages in thread
From: Patrice Clement @ 2017-01-31 13:01 UTC (permalink / raw
To: gentoo-commits
commit: 2d30d59f0307cc388e91fa5945927559f3241728
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 31 12:55:34 2017 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Tue Jan 31 13:01:28 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d30d59f
www-misc/shellinabox: turn openssl into a hard dependency and remove ssl USE flag.
dev-libs/openssl:0= previously was an optional dependency available through a
USE flag but it turns out shellinabox cannot be compiled with SSL support
disabled. let's remove the "ssl" USE flag and turn dev-libs/openssl into a hard
dependency.
Gentoo-Bug: https://bugs.gentoo.org/607528
Package-Manager: portage-2.3.3
www-misc/shellinabox/shellinabox-2.20-r1.ebuild | 108 ++++++++++++++++++++++++
1 file changed, 108 insertions(+)
diff --git a/www-misc/shellinabox/shellinabox-2.20-r1.ebuild b/www-misc/shellinabox/shellinabox-2.20-r1.ebuild
new file mode 100644
index 00000000..4e0bfce
--- /dev/null
+++ b/www-misc/shellinabox/shellinabox-2.20-r1.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF="yes"
+AUTOTOOLS_IN_SOURCE_BUILD="yes"
+
+inherit user autotools-utils systemd
+
+DESCRIPTION="Export command line tools to a web based terminal emulator"
+HOMEPAGE="https://github.com/shellinabox/shellinabox"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.zip -> ${P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="+pam"
+
+DEPEND="
+ dev-libs/openssl:0=
+ pam? ( virtual/pam )"
+
+SIAB_CERT_DIR="/etc/shellinabox/cert"
+SIAB_SSL_BASH="${SIAB_CERT_DIR}/gen_ssl_cert.bash"
+SIAB_DAEMON="${PN}d"
+
+shellinbox_gen_ssl_setup() {
+ read -r -d '' SIAB_SSL_SETUP << EOF
+cd ${SIAB_CERT_DIR}
+openssl genrsa -des3 -out server.key 1024
+openssl req -new -key server.key -out server.csr
+cp server.key server.key.org
+openssl rsa -in server.key.org -out server.key
+openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
+cat server.crt server.key > certificate.pem
+EOF
+}
+
+pkg_setup() {
+ enewgroup "${SIAB_DAEMON}"
+ enewuser "${SIAB_DAEMON}" -1 -1 -1 "${SIAB_DAEMON}"
+}
+
+src_configure() {
+ local myeconf=(
+ --disable-runtime-loading
+ --enable-ssl
+ )
+
+ econf \
+ $(use_enable pam) \
+ "${myeconf}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ # make installs the binary in bin...
+ rm -rf "${D}/usr/bin" || die
+
+ # ... whereas it should put it in sbin.
+ dosbin "${SIAB_DAEMON}"
+
+ # Install init+conf files.
+ newinitd "${FILESDIR}/${SIAB_DAEMON}.init" "${SIAB_DAEMON}"
+ newconfd "${FILESDIR}/${SIAB_DAEMON}.conf" "${SIAB_DAEMON}"
+
+ # Install systemd unit files
+ systemd_dounit "${FILESDIR}"/shellinaboxd.service
+
+ # Install CSS files.
+ insinto "/usr/share/${PN}-resources"
+ doins -r "${PN}"/*.css
+
+ # Create directory where SSL certificates will be generated.
+ dodir "${SIAB_CERT_DIR}"
+ fowners "${SIAB_DAEMON}:${SIAB_DAEMON}" "${SIAB_CERT_DIR}"
+
+ # Generate set up variable.
+ shellinbox_gen_ssl_setup
+
+ # Dump it in a bash script.
+ echo "#!/usr/bin/env bash" > "${D}/${SIAB_SSL_BASH}" || die
+ echo "${SIAB_SSL_SETUP}" >> "${D}/${SIAB_SSL_BASH}" || die
+ chmod +x "${D}/${SIAB_SSL_BASH}" || die
+}
+
+pkg_postinst() {
+ ewarn
+ ewarn "The default configuration exposes a login shell"
+ ewarn "with SSL disabled on the localhost interface only."
+ ewarn
+
+ shellinbox_gen_ssl_setup
+
+ einfo
+ einfo "To generate self-signed SSL certificates"
+ einfo "please read the procedure explained here:"
+ einfo "https://code.google.com/p/shellinabox/issues/detail?id=59#c15"
+ einfo
+ einfo "${SIAB_SSL_SETUP}"
+ einfo
+ einfo "This walkthrough has been written in ${SIAB_SSL_BASH} for your convenience."
+ einfo "Make sure to execute this script."
+ einfo
+}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/shellinabox/
@ 2017-05-18 12:39 Agostino Sarubbo
0 siblings, 0 replies; 26+ messages in thread
From: Agostino Sarubbo @ 2017-05-18 12:39 UTC (permalink / raw
To: gentoo-commits
commit: f6218cad39af87de139c54f95b3e217b4427482a
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu May 18 12:39:42 2017 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu May 18 12:39:42 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6218cad
www-misc/shellinabox: amd64 stable wrt bug #615262
Package-Manager: Portage-2.3.5, Repoman-2.3.1
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
www-misc/shellinabox/shellinabox-2.20-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-misc/shellinabox/shellinabox-2.20-r1.ebuild b/www-misc/shellinabox/shellinabox-2.20-r1.ebuild
index 3b2007ddb5e..9067a99264f 100644
--- a/www-misc/shellinabox/shellinabox-2.20-r1.ebuild
+++ b/www-misc/shellinabox/shellinabox-2.20-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.zip -> ${P}.zip"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
IUSE="+pam"
DEPEND="
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/shellinabox/
@ 2017-05-18 15:22 Michael Weber
0 siblings, 0 replies; 26+ messages in thread
From: Michael Weber @ 2017-05-18 15:22 UTC (permalink / raw
To: gentoo-commits
commit: 5adbad894eaaf25d00f28359bf36a924a6497562
Author: Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Thu May 18 15:22:00 2017 +0000
Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Thu May 18 15:22:00 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5adbad89
www-misc/shellinabox: ppc ppc64 stable (bug 615262).
Package-Manager: Portage-2.3.5, Repoman-2.3.2
RepoMan-Options: --include-arches="ppc ppc64"
www-misc/shellinabox/shellinabox-2.20-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-misc/shellinabox/shellinabox-2.20-r1.ebuild b/www-misc/shellinabox/shellinabox-2.20-r1.ebuild
index 9067a99264f..fbad0c4928e 100644
--- a/www-misc/shellinabox/shellinabox-2.20-r1.ebuild
+++ b/www-misc/shellinabox/shellinabox-2.20-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.zip -> ${P}.zip"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ppc ppc64 ~x86"
IUSE="+pam"
DEPEND="
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/shellinabox/
@ 2017-05-20 10:14 Patrice Clement
0 siblings, 0 replies; 26+ messages in thread
From: Patrice Clement @ 2017-05-20 10:14 UTC (permalink / raw
To: gentoo-commits
commit: 7ce38b3824d8d1568d4d20bd0698072f0e7efb09
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Sat May 20 10:14:00 2017 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sat May 20 10:14:00 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ce38b38
www-misc/shellinabox: clean metadata.xml USE flags.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
www-misc/shellinabox/metadata.xml | 1 -
1 file changed, 1 deletion(-)
diff --git a/www-misc/shellinabox/metadata.xml b/www-misc/shellinabox/metadata.xml
index 3b6c5b6d9bd..1a5ec634fb6 100644
--- a/www-misc/shellinabox/metadata.xml
+++ b/www-misc/shellinabox/metadata.xml
@@ -10,7 +10,6 @@
<name>Gentoo Shell Tools Project</name>
</maintainer>
<use>
- <flag name="ssl">Enable SSL support.</flag>
<flag name="pam">Enable PAM support.</flag>
</use>
<upstream>
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/shellinabox/
@ 2017-05-20 10:14 Patrice Clement
0 siblings, 0 replies; 26+ messages in thread
From: Patrice Clement @ 2017-05-20 10:14 UTC (permalink / raw
To: gentoo-commits
commit: 1f275dd8b8c61e462cc86ac787bf554eefad8e31
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Sat May 20 10:12:58 2017 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sat May 20 10:12:58 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f275dd8
www-misc/shellinabox: clean up old.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
www-misc/shellinabox/Manifest | 1 -
www-misc/shellinabox/shellinabox-2.19-r1.ebuild | 110 -----------------------
www-misc/shellinabox/shellinabox-2.19.ebuild | 107 -----------------------
www-misc/shellinabox/shellinabox-2.20.ebuild | 111 ------------------------
4 files changed, 329 deletions(-)
diff --git a/www-misc/shellinabox/Manifest b/www-misc/shellinabox/Manifest
index 301b0eca588..17260b64a21 100644
--- a/www-misc/shellinabox/Manifest
+++ b/www-misc/shellinabox/Manifest
@@ -1,2 +1 @@
-DIST shellinabox-2.19.zip 790437 SHA256 1897ec000bb05f8ded07ffb3092c4b43232b8695d8a656985ccae45bebd922e9 SHA512 e6f09679282fd1f23abb272082ca9983df217ad017cad4fdb04d5fa4f93124bfea4b5f12cedb17571e56770ee8b0a4cca1492aff144df5458ed7c1a4ee6a1838 WHIRLPOOL b887101335a48789041574e948a67cf24dd9b269e68481861ff7f4c0ededb4bceae0cc36c11870675597b9c5f3be2d84d824a2c882515b719e4e244c2c93f711
DIST shellinabox-2.20.zip 792359 SHA256 2b79ed66e5d20a8a46f68d88ba3a74d5302ffe7e5eb048a46b92b268351419f4 SHA512 0537b6400cb7f4880c76cce270e5eefd6f536eae7e27b5f7b12de0465a1e354f7980bb2f67230237eda1f7945afb1d3bb18013106bf7c3a02e7974532f0d9190 WHIRLPOOL a41f1d4010b6fd5386a8e37d6106d774a4600ac43e4baa3efc7a3b3d0f4c22214f13c5eb3d821a7b169731115ea17c9c0f5a6ad762c9791658a5ad98983f1356
diff --git a/www-misc/shellinabox/shellinabox-2.19-r1.ebuild b/www-misc/shellinabox/shellinabox-2.19-r1.ebuild
deleted file mode 100644
index 6de080f360b..00000000000
--- a/www-misc/shellinabox/shellinabox-2.19-r1.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-AUTOTOOLS_AUTORECONF="yes"
-AUTOTOOLS_IN_SOURCE_BUILD="yes"
-
-inherit user autotools-utils systemd
-
-DESCRIPTION="Export command line tools to a web based terminal emulator"
-HOMEPAGE="https://github.com/shellinabox/shellinabox"
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.zip -> ${P}.zip"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="+ssl +pam"
-
-RDEPEND="${DEPEND}"
-DEPEND="${RDEPEND}
- ssl? ( dev-libs/openssl:0= )
- pam? ( virtual/pam )"
-
-SIAB_CERT_DIR="/etc/shellinabox/cert"
-SIAB_SSL_BASH="${SIAB_CERT_DIR}/gen_ssl_cert.bash"
-SIAB_DAEMON="${PN}d"
-
-shellinbox_gen_ssl_setup() {
- read -r -d '' SIAB_SSL_SETUP << EOF
-cd ${SIAB_CERT_DIR}
-openssl genrsa -des3 -out server.key 1024
-openssl req -new -key server.key -out server.csr
-cp server.key server.key.org
-openssl rsa -in server.key.org -out server.key
-openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
-cat server.crt server.key > certificate.pem
-EOF
-}
-
-pkg_setup() {
- enewgroup "${SIAB_DAEMON}"
- enewuser "${SIAB_DAEMON}" -1 -1 -1 "${SIAB_DAEMON}"
-}
-
-src_configure() {
- local myeconf="--disable-runtime-loading"
-
- econf \
- $(use_enable ssl) \
- $(use_enable pam) \
- "${myeconf}"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
-
- # make installs the binary in bin.
- rm -rf "${D}/usr/bin" || die
-
- # whereas it should put it in sbin.
- dosbin "${SIAB_DAEMON}"
-
- # Install init+conf files.
- newinitd "${FILESDIR}/${SIAB_DAEMON}.init" "${SIAB_DAEMON}"
- newconfd "${FILESDIR}/${SIAB_DAEMON}.conf" "${SIAB_DAEMON}"
-
- # Install systemd unit files
- systemd_dounit "${FILESDIR}"/shellinaboxd.service
-
- # Install CSS files.
- insinto "/usr/share/${PN}-resources"
- doins -r "${PN}"/*.css
-
- if use ssl; then
- # Create directory where SSL certificates will be generated.
- dodir "${SIAB_CERT_DIR}"
- fowners "${SIAB_DAEMON}:${SIAB_DAEMON}" "${SIAB_CERT_DIR}"
-
- # Generate set up variable.
- shellinbox_gen_ssl_setup
-
- # Dump it in a bash script.
- echo "#!/usr/bin/env bash" > "${D}/${SIAB_SSL_BASH}" || die
- echo "${SIAB_SSL_SETUP}" >> "${D}/${SIAB_SSL_BASH}" || die
- chmod +x "${D}/${SIAB_SSL_BASH}" || die
- fi
-}
-
-pkg_postinst() {
- ewarn
- ewarn "The default configuration exposes a login shell"
- ewarn "with SSL disabled on the localhost interface only."
- ewarn
-
- if use ssl; then
- shellinbox_gen_ssl_setup
-
- einfo
- einfo "To generate self-signed SSL certificates"
- einfo "please read the following procedure"
- einfo "explained here: https://code.google.com/p/shellinabox/issues/detail?id=59#c15"
- einfo
- einfo "${SIAB_SSL_SETUP}"
- einfo
- einfo "This walkthrough has been written in ${SIAB_SSL_BASH} for your convenience."
- einfo "Make sure to execute this script."
- einfo
- fi
-}
diff --git a/www-misc/shellinabox/shellinabox-2.19.ebuild b/www-misc/shellinabox/shellinabox-2.19.ebuild
deleted file mode 100644
index f234a9d84ca..00000000000
--- a/www-misc/shellinabox/shellinabox-2.19.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-AUTOTOOLS_AUTORECONF="yes"
-AUTOTOOLS_IN_SOURCE_BUILD="yes"
-
-inherit user autotools-utils
-
-DESCRIPTION="Web server that can export arbitrary command line tools to a web based terminal emulator"
-HOMEPAGE="https://github.com/shellinabox/shellinabox"
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.zip -> ${P}.zip"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc ppc64 x86"
-IUSE="+ssl +pam"
-
-RDEPEND="${DEPEND}"
-DEPEND="${RDEPEND}
- ssl? ( dev-libs/openssl:0= )
- pam? ( virtual/pam )"
-
-SIAB_CERT_DIR="/etc/shellinabox/cert"
-SIAB_SSL_BASH="${SIAB_CERT_DIR}/gen_ssl_cert.bash"
-SIAB_DAEMON="${PN}d"
-
-shellinbox_gen_ssl_setup() {
- read -r -d '' SIAB_SSL_SETUP << EOF
-cd ${SIAB_CERT_DIR}
-openssl genrsa -des3 -out server.key 1024
-openssl req -new -key server.key -out server.csr
-cp server.key server.key.org
-openssl rsa -in server.key.org -out server.key
-openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
-cat server.crt server.key > certificate.pem
-EOF
-}
-
-pkg_setup() {
- enewgroup "${SIAB_DAEMON}"
- enewuser "${SIAB_DAEMON}" -1 -1 -1 "${SIAB_DAEMON}"
-}
-
-src_configure() {
- local myeconf="--disable-runtime-loading"
-
- econf \
- $(use_enable ssl) \
- $(use_enable pam) \
- "${myeconf}"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
-
- # make installs the binary in bin.
- rm -rf "${D}/usr/bin" || die
-
- # whereas it should put it in sbin.
- dosbin "${SIAB_DAEMON}"
-
- # Install init+conf files.
- newinitd "${FILESDIR}/${SIAB_DAEMON}.init" "${SIAB_DAEMON}"
- newconfd "${FILESDIR}/${SIAB_DAEMON}.conf" "${SIAB_DAEMON}"
-
- # Install CSS files.
- insinto "/usr/share/${PN}-resources"
- doins -r "${PN}"/*.css
-
- if use ssl; then
- # Create directory where SSL certificates will be generated.
- dodir "${SIAB_CERT_DIR}"
- fowners "${SIAB_DAEMON}:${SIAB_DAEMON}" "${SIAB_CERT_DIR}"
-
- # Generate set up variable.
- shellinbox_gen_ssl_setup
-
- # Dump it in a bash script.
- echo "#!/usr/bin/env bash" > "${D}/${SIAB_SSL_BASH}" ||die
- echo "${SIAB_SSL_SETUP}" >> "${D}/${SIAB_SSL_BASH}" || die
- chmod +x "${D}/${SIAB_SSL_BASH}" || die
- fi
-}
-
-pkg_postinst() {
- ewarn
- ewarn "The default configuration expose a login shell"
- ewarn "with SSL disabled on the localhost interface only."
- ewarn
-
- if use ssl; then
- shellinbox_gen_ssl_setup
-
- einfo
- einfo "To generate self-signed SSL certificates"
- einfo "please read the following procedure"
- einfo "explained here: https://code.google.com/p/shellinabox/issues/detail?id=59#c15"
- einfo
- einfo "${SIAB_SSL_SETUP}"
- einfo
- einfo "This walkthrough has been written in ${SIAB_SSL_BASH} for your convenience."
- einfo "Make sure to execute this script."
- einfo
- fi
-}
diff --git a/www-misc/shellinabox/shellinabox-2.20.ebuild b/www-misc/shellinabox/shellinabox-2.20.ebuild
deleted file mode 100644
index 977b1a23d36..00000000000
--- a/www-misc/shellinabox/shellinabox-2.20.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-AUTOTOOLS_AUTORECONF="yes"
-AUTOTOOLS_IN_SOURCE_BUILD="yes"
-
-inherit user autotools-utils systemd
-
-DESCRIPTION="Export command line tools to a web based terminal emulator"
-HOMEPAGE="https://github.com/shellinabox/shellinabox"
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.zip -> ${P}.zip"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="+ssl +pam"
-
-RDEPEND="${DEPEND}"
-DEPEND="
- ${RDEPEND}
- ssl? ( dev-libs/openssl:0= )
- pam? ( virtual/pam )"
-
-SIAB_CERT_DIR="/etc/shellinabox/cert"
-SIAB_SSL_BASH="${SIAB_CERT_DIR}/gen_ssl_cert.bash"
-SIAB_DAEMON="${PN}d"
-
-shellinbox_gen_ssl_setup() {
- read -r -d '' SIAB_SSL_SETUP << EOF
-cd ${SIAB_CERT_DIR}
-openssl genrsa -des3 -out server.key 1024
-openssl req -new -key server.key -out server.csr
-cp server.key server.key.org
-openssl rsa -in server.key.org -out server.key
-openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
-cat server.crt server.key > certificate.pem
-EOF
-}
-
-pkg_setup() {
- enewgroup "${SIAB_DAEMON}"
- enewuser "${SIAB_DAEMON}" -1 -1 -1 "${SIAB_DAEMON}"
-}
-
-src_configure() {
- local myeconf="--disable-runtime-loading"
-
- econf \
- $(use_enable ssl) \
- $(use_enable pam) \
- "${myeconf}"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
-
- # make installs the binary in bin.
- rm -rf "${D}/usr/bin" || die
-
- # whereas it should put it in sbin.
- dosbin "${SIAB_DAEMON}"
-
- # Install init+conf files.
- newinitd "${FILESDIR}/${SIAB_DAEMON}.init" "${SIAB_DAEMON}"
- newconfd "${FILESDIR}/${SIAB_DAEMON}.conf" "${SIAB_DAEMON}"
-
- # Install systemd unit files
- systemd_dounit "${FILESDIR}"/shellinaboxd.service
-
- # Install CSS files.
- insinto "/usr/share/${PN}-resources"
- doins -r "${PN}"/*.css
-
- if use ssl; then
- # Create directory where SSL certificates will be generated.
- dodir "${SIAB_CERT_DIR}"
- fowners "${SIAB_DAEMON}:${SIAB_DAEMON}" "${SIAB_CERT_DIR}"
-
- # Generate set up variable.
- shellinbox_gen_ssl_setup
-
- # Dump it in a bash script.
- echo "#!/usr/bin/env bash" > "${D}/${SIAB_SSL_BASH}" || die
- echo "${SIAB_SSL_SETUP}" >> "${D}/${SIAB_SSL_BASH}" || die
- chmod +x "${D}/${SIAB_SSL_BASH}" || die
- fi
-}
-
-pkg_postinst() {
- ewarn
- ewarn "The default configuration exposes a login shell"
- ewarn "with SSL disabled on the localhost interface only."
- ewarn
-
- if use ssl; then
- shellinbox_gen_ssl_setup
-
- einfo
- einfo "To generate self-signed SSL certificates"
- einfo "please read the following procedure"
- einfo "explained here: https://code.google.com/p/shellinabox/issues/detail?id=59#c15"
- einfo
- einfo "${SIAB_SSL_SETUP}"
- einfo
- einfo "This walkthrough has been written in ${SIAB_SSL_BASH} for your convenience."
- einfo "Make sure to execute this script."
- einfo
- fi
-}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/shellinabox/
@ 2017-05-20 13:38 Patrice Clement
0 siblings, 0 replies; 26+ messages in thread
From: Patrice Clement @ 2017-05-20 13:38 UTC (permalink / raw
To: gentoo-commits
commit: f80c51a8c655f0f0b0790c1335f9f34ab3b83fc4
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Sat May 20 13:37:49 2017 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sat May 20 13:38:03 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f80c51a8
www-misc/shellinabox: myeconf is an array.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
www-misc/shellinabox/shellinabox-2.20-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-misc/shellinabox/shellinabox-2.20-r1.ebuild b/www-misc/shellinabox/shellinabox-2.20-r1.ebuild
index dd634bd7e4f..11203d1d18c 100644
--- a/www-misc/shellinabox/shellinabox-2.20-r1.ebuild
+++ b/www-misc/shellinabox/shellinabox-2.20-r1.ebuild
@@ -50,7 +50,7 @@ src_configure() {
econf \
$(use_enable pam) \
- "${myeconf}"
+ "${myeconf[@]}"
}
src_install() {
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/shellinabox/
@ 2019-10-12 21:37 Mikle Kolyada
0 siblings, 0 replies; 26+ messages in thread
From: Mikle Kolyada @ 2019-10-12 21:37 UTC (permalink / raw
To: gentoo-commits
commit: af23504cb7833c9d099d227f6c153ab3f3b3b63b
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 12 21:37:31 2019 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sat Oct 12 21:37:31 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af23504c
www-misc/shellinabox: migrate to sys-libs/pam
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
www-misc/shellinabox/shellinabox-2.20-r1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/www-misc/shellinabox/shellinabox-2.20-r1.ebuild b/www-misc/shellinabox/shellinabox-2.20-r1.ebuild
index 11203d1d18c..402d2b3c081 100644
--- a/www-misc/shellinabox/shellinabox-2.20-r1.ebuild
+++ b/www-misc/shellinabox/shellinabox-2.20-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -19,7 +19,7 @@ IUSE="+pam"
DEPEND="
dev-libs/openssl:0=
- pam? ( virtual/pam )"
+ pam? ( sys-libs/pam )"
SIAB_CERT_DIR="/etc/shellinabox/cert"
SIAB_SSL_BASH="${SIAB_CERT_DIR}/gen_ssl_cert.bash"
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/shellinabox/
@ 2019-12-11 20:40 Patrice Clement
0 siblings, 0 replies; 26+ messages in thread
From: Patrice Clement @ 2019-12-11 20:40 UTC (permalink / raw
To: gentoo-commits
commit: 6572300f56ea77b1d4b58f609460733976b7e444
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 11 20:39:30 2019 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Dec 11 20:39:57 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6572300f
www-misc/shellinabox: EAPI 6 bump.
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
www-misc/shellinabox/shellinabox-2.20-r2.ebuild | 109 ++++++++++++++++++++++++
1 file changed, 109 insertions(+)
diff --git a/www-misc/shellinabox/shellinabox-2.20-r2.ebuild b/www-misc/shellinabox/shellinabox-2.20-r2.ebuild
new file mode 100644
index 00000000000..f92e89f9f22
--- /dev/null
+++ b/www-misc/shellinabox/shellinabox-2.20-r2.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit user autotools systemd
+
+DESCRIPTION="Export command line tools to a web based terminal emulator"
+HOMEPAGE="https://github.com/shellinabox/shellinabox"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.zip -> ${P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="+pam"
+
+DEPEND="
+ dev-libs/openssl:0=
+ pam? ( sys-libs/pam )"
+
+SIAB_CERT_DIR="/etc/shellinabox/cert"
+SIAB_SSL_BASH="${SIAB_CERT_DIR}/gen_ssl_cert.bash"
+SIAB_DAEMON="${PN}d"
+
+shellinbox_gen_ssl_setup() {
+ read -r -d '' SIAB_SSL_SETUP << EOF
+cd ${SIAB_CERT_DIR}
+openssl genrsa -des3 -out server.key 1024
+openssl req -new -key server.key -out server.csr
+cp server.key server.key.org
+openssl rsa -in server.key.org -out server.key
+openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
+cat server.crt server.key > certificate.pem
+EOF
+}
+
+pkg_setup() {
+ enewgroup "${SIAB_DAEMON}"
+ enewuser "${SIAB_DAEMON}" -1 -1 -1 "${SIAB_DAEMON}"
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconf=(
+ --disable-runtime-loading
+ --enable-ssl
+ )
+
+ econf \
+ $(use_enable pam) \
+ "${myeconf[@]}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ # make installs the binary in bin...
+ rm -rf "${D}/usr/bin" || die
+
+ # ... whereas it should put it in sbin.
+ dosbin "${SIAB_DAEMON}"
+
+ # Install init+conf files.
+ newinitd "${FILESDIR}/${SIAB_DAEMON}.init" "${SIAB_DAEMON}"
+ newconfd "${FILESDIR}/${SIAB_DAEMON}.conf" "${SIAB_DAEMON}"
+
+ # Install systemd unit file.
+ systemd_dounit "${FILESDIR}"/shellinaboxd.service
+
+ # Install CSS files.
+ insinto "/usr/share/${PN}-resources"
+ doins -r "${PN}"/*.css
+
+ # Create directory where SSL certificates will be generated.
+ dodir "${SIAB_CERT_DIR}"
+ fowners "${SIAB_DAEMON}:${SIAB_DAEMON}" "${SIAB_CERT_DIR}"
+
+ # Generate set up variable.
+ shellinbox_gen_ssl_setup
+
+ # Dump it in a bash script.
+ echo "#!/usr/bin/env bash" > "${D}/${SIAB_SSL_BASH}" || die
+ echo "${SIAB_SSL_SETUP}" >> "${D}/${SIAB_SSL_BASH}" || die
+ chmod +x "${D}/${SIAB_SSL_BASH}" || die
+}
+
+pkg_postinst() {
+ ewarn
+ ewarn "The default configuration exposes a login shell"
+ ewarn "with SSL disabled on the localhost interface only."
+ ewarn
+
+ shellinbox_gen_ssl_setup
+
+ einfo
+ einfo "To generate self-signed SSL certificates"
+ einfo "please read the procedure explained here:"
+ einfo "https://code.google.com/p/shellinabox/issues/detail?id=59#c15"
+ einfo
+ einfo "${SIAB_SSL_SETUP}"
+ einfo
+ einfo "This walkthrough has been written in ${SIAB_SSL_BASH} for your convenience."
+ einfo "Make sure to execute this script."
+ einfo
+}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/shellinabox/
@ 2019-12-12 9:11 Patrice Clement
0 siblings, 0 replies; 26+ messages in thread
From: Patrice Clement @ 2019-12-12 9:11 UTC (permalink / raw
To: gentoo-commits
commit: 3a50993b17a34692435633a91980b0e318558e10
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 12 09:10:23 2019 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Thu Dec 12 09:11:40 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a50993b
www-misc/shellinabox: EAPI 7 bump.
Whilst at it:
* move account management to GLEP 81.
* fetch tarballs instead of zip archives.
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
www-misc/shellinabox/Manifest | 1 +
www-misc/shellinabox/shellinabox-2.20-r3.ebuild | 108 ++++++++++++++++++++++++
2 files changed, 109 insertions(+)
diff --git a/www-misc/shellinabox/Manifest b/www-misc/shellinabox/Manifest
index fbe557471a9..6d54fe277e4 100644
--- a/www-misc/shellinabox/Manifest
+++ b/www-misc/shellinabox/Manifest
@@ -1 +1,2 @@
+DIST shellinabox-2.20.tar.gz 745920 BLAKE2B 34d360d2e4f0474f64490894f4ba9b9457ca7915156fc3364e874c89d9792ec52c8e756d5f356da6f680425fcc4cf9c9025a47d56cb0b0671a2749f0ba90d5b9 SHA512 369fb6e0041fc3eb52a533f14d1f856a71ec1bf166441e25a5d61bb129f2db5de6b61205ddd0cb08d53384baaf4e087bd2c549f7919b96ee465d4cc3318d2237
DIST shellinabox-2.20.zip 792359 BLAKE2B fd6ebde4d9f81314dd439126ad9ed6759556268c4af6dbe2094fb7aaef3956e8c484deb8c3b43a485bc28cf3a2c0105bee0f8b5c2efba1d3d7f0c0b6b3f6867a SHA512 0537b6400cb7f4880c76cce270e5eefd6f536eae7e27b5f7b12de0465a1e354f7980bb2f67230237eda1f7945afb1d3bb18013106bf7c3a02e7974532f0d9190
diff --git a/www-misc/shellinabox/shellinabox-2.20-r3.ebuild b/www-misc/shellinabox/shellinabox-2.20-r3.ebuild
new file mode 100644
index 00000000000..dd3929f75bf
--- /dev/null
+++ b/www-misc/shellinabox/shellinabox-2.20-r3.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools systemd
+
+DESCRIPTION="Export command line tools to a web based terminal emulator"
+HOMEPAGE="https://github.com/shellinabox/shellinabox"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="+pam"
+
+RDEPEND="
+ acct-user/shellinaboxd
+ acct-group/shellinaboxd"
+
+DEPEND="
+ ${RDEPEND}
+ dev-libs/openssl:0=
+ pam? ( sys-libs/pam )"
+
+SIAB_CERT_DIR="/etc/shellinabox/cert"
+SIAB_SSL_BASH="${SIAB_CERT_DIR}/gen_ssl_cert.bash"
+SIAB_DAEMON="${PN}d"
+
+shellinbox_gen_ssl_setup() {
+ read -r -d '' SIAB_SSL_SETUP << EOF
+cd ${SIAB_CERT_DIR}
+openssl genrsa -des3 -out server.key 1024
+openssl req -new -key server.key -out server.csr
+cp server.key server.key.org
+openssl rsa -in server.key.org -out server.key
+openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
+cat server.crt server.key > certificate.pem
+EOF
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconf=(
+ --disable-runtime-loading
+ --enable-ssl
+ )
+
+ econf \
+ $(use_enable pam) \
+ "${myeconf[@]}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ # make installs the binary in bin...
+ rm -rf "${D}/usr/bin" || die
+
+ # ... whereas it should put it in sbin.
+ dosbin "${SIAB_DAEMON}"
+
+ # Install init+conf files.
+ newinitd "${FILESDIR}/${SIAB_DAEMON}.init" "${SIAB_DAEMON}"
+ newconfd "${FILESDIR}/${SIAB_DAEMON}.conf" "${SIAB_DAEMON}"
+
+ # Install systemd unit file.
+ systemd_dounit "${FILESDIR}"/shellinaboxd.service
+
+ # Install CSS files.
+ insinto "/usr/share/${PN}-resources"
+ doins -r "${PN}"/*.css
+
+ # Create directory where SSL certificates will be generated.
+ dodir "${SIAB_CERT_DIR}"
+
+ # Generate set up variable.
+ shellinbox_gen_ssl_setup
+
+ # Dump it in a bash script.
+ echo "#!/usr/bin/env bash" > "${D}/${SIAB_SSL_BASH}" || die
+ echo "${SIAB_SSL_SETUP}" >> "${D}/${SIAB_SSL_BASH}" || die
+ chmod +x "${D}/${SIAB_SSL_BASH}" || die
+}
+
+pkg_postinst() {
+ ewarn
+ ewarn "The default configuration exposes a login shell"
+ ewarn "with SSL disabled on the localhost interface only."
+ ewarn
+
+ shellinbox_gen_ssl_setup
+
+ einfo
+ einfo "To generate self-signed SSL certificates"
+ einfo "please read the procedure explained here:"
+ einfo "https://code.google.com/p/shellinabox/issues/detail?id=59#c15"
+ einfo
+ einfo "${SIAB_SSL_SETUP}"
+ einfo
+ einfo "This walkthrough has been written in ${SIAB_SSL_BASH} for your convenience."
+ einfo "Make sure to execute this script."
+ einfo
+}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/shellinabox/
@ 2019-12-12 12:53 Patrice Clement
0 siblings, 0 replies; 26+ messages in thread
From: Patrice Clement @ 2019-12-12 12:53 UTC (permalink / raw
To: gentoo-commits
commit: a2d3e6b83e4dea7e98b440a877f08033940e2d58
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 12 12:47:11 2019 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Thu Dec 12 12:53:10 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2d3e6b8
www-misc/shellinabox: remove user/group management through acct-* ebuilds.
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
www-misc/shellinabox/shellinabox-2.20-r3.ebuild | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/www-misc/shellinabox/shellinabox-2.20-r3.ebuild b/www-misc/shellinabox/shellinabox-2.20-r3.ebuild
index dd3929f75bf..4ddaef132e0 100644
--- a/www-misc/shellinabox/shellinabox-2.20-r3.ebuild
+++ b/www-misc/shellinabox/shellinabox-2.20-r3.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit autotools systemd
+inherit user autotools systemd
DESCRIPTION="Export command line tools to a web based terminal emulator"
HOMEPAGE="https://github.com/shellinabox/shellinabox"
@@ -14,12 +14,7 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="+pam"
-RDEPEND="
- acct-user/shellinaboxd
- acct-group/shellinaboxd"
-
DEPEND="
- ${RDEPEND}
dev-libs/openssl:0=
pam? ( sys-libs/pam )"
@@ -39,6 +34,11 @@ cat server.crt server.key > certificate.pem
EOF
}
+pkg_setup() {
+ enewgroup "${SIAB_DAEMON}"
+ enewuser "${SIAB_DAEMON}" -1 -1 -1 "${SIAB_DAEMON}"
+}
+
src_prepare() {
default
eautoreconf
@@ -77,6 +77,7 @@ src_install() {
# Create directory where SSL certificates will be generated.
dodir "${SIAB_CERT_DIR}"
+ fowners "${SIAB_DAEMON}:${SIAB_DAEMON}" "${SIAB_CERT_DIR}"
# Generate set up variable.
shellinbox_gen_ssl_setup
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/shellinabox/
@ 2019-12-22 4:48 Craig Andrews
0 siblings, 0 replies; 26+ messages in thread
From: Craig Andrews @ 2019-12-22 4:48 UTC (permalink / raw
To: gentoo-commits
commit: da418d0d9abe70ba56806ee12e057b390ef5a81a
Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 18 21:58:54 2019 +0000
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Sun Dec 22 04:47:55 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da418d0d
www-misc/shellinabox: GLEP 81 user/group management
Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
www-misc/shellinabox/shellinabox-2.20-r4.ebuild | 108 ++++++++++++++++++++++++
1 file changed, 108 insertions(+)
diff --git a/www-misc/shellinabox/shellinabox-2.20-r4.ebuild b/www-misc/shellinabox/shellinabox-2.20-r4.ebuild
new file mode 100644
index 00000000000..dd3929f75bf
--- /dev/null
+++ b/www-misc/shellinabox/shellinabox-2.20-r4.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools systemd
+
+DESCRIPTION="Export command line tools to a web based terminal emulator"
+HOMEPAGE="https://github.com/shellinabox/shellinabox"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="+pam"
+
+RDEPEND="
+ acct-user/shellinaboxd
+ acct-group/shellinaboxd"
+
+DEPEND="
+ ${RDEPEND}
+ dev-libs/openssl:0=
+ pam? ( sys-libs/pam )"
+
+SIAB_CERT_DIR="/etc/shellinabox/cert"
+SIAB_SSL_BASH="${SIAB_CERT_DIR}/gen_ssl_cert.bash"
+SIAB_DAEMON="${PN}d"
+
+shellinbox_gen_ssl_setup() {
+ read -r -d '' SIAB_SSL_SETUP << EOF
+cd ${SIAB_CERT_DIR}
+openssl genrsa -des3 -out server.key 1024
+openssl req -new -key server.key -out server.csr
+cp server.key server.key.org
+openssl rsa -in server.key.org -out server.key
+openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
+cat server.crt server.key > certificate.pem
+EOF
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconf=(
+ --disable-runtime-loading
+ --enable-ssl
+ )
+
+ econf \
+ $(use_enable pam) \
+ "${myeconf[@]}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ # make installs the binary in bin...
+ rm -rf "${D}/usr/bin" || die
+
+ # ... whereas it should put it in sbin.
+ dosbin "${SIAB_DAEMON}"
+
+ # Install init+conf files.
+ newinitd "${FILESDIR}/${SIAB_DAEMON}.init" "${SIAB_DAEMON}"
+ newconfd "${FILESDIR}/${SIAB_DAEMON}.conf" "${SIAB_DAEMON}"
+
+ # Install systemd unit file.
+ systemd_dounit "${FILESDIR}"/shellinaboxd.service
+
+ # Install CSS files.
+ insinto "/usr/share/${PN}-resources"
+ doins -r "${PN}"/*.css
+
+ # Create directory where SSL certificates will be generated.
+ dodir "${SIAB_CERT_DIR}"
+
+ # Generate set up variable.
+ shellinbox_gen_ssl_setup
+
+ # Dump it in a bash script.
+ echo "#!/usr/bin/env bash" > "${D}/${SIAB_SSL_BASH}" || die
+ echo "${SIAB_SSL_SETUP}" >> "${D}/${SIAB_SSL_BASH}" || die
+ chmod +x "${D}/${SIAB_SSL_BASH}" || die
+}
+
+pkg_postinst() {
+ ewarn
+ ewarn "The default configuration exposes a login shell"
+ ewarn "with SSL disabled on the localhost interface only."
+ ewarn
+
+ shellinbox_gen_ssl_setup
+
+ einfo
+ einfo "To generate self-signed SSL certificates"
+ einfo "please read the procedure explained here:"
+ einfo "https://code.google.com/p/shellinabox/issues/detail?id=59#c15"
+ einfo
+ einfo "${SIAB_SSL_SETUP}"
+ einfo
+ einfo "This walkthrough has been written in ${SIAB_SSL_BASH} for your convenience."
+ einfo "Make sure to execute this script."
+ einfo
+}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/shellinabox/
@ 2020-02-29 14:44 Mikle Kolyada
0 siblings, 0 replies; 26+ messages in thread
From: Mikle Kolyada @ 2020-02-29 14:44 UTC (permalink / raw
To: gentoo-commits
commit: a5eb779b7a03791307ee8dab54a90e0f030647e6
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 29 14:42:18 2020 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sat Feb 29 14:43:55 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5eb779b
www-misc/shellinabox: drop pam USE description
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
www-misc/shellinabox/metadata.xml | 3 ---
1 file changed, 3 deletions(-)
diff --git a/www-misc/shellinabox/metadata.xml b/www-misc/shellinabox/metadata.xml
index 1a5ec634fb6..0f746a67cd9 100644
--- a/www-misc/shellinabox/metadata.xml
+++ b/www-misc/shellinabox/metadata.xml
@@ -9,9 +9,6 @@
<email>shell-tools@gentoo.org</email>
<name>Gentoo Shell Tools Project</name>
</maintainer>
- <use>
- <flag name="pam">Enable PAM support.</flag>
- </use>
<upstream>
<remote-id type="github">shellinabox/shellinabox</remote-id>
</upstream>
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/shellinabox/
@ 2020-07-23 14:18 Sam James
0 siblings, 0 replies; 26+ messages in thread
From: Sam James @ 2020-07-23 14:18 UTC (permalink / raw
To: gentoo-commits
commit: 2896c26bb759630c5e7e6a8961b90f8ee7b06bf7
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 23 14:17:28 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jul 23 14:18:06 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2896c26b
www-misc/shellinabox: amd64 stable (bug #733488)
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Sam James <sam <AT> gentoo.org>
www-misc/shellinabox/shellinabox-2.20-r4.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/www-misc/shellinabox/shellinabox-2.20-r4.ebuild b/www-misc/shellinabox/shellinabox-2.20-r4.ebuild
index dd3929f75bf..41d6fcc02ec 100644
--- a/www-misc/shellinabox/shellinabox-2.20-r4.ebuild
+++ b/www-misc/shellinabox/shellinabox-2.20-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
IUSE="+pam"
RDEPEND="
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/shellinabox/
@ 2020-07-29 23:41 Sam James
0 siblings, 0 replies; 26+ messages in thread
From: Sam James @ 2020-07-29 23:41 UTC (permalink / raw
To: gentoo-commits
commit: aaefabebe8d67f6fa284e8dbe802f731b37d78b7
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 29 23:40:19 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jul 29 23:40:19 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aaefabeb
www-misc/shellinabox: ppc stable (bug #733488)
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Sam James <sam <AT> gentoo.org>
www-misc/shellinabox/shellinabox-2.20-r4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-misc/shellinabox/shellinabox-2.20-r4.ebuild b/www-misc/shellinabox/shellinabox-2.20-r4.ebuild
index 41d6fcc02ec..31b346de315 100644
--- a/www-misc/shellinabox/shellinabox-2.20-r4.ebuild
+++ b/www-misc/shellinabox/shellinabox-2.20-r4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ppc ~ppc64 ~x86"
IUSE="+pam"
RDEPEND="
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/shellinabox/
@ 2020-07-31 4:00 Sam James
0 siblings, 0 replies; 26+ messages in thread
From: Sam James @ 2020-07-31 4:00 UTC (permalink / raw
To: gentoo-commits
commit: b56d72b1a33034be14e23854374fd236f31f8136
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 31 03:59:54 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 31 03:59:54 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b56d72b1
www-misc/shellinabox: ppc64 stable (bug #733488)
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Sam James <sam <AT> gentoo.org>
www-misc/shellinabox/shellinabox-2.20-r4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-misc/shellinabox/shellinabox-2.20-r4.ebuild b/www-misc/shellinabox/shellinabox-2.20-r4.ebuild
index 31b346de315..e16d94baee7 100644
--- a/www-misc/shellinabox/shellinabox-2.20-r4.ebuild
+++ b/www-misc/shellinabox/shellinabox-2.20-r4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ppc ppc64 ~x86"
IUSE="+pam"
RDEPEND="
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/shellinabox/
@ 2020-08-05 15:14 Patrice Clement
0 siblings, 0 replies; 26+ messages in thread
From: Patrice Clement @ 2020-08-05 15:14 UTC (permalink / raw
To: gentoo-commits
commit: eae61794b46636c1e3aac5d7bb1542f8c6c895b8
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 5 15:14:40 2020 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Aug 5 15:14:46 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eae61794
www-misc/shellinabox: clean up old.
Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
www-misc/shellinabox/Manifest | 1 -
www-misc/shellinabox/shellinabox-2.20-r1.ebuild | 107 -----------------------
www-misc/shellinabox/shellinabox-2.20-r2.ebuild | 109 ------------------------
www-misc/shellinabox/shellinabox-2.20-r3.ebuild | 109 ------------------------
4 files changed, 326 deletions(-)
diff --git a/www-misc/shellinabox/Manifest b/www-misc/shellinabox/Manifest
index 6d54fe277e4..5f04dbaa704 100644
--- a/www-misc/shellinabox/Manifest
+++ b/www-misc/shellinabox/Manifest
@@ -1,2 +1 @@
DIST shellinabox-2.20.tar.gz 745920 BLAKE2B 34d360d2e4f0474f64490894f4ba9b9457ca7915156fc3364e874c89d9792ec52c8e756d5f356da6f680425fcc4cf9c9025a47d56cb0b0671a2749f0ba90d5b9 SHA512 369fb6e0041fc3eb52a533f14d1f856a71ec1bf166441e25a5d61bb129f2db5de6b61205ddd0cb08d53384baaf4e087bd2c549f7919b96ee465d4cc3318d2237
-DIST shellinabox-2.20.zip 792359 BLAKE2B fd6ebde4d9f81314dd439126ad9ed6759556268c4af6dbe2094fb7aaef3956e8c484deb8c3b43a485bc28cf3a2c0105bee0f8b5c2efba1d3d7f0c0b6b3f6867a SHA512 0537b6400cb7f4880c76cce270e5eefd6f536eae7e27b5f7b12de0465a1e354f7980bb2f67230237eda1f7945afb1d3bb18013106bf7c3a02e7974532f0d9190
diff --git a/www-misc/shellinabox/shellinabox-2.20-r1.ebuild b/www-misc/shellinabox/shellinabox-2.20-r1.ebuild
deleted file mode 100644
index 0fd76e1f2e6..00000000000
--- a/www-misc/shellinabox/shellinabox-2.20-r1.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-AUTOTOOLS_AUTORECONF="yes"
-AUTOTOOLS_IN_SOURCE_BUILD="yes"
-
-inherit user autotools-utils systemd
-
-DESCRIPTION="Export command line tools to a web based terminal emulator"
-HOMEPAGE="https://github.com/shellinabox/shellinabox"
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.zip -> ${P}.zip"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc ppc64 x86"
-IUSE="+pam"
-
-DEPEND="
- dev-libs/openssl:0=
- pam? ( sys-libs/pam )"
-
-SIAB_CERT_DIR="/etc/shellinabox/cert"
-SIAB_SSL_BASH="${SIAB_CERT_DIR}/gen_ssl_cert.bash"
-SIAB_DAEMON="${PN}d"
-
-shellinbox_gen_ssl_setup() {
- read -r -d '' SIAB_SSL_SETUP << EOF
-cd ${SIAB_CERT_DIR}
-openssl genrsa -des3 -out server.key 1024
-openssl req -new -key server.key -out server.csr
-cp server.key server.key.org
-openssl rsa -in server.key.org -out server.key
-openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
-cat server.crt server.key > certificate.pem
-EOF
-}
-
-pkg_setup() {
- enewgroup "${SIAB_DAEMON}"
- enewuser "${SIAB_DAEMON}" -1 -1 -1 "${SIAB_DAEMON}"
-}
-
-src_configure() {
- local myeconf=(
- --disable-runtime-loading
- --enable-ssl
- )
-
- econf \
- $(use_enable pam) \
- "${myeconf[@]}"
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- # make installs the binary in bin...
- rm -rf "${D}/usr/bin" || die
-
- # ... whereas it should put it in sbin.
- dosbin "${SIAB_DAEMON}"
-
- # Install init+conf files.
- newinitd "${FILESDIR}/${SIAB_DAEMON}.init" "${SIAB_DAEMON}"
- newconfd "${FILESDIR}/${SIAB_DAEMON}.conf" "${SIAB_DAEMON}"
-
- # Install systemd unit file.
- systemd_dounit "${FILESDIR}"/shellinaboxd.service
-
- # Install CSS files.
- insinto "/usr/share/${PN}-resources"
- doins -r "${PN}"/*.css
-
- # Create directory where SSL certificates will be generated.
- dodir "${SIAB_CERT_DIR}"
- fowners "${SIAB_DAEMON}:${SIAB_DAEMON}" "${SIAB_CERT_DIR}"
-
- # Generate set up variable.
- shellinbox_gen_ssl_setup
-
- # Dump it in a bash script.
- echo "#!/usr/bin/env bash" > "${D}/${SIAB_SSL_BASH}" || die
- echo "${SIAB_SSL_SETUP}" >> "${D}/${SIAB_SSL_BASH}" || die
- chmod +x "${D}/${SIAB_SSL_BASH}" || die
-}
-
-pkg_postinst() {
- ewarn
- ewarn "The default configuration exposes a login shell"
- ewarn "with SSL disabled on the localhost interface only."
- ewarn
-
- shellinbox_gen_ssl_setup
-
- einfo
- einfo "To generate self-signed SSL certificates"
- einfo "please read the procedure explained here:"
- einfo "https://code.google.com/p/shellinabox/issues/detail?id=59#c15"
- einfo
- einfo "${SIAB_SSL_SETUP}"
- einfo
- einfo "This walkthrough has been written in ${SIAB_SSL_BASH} for your convenience."
- einfo "Make sure to execute this script."
- einfo
-}
diff --git a/www-misc/shellinabox/shellinabox-2.20-r2.ebuild b/www-misc/shellinabox/shellinabox-2.20-r2.ebuild
deleted file mode 100644
index f92e89f9f22..00000000000
--- a/www-misc/shellinabox/shellinabox-2.20-r2.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit user autotools systemd
-
-DESCRIPTION="Export command line tools to a web based terminal emulator"
-HOMEPAGE="https://github.com/shellinabox/shellinabox"
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.zip -> ${P}.zip"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="+pam"
-
-DEPEND="
- dev-libs/openssl:0=
- pam? ( sys-libs/pam )"
-
-SIAB_CERT_DIR="/etc/shellinabox/cert"
-SIAB_SSL_BASH="${SIAB_CERT_DIR}/gen_ssl_cert.bash"
-SIAB_DAEMON="${PN}d"
-
-shellinbox_gen_ssl_setup() {
- read -r -d '' SIAB_SSL_SETUP << EOF
-cd ${SIAB_CERT_DIR}
-openssl genrsa -des3 -out server.key 1024
-openssl req -new -key server.key -out server.csr
-cp server.key server.key.org
-openssl rsa -in server.key.org -out server.key
-openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
-cat server.crt server.key > certificate.pem
-EOF
-}
-
-pkg_setup() {
- enewgroup "${SIAB_DAEMON}"
- enewuser "${SIAB_DAEMON}" -1 -1 -1 "${SIAB_DAEMON}"
-}
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- local myeconf=(
- --disable-runtime-loading
- --enable-ssl
- )
-
- econf \
- $(use_enable pam) \
- "${myeconf[@]}"
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- # make installs the binary in bin...
- rm -rf "${D}/usr/bin" || die
-
- # ... whereas it should put it in sbin.
- dosbin "${SIAB_DAEMON}"
-
- # Install init+conf files.
- newinitd "${FILESDIR}/${SIAB_DAEMON}.init" "${SIAB_DAEMON}"
- newconfd "${FILESDIR}/${SIAB_DAEMON}.conf" "${SIAB_DAEMON}"
-
- # Install systemd unit file.
- systemd_dounit "${FILESDIR}"/shellinaboxd.service
-
- # Install CSS files.
- insinto "/usr/share/${PN}-resources"
- doins -r "${PN}"/*.css
-
- # Create directory where SSL certificates will be generated.
- dodir "${SIAB_CERT_DIR}"
- fowners "${SIAB_DAEMON}:${SIAB_DAEMON}" "${SIAB_CERT_DIR}"
-
- # Generate set up variable.
- shellinbox_gen_ssl_setup
-
- # Dump it in a bash script.
- echo "#!/usr/bin/env bash" > "${D}/${SIAB_SSL_BASH}" || die
- echo "${SIAB_SSL_SETUP}" >> "${D}/${SIAB_SSL_BASH}" || die
- chmod +x "${D}/${SIAB_SSL_BASH}" || die
-}
-
-pkg_postinst() {
- ewarn
- ewarn "The default configuration exposes a login shell"
- ewarn "with SSL disabled on the localhost interface only."
- ewarn
-
- shellinbox_gen_ssl_setup
-
- einfo
- einfo "To generate self-signed SSL certificates"
- einfo "please read the procedure explained here:"
- einfo "https://code.google.com/p/shellinabox/issues/detail?id=59#c15"
- einfo
- einfo "${SIAB_SSL_SETUP}"
- einfo
- einfo "This walkthrough has been written in ${SIAB_SSL_BASH} for your convenience."
- einfo "Make sure to execute this script."
- einfo
-}
diff --git a/www-misc/shellinabox/shellinabox-2.20-r3.ebuild b/www-misc/shellinabox/shellinabox-2.20-r3.ebuild
deleted file mode 100644
index 4ddaef132e0..00000000000
--- a/www-misc/shellinabox/shellinabox-2.20-r3.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit user autotools systemd
-
-DESCRIPTION="Export command line tools to a web based terminal emulator"
-HOMEPAGE="https://github.com/shellinabox/shellinabox"
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="+pam"
-
-DEPEND="
- dev-libs/openssl:0=
- pam? ( sys-libs/pam )"
-
-SIAB_CERT_DIR="/etc/shellinabox/cert"
-SIAB_SSL_BASH="${SIAB_CERT_DIR}/gen_ssl_cert.bash"
-SIAB_DAEMON="${PN}d"
-
-shellinbox_gen_ssl_setup() {
- read -r -d '' SIAB_SSL_SETUP << EOF
-cd ${SIAB_CERT_DIR}
-openssl genrsa -des3 -out server.key 1024
-openssl req -new -key server.key -out server.csr
-cp server.key server.key.org
-openssl rsa -in server.key.org -out server.key
-openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
-cat server.crt server.key > certificate.pem
-EOF
-}
-
-pkg_setup() {
- enewgroup "${SIAB_DAEMON}"
- enewuser "${SIAB_DAEMON}" -1 -1 -1 "${SIAB_DAEMON}"
-}
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- local myeconf=(
- --disable-runtime-loading
- --enable-ssl
- )
-
- econf \
- $(use_enable pam) \
- "${myeconf[@]}"
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- # make installs the binary in bin...
- rm -rf "${D}/usr/bin" || die
-
- # ... whereas it should put it in sbin.
- dosbin "${SIAB_DAEMON}"
-
- # Install init+conf files.
- newinitd "${FILESDIR}/${SIAB_DAEMON}.init" "${SIAB_DAEMON}"
- newconfd "${FILESDIR}/${SIAB_DAEMON}.conf" "${SIAB_DAEMON}"
-
- # Install systemd unit file.
- systemd_dounit "${FILESDIR}"/shellinaboxd.service
-
- # Install CSS files.
- insinto "/usr/share/${PN}-resources"
- doins -r "${PN}"/*.css
-
- # Create directory where SSL certificates will be generated.
- dodir "${SIAB_CERT_DIR}"
- fowners "${SIAB_DAEMON}:${SIAB_DAEMON}" "${SIAB_CERT_DIR}"
-
- # Generate set up variable.
- shellinbox_gen_ssl_setup
-
- # Dump it in a bash script.
- echo "#!/usr/bin/env bash" > "${D}/${SIAB_SSL_BASH}" || die
- echo "${SIAB_SSL_SETUP}" >> "${D}/${SIAB_SSL_BASH}" || die
- chmod +x "${D}/${SIAB_SSL_BASH}" || die
-}
-
-pkg_postinst() {
- ewarn
- ewarn "The default configuration exposes a login shell"
- ewarn "with SSL disabled on the localhost interface only."
- ewarn
-
- shellinbox_gen_ssl_setup
-
- einfo
- einfo "To generate self-signed SSL certificates"
- einfo "please read the procedure explained here:"
- einfo "https://code.google.com/p/shellinabox/issues/detail?id=59#c15"
- einfo
- einfo "${SIAB_SSL_SETUP}"
- einfo
- einfo "This walkthrough has been written in ${SIAB_SSL_BASH} for your convenience."
- einfo "Make sure to execute this script."
- einfo
-}
^ permalink raw reply related [flat|nested] 26+ messages in thread
end of thread, other threads:[~2020-08-05 15:14 UTC | newest]
Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-07 11:38 [gentoo-commits] repo/gentoo:master commit in: www-misc/shellinabox/ Patrice Clement
-- strict thread matches above, loose matches on Subject: below --
2020-08-05 15:14 Patrice Clement
2020-07-31 4:00 Sam James
2020-07-29 23:41 Sam James
2020-07-23 14:18 Sam James
2020-02-29 14:44 Mikle Kolyada
2019-12-22 4:48 Craig Andrews
2019-12-12 12:53 Patrice Clement
2019-12-12 9:11 Patrice Clement
2019-12-11 20:40 Patrice Clement
2019-10-12 21:37 Mikle Kolyada
2017-05-20 13:38 Patrice Clement
2017-05-20 10:14 Patrice Clement
2017-05-20 10:14 Patrice Clement
2017-05-18 15:22 Michael Weber
2017-05-18 12:39 Agostino Sarubbo
2017-01-31 13:01 Patrice Clement
2016-11-23 15:53 Patrice Clement
2015-12-31 17:40 Patrice Clement
2015-12-25 18:19 Agostino Sarubbo
2015-12-22 0:27 Patrice Clement
2015-12-19 7:39 Jeroen Roovers
2015-12-09 10:47 Agostino Sarubbo
2015-12-03 13:28 Agostino Sarubbo
2015-11-27 1:16 Patrice Clement
2015-11-25 8:54 Agostino Sarubbo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox