pkgsrc-Bugs archive

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

pkg/47673: www/php-owncloud MASTER_SITES incorrect after update (+FIX)



>Number:         47673
>Category:       pkg
>Synopsis:       www/php-owncloud MASTER_SITES incorrect after update (+FIX)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 20 18:55:00 +0000 2013
>Originator:     Robert Elz
>Release:        NetBSD (all)   pkgsrc current 2013-03-20
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 5.1_STABLE NetBSD 5.1_STABLE 
(JADE-1.12-20120130) #27: Tue Jan 31 05:20:31 ICT 2012 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/5/kernels/i386/JADE i386
Architecture: i386
Machine: i386
>Description:
        www/php-owncloud was recently (like within the past 24 hours)
        updated to version 5.0.0.

        In that update, the MASTER_SITES definition in the pkgsrc Makefile
        was not updated to reflect a change in the location uset by the
        master site to distribute the distfiles.

        Because of this, the backup to f.n.o hasn't worked either.

>How-To-Repeat:
        If you have the distfile already (like if you were one of the
        developers who updated the package, no-one else is likely to
        have it) move it aside for safety.

        cd .../pkgsrc/www/php-owncloud
        make fetch                      (or make checksum, or anything else)

        watch it get a 404 reply from the master site, then flail around all
        the various backup sites failing each in turn.

>Fix:
        Apply the patch below - the "releases" directory contains releases
        up to 4.0.9 or 4.5.7 only, from 4.0.10, 4.5.8, and 5.* there is
        a new distribution location.

Index: Makefile
===================================================================
RCS file: /cvsroot/NetBSD/pkgsrc/www/php-owncloud/Makefile,v
retrieving revision 1.31
diff -u -r1.31 Makefile
--- Makefile    19 Mar 2013 14:33:11 -0000      1.31
+++ Makefile    20 Mar 2013 11:43:33 -0000
@@ -4,7 +4,7 @@
 DISTNAME=      owncloud-5.0.0
 PKGNAME=       ${PHP_PKG_PREFIX}-${DISTNAME}
 CATEGORIES=    www
-MASTER_SITES=  http://owncloud.org/releases/
+MASTER_SITES=  http://download.owncloud.org/community/
 EXTRACT_SUFX=  .tar.bz2
 
 MAINTAINER=    ryoon%NetBSD.org@localhost



Home | Main Index | Thread Index | Old Index