[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#179659: marked as done (NetBSD support in start-stop-daemon)



Your message dated Mon, 28 Apr 2003 10:43:34 -0400
with message-id <E19A9qw-0001MR-00@auric.debian.org>
and subject line Bug#179659: fixed in dpkg 1.10.10
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 3 Feb 2003 21:04:00 +0000
>From lucifer@lightbearer.com Mon Feb 03 15:03:59 2003
Return-path: <lucifer@lightbearer.com>
Received: from 34.mufa.clsp.snfccafj.dsl.att.net (dogma.lightbearer.com) [12.99.69.34] (qmailr)
	by master.debian.org with smtp (Exim 3.12 1 (Debian))
	id 18fnl0-0002HY-00; Mon, 03 Feb 2003 15:03:59 -0600
Received: (qmail 30799 invoked by uid 1000); 3 Feb 2003 21:03:56 -0000
Date: Mon, 3 Feb 2003 14:03:56 -0700
From: Joel Baker <fenton@debian.org>
To: submit@bugs.debian.org
Subject: NetBSD support in start-stop-daemon
Message-ID: <20030203210356.GA30782@lightbearer.com>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="TYecfFk8j8mZq+dy"
Content-Disposition: inline
User-Agent: Mutt/1.3.28i
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-6.4 required=5.0
	tests=PGP_SIGNATURE_2,SPAM_PHRASE_00_01,USER_AGENT,
	      USER_AGENT_MUTT
	version=2.41
X-Spam-Level: 


--TYecfFk8j8mZq+dy
Content-Type: multipart/mixed; boundary="b5gNqxB1S1yM7hjW"
Content-Disposition: inline


--b5gNqxB1S1yM7hjW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: dpkg
Version: 1.10.9
Severity: wishlist
Tags: patch

Another NetBSD support patch.
--=20
Joel Baker <fenton@debian.org>

--b5gNqxB1S1yM7hjW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=002_start-stop-daemon_netbsd
Content-Transfer-Encoding: quoted-printable

Package: dpkg
Version: 1.10.4
Patch: 002_start-stop-daemon_netbsd (NetBSD support in start-stop-daemon)
Author: Joel Baker <joel@lightbearer.com>
Submitted: No

This patch adds support for all NetBSD architectures to start-stop-daemon,
by applying the same general fixes that are required for FreeBSD and OpenBSD
(to wit, it recognizes the existance of NetBSD, and uses the replacement
pid_is_cmd function). It should be applied against an unpacked dpkg
directory, using -p1.

diff -urN dpkg-1.10.4.orig/utils/start-stop-daemon.c dpkg-1.10.4/utils/star=
t-stop-daemon.c
--- dpkg-1.10.4.orig/utils/start-stop-daemon.c	Fri Jul 12 03:32:00 2002
+++ dpkg-1.10.4/utils/start-stop-daemon.c	Sun Sep  8 22:00:36 2002
@@ -34,6 +34,8 @@
 #  define OShpux
 #elif defined(__FreeBSD__)
 #  define OSFreeBSD
+#elif defined(__NetBSD__)
+#  define OSNetBSD
 #else
 #  error Unknown architecture - cannot build start-stop-daemon
 #endif
@@ -45,7 +47,7 @@
 #  include <ps.h>
 #endif
=20
-#if defined(OSOpenBSD) || defined(OSFreeBSD)
+#if defined(OSOpenBSD) || defined(OSFreeBSD) || defined(OSNetBSD)
 #include <sys/param.h>
 #include <sys/user.h>
 #include <sys/proc.h>
@@ -677,7 +679,7 @@
 {
 #if defined(OSLinux) || defined(OShpux)
 	if (execname && !pid_is_exec(pid, &exec_stat))
-#elif defined(OSHURD) || defined(OSFreeBSD)
+#elif defined(OSHURD) || defined(OSFreeBSD) || defined(OSNetBSD)
     /* I will try this to see if it works */
 	if (execname && !pid_is_cmd(pid, execname))
 #endif
@@ -771,7 +773,7 @@
 #endif /* OSHURD */
=20
=20
-#if defined(OSOpenBSD) || defined(OSFreeBSD)
+#if defined(OSOpenBSD) || defined(OSFreeBSD) || defined(OSNetBSD)
 static int
 pid_is_cmd(pid_t pid, const char *name)
 {

--b5gNqxB1S1yM7hjW--

--TYecfFk8j8mZq+dy
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+Ptk8lZCPwGNtWe4RAhJMAJ4mB/GR8u4IQ/5hjJ0S8h6W95nFhACfbND9
2L58a6iz/YVXHfwq1ZETn+8=
=MnAd
-----END PGP SIGNATURE-----

--TYecfFk8j8mZq+dy--

---------------------------------------
Received: (at 179659-close) by bugs.debian.org; 28 Apr 2003 14:53:08 +0000
>From troup@auric.debian.org Mon Apr 28 09:53:07 2003
Return-path: <troup@auric.debian.org>
Received: from auric.debian.org [206.246.226.45] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 19AA0B-0008RN-00; Mon, 28 Apr 2003 09:53:07 -0500
Received: from troup by auric.debian.org with local (Exim 3.35 1 (Debian))
	id 19A9qw-0001MR-00; Mon, 28 Apr 2003 10:43:34 -0400
From: Adam Heath <doogie@debian.org>
To: 179659-close@bugs.debian.org
X-Katie: lisa $Revision: 1.23 $
Subject: Bug#179659: fixed in dpkg 1.10.10
Message-Id: <E19A9qw-0001MR-00@auric.debian.org>
Sender: James Troup <troup@auric.debian.org>
Date: Mon, 28 Apr 2003 10:43:34 -0400
Delivered-To: 179659-close@bugs.debian.org

We believe that the bug you reported is fixed in the latest version of
dpkg, which is due to be installed in the Debian FTP archive:

dpkg-dev_1.10.10_all.deb
  to pool/main/d/dpkg/dpkg-dev_1.10.10_all.deb
dpkg-doc_1.10.10_all.deb
  to pool/main/d/dpkg/dpkg-doc_1.10.10_all.deb
dpkg_1.10.10.dsc
  to pool/main/d/dpkg/dpkg_1.10.10.dsc
dpkg_1.10.10.tar.gz
  to pool/main/d/dpkg/dpkg_1.10.10.tar.gz
dpkg_1.10.10_i386.deb
  to pool/main/d/dpkg/dpkg_1.10.10_i386.deb
dselect_1.10.10_i386.deb
  to pool/main/d/dpkg/dselect_1.10.10_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 179659@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adam Heath <doogie@debian.org> (supplier of updated dpkg package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 26 Apr 2003 15:10:24 -0500
Source: dpkg
Binary: dpkg-doc dpkg dselect dpkg-dev dpkg-static
Architecture: source i386 all
Version: 1.10.10
Distribution: unstable
Urgency: low
Maintainer: Dpkg Development <debian-dpkg@lists.debian.org>
Changed-By: Adam Heath <doogie@debian.org>
Description: 
 dpkg       - Package maintenance system for Debian
 dpkg-dev   - Package building tools for Debian
 dpkg-doc   - Dpkg Internals Documentation
 dselect    - a user tool to manage Debian packages
Closes: 170698 179656 179658 179659 179661 184239 187509 187534
Changes: 
 dpkg (1.10.10) unstable; urgency=low
 .
   * Update archtable for hurd.  Closes: #187509.
   * Make the dpkg-iasearch conflicts versioned.  Closes: #170698.
   * Surround sed call with '' in Makefile.in.  Closes: #187534.
   * Strip trailing / from the file args in dpkg-statoverride.  Closes:
     #184239.
   * Modified to use autotools-dev.  Closes: #179656.
   * Add netbsd support.  Closes: #179658, #179659.
   * Support hypenated values in dpkg-architeture. Closes: #179661
   * No longer managed the /usr/doc symlinks.
Files: 
 5be7b5f34f5c46eee78e8950477ed532 733 base required dpkg_1.10.10.dsc
 e5cdb9e0f4de30fa9d5a8a0f97d23b0f 1547158 base required dpkg_1.10.10.tar.gz
 ee24db271e96179da0e2c41eb25b0633 1140278 base required dpkg_1.10.10_i386.deb
 b72f5511d6a5a5aed2eb3c5a71993ab6 92644 base required dselect_1.10.10_i386.deb
 beacb09e4748bf16a6eefdf010c0e5a5 1129707 byhand - dpkg-1.10.10_i386.nondebbin.tar.gz
 2fc3b8cbfbfab59eb3ba4ae6aea51e43 1594596 byhand - dpkg-1.10.10_i386-static.nondebbin.tar.gz
 948c0acb3bb02c5cc6294502d4f96e54 111578 utils standard dpkg-dev_1.10.10_all.deb
 83dddfc3a9e3daaaecaf4769d2033fbd 10618 doc optional dpkg-doc_1.10.10_all.deb
 e5cdb9e0f4de30fa9d5a8a0f97d23b0f 1547158 byhand - dpkg-1.10.10.tar.gz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+qusZiix9wovUpIkRAkKkAJsGpyUSb6dXG26gpNXDhT+dMDXKoACfRGUK
ljdd7HJYE/JSiPi3sEeQRDw=
=NMrR
-----END PGP SIGNATURE-----



Reply to: