Bug#648361: uninstallable on kfreebsd-amd64
Hi Robert Yes it could be possible to use it to create a ppp tunnel over ethernet but it won't be encrypted which is the main purpose of the package. // Ola On Tue, Mar 20, 2012 at 08:51:47PM +0100, Robert Millan wrote: El 19 de març de 2012 21:30, Ola Lundqvist o...@debian.org ha escrit: Hi After some research I have found out the following thing from a forum http://lists.freebsd.org/pipermail/freebsd-questions/2005-June/090529.html http://www.mreriksson.net/howtos/netbsd-pptp-client/ which discusses how to set up pptpclient on NetBSD and there he mentioned about installing the PPPD-MPPE package which I did't do in my FreeBSD box since I failed to find the said pacakge in /usr/ports. I have a slight idea that I really need to have this installed because when I look at the properties ... Based on this it looks like we have a dependency on a pppd-mppe package that I guess is not available in Debian kFreeBSD port. Or am I wrong here? Due to this I have decided to solve this bug by changing from any to linux-any instead until someone can confirm that this actually works. I can't see any reference to MPPE in the port, so in principle I don't think it's needed. -- Robert Millan -- --- Inguza Technology AB --- MSc in Information Technology / o...@inguza.comAnnebergsslingan 37\ | o...@debian.org 654 65 KARLSTAD| | http://inguza.com/Mobile: +46 (0)70-332 1551 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#648361: uninstallable on kfreebsd-amd64
Hi Robert MPPE is needed for pptp to work with encryption. PPTP without encryption may be useful in some very specific cases but most people would be quite confused about not having it. So I'll choose this solution until someone can confirm that MPPE works as well. Thanks for your patience with me. :-) // Ola On Tue, Mar 20, 2012 at 08:51:47PM +0100, Robert Millan wrote: El 19 de març de 2012 21:30, Ola Lundqvist o...@debian.org ha escrit: Hi After some research I have found out the following thing from a forum http://lists.freebsd.org/pipermail/freebsd-questions/2005-June/090529.html http://www.mreriksson.net/howtos/netbsd-pptp-client/ which discusses how to set up pptpclient on NetBSD and there he mentioned about installing the PPPD-MPPE package which I did't do in my FreeBSD box since I failed to find the said pacakge in /usr/ports. I have a slight idea that I really need to have this installed because when I look at the properties ... Based on this it looks like we have a dependency on a pppd-mppe package that I guess is not available in Debian kFreeBSD port. Or am I wrong here? Due to this I have decided to solve this bug by changing from any to linux-any instead until someone can confirm that this actually works. I can't see any reference to MPPE in the port, so in principle I don't think it's needed. -- Robert Millan -- - Ola Lundqvist --- / o...@debian.org Annebergsslingan 37 \ | o...@inguza.com 654 65 KARLSTAD | | http://inguza.com/ +46 (0)70-332 1551 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#648361: uninstallable on kfreebsd-amd64
El 19 de març de 2012 21:30, Ola Lundqvist o...@debian.org ha escrit: Hi After some research I have found out the following thing from a forum http://lists.freebsd.org/pipermail/freebsd-questions/2005-June/090529.html http://www.mreriksson.net/howtos/netbsd-pptp-client/ which discusses how to set up pptpclient on NetBSD and there he mentioned about installing the PPPD-MPPE package which I did't do in my FreeBSD box since I failed to find the said pacakge in /usr/ports. I have a slight idea that I really need to have this installed because when I look at the properties ... Based on this it looks like we have a dependency on a pppd-mppe package that I guess is not available in Debian kFreeBSD port. Or am I wrong here? Due to this I have decided to solve this bug by changing from any to linux-any instead until someone can confirm that this actually works. I can't see any reference to MPPE in the port, so in principle I don't think it's needed. -- Robert Millan -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#648361: uninstallable on kfreebsd-amd64
Hi After some research I have found out the following thing from a forum http://lists.freebsd.org/pipermail/freebsd-questions/2005-June/090529.html http://www.mreriksson.net/howtos/netbsd-pptp-client/ which discusses how to set up pptpclient on NetBSD and there he mentioned about installing the PPPD-MPPE package which I did't do in my FreeBSD box since I failed to find the said pacakge in /usr/ports. I have a slight idea that I really need to have this installed because when I look at the properties ... Based on this it looks like we have a dependency on a pppd-mppe package that I guess is not available in Debian kFreeBSD port. Or am I wrong here? Due to this I have decided to solve this bug by changing from any to linux-any instead until someone can confirm that this actually works. Best regards, // Ola On Sat, Mar 17, 2012 at 11:30:14AM +0100, Robert Millan wrote: tags 648361 - moreinfo thanks Hi, We should find a solution to this before the release, as the package is available in the archive but unusable the problem is release-critical. I'm afraid I can't test PPTP, I can only confirm my patch builds succesfuly. If you're comfortable applying my patch nevertheless, then please do so. Otherwise you could also set Architecture to linux-any until we're ready to provide GNU/kFreeBSD support. debian-bsd: if someone can test PPTP on GNU/kFreeBSD using my patch, please do! Thanks! -- Robert Millan -- - Ola Lundqvist --- / o...@debian.org Annebergsslingan 37 \ | o...@inguza.com 654 65 KARLSTAD | | http://inguza.com/ +46 (0)70-332 1551 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#648361: uninstallable on kfreebsd-amd64
tags 648361 - moreinfo thanks Hi, We should find a solution to this before the release, as the package is available in the archive but unusable the problem is release-critical. I'm afraid I can't test PPTP, I can only confirm my patch builds succesfuly. If you're comfortable applying my patch nevertheless, then please do so. Otherwise you could also set Architecture to linux-any until we're ready to provide GNU/kFreeBSD support. debian-bsd: if someone can test PPTP on GNU/kFreeBSD using my patch, please do! Thanks! -- Robert Millan -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#648361: uninstallable on kfreebsd-amd64
2011/11/15 Ola Lundqvist o...@inguza.com: Notice how my patch enables -DUSER_PPP in CFLAGS. This has a significant impact on the codepaths, most likely disabling the kernel-specific code you had in mind. When looking deeper into this it looks like your change is only applicable to GNU/kFreeBSD, right? Yes. Probably better to use: ifneq (, $(filter FreeBSD GNU/kFreeBSD, $(UNAME))) or similar. However I have one note on the patch. I see that you use some patches/series function. I have not used that before. I have simply applied the patches in the old fashioned way. Is it ok if I continue that way? I find the new patch mechanism a bit too slow and not very fail safe. Of course, it's your package :-) -- Robert Millan -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#648361: uninstallable on kfreebsd-amd64
Robert Millan r...@debian.org writes: Yes. Probably better to use: ifneq (, $(filter FreeBSD GNU/kFreeBSD, $(UNAME))) Is this the recommended way? If yes I'll add it to the FAQ next to http://wiki.debian.org/Debian_GNU/kFreeBSD_FAQ#Q._How_do_I_detect_kfreebsd_with_preprocessor_directives_in_a_C_program.3F -Timo -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#648361: uninstallable on kfreebsd-amd64
[ CCing debian-bsd; if someone can test the patched version of PPTP on GNU/kFreeBSD, please do and report. Thanks! ] Hi Ola, 2011/11/13 Ola Lundqvist o...@debian.org: Have you tested to install this package and actually seen that it works in practice? The reason I ask is that as far as I know this tool depends on the mppe support in the Linux kernel. I may be wrong however. I do not want to apply this until I have it confirmed that it actually works to have a fully working mppe tunnel. I'm afraid I can't test it myself. However, IMHO presence in the FreeBSD ports collection is a good indicator that the (patched) version of pptp actually works with the kernel of FreeBSD. Notice how my patch enables -DUSER_PPP in CFLAGS. This has a significant impact on the codepaths, most likely disabling the kernel-specific code you had in mind. Given the situation, I would find it reasonable if my explanation is not sufficient and you need further reassurance that pptp works on GNU/kFreeBSD before providing it. If that's the case, note that its current state doesn't fit with this intent either (since it's currently not just uninstallable but also unusable in case this was overriden). An alternate solution would be to disable pptp on GNU/kFreeBSD by marking it Linux-specific (Architecture: linux-any) until someone can properly test it. -- Robert Millan -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#648361: uninstallable on kfreebsd-amd64
Hi Robert, On Mon, Nov 14, 2011 at 07:14:35PM +0100, Robert Millan wrote: [ CCing debian-bsd; if someone can test the patched version of PPTP on GNU/kFreeBSD, please do and report. Thanks! ] Yes that would be very welcome! Hi Ola, 2011/11/13 Ola Lundqvist o...@debian.org: Have you tested to install this package and actually seen that it works in practice? The reason I ask is that as far as I know this tool depends on the mppe support in the Linux kernel. I may be wrong however. I do not want to apply this until I have it confirmed that it actually works to have a fully working mppe tunnel. I'm afraid I can't test it myself. However, IMHO presence in the FreeBSD ports collection is a good indicator that the (patched) version of pptp actually works with the kernel of FreeBSD. That is an interesting point. I found an interesting one as well here on the pptpclient home page: http://pptpclient.sourceforge.net/ PPTP Client is a Linux, FreeBSD, NetBSD and OpenBSD client... There is also information available here http://www.freebsddiary.org/pptp.php There the installation seems to be simple: cd /usr/ports/net/pptpclient make install Notice how my patch enables -DUSER_PPP in CFLAGS. This has a significant impact on the codepaths, most likely disabling the kernel-specific code you had in mind. When looking deeper into this it looks like your change is only applicable to GNU/kFreeBSD, right? Given the situation, I would find it reasonable if my explanation is not sufficient and you need further reassurance that pptp works on GNU/kFreeBSD before providing it. If that's the case, note that its current state doesn't fit with this intent either (since it's currently not just uninstallable but also unusable in case this was overriden). I thought the package was linux only, but obviously I was wrong. An alternate solution would be to disable pptp on GNU/kFreeBSD by marking it Linux-specific (Architecture: linux-any) until someone can properly test it. Oh. My mistake I thought this one was linux only. My bad. In this case I think I should apply this as a first step. However I have one note on the patch. I see that you use some patches/series function. I have not used that before. I have simply applied the patches in the old fashioned way. Is it ok if I continue that way? I find the new patch mechanism a bit too slow and not very fail safe. Best regards, // Ola -- Robert Millan -- --- Inguza Technology AB --- MSc in Information Technology / o...@inguza.comAnnebergsslingan 37\ | o...@debian.org 654 65 KARLSTAD| | http://inguza.com/Mobile: +46 (0)70-332 1551 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#648361: uninstallable on kfreebsd-amd64
tags 648361 + moreinfo help thanks Hi Robert Have you tested to install this package and actually seen that it works in practice? The reason I ask is that as far as I know this tool depends on the mppe support in the Linux kernel. I may be wrong however. I do not want to apply this until I have it confirmed that it actually works to have a fully working mppe tunnel. Best regards, // Ola On Thu, Nov 10, 2011 at 08:20:39PM +0100, Robert Millan wrote: Package: pptp-linux Version: 1.7.2-6 Severity: grave Tags: patch User: debian-...@lists.debian.org Usertags: kfreebsd Hi, This package is uninstallable on kfreebsd-amd64 because of its dependency on ppp. On Debian GNU/kFreeBSD, equivalent (but not CLI-compatible) functionality is provided by freebsd-ppp package. It appears that pptp-linux includes support for this alternate interface. Attached patch should fix the dependency problem and enable interaction with freebsd-ppp in upstream source. It is loosely based on this patch [1] from the FreeBSD ports collection. [1] http://www.freebsd.org/cgi/cvsweb.cgi/ports/net/pptpclient/files/patch-aa?rev=1.6 -- System Information: Debian Release: 6.0.3 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: kfreebsd-amd64 (x86_64) Kernel: kFreeBSD 8.1-1-amd64 Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash === modified file 'debian/control' --- debian/control2011-11-10 19:12:51 + +++ debian/control2011-11-10 19:15:39 + @@ -6,8 +6,8 @@ Standards-Version: 3.9.0 Build-Depends: debhelper (= 7.0) Package: pptp-linux -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, ppp (= 2.4.2), binutils +Architecture: linux-any kfreebsd-any +Depends: ${shlibs:Depends}, ${misc:Depends}, ppp (= 2.4.2) [!kfreebsd-any] | freebsd-ppp [kfreebsd-any], binutils Description: Point-to-Point Tunneling Protocol (PPTP) Client Client for the proprietary Microsoft Point-to-Point Tunneling Protocol, PPTP. Allows connection to a PPTP based VPN as used === added file 'debian/patches/kfreebsd-gnu.diff' --- debian/patches/kfreebsd-gnu.diff 1970-01-01 00:00:00 + +++ debian/patches/kfreebsd-gnu.diff 2011-11-10 19:14:57 + @@ -0,0 +1,29 @@ +--- a/Makefile b/Makefile +@@ -2,9 +2,15 @@ + VERSION=1.7.2 + RELEASE= + ++UNAME = $(shell uname -s) ++ + # + # CHANGE THIS LINE to point to the location of your pppd binary. ++ifeq ($(UNAME), GNU/kFreeBSD) ++PPPD = /usr/sbin/ppp ++else + PPPD = /usr/sbin/pppd ++endif + # + + BINDIR=$(DESTDIR)/usr/sbin +@@ -17,6 +23,10 @@ + DEBUG = -g + INCLUDE = + CFLAGS = -Wall $(OPTIMIZE) $(DEBUG) $(INCLUDE) ++ifeq ($(UNAME), GNU/kFreeBSD) ++CFLAGS += -DUSER_PPP ++endif ++ + LIBS= -lutil + # Solaris 10 + # LIBS = -lnsl -lsocket -lresolv === added file 'debian/patches/series' --- debian/patches/series 1970-01-01 00:00:00 + +++ debian/patches/series 2011-11-10 19:13:38 + @@ -0,0 +1 @@ +kfreebsd-gnu.diff -- - Ola Lundqvist --- / o...@debian.org Annebergsslingan 37 \ | o...@inguza.com 654 65 KARLSTAD | | http://inguza.com/ +46 (0)70-332 1551 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#648361: uninstallable on kfreebsd-amd64
Package: pptp-linux Version: 1.7.2-6 Severity: grave Tags: patch User: debian-...@lists.debian.org Usertags: kfreebsd Hi, This package is uninstallable on kfreebsd-amd64 because of its dependency on ppp. On Debian GNU/kFreeBSD, equivalent (but not CLI-compatible) functionality is provided by freebsd-ppp package. It appears that pptp-linux includes support for this alternate interface. Attached patch should fix the dependency problem and enable interaction with freebsd-ppp in upstream source. It is loosely based on this patch [1] from the FreeBSD ports collection. [1] http://www.freebsd.org/cgi/cvsweb.cgi/ports/net/pptpclient/files/patch-aa?rev=1.6 -- System Information: Debian Release: 6.0.3 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: kfreebsd-amd64 (x86_64) Kernel: kFreeBSD 8.1-1-amd64 Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash === modified file 'debian/control' --- debian/control 2011-11-10 19:12:51 + +++ debian/control 2011-11-10 19:15:39 + @@ -6,8 +6,8 @@ Standards-Version: 3.9.0 Build-Depends: debhelper (= 7.0) Package: pptp-linux -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, ppp (= 2.4.2), binutils +Architecture: linux-any kfreebsd-any +Depends: ${shlibs:Depends}, ${misc:Depends}, ppp (= 2.4.2) [!kfreebsd-any] | freebsd-ppp [kfreebsd-any], binutils Description: Point-to-Point Tunneling Protocol (PPTP) Client Client for the proprietary Microsoft Point-to-Point Tunneling Protocol, PPTP. Allows connection to a PPTP based VPN as used === added file 'debian/patches/kfreebsd-gnu.diff' --- debian/patches/kfreebsd-gnu.diff1970-01-01 00:00:00 + +++ debian/patches/kfreebsd-gnu.diff2011-11-10 19:14:57 + @@ -0,0 +1,29 @@ +--- a/Makefile b/Makefile +@@ -2,9 +2,15 @@ + VERSION=1.7.2 + RELEASE= + ++UNAME = $(shell uname -s) ++ + # + # CHANGE THIS LINE to point to the location of your pppd binary. ++ifeq ($(UNAME), GNU/kFreeBSD) ++PPPD = /usr/sbin/ppp ++else + PPPD = /usr/sbin/pppd ++endif + # + + BINDIR=$(DESTDIR)/usr/sbin +@@ -17,6 +23,10 @@ + DEBUG = -g + INCLUDE = + CFLAGS = -Wall $(OPTIMIZE) $(DEBUG) $(INCLUDE) ++ifeq ($(UNAME), GNU/kFreeBSD) ++CFLAGS+= -DUSER_PPP ++endif ++ + LIBS = -lutil + # Solaris 10 + # LIBS= -lnsl -lsocket -lresolv === added file 'debian/patches/series' --- debian/patches/series 1970-01-01 00:00:00 + +++ debian/patches/series 2011-11-10 19:13:38 + @@ -0,0 +1 @@ +kfreebsd-gnu.diff