mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-admin/conserver: bump to 8.2.6
Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
DIST conserver-8.2.3.tar.gz 329825 BLAKE2B 94ceb427a18b38855ee3146e432be50248a518221d9779c833b3bf1190dedf800ff498ffdd88eafc7cea343b2f87f476738977021c85f19c869bf0a012f1da11 SHA512 35b387629973620aa25211d9532f940e17d7891aa7216776c315cb9fde09106b7388e7cef29f5a2ead8660fc35e2be2b14f38a51cd2b3198251b7e7e70a2254d
|
||||
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
|
||||
|
||||
96
app-admin/conserver/conserver-8.2.6.ebuild
Normal file
96
app-admin/conserver/conserver-8.2.6.ebuild
Normal file
@@ -0,0 +1,96 @@
|
||||
# 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
|
||||
}
|
||||
Reference in New Issue
Block a user