Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: ports/3326: Fetching packages is harder than needed

From: Sam Smith <S(at)mSmith.net>
Date: Mon Jul 28 2003 - 13:59:56 EDT

On Sat, 26 Jul 2003, Sam Smith wrote:

> On Fri, 20 Jun 2003, Gnats wrote:
> > >Category:       ports
> > >Responsible:    bugs
> > >Synopsis:       Fetching packages is harder than needed
> > >Arrival-Date:   Fri Jun 20 21:20:02 GMT 2003

here's a diff for the relevant man pages.

Prompting from nick@ jolan@

Index: share/man/man7/packages.7



RCS file: /library/OpenBSD/src/share/man/man7/packages.7,v retrieving revision 1.17
diff -u -r1.17 packages.7
--- share/man/man7/packages.7	9 Jul 2003 20:30:43 -0000	1.17

+++ share/man/man7/packages.7 26 Jul 2003 23:56:41 -0000
@@ -46,6 +46,15 @@
 a package will also hold a description, a complete list of the files  installed by the package, a list of prerequisite packages, along with  shell script fragments to finish the actual installation.
+.Pp
+It is possible to install prebuilt packages from the ftp sites, via
+the
+.Ox
+.Xr ports 7
+tree by specifying the flag
+.Dl FROM_PACKAGE=yes
+when running
+.Dl make install

 .Sh SECURITY CAVEAT
 The packages are not as thoroughly audited as the main  .Ox
Index: share/man/man5/bsd.port.mk.5

RCS file: /library/OpenBSD/src/share/man/man5/bsd.port.mk.5,v retrieving revision 1.112
diff -u -r1.112 bsd.port.mk.5
--- share/man/man5/bsd.port.mk.5	18 Jul 2003 18:35:11 -0000	1.112

+++ share/man/man5/bsd.port.mk.5 27 Jul 2003 00:13:46 -0000
@@ -814,6 +814,14 @@

 Canonical list of flavors being set for the current build, dash-separated.  See
 .Ev FULLPKGNAME .
+.It Ev FROM_PACKAGE
+User settings.
+Attempt to fetch and install the prebuilt packages required from the
+sites listed in
+.Ev MASTER_SITE_OPENBSD_PACKAGES
+.It Ev FROM_SOURCE
+User settings.
+Override the use of FROM_PACKAGE and build from source.
 .It Ev FTP_PACKAGES
 User settings.
 Base location where packages suitable for ftp (see @@ -932,6 +940,11 @@
 The make program that is used for building the port.  Set to ${MAKE} or ${GMAKE} depending on USE_GMAKE.  Read-only.
+.It Ev MASTER_SITE_OPENBSD_PACKAGES
+List of the
+.Ox
+mirror sites which hold both -release and snapshot package
+builds.

 .It Ev MASTER_SITES
 List of primary location from which distfiles and patchfiles are retrieved.  See the
@@ -1254,6 +1267,11 @@
 Set to
 .Sq flavored
 if distinct flavors of the port may share a common source tree.
+.It Ev SNAPSHOT
+User setting. Used in conjunction with
+.Ev FROM_PACKAGE
+to install using the snapshot package available from
+.EV MASTER_SITE_OPENBSD_PACKAGES

 .It Ev SUBPACKAGE
 Set to the sub package suffix when building a package in a multi-package port.  Read-only. Received on Mon Jul 28 14:27:13 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:30:01 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library