Update to r39725:
Add a section about the migration away from CVSup towards portsnap.
This commit is contained in:
parent
f50de9171b
commit
af0e56979f
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=47384
1 changed files with 80 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
|
||||
$FreeBSD$
|
||||
$FreeBSDde: de-docproj/books/handbook/ports/chapter.xml,v 1.111 2011/12/19 17:13:33 bcr Exp $
|
||||
basiert auf: r39642
|
||||
basiert auf: r39725
|
||||
-->
|
||||
<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" xml:id="ports">
|
||||
<info><title>Installieren von Anwendungen: Pakete und Ports</title>
|
||||
|
@ -907,6 +907,85 @@ svn://<replaceable>svn.FreeBSD.org</replaceable>/ports/head/usr/ports</userinput
|
|||
</procedure>
|
||||
</sect2>
|
||||
|
||||
<sect2 xml:id="cvsup-migration">
|
||||
<title>Migration von CVSup/csup zu portsnap</title>
|
||||
|
||||
<warning>
|
||||
<para>Seit dem 28. Februar 2013 wird die Ports-Sammlung nicht
|
||||
mehr nach <application>CVS</application> exportiert. Somit
|
||||
werden über <application>CVSup</application> und
|
||||
<application>csup</application> keine Updates für die
|
||||
Ports-Sammlung mehr zu Verfügung gestellt.</para>
|
||||
</warning>
|
||||
|
||||
<procedure>
|
||||
<title>Migration zu portsnap</title>
|
||||
|
||||
<para>Für die Migration werden in <filename>/usr</filename>
|
||||
ca. 1 GB freier Speicher und in
|
||||
<filename>/var</filename> ca. 150 MB freier Speicher
|
||||
benötigt.</para>
|
||||
|
||||
<step>
|
||||
<para>Deaktivieren Sie alle automatischen Updates der
|
||||
Ports-Sammlung, wie beispielsweise &man.cron.8; Jobs, die
|
||||
<application>CVSup</application> oder
|
||||
<application>csup</application> aufrufen.</para>
|
||||
</step>
|
||||
|
||||
<step>
|
||||
<para>Verschieben Sie die bestehende Ports-Sammlung in ein
|
||||
temporäres Verzeichnis:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>mv /usr/ports /usr/ports.old</userinput></screen>
|
||||
</step>
|
||||
|
||||
<step>
|
||||
<para>Laden Sie eine aktuelle Kopie Ports-Sammlung mit
|
||||
<application>Portsnap</application> herunter und
|
||||
extrahieren Sie diese nach
|
||||
<filename>/usr/ports</filename>:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>portsnap fetch extract</userinput></screen>
|
||||
</step>
|
||||
|
||||
<step>
|
||||
<para>Verschieben Sie Distfiles und vorhandene Pakete in
|
||||
die neue Ports-Sammlung:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>mv /usr/ports.old/distfiles /usr/ports</userinput>
|
||||
&prompt.root; <userinput>mv /usr/ports.old/packages /usr/ports</userinput></screen>
|
||||
</step>
|
||||
|
||||
<step>
|
||||
<para>Löschen Sie die alte Ports-Sammlung:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>rm -rf /usr/ports.old</userinput></screen>
|
||||
</step>
|
||||
|
||||
<step>
|
||||
<para>Falls zuvor <application>CVSup</application> verwendet
|
||||
wurde, kann es nun deinstalliert werden:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>pkg_delete -r -v cvsup-without-gui-\*</userinput></screen>
|
||||
</step>
|
||||
|
||||
<step>
|
||||
<para>Benutzer von <application>pkgng</application> können
|
||||
das folgende Kommando benutzen:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>pkg remove cvsup-without-gui</userinput></screen>
|
||||
</step>
|
||||
</procedure>
|
||||
|
||||
<para>Eine detaillierte Beschreibung von
|
||||
<application>Portsnap</application> und wie die
|
||||
Ports-Sammlung mit <application>Portsnap</application>
|
||||
aktualisiert wird, finden Sie in <link
|
||||
linkend="updating-upgrading-portsnap">Portsnap: Ein Werkzeug
|
||||
zur Aktualisierung der Ports-Sammlung</link>.</para>
|
||||
</sect2>
|
||||
|
||||
<sect2 xml:id="ports-skeleton">
|
||||
<title>Ports installieren</title>
|
||||
|
||||
|
|
Loading…
Reference in a new issue