CVS

From LinuxHam
Revision as of 14:11, 4 June 2013 by DL5RB (talk | contribs) (linux-ax25.org is switching to git.)
Jump to: navigation, search

CVS has been retired at linux-ax25.org. The anonymous CVS server will stay running so people can continue to do cvs diff and other operations but the content of the archive has been frozen on 2013-06-04. Similarly the cvsweb service will continue to run so links to it will stay valid but of course it won't pick up any further deelopment. All further development will happen on in git. The remainder of this page is mostly for historical purposes or for those few who have an actual need for it.

Anonymous CVS

For those who always want to stay on the bleeding edge, and want to avoid having to download patch files or full tarballs, we also have an anonymous CVS server. There are currently three amateur radio relevant modules in CVS archive, libax25, ax25-apps and ax25-tools.

cvs -d :pserver:cvs@cvs.linux-ax25.org:/home/ax25-cvs login
(Only needed the first time you use anonymous CVS, the password is "cvs")
cvs -d :pserver:cvs@cvs.linux-ax25.org:/home/ax25-cvs co <module>

The Git CVS server

Git now has aquired the ability to deliver it's content over the venerable CVS protocol. Inferior in endless ways, hated with passion and believed to be not very high in demand linux-ax25.org does not provide a git-cvs service.

Web CVS

Browse the changes

Via cvsweb, you have direct access to the new AX.25 sources. The intuitive interface allows you to follow the development at the click of your mouse.

Download as tar archive

Automatically generated on the fly as you download these tarballs are always the very latest - with all the risk and benefits of living on the bleeding edge. Building requires recent versions of automake and autoconf.

libax25 ax25-apps ax25-tools

Latest releases

The best choice for the OM who just wants to keep his system going along happily. Unlike the raw CVS snapshots above these tarballs don't require any messing with GNU autoconf and automake.

ax25-apps-0.0.8-rc5.tar.gz ax25-tools-0.0.10-rc5.tar.gz libax25-0.0.12-rc5.tar.gz

CVS copy via Rsync

The CVS repository can also be fetched using rsync like this:

rsync -avz --progress --stats rsync://cvs.linux-ax25.org/cvs/<module> /local/directory
rsync -avz --progress --stats rsync://cvs.linux-ax25.org/cvs/CVSROOT /local/directory

You can then check it out using:

cvs -d/local/directory co <module>

Quarterly snapshots

We plan to automaticaly generate snapshots quarterly, downloadable as tar archives.

Compilation notes

Build dependencies

install autoconf automake1.9 libtool libncurses-dev

Automake1.4 on debian sarge and etch is known to be incompatible in preconfigureing the hdlcutil FL-Widgets tree.

Bootstrap (autoreconf, make)

for dir in libax25 ax25-apps ax25-tools; do
  cd $dir && autoreconf --install --force && \
    ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --mandir=/usr/share/man && \
    make && make install && cd ..
done

On a new fresh installation, you should do "make installconf" in the libax25 ax25-apps ax25-tools directories, too. But be aware, that make installconf overwrites existing configuration files in /etc/ax25/.

Note: earlier versions had a bootstrap script (with aclocal, autoconf and an appropriate ./configure line) but these days autoreconf should be used.

Ax25-apps naming conflicts

ax25-apps installs two program named call and listen. Despite ax25-apps using these names for longer than other packages various Linux distributions including Debian and Fedora have elected to rename these binaries. When building ax25-apps you want to make sure there are no such conflicts. Standard GNU autoconf which is being used by ax25-apps for configuration supports such renaming through the powerful but obscure --program-transform-name option like this:

./configure --program-transform-name='s@^call@axcall@;s@^listen@axlisten@' --prefix=/usr --sysconfdir=/etc --localstatedir=/var --mandir=/usr/share/man

This will install the call program and its man page as axcall and listen as axlisten. The argument of --program-transform-name is a sed(1) program; adjust as need for your installation. Because this is a standard feature of GNU autoconf, all versions of ax25-apps and also ax25-tools support this.

Versions of ax25-apps from 2011-12-11 or newer also honour the --program-transform-name, --program-prefix and --program-suffix options for the content and cross references of the man pages.

64-bit systems

Most 64-bit systems are setup such that libs go to /lib64 /usr/lib64, /usr/local/lib64. Autoconf won't notice this; it will default libdir to <prefix>/lib. This means installation will overwrite whatever is there possibly damaging 32-bit compat versions of the libraries installed there. To get autoconf to do the right thing in this case you must pass --libdir=<prefix>/lib64 when configuring.

Maintainers

Maintainers for ax25-apps, ax25-tools and libax25 are

Please feel free to contact us in case of problems, bugs or fixes, patches, enhancements, feature requests, or just for your personal success story.