Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174588 - net-firewall/shorewall(-common,-lite,-perl,-shell)-4.0.3 (new ebuilds)
Summary: net-firewall/shorewall(-common,-lite,-perl,-shell)-4.0.3 (new ebuilds)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Netmon project
URL: http://www.shorewall.net
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-14 14:17 UTC by Vieri
Modified: 2007-09-14 14:56 UTC (History)
4 users (show)

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


Attachments
shorewall-3.9.1 ebuild (shorewall-3.9.1.ebuild,3.95 KB, text/plain)
2007-04-14 14:17 UTC, Vieri
Details
shorewall-shell-3.9.1 ebuild (shorewall-shell-3.9.1.ebuild,1.04 KB, text/plain)
2007-04-14 14:18 UTC, Vieri
Details
shorewall-perl-3.9.1 ebuild (shorewall-perl-3.9.1.ebuild,1.09 KB, text/plain)
2007-04-14 14:18 UTC, Vieri
Details
shorewall-lite-3.9.1 ebuild (shorewall-lite-3.9.1.ebuild,1.78 KB, text/plain)
2007-04-14 14:19 UTC, Vieri
Details
shorewall-4.0.0-Beta4 ebuild (shorewall-4.0.0.ebuild,4.41 KB, text/plain)
2007-06-13 11:40 UTC, Vieri
Details
shorewall-lite-4.0.0-Beta4 ebuild (shorewall-lite-4.0.0.ebuild,2.06 KB, text/plain)
2007-06-13 11:41 UTC, Vieri
Details
shorewall-shell-4.0.0-Beta4 ebuild (shorewall-shell-4.0.0.ebuild,1.29 KB, text/plain)
2007-06-13 11:41 UTC, Vieri
Details
shorewall-perl-4.0.0-Beta4 ebuild (shorewall-perl-4.0.0.ebuild,1.35 KB, text/plain)
2007-06-13 11:42 UTC, Vieri
Details
4.0-aware net-firewall/shorewall-3.4.4 ebuild (shorewall-3.4.4.ebuild,3.99 KB, text/plain)
2007-07-05 08:35 UTC, Vieri
Details
net-firewall/shorewall-4.0.0 ebuild (Beta 7) (shorewall-4.0.0.ebuild,772 bytes, text/plain)
2007-07-05 08:36 UTC, Vieri
Details
net-firewall/shorewall-common-4.0.0 (Beta 7) (shorewall-common-4.0.0.ebuild,4.47 KB, text/plain)
2007-07-05 08:37 UTC, Vieri
Details
net-firewall/shorewall-lite-4.0.0 (Beta 7) (shorewall-lite-4.0.0.ebuild,2.07 KB, text/plain)
2007-07-05 08:38 UTC, Vieri
Details
net-firewall/shorewall-perl-4.0.0 (Beta 7) (shorewall-perl-4.0.0.ebuild,1.41 KB, text/plain)
2007-07-05 08:39 UTC, Vieri
Details
net-firewall/shorewall-shell-4.0.0 (Beta 7) (shorewall-shell-4.0.0.ebuild,1.35 KB, text/plain)
2007-07-05 08:39 UTC, Vieri
Details
net-firewall/shorewall-common-4.0.0 (RC1) (shorewall-common-4.0.0.ebuild,4.48 KB, text/plain)
2007-07-07 07:36 UTC, Vieri
Details
net-firewall/shorewall-common-4.0.0 (stable release) (shorewall-common-4.0.0.ebuild,4.79 KB, text/plain)
2007-07-22 17:55 UTC, Vieri
Details
net-firewall/shorewall-4.0.1 ebuild (stable) (shorewall-4.0.1.ebuild,788 bytes, text/plain)
2007-07-30 18:13 UTC, Vieri
Details
net-firewall/shorewall-common-4.0.1 (stable) (shorewall-common-4.0.1.ebuild,3.55 KB, text/plain)
2007-07-30 18:14 UTC, Vieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vieri 2007-04-14 14:17:11 UTC
New Shorewall structure:
- shorewall base package
- shorewall-shell traditional compiler
- shorewall-perl new compiler
- shorewall-lite


Reproducible: Always
Comment 1 Vieri 2007-04-14 14:17:47 UTC
Created attachment 116237 [details]
shorewall-3.9.1 ebuild
Comment 2 Vieri 2007-04-14 14:18:19 UTC
Created attachment 116238 [details]
shorewall-shell-3.9.1 ebuild
Comment 3 Vieri 2007-04-14 14:18:47 UTC
Created attachment 116240 [details]
shorewall-perl-3.9.1 ebuild
Comment 4 Vieri 2007-04-14 14:19:14 UTC
Created attachment 116241 [details]
shorewall-lite-3.9.1 ebuild
Comment 5 Vieri 2007-06-13 11:39:23 UTC
Proposing new ebuilds for the upcoming 4.0.0 release.
These ebuilds are currently based on the Beta4 packages but can easily be updated to use the stable 4.0.0 as soon as it comes out.

The following is commented out because I don't know how to avoid cyclic dependencies (if anyone could help out...):
#RDEPEND="|| (
#	>=net-firewall/shorewall-shell-4.0.0
#	>=net-firewall/shorewall-perl-4.0.0
#	)"

(Gentoo users are invited to test Shorewall-4.0.0-Beta with these ebuilds and report back your experiences to the shorewall-devel mailing list. For better feedback in case of encountering errors you should also grab the latest revision from Shorewall's SVN.)
Comment 6 Vieri 2007-06-13 11:40:22 UTC
Created attachment 121927 [details]
shorewall-4.0.0-Beta4 ebuild
Comment 7 Vieri 2007-06-13 11:41:00 UTC
Created attachment 121928 [details]
shorewall-lite-4.0.0-Beta4 ebuild
Comment 8 Vieri 2007-06-13 11:41:35 UTC
Created attachment 121929 [details]
shorewall-shell-4.0.0-Beta4 ebuild
Comment 9 Vieri 2007-06-13 11:42:06 UTC
Created attachment 121931 [details]
shorewall-perl-4.0.0-Beta4 ebuild
Comment 10 Vieri 2007-06-13 11:43:35 UTC
I would also like to request the removal of shorewall-perl-3.9.0 from portage.
Comment 11 Vieri 2007-07-05 08:35:09 UTC
Created attachment 123920 [details]
4.0-aware net-firewall/shorewall-3.4.4 ebuild

I think that

RDEPEND="!net-firewall/shorewall-common
	!net-firewall/shorewall-shell
	!net-firewall/shorewall-perl"

should be added to all shorewall ebuilds in portage.

The 3.4.4 ebuild is proposed here.
Please also refer to http://bugs.gentoo.org/show_bug.cgi?id=182544
Comment 12 Vieri 2007-07-05 08:36:43 UTC
Created attachment 123922 [details]
net-firewall/shorewall-4.0.0 ebuild (Beta 7)

dummy ebuild (now "shorewall" should not exist anymore; only shorewall-common, -perl and -shell)
Comment 13 Vieri 2007-07-05 08:37:37 UTC
Created attachment 123923 [details]
net-firewall/shorewall-common-4.0.0 (Beta 7)

new ebuild
Comment 14 Vieri 2007-07-05 08:38:23 UTC
Created attachment 123925 [details]
net-firewall/shorewall-lite-4.0.0 (Beta 7)
Comment 15 Vieri 2007-07-05 08:39:04 UTC
Created attachment 123927 [details]
net-firewall/shorewall-perl-4.0.0 (Beta 7)
Comment 16 Vieri 2007-07-05 08:39:37 UTC
Created attachment 123928 [details]
net-firewall/shorewall-shell-4.0.0 (Beta 7)
Comment 17 Vieri 2007-07-05 08:41:09 UTC
Shorewall will be split into shorewall-common, shorewall-shell and shorewall-perl.
shorewall-lite will remain as such.
Comment 18 Vieri 2007-07-07 07:36:50 UTC
Created attachment 124117 [details]
net-firewall/shorewall-common-4.0.0 (RC1)

Release Candidate 1 available.

Also minor ebuild fix regarding download URL.

The other ebuilds should be manually edited and make sure that:
MY_P_BETA="-RC1"

Unmerge previous betas, if any, before emergeing RC1.
Comment 19 Vieri 2007-07-22 17:55:49 UTC
Created attachment 125677 [details]
net-firewall/shorewall-common-4.0.0 (stable release)

Stable 4.0.0 has been released.

All proposed ebuilds should be changed to reflect:
MY_P_TREE="4.0"             # stable
MY_P_BETA=""                # stable or experimental

The attached shorewall-common ebuild has also a few fixes.
Comment 20 Attila Jecs 2007-07-25 20:51:30 UTC
shorewall-common Version 4.0.0 Installed
cp: stat "/usr/local/portage/net-firewall/shorewall-common/files/shorewall-r2" sikertelen: Nincs ilyen f**l vagy k**yvt**
 *
 * ERROR: net-firewall/shorewall-common-4.0.0 failed.
 * Call stack:
 *   ebuild.sh, line 1648:   Called dyn_install
 *   ebuild.sh, line 1083:   Called qa_call 'src_install'
 *   ebuild.sh, line 44:   Called src_install
 *   shorewall-common-4.0.0.ebuild, line 48:   Called die
 *
 * doinitd failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-firewall/shorewall-common-4.0.0/temp/build.log'.
 * This ebuild is from an overlay: '/usr/local/portage/'
Comment 21 Attila Jecs 2007-07-25 20:54:07 UTC
cp: cannot stat `/usr/local/portage/net-firewall/shorewall-common/files/shorewall-r2': No such file or directory
Comment 22 Vieri 2007-07-26 07:41:32 UTC
(In reply to comment #21)
> cp: cannot stat
> `/usr/local/portage/net-firewall/shorewall-common/files/shorewall-r2': No such
> file or directory
> 

Just copy over files/shorewall-r2 from /usr/portage/net-firewall/shorewall-common to /usr/local/portage/net-firewall/shorewall-common.
Comment 23 Vieri 2007-07-26 07:42:34 UTC
(In reply to comment #22)
> Just copy over files/shorewall-r2 from
> /usr/portage/net-firewall/shorewall-common to

I meant /usr/portage/net-firewall/shorewall...
Comment 24 Vieri 2007-07-30 18:12:12 UTC
4.0.1 is out (netmon pretty please)
Comment 25 Vieri 2007-07-30 18:13:18 UTC
Created attachment 126468 [details]
net-firewall/shorewall-4.0.1 ebuild (stable)
Comment 26 Vieri 2007-07-30 18:14:51 UTC
Created attachment 126469 [details]
net-firewall/shorewall-common-4.0.1 (stable)

Minor changes (less einfo).
-shell and -perl are trivial (version bump)
Comment 27 Vieri 2007-08-10 14:40:39 UTC
4.0.2 has been released.
Would be nice to have it go into portage and 3.4 stabilized.
Comment 28 Markus Ullmann (RETIRED) gentoo-dev 2007-09-06 11:35:30 UTC
Finally made it into the tree
Added you to metadata so you can pick up any dev and pester him to bump ebuilds if I'm not there or slacking or whatever ;)
Comment 29 Vieri 2007-09-07 09:11:06 UTC
Thanks Markus.
I'm reopening this bug instead of opening another one because it's directly related to these new ebuilds. 

----

# emerge -pv shorewall

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] net-firewall/shorewall-shell-4.0.3  69 kB
[ebuild  N    ] net-firewall/shorewall-common-4.0.3  USE="doc" 2,395 kB
[ebuild  N    ] net-firewall/shorewall-4.0  0 kB
[blocks B     ] <net-firewall/shorewall-4.0.0 (is blocking net-firewall/shorewall-common-4.0.3, net-firewall/shorewall-shell-4.0.3)

Total: 3 packages (3 new, 1 block), Size of downloads: 2,464 kB

----

If I edit shorewall-common, shorewall-shell and shorewall-perl ebuilds and change:
DEPEND="...
        !<net-firewall/shorewall-4.0.0"
to
DEPEND="...
        !<net-firewall/shorewall-4.0"

the blocking issue is solved.

----

# emerge -pv shorewall shorewall-perl

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] net-firewall/shorewall-shell-4.0.3  69 kB
[ebuild  N    ] net-firewall/shorewall-common-4.0.3  USE="doc" 2,395 kB
[ebuild  N    ] net-firewall/shorewall-4.0  0 kB
[ebuild  N    ] net-firewall/shorewall-perl-4.0.3  98 kB

