linux-org-libs port downloading xorg-x11-6.8.2-37.FC4.49.2.1.src.rpm, not using it

Boris Samorodov bsam at ipt.ru
Fri Jun 30 11:50:56 UTC 2006


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


More information about the freebsd-emulation mailing list