Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-proxy/cntlm: cntlm-0.93_beta5-r1.ebuild ChangeLog
Date: Tue, 01 Jul 2014 19:21:49
Message-Id: 20140701192144.B726F2004F@flycatcher.gentoo.org
1 pacho 14/07/01 19:21:44
2
3 Modified: ChangeLog
4 Added: cntlm-0.93_beta5-r1.ebuild
5 Log:
6 Add unit file (#513620 by StalkerNOVA)
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
9
10 Revision Changes Path
11 1.6 net-proxy/cntlm/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/cntlm/ChangeLog?rev=1.6&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/cntlm/ChangeLog?rev=1.6&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/cntlm/ChangeLog?r1=1.5&r2=1.6
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-proxy/cntlm/ChangeLog,v
20 retrieving revision 1.5
21 retrieving revision 1.6
22 diff -u -r1.5 -r1.6
23 --- ChangeLog 8 Jan 2014 06:23:51 -0000 1.5
24 +++ ChangeLog 1 Jul 2014 19:21:44 -0000 1.6
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-proxy/cntlm
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/cntlm/ChangeLog,v 1.5 2014/01/08 06:23:51 vapier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/cntlm/ChangeLog,v 1.6 2014/07/01 19:21:44 pacho Exp $
30 +
31 +*cntlm-0.93_beta5-r1 (01 Jul 2014)
32 +
33 + 01 Jul 2014; Pacho Ramos <pacho@g.o> +cntlm-0.93_beta5-r1.ebuild,
34 + +files/cntlm.service:
35 + Add unit file (#513620 by StalkerNOVA)
36
37 08 Jan 2014; Mike Frysinger <vapier@g.o> cntlm-0.35.1-r1.ebuild,
38 cntlm-0.35.1-r2.ebuild, cntlm-0.92.3.ebuild, cntlm-0.93_beta5.ebuild:
39
40
41
42 1.1 net-proxy/cntlm/cntlm-0.93_beta5-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/cntlm/cntlm-0.93_beta5-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/cntlm/cntlm-0.93_beta5-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: cntlm-0.93_beta5-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-proxy/cntlm/cntlm-0.93_beta5-r1.ebuild,v 1.1 2014/07/01 19:21:44 pacho Exp $
52
53 EAPI=5
54 inherit eutils systemd toolchain-funcs user
55
56 DESCRIPTION="Cntlm is an NTLM/NTLMv2 authenticating HTTP proxy"
57 HOMEPAGE="http://cntlm.sourceforge.net/"
58 SRC_URI="http://ftp.awk.cz/pub/${P//_}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63 IUSE=""
64
65 DEPEND=""
66 RDEPEND=""
67
68 S="${WORKDIR}/${P//_}"
69
70 src_prepare() {
71 epatch "${FILESDIR}"/${P}-buildsystem.patch # 334647
72 }
73
74 src_configure() {
75 tc-export CC
76
77 econf
78
79 # Replace default config file path in Makefile
80 sed -i -e 's~SYSCONFDIR=/usr/local/etc~SYSCONFDIR=/etc~' \
81 "${S}"/Makefile || die "sed failed"
82 }
83
84 src_compile() {
85 emake V=1
86 }
87
88 src_install() {
89 dobin cntlm
90 dodoc COPYRIGHT README VERSION doc/cntlm.conf
91 doman doc/cntlm.1
92 newinitd "${FILESDIR}"/cntlm.initd cntlm
93 newconfd "${FILESDIR}"/cntlm.confd cntlm
94 systemd_dounit "${FILESDIR}"/cntlm.service
95 insinto /etc
96 insopts -m0600
97 doins doc/cntlm.conf
98 }
99
100 pkg_postinst() {
101 enewgroup cntlm
102 enewuser cntlm -1 -1 -1 cntlm
103 }