diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-03-24 17:22:19 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-03-24 17:22:19 +0000 |
commit | aa3411e241a201d53a2689766fe419f2756819f3 (patch) | |
tree | cc19adfde0a10aab1ab566c8dfe3c1616e5cc390 /app-admin/conserver | |
parent | b7b97785ebbb2f11d24d14dab8b81ed274f4ce6a (diff) |
gentoo resync : 24.03.2019
Diffstat (limited to 'app-admin/conserver')
-rw-r--r-- | app-admin/conserver/Manifest | 2 | ||||
-rw-r--r-- | app-admin/conserver/conserver-8.2.3.ebuild | 95 |
2 files changed, 97 insertions, 0 deletions
diff --git a/app-admin/conserver/Manifest b/app-admin/conserver/Manifest index e630c1c2776c..f83ac05c4722 100644 --- a/app-admin/conserver/Manifest +++ b/app-admin/conserver/Manifest @@ -9,6 +9,8 @@ AUX conserver.initd-r1 428 BLAKE2B 574fa8611e928b17e70b1da522060c230b3f51ef0daf8 AUX conserver.pam-pambase 194 BLAKE2B ad284008c94f4c19b911a93279b12893a1c686806b22f7f19500e7216c19768ab161f9ba5cf2405d9d46f412a08c0cb04de0bc05ead15fb75da931575c2c3be2 SHA512 5368394be5b9d97e0ae751d84fbb4848aa27fd57b1a2eea8c7919e56246e390985deca80f0019c2104034103f73ac382a5ab2129113a0ff0b63b0b8bd83648c9 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 EBUILD conserver-8.1.18-r1.ebuild 2288 BLAKE2B d25a03bd1d6ee27d983c15455bc4f3ae76ca663cba75b353cfef17480f91f49d2d310a038ea9f16334bb75ece843f948a619c0980c1aacd9457bf2a2dfe0f1aa SHA512 4b87330c9eb8c9e731ce56b49afc45ccc04fcbe877d374b51a37b351c582b465946178ac41e50605ef958ffd0c65693b8f21ae0f28a65c462b99332bb6059078 EBUILD conserver-8.2.2.ebuild 2350 BLAKE2B 6b502331697cffa995ab8e1cdfb03d086b78fa936941051a73dada85eea5de33572a07032d6973a1c7664c5a402345de1e2a06bc31646f987117c85e4d749dd4 SHA512 898c71213ff0b60156bf07ef2541df6d5a17ece9a8145fd080ae1932c59919272d9294e027aea1a051e6aa41acae87cd43c3418fbc5c1653482510a134942684 +EBUILD conserver-8.2.3.ebuild 2260 BLAKE2B a24f9ab8fa57a72189246e786c22e149a53a4ce562ce935e2911b096ad52899658ad1abfc07e35e0e72e715bc73efd2c374400a8d5c45d22db8e3a81f4a4435d SHA512 57c2fc7b74cdf59541230e795471ba98a15761a7abad1474d49a5716717af7e64c4ef8315a5134dd36a04c87e8973f29031501c92403d2d2080b1839c8c12fd3 MISC metadata.xml 1378 BLAKE2B 942f6b9d8fd616f089d0651fbdfc41de96033acf65f127cbfded2fb9c390fd9b86c037a62679ea27b18e4e618bf764d09277350e9fdbaadc914c18a6961618e2 SHA512 6b3e06cfa1013f71eb42c9c073df8c97d2b8fa6b935b637ba29096db88d75bab1bb192695ed4a5dad63d88341a366327f419cb357777c0abb09799c8bcc40970 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 +} |