csup_for_debian
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
csup_for_debian [2010/07/31 23:12] – created kdev | csup_for_debian [2015/03/11 11:22] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | * Create your supfile for last FreeBSD stable release ( Directories mentionned in the supfile must pre-exist ) | + | ==== Install the build tools ==== |
+ | < | ||
+ | aptitude install build-essential devscripts | ||
+ | </ | ||
+ | |||
+ | ==== Specific build dependencies ==== | ||
+ | < | ||
+ | aptitude install flex bison libssl-dev | ||
+ | </ | ||
+ | |||
+ | ==== Get it ==== | ||
+ | < | ||
+ | cvs -d anoncvs@anoncvs.fr.FreeBSD.org:/ | ||
+ | </ | ||
+ | |||
+ | ==== Build it ==== | ||
+ | * Copy the csup code into a pristine work place | ||
+ | < | ||
+ | mkdir $HOME/ | ||
+ | cp -r src/ | ||
+ | </ | ||
+ | |||
+ | * Tell the world who you are | ||
+ | < | ||
+ | export DEBFULLNAME=" | ||
+ | export DEBEMAIL=" | ||
+ | </ | ||
+ | |||
+ | * Create initial debian/ | ||
+ | < | ||
+ | cd $HOME/ | ||
+ | dh_make -s --createorig | ||
+ | </ | ||
+ | |||
+ | ==== Test your csup package ==== | ||
+ | |||
+ | | ||
< | < | ||
cat > supfile << EOF | cat > supfile << EOF | ||
Line 5: | Line 41: | ||
*default host=cvsup1.fr.FreeBSD.org | *default host=cvsup1.fr.FreeBSD.org | ||
*default release=cvs delete use-rel-suffix compress | *default release=cvs delete use-rel-suffix compress | ||
- | *default prefix=/usr/ | + | *default prefix=/tmp/freebsd |
- | *default base=/usr/ | + | *default base=/tmp/ |
src-contrib | src-contrib | ||
EOF | EOF | ||
</ | </ | ||
- | * Run it | + | |
< | < | ||
csup -L2 supfile | csup -L2 supfile | ||
</ | </ | ||
- |
csup_for_debian.1280617978.txt.gz · Last modified: 2015/03/11 11:22 (external edit)