From 0ba43da34dfc0180ceef71147a4747f19bf98db1 Mon Sep 17 00:00:00 2001 From: pi Date: Tue, 29 Jul 2014 19:16:43 +0000 Subject: net-mgmt/sendip: fix help2man script PR: 192167 Approved by: coco@executive-computing.de (maintainer) --- net-mgmt/sendip/Makefile | 2 +- net-mgmt/sendip/files/patch-Makefile | 13 +++++++++++-- net-mgmt/sendip/files/patch-help2man | 8 ++++++++ 3 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 net-mgmt/sendip/files/patch-help2man (limited to 'net-mgmt/sendip') diff --git a/net-mgmt/sendip/Makefile b/net-mgmt/sendip/Makefile index 4204bb22549d..f3b3d0e35b20 100644 --- a/net-mgmt/sendip/Makefile +++ b/net-mgmt/sendip/Makefile @@ -3,7 +3,7 @@ PORTNAME= sendip PORTVERSION= 2.5 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= net-mgmt ipv6 MASTER_SITES= http://www.earth.li/projectpurple/files/ diff --git a/net-mgmt/sendip/files/patch-Makefile b/net-mgmt/sendip/files/patch-Makefile index 2562ded5f947..5b4df1871deb 100644 --- a/net-mgmt/sendip/files/patch-Makefile +++ b/net-mgmt/sendip/files/patch-Makefile @@ -1,5 +1,5 @@ ---- Makefile.orig Tue Jan 28 13:03:48 2003 -+++ Makefile Tue Jan 28 13:04:35 2003 +--- Makefile.orig 2002-10-12 19:28:00.000000000 +0200 ++++ Makefile 2014-07-27 16:43:13.000000000 +0200 @@ -1,23 +1,23 @@ #configureable stuff -PREFIX ?= /usr/local @@ -34,3 +34,12 @@ PROGS= sendip BASEPROTOS= ipv4.so ipv6.so +@@ -39,7 +39,7 @@ + $(CC) -o $@ $(LDFLAGS) $(CFLAGS) $+ ; \ + fi" + +-sendip.1: ./help2man $(PROGS) $(PROTOS) VERSION ++sendip.1: help2man $(PROGS) $(PROTOS) VERSION + ./help2man -n "Send arbitrary IP packets" -N >sendip.1 + + sendip.spec: sendip.spec.in VERSION diff --git a/net-mgmt/sendip/files/patch-help2man b/net-mgmt/sendip/files/patch-help2man new file mode 100644 index 000000000000..bb33fc5685d9 --- /dev/null +++ b/net-mgmt/sendip/files/patch-help2man @@ -0,0 +1,8 @@ +--- help2man.orig 2001-11-23 18:50:52.000000000 +0100 ++++ help2man 2014-07-27 16:48:21.000000000 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/perl -w ++#!/usr/bin/env perl + + + # MODIFICATION OF GNU's help2man -- cgit