Total: 4 packages (4 new), Size of downloads: 2,562 kB
Comment 30 Markus Ullmann (RETIRED) gentoo-dev 2007-09-07 10:54:55 UTC
corrected :) thankies
Comment 31 Joakim 2007-09-10 02:16:18 UTC
Did you guys ever thought of a sceenario where shorewall already is installed?

merc ~ # emerge -ua shorewall

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] net-firewall/shorewall-4.0 [3.4.6] 
[ebuild  N    ] net-firewall/shorewall-shell-4.0.3  
[ebuild  N    ] net-firewall/shorewall-common-4.0.3  USE="-doc" 
[blocks B     ] <net-firewall/shorewall-4.0 (is blocking net-firewall/shorewall-common-4.0.3, net-firewall/shorewall-shell-4.0.3)

!!! Error: The above package list contains packages which cannot be installed
!!!        at the same time on the same system.

For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked

I know "blocked" generally mean to first unmerge the old package first but shorewall docs stress that uninstall of 3.4.6 is not neccesarry before upgrade, so why on Gentoo?
Comment 32 Vieri 2007-09-10 07:38:48 UTC
Reopening due to a typo in shorewall-perl ebuild:

DEPEND="net-firewall/iptables
        sys-apps/iproute2
        dev-lang/perl
        !<et-firewall/shorewall-4.0"
          ^^
needs to be "net".

---

Joakim, I haven't found a simple way to do this in an ebuild. If someone can please take a look at it. 
The DEPEND restriction above is to avoid downgrades that don't unmerge shorewall >4.0.
An alternative I suggested previously is to add:

RDEPEND="!net-firewall/shorewall-common
        !net-firewall/shorewall-shell
        !net-firewall/shorewall-perl"

to all pre-4.0 shorewall ebuilds.

So then one can also remove !<net-firewall/shorewall-4.0 from DEPEND in the post-4.0 ebuilds and that would get rid of your error message.

Comment 33 Markus Ullmann (RETIRED) gentoo-dev 2007-09-14 14:56:39 UTC
> I know "blocked" generally mean to first unmerge the old package first but
> shorewall docs stress that uninstall of 3.4.6 is not neccesarry before upgrade,
> so why on Gentoo?

We make use of the splitted packages as upstream does now.

And if you want to use the "new" package, you have to unmerge the older one. No way around that.

It's also a good reminder that people should look again at their configs.