2 # Copyright (C) 2006-2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://siag.nu
/pub
/pen
/
16 PKG_HASH
:=a3306bfb02619b103ff431002bb91079048bf2dd24f739bf38e373860558cd27
19 PKG_LICENSE_FILES
:=COPYING
20 PKG_MAINTAINER
:=Nicolas Thill
<nico@openwrt.org
>
24 include $(INCLUDE_DIR
)/package.mk
30 TITLE
:=Simple TCP load balancer
31 URL
:=http
://morestuff.siag.nu
/category
/pen
/
34 define Package
/pen
/description
35 This is pen
, a load balancer for
"simple" TCP based protocols
36 such
as HTTP or SMTP. It allows several servers to appear
as
37 one to the outside and automatically detects servers that are
38 down and distributes clients among the available servers.
39 This gives high availability and scalable performance.
44 --with-ssl
="$(STAGING_DIR)/usr" \
47 define Package
/pen
/install
48 $(INSTALL_DIR
) $(1)/usr
/bin
49 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/mergelogs
$(1)/usr
/bin
/
50 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/pen
$(1)/usr
/bin
/
51 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/penctl
$(1)/usr
/bin
/
52 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/penlog
$(1)/usr
/bin
/
53 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/penlogd
$(1)/usr
/bin
/
54 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/penctl.cgi
$(1)/usr
/bin
/
55 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/penstats
$(1)/usr
/bin
/
58 $(eval
$(call BuildPackage
,pen
))