FreeBSD Bugzilla – Attachment 162164 Details for
Bug 190332
net/pptpclient fails with "/bin/ip: not found"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
pptpclient.diff (text/plain), 1.57 KB, created by
Kurt Jaeger
on 2015-10-17 19:55:17 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Kurt Jaeger
Created:
2015-10-17 19:55:17 UTC
Size:
1.57 KB
patch
obsolete
>diff -r -u -N net/pptpclient/Makefile /home/pi/myp/net/pptpclient/Makefile >--- net/pptpclient/Makefile 2015-08-01 00:46:35.095816000 +0200 >+++ /home/pi/myp/net/pptpclient/Makefile 2015-10-17 21:54:39.549163000 +0200 >@@ -3,7 +3,7 @@ > > PORTNAME= pptpclient > PORTVERSION= 1.8.0 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= net > MASTER_SITES= SF/${PORTNAME}/pptp/pptp-${PORTVERSION} > DISTNAME= pptp-${PORTVERSION} >diff -r -u -N net/pptpclient/files/patch-Makefile /home/pi/myp/net/pptpclient/files/patch-Makefile >--- net/pptpclient/files/patch-Makefile 1970-01-01 01:00:00.000000000 +0100 >+++ /home/pi/myp/net/pptpclient/files/patch-Makefile 2015-10-17 21:50:34.000000000 +0200 >@@ -0,0 +1,12 @@ >+--- Makefile.orig 2015-10-17 19:48:20 UTC >++++ Makefile >+@@ -7,7 +7,8 @@ RELEASE= >+ PPPD = /usr/sbin/pppd >+ # Solaris >+ # PPPD = /usr/bin/pppd >+-IP = /bin/ip >++# FreeBSD >++IP = /sbin/route >+ ################################################################# >+ >+ BINDIR=$(DESTDIR)/usr/sbin >diff -r -u -N net/pptpclient/files/patch-routing.c /home/pi/myp/net/pptpclient/files/patch-routing.c >--- net/pptpclient/files/patch-routing.c 1970-01-01 01:00:00.000000000 +0100 >+++ /home/pi/myp/net/pptpclient/files/patch-routing.c 2015-10-17 21:50:34.000000000 +0200 >@@ -0,0 +1,11 @@ >+--- routing.c.orig 2015-10-17 19:50:11 UTC >++++ routing.c >+@@ -147,7 +147,7 @@ void routing_start(void) { >+ char buf[256]; >+ FILE *p; >+ >+- snprintf(buf, 255, "%s route replace %s", IP_BINARY, route); >++ snprintf(buf, 255, "%s route change %s", IP_BINARY, route); >+ p = popen(buf, "r"); >+ pclose(p); >+ #endif /* Solaris */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 190332
: 162164