X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=net%2Fportmap%2FMakefile;h=720f8a555be56a19ed8240040c2e9550bd5b6e4b;hb=93c170df941280088acc20365094a6428221abcc;hp=a86aaa4562da2a1d23b408a07aa2f207f38d6b81;hpb=5360edce8f45be94248e74df88c9c3c4206bf3ce;p=openwrt%2Fsvn-archive%2Farchive.git diff --git a/net/portmap/Makefile b/net/portmap/Makefile index a86aaa4562..720f8a555b 100644 --- a/net/portmap/Makefile +++ b/net/portmap/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2006 OpenWrt.org +# Copyright (C) 2006-2008 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -9,13 +9,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=portmap -PKG_VERSION:=5beta +PKG_VERSION:=6.0 PKG_RELEASE:=2 -PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=ftp://ftp.porcupine.org/pub/security -PKG_MD5SUM:=781e16ed4487c4caa082c6fef09ead4f -PKG_CAT:=zcat +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz +PKG_SOURCE_URL:=http://neil.brown.name/portmap/ +PKG_MD5SUM:=ac108ab68bf0f34477f8317791aaf1ff PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)_$(PKG_VERSION) @@ -25,22 +24,25 @@ define Package/portmap SECTION:=net CATEGORY:=Network DEPENDS:=+libwrap - TITLE:=RPC Portmapper + TITLE:=The RPC Portmapper URL:=ftp://ftp.porcupine.org/pub/security endef -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) \ - $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -DHOSTS_ACCESS -DFACILITY=LOG_DAEMON -DIGNORE_SIGCHLD" \ - WRAP_LIB="-L$(STAGING_DIR)/usr/lib -lwrap" \ - all +define Package/portmap/description + Portmap is a server that converts RPC (Remote Procedure Call) program + numbers into DARPA protocol port numbers. endef -define Package/portmap/install - $(INSTALL_DIR) $(1)/usr/sbin +MAKE_FLAGS += \ + CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -DHOSTS_ACCESS -DFACILITY=LOG_DAEMON -DIGNORE_SIGCHLD" \ + RPCUSER="nobody" \ + WRAP_LIB="-L$(STAGING_DIR)/usr/lib -lwrap" \ + all + +define Package/portmap/install + $(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_BIN) $(PKG_BUILD_DIR)/portmap $(1)/usr/sbin/ - $(INSTALL_DIR) $(1)/etc/init.d + $(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_BIN) ./files/portmap.init $(1)/etc/init.d/portmap endef