Gentoo Archives: gentoo-commits

From: "Alin Nastac (mrness)" <mrness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-proxy/haproxy: ChangeLog haproxy-1.3.17.ebuild haproxy-1.3.16.ebuild
Date: Sat, 02 May 2009 09:48:59
Message-Id: E1M0Bq5-0005QS-Q4@stork.gentoo.org
1 mrness 09/05/02 09:48:57
2
3 Modified: ChangeLog
4 Added: haproxy-1.3.17.ebuild
5 Removed: haproxy-1.3.16.ebuild
6 Log:
7 Version bump (#268000).
8 (Portage version: 2.1.6.7/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.24 net-proxy/haproxy/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/haproxy/ChangeLog?rev=1.24&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/haproxy/ChangeLog?rev=1.24&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/haproxy/ChangeLog?r1=1.23&r2=1.24
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-proxy/haproxy/ChangeLog,v
20 retrieving revision 1.23
21 retrieving revision 1.24
22 diff -u -r1.23 -r1.24
23 --- ChangeLog 24 Mar 2009 18:33:39 -0000 1.23
24 +++ ChangeLog 2 May 2009 09:48:57 -0000 1.24
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-proxy/haproxy
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/haproxy/ChangeLog,v 1.23 2009/03/24 18:33:39 mrness Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/haproxy/ChangeLog,v 1.24 2009/05/02 09:48:57 mrness Exp $
30 +
31 +*haproxy-1.3.17 (02 May 2009)
32 +
33 + 02 May 2009; Alin Năstac <mrness@g.o> -haproxy-1.3.16.ebuild,
34 + +haproxy-1.3.17.ebuild:
35 + Version bump (#268000).
36
37 *haproxy-1.3.16 (24 Mar 2009)
38
39
40
41
42 1.1 net-proxy/haproxy/haproxy-1.3.17.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/haproxy/haproxy-1.3.17.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/haproxy/haproxy-1.3.17.ebuild?rev=1.1&content-type=text/plain
46
47 Index: haproxy-1.3.17.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-proxy/haproxy/haproxy-1.3.17.ebuild,v 1.1 2009/05/02 09:48:57 mrness Exp $
52
53 inherit versionator eutils
54
55 DESCRIPTION="A TCP/HTTP reverse proxy for high availability environments"
56 HOMEPAGE="http://haproxy.1wt.eu"
57 SRC_URI="http://haproxy.1wt.eu/download/$(get_version_component_range 1-2)/src/${P}.tar.gz"
58
59 LICENSE="GPL-2 LGPL-2.1"
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc ~x86"
62 IUSE="pcre"
63
64 DEPEND="pcre? ( dev-libs/libpcre )"
65 RDEPEND="${DEPEND}"
66
67 pkg_setup() {
68 enewgroup haproxy
69 enewuser haproxy -1 -1 -1 haproxy
70 }
71
72 src_compile() {
73 local ARGS="TARGET=linux26"
74 use pcre && ARGS="${ARGS} USE_PCRE=1"
75 emake ADDINC="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${ARGS}
76 }
77
78 src_install() {
79 exeinto /usr/bin
80 doexe haproxy
81 newinitd "${FILESDIR}/haproxy.initd" haproxy
82
83 # Don't install useless files
84 rm examples/build.cfg doc/*gpl.txt
85
86 dodoc CHANGELOG ROADMAP TODO doc/*.txt
87 docinto examples
88 dodoc examples/*.cfg
89 }
90
91 pkg_postinst() {
92 if [[ ! -f "${ROOT}/etc/haproxy.cfg" ]] ; then
93 ewarn "You need to create /etc/haproxy.cfg before you start the haproxy service."
94 ewarn "It's best practice to not run haproxy as root, user and group haproxy was therefore created."
95 ewarn "Make use of them with the \"user\" and \"group\" directives."
96
97 if [[ -d "${ROOT}/usr/share/doc/${PF}" ]]; then
98 einfo "Please consult the installed documentation for learning the configuration file's syntax."
99 einfo "The documentation and sample configuration files are installed here:"
100 einfo " ${ROOT}usr/share/doc/${PF}"
101 fi
102 fi
103 }