[BACK]Return to ports.html CVS log [TXT][DIR] Up to [local] / www

File: [local] / www / Attic / ports.html (download) (as text)

Revision 1.9, Sun Nov 23 04:09:47 1997 UTC (26 years, 6 months ago) by joey
Branch: MAIN
Changes since 1.8: +67 -76 lines

minor changes...working on statues page.

<HTML>
<HEAD>
   <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
   <META NAME="resource-type" CONTENT="document">
   <META NAME="description" CONTENT="How OpenBSD can make use of the FreeBSD ports">
   <META NAME="keywords" CONTENT="openbsd,ports">
   <META NAME="distribution" CONTENT="global">
   <META NAME="copyright" CONTENT="This document copyright 1997 by the OpenBSD project">
   <META NAME="GENERATOR" CONTENT="Mozilla/4.03 [en] (Win95; I) [Netscape]">
   <TITLE>OpenBSD ports mechanism</TITLE>
<LINK REV="made" HREF="mailto:www@openbsd.org">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#23238E">
<IMG SRC="http://www.openbsd.org/images/smalltitle.gif" ALT="[OpenBSD]" >
<H2>
OpenBSD ports mechanism</H2>

<H3>
<B>History</B></H3>
OpenBSD is a fairly complete system of its own, but still there is a lot
of software that one might want see added. However there is the problem
on where to draw the line on what to include and not, as well as licensing
and export restrictions problems. Some things just can't be shipped with
the system. We wanted to find a way for users to easily get software we
don't provide and started to look around. We didn't have to look far as
a sibling project, <A HREF="http://www.freebsd.org/">FreeBSD</A>, had an
excellent mechanism for exactly this purpose called <A HREF="http://www.freebsd.org/ports/">"The
ports collection"</A>. After thinking about it for a while we decided to
try to use their collection as is, but do incompatibility problems between
FreeBSD and OpenBSD we decided to branch out and create our very own OpenBSD
Ports Project using FreeBSD's as a starting point.
<BR>&nbsp;
<H3>
<B>Short description and setup</B></H3>
The ports idea is to have, for each piece of software, a Makefile that
describes where to fetch it, how to do the fetch, what it is depending
upon (if anything), how to alter the sources (if needed) and how to configure,
build and install it. Furthermore some patches will have to be kept in
the "port" as well as some administration files for the package registry
utilities. Normally this information is kept in an hierarchy under /usr/ports
(however, this is configurable). I recommend reading the <A HREF="http://www.freebsd.org/handbook/ports.html">ports
chapter</A> in the <A HREF="http://www.freebsd.org/handbook/">FreeBSD handbook</A>
to get information on how to setup this hierarchy until OpenBSD can complete
its on ports.helpfile
<H3>
<B>Example</B></H3>
Let's say you managed to get a ports tree sitting under /usr/ports, then
you should be able to something like this:
<PRE>cd /usr/ports/archivers/unzip
make
su
make install
exit
</PRE>
Easy, huh?
<H3>
<B>Problems and contacts</B></H3>
Our <A HREF="mailto:joey@openbsd.org">ports coordinator</A> is currently
working on a ports statues page - what is done, what is being worked on
right now, on what architecture, etc. If you have trouble with ports contact
either <A HREF="mailto:joey@openbsd.org">Ejovi Nuwere</A> (preferably),
<A HREF="mailto:gene@openbsd.org">Gene Skonicki</A> or <A
HREF="mailto:todd@openbsd.org">Todd Tyrone Fries</A> and give us either patches on
how to fix things or, if you cannot
do this, point us at the problematic port and tell us what fails and we
shall try to fix it.
<BR>
<HR><A HREF="http://www.openbsd.org/index.html"><IMG SRC="http://www.openbsd.org/back.gif" ALT="OpenBSD" BORDER=0 ></A>
<A HREF="mailto:www@openbsd.org">www@openbsd.org</A>
<BR><FONT SIZE=-1>$OpenBSD: ports.html,v 1.8 1997/11/18 08:12:33 deraadt
Exp $</FONT>
</BODY>
</HTML>