From owner-freebsd-emulation@FreeBSD.ORG Fri Jun 30 11:50:56 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C272616A415 for ; Fri, 30 Jun 2006 11:50:56 +0000 (UTC) (envelope-from bsam@ns.kfs.ru) Received: from ns.kfs.ru (kfs.kfs.ru [62.183.117.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48A304463C for ; Fri, 30 Jun 2006 11:50:56 +0000 (GMT) (envelope-from bsam@ns.kfs.ru) Received: from bsam by ns.kfs.ru with local (Exim 4.54 (FreeBSD)) id 1FwHWQ-0009Ej-2C for freebsd-emulation@freebsd.org; Fri, 30 Jun 2006 15:50:54 +0400 To: freebsd-emulation@freebsd.org References: <20060629163256.GE46135@caml.cs.uwaterloo.ca> From: Boris Samorodov Date: Fri, 30 Jun 2006 15:50:54 +0400 In-Reply-To: <20060629163256.GE46135@caml.cs.uwaterloo.ca> (Ben Korvemaker's message of "Thu, 29 Jun 2006 12:32:56 -0400") Message-ID: <02829617@serv3.int.kfs.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: "Boris B. Samorodov" Subject: Re: linux-org-libs port downloading xorg-x11-6.8.2-37.FC4.49.2.1.src.rpm, not using it X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 11:50:56 -0000 On Thu, 29 Jun 2006 12:32:56 -0400 Ben Korvemaker wrote: > It's probably all my fault. > When prepping for an upgrade and running 'portupgrade -praF', I noticed > linux-xorg-libs downloading xorg-x11-6.8.2-37.FC4.49.2.1.src.rpm, a > 53MB file. During upgrading, it was never even accessed. (normally i'd > not look so closely, but i was curious what on earth it would do with a > src.rpm) > Nothing obvious jumps out of /etc/make.conf. Any idea what I've done > wrong? Seems that the "-p" option for portupgrade did it... We use linux libraries and as to GPL we should have sources together with binaries. It was agreed that the best be can do -- to download sources to those servers which have binary distfiles to distribute. Thus those sources are downloading only when PACKAGE_BUIULDING=YES is defined -- mainly for the FreeBSD package building cluster. So when a standard user installs linux-xorg-libs from port or from package (s)he doesn't get the sources. Fedora Core 4 has many xorg-libraries splitted functionally, but has only one big file for the sources. :-( To avoid the sources fetching you may apply the next patch to ports/Mk/bsd.linux-rpm.mk: --- bsd.linux-rpm.mk.orig Fri Jun 30 15:44:14 2006 +++ bsd.linux-rpm.mk Fri Jun 30 15:45:30 2006 @@ -86,12 +86,6 @@ SRC_DISTFILES?= ${DISTNAME}${SRC_SUFX} EXTRACT_ONLY?= ${BIN_DISTFILES} -. if defined(PACKAGE_BUILDING) -DISTFILES+= ${SRC_DISTFILES} -MASTER_SITE_SUBDIR+= ${MASTER_SITE_SRC_SUBDIR} -ALWAYS_KEEP_DISTFILES= yes -. endif - EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm EXTRACT_CMD?= ${RPM2CPIO} But you should read GPL first. ;-) WBR -- Boris B. Samorodov, Research Engineer InPharmTech Co, http://www.ipt.ru Telephone & Internet Service Provider