From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EFD5F138359 for ; Wed, 5 Aug 2020 15:14:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 413FDE093B; Wed, 5 Aug 2020 15:14:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 17109E093B for ; Wed, 5 Aug 2020 15:14:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CCC6134F014 for ; Wed, 5 Aug 2020 15:14:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 80C86253 for ; Wed, 5 Aug 2020 15:14:49 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1596640486.eae61794b46636c1e3aac5d7bb1542f8c6c895b8.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-misc/shellinabox/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-misc/shellinabox/Manifest www-misc/shellinabox/shellinabox-2.20-r1.ebuild www-misc/shellinabox/shellinabox-2.20-r2.ebuild www-misc/shellinabox/shellinabox-2.20-r3.ebuild X-VCS-Directories: www-misc/shellinabox/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: eae61794b46636c1e3aac5d7bb1542f8c6c895b8 X-VCS-Branch: master Date: Wed, 5 Aug 2020 15:14:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9a20e34a-3e78-473c-ab17-a0fbd3d8ccf2 X-Archives-Hash: 5135a62e0adb9588ec7f111e6142854e commit: eae61794b46636c1e3aac5d7bb1542f8c6c895b8 Author: Patrice Clement gentoo org> AuthorDate: Wed Aug 5 15:14:40 2020 +0000 Commit: Patrice Clement gentoo 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 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 -}