Re: [Porting] Packages needed by DSA
If you want to start to do porting work, here is the list of packages
that we need asap (they are needed by DSA):
- timeout
Replaced by current coreutils.
- moreutils
Do they need all the utilities ?
The only problematic one is ifdata,
the parallel is easily fixable, the rest build fine:
--- parallel.c
+++ parallel.c
@@ -64,7 +64,9 @@
return;
}
-int wait_for_child(int options) {
+int wait_for_child(int options) { /* zero or WNOHANG */
+
+#if defined (__linux__)
id_t id_ignored = 0;
siginfo_t infop;
@@ -74,6 +76,16 @@
return -1; /* Nothing to wait for */
if (infop.si_code == CLD_EXITED)
return infop.si_status;
+#else
+ int status;
+ int rv;
+
+ rv = waitpid(-1, &status, options);
+ if (rv < 0)
+ return -1; /* Nothing to wait for */
+ if (WIFEXITED(status))
+ return WEXITSTATUS(status);
+#endif
return 1;
}
- lsof
The recent upstream have some support for FreeBSD.
- nagios-plugins-basic
In fact it is already built, but it depends on iputils-ping.
Would any ping suffice or is really the one from iputils-ping needed ?
Petr
Reply to: