Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 465114 - net-firewall/arno-iptables-firewall-2.0.1d-r1 - dependency updates, new init.d script, clean up install/generally, fix doc path
Summary: net-firewall/arno-iptables-firewall-2.0.1d-r1 - dependency updates, new init....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ferenc Erki
URL:
Whiteboard:
Keywords: EBUILD, InVCS, PATCH, REVIEWED
Depends on:
Blocks:
 
Reported: 2013-04-08 14:59 UTC by Ferenc Erki
Modified: 2013-05-18 09:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
arno-iptables-firewall-2.0.1d-r1.ebuild (arno-iptables-firewall-2.0.1d-r1.ebuild,2.28 KB, text/plain)
2013-04-08 15:01 UTC, Ferenc Erki
Details
arno-iptables-firewall.rc (arno-iptables-firewall.rc,403 bytes, text/plain)
2013-04-08 15:02 UTC, Ferenc Erki
Details
updated ebuild file (arno-iptables-firewall-2.0.1d-r1.ebuild,2.06 KB, text/plain)
2013-05-12 20:44 UTC, Ferenc Erki
Details
arno-iptables-firewall-2.0.1d-r1.ebuild (arno-iptables-firewall-2.0.1d-r1.ebuild,2.06 KB, text/plain)
2013-05-12 20:45 UTC, Ferenc Erki
Details
arno-iptables-firewall (arno-iptables-firewall,403 bytes, text/plain)
2013-05-12 20:45 UTC, Ferenc Erki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ferenc Erki 2013-04-08 14:59:41 UTC
I cleaned up and improved the current net-firewall/arno-iptables-firewall ebuild. Changes include:
- dependency updates
- new initscript
- cleaned up and simplified install
- fix documentation path
- whitespace and message cleanups

I'll attach the updated ebuild and new initscript files.

Reproducible: Always
Comment 1 Ferenc Erki 2013-04-08 15:01:47 UTC
Created attachment 344850 [details]
arno-iptables-firewall-2.0.1d-r1.ebuild
Comment 2 Ferenc Erki 2013-04-08 15:02:46 UTC
Created attachment 344852 [details]
arno-iptables-firewall.rc

new initscript
Comment 3 Ferenc Erki 2013-04-16 14:42:12 UTC
I'd like to ask a proxy committer to review the previously attached ebuild and initscript files and provide feedback whether I should make further modifications to them. Thanks in advance! :)
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2013-05-12 11:19:27 UTC
Hi,

Comments about the ebuild

- Can we make it EAPI5 please?
- Move S= below DEPEND please
- Is /usr/share/arno-iptables-firewall/plugins the appropriate place to have executable plugins? I think /usr/libexec is preferred for this. I am not 100% sure though
- You are mixing ewarn and elog rules in the postinst(). If you think all of the messages are important then use elog. Also consider using the readme.gentoo eclass for such messages.
Comment 5 Markos Chandras (RETIRED) gentoo-dev 2013-05-12 11:20:29 UTC
Comments about the init script

- Please drop the .rc suffix
- "Single- & multi-homed": Why the extra '-' after Single?
Comment 6 Ferenc Erki 2013-05-12 20:44:10 UTC
Created attachment 348102 [details]
updated ebuild file
Comment 7 Ferenc Erki 2013-05-12 20:45:19 UTC
Created attachment 348104 [details]
arno-iptables-firewall-2.0.1d-r1.ebuild

updated ebuild file
Comment 8 Ferenc Erki 2013-05-12 20:45:59 UTC
Created attachment 348106 [details]
arno-iptables-firewall

renamed initscript
Comment 9 Ferenc Erki 2013-05-12 21:04:00 UTC
Hi,

thanks for the review, I've implemented the changes you mentioned and a bit of further cleanup:

- change to EAPI 5
- move/quote S and DEPEND variables
- install sourced/executable helper files to /usr/libexec
- cleanup pkg_postinst and use readme.gentoo eclass
- rename initscript
- replace package's name with "${PN}" throughout the ebuild
- remove accidental empty lines and a trailing slash

Please find the updated files attached.
Comment 10 Ferenc Erki 2013-05-12 21:16:36 UTC
(In reply to comment #5)
> - "Single- & multi-homed": Why the extra '-' after Single?

It is taken directly from the upstream description and that hyphen is there to mean both single-homed and multi-homed.

It's valid and used in my language so I haven't noticed it originally but during a conversation with ABCD and pchrist on #gentoo-dev-help it turned out to be valid in English too. At least according to them and http://changingminds.org/techniques/language/punctuation/hyphen.htm :)
Comment 11 Markos Chandras (RETIRED) gentoo-dev 2013-05-18 08:58:35 UTC
(In reply to comment #9)
> Hi,
> 
> thanks for the review, I've implemented the changes you mentioned and a bit
> of further cleanup:
> 
> - change to EAPI 5
> - move/quote S and DEPEND variables
> - install sourced/executable helper files to /usr/libexec
> - cleanup pkg_postinst and use readme.gentoo eclass
> - rename initscript
> - replace package's name with "${PN}" throughout the ebuild
> - remove accidental empty lines and a trailing slash
> 
> Please find the updated files attached.

Hi,

good work. I believe the ebuild looks good enough for inclusion. I will take care of that.
Comment 12 Markos Chandras (RETIRED) gentoo-dev 2013-05-18 09:03:32 UTC
minor thingie.

newinitd "${FILESDIR}/${PN}" "${PN}" can be replaced by
doinitd "${FILESDIR}/${PN}"

because the one in files/ and the destination file have the same name.
Comment 13 Markos Chandras (RETIRED) gentoo-dev 2013-05-18 09:22:34 UTC
Thanks. Committed

+*arno-iptables-firewall-2.0.1d-r1 (18 May 2013)
+
+  18 May 2013; Markos Chandras <hwoarang@gentoo.org>
+  +arno-iptables-firewall-2.0.1d-r1.ebuild, +files/arno-iptables-firewall:
+  Cleanup, EAPI5, initscript and other fixes thanks to Ferenc Erki
+  <erkiferenc@gmail.com>. Bug #465114
+


http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.1d-r1.ebuild?view=log

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-firewall/arno-iptables-firewall/files/arno-iptables-firewall?view=log