From: nico Date: Tue, 25 Sep 2007 07:15:11 +0000 (+0000) Subject: move polipo from ipv6 to net, put it in 'Proxy Servers' submenu, bump release number X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=5b6433a7421d5b244dfb88652b78d177a6711c7c;p=packages.git move polipo from ipv6 to net, put it in 'Proxy Servers' submenu, bump release number git-svn-id: svn://svn.openwrt.org/openwrt/packages@9013 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/ipv6/polipo/Makefile b/ipv6/polipo/Makefile deleted file mode 100644 index 525cc328c..000000000 --- a/ipv6/polipo/Makefile +++ /dev/null @@ -1,52 +0,0 @@ -# -# Copyright (C) 2007 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# -# $Id: Makefile 8594 2007-09-03 14:13:19Z nico $ - -include $(TOPDIR)/rules.mk - -PKG_NAME:=polipo -PKG_VERSION:=1.0.2 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=http://www.pps.jussieu.fr/~jch/software/files/$(PKG_NAME)/ -PKG_MD5SUM:=2d1d8af414429e5823675a781604c70a - -include $(INCLUDE_DIR)/package.mk - -define Package/polipo - SECTION:=ipv6 - CATEGORY:=IPv6 - TITLE:=a caching web proxy - URL:=http://www.pps.jussieu.fr/~jch/software/polipo/ -endef - -define Package/polipo/description - Polipo is a small and fast caching web proxy (a web cache, an HTTP proxy, a proxy server). - While Polipo was designed to be used by one person or a small group of people, there is - nothing that prevents it from being used by a larger group. -endef - -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) \ - CC="$(TARGET_CC)" \ - CFLAGS="$(TARGET_CFLAGS)" \ - polipo -endef - -define Package/polipo/conffiles -/etc/polipo/polipo.conf -endef - -define Package/polipo/install - $(INSTALL_DIR) $(1)/usr/sbin - $(INSTALL_BIN) $(PKG_BUILD_DIR)/polipo $(1)/usr/sbin/ - $(INSTALL_DIR) $(1)/etc/polipo - $(INSTALL_CONF) $(PKG_BUILD_DIR)/config.sample $(1)/etc/polipo/polipo.conf -endef - -$(eval $(call BuildPackage,polipo)) diff --git a/net/polipo/Makefile b/net/polipo/Makefile new file mode 100644 index 000000000..73478c162 --- /dev/null +++ b/net/polipo/Makefile @@ -0,0 +1,54 @@ +# +# Copyright (C) 2007 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=polipo +PKG_VERSION:=1.0.2 +PKG_RELEASE:=2 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://www.pps.jussieu.fr/~jch/software/files/$(PKG_NAME)/ +PKG_MD5SUM:=2d1d8af414429e5823675a781604c70a + +include $(INCLUDE_DIR)/package.mk + +define Package/polipo + SUBMENU:=Proxy Servers + SECTION:=net + CATEGORY:=Network + TITLE:=a caching web proxy + URL:=http://www.pps.jussieu.fr/~jch/software/polipo/ +endef + +define Package/polipo/description + Polipo is a small and fast caching web proxy (a web cache, an HTTP proxy, + a proxy server). While Polipo was designed to be used by one person or a + small group of people, there is nothing that prevents it from being used + by a larger group. +endef + +define Build/Compile + $(MAKE) -C $(PKG_BUILD_DIR) \ + CC="$(TARGET_CC)" \ + CFLAGS="$(TARGET_CFLAGS)" \ + polipo +endef + +define Package/polipo/conffiles +/etc/polipo/polipo.conf +endef + +define Package/polipo/install + $(INSTALL_DIR) $(1)/usr/sbin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/polipo $(1)/usr/sbin/ + $(INSTALL_DIR) $(1)/etc/polipo + $(INSTALL_CONF) $(PKG_BUILD_DIR)/config.sample $(1)/etc/polipo/polipo.conf +endef + +$(eval $(call BuildPackage,polipo))