5 Commits
8.83 ... 8.84

Author SHA1 Message Date
Joey Hess
5b49be4d3d releasing version 8.84 2011-04-15 14:14:38 -04:00
Joey Hess
2dee87ca02 add bug closure 2011-04-15 14:13:11 -04:00
Joey Hess
5c6bf645b5 DEP5 2011-01-13 18:48:08 -04:00
Joey Hess
1ca19300b4 Squash an uninitialized value when creating a deb. 2011-01-06 13:49:40 -04:00
Joey Hess
9b37ec8545 Silence error message when deleting build tree after making an rpm, if rpmbuild has already deleted it. 2011-01-06 13:47:37 -04:00
4 changed files with 30 additions and 41 deletions

View File

@@ -339,14 +339,17 @@ sub DESTROY {
die "alien internal error: unpacked_tree is set to '/'. Please file a bug report!"; die "alien internal error: unpacked_tree is set to '/'. Please file a bug report!";
} }
# Just in case some dir perms are too screwed up for rm to work and if (-d $this->unpacked_tree) {
# we're not running as root. NB: can't use xargs # Just in case some dir perms are too screwed up for
# rm to work and we're not running as root. NB: can't
# use xargs
$this->do('find', $this->unpacked_tree, '-type', 'd', $this->do('find', $this->unpacked_tree, '-type', 'd',
'-exec', 'chmod', '755', '{}', ';'); '-exec', 'chmod', '755', '{}', ';');
$this->do('rm', '-rf', $this->unpacked_tree) $this->do('rm', '-rf', $this->unpacked_tree)
or die "unable to delete temporary directory '".$this->unpacked_tree."': $!"; or die "unable to delete temporary directory '".$this->unpacked_tree."': $!";
$this->unpacked_tree(''); $this->unpacked_tree('');
}
$?=$exitcode; $?=$exitcode;
} }

View File

@@ -747,7 +747,7 @@ sub postinst {
return $postinst unless ref $owninfo; return $postinst unless ref $owninfo;
# If there is no postinst, let's make one up.. # If there is no postinst, let's make one up..
$postinst="#!/bin/sh\n" unless length $postinst; $postinst="#!/bin/sh\n" unless defined $postinst && length $postinst;
return $postinst unless %$owninfo; return $postinst unless %$owninfo;

8
debian/changelog vendored
View File

@@ -1,3 +1,11 @@
alien (8.84) unstable; urgency=low
* Silence error message when deleting build tree after making an rpm,
if rpmbuild has already deleted it. Closes: #622846
* Squash an uninitialized value when creating a deb.
-- Joey Hess <joeyh@debian.org> Fri, 15 Apr 2011 14:13:20 -0400
alien (8.83) unstable; urgency=low alien (8.83) unstable; urgency=low
* Correct handling of arch all packages in deb arch check. Closes: #596209 * Correct handling of arch all packages in deb arch check. Closes: #596209

44
debian/copyright vendored
View File

@@ -1,35 +1,13 @@
This is a program originally written by Christoph Lameter Format: http://dep.debian.net/deps/dep5/
<clameter@debian.org>. Source: native package
Deb to rpm conversion code was taken from the Martian program by Files: *
Randolph Chung <randolph@tausq.org>. Copyright:
1996, 1997 Christoph Lameter
The Solaris pkg code was written by Mark A. Hershberger 1997 Randolph Chung
<mah@everybody.org>. 2001 Mark A. Hershberger
1997-2011 Joey Hess
This program is now maintained by Joey Hess <joeyh@debian.org>. License: GPL-2+
On Debian systems, the complete text of the GPL can be found in
Copyright 1996, 1997 Christoph Lameter /usr/share/common-licenses/GPL.
Portions copyright 1997 Randolph Chung
Portions copyright 2001 Mark A. Hershberger
Copyright 1997-2007 Joey Hess
License:
alien is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
On Debian systems, the complete text of the GPL can be found in
/usr/share/common-licenses/GPL.