csup_for_debian
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
csup_for_debian [2010/08/02 21:23] – 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 |
< | < | ||
- | cat > supfile << EOF | + | aptitude install build-essential devscripts |
- | *default tag=RELENG_8_1_0_RELEASE | + | |
- | *default host=cvsup1.fr.FreeBSD.org | + | |
- | *default release=cvs delete use-rel-suffix compress | + | |
- | *default prefix=/ | + | |
- | *default base=/ | + | |
- | src-contrib | + | |
- | EOF | + | |
</ | </ | ||
- | * Run it | + | ==== Specific build dependencies ==== |
< | < | ||
- | csup -L2 supfile | + | 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 | * Copy the csup code into a pristine work place | ||
< | < | ||
- | mkdir $HOME/debian | + | mkdir $HOME/packaging/ |
- | cp -r / | + | cp -r src/ |
</ | </ | ||
Line 30: | Line 29: | ||
* Create initial debian/ | * Create initial debian/ | ||
< | < | ||
- | cd $HOME/ | + | cd $HOME/ |
dh_make -s --createorig | dh_make -s --createorig | ||
</ | </ | ||
+ | ==== Test your csup package ==== | ||
+ | |||
+ | * Create your supfile for last FreeBSD stable release ( Directories mentionned in the supfile must pre-exist ) | ||
+ | < | ||
+ | cat > supfile << EOF | ||
+ | *default tag=RELENG_8_1_0_RELEASE | ||
+ | *default host=cvsup1.fr.FreeBSD.org | ||
+ | *default release=cvs delete use-rel-suffix compress | ||
+ | *default prefix=/ | ||
+ | *default base=/ | ||
+ | src-contrib | ||
+ | EOF | ||
+ | </ | ||
+ | |||
+ | * Run it | ||
+ | < | ||
+ | csup -L2 supfile | ||
+ | </ |
csup_for_debian.1280784226.txt.gz · Last modified: 2015/03/11 11:22 (external edit)