diff options
author | Ulrich Müller <ulm@gentoo.org> | 2007-12-08 11:15:34 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2007-12-08 11:15:34 +0000 |
commit | 73001ae11d89054aa1ad2db1e36db8b8602ea8c2 (patch) | |
tree | 5f31034538a95ef067e4bfee23e370f6cc10a35b /app-admin/conserver | |
parent | Applying small patch by zlin, and s/use flag/USE flag/g (diff) | |
download | gentoo-2-73001ae11d89054aa1ad2db1e36db8b8602ea8c2.tar.gz gentoo-2-73001ae11d89054aa1ad2db1e36db8b8602ea8c2.tar.bz2 gentoo-2-73001ae11d89054aa1ad2db1e36db8b8602ea8c2.zip |
Version bump. Replace call to docert by install_cert, bug #174759.
(Portage version: 2.1.4_rc8)
Diffstat (limited to 'app-admin/conserver')
-rw-r--r-- | app-admin/conserver/ChangeLog | 7 | ||||
-rw-r--r-- | app-admin/conserver/conserver-8.1.16.ebuild | 79 | ||||
-rw-r--r-- | app-admin/conserver/files/digest-conserver-8.1.16 | 3 |
3 files changed, 88 insertions, 1 deletions
diff --git a/app-admin/conserver/ChangeLog b/app-admin/conserver/ChangeLog index c7ff6dbb4380..308894d522d8 100644 --- a/app-admin/conserver/ChangeLog +++ b/app-admin/conserver/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-admin/conserver # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/conserver/ChangeLog,v 1.63 2007/09/05 17:51:20 phreak Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/conserver/ChangeLog,v 1.64 2007/12/08 11:15:33 ulm Exp $ + +*conserver-8.1.16 (08 Dec 2007) + + 08 Dec 2007; Ulrich Mueller <ulm@gentoo.org> +conserver-8.1.16.ebuild: + Version bump. Replace call to docert by install_cert, bug #174759. 05 Sep 2007; Christian Heim <phreak@gentoo.org> metadata.xml: Removing weeve from metadata due to his retirement (see #181019 for reference). diff --git a/app-admin/conserver/conserver-8.1.16.ebuild b/app-admin/conserver/conserver-8.1.16.ebuild new file mode 100644 index 000000000000..d74d99d11ec6 --- /dev/null +++ b/app-admin/conserver/conserver-8.1.16.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/conserver/conserver-8.1.16.ebuild,v 1.1 2007/12/08 11:15:33 ulm Exp $ + +inherit ssl-cert eutils pam + +DESCRIPTION="Serial Console Manager" +HOMEPAGE="http://www.conserver.com/" +SRC_URI="ftp://ftp.conserver.com/conserver/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" +IUSE="pam ssl tcpd debug" + +DEPEND="ssl? ( >=dev-libs/openssl-0.9.6g ) + pam? ( virtual/pam ) + tcpd? ( sys-apps/tcp-wrappers ) + debug? ( dev-libs/dmalloc )" + +src_unpack() { + unpack ${A} + cd "${S}" + + # Apply patch to prevent package from stripping binaries + epatch "${FILESDIR}"/${PN}-prestrip.patch +} + +src_compile() { + econf \ + $(use_with ssl openssl) \ + $(use_with pam) \ + $(use_with tcpd libwrap) \ + $(use_with debug dmalloc) \ + --with-logfile=/var/log/conserver.log \ + --with-pidfile=/var/run/conserver.pid \ + --with-cffile=conserver/conserver.cf \ + --with-pwdfile=conserver/conserver.passwd \ + --with-master=localhost \ + --with-port=7782 || die "./configure failed" + + emake || die "compile failed" +} + +src_install() { + einstall exampledir="${D}"/usr/share/doc/${PF}/examples \ + || die "problem with install" + + ## create data directory + dodir /var/consoles + fowners daemon:daemon /var/consoles + fperms 700 /var/consoles + + ## add startup and sample config + newinitd "${FILESDIR}"/conserver.initd conserver + newconfd "${FILESDIR}"/conserver.confd 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 + + ## add docs + dohtml conserver.html + dodoc CHANGES FAQ PROTOCOL README TODO + dodoc conserver/Sun-serial contrib/maketestcerts + newdoc conserver.cf/conserver.cf conserver.cf.sample + + # Add pam config + newpamd "${FILESDIR}"/conserver.pam-include.1 conserver +} + +pkg_postinst() { + # Add certs if SSL use flag is enabled + if use ssl && [ ! -f "${ROOT}"/etc/ssl/conserver/conserver.key ]; then + install_cert /etc/ssl/conserver/conserver + fi +} diff --git a/app-admin/conserver/files/digest-conserver-8.1.16 b/app-admin/conserver/files/digest-conserver-8.1.16 new file mode 100644 index 000000000000..653077e53fba --- /dev/null +++ b/app-admin/conserver/files/digest-conserver-8.1.16 @@ -0,0 +1,3 @@ +MD5 2364ba56f5201b07646bdfaefedd330b conserver-8.1.16.tar.gz 311373 +RMD160 918832d21d46f7f20cf9c1088c058190093343a0 conserver-8.1.16.tar.gz 311373 +SHA256 43dc9d81bc23d76a0ec01acd1f54f5c276b715feeb8f52bb33b5c81f325a46d8 conserver-8.1.16.tar.gz 311373 |