pkgsrc-Bugs archive

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

pkg/41851: comms/openobex MASTER_SITES setting is incorrect (+FIX)



        Note: There was a bad value `medium | high ] (one line)>' for the field 
`Priority'.
        It was set to the default value of `medium'.

>Number:         41851
>Category:       pkg
>Synopsis:       comms/openobex MASTER_SITES setting is incorrect (+FIX)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 09 01:40:00 +0000 2009
>Originator:     Robert Elz
>Release:        NetBSD 4.0_STABLE
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
        Fetching the distfile for comms/openobex fetches an (approx)
        50K HTML file instead of the gzip'd tar file it expects
        (from all mirror sites, the same 50K (well, 49xxx bytes) file).

        What's more, sourceforge seems to have .tar.gz files for openobex
        versions <= 1.3 only - pkgsrc wants 1.5

        Following from the homepage (www.openobex.org) suggests that the
        correct place from which to fetch the distfile is www.kernel.org
        and sure enough, it exists there, and fetches correctly.

>How-To-Repeat:
        rm ...../distfiles/openobex-1.5.tar.gz
                (yes, really remove, you don't want what you now have...)
        cd ..../pkgsrc/comms/openobex
        make fetch

>Fix:
        Apply the appended patch.

        I don't know if there's a better magic way to refer to
        www.kernel.org or if there are mirror sites, if so, the fix
        should be adjusted - but what is here does work.

--- Makefile    2009-08-09 08:31:04.000000000 +0700
+++ Makefile.fixed      2009-08-09 08:30:54.000000000 +0700
@@ -3,7 +3,7 @@
 
 DISTNAME=      openobex-1.5
 CATEGORIES=    comms
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=openobex/}
+MASTER_SITES=  http://www.kernel.org/pub/linux/bluetooth/
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://www.openobex.org/



Home | Main Index | Thread Index | Old Index