diff options
author | Michael Haubenwallner <haubi@gentoo.org> | 2012-10-02 13:47:12 +0000 |
---|---|---|
committer | Michael Haubenwallner <haubi@gentoo.org> | 2012-10-02 13:47:12 +0000 |
commit | c141003668b7f5337e1d514c178212f9c823949b (patch) | |
tree | 17e252dc79ecfe86560b30e7292660a81eaeb58e /net-proxy/cntlm/cntlm-0.93_beta5.ebuild | |
parent | http://my.opera.com/desktopteam/blog/2012/10/02/opera-12-10-beta (diff) | |
download | gentoo-2-c141003668b7f5337e1d514c178212f9c823949b.tar.gz gentoo-2-c141003668b7f5337e1d514c178212f9c823949b.tar.bz2 gentoo-2-c141003668b7f5337e1d514c178212f9c823949b.zip |
Revbump beta version, bug#403375.
(Portage version: 2.1.10.65/cvs/Linux x86_64)
Diffstat (limited to 'net-proxy/cntlm/cntlm-0.93_beta5.ebuild')
-rw-r--r-- | net-proxy/cntlm/cntlm-0.93_beta5.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/net-proxy/cntlm/cntlm-0.93_beta5.ebuild b/net-proxy/cntlm/cntlm-0.93_beta5.ebuild new file mode 100644 index 000000000000..ed45a4e49469 --- /dev/null +++ b/net-proxy/cntlm/cntlm-0.93_beta5.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/cntlm/cntlm-0.93_beta5.ebuild,v 1.1 2012/10/02 13:47:12 haubi Exp $ + +EAPI=2 + +inherit eutils toolchain-funcs + +DESCRIPTION="Cntlm is an NTLM/NTLMv2 authenticating HTTP proxy" +HOMEPAGE="http://cntlm.sourceforge.net/" +SRC_URI="http://ftp.awk.cz/pub/${P//_}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +S="${WORKDIR}/${P//_}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-buildsystem.patch # 334647 +} + +src_configure() { + tc-export CC + + 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 V=1 || 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 +} |