1 *WARNING* This is not up to date! The major difference is that now we have
2 *WARNING* system-specific configurations, archives and results, so that several
3 *WARNING* of the paths have either a 'sys/FOO' part or a 'FOO' part where FOO
4 *WARNING* is something like debian-amd64, debian-i386..
7 git clone git://github.com/blundellc/cran2deb.git
9 apt-get system requirements from DESCRIPTION
12 # install a web server
13 apt-get install thttpd
15 # add a group for cran2deb people
17 usermod -a -G cran2deb cb
18 usermod -a -G cran2deb edd
21 mkdir /var/www/cran2deb
22 chgrp cran2deb /var/www/cran2deb
23 chmod 3775 /var/www/cran2deb
25 # install prereq R packages
26 r -e "install.packages(c('ctv','RSQLite','DBI','digest'))"
27 R CMD INSTALL cran2deb
29 # set up cran2deb space, as per README
30 cp /usr/local/lib/R/site-library/cran2deb/exec/cran2deb /usr/local/bin
33 chgrp cran2deb /etc/cran2deb
34 chmod 3775 /etc/cran2deb
35 copy ROOT/etc/* to /etc/cran2deb
36 ln -s /var/www/cran2deb/ /etc/cran2deb/archive
37 edit /etc/cran2deb/pbuilder.in:
38 OTHERMIRROR='deb http://localhost/users/cb/cran2deb/ testing/$(ARCH)/ | deb http://localhost/users/cb/cran2deb/ testing/all/'
39 MIRRORSITE='http://ftp.debian.org/debian/'
41 OTHERMIRROR='deb http://localhost/cran2deb/ testing/$(ARCH)/ | deb http://localhost/cran2deb/ testing/all/'
42 MIRRORSITE='http://ftp.at.debian.org/debian/'
44 # fix permissions for group usage.
45 mkdir /var/cache/cran2deb
46 chgrp cran2deb /var/cache/cran2deb
47 chmod 3775 /var/cache/cran2deb
48 chgrp -R cran2deb $root
52 (log out then log in to get gid cran2deb)
54 # build pbuilder archive, initialise database
61 apt-get install sqlite3