/[gentoo-x86]/net-proxy/cntlm/cntlm-0.35.1-r2.ebuild
Gentoo

Contents of /net-proxy/cntlm/cntlm-0.35.1-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Nov 7 07:29:31 2011 UTC (3 years, 1 month ago) by mduft
Branch: MAIN
bug#307523: fixed init script wrt stopping, and revbumped

(Portage version: 2.1.10.11/cvs/Linux i686)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-proxy/cntlm/cntlm-0.35.1-r1.ebuild,v 1.1 2010/02/24 13:18:15 mduft Exp $
4
5 EAPI=2
6
7 inherit eutils
8
9 DESCRIPTION="Cntlm is an NTLM/NTLMv2 authenticating HTTP proxy"
10 HOMEPAGE="http://cntlm.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/cntlm/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE=""
17
18 DEPEND=""
19 RDEPEND=""
20
21 src_configure() {
22 econf || die "econf failed"
23
24 # Replace default config file path in Makefile
25 sed -i -e 's~SYSCONFDIR=/usr/local/etc~SYSCONFDIR=/etc~' \
26 "${S}"/Makefile || die "sed failed"
27 }
28
29 src_compile() {
30 emake || die "emake failed"
31 }
32
33 src_install() {
34 dobin cntlm
35 dodoc COPYRIGHT README VERSION doc/cntlm.conf
36 doman doc/cntlm.1
37 newinitd "${FILESDIR}"/cntlm.initd cntlm
38 newconfd "${FILESDIR}"/cntlm.confd cntlm
39 insinto /etc
40 insopts -m0600
41 doins doc/cntlm.conf
42 }
43
44 pkg_postinst() {
45 enewgroup cntlm
46 enewuser cntlm -1 -1 -1 cntlm
47 }

  ViewVC Help
Powered by ViewVC 1.1.20