1 |
idl0r 12/05/09 19:19:57 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: haproxy-1.4.20.ebuild |
5 |
Removed: haproxy-1.4.18.ebuild haproxy-1.4.15.ebuild |
6 |
Log: |
7 |
Version bump + cleanup |
8 |
|
9 |
(Portage version: 2.2.0_alpha102/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.62 net-proxy/haproxy/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/haproxy/ChangeLog?rev=1.62&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/haproxy/ChangeLog?rev=1.62&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/haproxy/ChangeLog?r1=1.61&r2=1.62 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-proxy/haproxy/ChangeLog,v |
21 |
retrieving revision 1.61 |
22 |
retrieving revision 1.62 |
23 |
diff -u -r1.61 -r1.62 |
24 |
--- ChangeLog 28 Feb 2012 22:41:06 -0000 1.61 |
25 |
+++ ChangeLog 9 May 2012 19:19:57 -0000 1.62 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for net-proxy/haproxy |
28 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/haproxy/ChangeLog,v 1.61 2012/02/28 22:41:06 ranger Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/haproxy/ChangeLog,v 1.62 2012/05/09 19:19:57 idl0r Exp $ |
31 |
+ |
32 |
+*haproxy-1.4.20 (09 May 2012) |
33 |
+ |
34 |
+ 09 May 2012; Christian Ruppert <idl0r@g.o> -haproxy-1.4.15.ebuild, |
35 |
+ -haproxy-1.4.18.ebuild, +haproxy-1.4.20.ebuild, -files/haproxy.initd: |
36 |
+ Version bump + cleanup |
37 |
|
38 |
28 Feb 2012; Brent Baude <ranger@g.o> haproxy-1.4.18-r1.ebuild: |
39 |
Marking haproxy-1.4.18-r1 ppc for bug 375111 |
40 |
|
41 |
|
42 |
|
43 |
1.1 net-proxy/haproxy/haproxy-1.4.20.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/haproxy/haproxy-1.4.20.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/haproxy/haproxy-1.4.20.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: haproxy-1.4.20.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2012 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/net-proxy/haproxy/haproxy-1.4.20.ebuild,v 1.1 2012/05/09 19:19:57 idl0r Exp $ |
53 |
|
54 |
EAPI="4" |
55 |
|
56 |
inherit eutils versionator toolchain-funcs flag-o-matic |
57 |
|
58 |
DESCRIPTION="A TCP/HTTP reverse proxy for high availability environments" |
59 |
HOMEPAGE="http://haproxy.1wt.eu" |
60 |
SRC_URI="http://haproxy.1wt.eu/download/$(get_version_component_range 1-2)/src/${P}.tar.gz" |
61 |
|
62 |
LICENSE="GPL-2 LGPL-2.1" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~ppc ~x86" |
65 |
IUSE="examples pcre vim-syntax" |
66 |
|
67 |
DEPEND="pcre? ( dev-libs/libpcre )" |
68 |
RDEPEND="${DEPEND}" |
69 |
|
70 |
pkg_setup() { |
71 |
enewgroup haproxy |
72 |
enewuser haproxy -1 -1 -1 haproxy |
73 |
} |
74 |
|
75 |
src_compile() { |
76 |
local args="TARGET=linux26" |
77 |
|
78 |
use pcre && args="${args} USE_PCRE=1" |
79 |
|
80 |
use kernel_linux && args="${args} USE_LINUX_SPLICE=1" |
81 |
use kernel_linux && args="${args} USE_LINUX_TPROXY=1" |
82 |
|
83 |
# For now, until the strict-aliasing breakage will be fixed |
84 |
append-cflags -fno-strict-aliasing |
85 |
|
86 |
emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC=$(tc-getCC) ${args} || die |
87 |
} |
88 |
|
89 |
src_install() { |
90 |
dobin haproxy || die |
91 |
|
92 |
newinitd "${FILESDIR}/haproxy.initd-r1" haproxy || die |
93 |
|
94 |
# Don't install useless files |
95 |
rm examples/build.cfg doc/*gpl.txt |
96 |
|
97 |
dodoc CHANGELOG ROADMAP TODO doc/{configuration,haproxy-en}.txt |
98 |
doman doc/haproxy.1 |
99 |
|
100 |
if use examples; |
101 |
then |
102 |
docinto examples |
103 |
dodoc examples/*.cfg || die |
104 |
fi |
105 |
|
106 |
if use vim-syntax; |
107 |
then |
108 |
insinto /usr/share/vim/vimfiles/syntax |
109 |
doins examples/haproxy.vim || die |
110 |
fi |
111 |
} |
112 |
|
113 |
pkg_postinst() { |
114 |
if [[ ! -f "${ROOT}/etc/haproxy.cfg" ]] ; then |
115 |
ewarn "You need to create /etc/haproxy.cfg before you start the haproxy service." |
116 |
ewarn "It's best practice to not run haproxy as root, user and group haproxy was therefore created." |
117 |
ewarn "Make use of them with the \"user\" and \"group\" directives." |
118 |
|
119 |
if [[ -d "${ROOT}/usr/share/doc/${PF}" ]]; then |
120 |
einfo "Please consult the installed documentation for learning the configuration file's syntax." |
121 |
einfo "The documentation and sample configuration files are installed here:" |
122 |
einfo " ${ROOT}usr/share/doc/${PF}" |
123 |
fi |
124 |
fi |
125 |
} |