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