From owner-freebsd-ports@FreeBSD.ORG Fri Jun 5 13:33:29 2009 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02161106566C; Fri, 5 Jun 2009 13:33:29 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [217.170.79.85]) by mx1.freebsd.org (Postfix) with ESMTP id 95F178FC18; Fri, 5 Jun 2009 13:33:28 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1MCZY2-00029V-3N; Fri, 05 Jun 2009 17:33:30 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 3952BB860; Fri, 5 Jun 2009 17:33:21 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id 2AB64108839; Fri, 5 Jun 2009 17:33:21 +0400 (MSD) Date: Fri, 5 Jun 2009 17:33:21 +0400 From: Dmitry Marakasov To: ports-developers@FreeBSD.org Message-ID: <20090605133321.GA18653@hades.panopticon> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) Cc: freebsd-ports@FreeBSD.org Subject: Is fetching source RPMs in linux ports really required? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2009 13:33:29 -0000 Hi! I have concerns with linux ports fetching source RPMs when PACKAGE_BUILDING is defined. As I understand, that is done to comply with GPL, however GPL does not strictly require mirroring sources, and just a not on where t get them would suffice. Here's forward of message with details. ----- Forwarded message from Dmitry Marakasov ----- Date: Thu, 4 Jun 2009 21:10:55 +0400 From: Dmitry Marakasov To: Boris Samorodov Cc: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, freebsd-emulation@FreeBSD.org Subject: Re: cvs commit: ports/Mk bsd.linux-apps.mk bsd.linux-rpm.mk ports/accessibility Makefile ports/accessibility/linux-f10-atk Makefile distinfo.i386 pkg-plist ports/archivers Makefile ports/archivers/linux-f10-ucl Makefile distinfo.i386 ... * Boris Samorodov (bsam@ipt.ru) wrote: > This is used while packaging to pet GPL which ensures that sources > are available together with binaries. Is that absolutely necessary? It seems to be that GPL does not require doing this. >From GPLv2: --- 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) --- Looks to be our case, as we received program in object code (i386.rpm) with an information on where to get source code. >From GPLv3: --- 6. Conveying Non-Source Forms. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, > the Corresponding Source may be on a different server (operated by > you or a third party) that supports equivalent copying facilities, > provided you maintain clear directions next to the object code > saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. --- This is even more clear. Thus, I believe we can comply with GPL just by providing link to source download locations of Fedora (through pkg-message I believe). > This has no impact on users who use ports to install linux > applications. It does if user runs tinderbox, I've just stepped into this. Also it's inconvenient for maintainers as you need to define PACKAGE_BUILDING for make fetch/makesum. Also Fedora mirror list may need cleaning: => libICE-1.0.4-4.fc10.src.rpm doesn't seem to exist in /tmp/distfiles/rpm/i386/fedora/10. => Attempting to fetch from file:///distcache/rpm/i386/fedora/10/. fetch: file:///distcache/rpm/i386/fedora/10/libICE-1.0.4-4.fc10.src.rpm: No such file or directory => Attempting to fetch from http://archives.fedoraproject.org/pub/archive/fedora/linux/core/../releases/10/Everything/i386/os/Packages/. fetch: http://archives.fedoraproject.org/pub/archive/fedora/linux/core/../releases/10/Everything/i386/os/Packages/libICE-1.0.4-4.fc10.src.rpm: Not Found => Attempting to fetch from http://archives.fedoraproject.org/pub/archive/fedora/linux/core/../updates/10/i386/. fetch: http://archives.fedoraproject.org/pub/archive/fedora/linux/core/../updates/10/i386/libICE-1.0.4-4.fc10.src.rpm: Not Found => Attempting to fetch from http://archives.fedoraproject.org/pub/archive/fedora/linux/core/../releases/10/SRPMS/libICE-1.0.4-4.fc10.src.rpm: Not Found => Attempting to fetch from http://archives.fedoraproject.org/pub/archive/fedora/linux/core/../updates/10/SRPMS/. fetch: http://archives.fedoraproject.org/pub/archive/fedora/linux/core/../updates/10/SRPMS/libICE-1.0.4-4.fc10.src.rpm: Not Found => Attempting to fetch from http://mirrors.kernel.org/fedora/core/../releases/10/Everything/i386/os/Packages/. fetch: http://mirrors.kernel.org/fedora/core/../releases/10/Everything/i386/os/Packages/libICE-1.0.4-4.fc10.src.rpm: Not Found => Attempting to fetch from http://mirrors.kernel.org/fedora/core/../updates/10/i386/. fetch: http://mirrors.kernel.org/fedora/core/../updates/10/i386/libICE-1.0.4-4.fc10.src.rpm: Not Found => Attempting to fetch from http://mirrors.kernel.org/fedora/core/../releases/10/Everything/source/SRPMS/. libICE-1.0.4-4.fc10.src.rpm 253 kB 52 kBps -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru ----- End forwarded message ----- -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru