portmap: remove package as it is obsolete
PATCH 1/1 portmap: remove package as it is obsolete
The upstream tarball isn't available, no releases since ten years. The latest change to upstream git is from 2014. Better use rpcbind for any RPC portmapper service.
--- Config.in.legacy | 8 ++ package/Config.in | 1 - .../0001-README-fix-typo-in-tcp-wrapper-doc.patch | 26 ------ ...0002-NO_PIE-make-PIE-support-controllable.patch | 53 ------------ ...K-control-usage-of-fork-for-nommu-systems.patch | 95 ---------------------- ...ERROR-control-overriding-of-perror-symbol.patch | 65 --------------- package/portmap/0005-tcpd.patch | 18 ---- package/portmap/Config.in | 16 ---- package/portmap/S13portmap | 44 ---------- package/portmap/portmap.hash | 2 - package/portmap/portmap.mk | 33 -------- 11 files changed, 8 insertions(+), 353 deletions(-) delete mode 100644 package/portmap/0001-README-fix-typo-in-tcp-wrapper-doc.patch delete mode 100644 package/portmap/0002-NO_PIE-make-PIE-support-controllable.patch delete mode 100644 package/portmap/0003-NO_FORK-control-usage-of-fork-for-nommu-systems.patch delete mode 100644 package/portmap/0004-NO_PERROR-control-overriding-of-perror-symbol.patch delete mode 100644 package/portmap/0005-tcpd.patch delete mode 100644 package/portmap/Config.in delete mode 100755 package/portmap/S13portmap delete mode 100644 package/portmap/portmap.hash delete mode 100644 package/portmap/portmap.mk
Config.in.legacy +8 -0
@@ -145,6 +145,14 @@ endif ############################################################################### comment "Legacy options removed in 2017.05" +config BR2_PACKAGE_PORTMAP + bool "portmap has been removed" + select BR2_LEGACY + help + The portmap upstream tarball is removed, no releases since + ten years and latest change in upstream git in 2014. + You should better use rpcbind as a RPC portmapper. + config BR2_TARGET_ROOTFS_EXT2_EXTRA_BLOCKS int "extra size in blocks has been removed" default 0
package/Config.in +0 -1
@@ -1636,7 +1636,6 @@ endif source "package/openvpn/Config.in" source "package/p910nd/Config.in" source "package/phidgetwebservice/Config.in" - source "package/portmap/Config.in" source "package/pound/Config.in" source "package/pppd/Config.in" source "package/pptp-linux/Config.in"
package/portmap/0001-README-fix-typo-in-tcp-wrapper-doc.patch deleted +0 -26
@@ -1,26 +0,0 @@ -From af4a27a17bbdbe941f2462e116c2e4c8ade110e3 Mon Sep 17 00:00:00 2001 -From: Mike Frysinger <[email protected]> -Date: Fri, 19 Nov 2010 23:35:20 -0500 -Subject: [PATCH 1/4] README: fix typo in tcp wrapper doc - -Signed-off-by: Mike Frysinger <[email protected]> ---- - README | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -diff --git a/README b/README -index 0da54cc..916de7e 100644 ---- a/README -+++ b/README -@@ -18,7 +18,7 @@ There is no "./configure", just use "make". - - Some make variable can be used to control compilation. - -- NO_TCP_WRAPPER= if non-empty, doen't use tcp_wrappers -+ NO_TCP_WRAPPER= if non-empty, don't use tcp_wrappers - USE_DNS= if set, tcp_wrappers can check peers based on hostname - as well as IP address. This should only be used if you - are certain that gethostbyname will never trigger a --- -1.7.3.1 -
package/portmap/0002-NO_PIE-make-PIE-support-controllable.patch deleted +0 -53
53 lines not on this page · raw message
package/portmap/0003-NO_FORK-control-usage-of-fork-for-nommu-systems.patch deleted +0 -95
95 lines not on this page · raw message
package/portmap/0004-NO_PERROR-control-overriding-of-perror-symbol.patch deleted +0 -65
65 lines not on this page · raw message
package/portmap/0005-tcpd.patch deleted +0 -18
@@ -1,18 +0,0 @@ -Enable compile without tcp-wrappers - -Patch by Timothy Redaelli <[email protected]> - -http://bugs.gentoo.org/178242 - ---- portmap_6.0/pmap_check.c -+++ portmap_6.0/pmap_check.c -@@ -44,7 +44,9 @@ - #include <netinet/in.h> - #include <rpc/rpcent.h> - #endif -+#ifdef HOSTS_ACCESS - #include <tcpd.h> -+#endif - #include <arpa/inet.h> - #include <grp.h> -
package/portmap/Config.in deleted +0 -16
@@ -1,16 +0,0 @@ -config BR2_PACKAGE_PORTMAP - bool "portmap" - depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC - # portmap and rpcbind provide the same feature, so they are - # mutually exclusive. rpcbind is the newer, preferred - # implementation. - depends on !BR2_PACKAGE_RPCBIND - help - The standard portmapper for RPC services. - - Note that portmap is being deprecated in favour of rpcbind. - - http://neil.brown.name/portmap/ - -comment "portmap needs a toolchain w/ RPC" - depends on !BR2_TOOLCHAIN_HAS_NATIVE_RPC
package/portmap/S13portmap deleted +0 -44
44 lines not on this page · raw message
package/portmap/portmap.hash deleted +0 -2
@@ -1,2 +0,0 @@ -# Locally calculated -sha256 02c820d39f3e6e729d1bea3287a2d8a6c684f1006fb9612f97dcad4a281d41de portmap-6.0.tgz
package/portmap/portmap.mk deleted +0 -33
@@ -1,33 +0,0 @@ -################################################################################ -# -# portmap -# -################################################################################ - -PORTMAP_VERSION = 6.0 -PORTMAP_SOURCE = portmap-$(PORTMAP_VERSION).tgz -PORTMAP_SITE = http://neil.brown.name/portmap -PORTMAP_LICENSE = BSD-4-Clause (portmap.c) SunRPC License (portmap.c from_local.c) -PORTMAP_LICENSE_FILES = portmap.c from_local.c -PORTMAP_SBINS = portmap pmap_dump pmap_set - -PORTMAP_FLAGS = NO_TCP_WRAPPER=1 NO_PIE=1 NO_PERROR=1 -ifeq ($(BR2_USE_MMU),) -PORTMAP_FLAGS += NO_FORK=1 -endif - -define PORTMAP_BUILD_CMDS - $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(PORTMAP_FLAGS) -endef - -define PORTMAP_INSTALL_TARGET_CMDS - for sbin in $(PORTMAP_SBINS); do \ - $(INSTALL) -D -m 0755 $(@D)/$$sbin $(TARGET_DIR)/sbin/$$sbin || exit 1; \ - done -endef - -define PORTMAP_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/portmap/S13portmap $(TARGET_DIR)/etc/init.d/S13portmap -endef - -$(eval $(generic-package))
Signature · 1 line
2.1.4
PATCH 1/1 portmap: remove package as it is obsolete
Quoted 33 lines · Waldemar Brodkorb
The upstream tarball isn't available, no releases since ten years. The latest change to upstream git is from 2014. Better use rpcbind for any RPC portmapper service.
Signed-off-by Waldemar Brodkorb <[email protected]>--- Config.in.legacy | 8 ++ package/Config.in | 1 - .../0001-README-fix-typo-in-tcp-wrapper-doc.patch | 26 ------ ...0002-NO_PIE-make-PIE-support-controllable.patch | 53 ------------ ...K-control-usage-of-fork-for-nommu-systems.patch | 95 ---------------------- ...ERROR-control-overriding-of-perror-symbol.patch | 65 --------------- package/portmap/0005-tcpd.patch | 18 ---- package/portmap/Config.in | 16 ---- package/portmap/S13portmap | 44 ---------- package/portmap/portmap.hash | 2 - package/portmap/portmap.mk | 33 -------- 11 files changed, 8 insertions(+), 353 deletions(-) delete mode 100644 package/portmap/0001-README-fix-typo-in-tcp-wrapper-doc.patch delete mode 100644 package/portmap/0002-NO_PIE-make-PIE-support-controllable.patch delete mode 100644 package/portmap/0003-NO_FORK-control-usage-of-fork-for-nommu-systems.patch delete mode 100644 package/portmap/0004-NO_PERROR-control-overriding-of-perror-symbol.patch delete mode 100644 package/portmap/0005-tcpd.patch delete mode 100644 package/portmap/Config.in delete mode 100755 package/portmap/S13portmap delete mode 100644 package/portmap/portmap.hash delete mode 100644 package/portmap/portmap.mkConfig.in.legacy +0
-0
Config.in.legacy endif · line 150
Quoted 6 lines
Config.in.legacy +3
-0@@ -145,6 +145,14 @@ endif ############################################################################### comment "Legacy options removed in 2017.05" +config BR2_PACKAGE_PORTMAP + bool "portmap has been removed" + select BR2_LEGACY
Shouldn't we add 'select BR2_PACKAGE_RPCBIND' here to make things easier for
the user?
Config.in.legacy endif · line 156
Quoted 6 lines
Config.in.legacy +5
-0+ help + The portmap upstream tarball is removed, no releases since + ten years and latest change in upstream git in 2014. + You should better use rpcbind as a RPC portmapper. + config BR2_TARGET_ROOTFS_EXT2_EXTRA_BLOCKS
Note to Thomas/Peter: when the rest of the ext2 refactoring stuff is committed,
please keep their legacy entries together, i.e. without inserting the portmap in the middle. You'll get a merge conflict so it will be obvious :-)
Regards,
Arnout
Quoted 2 lines
Config.in.legacy +0
-0int "extra size in blocks has been removed" default 0
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
Thomas Petazzoni
AppliedPATCH 1/1 portmap: remove package as it is obsolete
In reply to Waldemar BrodkorbHello,
Quoted 19 lines · Waldemar Brodkorb
The upstream tarball isn't available, no releases since ten years. The latest change to upstream git is from 2014. Better use rpcbind for any RPC portmapper service.
Signed-off-by Waldemar Brodkorb <[email protected]>--- Config.in.legacy | 8 ++ package/Config.in | 1 - .../0001-README-fix-typo-in-tcp-wrapper-doc.patch | 26 ------ ...0002-NO_PIE-make-PIE-support-controllable.patch | 53 ------------ ...K-control-usage-of-fork-for-nommu-systems.patch | 95 ---------------------- ...ERROR-control-overriding-of-perror-symbol.patch | 65 --------------- package/portmap/0005-tcpd.patch | 18 ---- package/portmap/Config.in | 16 ---- package/portmap/S13portmap | 44 ---------- package/portmap/portmap.hash | 2 - package/portmap/portmap.mk | 33 -------- 11 files changed, 8 insertions(+), 353 deletions(-) delete mode 100644 package/portmap/0001-README-fix-typo-in-tcp-wrapper-doc.patch
Quoted 8 lines
delete mode 100644 package/portmap/0002-NO_PIE-make-PIE-support-controllable.patch delete mode 100644 package/portmap/0003-NO_FORK-control-usage-of-fork-for-nommu-systems.patch delete mode 100644 package/portmap/0004-NO_PERROR-control-overriding-of-perror-symbol.patch delete mode 100644 package/portmap/0005-tcpd.patch delete mode 100644 package/portmap/Config.in delete mode 100755 package/portmap/S13portmap delete mode 100644 package/portmap/portmap.hash delete mode 100644 package/portmap/portmap.mk
Applied to master, after adding a select for rpcbind, as suggested by Arnout. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com