Please find attached cipe.tar.gz containing cipe-1.5.4.ebuild and associated files for gentoo. CIPE is a kernel module used to build encrypting IP routers. It works by tunneling IP packets in encrypted UDP packets. The protocol is designed to be lightweight and simple. I have it in net-misc/cipe on my system. None of the other net-* categories seem to apply.
Created attachment 1930 [details] cipe-1.5.4.ebuild (New Package)
Created attachment 1931 [details] cipe.tar.gz The last attachment was actually cipe.tar.gz. This is just a new attachment to make sure the owner of this bug knows that. Sorry!
Created attachment 2116 [details] cipe.tar.gz (bug fix) I had a path bug in the ebuild. This has been corrected.
Created attachment 2117 [details] cipe-jays-ebulid.tar.gz Differrent ebuild.
Without checking the bug database (duh), I created my own cipe-1.5.4 ebuild. I think there is some good stuff in mine (dependencies are better, install is better) and some good stuff in the other (modules.d, init script, etc.). Use the other, as this is my first ebuild, but the author might want to snarf some stuff from cipe-jays-ebuild.tar.gz. ... and I'll be checking bugzilla from now on ;-)
Created attachment 2148 [details] cipe.tar.gz (latest) I fixed a couple bugs in Jay's build and merged it with mine. This obsoletes all other attachments and should be the ebuild that is committed.
the latest kernel installs the freeswan encryption patch if you have USE="crypto" set, does that do the same as this?
No, CIPE is its own VPN implementation.
can you run this through lintool --show-details and fix what it says, also it would be really nice if you added a ChangeLog to the tarball for me.
This ebuild works for me. Thanks. One minor issue; the default file permissions for files in /etc/cipe is unhelpful. cipe.info says: > For security reasons, options files .... and all their parent directories > must be owned by root and not writable by group or other, and the options > file itself must be even not readable by group or other (because it may > contain secret keys). Also the ip-up and ip-down scripts lack the owner execute permission bit. Also a wishlist item: Like any other network interface it is often nice to have more than one. It would nice to be able to copy the standard /etc/init.d/cipe to /etc/init.d/cipe.foo, then for it to automatically start cipe using "-o /etc/cipe/options.foo"
Created attachment 6330 [details] cipe-1.5.4-r1.ebuild.tgz An updated ebuild including fixes for the bugs in #10, support for multiple interfaces as described in #10, plus fixing some general ebuild badness (missing ChangeLog etc).
Created attachment 16017 [details] cipe-1.5.4.ebuild
Created attachment 16018 [details, diff] cipe-1.5.4-gentoo.patch
Created attachment 16019 [details] init.d-ciped
fixed some path problems and so on.
ok, this is now in portage...
cipe version 1.5.4 doesn't work with linux kernel 2.6, you should add a test to verify that the running kernel is a 2.4.