You are not logged in.
Working on it.
Offline
Ok. That sucked. It's done. http://aur.archlinux.org/packages.php?ID=17042
It was designed for ubuntu. Shitty hardcoded paths, shitty setup. I don't know if it works. I'm not getting errors though.
Offline
Ok. That sucked. It's done. http://aur.archlinux.org/packages.php?ID=17042
It was designed for ubuntu. Shitty hardcoded paths, shitty setup. I don't know if it works. I'm not getting errors though.
Great, let me test it.
Thanks a lot
Proud Ex-Arch user.
Still an ArchLinux lover though.
Currently on Kubuntu 9.10
Offline
It has to be further patched to remove Ubuntu assumptions. It's not ready. I believe the init-functions are used to enable/disable itself at startup. That's what it says when you 'ufw enable'. They don't work on arch, and I will not allow it to mess with rc.conf. That functionality must be removed. It has more lsb dependencies than those init-functions. There are other issues with it.
I've had a look at the code. In its current form, it will not work on Arch Linux without severe patching. It has a Canonical copyright slapped on it. Meaning, it was not done by the community. They, have no interest in supporting competitors of Ubuntu. I doubt they'll make it cross platform.
Don't get your hopes up. I moved away from Windows to not care about anti-viruses and firewalls. Unless you can convince me otherwise, I have no interest in working on it.
Last edited by SpookyET (2008-05-19 12:15:19)
Offline
Well I already noticed it just won't work.
Guess that the only way to do this is to ask Canonical to make it portable or to fork it.
however, since I don't know Python programming, I can't do that.
Anyway, since it's a nice and KISS FW tool, no doubt I will insist for some way to have it running under Arch.
Proud Ex-Arch user.
Still an ArchLinux lover though.
Currently on Kubuntu 9.10
Offline
It's not a lot of work. The LSB dependencies must be removed or rewritten. You don't need to know python, especially if you want to remove stuff. All you need is basic programming knowledge. If you really want it, I would not wait for Canonical. There is no benefit in helping other distributions for them.
Offline
It's not a lot of work. The LSB dependencies must be removed or rewritten. You don't need to know python, especially if you want to remove stuff. All you need is basic programming knowledge. If you really want it, I would not wait for Canonical. There is no benefit in helping other distributions for them.
Well it's just that I really like ufw and it would be nice to have it as my default CLI for iptables.
I do know Bash programming and maybe a little bit of python basics.
Where should I start correcting ufw?
Should I use your patches?
Proud Ex-Arch user.
Still an ArchLinux lover though.
Currently on Kubuntu 9.10
Offline
You do need my patches, but I would make a bfp.patch (big fucking patch). Anyone who has played DOOM should appreciate that. Start with the the initscript. That's bash. Try to make it as close as possible to an arch initscript. You'll have to get rid of the LSB stuff. You'll have to rewrite the log functions, or copy and paste the from the lsb somewhere.
Look at /usr/share/pacman/rc-script.proto
As for the actual ufw. I believe it only uses LSB for enable/disable. Should be easy to remove.
Use yaourt -G ufw to get my files.
Offline
You'll have to get rid of the LSB stuff. You'll have to rewrite the log functions, or copy and paste the from the lsb somewhere.
What's that for?
Should I change those functions to be Arch Like?
Well, I'll just take a look at all of the files, then if I have some doubt just ask here.
Proud Ex-Arch user.
Still an ArchLinux lover though.
Currently on Kubuntu 9.10
Offline
Clearly, if you have to be told how to do wit, you probably should not do it.
Offline
Clearly, if you have to be told how to do wit, you probably should not do it.
No, I was just being lazy.
Proud Ex-Arch user.
Still an ArchLinux lover though.
Currently on Kubuntu 9.10
Offline
I made a comment on aur page as there is and mistake in start script (/etc/rc.d/ufw):
it should be:
[ -x /usr/sbin/ufw ] || exit 0
instead of:
[ -x ///sbin/ufw ] || exit 0
otherwise it does not start
Last edited by zyghom (2008-05-20 08:14:24)
Zygfryd Homonto
Offline
I made a comment on aur page as there is and mistake in start script (/etc/rc.d/ufw):
it should be:[ -x /usr/sbin/ufw ] || exit 0
instead of:
[ -x ///sbin/ufw ] || exit 0
otherwise it does not start
My install patch is failing somewhere.
Offline
Have you abandoned it?
Offline
Have you abandoned it?
Not really I'm still working on it, however I have been busy with other system stuff, I will continue with it next week.
Proud Ex-Arch user.
Still an ArchLinux lover though.
Currently on Kubuntu 9.10
Offline
I adopted that. I think this work now. I also adopted the gui (gufw). If you have problems, please contact me.
Offline
I adopted that. I think this work now. I also adopted the gui (gufw). If you have problems, please contact me.
It's supposed to be fixed upstream (thanks to my bug report xD)
http://bazaar.launchpad.net/~jdstrand/u … vision/158
14 Install
15 ------- 15 -------
16 python ./setup.py install --root=PREFIX 16 Users can install with:
17 # python ./setup.py install
18 $ python ./setup.py install --home=PREFIX
19
20
21 Distributions which install to a build directory for packaging can install
22 with:
23 $ python ./setup.py install --root=PREFIX
17 24
18 Eg: 25 Eg:
19 python ./setup.py install --root=/ 26 python ./setup.py install --root=/tmp/ufw
As you can see
$ python ./setup.py install --root=PREFIX
that code can be used to install ufw to a dir, and then package it.
Proud Ex-Arch user.
Still an ArchLinux lover though.
Currently on Kubuntu 9.10
Offline
Yes! Thanks very much!
In PKGBUILD, its does:
python ./setup.py install --root=$startdir/pkg || return 1
So, i think this is right, no?
Offline
Yes! Thanks very much!
In PKGBUILD, its does:
python ./setup.py install --root=$startdir/pkg || return 1
So, i think this is right, no?
I haven't tried this new ufw, but I guess that it installs to a specified dir, why don't you try
python ./setup.py install --root=$startdir/pkg/opt/ufw || return 1
To see if it installs to that folder or how does it works...
Proud Ex-Arch user.
Still an ArchLinux lover though.
Currently on Kubuntu 9.10
Offline
This will install in /, because the structure of the setup moves files to especific directories. All works now.
Offline
This will install in /, because the structure of the setup moves files to especific directories. All works now.
Then maybe it's time to port it to Arch?
An /etc/rc.d/ file should be created so that it can be used as a daemon in rc.conf
Proud Ex-Arch user.
Still an ArchLinux lover though.
Currently on Kubuntu 9.10
Offline
That is created, patching some files. All work with daemon now.
Offline