aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/rancid-devel
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-10-15 22:54:23 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-10-15 22:54:23 +0000
commitd2498df303318d1b560f349e27b41cfbe47a62d7 (patch)
treeb0f9eeb9830e3bde83500f8e5ae9672e06cfee97 /net-mgmt/rancid-devel
parentb61f7c04b1b297cc40a8e65643b08eab60c131a3 (diff)
downloadports-d2498df303318d1b560f349e27b41cfbe47a62d7.tar.gz
ports-d2498df303318d1b560f349e27b41cfbe47a62d7.zip
Notes
Diffstat (limited to 'net-mgmt/rancid-devel')
-rw-r--r--net-mgmt/rancid-devel/Makefile10
-rw-r--r--net-mgmt/rancid-devel/files/patch-bin::hpfilter.c20
2 files changed, 22 insertions, 8 deletions
diff --git a/net-mgmt/rancid-devel/Makefile b/net-mgmt/rancid-devel/Makefile
index cc5c23bf8f8c..ec6d4faf7a67 100644
--- a/net-mgmt/rancid-devel/Makefile
+++ b/net-mgmt/rancid-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= rancid
PORTVERSION= 2.2.2
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net
MASTER_SITES= ftp://ftp.shrubbery.net/pub/rancid/
@@ -38,12 +38,6 @@ MAN5= env.5 lg.conf.5 cloginrc.5 router.db.5
CONFIG_FILES= bin/env util/lg/lg.conf
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 501000
-BROKEN= "Does not compile"
-.endif
-
post-install:
@ ${SED} -e "s:%%INSTDIR%%:${PREFIX}/rancid:g" pkg-message >${PKGMESSAGE}
.if !defined(BATCH)
@@ -58,4 +52,4 @@ post-install:
fi
.endfor
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net-mgmt/rancid-devel/files/patch-bin::hpfilter.c b/net-mgmt/rancid-devel/files/patch-bin::hpfilter.c
new file mode 100644
index 000000000000..fd749ebde788
--- /dev/null
+++ b/net-mgmt/rancid-devel/files/patch-bin::hpfilter.c
@@ -0,0 +1,20 @@
+--- bin/hpfilter.c.orig Wed Oct 15 15:52:48 2003
++++ bin/hpfilter.c Wed Oct 15 15:53:08 2003
+@@ -382,7 +382,7 @@
+ usage(void)
+ {
+ fprintf(stderr,
+-"usage: %s [-hv] <telnet|ssh> <hostname>
++"usage: %s [-hv] <telnet|ssh> <hostname>\n\
+ ", progname);
+ return;
+ }
+@@ -391,7 +391,7 @@
+ vers(void)
+ {
+ fprintf(stderr,
+-"%s: %s version %s
++"%s: %s version %s\n\
+ ", progname, package, version);
+ return;
+ }