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