diff options
author | Markus Duft <mduft@gentoo.org> | 2011-11-07 07:29:31 +0000 |
---|---|---|
committer | Markus Duft <mduft@gentoo.org> | 2011-11-07 07:29:31 +0000 |
commit | b310a5518282b956e6144079b05e39e663942c6c (patch) | |
tree | b07adb0b89c93bfc1418764d5d505147c9a6faf3 /net-proxy/cntlm/cntlm-0.35.1-r2.ebuild | |
parent | Bump to 3.2.1 from the gnome overlay, drop the gtk3 slot of 3.0.1. First gtk3... (diff) | |
download | historical-b310a5518282b956e6144079b05e39e663942c6c.tar.gz historical-b310a5518282b956e6144079b05e39e663942c6c.tar.bz2 historical-b310a5518282b956e6144079b05e39e663942c6c.zip |
bug#307523: fixed init script wrt stopping, and revbumped
Package-Manager: portage-2.1.10.11/cvs/Linux i686
Diffstat (limited to 'net-proxy/cntlm/cntlm-0.35.1-r2.ebuild')
-rw-r--r-- | net-proxy/cntlm/cntlm-0.35.1-r2.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/net-proxy/cntlm/cntlm-0.35.1-r2.ebuild b/net-proxy/cntlm/cntlm-0.35.1-r2.ebuild new file mode 100644 index 000000000000..c2941fe679c0 --- /dev/null +++ b/net-proxy/cntlm/cntlm-0.35.1-r2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/cntlm/cntlm-0.35.1-r2.ebuild,v 1.1 2011/11/07 07:29:31 mduft Exp $ + +EAPI=2 + +inherit eutils + +DESCRIPTION="Cntlm is an NTLM/NTLMv2 authenticating HTTP proxy" +HOMEPAGE="http://cntlm.sourceforge.net/" +SRC_URI="mirror://sourceforge/cntlm/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_configure() { + econf || die "econf failed" + + # Replace default config file path in Makefile + sed -i -e 's~SYSCONFDIR=/usr/local/etc~SYSCONFDIR=/etc~' \ + "${S}"/Makefile || die "sed failed" +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + dobin cntlm + dodoc COPYRIGHT README VERSION doc/cntlm.conf + doman doc/cntlm.1 + newinitd "${FILESDIR}"/cntlm.initd cntlm + newconfd "${FILESDIR}"/cntlm.confd cntlm + insinto /etc + insopts -m0600 + doins doc/cntlm.conf +} + +pkg_postinst() { + enewgroup cntlm + enewuser cntlm -1 -1 -1 cntlm +} |