The repository generation is handled by reprepro.
It is stored on http://debian.rsbac.org
Reprepro store it's configuration in the /conf and /db directories. These are available through SFTP, so that it can be imported anywhere you want to update the repository.
Get the repos
# mkdir repos && cd repos # lftp sftp://***@rsbac.org Password: mirror *
Check it's complete and functional
# reprepro -Vb . check
It will output anything you need to do to fix it, if required (eg new version of reprepro need config upgrade, etc)
Add a new .deb file or it's changes file (will include all packages for this source package)
# reprepro -Vb . includedeb sid /path/to/package.deb # reprepro -Vb . include sid /path/to/package.changes
Remove a .deb file
# reprepro -Vb . remove sid package
Check whats in the repos
# reprepro -Vb . dumpreferences
Check package version in the repos
# reprepro -b . list sid package
Cleanup the repos
# reprepro -Vb . check # reprepro -Vb . checkpool
(And follow any indication given during the check)
The (mostly) complete manual is available on the website: http://mirrorer.alioth.debian.org/
Explanation how to set the client side to get the package is explained here: debian_ubuntu_packages_and_repository
The easiest is just to make a .deb with make-kpkg!
Find the debian kernel configurations here: http://merkel.debian.org/~jurij/
And adapt them to the current kernel, adding regular RSBAC options (take a look at the previous packaged kernels) Until now, kernels on this repos have usually been 686 only. However you may add any architecture.
Example:
# wget http://merkel.debian.org/~jurij/2.6.26-9/i386/config-2.6.26-1-686.gz # gzip -d config-2.6.26-1-686.gz # mv config-2.6.26-1-686 .config # make oldconfig <correct stuff> <you might to add kernel .config option at this point> # make menuconfig <check and add RSBAC options, dont forget those kernels require delayed init ramdisk support> <you might want to remove SELinux support at this point, no sense to have both enabled>
Once you are done, cleanup and build the kernel ;)
# fakeroot make-kpkg clean # fakeroot make-kpkg --initrd 113 kernel_image # fakeroot make-kpkg kernel_source # fakeroot make-kpkg kernel_headers
If it fails on Ubuntu Karmic do that: http://ubuntuforums.org/showpost.php?p=8688831&postcount=1403
When done, remove the old package and add the new:
# reprepro -Vb . remove sid linux-image-2.6.24.3-rsbac # reprepro -Vb . includedeb sid path/to/linux-image-2.6.27.10-1.4.0....deb
Just as simple:
# cd rsbac-admin-1.4.0 && dpkg-buildpackage -rfakeroot # reprepro -Vb . remove sid libnss-rsbac2 libpam-rsbac rsbac-klogd librsbac-dev librsbac1 rsbac-admin rsbac-pam rsbac-doc # reprepro -Vb . include path/to/rsbac-admin...changes