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.14.11.ebuild haproxy-1.3.15.7.ebuild haproxy-1.3.15.2.ebuild haproxy-1.3.14.8.ebuild haproxy-1.3.15.4.ebuild haproxy-1.3.14.6.ebuild
Date: Sat, 10 Jan 2009 11:36:35
Message-Id: E1LLc8n-0000Ek-9r@stork.gentoo.org
1 mrness 09/01/10 11:36:33
2
3 Modified: ChangeLog
4 Added: haproxy-1.3.14.11.ebuild haproxy-1.3.15.7.ebuild
5 Removed: haproxy-1.3.15.2.ebuild haproxy-1.3.14.8.ebuild
6 haproxy-1.3.15.4.ebuild haproxy-1.3.14.6.ebuild
7 Log:
8 Version bumps.
9 (Portage version: 2.1.4.5)
10
11 Revision Changes Path
12 1.19 net-proxy/haproxy/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/haproxy/ChangeLog?rev=1.19&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/haproxy/ChangeLog?rev=1.19&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/haproxy/ChangeLog?r1=1.18&r2=1.19
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-proxy/haproxy/ChangeLog,v
21 retrieving revision 1.18
22 retrieving revision 1.19
23 diff -u -r1.18 -r1.19
24 --- ChangeLog 19 Oct 2008 10:04:57 -0000 1.18
25 +++ ChangeLog 10 Jan 2009 11:36:33 -0000 1.19
26 @@ -1,6 +1,15 @@
27 # ChangeLog for net-proxy/haproxy
28 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/haproxy/ChangeLog,v 1.18 2008/10/19 10:04:57 mrness Exp $
30 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/haproxy/ChangeLog,v 1.19 2009/01/10 11:36:33 mrness Exp $
32 +
33 +*haproxy-1.3.15.7 (10 Jan 2009)
34 +*haproxy-1.3.14.11 (10 Jan 2009)
35 +
36 + 10 Jan 2009; Alin Năstac <mrness@g.o> -haproxy-1.3.14.6.ebuild,
37 + -haproxy-1.3.14.8.ebuild, +haproxy-1.3.14.11.ebuild,
38 + -haproxy-1.3.15.2.ebuild, -haproxy-1.3.15.4.ebuild,
39 + +haproxy-1.3.15.7.ebuild:
40 + Version bumps.
41
42 *haproxy-1.3.15.5 (19 Oct 2008)
43 *haproxy-1.3.14.9 (19 Oct 2008)
44
45
46
47 1.1 net-proxy/haproxy/haproxy-1.3.14.11.ebuild
48
49 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/haproxy/haproxy-1.3.14.11.ebuild?rev=1.1&view=markup
50 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/haproxy/haproxy-1.3.14.11.ebuild?rev=1.1&content-type=text/plain
51
52 Index: haproxy-1.3.14.11.ebuild
53 ===================================================================
54 # Copyright 1999-2009 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 # $Header: /var/cvsroot/gentoo-x86/net-proxy/haproxy/haproxy-1.3.14.11.ebuild,v 1.1 2009/01/10 11:36:33 mrness Exp $
57
58 inherit linux-info versionator
59
60 DESCRIPTION="A TCP/HTTP reverse proxy for high availability environments"
61 HOMEPAGE="http://haproxy.1wt.eu"
62 SRC_URI="http://haproxy.1wt.eu/download/$(get_version_component_range 1-2)/src/${P}.tar.gz"
63
64 LICENSE="GPL-2 LGPL-2.1"
65 SLOT="0"
66 KEYWORDS="~amd64 ~ppc ~x86"
67 IUSE="pcre"
68
69 DEPEND="pcre? ( dev-libs/libpcre )"
70 RDEPEND="${DEPEND}"
71
72 src_compile() {
73 local ARGS="TARGET=linux${KV_MAJOR}${KV_MINOR}"
74 use pcre && ARGS="${ARGS} REGEX=pcre"
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 einfo "You need to create /etc/haproxy.cfg before you start haproxy service."
94 if [[ -d "${ROOT}/usr/share/doc/${P}" ]]; then
95 einfo "Please consult the installed documentation for learning the configuration file's syntax."
96 einfo "The documentation and sample configuration files are installed here:"
97 einfo " ${ROOT}usr/share/doc/${P}"
98 fi
99 fi
100 }
101
102
103
104 1.1 net-proxy/haproxy/haproxy-1.3.15.7.ebuild
105
106 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/haproxy/haproxy-1.3.15.7.ebuild?rev=1.1&view=markup
107 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/haproxy/haproxy-1.3.15.7.ebuild?rev=1.1&content-type=text/plain
108
109 Index: haproxy-1.3.15.7.ebuild
110 ===================================================================
111 # Copyright 1999-2009 Gentoo Foundation
112 # Distributed under the terms of the GNU General Public License v2
113 # $Header: /var/cvsroot/gentoo-x86/net-proxy/haproxy/haproxy-1.3.15.7.ebuild,v 1.1 2009/01/10 11:36:33 mrness Exp $
114
115 inherit versionator
116
117 DESCRIPTION="A TCP/HTTP reverse proxy for high availability environments"
118 HOMEPAGE="http://haproxy.1wt.eu"
119 SRC_URI="http://haproxy.1wt.eu/download/$(get_version_component_range 1-2)/src/${P}.tar.gz"
120
121 LICENSE="GPL-2 LGPL-2.1"
122 SLOT="0"
123 KEYWORDS="~amd64 ~ppc ~x86"
124 IUSE="pcre"
125
126 DEPEND="pcre? ( dev-libs/libpcre )"
127 RDEPEND="${DEPEND}"
128
129 src_compile() {
130 local ARGS="TARGET=linux26"
131 use pcre && ARGS="${ARGS} USE_PCRE=1"
132 emake ADDINC="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${ARGS}
133 }
134
135 src_install() {
136 exeinto /usr/bin
137 doexe haproxy
138 newinitd "${FILESDIR}/haproxy.initd" haproxy
139
140 # Don't install useless files
141 rm examples/build.cfg doc/*gpl.txt
142
143 dodoc CHANGELOG ROADMAP TODO doc/*.txt
144 docinto examples
145 dodoc examples/*.cfg
146 }
147
148 pkg_postinst() {
149 if [[ ! -f "${ROOT}/etc/haproxy.cfg" ]] ; then
150 einfo "You need to create /etc/haproxy.cfg before you start haproxy service."
151 if [[ -d "${ROOT}/usr/share/doc/${P}" ]]; then
152 einfo "Please consult the installed documentation for learning the configuration file's syntax."
153 einfo "The documentation and sample configuration files are installed here:"
154 einfo " ${ROOT}usr/share/doc/${P}"
155 fi
156 fi
157 }