Ports: Unterschied zwischen den Versionen
Aus SchnallIchNet
Cbs (Diskussion | Beiträge) |
Cbs (Diskussion | Beiträge) (→csup) |
||
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
==csup== | ==csup== | ||
− | csup -g -L 2 ports-supfile | + | csup -g -L 2 /etc/csup/ports-supfile |
* abgleich der ports-DB mit dem repo | * abgleich der ports-DB mit dem repo | ||
Zeile 16: | Zeile 16: | ||
* upgrade einen installierten port | * upgrade einen installierten port | ||
* erstelle ein backup (-b) der alten, installierten version | * erstelle ein backup (-b) der alten, installierten version | ||
+ | |||
+ | |||
+ | ==csup config== | ||
+ | configuration of ports | ||
+ | |||
+ | ===ports-config for server=== | ||
+ | <pre> | ||
+ | # $FreeBSD: src/share/examples/cvsup/ports-supfile,v 1.33.2.1 2005/11/09 10:15:20 pav Exp $ | ||
+ | # | ||
+ | # This file contains all of the "CVSup collections" that make up the | ||
+ | # FreeBSD-current ports collection. | ||
+ | # | ||
+ | # CVSup (CVS Update Protocol) allows you to download the latest CVS | ||
+ | # tree (or any branch of development therefrom) to your system easily | ||
+ | # and efficiently (far more so than with sup, which CVSup is aimed | ||
+ | # at replacing). If you're running CVSup interactively, and are | ||
+ | # currently using an X display server, you should run CVSup as follows | ||
+ | # to keep your CVS tree up-to-date: | ||
+ | # | ||
+ | # cvsup ports-supfile | ||
+ | # | ||
+ | # If not running X, or invoking cvsup from a non-interactive script, then | ||
+ | # run it as follows: | ||
+ | # | ||
+ | # cvsup -g -L 2 ports-supfile | ||
+ | # | ||
+ | # You may wish to change some of the settings in this file to better | ||
+ | # suit your system: | ||
+ | # | ||
+ | # host=CHANGE_THIS.FreeBSD.org | ||
+ | # This specifies the server host which will supply the | ||
+ | # file updates. You must change it to one of the CVSup | ||
+ | # mirror sites listed in the FreeBSD Handbook at | ||
+ | # http://www.freebsd.org/doc/handbook/mirrors.html. | ||
+ | # You can override this setting on the command line | ||
+ | # with cvsup's "-h host" option. | ||
+ | # | ||
+ | # base=/var/db | ||
+ | # This specifies the root where CVSup will store information | ||
+ | # about the collections you have transferred to your system. | ||
+ | # A setting of "/var/db" will generate this information in | ||
+ | # /var/db/sup. Even if you are CVSupping a large number of | ||
+ | # collections, you will be hard pressed to generate more than | ||
+ | # ~1MB of data in this directory. You can override the | ||
+ | # "base" setting on the command line with cvsup's "-b base" | ||
+ | # option. This directory must exist in order to run CVSup. | ||
+ | # | ||
+ | # prefix=/usr | ||
+ | # This specifies where to place the requested files. A | ||
+ | # setting of "/usr" will place all of the files requested | ||
+ | # in "/usr/ports" (e.g., "/usr/ports/devel", "/usr/ports/lang"). | ||
+ | # The prefix directory must exist in order to run CVSup. | ||
+ | |||
+ | # Defaults that apply to all the collections | ||
+ | # | ||
+ | # IMPORTANT: Change the next line to use one of the CVSup mirror sites | ||
+ | # listed at http://www.freebsd.org/doc/handbook/mirrors.html. | ||
+ | *default host=cvsup5.de.FreeBSD.org | ||
+ | *default base=/var/db | ||
+ | *default prefix=/usr | ||
+ | *default release=cvs tag=. | ||
+ | *default delete use-rel-suffix | ||
+ | |||
+ | # If you seem to be limited by CPU rather than network or disk bandwidth, try | ||
+ | # commenting out the following line. (Normally, today's CPUs are fast enough | ||
+ | # that you want to run compression.) | ||
+ | *default compress | ||
+ | |||
+ | ## Ports Collection. | ||
+ | # | ||
+ | # The easiest way to get the ports tree is to use the "ports-all" | ||
+ | # mega-collection. It includes all of the individual "ports-*" | ||
+ | # collections, | ||
+ | ports-all | ||
+ | |||
+ | # These are the individual collections that make up "ports-all". If you | ||
+ | # use these, be sure to comment out "ports-all" above. | ||
+ | # | ||
+ | # Be sure to ALWAYS cvsup the ports-base collection if you use any of the | ||
+ | # other individual collections below. ports-base is a mandatory collection | ||
+ | # for the ports collection, and your ports may not build correctly if it | ||
+ | # is not kept up to date. | ||
+ | #ports-base | ||
+ | #ports-accessibility | ||
+ | #ports-arabic | ||
+ | #ports-archivers | ||
+ | #ports-astro | ||
+ | #ports-audio | ||
+ | #ports-benchmarks | ||
+ | #ports-biology | ||
+ | #ports-cad | ||
+ | #ports-chinese | ||
+ | #ports-comms | ||
+ | #ports-converters | ||
+ | #ports-databases | ||
+ | #ports-deskutils | ||
+ | #ports-devel | ||
+ | #ports-dns | ||
+ | #ports-editors | ||
+ | #ports-emulators | ||
+ | #ports-finance | ||
+ | #ports-french | ||
+ | #ports-ftp | ||
+ | #ports-games | ||
+ | #ports-german | ||
+ | #ports-graphics | ||
+ | #ports-hebrew | ||
+ | #ports-hungarian | ||
+ | #ports-irc | ||
+ | #ports-japanese | ||
+ | #ports-java | ||
+ | #ports-korean | ||
+ | #ports-lang | ||
+ | #ports-mail | ||
+ | #ports-math | ||
+ | #ports-mbone | ||
+ | #ports-misc | ||
+ | #ports-multimedia | ||
+ | #ports-net | ||
+ | #ports-net-im | ||
+ | #ports-net-mgmt | ||
+ | #ports-news | ||
+ | #ports-palm | ||
+ | #ports-polish | ||
+ | #ports-portuguese | ||
+ | #ports-print | ||
+ | #ports-russian | ||
+ | #ports-science | ||
+ | #ports-security | ||
+ | #ports-shells | ||
+ | #ports-sysutils | ||
+ | #ports-textproc | ||
+ | #ports-ukrainian | ||
+ | #ports-vietnamese | ||
+ | #ports-www | ||
+ | #ports-x11 | ||
+ | #ports-x11-clocks | ||
+ | #ports-x11-fm | ||
+ | #ports-x11-fonts | ||
+ | #ports-x11-servers | ||
+ | #ports-x11-themes | ||
+ | #ports-x11-toolkits | ||
+ | #ports-x11-wm | ||
+ | </pre> | ||
+ | |||
+ | ===base-system config=== | ||
+ | <pre> | ||
+ | # $FreeBSD: src/share/examples/cvsup/stable-supfile,v 1.29.2.1 2005/09/28 14:00:13 kensmith Exp $ | ||
+ | # | ||
+ | # This file contains all of the "CVSup collections" that make up the | ||
+ | # FreeBSD-stable source tree. | ||
+ | # | ||
+ | # CVSup (CVS Update Protocol) allows you to download the latest CVS | ||
+ | # tree (or any branch of development therefrom) to your system easily | ||
+ | # and efficiently (far more so than with sup, which CVSup is aimed | ||
+ | # at replacing). If you're running CVSup interactively, and are | ||
+ | # currently using an X display server, you should run CVSup as follows | ||
+ | # to keep your CVS tree up-to-date: | ||
+ | # | ||
+ | # cvsup stable-supfile | ||
+ | # | ||
+ | # If not running X, or invoking cvsup from a non-interactive script, then | ||
+ | # run it as follows: | ||
+ | # | ||
+ | # cvsup -g -L 2 stable-supfile | ||
+ | # | ||
+ | # You may wish to change some of the settings in this file to better | ||
+ | # suit your system: | ||
+ | # | ||
+ | # host=CHANGE_THIS.FreeBSD.org | ||
+ | # This specifies the server host which will supply the | ||
+ | # file updates. You must change it to one of the CVSup | ||
+ | # mirror sites listed in the FreeBSD Handbook at | ||
+ | # http://www.freebsd.org/doc/handbook/mirrors.html. | ||
+ | # You can override this setting on the command line | ||
+ | # with cvsup's "-h host" option. | ||
+ | # | ||
+ | # base=/var/db | ||
+ | # This specifies the root where CVSup will store information | ||
+ | # about the collections you have transferred to your system. | ||
+ | # A setting of "/var/db" will generate this information in | ||
+ | # /var/db/sup. Even if you are CVSupping a large number of | ||
+ | # collections, you will be hard pressed to generate more than | ||
+ | # ~1MB of data in this directory. You can override the | ||
+ | # "base" setting on the command line with cvsup's "-b base" | ||
+ | # option. This directory must exist in order to run CVSup. | ||
+ | # | ||
+ | # prefix=/usr | ||
+ | # This specifies where to place the requested files. A | ||
+ | # setting of "/usr" will place all of the files requested | ||
+ | # in "/usr/src" (e.g., "/usr/src/bin", "/usr/src/lib"). | ||
+ | # The prefix directory must exist in order to run CVSup. | ||
+ | # | ||
+ | ############################################################################### | ||
+ | # | ||
+ | # DANGER! WARNING! LOOK OUT! VORSICHT! | ||
+ | # | ||
+ | # If you add any of the ports or doc collections to this file, be sure to | ||
+ | # specify them with a "tag" value set to ".", like this: | ||
+ | # | ||
+ | # ports-all tag=. | ||
+ | # doc-all tag=. | ||
+ | # | ||
+ | # If you leave out the "tag=." portion, CVSup will delete all of | ||
+ | # the files in your ports or doc tree. That is because the ports and doc | ||
+ | # collections do not use the same tags as the main part of the FreeBSD | ||
+ | # source tree. | ||
+ | # | ||
+ | ############################################################################### | ||
+ | |||
+ | # Defaults that apply to all the collections | ||
+ | # | ||
+ | # IMPORTANT: Change the next line to use one of the CVSup mirror sites | ||
+ | # listed at http://www.freebsd.org/doc/handbook/mirrors.html. | ||
+ | *default host=cvsup5.de.FreeBSD.org | ||
+ | *default base=/var/db | ||
+ | *default prefix=/usr | ||
+ | # The following line is for 6-stable. If you want 5-stable, 4-stable, | ||
+ | # 3-stable, or 2.2-stable, change to "RELENG_5", "RELENG_4", "RELENG_3", | ||
+ | # or "RELENG_2_2" respectively. | ||
+ | *default release=cvs tag=RELENG_6_2 | ||
+ | *default delete use-rel-suffix | ||
+ | |||
+ | # If you seem to be limited by CPU rather than network or disk bandwidth, try | ||
+ | # commenting out the following line. (Normally, today's CPUs are fast enough | ||
+ | # that you want to run compression.) | ||
+ | *default compress | ||
+ | |||
+ | ## Main Source Tree. | ||
+ | # | ||
+ | # The easiest way to get the main source tree is to use the "src-all" | ||
+ | # mega-collection. It includes all of the individual "src-*" collections. | ||
+ | # Please note: If you want to track -STABLE, leave this uncommented. | ||
+ | src-all | ||
+ | |||
+ | # These are the individual collections that make up "src-all". If you | ||
+ | # use these, be sure to comment out "src-all" above. | ||
+ | #src-base | ||
+ | #src-bin | ||
+ | #src-contrib | ||
+ | #src-etc | ||
+ | #src-games | ||
+ | #src-gnu | ||
+ | #src-include | ||
+ | #src-kerberos5 | ||
+ | #src-kerberosIV | ||
+ | #src-lib | ||
+ | #src-libexec | ||
+ | #src-release | ||
+ | #src-sbin | ||
+ | #src-share | ||
+ | #src-sys | ||
+ | #src-tools | ||
+ | #src-usrbin | ||
+ | #src-usrsbin | ||
+ | # These are the individual collections that make up FreeBSD's crypto | ||
+ | # collection. They are no longer export-restricted and are a part of | ||
+ | # src-all | ||
+ | src-crypto | ||
+ | src-eBones | ||
+ | src-secure | ||
+ | src-sys-crypto | ||
+ | </pre> | ||
[[Kategorie: BSD]] | [[Kategorie: BSD]] |
Aktuelle Version vom 23. Februar 2010, 10:11 Uhr
Inhaltsverzeichnis
csup
csup -g -L 2 /etc/csup/ports-supfile
- abgleich der ports-DB mit dem repo
pkgdb
pkgdb -F
- update der lokalen DB
portaudit
portaudit -a [-F]
- security audit for installed ports
- -F laed die lokale DB neu
portupgrade
portupgrade [-b] libtool-2.2.6a
- upgrade einen installierten port
- erstelle ein backup (-b) der alten, installierten version
csup config
configuration of ports
ports-config for server
# $FreeBSD: src/share/examples/cvsup/ports-supfile,v 1.33.2.1 2005/11/09 10:15:20 pav Exp $ # # This file contains all of the "CVSup collections" that make up the # FreeBSD-current ports collection. # # CVSup (CVS Update Protocol) allows you to download the latest CVS # tree (or any branch of development therefrom) to your system easily # and efficiently (far more so than with sup, which CVSup is aimed # at replacing). If you're running CVSup interactively, and are # currently using an X display server, you should run CVSup as follows # to keep your CVS tree up-to-date: # # cvsup ports-supfile # # If not running X, or invoking cvsup from a non-interactive script, then # run it as follows: # # cvsup -g -L 2 ports-supfile # # You may wish to change some of the settings in this file to better # suit your system: # # host=CHANGE_THIS.FreeBSD.org # This specifies the server host which will supply the # file updates. You must change it to one of the CVSup # mirror sites listed in the FreeBSD Handbook at # http://www.freebsd.org/doc/handbook/mirrors.html. # You can override this setting on the command line # with cvsup's "-h host" option. # # base=/var/db # This specifies the root where CVSup will store information # about the collections you have transferred to your system. # A setting of "/var/db" will generate this information in # /var/db/sup. Even if you are CVSupping a large number of # collections, you will be hard pressed to generate more than # ~1MB of data in this directory. You can override the # "base" setting on the command line with cvsup's "-b base" # option. This directory must exist in order to run CVSup. # # prefix=/usr # This specifies where to place the requested files. A # setting of "/usr" will place all of the files requested # in "/usr/ports" (e.g., "/usr/ports/devel", "/usr/ports/lang"). # The prefix directory must exist in order to run CVSup. # Defaults that apply to all the collections # # IMPORTANT: Change the next line to use one of the CVSup mirror sites # listed at http://www.freebsd.org/doc/handbook/mirrors.html. *default host=cvsup5.de.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=. *default delete use-rel-suffix # If you seem to be limited by CPU rather than network or disk bandwidth, try # commenting out the following line. (Normally, today's CPUs are fast enough # that you want to run compression.) *default compress ## Ports Collection. # # The easiest way to get the ports tree is to use the "ports-all" # mega-collection. It includes all of the individual "ports-*" # collections, ports-all # These are the individual collections that make up "ports-all". If you # use these, be sure to comment out "ports-all" above. # # Be sure to ALWAYS cvsup the ports-base collection if you use any of the # other individual collections below. ports-base is a mandatory collection # for the ports collection, and your ports may not build correctly if it # is not kept up to date. #ports-base #ports-accessibility #ports-arabic #ports-archivers #ports-astro #ports-audio #ports-benchmarks #ports-biology #ports-cad #ports-chinese #ports-comms #ports-converters #ports-databases #ports-deskutils #ports-devel #ports-dns #ports-editors #ports-emulators #ports-finance #ports-french #ports-ftp #ports-games #ports-german #ports-graphics #ports-hebrew #ports-hungarian #ports-irc #ports-japanese #ports-java #ports-korean #ports-lang #ports-mail #ports-math #ports-mbone #ports-misc #ports-multimedia #ports-net #ports-net-im #ports-net-mgmt #ports-news #ports-palm #ports-polish #ports-portuguese #ports-print #ports-russian #ports-science #ports-security #ports-shells #ports-sysutils #ports-textproc #ports-ukrainian #ports-vietnamese #ports-www #ports-x11 #ports-x11-clocks #ports-x11-fm #ports-x11-fonts #ports-x11-servers #ports-x11-themes #ports-x11-toolkits #ports-x11-wm
base-system config
# $FreeBSD: src/share/examples/cvsup/stable-supfile,v 1.29.2.1 2005/09/28 14:00:13 kensmith Exp $ # # This file contains all of the "CVSup collections" that make up the # FreeBSD-stable source tree. # # CVSup (CVS Update Protocol) allows you to download the latest CVS # tree (or any branch of development therefrom) to your system easily # and efficiently (far more so than with sup, which CVSup is aimed # at replacing). If you're running CVSup interactively, and are # currently using an X display server, you should run CVSup as follows # to keep your CVS tree up-to-date: # # cvsup stable-supfile # # If not running X, or invoking cvsup from a non-interactive script, then # run it as follows: # # cvsup -g -L 2 stable-supfile # # You may wish to change some of the settings in this file to better # suit your system: # # host=CHANGE_THIS.FreeBSD.org # This specifies the server host which will supply the # file updates. You must change it to one of the CVSup # mirror sites listed in the FreeBSD Handbook at # http://www.freebsd.org/doc/handbook/mirrors.html. # You can override this setting on the command line # with cvsup's "-h host" option. # # base=/var/db # This specifies the root where CVSup will store information # about the collections you have transferred to your system. # A setting of "/var/db" will generate this information in # /var/db/sup. Even if you are CVSupping a large number of # collections, you will be hard pressed to generate more than # ~1MB of data in this directory. You can override the # "base" setting on the command line with cvsup's "-b base" # option. This directory must exist in order to run CVSup. # # prefix=/usr # This specifies where to place the requested files. A # setting of "/usr" will place all of the files requested # in "/usr/src" (e.g., "/usr/src/bin", "/usr/src/lib"). # The prefix directory must exist in order to run CVSup. # ############################################################################### # # DANGER! WARNING! LOOK OUT! VORSICHT! # # If you add any of the ports or doc collections to this file, be sure to # specify them with a "tag" value set to ".", like this: # # ports-all tag=. # doc-all tag=. # # If you leave out the "tag=." portion, CVSup will delete all of # the files in your ports or doc tree. That is because the ports and doc # collections do not use the same tags as the main part of the FreeBSD # source tree. # ############################################################################### # Defaults that apply to all the collections # # IMPORTANT: Change the next line to use one of the CVSup mirror sites # listed at http://www.freebsd.org/doc/handbook/mirrors.html. *default host=cvsup5.de.FreeBSD.org *default base=/var/db *default prefix=/usr # The following line is for 6-stable. If you want 5-stable, 4-stable, # 3-stable, or 2.2-stable, change to "RELENG_5", "RELENG_4", "RELENG_3", # or "RELENG_2_2" respectively. *default release=cvs tag=RELENG_6_2 *default delete use-rel-suffix # If you seem to be limited by CPU rather than network or disk bandwidth, try # commenting out the following line. (Normally, today's CPUs are fast enough # that you want to run compression.) *default compress ## Main Source Tree. # # The easiest way to get the main source tree is to use the "src-all" # mega-collection. It includes all of the individual "src-*" collections. # Please note: If you want to track -STABLE, leave this uncommented. src-all # These are the individual collections that make up "src-all". If you # use these, be sure to comment out "src-all" above. #src-base #src-bin #src-contrib #src-etc #src-games #src-gnu #src-include #src-kerberos5 #src-kerberosIV #src-lib #src-libexec #src-release #src-sbin #src-share #src-sys #src-tools #src-usrbin #src-usrsbin # These are the individual collections that make up FreeBSD's crypto # collection. They are no longer export-restricted and are a part of # src-all src-crypto src-eBones src-secure src-sys-crypto