diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2019-03-19 11:04:55 -0700 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2019-03-19 11:05:22 -0700 |
commit | d755ca484df0d2cd2f84c7530fbd15bf3e6ec7ae (patch) | |
tree | 191b6b04b74c7dbe09b77fb511519190f1a0b49d /app-admin/conserver | |
parent | sys-kernel/gentoo-sources: Linux patch 4.20.17 (diff) | |
download | gentoo-d755ca484df0d2cd2f84c7530fbd15bf3e6ec7ae.tar.gz gentoo-d755ca484df0d2cd2f84c7530fbd15bf3e6ec7ae.tar.bz2 gentoo-d755ca484df0d2cd2f84c7530fbd15bf3e6ec7ae.zip |
app-admin/conserver: bump to 8.2.3
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'app-admin/conserver')
-rw-r--r-- | app-admin/conserver/Manifest | 1 | ||||
-rw-r--r-- | app-admin/conserver/conserver-8.2.3.ebuild | 95 |
2 files changed, 96 insertions, 0 deletions
diff --git a/app-admin/conserver/Manifest b/app-admin/conserver/Manifest index fdc9c763ec88..9ac7b3d4286b 100644 --- a/app-admin/conserver/Manifest +++ b/app-admin/conserver/Manifest @@ -1,2 +1,3 @@ DIST conserver-8.1.18.tar.gz 323247 BLAKE2B 48176ba8be648df16ddb18c1a760af8069f7d926d2e0767e3b7ef903276d6104cfa9464a6ebdce009720fe5118862d89cf5371e104d17b967e11fe8e8968e8f9 SHA512 a8029aef5fd84f93eb3ae56ba7f751d79a6065c012bfd805e050f8c9edf09fd660c272d3f3ce0a47cfb17678574babbecad63f8bfd50ad4fdccdbabc2249435f DIST conserver-8.2.2.tar.gz 329048 BLAKE2B 0148a5b5b11fcc75a071b9759e129a94f1fe623df35e7549e967d0037ddb378447623070ce43429daf4868308be150f5ba318354e3181d94ccb1199655231373 SHA512 7c59dc59e59e3ee0172b2a52214cd8dd83383168fe0f145870d128b900a012cfa38c2f1ae85769c226d941ca1a764f93ec3bf353da896537ae1be5b6bc17e6c6 +DIST conserver-8.2.3.tar.gz 329825 BLAKE2B 94ceb427a18b38855ee3146e432be50248a518221d9779c833b3bf1190dedf800ff498ffdd88eafc7cea343b2f87f476738977021c85f19c869bf0a012f1da11 SHA512 35b387629973620aa25211d9532f940e17d7891aa7216776c315cb9fde09106b7388e7cef29f5a2ead8660fc35e2be2b14f38a51cd2b3198251b7e7e70a2254d diff --git a/app-admin/conserver/conserver-8.2.3.ebuild b/app-admin/conserver/conserver-8.2.3.ebuild new file mode 100644 index 000000000000..3a8ca5f5f928 --- /dev/null +++ b/app-admin/conserver/conserver-8.2.3.ebuild @@ -0,0 +1,95 @@ +# 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" + +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? ( virtual/pam ) + tcpd? ( sys-apps/tcp-wrappers ) +" +RDEPEND="${DEPEND} + pam? ( sys-auth/pambase )" + +DOCS=( CHANGES FAQ PROTOCOL README 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 +} |