Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 51690

Summary: NEW EBUILD - tuxfrw - firewall automation tool
Product: Gentoo Linux Reporter: Enderson Tadeu S. Maia (RETIRED) <enderson>
Component: New packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: enhancement CC: angusyoung, gondim, indiox, scootersmk
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://tuxfrw.sourceforge.net/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: first stab at tuxfrw-2.58.ebuild
Gentoo initscript
tuxfrw initscript
patch for TuxFrw initscript - included natopen and panic functions

Description Enderson Tadeu S. Maia (RETIRED) gentoo-dev 2004-05-21 12:48:01 UTC
It's so easy to install, and so must be easy to make an ebuild, it has only
the /etc/tuxfrw/ dir, where it keeps the all configuration, and the /sbin/tuxfrw
the script that creates the rules based con the configuration.

Visit http://tuxfrw.sourceforge.net/ for instructions.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Marcelo Gondim 2004-05-21 21:37:11 UTC
The correct url for new version: http://www.sourceforge.net/projects/tuxfrw
Comment 2 scootersmk 2004-06-04 22:28:19 UTC
Created attachment 32678 [details]
first stab at tuxfrw-2.58.ebuild

This is simply a set of scripts, so there is nothing to compile. Basically all
I did was rewrite their install script into ebuild format.  

The ebuild merged successfully but i was not able to get the program up and
running yet.  Either the init script is going to need to be re-written to
conform to gentoo standards, or it can remain as the ebuild is now with simply
and executable (which would not be very practical).  

This is one of my first ebuilds and I am basically just practicing my
ebuild-ing skills.  If there is no need for this package let me know so I am no
wasting my time.  Please look at the ebuild and comment on any major problems
in the design and organization of the ebuild. I will be alot more motivated to
work on this if i see some comments/input/feedback. Thanks

Scott
Comment 3 Enderson Tadeu S. Maia (RETIRED) gentoo-dev 2004-06-05 09:32:17 UTC
Created attachment 32718 [details]
Gentoo initscript

Initscript for tuxfrw.
Comment 4 Enderson Tadeu S. Maia (RETIRED) gentoo-dev 2004-06-05 09:33:44 UTC
In the ebuild is just uncoment the 55,56 lines:

#needs gentoo style script
exeopts -m700
exeinto /etc/init.d/; doexe ${S}/gentoo/tuxfrw
Comment 5 Otavio Piske (RETIRED) gentoo-dev 2004-06-07 20:52:05 UTC
I tested the ebuild and it worked without problems for me. Also, I think it would be a great addition to portage tree.
Comment 6 Marcelo Gondim 2004-06-08 10:26:31 UTC
Hi all,

I have tested ebuild and this works perfectly, but it is missing initscript for being perfect.
Mr. Enderson included an initscript here, but I don't know how to include this in ebuild. 

Both programs are working.  :)

Thanks to all and I expect to be release on the portage soon.

Gondim
Comment 7 Seemant Kulleen (RETIRED) gentoo-dev 2004-06-23 11:15:40 UTC
enderson, please reattach your initscript as PLAINTEXT
Comment 8 Enderson Tadeu S. Maia (RETIRED) gentoo-dev 2004-06-23 12:41:59 UTC
Created attachment 33972 [details]
tuxfrw initscript

Now it's text/plain. Right?
Comment 9 Marcelo Gondim 2004-06-23 18:11:25 UTC
Created attachment 34011 [details, diff]
patch for TuxFrw initscript - included natopen and panic functions
Comment 10 Seemant Kulleen (RETIRED) gentoo-dev 2004-07-02 04:05:15 UTC
much better, thanks.
Comment 11 Otavio Piske (RETIRED) gentoo-dev 2005-01-24 02:17:48 UTC
Hi, 

anyone taking care of this? May I take it?
Comment 12 Aaron Walker (RETIRED) gentoo-dev 2005-01-24 02:42:52 UTC
Can't speak for the rest of netmon (esp. since I just joined ;p), but I doubt anyone will have a problem with you taking this, as long as you're going to maintain it.
Comment 13 Lance Albertson (RETIRED) gentoo-dev 2005-01-24 06:08:29 UTC
Feel free to take it, just make sure you keep it up to date and keep it assigned to us for security bumps. Cheers
Comment 14 Otavio Piske (RETIRED) gentoo-dev 2005-01-24 14:23:59 UTC
Ok, commited.