This small program receives UDP datagrams on a given port, and resends those datagrams to a specified set of receivers. In addition, a sampling divisor N may be specified individually for each receiver, which will then only receive one in N of the received packets. Samplicator Homepage: https://code.google.com/p/samplicator/ Ebuild repo on bitbucket: https://bitbucket.org/SpiderX/ebuilds Reproducible: Always
Created attachment 340174 [details] ebuild for samplicator 1.3.6
Created attachment 340176 [details] ebuild for samplicator 1.3.7 beta
Created attachment 340178 [details] man, init-script for ebuild
Created attachment 340180 [details] metadata for ebuild
If no one is going to maintain this package, I agree to be a proxy-maintainer for this ebuild.
Yes, we can add this; but I wonder about three things: 1) Dependencies seem to be missing, or are they provided by the system set? I see two libraries in configure.in. 2) Do we need to configure anything? I see two defines in their configure.in. > ewarn " Don't specify receiver on the command line, because it will get all packets." > ewarn " Instead this, specify it in config file. Receiver defined is such way will get only packets with a matching source." 3) Has this been reported upstream? Or is it a bug with the init script you made? >src_compile() { > default >} Just a note: If you don't specify the phase function, it will run the default.
1) There is no need in dependencies mentioned in configure.in. I think they are obsolete or needed for compatibility with some OSes. Everything compiling and working fine without libnsl. As for libsocket, I doubt that it exists at all for GNU/Linux. 2) No. We don't need to configure anything. These defines do not affect program code or program runtime. 3) It isn't a init script bug, and isn't a program bug. It is a known behavior (sometime is useful, sometime - not). I just suggested a workaround with my init script. > Just a note: If you don't specify the phase function, it will run the default. Indeed. Thank you. Then this section may be removed.
In the future please append the name and version in front of files in the file directory, alternatively you can place them in a sub directory with the version as its name; that way we allow different versions of the init script and such to co-exist, thank you in advance. Did some small changes. > * QA Notice: shell script appears to use non-POSIX feature(s): > * possible bashism in /etc/init.d/samplicator line 9 (${parm/?/pat[/str]}): > * PNAME=${RC_SVCNAME//.*/} > * possible bashism in /etc/init.d/samplicator line 31 (${parm/?/pat[/str]}): > * pgrep -n ${PNAME/or/e} > ${PID} Also fixed above QA issue. +*samplicator-1.3.7_beta6 (03 Mar 2013) +*samplicator-1.3.6 (03 Mar 2013) + + 03 Mar 2013; Tom Wijsman <TomWij@gentoo.org> +files/samplicator.8, + +files/samplicator.conf, +files/samplicator.initd, +metadata.xml, + +samplicator-1.3.6.ebuild, +samplicator-1.3.7_beta6.ebuild: + New ebuilds for samplicator, contributed by Vladimir Pavljuchenkov who will + proxy maintain this. Fixes bug #459310. Done, will be on the rsync mirrors in a few hours.
> Also fixed above QA issue. How did you get this QA issue? Repoman doesn't show any QA issue to me.
You need `emerge dev-util/checkbashisms` for that, I think.