From owner-freebsd-ports@freebsd.org Mon Oct 3 09:28:54 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B8A0FAF2FE6 for ; Mon, 3 Oct 2016 09:28:54 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from land.berklix.org (land.berklix.org [144.76.10.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6248A2D8 for ; Mon, 3 Oct 2016 09:28:53 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from mart.js.berklix.net (p5B227F75.dip0.t-ipconnect.de [91.34.127.117]) (authenticated bits=128) by land.berklix.org (8.15.2/8.15.2) with ESMTPA id u939Sf0c030758 for ; Mon, 3 Oct 2016 09:28:41 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id u939Scbo067063 for ; Mon, 3 Oct 2016 11:28:38 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.7/8.14.7) with ESMTP id u939SQxr015454 for ; Mon, 3 Oct 2016 11:28:38 +0200 (CEST) (envelope-from jhs@berklix.com) Message-Id: <201610030928.u939SQxr015454@fire.js.berklix.net> to: freebsd-ports@freebsd.org Subject: Re: Google Code as an upstream is gone From: "Julian H. Stacey" Organization: http://berklix.eu BSD Unix Linux Consultants, Munich Germany User-agent: EXMH on FreeBSD http://berklix.eu/free/ X-From: http://www.berklix.eu/~jhs/ In-reply-to: Your message "Fri, 30 Sep 2016 14:51:07 +0200." Date: Mon, 03 Oct 2016 11:28:26 +0200 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Oct 2016 09:28:54 -0000 David Demelier wrote: > 2016-09-29 17:36 GMT+02:00 Mathieu Arnold : > > Le 29/09/2016 à 17:03, Christian Weisgerber a écrit : > >> On 2016-09-14, Mathieu Arnold wrote: > >> > >>> Google Code has been deprecated[1] since March 2015, and read-only since > >>> August 2015, giving time to software developers to move their > >>> development some place else. All the distribution files that still use > >>> solely googlecode.com as their source have been marked BROKEN today in > >>> r422140[2], as they are not fetchable. > >>> > >>> Most software have moved to some other place (mostly on github), all you > >>> have to do is figure out where and update your ports accordingly. > >> Or you can simply replace > >> > >> ${PROJECT}.googlecode.com/files/ > >> > >> with > >> > >> https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${PROJECT}/ > >> > >> which could have trivially been done in bsd.sites.mk. > >> > > > > No you cannot. > > > > Before marking all the ports BROKEN, I started by changing the > > MASTER_SITE_GOOGLE_CODE entry to make things fetchable again. The > > problem with that approach is that it is just hiding the fact that the > > software have not been updated for more than a year and will never be > > again. The goal of marking all those ports broken is that people will go > > and look for where the software went after google code, so that it gets > > updated when new releases go out. > > > > If the software has not been moved to some other place, (it takes about > > 30 seconds to click the automatic migration to github thing, and it is > > usually done within the hour,) since march 2015, it is most likely > > abandoned and should not be kept in the ports tree. > > > > As many have pointed out here, abandoned does not mean it's not usable > anymore. There are dozen of ports or software not maintained anymore > and still work because they do not require maintenance. > > Marking as broken is a bit hurried IMHO. We should provide a longer > expiration date by keeping distfiles to our FreeBSD mirrors for a > while until the upstream moves to somewhere else. Of course, we should > also bulk mail the maintainer to tell that the port will expire and > distfiles removed at the time. > > Regards, > > -- > Demelier David BROKEN was useful when introduced, but is too crude, needs improving. Setting BROKEN= when merely distfile is not at URLs is not true, it's not broken & will make if distfile is in local distfiles/. BROKEN is itself part Broken, a liability, as once someone sets it, it encourages others to later delete working ports. BROKEN needs to be improved/ split. FreeBSD should seek to _automatically_ encourage those who still have a distfile in local distfiles/ to contribute it back to Internet. eg create a new assert NO_DISTFILE=true that does something approx like launch in a subshell code below, called with a - prepended to Makefile line, so it does not break the make of next port entry from SUBDIR += .if !defined(DISTFILES_MISSING_CHECK_ONLY_SILENTLY) echo "Distfile[s] lost from Internet, Checking if you have them localy." .endif make fetch # Not checksum, cos even wrong checksums can sometimes work. echo "Distfile[s] lost from Internet, You still have, Please give a copy to:" echo "`grep MAINTAINER Makefile` and or ports@freebsd.org" make checksum echo "Distfile[s] even have right checksums! Definately give us a copy!" echo "`pwd` has Distfile[s] lost from Internet, Please give FreeBSD a copy!" \ | mail `whoami` Do Not turn whole block of by default as noisey, cos we need it to run by default, so people with local distfiles see it, & return distfiles Above is a crude. I could improve & create a patch for bsd.port.mk but as people may likely suggest improvements + its guarded by FreeBSD_MAINTAINER= portmgr@FreeBSD.org better that they do it ?. Cheers, Julian -- Julian Stacey, BSD Linux Unix Sys Eng Consultant Munich Reply below, Prefix '> '. Plain text, No .doc, base64, HTML, quoted-printable. http://berklix.eu/brexit/#stolen_votes