Debian Bug report logs - #686568
unblock: debpear/0.3

Package: release.debian.org; Maintainer for release.debian.org is Debian Release Team <debian-release@lists.debian.org>;

Reported by: Thomas Goirand <zigo@debian.org>

Date: Mon, 3 Sep 2012 11:09:02 UTC

Severity: normal

Done: "Adam D. Barratt" <adam@adam-barratt.org.uk>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Release Team <debian-release@lists.debian.org>:
Bug#686568; Package release.debian.org. (Mon, 03 Sep 2012 11:09:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Thomas Goirand <zigo@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Release Team <debian-release@lists.debian.org>. (Mon, 03 Sep 2012 11:09:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Thomas Goirand <zigo@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: unblock: debpear/0.3
Date: Mon, 03 Sep 2012 19:05:41 +0800
[Message part 1 (text/plain, inline)]
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

When given the parameter -i, with something like this:

debpear -i <PKG-Name>

debpear is supposed to download the PEAR package named PKG-Name, then build a
Debian package called php-pkg-name out of it, then if the build is successful,
install it.

As I wanted to handle the case where a *user* would use debpear, I wrote this:

if [ "${DO_INSTALL}" = "yes" ] ; then
	if ! [ `whoami` = "root" ] ; then
		sudo dpkg -i ${DEB_PKG_RESULT}
	fi
fi

but I forgot to handle the case where the user would be root. So, version 0.3
fixes this by adding:

+	else
+		dpkg -i ${DEB_PKG_RESULT}

(eg: without the sudo)

Please unblock debpear/0.3 to fix this problem.

Cheers,

Thomas Goirand (zigo)
[debpear_0.3.diff (text/x-diff, attachment)]

Reply sent to "Adam D. Barratt" <adam@adam-barratt.org.uk>:
You have taken responsibility. (Mon, 03 Sep 2012 20:15:14 GMT) Full text and rfc822 format available.

Notification sent to Thomas Goirand <zigo@debian.org>:
Bug acknowledged by developer. (Mon, 03 Sep 2012 20:15:14 GMT) Full text and rfc822 format available.

Message #10 received at 686568-done@bugs.debian.org (full text, mbox):

From: "Adam D. Barratt" <adam@adam-barratt.org.uk>
To: Thomas Goirand <zigo@debian.org>, 686568-done@bugs.debian.org
Subject: Re: Bug#686568: unblock: debpear/0.3
Date: Mon, 03 Sep 2012 21:09:41 +0100
On Mon, 2012-09-03 at 19:05 +0800, Thomas Goirand wrote:
> When given the parameter -i, with something like this:
> 
> debpear -i <PKG-Name>
> 
> debpear is supposed to download the PEAR package named PKG-Name, then build a
> Debian package called php-pkg-name out of it, then if the build is successful,
> install it.
[...]
> but I forgot to handle the case where the user would be root. So, version 0.3
> fixes this by adding:

Unblocked.

Regards,

Adam




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 02 Oct 2012 07:28:52 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Apr 20 04:38:18 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.