pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Move www/haproxy to net/haproxy.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2401f6f16f60
branches:  trunk
changeset: 594590:2401f6f16f60
user:      morr <morr%pkgsrc.org@localhost>
date:      Mon Oct 31 23:39:07 2011 +0000

description:
Move www/haproxy to net/haproxy.

PR pkg/45547

diffstat:

 net/Makefile                 |   3 +-
 www/Makefile                 |   3 +-
 www/haproxy/DESCR            |   6 ----
 www/haproxy/Makefile         |  54 --------------------------------------------
 www/haproxy/PLIST            |   9 -------
 www/haproxy/distinfo         |   6 ----
 www/haproxy/files/haproxy.sh |  19 ---------------
 www/haproxy/patches/patch-aa |  53 -------------------------------------------
 8 files changed, 3 insertions(+), 150 deletions(-)

diffs (205 lines):

diff -r 015fe99b6d09 -r 2401f6f16f60 net/Makefile
--- a/net/Makefile      Mon Oct 31 23:34:07 2011 +0000
+++ b/net/Makefile      Mon Oct 31 23:39:07 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.886 2011/10/20 03:42:30 jnemeth Exp $
+# $NetBSD: Makefile,v 1.887 2011/10/31 23:39:07 morr Exp $
 #
 
 COMMENT=       Networking tools
@@ -160,6 +160,7 @@
 SUBDIR+=       gupnp-av
 SUBDIR+=       gupnp-igd
 SUBDIR+=       gupnp-tools
+SUBDIR+=       haproxy
 SUBDIR+=       hesiod
 SUBDIR+=       hf6to4
 SUBDIR+=       hlfl
diff -r 015fe99b6d09 -r 2401f6f16f60 www/Makefile
--- a/www/Makefile      Mon Oct 31 23:34:07 2011 +0000
+++ b/www/Makefile      Mon Oct 31 23:39:07 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.825 2011/10/31 11:14:52 morr Exp $
+# $NetBSD: Makefile,v 1.826 2011/10/31 23:39:07 morr Exp $
 #
 
 COMMENT=       Packages related to the World Wide Web
@@ -140,7 +140,6 @@
 SUBDIR+=       gitweb
 SUBDIR+=       gtkasp2php
 SUBDIR+=       gtkhtml314
-SUBDIR+=       haproxy
 SUBDIR+=       haskell-cgi
 SUBDIR+=       heel
 SUBDIR+=       hiawatha
diff -r 015fe99b6d09 -r 2401f6f16f60 www/haproxy/DESCR
--- a/www/haproxy/DESCR Mon Oct 31 23:34:07 2011 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-HAProxy is a free, very fast and reliable solution offering high
-availability, load balancing, and proxying for TCP and HTTP-based
-applications. It is particularly suited for web sites crawling under
-very high loads while needing persistence or Layer7 processing.
-Supporting tens of thousands of connections is clearly realistic with
-todays hardware.
diff -r 015fe99b6d09 -r 2401f6f16f60 www/haproxy/Makefile
--- a/www/haproxy/Makefile      Mon Oct 31 23:34:07 2011 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-# $NetBSD: Makefile,v 1.1.1.1 2011/10/31 10:49:31 morr Exp $
-
-DISTNAME=      haproxy-1.4.18
-CATEGORIES=    www
-MASTER_SITES=  http://haproxy.1wt.eu/download/1.4/src/
-
-MAINTAINER=    morr%NetBSD.org@localhost
-HOMEPAGE=      http://haproxy.1wt.eu/
-COMMENT=       Reliable, high performance TCP/HTTP load balancer
-LICENSE=       gnu-gpl-v2
-
-PKG_DESTDIR_SUPPORT=   user-destdir
-
-USE_TOOLS+=            gmake
-BUILD_MAKE_FLAGS+=     TARGET=${TARGET}
-INSTALL_MAKE_FLAGS+=   TARGET=${TARGET}
-INSTALL_MAKE_FLAGS+=   PREFIX=${PREFIX}
-INSTALL_MAKE_FLAGS+=   DOCDIR=${PREFIX}/share/doc/${PKGBASE}
-INSTALL_MAKE_FLAGS+=   MANDIR=${PREFIX}/${PKGMANDIR}
-
-EGDIR=                 ${PREFIX}/share/examples/${PKGBASE}
-INSTALLATION_DIRS=     ${EGDIR} share/examples/rc.d
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "NetBSD"
-RCD_SCRIPTS=           haproxy
-INSTALLATION_DIRS+=    share/examples/rc.d
-.endif
-
-.if ${OPSYS} == "NetBSD"
-TARGET=netbsd
-.elif ${OPSYS} == "FreeBSD"
-TARGET=freebsd
-.elif ${OPSYS} == "OpenBSD"
-TARGET=openbsd
-.elif ${OPSYS} == "Linux"
-.  if !empty(OS_VERSION:M2.6.*)
-TARGET=linux26
-.  elif !empty(OS_VERSION:M2.4.*)
-.    if exists(/usr/include/linux/eventpoll.h)
-TARGET=linux24e
-.    else
-TARGET=linux24
-.    endif
-.  endif
-.else
-TARGET=generic
-.endif
-
-post-install:
-       ${INSTALL_DATA} ${WRKSRC}/examples/haproxy.cfg ${DESTDIR}${EGDIR}/
-
-.include "../../mk/bsd.pkg.mk"
diff -r 015fe99b6d09 -r 2401f6f16f60 www/haproxy/PLIST
--- a/www/haproxy/PLIST Mon Oct 31 23:34:07 2011 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2011/10/31 10:49:31 morr Exp $
-man/man1/haproxy.1
-sbin/haproxy
-share/doc/haproxy/architecture.txt
-share/doc/haproxy/configuration.txt
-share/doc/haproxy/haproxy-en.txt
-share/doc/haproxy/haproxy-fr.txt
-share/examples/haproxy/haproxy.cfg
-share/examples/rc.d/haproxy
diff -r 015fe99b6d09 -r 2401f6f16f60 www/haproxy/distinfo
--- a/www/haproxy/distinfo      Mon Oct 31 23:34:07 2011 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-$NetBSD: distinfo,v 1.1.1.1 2011/10/31 10:49:31 morr Exp $
-
-SHA1 (haproxy-1.4.18.tar.gz) = 191dbcb5880c711580693bd081ca5fdd8dde3012
-RMD160 (haproxy-1.4.18.tar.gz) = 16729f0519a47123d88e849ae95d600c590c8583
-Size (haproxy-1.4.18.tar.gz) = 820427 bytes
-SHA1 (patch-aa) = 6012886156a54054cebf7f184d69a0cd0b1ad17b
diff -r 015fe99b6d09 -r 2401f6f16f60 www/haproxy/files/haproxy.sh
--- a/www/haproxy/files/haproxy.sh      Mon Oct 31 23:34:07 2011 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-#!@RCD_SCRIPTS_SHELL@
-#
-# $NetBSD: haproxy.sh,v 1.1.1.1 2011/10/31 10:49:31 morr Exp $
-#
-
-# PROVIDE: haproxy
-# REQUIRE: network
-
-$_rc_subr_loaded . /etc/rc.subr
-
-name="haproxy"
-rcvar=$name
-command="/usr/pkg/sbin/${name}"
-conf_file="/usr/pkg/etc/${name}.cfg"
-required_files="${conf_file}"
-command_args="-f $conf_file"
-
-load_rc_config $name
-run_rc_command "$1"
diff -r 015fe99b6d09 -r 2401f6f16f60 www/haproxy/patches/patch-aa
--- a/www/haproxy/patches/patch-aa      Mon Oct 31 23:34:07 2011 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,53 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2011/10/31 10:49:31 morr Exp $
-
-Add support for NetBSD.
-
---- Makefile.orig      2011-03-09 08:00:16.000000000 +0000
-+++ Makefile
-@@ -71,7 +71,7 @@ DOCDIR = $(PREFIX)/doc/haproxy
- # Use TARGET=<target_name> to optimize for a specifc target OS among the
- # following list (use the default "generic" if uncertain) :
- #    generic, linux22, linux24, linux24e, linux26, solaris,
--#    freebsd, openbsd, cygwin, custom
-+#    freebsd, netbsd, openbsd, cygwin, custom
- TARGET =
- 
- #### TARGET CPU
-@@ -89,7 +89,6 @@ ARCH =
- 
- #### Toolchain options.
- # GCC is normally used both for compiling and linking.
--CC = gcc
- LD = $(CC)
- 
- #### Debug flags (typically "-g").
-@@ -228,6 +227,12 @@ ifeq ($(TARGET),freebsd)
-   USE_TPROXY     = implicit
-   USE_LIBCRYPT   = implicit
- else
-+ifeq ($(TARGET),netbsd)
-+  # This is for NetBSD
-+  USE_POLL       = implicit
-+  USE_KQUEUE     = implicit
-+  USE_TPROXY     = implicit
-+else
- ifeq ($(TARGET),openbsd)
-   # This is for OpenBSD >= 3.0
-   USE_POLL       = implicit
-@@ -242,6 +247,7 @@ ifeq ($(TARGET),cygwin)
-   TARGET_CFLAGS  = $(if $(filter 1.5.%, $(shell uname -r)), -DUSE_IPV6 -DAF_INET6=23 -DINET6_ADDRSTRLEN=46, )
- endif # cygwin
- endif # openbsd
-+endif # netbsd
- endif # freebsd
- endif # solaris
- endif # linux26
-@@ -473,7 +479,7 @@ all:
-       @echo "Please choose the target among the following supported list :"
-       @echo
-       @echo "   linux26, linux24, linux24e, linux22, solaris"
--      @echo "   freebsd, openbsd, cygwin, custom, generic"
-+      @echo "   freebsd, netbsd, openbsd, cygwin, custom, generic"
-       @echo
-       @echo "Use \"generic\" if you don't want any optimization, \"custom\" if you"
-       @echo "want to precisely tweak every option, or choose the target which"



Home | Main Index | Thread Index | Old Index