Friday, March 18, 2011

Ports Collection update with CVSup


what ports? The FreeBSD Ports and Packages Collection offers a simple way for users and administrators to install applications. There are currently 22462 ports available.
FreeBSD ports collection offers a simple way for users and administrators to install applications. each port contains a working patch for the application source and roads in the BSD.

How to compile an application is very easy to build by typing make in the port directory. Makefile automatically download the source code of applications, to patch it and compile it. Very simple is not it? by simply typing make install you can install the application in its entirety.To install an application from the ports, the required ports are up to date.

mengginstall application so that when it does not happen in broken links or not

found its source applications that we need.

How to keep these ports up to date?

very easy ..

make sure you are logged in as root on your server.

indofreebsd #

do little changes in your make.conf for when to download

source applications take from the nearest source.

indofreebsd # pico / etc / make.conf

#----- Began ------- #

# Mirrors
MASTER_SITE_BACKUP? = Http://ftp-freebsd.biz.net.id/ports/distfiles/ $ {DIST_SUBDIR} /
MASTER_SITE_OVERRIDE? = $ {MASTER_SITE_BACKUP}
#---- Completed ------ #


then save

now let it install cvsup

indofreebsd # cd / usr / ports

indofreebsd # make search name = cvsup-without-gui
Port: cvsup-without-gui-16.1h_2
Path: / usr / ports / net / cvsup-without-gui
Info: General network file distribution system optimized for CVS (non-GUI version)
Maint: jdp@FreeBSD.org This e-mail address is being protected from spambots. You need JavaScript enabled to view it
B-deps: ezm3-1.2_1
R-deps:
WWW: http://www.cvsup.org/

indofreebsd # cd / usr / ports / net / cvsup-without-gui

indofreebsd # make install, make clean

have finished installing cvsup-without-gui? easy and fast is not it?

now the last step our goal is to update the ports collection

The ports collection for truly serve targeted date.

The first thing we should do is copying the example file-supfile port
indofreebsd # locate ports-supfile
/ Usr / share / examples / cvsup / ports-supfile
/ Usr / src / share / examples / cvsup / ports-supfile

indofreebsd #

indofreebsd # cp / usr / share / examples / cvsup / ports-supfile.

indofreebsd # pico ports-supfile

change the * default host = CHANGE_THIS.FreeBSD.org a * default host = cvsup.id.FreeBSD.org

then save

let's start the update ports

indofreebsd # cvsup-g-L 2 ports-supfile
Parsing supfile "ports-supfile"
Connecting to cvsup.id.FreeBSD.org
Connected to cvsup.id.FreeBSD.org
Server software version: SNAP_16_1h
Negotiating the file attribute support
Exchanging information collection
Establishing multiplexed-mode data connection
Running
Updating collection ports-all/cvs
Edit ports / GIDs

wait until the completion and return to prompt

Shutting down connection to server
Finished successfully


indofreebsd #

here until you have successfully updated your ports collection.



greetings,

ogeb

0 comments: