From 8d48a6a789dc98441e6797b436a9cfa7fd0c8130 Mon Sep 17 00:00:00 2001 From: Alin Năstac Date: Sat, 2 May 2009 09:48:57 +0000 Subject: Version bump (#268000). (Portage version: 2.1.6.7/cvs/Linux x86_64) --- net-proxy/haproxy/ChangeLog | 8 ++++- net-proxy/haproxy/haproxy-1.3.16.ebuild | 55 --------------------------------- net-proxy/haproxy/haproxy-1.3.17.ebuild | 55 +++++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+), 56 deletions(-) delete mode 100644 net-proxy/haproxy/haproxy-1.3.16.ebuild create mode 100644 net-proxy/haproxy/haproxy-1.3.17.ebuild (limited to 'net-proxy') diff --git a/net-proxy/haproxy/ChangeLog b/net-proxy/haproxy/ChangeLog index fc7ab78cfe11..2b20eeaf9835 100644 --- a/net-proxy/haproxy/ChangeLog +++ b/net-proxy/haproxy/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-proxy/haproxy # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/haproxy/ChangeLog,v 1.23 2009/03/24 18:33:39 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/haproxy/ChangeLog,v 1.24 2009/05/02 09:48:57 mrness Exp $ + +*haproxy-1.3.17 (02 May 2009) + + 02 May 2009; Alin Năstac -haproxy-1.3.16.ebuild, + +haproxy-1.3.17.ebuild: + Version bump (#268000). *haproxy-1.3.16 (24 Mar 2009) diff --git a/net-proxy/haproxy/haproxy-1.3.16.ebuild b/net-proxy/haproxy/haproxy-1.3.16.ebuild deleted file mode 100644 index 9bebc1be19e4..000000000000 --- a/net-proxy/haproxy/haproxy-1.3.16.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/haproxy/haproxy-1.3.16.ebuild,v 1.1 2009/03/24 18:33:39 mrness Exp $ - -inherit versionator eutils - -DESCRIPTION="A TCP/HTTP reverse proxy for high availability environments" -HOMEPAGE="http://haproxy.1wt.eu" -SRC_URI="http://haproxy.1wt.eu/download/$(get_version_component_range 1-2)/src/${P}.tar.gz" - -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="pcre" - -DEPEND="pcre? ( dev-libs/libpcre )" -RDEPEND="${DEPEND}" - -pkg_setup() { - enewgroup haproxy - enewuser haproxy -1 -1 -1 haproxy -} - -src_compile() { - local ARGS="TARGET=linux26" - use pcre && ARGS="${ARGS} USE_PCRE=1" - emake ADDINC="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${ARGS} -} - -src_install() { - exeinto /usr/bin - doexe haproxy - newinitd "${FILESDIR}/haproxy.initd" haproxy - - # Don't install useless files - rm examples/build.cfg doc/*gpl.txt - - dodoc CHANGELOG ROADMAP TODO doc/*.txt - docinto examples - dodoc examples/*.cfg -} - -pkg_postinst() { - if [[ ! -f "${ROOT}/etc/haproxy.cfg" ]] ; then - ewarn "You need to create /etc/haproxy.cfg before you start the haproxy service." - ewarn "It's best practice to not run haproxy as root, user and group haproxy was therefore created." - ewarn "Make use of them with the \"user\" and \"group\" directives." - - if [[ -d "${ROOT}/usr/share/doc/${PF}" ]]; then - einfo "Please consult the installed documentation for learning the configuration file's syntax." - einfo "The documentation and sample configuration files are installed here:" - einfo " ${ROOT}usr/share/doc/${PF}" - fi - fi -} diff --git a/net-proxy/haproxy/haproxy-1.3.17.ebuild b/net-proxy/haproxy/haproxy-1.3.17.ebuild new file mode 100644 index 000000000000..70161147716b --- /dev/null +++ b/net-proxy/haproxy/haproxy-1.3.17.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/haproxy/haproxy-1.3.17.ebuild,v 1.1 2009/05/02 09:48:57 mrness Exp $ + +inherit versionator eutils + +DESCRIPTION="A TCP/HTTP reverse proxy for high availability environments" +HOMEPAGE="http://haproxy.1wt.eu" +SRC_URI="http://haproxy.1wt.eu/download/$(get_version_component_range 1-2)/src/${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="pcre" + +DEPEND="pcre? ( dev-libs/libpcre )" +RDEPEND="${DEPEND}" + +pkg_setup() { + enewgroup haproxy + enewuser haproxy -1 -1 -1 haproxy +} + +src_compile() { + local ARGS="TARGET=linux26" + use pcre && ARGS="${ARGS} USE_PCRE=1" + emake ADDINC="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${ARGS} +} + +src_install() { + exeinto /usr/bin + doexe haproxy + newinitd "${FILESDIR}/haproxy.initd" haproxy + + # Don't install useless files + rm examples/build.cfg doc/*gpl.txt + + dodoc CHANGELOG ROADMAP TODO doc/*.txt + docinto examples + dodoc examples/*.cfg +} + +pkg_postinst() { + if [[ ! -f "${ROOT}/etc/haproxy.cfg" ]] ; then + ewarn "You need to create /etc/haproxy.cfg before you start the haproxy service." + ewarn "It's best practice to not run haproxy as root, user and group haproxy was therefore created." + ewarn "Make use of them with the \"user\" and \"group\" directives." + + if [[ -d "${ROOT}/usr/share/doc/${PF}" ]]; then + einfo "Please consult the installed documentation for learning the configuration file's syntax." + einfo "The documentation and sample configuration files are installed here:" + einfo " ${ROOT}usr/share/doc/${PF}" + fi + fi +} -- cgit v1.2.3-65-gdbad