file://localhost/usr/ports/misc/mmv/README.html
Roman Neuhauser
neuhauser at sigpipe.cz
Thu May 26 12:38:22 GMT 2005
# swhetzel at gmail.com / 2005-05-25 10:44:15 -0500:
> On 5/21/05, Bill Vermillion <bv at wjv.com> wrote:
> > > P.S. The reason this distfile is not available on ftp.freebsd.org is
> > > because the port is marked NO_PACKAGE.
> >
> > In that case why does the 'make' in /usr/ports/misc/mmv try to find
> > one when it can't get the one from wustl.edu?
>
> Maybe we should change bsd.port.mk, so that _MASTER_SITE_BACKUP is
> empty when NO_PACKAGE is set on a port. Since the file won't be
> available from ftp.freebsd.org web site.
There's a wee bit more to it. Mk/bsd.port.mk:
146 # RESTRICTED - Prevent the distribution of distfiles and packages to
147 # the FTP sites or on CDROM (e.g. forbidden by license
148 # considerations).
149 # NO_CDROM - Packages and distfiles may not go on CDROM (e.g. must
150 # not be re-sold) but can go on FTP sites.
151 # NO_PACKAGE - Port should not be packaged for ftp sites or CDROMs,
152 # but distfiles can be put on ftp sites and CDROMs.
If NO_PACKAGE prevents distfiles from being put on ftp.freebsd.org then
there's a bug.
Other than that, this should fix the double checking for RESTRICTED
ports (untested):
--- Mk/bsd.port.mk 17 Mar 2005 23:22:07 -0000 1.511
+++ Mk/bsd.port.mk 26 May 2005 12:25:00 -0000
@@ -2317,8 +2317,12 @@
_MASTER_SITE_BACKUP:= # empty
.else
_MASTER_SITE_OVERRIDE= ${MASTER_SITE_OVERRIDE}
+.if defined(RESTRICTED)
+_MASTER_SITE_BACKUP:= # empty
+.else
_MASTER_SITE_BACKUP= ${MASTER_SITE_BACKUP}
.endif
+.endif
# Search CDROM first if mounted, symlink instead of copy if
# FETCH_SYMLINK_DISTFILES is set
--
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man. You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991
More information about the freebsd-ports
mailing list