Browse Source

pen: import from old packages feed

- update to latest version (v0.25.1)
 - add license info
 - add myself as maintainer

Signed-off-by: Nicolas Thill <nico@openwrt.org>
lilik-openwrt-22.03
Nicolas Thill 10 years ago
parent
commit
664258e3d5
1 changed files with 58 additions and 0 deletions
  1. +58
    -0
      net/pen/Makefile

+ 58
- 0
net/pen/Makefile View File

@ -0,0 +1,58 @@
#
# Copyright (C) 2006-2015 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=pen
PKG_VERSION:=0.25.1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=ftp://siag.nu/pub/pen/
PKG_MD5SUM:=13e517350ec3fbfa06a512a36067ae2b
PKG_LICENSE:=GPL-2.0+
PKG_LICENSE_FILES:=COPYING
PKG_MAINTAINER:=Nicolas Thill <nico@openwrt.org>
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/pen
SECTION:=net
CATEGORY:=Network
DEPENDS:=+libopenssl
TITLE:=Simple TCP load balancer
URL:=http://morestuff.siag.nu/category/pen/
endef
define Package/pen/description
This is pen, a load balancer for "simple" TCP based protocols
such as HTTP or SMTP. It allows several servers to appear as
one to the outside and automatically detects servers that are
down and distributes clients among the available servers.
This gives high availability and scalable performance.
endef
CONFIGURE_ARGS += \
--with-poll \
--with-ssl="$(STAGING_DIR)/usr" \
--without-geoip \
define Package/pen/install
$(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/mergelogs $(1)/usr/bin/
$(CP) $(PKG_INSTALL_DIR)/usr/bin/pen $(1)/usr/bin/
$(CP) $(PKG_INSTALL_DIR)/usr/bin/penctl $(1)/usr/bin/
$(CP) $(PKG_INSTALL_DIR)/usr/bin/penlog $(1)/usr/bin/
$(CP) $(PKG_INSTALL_DIR)/usr/bin/penlogd $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/penctl.cgi $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/penstats $(1)/usr/bin/
endef
$(eval $(call BuildPackage,pen))

Loading…
Cancel
Save