[Porting] Packages needed by DSA

View: New views
3 Messages — Rating Filter:   Alert me  

[Porting] Packages needed by DSA

by Aurelien Jarno :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

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
- moreutils
- lsof
- nagios-plugins-basic

Regards,
Aurelien

--
Aurelien Jarno                          GPG: 1024D/F1BCDB73
aurelien@...                 http://www.aurel32.net


--
To UNSUBSCRIBE, email to debian-bsd-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: [Porting] Packages needed by DSA

by Robert Millan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Oct 26, 2009 at 07:33:33PM +0100, Aurelien Jarno wrote:
> Hi all,
>
> 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
> - moreutils
> - lsof
> - nagios-plugins-basic

Note that timeout has been superceded by a new implementation from coreutils
in unstable;  in fact the package is not installable anymore (since coreutils
conflicts with it).

--
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."


--
To UNSUBSCRIBE, email to debian-bsd-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: [Porting] Packages needed by DSA

by Petr Salinger-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> 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


--
To UNSUBSCRIBE, email to debian-bsd-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...