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

Bug#250175: marked as done (Move dpkg-architecture to dpkg)



Your message dated Sat, 22 Jan 2005 18:29:13 +0000
with message-id <1106418554.522.34.camel@descent.netsplit.com>
and subject line Bug#250175: Move dpkg-architecture to dpkg
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; 21 May 2004 00:37:05 +0000
>From rmh@khazad.dyndns.org Thu May 20 17:37:05 2004
Return-path: <rmh@khazad.dyndns.org>
Received: from 86.red-80-24-13.pooles.rima-tde.net (khazad.dyndns.org) [80.24.13.86] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BQy24-0002ol-00; Thu, 20 May 2004 17:37:05 -0700
Received: from rmh by khazad.dyndns.org with local (Exim 3.36 #1 (Debian))
	id 1BQx0u-0001ZD-00; Fri, 21 May 2004 01:31:48 +0200
Content-Type: multipart/mixed; boundary="===============0094724990=="
MIME-Version: 1.0
From: Robert Millan <rmh@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Move dpkg-architecture to dpkg
X-Mailer: reportbug 2.59
Date: Fri, 21 May 2004 01:31:48 +0200
Message-Id: <E1BQx0u-0001ZD-00@khazad.dyndns.org>
Sender: <rmh@khazad.dyndns.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

This is a multi-part MIME message sent by reportbug.

--===============0094724990==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: dpkg-dev
Version: 1.10.22
Severity: wishlist
Tags: patch

Hi!

Please move dpkg-architecture to dpkg, so it can be used on maintainer
scripts (e.g. postinst and such) without depending on dpkg-dev.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.26-1-k7
Locale: LANG=C, LC_CTYPE=C

--===============0094724990==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="dpkg-architecture.diff"

diff -ur dpkg-1.10.21.old/debian/control dpkg-1.10.21/debian/control
--- dpkg-1.10.21.old/debian/control	2004-04-19 12:42:22.000000000 +0200
+++ dpkg-1.10.21/debian/control	2004-05-21 00:36:14.000000000 +0200
@@ -49,7 +49,7 @@
 Section: utils
 Priority: standard
 Architecture: all
-Depends: perl5, perl-modules, cpio (>= 2.4.2-2), patch (>= 2.2-1), make, binutils
+Depends: dpkg (>= FIRST_VERSION_WITH_DPKG_ARCHITECTURE), perl5, perl-modules, cpio (>= 2.4.2-2), patch (>= 2.2-1), make, binutils
 Recommends: c-compiler
 Suggests: gnupg, debian-keyring
 Conflicts: dpkgname
diff -ur dpkg-1.10.21.old/debian/rules dpkg-1.10.21/debian/rules
--- dpkg-1.10.21.old/debian/rules	2003-09-19 19:29:09.000000000 +0200
+++ dpkg-1.10.21/debian/rules	2004-05-21 01:03:19.000000000 +0200
@@ -120,13 +120,14 @@
 	set -e ; for i in dpkg dpkg-deb md5sum ; do \
 		cp -a $(INSTALL_TMP)/usr/bin/$$i$(static) $(TMP_DPKG)/usr/bin/$$i ; \
 	done
+	cp -a $(INSTALL_TMP)/usr/bin/dpkg-architecture $(TMP_DPKG)/usr/bin/
 	set -e ; for i in ChangeLog THANKS TODO copyright; do \
 		cp -a $(INSTALL_TMP)/usr/share/doc/dpkg/$$i $(TMP_DPKG)/usr/share/doc/dpkg$(static)/ ; \
 	done
 	cp -a debian/pseudo-tags $(TMP_DPKG)/usr/share/doc/dpkg$(static)/
 	set -e ; for i in "" de fr ja sv ; do \
 		install -d -m 755 -o root -g root $(TMP_DPKG)/usr/share/man/$$i/man1 ; \
-		for m in md5sum.1 dpkg-deb.1 ; do \
+		for m in md5sum.1 dpkg-deb.1 dpkg-architecture.1 ; do \
 			if [ -f $(INSTALL_TMP)/usr/share/man/$$i/man1/$$m ] ; then \
 				cp -a $(INSTALL_TMP)/usr/share/man/$$i/man1/$$m $(TMP_DPKG)/usr/share/man/$$i/man1/$$m ; \
 			fi ; \
@@ -150,7 +151,7 @@
 # Now that dpkg has been installed, Debianize it
 # Policy stuff
 	find $(TMP_DPKG)/usr/share/man -type f | xargs gzip -9f
-	strip --remove-section=.comment --remove-section=.note \
+	-strip --remove-section=.comment --remove-section=.note \
 		--strip-unneeded $(TMP_DPKG)/usr/bin/* $(TMP_DPKG)/sbin/* \
 		$(TMP_DPKG)/usr/lib/dpkg/enoent
 	mv $(TMP_DPKG)/usr/share/doc/dpkg$(static)/ChangeLog \
@@ -197,13 +198,13 @@
 	mv $(INSTALL_TMP)/usr/lib/dpkg/controllib.pl $(TMP_DPKG_DEV)/usr/lib/dpkg/
 	set -e ; for i in dpkg-name dpkg-source dpkg-genchanges dpkg-gencontrol \
 		dpkg-shlibdeps dpkg-buildpackage dpkg-distaddfile 822-date \
-		dpkg-scanpackages dpkg-scansources dpkg-architecture \
+		dpkg-scanpackages dpkg-scansources \
 		dpkg-parsechangelog dpkg-checkbuilddeps ; do \
 		mv $(INSTALL_TMP)/usr/bin/$$i $(TMP_DPKG_DEV)/usr/bin/ ; \
 	done
 	set -e ; for i in "" de fr ja sv ; do \
 		install -d -m 755 -o root -g root $(TMP_DPKG_DEV)/usr/share/man/$$i/man1 ; \
-		for m in dpkg-name.1 dpkg-source.1 822-date.1 dpkg-architecture.1 \
+		for m in dpkg-name.1 dpkg-source.1 822-date.1 \
 			dpkg-buildpackage.1 dpkg-distaddfile.1 dpkg-genchanges.1 \
 			dpkg-gencontrol.1 dpkg-parsechangelog.1 dpkg-shlibdeps.1 \
 			dpkg-checkbuilddeps.1 ; do \

--===============0094724990==--

---------------------------------------
Received: (at 250175-done) by bugs.debian.org; 22 Jan 2005 18:28:57 +0000
>From scott@netsplit.com Sat Jan 22 10:28:57 2005
Return-path: <scott@netsplit.com>
Received: from populous.netsplit.com (mailgate.netsplit.com) [62.49.129.34] (qmailr)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CsQ0H-00010J-00; Sat, 22 Jan 2005 10:28:57 -0800
Received: (qmail 23350 invoked from network); 22 Jan 2005 18:28:55 -0000
Received: from unknown (HELO descent.netsplit.com) (scott@62.49.129.40)
  by populous.netsplit.com with RC4-MD5 encrypted SMTP; 22 Jan 2005 18:28:55 -0000
Subject: Re: Bug#250175: Move dpkg-architecture to dpkg
From: Scott James Remnant <scott@netsplit.com>
To: Robert Millan <rmh@debian.org>, 250175-done@bugs.debian.org
In-Reply-To: <E1BQx0u-0001ZD-00@khazad.dyndns.org>
References: <E1BQx0u-0001ZD-00@khazad.dyndns.org>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-U/PZj6rVpb7hsBJeHhk/"
Date: Sat, 22 Jan 2005 18:29:13 +0000
Message-Id: <1106418554.522.34.camel@descent.netsplit.com>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.2 
Delivered-To: 250175-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 


--=-U/PZj6rVpb7hsBJeHhk/
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 2004-05-21 at 01:31 +0200, Robert Millan wrote:

> Please move dpkg-architecture to dpkg, so it can be used on maintainer
> scripts (e.g. postinst and such) without depending on dpkg-dev.
>=20
I remain unconvinced that dpkg-architecture provides any useful
information for postinst that dpkg itself does not provide with its
--print-architecture and --print-gnu-build-architecture options.

Scott
--=20
Have you ever, ever felt like this?
Had strange things happen?  Are you going round the twist?

--=-U/PZj6rVpb7hsBJeHhk/
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

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

iD8DBQBB8pt5IexP3IStZ2wRAsTkAJ9J9qcJzTJyCxyyAxQ08ndjBbi6KgCfWG9x
1VBDy9MX+ahzHxgNEPSKaWQ=
=yQM+
-----END PGP SIGNATURE-----

--=-U/PZj6rVpb7hsBJeHhk/--



Reply to: