pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/30035: net/ppp-lzs update (patch included)



>Number:         30035
>Category:       pkg
>Synopsis:       net/ppp-lzs is not compiling
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 22 19:43:00 +0000 2005
>Originator:     Iain Hibbert
>Release:        NetBSD 2.0
>Organization:
none
>Environment:
System: NetBSD galant 2.0 NetBSD 2.0 (GALANT) #12: Tue Mar 15 22:08:38 GMT 2005 
plunky@galant:/home/plunky/src/sys/arch/i386/compile/GALANT i386
Architecture: i386
Machine: i386
>Description:
        net/ppp-lzs is failing to build.  The problem seems to be in the 
wrapper,
        for cc in that it is filtering out an -I/usr/src/lib/libpcap from the
        C options (maybe because of absolute path?).  It needed this to get the
        pcap-int.h file which is only found there.
>How-To-Repeat:
        (cd net/ppp-lzs && make)
>Fix:
        Patch below changes the package Makefile to copy that file to the 
directory
        in question, along with all the other files it copies

        Patches also to fix some pkglint complaints regarding trailing 
whitespace
        and non-ordered PLIST file

--- Makefile.orig       2005-04-22 10:14:33.000000000 +0100
+++ Makefile    2005-04-22 10:15:27.000000000 +0100
@@ -2,4 +2,5 @@
 
 DISTNAME=      ppp-lzs-1.2
+PKGREVISION=   1
 CATEGORIES=    net
 MASTER_SITES=  http://homepages.rya-online.net/plunky/
@@ -31,4 +32,5 @@
        @${CP} ${NETBSDSRCDIR}/usr.sbin/pppd/pppd/*.[ch8] ${WRKSRC}/pppd
        @${CP} ${NETBSDSRCDIR}/usr.sbin/pppd/pppd/Makefile ${WRKSRC}/pppd
+       @${CP} ${NETBSDSRCDIR}/lib/libpcap/pcap-int.h ${WRKSRC}/pppd
 
 do-patch:
--- DESCR.orig  2005-04-22 10:15:52.000000000 +0100
+++ DESCR       2005-04-22 10:16:01.000000000 +0100
@@ -1,6 +1,6 @@
 This is a NetBSD decompressor for PPP compatible with the Stac LZS
 scheme as described in rfc1974.  The algorithm is apparently covered
-by patents held by Hifn in the USA and Europe though it was written 
+by patents held by Hifn in the USA and Europe though it was written
 independently with no help from Hifn or anybody associated with them,
 and with no reference to the patents.  You might want to consider this
 'example' code only if that makes you feel better.
--- PLIST.orig  2005-04-22 10:16:08.000000000 +0100
+++ PLIST       2005-04-22 10:16:49.000000000 +0100
@@ -2,3 +1,0 @@
-sbin/pppd
-man/man8/pppd.8
-man/cat8/pppd.0
@@ -5,0 +3,3 @@
+man/cat8/pppd.0
+man/man8/pppd.8
+sbin/pppd

>Unformatted:
                 pkgsrc as of 18 April 2005



Home | Main Index | Thread Index | Old Index