From d7ed2b01311f15ba54fe8ea872aab7d59ab2b193 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 29 Jan 2021 18:03:51 +0000 Subject: gentoo resync : 29.01.2021 --- app-admin/conserver/Manifest | 8 +- app-admin/conserver/conserver-8.2.3-r1.ebuild | 100 +++++++++++++++++++++++++ app-admin/conserver/conserver-8.2.3.ebuild | 98 ------------------------- app-admin/conserver/conserver-8.2.4-r1.ebuild | 100 +++++++++++++++++++++++++ app-admin/conserver/conserver-8.2.4.ebuild | 98 ------------------------- app-admin/conserver/conserver-8.2.5-r1.ebuild | 98 +++++++++++++++++++++++++ app-admin/conserver/conserver-8.2.5.ebuild | 96 ------------------------ app-admin/conserver/conserver-8.2.6-r1.ebuild | 102 ++++++++++++++++++++++++++ app-admin/conserver/conserver-8.2.6.ebuild | 100 ------------------------- 9 files changed, 404 insertions(+), 396 deletions(-) create mode 100644 app-admin/conserver/conserver-8.2.3-r1.ebuild delete mode 100644 app-admin/conserver/conserver-8.2.3.ebuild create mode 100644 app-admin/conserver/conserver-8.2.4-r1.ebuild delete mode 100644 app-admin/conserver/conserver-8.2.4.ebuild create mode 100644 app-admin/conserver/conserver-8.2.5-r1.ebuild delete mode 100644 app-admin/conserver/conserver-8.2.5.ebuild create mode 100644 app-admin/conserver/conserver-8.2.6-r1.ebuild delete mode 100644 app-admin/conserver/conserver-8.2.6.ebuild (limited to 'app-admin/conserver') diff --git a/app-admin/conserver/Manifest b/app-admin/conserver/Manifest index f4036e8d6a1d..8e86484b7ce2 100644 --- a/app-admin/conserver/Manifest +++ b/app-admin/conserver/Manifest @@ -8,8 +8,8 @@ DIST conserver-8.2.3.tar.gz 329825 BLAKE2B 94ceb427a18b38855ee3146e432be50248a51 DIST conserver-8.2.4.tar.gz 432854 BLAKE2B 5b6003609187e629544a7183b32cb7b2ab6c854cabf915271a3a924d18c2c13a1bf01f0524740b35859d83c4cb5cc525b87182c342b0075d5486ba428ed71091 SHA512 c59b9bcf582209f8450a8189c1af536951e15ff3aa97994ea99f9de5c6028237a9fa3ca8ba0f7d63ec33b96e45adf76be755181c4199621debfed9feaf1659ad DIST conserver-8.2.5.tar.gz 434260 BLAKE2B f057a99db8e2f39f644ac8c55dc75372e74a9736c403ceaee8b70af6418ebec881f0c00d0ed4e0825c5f00900c70e0cf5c340637f5f16d19875448c58172ffb3 SHA512 76a1d75307faabeb04b65c5cd5fb1bb7df22e0ff25769f94a86a4b9134da262e6523ba207c8da1ec5b67299498c807ec92279a10846c0b3f23c9effa4ee01c1e DIST conserver-8.2.6.tar.gz 437315 BLAKE2B 9f62bb8ac91b57759c6b08d5a6ff31727a547c1991d322d75350a879a247925bbb1bbcab25b8a3d99a2ce6a997ba9f2e6c35338588e913055b29f3574e00e434 SHA512 3b7769675fd0edfd3727e5e84785f33c037b9e7a17c8c69c0ce48a447ea3b7de916e217c0f3b808b8350818b7bc702c917ea7a122ed96ae6b73f81ff0b5ae283 -EBUILD conserver-8.2.3.ebuild 2332 BLAKE2B 41d68bea10c5a0e8a351f69fac90c8f0b4b250a541b347ae9411d9c36e0c32cf835b8ddd2435c224436a46cea8569c6600fca1126b40518e11065c08cd4aa1f3 SHA512 4191c9985dec41cca907319c9684c0898114d59d79116f4a4944cf6535669744f6020af0c003e196e3dc1a39012bda501964e715b49f380d16aea0f22babb48e -EBUILD conserver-8.2.4.ebuild 2339 BLAKE2B 36da2173617d2c970a95a8417992dcbfacb4d139c2674a94a75e00292aae7025dabab5a0249fd83867cf5c5ffd1d8dc643fd0f8d650562f7e44ebca408b02d3c SHA512 a9b2ee02b808c42887f5655efa16ddb70d986c528f8a4017a1f833aa0eed5e024a0289fe0ad018d9f09682aca2547749c7fb8571deed41faf4ad072e787b14b4 -EBUILD conserver-8.2.5.ebuild 2291 BLAKE2B ba84ea1948480e942fdfc466c4f9b35dec108a278db1a89cc6c25036ea58228e16bb279335a097ea761b962afc5fe847afd27b501a260b06d9630ecfb0c46f99 SHA512 ee3f120c30bef5c20e2df9f47d5193e7b4effc7cb41d8d9e2bda473a860b5fa64f02398bd1afb639c18caec52c9aa95d744865595ac7cd4b1f36487a9329cc57 -EBUILD conserver-8.2.6.ebuild 2359 BLAKE2B 7a8f57c66885a00d623585c4b2b7dbd5baa8100eef8d2bfd652e8f26e40ca53fd669ad758f1f85e61db72f331c622b43057479d16e5c02aae0a21cd35e85a06a SHA512 52697fc7c858ae17da8ce8eb23df551e49225666e7d049fa6f0adb15a7976734dbd55deeb7a390c56181b91d033cc7349db56da43f8be6590d037b5450494a51 +EBUILD conserver-8.2.3-r1.ebuild 2355 BLAKE2B 69a01594a73817f9970ae9292709d98fe28c1a704f67edf43cb595be1b251c85da60e40bb7895cffe47275747c73e4ede9e615f5d88dd32ed0ec120df1922ccb SHA512 1ca942d8044bfa96a4cf559c35f3bea6ed823ecb6f75ab540726cd306730778af3d1ed6be4edd5b7c34c4205a9078a5514fbe94a4a6e23557fc854e935589854 +EBUILD conserver-8.2.4-r1.ebuild 2362 BLAKE2B 1332bef8da253cd844a5d4739a08168f0177e4f35164290cbaece881030f3070a9f59a4e58c81c08f147a89cef3c5f080502e59f9e2544bd372b681ce046fe5b SHA512 1747c23444ce723d9e4087914e8f92e487d0bf78a1a962049661e17ce8d9e78afae5fd2190e4ed3868ebb3224611486e039280e7084f6da995bfe9b59f18bc46 +EBUILD conserver-8.2.5-r1.ebuild 2314 BLAKE2B d9c499b8bb6f63dd06fa0b1cf9d3da39fe72a79f7ad6ad8b03bb0cc14f582c25b5d8e8db3cb97ca2c91a64b31eeb878b26f07bdf45c0b8aed98cff463224f6c2 SHA512 03a0f2693df8c77ef2e216b16457ccfd9f2888a964217ff2cacce4f3111f14fdcf4f7d1c636269e11c709650d6b7f24e3186a5ee272d1991324ae58e99cda032 +EBUILD conserver-8.2.6-r1.ebuild 2382 BLAKE2B 0ffad99ee3fc06041600e544ca79d6e475830c2c50768668e507a6e20ca9b9155b4988291607f69a8b5c1b490c1a08fec92561e9cb659de3bb6e6a4d621e075c SHA512 1be3d84c121974754fcb2717cb198fe8849ddfe8406c6a21b8fe625d38e499eaa5b2f186f93770c974a615e3a1de93d678cf8bb0b7a79581a1121bd1cbd13d0d MISC metadata.xml 1378 BLAKE2B 942f6b9d8fd616f089d0651fbdfc41de96033acf65f127cbfded2fb9c390fd9b86c037a62679ea27b18e4e618bf764d09277350e9fdbaadc914c18a6961618e2 SHA512 6b3e06cfa1013f71eb42c9c073df8c97d2b8fa6b935b637ba29096db88d75bab1bb192695ed4a5dad63d88341a366327f419cb357777c0abb09799c8bcc40970 diff --git a/app-admin/conserver/conserver-8.2.3-r1.ebuild b/app-admin/conserver/conserver-8.2.3-r1.ebuild new file mode 100644 index 000000000000..7a587ea09385 --- /dev/null +++ b/app-admin/conserver/conserver-8.2.3-r1.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools pam ssl-cert + +DESCRIPTION="Serial Console Manager" +HOMEPAGE="https://www.conserver.com" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="BSD BSD-with-attribution" +SLOT="0" +KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 ~sparc x86" +IUSE="debug ipv6 freeipmi kerberos libressl pam ssl test tcpd" +RESTRICT="!test? ( test )" + +DEPEND="debug? ( dev-libs/dmalloc:= ) + freeipmi? ( sys-libs/freeipmi:= ) + kerberos? ( + virtual/krb5 + net-libs/libgssglue + ) + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) + pam? ( sys-libs/pam ) + tcpd? ( sys-apps/tcp-wrappers ) +" +RDEPEND="${DEPEND} + pam? ( sys-auth/pambase )" + +DOCS=( CHANGES FAQ PROTOCOL README conserver/Sun-serial contrib/maketestcerts) + +PATCHES=( "${FILESDIR}/${PV}-libressl.patch" ) + +src_prepare() { + default + sed -e '/^INSTALL_PROGRAM/s:-s::' \ + -i {console,conserver,autologin,contrib/chat}/Makefile.in || die + eautoreconf +} + +src_configure() { + local myconf=( + $(use_with debug dmalloc) + $(use_with ipv6) + $(use_with freeipmi) + $(use_with kerberos gssapi) + $(use_with ssl openssl) + $(use_with pam) + $(use_with tcpd libwrap) + --with-cffile=conserver/conserver.cf + --with-logfile=/var/log/conserver.log + --with-master=localhost + --with-pidfile=/run/conserver.pid + --with-port=7782 + --with-pwdfile=conserver/conserver.passwd + ) + econf "${myconf[@]}" +} + +src_install() { + emake DESTDIR="${D}" exampledir="/usr/share/doc/${PF}/examples" install + + keepdir /var/consoles + fowners daemon:daemon /var/consoles + fperms 700 /var/consoles + + newinitd "${FILESDIR}"/conserver.initd-r1 conserver + newconfd "${FILESDIR}"/conserver.confd-r1 conserver + + dodir /etc/conserver + fperms 700 /etc/conserver + insinto /etc/conserver + newins "${S}"/conserver.cf/conserver.cf conserver.cf.sample + newins "${S}"/conserver.cf/conserver.passwd conserver.passwd.sample + + einstalldocs + docinto examples + dodoc -r conserver.cf/samples/. + + if use pam; then + newpamd "${FILESDIR}"/conserver.pam-pambase conserver + fi +} + +src_test() { + # hangs without -j1 + emake -j1 test +} + +pkg_postinst() { + if use ssl; then + if [[ ! -f "${EROOT}"/etc/ssl/conserver/conserver.key ]]; then + install_cert /etc/ssl/conserver/conserver + fi + fi +} diff --git a/app-admin/conserver/conserver-8.2.3.ebuild b/app-admin/conserver/conserver-8.2.3.ebuild deleted file mode 100644 index e2c44ccb1145..000000000000 --- a/app-admin/conserver/conserver-8.2.3.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools pam ssl-cert - -DESCRIPTION="Serial Console Manager" -HOMEPAGE="https://www.conserver.com" -SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="BSD BSD-with-attribution" -SLOT="0" -KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 ~sparc x86" -IUSE="debug ipv6 freeipmi kerberos libressl pam ssl test tcpd" -RESTRICT="!test? ( test )" - -DEPEND="debug? ( dev-libs/dmalloc:= ) - freeipmi? ( sys-libs/freeipmi:= ) - kerberos? ( - virtual/krb5 - net-libs/libgssglue - ) - ssl? ( - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= ) - ) - pam? ( sys-libs/pam ) - tcpd? ( sys-apps/tcp-wrappers ) -" -RDEPEND="${DEPEND} - pam? ( sys-auth/pambase )" - -DOCS=( CHANGES FAQ PROTOCOL README conserver/Sun-serial contrib/maketestcerts) - -PATCHES=( "${FILESDIR}/${PV}-libressl.patch" ) - -src_prepare() { - default - sed -e '/^INSTALL_PROGRAM/s:-s::' \ - -i {console,conserver,autologin,contrib/chat}/Makefile.in || die - eautoreconf -} - -src_configure() { - local myconf=( - $(use_with debug dmalloc) - $(use_with ipv6) - $(use_with freeipmi) - $(use_with kerberos gssapi) - $(use_with ssl openssl) - $(use_with pam) - $(use_with tcpd libwrap) - --with-cffile=conserver/conserver.cf - --with-logfile=/var/log/conserver.log - --with-master=localhost - --with-pidfile=/run/conserver.pid - --with-port=7782 - --with-pwdfile=conserver/conserver.passwd - ) - econf "${myconf[@]}" -} - -src_install() { - emake DESTDIR="${D}" exampledir="/usr/share/doc/${PF}/examples" install - - keepdir /var/consoles - fowners daemon:daemon /var/consoles - fperms 700 /var/consoles - - newinitd "${FILESDIR}"/conserver.initd-r1 conserver - newconfd "${FILESDIR}"/conserver.confd-r1 conserver - - dodir /etc/conserver - fperms 700 /etc/conserver - insinto /etc/conserver - newins "${S}"/conserver.cf/conserver.cf conserver.cf.sample - newins "${S}"/conserver.cf/conserver.passwd conserver.passwd.sample - - einstalldocs - docinto examples - dodoc -r conserver.cf/samples/. - - newpamd "${FILESDIR}"/conserver.pam-pambase conserver -} - -src_test() { - # hangs without -j1 - emake -j1 test -} - -pkg_postinst() { - if use ssl; then - if [[ ! -f "${EROOT}"/etc/ssl/conserver/conserver.key ]]; then - install_cert /etc/ssl/conserver/conserver - fi - fi -} diff --git a/app-admin/conserver/conserver-8.2.4-r1.ebuild b/app-admin/conserver/conserver-8.2.4-r1.ebuild new file mode 100644 index 000000000000..0bfcdb4896bb --- /dev/null +++ b/app-admin/conserver/conserver-8.2.4-r1.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools pam ssl-cert + +DESCRIPTION="Serial Console Manager" +HOMEPAGE="https://www.conserver.com" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="BSD BSD-with-attribution" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug ipv6 freeipmi kerberos libressl pam ssl test tcpd" +RESTRICT="!test? ( test )" + +DEPEND="debug? ( dev-libs/dmalloc:= ) + freeipmi? ( sys-libs/freeipmi:= ) + kerberos? ( + virtual/krb5 + net-libs/libgssglue + ) + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) + pam? ( sys-libs/pam ) + tcpd? ( sys-apps/tcp-wrappers ) +" +RDEPEND="${DEPEND} + pam? ( sys-auth/pambase )" + +DOCS=( CHANGES FAQ PROTOCOL README.md conserver/Sun-serial contrib/maketestcerts) + +PATCHES=( "${FILESDIR}/${PV}-libressl.patch" ) + +src_prepare() { + default + sed -e '/^INSTALL_PROGRAM/s:-s::' \ + -i {console,conserver,autologin,contrib/chat}/Makefile.in || die + eautoreconf +} + +src_configure() { + local myconf=( + $(use_with debug dmalloc) + $(use_with ipv6) + $(use_with freeipmi) + $(use_with kerberos gssapi) + $(use_with ssl openssl) + $(use_with pam) + $(use_with tcpd libwrap) + --with-cffile=conserver/conserver.cf + --with-logfile=/var/log/conserver.log + --with-master=localhost + --with-pidfile=/run/conserver.pid + --with-port=7782 + --with-pwdfile=conserver/conserver.passwd + ) + econf "${myconf[@]}" +} + +src_install() { + emake DESTDIR="${D}" exampledir="/usr/share/doc/${PF}/examples" install + + keepdir /var/consoles + fowners daemon:daemon /var/consoles + fperms 700 /var/consoles + + newinitd "${FILESDIR}"/conserver.initd-r1 conserver + newconfd "${FILESDIR}"/conserver.confd-r1 conserver + + dodir /etc/conserver + fperms 700 /etc/conserver + insinto /etc/conserver + newins "${S}"/conserver.cf/conserver.cf conserver.cf.sample + newins "${S}"/conserver.cf/conserver.passwd conserver.passwd.sample + + einstalldocs + docinto examples + dodoc -r conserver.cf/samples/. + + if use pam; then + newpamd "${FILESDIR}"/conserver.pam-pambase conserver + fi +} + +src_test() { + # hangs without -j1 + emake -j1 test +} + +pkg_postinst() { + if use ssl; then + if [[ ! -f "${EROOT}"/etc/ssl/conserver/conserver.key ]]; then + install_cert /etc/ssl/conserver/conserver + fi + fi +} diff --git a/app-admin/conserver/conserver-8.2.4.ebuild b/app-admin/conserver/conserver-8.2.4.ebuild deleted file mode 100644 index 018a794f081b..000000000000 --- a/app-admin/conserver/conserver-8.2.4.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools pam ssl-cert - -DESCRIPTION="Serial Console Manager" -HOMEPAGE="https://www.conserver.com" -SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="BSD BSD-with-attribution" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="debug ipv6 freeipmi kerberos libressl pam ssl test tcpd" -RESTRICT="!test? ( test )" - -DEPEND="debug? ( dev-libs/dmalloc:= ) - freeipmi? ( sys-libs/freeipmi:= ) - kerberos? ( - virtual/krb5 - net-libs/libgssglue - ) - ssl? ( - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= ) - ) - pam? ( sys-libs/pam ) - tcpd? ( sys-apps/tcp-wrappers ) -" -RDEPEND="${DEPEND} - pam? ( sys-auth/pambase )" - -DOCS=( CHANGES FAQ PROTOCOL README.md conserver/Sun-serial contrib/maketestcerts) - -PATCHES=( "${FILESDIR}/${PV}-libressl.patch" ) - -src_prepare() { - default - sed -e '/^INSTALL_PROGRAM/s:-s::' \ - -i {console,conserver,autologin,contrib/chat}/Makefile.in || die - eautoreconf -} - -src_configure() { - local myconf=( - $(use_with debug dmalloc) - $(use_with ipv6) - $(use_with freeipmi) - $(use_with kerberos gssapi) - $(use_with ssl openssl) - $(use_with pam) - $(use_with tcpd libwrap) - --with-cffile=conserver/conserver.cf - --with-logfile=/var/log/conserver.log - --with-master=localhost - --with-pidfile=/run/conserver.pid - --with-port=7782 - --with-pwdfile=conserver/conserver.passwd - ) - econf "${myconf[@]}" -} - -src_install() { - emake DESTDIR="${D}" exampledir="/usr/share/doc/${PF}/examples" install - - keepdir /var/consoles - fowners daemon:daemon /var/consoles - fperms 700 /var/consoles - - newinitd "${FILESDIR}"/conserver.initd-r1 conserver - newconfd "${FILESDIR}"/conserver.confd-r1 conserver - - dodir /etc/conserver - fperms 700 /etc/conserver - insinto /etc/conserver - newins "${S}"/conserver.cf/conserver.cf conserver.cf.sample - newins "${S}"/conserver.cf/conserver.passwd conserver.passwd.sample - - einstalldocs - docinto examples - dodoc -r conserver.cf/samples/. - - newpamd "${FILESDIR}"/conserver.pam-pambase conserver -} - -src_test() { - # hangs without -j1 - emake -j1 test -} - -pkg_postinst() { - if use ssl; then - if [[ ! -f "${EROOT}"/etc/ssl/conserver/conserver.key ]]; then - install_cert /etc/ssl/conserver/conserver - fi - fi -} diff --git a/app-admin/conserver/conserver-8.2.5-r1.ebuild b/app-admin/conserver/conserver-8.2.5-r1.ebuild new file mode 100644 index 000000000000..f57c6924689a --- /dev/null +++ b/app-admin/conserver/conserver-8.2.5-r1.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools pam ssl-cert + +DESCRIPTION="Serial Console Manager" +HOMEPAGE="https://www.conserver.com" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="BSD BSD-with-attribution" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug ipv6 freeipmi kerberos libressl pam ssl test tcpd" +RESTRICT="!test? ( test )" + +DEPEND="debug? ( dev-libs/dmalloc:= ) + freeipmi? ( sys-libs/freeipmi:= ) + kerberos? ( + virtual/krb5 + net-libs/libgssglue + ) + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) + pam? ( sys-libs/pam ) + tcpd? ( sys-apps/tcp-wrappers ) +" +RDEPEND="${DEPEND} + pam? ( sys-auth/pambase )" + +DOCS=( CHANGES FAQ PROTOCOL README.md conserver/Sun-serial contrib/maketestcerts) + +src_prepare() { + default + sed -e '/^INSTALL_PROGRAM/s:-s::' \ + -i {console,conserver,autologin,contrib/chat}/Makefile.in || die + eautoreconf +} + +src_configure() { + local myconf=( + $(use_with debug dmalloc) + $(use_with ipv6) + $(use_with freeipmi) + $(use_with kerberos gssapi) + $(use_with ssl openssl) + $(use_with pam) + $(use_with tcpd libwrap) + --with-cffile=conserver/conserver.cf + --with-logfile=/var/log/conserver.log + --with-master=localhost + --with-pidfile=/run/conserver.pid + --with-port=7782 + --with-pwdfile=conserver/conserver.passwd + ) + econf "${myconf[@]}" +} + +src_install() { + emake DESTDIR="${D}" exampledir="/usr/share/doc/${PF}/examples" install + + keepdir /var/consoles + fowners daemon:daemon /var/consoles + fperms 700 /var/consoles + + newinitd "${FILESDIR}"/conserver.initd-r1 conserver + newconfd "${FILESDIR}"/conserver.confd-r1 conserver + + dodir /etc/conserver + fperms 700 /etc/conserver + insinto /etc/conserver + newins "${S}"/conserver.cf/conserver.cf conserver.cf.sample + newins "${S}"/conserver.cf/conserver.passwd conserver.passwd.sample + + einstalldocs + docinto examples + dodoc -r conserver.cf/samples/. + + if use pam; then + newpamd "${FILESDIR}"/conserver.pam-pambase conserver + fi +} + +src_test() { + # hangs without -j1 + emake -j1 test +} + +pkg_postinst() { + if use ssl; then + if [[ ! -f "${EROOT}"/etc/ssl/conserver/conserver.key ]]; then + install_cert /etc/ssl/conserver/conserver + fi + fi +} diff --git a/app-admin/conserver/conserver-8.2.5.ebuild b/app-admin/conserver/conserver-8.2.5.ebuild deleted file mode 100644 index 8ecd6b02a530..000000000000 --- a/app-admin/conserver/conserver-8.2.5.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools pam ssl-cert - -DESCRIPTION="Serial Console Manager" -HOMEPAGE="https://www.conserver.com" -SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="BSD BSD-with-attribution" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="debug ipv6 freeipmi kerberos libressl pam ssl test tcpd" -RESTRICT="!test? ( test )" - -DEPEND="debug? ( dev-libs/dmalloc:= ) - freeipmi? ( sys-libs/freeipmi:= ) - kerberos? ( - virtual/krb5 - net-libs/libgssglue - ) - ssl? ( - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= ) - ) - pam? ( sys-libs/pam ) - tcpd? ( sys-apps/tcp-wrappers ) -" -RDEPEND="${DEPEND} - pam? ( sys-auth/pambase )" - -DOCS=( CHANGES FAQ PROTOCOL README.md conserver/Sun-serial contrib/maketestcerts) - -src_prepare() { - default - sed -e '/^INSTALL_PROGRAM/s:-s::' \ - -i {console,conserver,autologin,contrib/chat}/Makefile.in || die - eautoreconf -} - -src_configure() { - local myconf=( - $(use_with debug dmalloc) - $(use_with ipv6) - $(use_with freeipmi) - $(use_with kerberos gssapi) - $(use_with ssl openssl) - $(use_with pam) - $(use_with tcpd libwrap) - --with-cffile=conserver/conserver.cf - --with-logfile=/var/log/conserver.log - --with-master=localhost - --with-pidfile=/run/conserver.pid - --with-port=7782 - --with-pwdfile=conserver/conserver.passwd - ) - econf "${myconf[@]}" -} - -src_install() { - emake DESTDIR="${D}" exampledir="/usr/share/doc/${PF}/examples" install - - keepdir /var/consoles - fowners daemon:daemon /var/consoles - fperms 700 /var/consoles - - newinitd "${FILESDIR}"/conserver.initd-r1 conserver - newconfd "${FILESDIR}"/conserver.confd-r1 conserver - - dodir /etc/conserver - fperms 700 /etc/conserver - insinto /etc/conserver - newins "${S}"/conserver.cf/conserver.cf conserver.cf.sample - newins "${S}"/conserver.cf/conserver.passwd conserver.passwd.sample - - einstalldocs - docinto examples - dodoc -r conserver.cf/samples/. - - newpamd "${FILESDIR}"/conserver.pam-pambase conserver -} - -src_test() { - # hangs without -j1 - emake -j1 test -} - -pkg_postinst() { - if use ssl; then - if [[ ! -f "${EROOT}"/etc/ssl/conserver/conserver.key ]]; then - install_cert /etc/ssl/conserver/conserver - fi - fi -} diff --git a/app-admin/conserver/conserver-8.2.6-r1.ebuild b/app-admin/conserver/conserver-8.2.6-r1.ebuild new file mode 100644 index 000000000000..7d0d422f9ba6 --- /dev/null +++ b/app-admin/conserver/conserver-8.2.6-r1.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools pam ssl-cert + +DESCRIPTION="Serial Console Manager" +HOMEPAGE="https://www.conserver.com" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="BSD BSD-with-attribution" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug ipv6 freeipmi kerberos libressl pam ssl test tcpd" +RESTRICT="!test? ( test )" + +DEPEND="debug? ( dev-libs/dmalloc:= ) + freeipmi? ( sys-libs/freeipmi:= ) + kerberos? ( + virtual/krb5 + net-libs/libgssglue + ) + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) + pam? ( sys-libs/pam ) + tcpd? ( sys-apps/tcp-wrappers ) +" +RDEPEND="${DEPEND} + pam? ( sys-auth/pambase )" + +DOCS=( CHANGES FAQ PROTOCOL README.md conserver/Sun-serial contrib/maketestcerts) + +PATCHES=( + "${FILESDIR}/${PN}-8.2.6-autoconf-2.70.patch" #750230 +) + +src_prepare() { + default + sed -e '/^INSTALL_PROGRAM/s:-s::' \ + -i {console,conserver,autologin,contrib/chat}/Makefile.in || die + eautoreconf +} + +src_configure() { + local myconf=( + $(use_with debug dmalloc) + $(use_with ipv6) + $(use_with freeipmi) + $(use_with kerberos gssapi) + $(use_with ssl openssl) + $(use_with pam) + $(use_with tcpd libwrap) + --with-cffile=conserver/conserver.cf + --with-logfile=/var/log/conserver.log + --with-master=localhost + --with-pidfile=/run/conserver.pid + --with-port=7782 + --with-pwdfile=conserver/conserver.passwd + ) + econf "${myconf[@]}" +} + +src_install() { + emake DESTDIR="${D}" exampledir="/usr/share/doc/${PF}/examples" install + + keepdir /var/consoles + fowners daemon:daemon /var/consoles + fperms 700 /var/consoles + + newinitd "${FILESDIR}"/conserver.initd-r1 conserver + newconfd "${FILESDIR}"/conserver.confd-r1 conserver + + dodir /etc/conserver + fperms 700 /etc/conserver + insinto /etc/conserver + newins "${S}"/conserver.cf/conserver.cf conserver.cf.sample + newins "${S}"/conserver.cf/conserver.passwd conserver.passwd.sample + + einstalldocs + docinto examples + dodoc -r conserver.cf/samples/. + + if use pam; then + newpamd "${FILESDIR}"/conserver.pam-pambase conserver + fi +} + +src_test() { + # hangs without -j1 + emake -j1 test +} + +pkg_postinst() { + if use ssl; then + if [[ ! -f "${EROOT}"/etc/ssl/conserver/conserver.key ]]; then + install_cert /etc/ssl/conserver/conserver + fi + fi +} diff --git a/app-admin/conserver/conserver-8.2.6.ebuild b/app-admin/conserver/conserver-8.2.6.ebuild deleted file mode 100644 index aa64a2c5943b..000000000000 --- a/app-admin/conserver/conserver-8.2.6.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools pam ssl-cert - -DESCRIPTION="Serial Console Manager" -HOMEPAGE="https://www.conserver.com" -SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="BSD BSD-with-attribution" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="debug ipv6 freeipmi kerberos libressl pam ssl test tcpd" -RESTRICT="!test? ( test )" - -DEPEND="debug? ( dev-libs/dmalloc:= ) - freeipmi? ( sys-libs/freeipmi:= ) - kerberos? ( - virtual/krb5 - net-libs/libgssglue - ) - ssl? ( - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= ) - ) - pam? ( sys-libs/pam ) - tcpd? ( sys-apps/tcp-wrappers ) -" -RDEPEND="${DEPEND} - pam? ( sys-auth/pambase )" - -DOCS=( CHANGES FAQ PROTOCOL README.md conserver/Sun-serial contrib/maketestcerts) - -PATCHES=( - "${FILESDIR}/${PN}-8.2.6-autoconf-2.70.patch" #750230 -) - -src_prepare() { - default - sed -e '/^INSTALL_PROGRAM/s:-s::' \ - -i {console,conserver,autologin,contrib/chat}/Makefile.in || die - eautoreconf -} - -src_configure() { - local myconf=( - $(use_with debug dmalloc) - $(use_with ipv6) - $(use_with freeipmi) - $(use_with kerberos gssapi) - $(use_with ssl openssl) - $(use_with pam) - $(use_with tcpd libwrap) - --with-cffile=conserver/conserver.cf - --with-logfile=/var/log/conserver.log - --with-master=localhost - --with-pidfile=/run/conserver.pid - --with-port=7782 - --with-pwdfile=conserver/conserver.passwd - ) - econf "${myconf[@]}" -} - -src_install() { - emake DESTDIR="${D}" exampledir="/usr/share/doc/${PF}/examples" install - - keepdir /var/consoles - fowners daemon:daemon /var/consoles - fperms 700 /var/consoles - - newinitd "${FILESDIR}"/conserver.initd-r1 conserver - newconfd "${FILESDIR}"/conserver.confd-r1 conserver - - dodir /etc/conserver - fperms 700 /etc/conserver - insinto /etc/conserver - newins "${S}"/conserver.cf/conserver.cf conserver.cf.sample - newins "${S}"/conserver.cf/conserver.passwd conserver.passwd.sample - - einstalldocs - docinto examples - dodoc -r conserver.cf/samples/. - - newpamd "${FILESDIR}"/conserver.pam-pambase conserver -} - -src_test() { - # hangs without -j1 - emake -j1 test -} - -pkg_postinst() { - if use ssl; then - if [[ ! -f "${EROOT}"/etc/ssl/conserver/conserver.key ]]; then - install_cert /etc/ssl/conserver/conserver - fi - fi -} -- cgit v1.2.3