On Mon, Sep 29, 2014, at 11:19 AM, Tom Eastep wrote:
> > Goal here is to get to a clean/correct host-specific, build46 process from
> > upstream sources.
>
> Producing vendor/host-specific RPMs is best done using the vendor's
> .spec files rather than the reference files included with Shorewall.
ACK'd.
That said, I'm all for as robust-as-possible upstream-only host-specific
process for those that prefer, either occasionally or regularly, to stick as
close to upstream as possible. (have Docker in my eventual sights ...).
EIther a mechanism to re-configure @ build46 exec, or correct-as-possible
host-specific defaults (hoping that, per-distro, they're not changing
frequently, if at all) are appreciated.
> I've just pushed patches to those files that I believe handle SBINDIR
> correctly.
confirming,
pull to
./release -> 59af7d9
./code -> 820c769
./tools -> ece6d87
cd ./release
setversion 4.6.4.git_59af7d9
git commit -a -m "fix setversion"
cd ../code
perl -pi -e \
's|^.*(PERLLIBDIR=).*|${1}\${PREFIX}/lib/perl5/vendor_perl/5.18.1|g; \
s|^.*(SBINDIR=).*|${1}/usr/sbin|' \
./Shorewall-core/shorewallrc.suse
git commit -a -m "fix shorewallrc.suse"
...
...
cd ../BUILD/4.6.4.git_59af7d9
touch shorewall-pkg.config
/usr/local/src/shorewall-build/tools/build/build46 -tr -cil6Ls 4.6.4.git_59af7d9
...
Shorewall 4.6.4.git_59af7d9 Build complete - Mon Sep 29 11:26:38 PDT
2014
rpm -qlp *rpm | egrep "sbin"
/usr/sbin/shorewall
/usr/sbin/shorewall6
/usr/sbin/shorewall6-lite
/usr/sbin/shorewall-lite
Thanks.
> Beware, however, that the resulting RPMs will not handle
> SERVICED. That needs to be changed by patching shorewallrc.suse.
Noted.
------------------------------------------------------------------------------
Slashdot TV. Videos for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users