diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /www-misc/shellinabox | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'www-misc/shellinabox')
-rw-r--r-- | www-misc/shellinabox/Manifest | 6 | ||||
-rw-r--r-- | www-misc/shellinabox/shellinabox-2.20-r1.ebuild | 107 | ||||
-rw-r--r-- | www-misc/shellinabox/shellinabox-2.20-r2.ebuild | 109 | ||||
-rw-r--r-- | www-misc/shellinabox/shellinabox-2.20-r3.ebuild | 109 | ||||
-rw-r--r-- | www-misc/shellinabox/shellinabox-2.20-r4.ebuild | 4 |
5 files changed, 3 insertions, 332 deletions
diff --git a/www-misc/shellinabox/Manifest b/www-misc/shellinabox/Manifest index dd338e9275f6..23107ac9b7b9 100644 --- a/www-misc/shellinabox/Manifest +++ b/www-misc/shellinabox/Manifest @@ -2,9 +2,5 @@ AUX shellinaboxd.conf 3474 BLAKE2B 873c0ea46b81bac7c78f08da2d566099bbf26973f6e6b AUX shellinaboxd.init 1723 BLAKE2B e5e8bc573628f1b12f1390c5a481c80b9411eba156ba5513d04f1afc41d42e6a398bfa35b65c8a705cfb439238cc30b76d5c22ef14507cd8e714af1e8fde1107 SHA512 e568d9e972097960e292c73df6b493c610f0a17fec159dc933ac19b15b92649165c4e41cac8d19d32860effd0a4da8ff950a34f54f6db9ca67206056d22b2703 AUX shellinaboxd.service 420 BLAKE2B 89973ee0f64fce39603778afef8e0544313ff05f71c7668b5055edccffa552511278ab090aad50529e949e4b16e84291302f1404660d3ab5150ce5491f2fa4ca SHA512 cdb22177b92794c7cda2e10c461f1f31ed165ede156c682fec5b682afbd48f8c9c564420950f3d39f9943cbfbfdb864869a96a2dae60f2bbe1bd36bd61282aa5 DIST shellinabox-2.20.tar.gz 745920 BLAKE2B 34d360d2e4f0474f64490894f4ba9b9457ca7915156fc3364e874c89d9792ec52c8e756d5f356da6f680425fcc4cf9c9025a47d56cb0b0671a2749f0ba90d5b9 SHA512 369fb6e0041fc3eb52a533f14d1f856a71ec1bf166441e25a5d61bb129f2db5de6b61205ddd0cb08d53384baaf4e087bd2c549f7919b96ee465d4cc3318d2237 -DIST shellinabox-2.20.zip 792359 BLAKE2B fd6ebde4d9f81314dd439126ad9ed6759556268c4af6dbe2094fb7aaef3956e8c484deb8c3b43a485bc28cf3a2c0105bee0f8b5c2efba1d3d7f0c0b6b3f6867a SHA512 0537b6400cb7f4880c76cce270e5eefd6f536eae7e27b5f7b12de0465a1e354f7980bb2f67230237eda1f7945afb1d3bb18013106bf7c3a02e7974532f0d9190 -EBUILD shellinabox-2.20-r1.ebuild 2694 BLAKE2B bad035b871d10f39c919dd96a857335f0f21ea47e3a80d260639bcdd8d494a4b8e13e3831bbed2e62e71a47ed75faedb058a469d6a7fe9e9626b8c4b51db8606 SHA512 0567f829f8cd92b34384fd4942869acdc7145dc900c88a519b7979e34566c2a4235cae47473be15f973a5a4e97cde123b96b5c190054f11443644622b222ce3d -EBUILD shellinabox-2.20-r2.ebuild 2673 BLAKE2B 626f9e847d8a884c0b9cfd60f0d471feeedc22d31fed5767aa999ccd1f20123e629eb46c1fc99ccb0d2422136ba893a2a230b013b0a4b961e34bfd4a4acd67c0 SHA512 28e163e20225f8e06b0bed77d06dd9cbae92973090f121c1d8aef93307776c41618bc96185dff247507bef21045a0af08456b77466c44f9af3a6812e73b5425e -EBUILD shellinabox-2.20-r3.ebuild 2679 BLAKE2B 8eebe74aa6ad393427fa5546b7813c1a3217b9ad83dac44ebebfa88207040420d62fb6bf7dd034d5e65b4f3550a69e0c09b4f6d57d66016588c81e6dd22d1f86 SHA512 50e3079d5e77f6073f728f84bd5630a7933da41f9a9526e24bd8b24185f2a826f345d258df464259ce58d4a8401e9a8a65fa9d22660b3ed6691caa286151be5c -EBUILD shellinabox-2.20-r4.ebuild 2589 BLAKE2B b9ba84b7b64c1ada9b1abd9098d191090bae59635b0e9d1253582c3ff46c27615847995ecf017c7e89a224802857a0241ba513c8f632250a1befc5e80ed4ad17 SHA512 e2f1c90a0919289ffc2b6c746070e16ba106daa2110c656d8e79d1f2d5f433aa0dc97134a3ea78b46eab32a4e556b4fda5035842c9e4ceb43bfc8c8cf4718254 +EBUILD shellinabox-2.20-r4.ebuild 2585 BLAKE2B fbe8c01eae8c1aac80cad5f1b64682ffd20fbc9bb5451a3fd9f4106e24355d93bf5fbeb035b6e2f63579247c995aab670b7709aa0ce3bbd8d09dd8d04d23d329 SHA512 18001c93387caccd9b5b5d99345a7cae630c20073325a34a50a1b3787ba3057cbe956b2d19db95ac4397645aba1644deaaac3bec1fcf1b05f9dfcc4bf0e66ca6 MISC metadata.xml 465 BLAKE2B 0ab32d3a194f7f96d0620b0aaec34770f7bf66e82362e7cb71cba720de389005e42e0d97104e86f919cb666a6932e681ab2a1c0db794efcaeda07fd184eef05c SHA512 d49b6f84a6b79de40d86bbb7ec47f0f47fdae0b862e98302093f32d220115c8bebeb28477909919e252d5d48b6f64e8b5d2303f0367c19c5ed816d9a17ad60f9 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 0fd76e1f2e61..000000000000 --- 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 f92e89f9f226..000000000000 --- 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 4ddaef132e05..000000000000 --- 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 -} diff --git a/www-misc/shellinabox/shellinabox-2.20-r4.ebuild b/www-misc/shellinabox/shellinabox-2.20-r4.ebuild index dd3929f75bfe..f42751ea0832 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=" |