Benutzer-Werkzeuge

Webseiten-Werkzeuge


freebsd:ports

Ports

Downgrade a port

Define in the /etc/make.conf

# the default cvs server for portdowngrade
DEFAULT_CVS_SERVER=":pserver:anoncvs@anoncvs2.de.FreeBSD.org:/home/ncvs"

and install

sysutils/portdowngrade

Finding the fastest CVSUP Server

Install fastest_cvsup with:

cd /usr/ports/sysutils/fastest_cvsup
make install
make clean

To find the fastest server enter:

/usr/local/bin/fastest_cvsup -Q -c de

Create an own Port

Upgrade plist

mkdir /var/tmp/`make -V PORTNAME`
mtree -U -f `make -V MTREE_FILE` -d -e -p /var/tmp/`make -V PORTNAME`
make depends PREFIX=/var/tmp/`make -V PORTNAME`
make install PREFIX=/var/tmp/`make -V PORTNAME`
/usr/ports/Tools/scripts/plist -Md -m `make -V MTREE_FILE` /var/tmp/`make -V PORTNAME` > pkg-plist

Second approach:

pkg install genplist
genplist create /var/tmp/`make -V PORTNAME`
genplist diff
genplist commit
genplist test
genplist clean
freebsd/ports.txt · Zuletzt geändert: 2016/12/18 14:00 (Externe Bearbeitung)