mirror of
https://github.com/Project-OSS-Revival/alien.git
synced 2026-04-24 14:00:17 +00:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cfc242e886 | ||
|
|
ffcb91fa04 | ||
|
|
f0c859c1c4 | ||
|
|
2ea474e531 | ||
|
|
f81986d554 | ||
|
|
0f3f0ab92c |
@@ -446,7 +446,8 @@ sub do {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
# parent
|
# parent
|
||||||
return (waitpid($pid, 0) > 0);
|
my $ret=(waitpid($pid, 0) > 0);
|
||||||
|
return ! $ret || ! $?;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -87,8 +87,11 @@ sub install {
|
|||||||
my $this=shift;
|
my $this=shift;
|
||||||
my $deb=shift;
|
my $deb=shift;
|
||||||
|
|
||||||
|
my $v=$Alien::Package::verbose;
|
||||||
|
$Alien::Package::verbose=2;
|
||||||
$this->do("dpkg", "--no-force-overwrite", "-i", $deb)
|
$this->do("dpkg", "--no-force-overwrite", "-i", $deb)
|
||||||
or die "Unable to install";
|
or die "Unable to install";
|
||||||
|
$Alien::Package::verbose=$v;
|
||||||
}
|
}
|
||||||
|
|
||||||
=item test
|
=item test
|
||||||
|
|||||||
@@ -106,8 +106,11 @@ sub install {
|
|||||||
my $pkg=shift;
|
my $pkg=shift;
|
||||||
|
|
||||||
if (-x "/usr/sbin/pkgadd") {
|
if (-x "/usr/sbin/pkgadd") {
|
||||||
|
my $v=$Alien::Package::verbose;
|
||||||
|
$Alien::Package::verbose=2;
|
||||||
$this->do("/usr/sbin/pkgadd", "-d .", "$pkg")
|
$this->do("/usr/sbin/pkgadd", "-d .", "$pkg")
|
||||||
or die "Unable to install";
|
or die "Unable to install";
|
||||||
|
$Alien::Package::verbose=$v;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
die "Sorry, I cannot install the generated .pkg file because /usr/sbin/pkgadd is not present.\n";
|
die "Sorry, I cannot install the generated .pkg file because /usr/sbin/pkgadd is not present.\n";
|
||||||
|
|||||||
@@ -53,8 +53,11 @@ sub install {
|
|||||||
my $this=shift;
|
my $this=shift;
|
||||||
my $rpm=shift;
|
my $rpm=shift;
|
||||||
|
|
||||||
|
my $v=$Alien::Package::verbose;
|
||||||
|
$Alien::Package::verbose=2;
|
||||||
$this->do("rpm -ivh ".(exists $ENV{RPMINSTALLOPT} ? $ENV{RPMINSTALLOPT} : '').$rpm)
|
$this->do("rpm -ivh ".(exists $ENV{RPMINSTALLOPT} ? $ENV{RPMINSTALLOPT} : '').$rpm)
|
||||||
or die "Unable to install";
|
or die "Unable to install";
|
||||||
|
$Alien::Package::verbose=$v;
|
||||||
}
|
}
|
||||||
|
|
||||||
=item scan
|
=item scan
|
||||||
|
|||||||
@@ -114,8 +114,11 @@ sub install {
|
|||||||
my $this=shift;
|
my $this=shift;
|
||||||
my $slp=shift;
|
my $slp=shift;
|
||||||
|
|
||||||
|
my $v=$Alien::Package::verbose;
|
||||||
|
$Alien::Package::verbose=2;
|
||||||
$this->do("slpi", $slp)
|
$this->do("slpi", $slp)
|
||||||
or die "Unable to install";
|
or die "Unable to install";
|
||||||
|
$Alien::Package::verbose=$v;
|
||||||
}
|
}
|
||||||
|
|
||||||
=item getfooter
|
=item getfooter
|
||||||
|
|||||||
@@ -66,8 +66,11 @@ sub install {
|
|||||||
my $tgz=shift;
|
my $tgz=shift;
|
||||||
|
|
||||||
if (-x "/sbin/installpkg") {
|
if (-x "/sbin/installpkg") {
|
||||||
|
my $v=$Alien::Package::verbose;
|
||||||
|
$Alien::Package::verbose=2;
|
||||||
$this->do("/sbin/installpkg", "$tgz")
|
$this->do("/sbin/installpkg", "$tgz")
|
||||||
or die "Unable to install";
|
or die "Unable to install";
|
||||||
|
$Alien::Package::verbose=$v;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
die "Sorry, I cannot install the generated .tgz file because /sbin/installpkg is not present. You can use tar to install it yourself.\n"
|
die "Sorry, I cannot install the generated .tgz file because /sbin/installpkg is not present. You can use tar to install it yourself.\n"
|
||||||
|
|||||||
16
README
16
README
@@ -3,14 +3,7 @@ Please read alien's man page for general documentation.
|
|||||||
Getting alien:
|
Getting alien:
|
||||||
|
|
||||||
The newest versions of alien are available at the alien home page; drop by
|
The newest versions of alien are available at the alien home page; drop by
|
||||||
http://kitenet.net/programs/alien/
|
http://kitenet.net/~joey/code/alien/
|
||||||
|
|
||||||
On metalab and its mirrors, alien is located in the
|
|
||||||
pub/Linux/utils/scripts/ directory.
|
|
||||||
|
|
||||||
You can also get rpm or deb packages of alien:
|
|
||||||
deb: ftp://ftp.debian.org/debian/unstable/binary-all/admin/alien_*.deb
|
|
||||||
rpm: ftp://ftp.redhat.com/pub/contrib/noarch/alien-*.rpm
|
|
||||||
|
|
||||||
Other things you'll need:
|
Other things you'll need:
|
||||||
|
|
||||||
@@ -27,8 +20,7 @@ Other things you'll need:
|
|||||||
dpkg, dpkg-dev, and debhelper (version 3 or above) packages, which are
|
dpkg, dpkg-dev, and debhelper (version 3 or above) packages, which are
|
||||||
available on http://packages.debian.org
|
available on http://packages.debian.org
|
||||||
|
|
||||||
To convert to/from stampede packages, you will need bzip2, get it from
|
To convert to/from stampede packages, you will need bzip2.
|
||||||
http://sourceware.cygnus.com/bzip2/index.html
|
|
||||||
|
|
||||||
Attention, Slackware, Red Hat, and Stampede users: Bruce S. Babcock
|
Attention, Slackware, Red Hat, and Stampede users: Bruce S. Babcock
|
||||||
<babcock@math.psu.edu> has put together an "alien-extra"
|
<babcock@math.psu.edu> has put together an "alien-extra"
|
||||||
@@ -43,10 +35,6 @@ Other things you'll need:
|
|||||||
The Stampede version is at
|
The Stampede version is at
|
||||||
ftp://ykbsb2.yk.psu.edu/pub/alien/alien-extra.slp
|
ftp://ykbsb2.yk.psu.edu/pub/alien/alien-extra.slp
|
||||||
|
|
||||||
Solaris users can find pkg's of much of the above software,
|
|
||||||
at http://mah.everybody.org/hacks/os/solaris/ , thanks to Mark
|
|
||||||
A. Hershberger <mah@everybody.org>.
|
|
||||||
|
|
||||||
Note:
|
Note:
|
||||||
|
|
||||||
Alien is really designed to be used to convert from alien file formats to
|
Alien is really designed to be used to convert from alien file formats to
|
||||||
|
|||||||
2
alien.pl
2
alien.pl
@@ -159,7 +159,7 @@ Note that without an argument, this displays the version of B<alien> instead.
|
|||||||
=item B<-c>, B<--scripts>
|
=item B<-c>, B<--scripts>
|
||||||
|
|
||||||
Try to convert the scripts that are meant to be run when the
|
Try to convert the scripts that are meant to be run when the
|
||||||
package is installed and removed. Use this with caution, becuase these
|
package is installed and removed. Use this with caution, because these
|
||||||
scripts might be designed to work on a system unlike your own, and could
|
scripts might be designed to work on a system unlike your own, and could
|
||||||
cause problems. It is recommended that you examine the scripts by hand
|
cause problems. It is recommended that you examine the scripts by hand
|
||||||
and check to see what they do before using this option.
|
and check to see what they do before using this option.
|
||||||
|
|||||||
16
debian/changelog
vendored
16
debian/changelog
vendored
@@ -1,3 +1,19 @@
|
|||||||
|
alien (8.68) unstable; urgency=low
|
||||||
|
|
||||||
|
* Show output of installation of package with -i, since some packages
|
||||||
|
install scripts may have important output or even be interactive.
|
||||||
|
Closes: #425732
|
||||||
|
|
||||||
|
-- Joey Hess <joeyh@debian.org> Thu, 24 May 2007 14:08:39 -0400
|
||||||
|
|
||||||
|
alien (8.67) unstable; urgency=low
|
||||||
|
|
||||||
|
* Update the url to the web page, and remove several other broken urls from
|
||||||
|
the README.
|
||||||
|
* Correct a bug that caused alien to ignore failing commands. Closes: #424858
|
||||||
|
|
||||||
|
-- Joey Hess <joeyh@debian.org> Thu, 17 May 2007 13:34:36 -0400
|
||||||
|
|
||||||
alien (8.66) unstable; urgency=low
|
alien (8.66) unstable; urgency=low
|
||||||
|
|
||||||
* Use date -R as 822-date will soon be deprecated.
|
* Use date -R as 822-date will soon be deprecated.
|
||||||
|
|||||||
2
debian/copyright
vendored
2
debian/copyright
vendored
@@ -12,7 +12,7 @@ This program is now maintained by Joey Hess <joeyh@debian.org>.
|
|||||||
Copyright 1996, 1997 Christoph Lameter
|
Copyright 1996, 1997 Christoph Lameter
|
||||||
Portions copyright 1997 Randolph Chung
|
Portions copyright 1997 Randolph Chung
|
||||||
Portions copyright 2001 Mark A. Hershberger
|
Portions copyright 2001 Mark A. Hershberger
|
||||||
Copyright 1997-2005 Joey Hess
|
Copyright 1997-2007 Joey Hess
|
||||||
|
|
||||||
License:
|
License:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user