Date: Fri, 30 Jun 2006 15:50:54 +0400 From: Boris Samorodov <bsam@ipt.ru> To: freebsd-emulation@freebsd.org Subject: Re: linux-org-libs port downloading xorg-x11-6.8.2-37.FC4.49.2.1.src.rpm, not using it Message-ID: <02829617@serv3.int.kfs.ru> In-Reply-To: <20060629163256.GE46135@caml.cs.uwaterloo.ca> (Ben Korvemaker's message of "Thu, 29 Jun 2006 12:32:56 -0400") References: <20060629163256.GE46135@caml.cs.uwaterloo.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?02829617>
