Discussion:
binkd/misc/nodelist.pl not on cpan ?
(too old to reply)
Benny Pedersen
2011-11-22 08:24:28 UTC
Permalink
Hello All!

would maintainers add this perl script to cpan ?

so it does not invalidate my ebuild md5 checksum, or can i get a md5 stable
file to make ebuilds to, updates is fine but i need to make new ebuild update
to sync md5 as it is now :(

----- binkd-20111120.patch begins -----
diff -urp 2//binkd-1.0/misc/nodelist.pl 1//binkd-1.0/misc/nodelist.pl
--- 2//binkd-1.0/misc/nodelist.pl 2011-09-12 21:45:42.000000000 +0200
+++ 1//binkd-1.0/misc/nodelist.pl 2011-11-20 00:10:02.000000000 +0100
@@ -184,7 +184,7 @@ sub compile_nodelist
$zone = $region = $net = $node;
$node = 0;
$domzone = $domreg = $domnet = "";
- foreach $i qw(M 1 2 3 4) {
+ foreach $i (qw(M 1 2 3 4)) {
$domzone = $domreg = $domnet = "DO$i:" .
$flags{"UDO$i"} if $flags{"UDO$i"};
}
$ird = $flags{"IRD"};
@@ -192,7 +192,7 @@ sub compile_nodelist
$region = $net = $node;
$node = 0;
$domreg = $domnet = "";
- foreach $i qw(M 1 2 3 4) {
+ foreach $i (qw(M 1 2 3 4)) {
$domreg = $domnet = "DO$i:" . $flags{"UDO$i"}
if $flags{"UDO$i"};
}
$ird = $flags{"IRD"};
@@ -200,7 +200,7 @@ sub compile_nodelist
$net = $node;
$node = 0;
$domnet = "";
- foreach $i qw(M 1 2 3 4) {
+ foreach $i (qw(M 1 2 3 4)) {
$domnet = "DO$i:" . $flags{"UDO$i"} if
$flags{"UDO$i"};
}
$ird = $flags{"IRD"};
@@ -256,7 +256,7 @@ sub compile_nodelist
}
unless (@addr) {
$domflag = ($domnet || $domreg || $domzone);
- foreach $i qw(M 1 2 3 4) {
+ foreach $i (qw(M 1 2 3 4)) {
$domflag = "DO$i:" . $flags{"UDO$i"} if
$flags{"UDO$i"};
}
if ($domflag =~ /^DO(.):/) {
----- binkd-20111120.patch ends -----

not a single c code change :(


Regards Benny

... there can only be one way of life, and it works :)
Erich Mounce
2011-11-22 02:20:21 UTC
Permalink
Re: binkd/misc/nodelist.pl not on cpan ?
By: Benny Pedersen to All on Tue Nov 22 2011 12:24:28
Post by Benny Pedersen
would maintainers add this perl script to cpan ?
so it does not invalidate my ebuild md5 checksum, or can i get a md5 stable
I am going to have to try out your ebuild. Thanks for putting that together!

Erich
Benny Pedersen
2011-11-23 18:25:38 UTC
Permalink
Hello Erich!

22 Nov 2011 06:20, Erich Mounce wrote to Benny Pedersen:

EM> I am going to have to try out your ebuild.
EM> Thanks for putting that together!

TODO: make the ebuild support --config
TODO: make it support xinetd use flag

feel free to add more todo

suggestions welcome

cool that there is more then just me that use it, it atleast
keep revdep-rebuild working, thanks for testing btw


Regards Benny

... there can only be one way of life, and it works :)
Jame Clay
2011-11-23 08:42:00 UTC
Permalink
Hi Benny!
Post by Benny Pedersen
would maintainers add this perl script to cpan ?
I could do it if no one else does, but why do so? Not everything needs to
be on CPAN...<g> Especially if it's already being distributed otherwise; as
be on CPAN...<g> part of the distribution of an application, for instance...
Post by Benny Pedersen
----- binkd-20111120.patch begins -----
....
----- binkd-20111120.patch ends -----
not a single c code change :(
<shrug> Perl is code too...<g>




Jame
Benny Pedersen
2011-11-24 14:25:50 UTC
Permalink
Hello Jame!

23 Nov 2011 12:42, Jame Clay wrote to Benny Pedersen:

JC> I could do it if no one else does, but why do so? Not everything
JC> needs to be on CPAN...<g>

yep, its not just others could add it, it was more to seperate tarballs,
minimize md5 changes on binkd tarball

JC> Especially if it's already being distributed
JC> otherwise; as part of the distribution of an application, for
JC> instance...

yep no harm is done, it only invalidate my ebuild and its fixed if i know its
changed :=)

md5 checksum is so i know it works with what i see works, and i am happy that
gentoo/funtoo is on my side there :=)
Post by Benny Pedersen
----- binkd-20111120.patch begins -----
....
----- binkd-20111120.patch ends -----
not a single c code change :(
JC> <shrug> Perl is code too...<g>

true, it will still be in 2 tarballs or on cpan :=)


Regards Benny

... there can only be one way of life, and it works :)

Loading...