40 Commits
8.90 ... 8.95.8

Author SHA1 Message Date
Marcos Talau
ee8794614c Renamed debian/tests/convert_deb_to_rpm.sh to debian/tests/convert-deb-to-rpm.sh 2024-11-24 22:07:23 -03:00
Daniel Costa
c4c8e3bc4a debian/changelog: Update 2024-11-24 21:33:28 -03:00
Daniel Costa
c6b123e40f debian/tests/control:
Create autopkgtest
2024-11-24 21:32:24 -03:00
Daniel Costa
c83906446f debian/changelog: Update 2024-11-24 20:00:52 -03:00
Daniel Costa
6a2e53bc63 debian/salsa-ci.yml: Add
to provide CI tests for Salsa
2024-11-24 19:49:31 -03:00
Bastian Germann
ccd0532208 Upload to unstable 2024-06-22 19:42:42 +00:00
Bastian Germann
3985359d47 d/copyright: Remove trailing whitespace 2024-06-22 19:39:08 +00:00
Alois Klink
385b2066d3 Map arm64 in deb to aarch64 in rpm
This fixes conversion of arm64 debian packages.

See #985808, which was the bug for doing it in the opposite direction.
2024-06-22 19:37:54 +00:00
Debian Janitor
b65f2d6974 Update standards version to 4.6.2, no changes needed.
Changes-By: lintian-brush
Fixes: lintian: out-of-date-standards-version
See-also: https://lintian.debian.org/tags/out-of-date-standards-version.html
2023-01-07 06:13:42 +00:00
Debian Janitor
2989545da6 debian/copyright: use spaces rather than tabs to start continuation lines.
Changes-By: lintian-brush
Fixes: lintian: tab-in-license-text
See-also: https://lintian.debian.org/tags/tab-in-license-text.html
2023-01-07 06:13:35 +00:00
Jelmer Vernooij
3e7874e029 releasing package alien version 8.95.6 2022-05-25 18:54:06 +01:00
Jelmer Vernooij
919146ea09 Mention QA Upload. 2022-05-25 18:54:06 +01:00
Boyuan Yang
7179500cf8 Merge branch 'scrub-obsolete' into 'master'
Remove unnecessary constraints

See merge request debian/alien!4
2021-10-14 04:28:04 +00:00
Debian Janitor
f0fe4f6c80 Remove constraints unnecessary since buster
* alien: Drop versioned constraint on rpm in Depends.

Changes-By: deb-scrub-obsolete
2021-10-13 06:51:08 +00:00
Boyuan Yang
922b06bf8d Prepare new upload. 2021-08-22 01:29:46 -04:00
Boyuan Yang
b235b51c36 Bump Standards-Version to 4.6.0. 2021-08-22 01:14:55 -04:00
Boyuan Yang
3e46c56693 Alien/Package/Deb.pm: Do not fail when dh_usrlocal complains
When dh_usrlocal returns nonzero, continue and print a warning
information. This allows the generated deb package to install
files under /usr/local/.
2021-08-22 01:13:25 -04:00
Boyuan Yang
80877786d3 Prepare new upload. 2021-04-07 12:20:23 -04:00
Boyuan Yang
0de126bcfb Let alien recognize aarch64->arm64. (Closes: #985808) 2021-04-07 12:13:57 -04:00
Boyuan Yang
3f13d15dfd Fix incorrect filepath (Closes: #985835) 2021-04-07 12:12:13 -04:00
Boyuan Yang
f66dbb457b Fix incorrect debian/rules template. (Closes: #983492) 2021-04-07 12:09:23 -04:00
Boyuan Yang
a5a16d572f Revert "debian/control: Bump Standard-Version to 4.5.1."
This reverts commit 18e40eeabb.
2021-04-07 12:08:05 -04:00
Boyuan Yang
18e40eeabb debian/control: Bump Standard-Version to 4.5.1. 2021-04-07 12:07:16 -04:00
Adrian Bunk
1a98232df6 Import Debian version 8.95.3
alien (8.95.3) unstable; urgency=medium
.
  * QA upload.
  * Upload to unstable.
2021-04-07 12:05:10 -04:00
Jelmer Vernooij
648de61a5d Merge branch 'scrub-obsolete' into 'master'
Remove unnecessary constraints

See merge request debian/alien!1
2021-03-03 17:28:58 +00:00
Jenkins
0a70fe5858 Remove constraints unnecessary since stretch.
* alien: Drop versioned constraint on debhelper, rpm in Depends.

Changes-By: deb-scrub-obsolete
2021-02-14 15:04:11 +00:00
Thiago da Silva Gracini
e2eb7e0026 Import Debian version 8.95.2
alien (8.95.2) experimental; urgency=medium
.
  * QA upload.
  * debian/control:
      + Bump debhelper compat to v13.
      + Included Rules-Requires-Root: no
  * debian/changelog:
      + Removed trailing-whitespaces.
  * alien.pl:
      + Fixed some misspelled words.
  * Alien/Package.pm:
      + Fixed misspelled word.
  * Alien/Package/Rpm.pm:
      + Fixed misspeled word.
  * debian/rules:
      + Added a "nocheck" check on override_dh_auto_test.
2020-11-11 23:10:13 +00:00
Boyuan Yang
9b5622f8f2 Deb.pm: Use dh sequencer in rules file; bump debhelper requirement to 10+ 2020-03-29 00:07:47 -04:00
Boyuan Yang
88a0008668 Rpm.pm: Do not ship conflicting dirs (Closes: #759533)
See also: https://sourceforge.net/p/alien-pkg-convert/tickets/1/

Generated RPM packages provides directories that conflict with
the "filesystem" package. As a result, do not ship commonly-used
directories.

Patch provided by woob in the above ticket webpage.
2020-03-28 23:50:17 -04:00
Boyuan Yang
a7be498dca debian/changelog: Document changes in Vcs-* fields 2020-03-28 23:45:30 -04:00
Boyuan Yang
f11a007797 debian/control,compat: Minor fixes 2020-03-28 23:40:53 -04:00
Fabiano Antunes
9f53b73b58 Import Debian version 8.95
alien (8.95) unstable; urgency=medium

  * QA upload.
  * debian/control:
      - Bumped Standards-Version to 3.9.6.
      - Removed duplicated section field.
  * debian/copyright:
      - Replaced protocol from http to https in the Format field.
      - Included authors' e-mail addresses.
      - Replaced GPL-2+ license reference by actual GPL-2+ license.
  * debian/source/format: Created as 3.0 (native).

alien (8.94) unstable; urgency=medium

  * QA upload.
  * Fix "FTBFS with perl 5.22 in experimental (MakeMaker changes)":
    remove override_dh_auto_install in debian/rules, and 
    use DESTDIR in Makefile.PL.
    (Closes: #792371)
2020-03-28 23:37:19 -04:00
Joey Hess
bb351ddbc8 Alien needs a new maintainer, both in Debian and upstream. 2014-11-07 17:26:20 -04:00
Joey Hess
3572ac62b9 foo 2014-08-31 14:16:51 -07:00
Joey Hess
6443b942ab prep 2014-08-31 14:16:33 -07:00
Joey Hess
919297f3d1 Remove suggests for lsb-rpm, which no longer exists. Closes: #756873 2014-08-02 19:20:25 -04:00
Joey Hess
22709da70e prep 2014-06-13 12:04:21 -04:00
Joey Hess
06ae0587ac prep release 2014-06-13 12:04:01 -04:00
Joey Hess
c1b64b0c48 Support other deb data.tar compression schemes in fallback code. Closes: #718364 Thanks, Guillem Jover 2014-05-18 12:21:01 -04:00
Guillem Jover
93ad8ae367 Update deb support in fallback code
Add support for control.tar, control.tar.xz, data.tar, data.tar.xz,
data.tar.bz2 (deprecated) and data.tar.lzma (deprecated), so that the
fallback code is in line with current dpkg-deb.

The deprecated members are supported because there might be such binary
packages laying around.
2014-05-18 12:20:18 -04:00
20 changed files with 513 additions and 133 deletions

1
.gitattributes vendored
View File

@@ -1 +0,0 @@
debian/changelog merge=dpkg-mergechangelogs

View File

@@ -62,7 +62,7 @@ The package's maintainer.
=item depends =item depends
The package's dependancies. Only dependencies that should exist on all The package's dependencies. Only dependencies that should exist on all
target distributions can be put in here though (ie: lsb). target distributions can be put in here though (ie: lsb).
=item group =item group
@@ -173,7 +173,7 @@ sub install {
=item test =item test
Test a package file. The filename is passed, should return an array of lines Test a package file. The filename is passed, should return an array of lines
of test results. Child classses may implement this. of test results. Child classes may implement this.
=cut =cut

View File

@@ -9,6 +9,7 @@ Alien::Package::Deb - an object that represents a deb package
package Alien::Package::Deb; package Alien::Package::Deb;
use strict; use strict;
use base qw(Alien::Package); use base qw(Alien::Package);
use List::Util qw(first);
=head1 DESCRIPTION =head1 DESCRIPTION
@@ -23,6 +24,10 @@ Alien::Package.
Set to a true value if dpkg-deb is available. Set to a true value if dpkg-deb is available.
=item deb_member_list
Set to the list of member names in the deb package.
=item dirtrans =item dirtrans
After the build stage, set to a hash reference of the directories we moved After the build stage, set to a hash reference of the directories we moved
@@ -66,7 +71,7 @@ sub init {
=item checkfile =item checkfile
Detect deb files by their extention. Detect deb files by their extension.
=cut =cut
@@ -117,6 +122,26 @@ sub test {
} }
} }
=item get_deb_member_list
Helper method. Pass it the name of the deb and it will return the list of
ar members.
=cut
sub get_deb_member_list {
my $this=shift;
my $file=$this->filename;
my $members=$this->deb_member_list;
unless (defined $members) {
$members = [ map { chomp; $_ } $this->runpipe(1, "ar -t '$file'") ];
$this->deb_member_list($members);
}
return @{$members};
}
=item getcontrolfile =item getcontrolfile
Helper method. Pass it the name of a control file, and it will pull it out Helper method. Pass it the name of a control file, and it will pull it out
@@ -142,11 +167,58 @@ sub getcontrolfile {
" tar xf - './$file' &&". " tar xf - './$file' &&".
" cat '$file'; cd /; rm -rf /tmp/tar_out.$$)"; " cat '$file'; cd /; rm -rf /tmp/tar_out.$$)";
} }
my $getcontrol = "ar -p '$file' control.tar.gz | gzip -dc | ".tar_out($controlfile)." 2>/dev/null"; my $controlcomp;
my $controlmember = first { /^control\.tar/ }
$this->get_deb_member_list;
if (! defined $controlmember) {
die 'Cannot find control member!';
} elsif ($controlmember eq 'control.tar.gz') {
$controlcomp = 'gzip -dc';
} elsif ($controlmember eq 'control.tar.xz') {
$controlcomp = 'xz -dc';
} elsif ($controlmember eq 'control.tar') {
$controlcomp = 'cat';
} else {
die 'Unknown control member!';
}
my $getcontrol = "ar -p '$file' $controlmember | $controlcomp | ".tar_out($controlfile)." 2>/dev/null";
return $this->runpipe(1, $getcontrol); return $this->runpipe(1, $getcontrol);
} }
} }
=item get_datamember_cmd
Helper method. Pass it the name of the deb and it will return the raw
command needed to extract the data.tar member.
=cut
sub get_datamember_cmd {
my $this=shift;
my $file=$this->filename;
my $datacomp;
my $datamember = first { /^data\.tar/ }
$this->get_deb_member_list;
if (! defined $datamember) {
die 'Cannot find data member!';
} elsif ($datamember eq 'data.tar.gz') {
$datacomp = 'gzip -dc';
} elsif ($datamember eq 'data.tar.bz2') {
$datacomp = 'bzip2 -dc';
} elsif ($datamember eq 'data.tar.xz') {
$datacomp = 'xz -dc';
} elsif ($datamember eq 'data.tar.lzma') {
$datacomp = 'xz -dc';
} elsif ($datamember eq 'data.tar') {
$datacomp = 'cat';
} else {
die 'Unknown data member!';
}
return "ar -p '$file' $datamember | $datacomp";
}
=item scan =item scan
Implement the scan method to read a deb file. Implement the scan method to read a deb file.
@@ -209,15 +281,15 @@ sub scan {
# Read in the list of all files. # Read in the list of all files.
# Note that tar doesn't supply a leading '/', so we have to add that. # Note that tar doesn't supply a leading '/', so we have to add that.
my @filelist; my $datamember_cmd;
if ($this->have_dpkg_deb) { if ($this->have_dpkg_deb) {
@filelist=map { chomp; s:\./::; "/$_" } $datamember_cmd = "dpkg-deb --fsys-tarfile '$file'";
$this->runpipe(0, "dpkg-deb --fsys-tarfile '$file' | tar tf -");
} }
else { else {
@filelist=map { chomp; s:\./::; "/$_" } $datamember_cmd = $this->get_datamember_cmd($file);
$this->runpipe(0, "ar -p '$file' data.tar.gz | gzip -dc | tar tf -");
} }
my @filelist=map { chomp; s:\./::; "/$_" }
$this->runpipe(0, "$datamember_cmd | tar tf -");
$this->filelist(\@filelist); $this->filelist(\@filelist);
# Read in the scripts, if any. # Read in the scripts, if any.
@@ -244,7 +316,9 @@ sub unpack {
or die "Unpacking of '$file' failed: $!"; or die "Unpacking of '$file' failed: $!";
} }
else { else {
$this->do("ar -p $file data.tar.gz | gzip -dc | (cd ".$this->unpacked_tree."; tar xpf -)") my $datamember_cmd = $this->get_datamember_cmd($file);
$this->do("$datamember_cmd | (cd ".$this->unpacked_tree."; tar xpf -)")
or die "Unpacking of '$file' failed: $!"; or die "Unpacking of '$file' failed: $!";
} }
@@ -385,7 +459,7 @@ sub prep {
# Use debhelper v7 # Use debhelper v7
open (OUT, ">$dir/debian/compat") || die "$dir/debian/compat: $!"; open (OUT, ">$dir/debian/compat") || die "$dir/debian/compat: $!";
print OUT "7\n"; print OUT "10\n";
close OUT; close OUT;
# A minimal rules file. # A minimal rules file.
@@ -397,48 +471,40 @@ sub prep {
PACKAGE=\$(shell dh_listpackages) PACKAGE=\$(shell dh_listpackages)
build: %:
dh_testdir dh \$\@
clean: override_dh_clean:
dh_testdir
dh_testroot
dh_clean -d dh_clean -d
binary-indep: build override_dh_auto_configure:
binary-arch: build override_dh_auto_build:
dh_testdir
dh_testroot
dh_prep
dh_installdirs
dh_installdocs override_dh_auto_install:
dh_installchangelogs mkdir -p debian/\$(PACKAGE)
# Copy the packages's files.
# Copy the packages's files.
find . -maxdepth 1 -mindepth 1 -not -name debian -print0 | \\ find . -maxdepth 1 -mindepth 1 -not -name debian -print0 | \\
xargs -0 -r -i cp -a {} debian/\$(PACKAGE) sed -e s#'./'##g | \\
xargs -0 -r -i cp -a ./{} debian/\$(PACKAGE)/{}
# #
# If you need to move files around in debian/\$(PACKAGE) or do some # If you need to move files around in debian/\$(PACKAGE) or do some
# binary patching, do it here # binary patching, do it here
# #
override_dh_strip:
# This has been known to break on some wacky binaries. # This has been known to break on some wacky binaries.
# dh_strip # dh_strip
dh_compress
$fixpermscomment dh_fixperms override_dh_usrlocal:
dh_makeshlibs -dh_usrlocal || printf "Your package seems to be installing files into /usr/local/, which could be buggy. Will continue anyway.\\n"
dh_installdeb
-dh_shlibdeps override_dh_fixperms:
dh_gencontrol $fixpermscomment dh_fixperms
dh_md5sums
dh_builddeb override_dh_shlibdeps:
-dh_shlibdeps
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary
EOF EOF
close OUT; close OUT;
$this->do("chmod", 755, "$dir/debian/rules"); $this->do("chmod", 755, "$dir/debian/rules");
@@ -540,7 +606,7 @@ sub cleantree {
Set/get package name. Set/get package name.
Always returns the packge name in lowercase with all invalid characters Always returns the package name in lowercase with all invalid characters
rmoved. The name is however, stored unchanged. rmoved. The name is however, stored unchanged.
=cut =cut

View File

@@ -31,7 +31,7 @@ Relocatable rpm packages have a prefixes field.
=item checkfile =item checkfile
Detect rpm files by their extention. Detect rpm files by their extension.
=cut =cut
@@ -44,7 +44,7 @@ sub checkfile {
=item install =item install
Install a rpm. If RPMINSTALLOPT is set in the environement, the options in Install a rpm. If RPMINSTALLOPT is set in the environment, the options in
it are passed to rpm on its command line. it are passed to rpm on its command line.
=cut =cut
@@ -302,26 +302,159 @@ sub prep {
my $this=shift; my $this=shift;
my $dir=$this->unpacked_tree || die "The package must be unpacked first!"; my $dir=$this->unpacked_tree || die "The package must be unpacked first!";
# Exclude standard system directories
# This list is adapted from the rpmlint source code
my @standard_dirs = (
"/",
"/bin/",
"/boot/",
"/etc/",
"/etc/X11/",
"/etc/opt/",
"/etc/profile.d/",
"/etc/skel/",
"/etc/xinetd.d/",
"/home/",
"/lib/",
"/lib/modules/",
"/lib64/",
"/media/",
"/mnt/",
"/mnt/cdrom/",
"/mnt/disk/",
"/mnt/floppy/",
"/opt/",
"/proc/",
"/root/",
"/run/",
"/sbin/",
"/selinux/",
"/srv/",
"/sys/",
"/tmp/",
"/usr/",
"/usr/X11R6/",
"/usr/X11R6/bin/",
"/usr/X11R6/doc/",
"/usr/X11R6/include/",
"/usr/X11R6/lib/",
"/usr/X11R6/lib64/",
"/usr/X11R6/man/",
"/usr/X11R6/man/man1/",
"/usr/X11R6/man/man2/",
"/usr/X11R6/man/man3/",
"/usr/X11R6/man/man4/",
"/usr/X11R6/man/man5/",
"/usr/X11R6/man/man6/",
"/usr/X11R6/man/man7/",
"/usr/X11R6/man/man8/",
"/usr/X11R6/man/man9/",
"/usr/X11R6/man/mann/",
"/usr/bin/",
"/usr/bin/X11/",
"/usr/etc/",
"/usr/games/",
"/usr/include/",
"/usr/lib/",
"/usr/lib/X11/",
"/usr/lib/games/",
"/usr/lib/gcc-lib/",
"/usr/lib/menu/",
"/usr/lib64/",
"/usr/lib64/gcc-lib/",
"/usr/local/",
"/usr/local/bin/",
"/usr/local/doc/",
"/usr/local/etc/",
"/usr/local/games/",
"/usr/local/info/",
"/usr/local/lib/",
"/usr/local/lib64/",
"/usr/local/man/",
"/usr/local/man/man1/",
"/usr/local/man/man2/",
"/usr/local/man/man3/",
"/usr/local/man/man4/",
"/usr/local/man/man5/",
"/usr/local/man/man6/",
"/usr/local/man/man7/",
"/usr/local/man/man8/",
"/usr/local/man/man9/",
"/usr/local/man/mann/",
"/usr/local/sbin/",
"/usr/local/share/",
"/usr/local/share/man/",
"/usr/local/share/man/man1/",
"/usr/local/share/man/man2/",
"/usr/local/share/man/man3/",
"/usr/local/share/man/man4/",
"/usr/local/share/man/man5/",
"/usr/local/share/man/man6/",
"/usr/local/share/man/man7/",
"/usr/local/share/man/man8/",
"/usr/local/share/man/man9/",
"/usr/local/share/man/mann/",
"/usr/local/src/",
"/usr/sbin/",
"/usr/share/",
"/usr/share/dict/",
"/usr/share/doc/",
"/usr/share/icons/",
"/usr/share/info/",
"/usr/share/man/",
"/usr/share/man/man1/",
"/usr/share/man/man2/",
"/usr/share/man/man3/",
"/usr/share/man/man4/",
"/usr/share/man/man5/",
"/usr/share/man/man6/",
"/usr/share/man/man7/",
"/usr/share/man/man8/",
"/usr/share/man/man9/",
"/usr/share/man/mann/",
"/usr/share/misc/",
"/usr/src/",
"/usr/tmp/",
"/var/",
"/var/cache/",
"/var/db/",
"/var/lib/",
"/var/lib/games/",
"/var/lib/misc/",
"/var/lib/rpm/",
"/var/local/",
"/var/log/",
"/var/mail/",
"/var/nis/",
"/var/opt/",
"/var/preserve/",
"/var/spool/",
"/var/spool/mail/",
"/var/tmp/"
);
# Place %config in front of files that are conffiles. # Place %config in front of files that are conffiles.
my @conffiles = @{$this->conffiles}; my @conffiles = @{$this->conffiles};
my $filelist; my $filelist;
foreach my $fn (@{$this->filelist}) { foreach my $fn (@{$this->filelist}) {
# Unquote any escaped characters in filenames - needed for if (! grep(m:^\Q$fn\E$:,@standard_dirs)) {
# non ascii characters. (eg. iso_8859-1 latin set) # Unquote any escaped characters in filenames - needed for
if ($fn =~ /\\/) { # non ascii characters. (eg. iso_8859-1 latin set)
$fn=eval qq{"$fn"}; if ($fn =~ /\\/) {
} $fn=eval qq{"$fn"};
}
# Note all filenames are quoted in case they contain # Note all filenames are quoted in case they contain
# spaces. # spaces.
if ($fn =~ m:/$:) { if ($fn =~ m:/$:) {
$filelist.=qq{%dir "$fn"\n}; $filelist.=qq{%dir "$fn"\n};
} }
elsif (grep(m:^\Q$fn\E$:,@conffiles)) { # it's a conffile elsif (grep(m:^\Q$fn\E$:,@conffiles)) { # it's a conffile
$filelist.=qq{%config "$fn"\n}; $filelist.=qq{%config "$fn"\n};
} }
else { # normal file else { # normal file
$filelist.=qq{"$fn"\n}; $filelist.=qq{"$fn"\n};
}
} }
} }
@@ -392,7 +525,7 @@ sub cleantree {
=item build =item build
Build a rpm. If RPMBUILDOPT is set in the environement, the options in Build a rpm. If RPMBUILDOPT is set in the environment, the options in
it are passed to rpm on its command line. it are passed to rpm on its command line.
An optional parameter, if passed, can be used to specify the program to use An optional parameter, if passed, can be used to specify the program to use
@@ -479,7 +612,7 @@ sub version {
Set/get script fields. Set/get script fields.
When retrieving a value, we have to do some truely sick mangling. Since When retrieving a value, we have to do some truly sick mangling. Since
debian/slackware scripts can be anything -- perl programs or binary files debian/slackware scripts can be anything -- perl programs or binary files
-- and rpm is limited to only shell scripts, we need to encode the files -- and rpm is limited to only shell scripts, we need to encode the files
and add a scrap of shell script to make it unextract and run on the fly. and add a scrap of shell script to make it unextract and run on the fly.
@@ -564,7 +697,7 @@ sub prerm {
Set/get arch field. When the arch field is set, some sanitizing is done Set/get arch field. When the arch field is set, some sanitizing is done
first to convert it to the debian format used internally. When it's first to convert it to the debian format used internally. When it's
retreived it's converted back to rpm form from the internal form. retrieved it's converted back to rpm form from the internal form.
=cut =cut
@@ -611,6 +744,10 @@ sub arch {
# Treat armv7l as armel. # Treat armv7l as armel.
$arch='armel'; $arch='armel';
} }
elsif ($arch eq 'aarch64') {
# Treat aarch64 as arm64.
$arch='arm64';
}
elsif ($arch eq 'parisc') { elsif ($arch eq 'parisc') {
$arch='hppa'; $arch='hppa';
} }
@@ -636,6 +773,9 @@ sub arch {
elsif ($arch eq 'all') { elsif ($arch eq 'all') {
$arch='noarch'; $arch='noarch';
} }
elsif ($arch eq 'arm64') {
$arch='aarch64';
}
elsif ($arch eq 'ppc64el') { elsif ($arch eq 'ppc64el') {
$arch='ppc64le'; $arch='ppc64le';
} }

View File

@@ -35,7 +35,7 @@ character, I=unsigned integer.)
=item footer_version =item footer_version
What package format are we up to now? (Lowest one this is still What package format are we up to now? (Lowest one this is still
compatable with.) compatible with.)
=item archtrans =item archtrans
@@ -93,7 +93,7 @@ Holds the slp package format version of the slp file.
=item checkfile =item checkfile
Detect slp files by their extention. Detect slp files by their extension.
=cut =cut
@@ -270,7 +270,7 @@ Set/get conffiles.
When the conffiles are set, the format used by slp (a colon-delimited list) When the conffiles are set, the format used by slp (a colon-delimited list)
is turned into the real list that is used internally. The list is changed is turned into the real list that is used internally. The list is changed
back into slp's internal format when it is retreived. back into slp's internal format when it is retrieved.
=cut =cut
@@ -291,7 +291,7 @@ Set/get copyright.
When the copyright is set, the number used by slp is changed into a textual When the copyright is set, the number used by slp is changed into a textual
description. This is changed back into a number when the value is description. This is changed back into a number when the value is
retreived. retrieved.
=cut =cut
@@ -315,7 +315,7 @@ Set/get arch.
When the arch is set, the number used by slp is changed into a textual When the arch is set, the number used by slp is changed into a textual
description. This is changed back into a number when the value is description. This is changed back into a number when the value is
retreived. retrieved.
=cut =cut
@@ -341,7 +341,7 @@ sub arch {
Set/get release version. Set/get release version.
When the release version is retreived, it is converted to an unsigned When the release version is retrieved, it is converted to an unsigned
integer, as is required by the slp package format. integer, as is required by the slp package format.
=cut =cut

View File

@@ -45,7 +45,7 @@ use constant scripttrans => {
=item checkfile =item checkfile
Detect tgz files by their extention. Detect tgz files by their extension.
=cut =cut
@@ -96,7 +96,7 @@ sub scan {
# Get basename of the filename. # Get basename of the filename.
my ($basename)=('/'.$file)=~m#^/?.*/(.*?)$#; my ($basename)=('/'.$file)=~m#^/?.*/(.*?)$#;
# Strip out any tar extentions. # Strip out any tar extensions.
$basename=~s/$tarext//; $basename=~s/$tarext//;
if ($basename=~m/([\w-]+)-([0-9\.?]+).*/) { if ($basename=~m/([\w-]+)-([0-9\.?]+).*/) {

View File

@@ -19,17 +19,11 @@ VER=$(shell perl -e '$$_=<>;print m/\((.*?)\)/'<debian/changelog)
all:: extra_build all:: extra_build
clean:: extra_build clean:: extra_build
install:: extra_install
pure_install:: extra_install
extra_build: extra_build:
perl -i -pe "s/\@version\@/$(VER)/g" <alien.lsm.in >alien.lsm perl -i -pe "s/\@version\@/$(VER)/g" <alien.lsm.in >alien.lsm
perl -i -pe "s/\@version\@/$(VER)/g" <alien.spec.in >alien.spec perl -i -pe "s/\@version\@/$(VER)/g" <alien.spec.in >alien.spec
extra_install:
install -d $(PREFIX)/share/alien/patches \
$(VARPREFIX)/var/lib/alien
alien: alien:
perl -pe '$$_="" if /use lib/; $$_="our \$$Version=\"$(VER)\";\n" if /VERSION_AUTOREPLACE/' alien.pl > alien perl -pe '$$_="" if /use lib/; $$_="our \$$Version=\"$(VER)\";\n" if /VERSION_AUTOREPLACE/' alien.pl > alien
} }

View File

@@ -1,6 +1,6 @@
Begin3 Begin3
Title: alien Title: alien
Version: 8.90 Version: 8.95.2
Entered-date: 31MAR97 Entered-date: 31MAR97
Description: Alien converts Slackware .tgz packages, Red Hat .rpm packages, Description: Alien converts Slackware .tgz packages, Red Hat .rpm packages,
Debian .deb packages, and Stampede .slp packages. It can Debian .deb packages, and Stampede .slp packages. It can
@@ -9,6 +9,6 @@ Description: Alien converts Slackware .tgz packages, Red Hat .rpm packages,
Keywords: debian dpkg deb red hat redhat rpm slackware tgz stampede slp convert package LSB Keywords: debian dpkg deb red hat redhat rpm slackware tgz stampede slp convert package LSB
Author: joey@kitenet.net Author: joey@kitenet.net
Primary-site: sunsite.unc.edu /pub/Linux/utils/package Primary-site: sunsite.unc.edu /pub/Linux/utils/package
80 alien-8.90.tar.gz 80 alien-8.95.2.tar.gz
Copying-policy: GPL Copying-policy: GPL
End End

View File

@@ -37,7 +37,7 @@ installed.
=item lsb =item lsb
Unlike the other package formats, B<alien> can handle the depenendencies of Unlike the other package formats, B<alien> can handle the dependencies of
lsb packages if the destination package format supports dependencies. Note lsb packages if the destination package format supports dependencies. Note
that this means that the package generated from a lsb package will depend on that this means that the package generated from a lsb package will depend on
a package named "lsb" -- your distribution should provide a package by that a package named "lsb" -- your distribution should provide a package by that
@@ -149,7 +149,7 @@ built.
=item B<--anypatch> =item B<--anypatch>
Be less strict about which patch file is used, perhaps attempting to use a patch Be less strict about which patch file is used, perhaps attempting to use a patch
file for an older verson of the package. This is not guaranteed to always work; file for an older version of the package. This is not guaranteed to always work;
older patches may not necessarily work with newer packages. older patches may not necessarily work with newer packages.
=item B<--nopatch> =item B<--nopatch>
@@ -158,12 +158,12 @@ Do not use any patch files.
=item B<--description=>I<desc> =item B<--description=>I<desc>
Specifiy a description for the package. This only has an effect when Specify a description for the package. This only has an effect when
converting from the tgz package format, which lacks descriptions. converting from the tgz package format, which lacks descriptions.
=item B<--version=>I<version> =item B<--version=>I<version>
Specifiy a version for the package. This only has an effect when Specify a version for the package. This only has an effect when
converting from the tgz package format, which may lack version converting from the tgz package format, which may lack version
information. information.

View File

@@ -1,12 +1,12 @@
Summary: Install Debian, Slackware, and Stampede packages with rpm. Summary: Install Debian, Slackware, and Stampede packages with rpm.
Name: alien Name: alien
Packager: Joey Hess <joey@kitenet.net> Packager: Joey Hess <joey@kitenet.net>
Version: 8.90 Version: 8.95.2
Release: 1 Release: 1
Source: ftp://kitenet.net/pub/code/debian/alien_8.90.tar.gz Source: ftp://kitenet.net/pub/code/debian/alien_8.95.2.tar.gz
License: GPL License: GPL
Group: Utilities/File Group: Utilities/File
Buildroot: /tmp/alien-8.90.build Buildroot: /tmp/alien-8.95.2.build
Requires: perl Requires: perl
BuildArchitectures: noarch BuildArchitectures: noarch
@@ -20,7 +20,7 @@ This is a tool only suitable for binary packages.
%prep %prep
%setup -n alien %setup -n alien
rm -rf /tmp/alien-8.90.build rm -rf /tmp/alien-8.95.2.build
%install %install
perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr

194
debian/changelog vendored
View File

@@ -1,3 +1,145 @@
alien (8.95.8) unstable; urgency=medium
* QA upload.
* debian/salsa-ci.yml: Add to provide CI tests for Salsa.
* debian/tests/*: Create autopkgtest.
-- Daniel Alber Costa <danielrodrc@gmail.com> Sun, 24 Nov 2024 21:32:45 -0300
alien (8.95.7) unstable; urgency=medium
* QA upload.
* debian/copyright: use spaces rather than tabs to start continuation lines.
* Update standards version to 4.6.2, no changes needed.
[ Alois Klink ]
* Alien/Package/Rpm.pm: Map arm64 in deb to aarch64 in rpm.
This fixes conversion of arm64 deb packages.
-- Bastian Germann <bage@debian.org> Sat, 22 Jun 2024 19:41:24 +0000
alien (8.95.6) unstable; urgency=medium
* QA upload.
[ Debian Janitor ]
* Remove constraints unnecessary since buster:
+ alien: Drop versioned constraint on rpm in Depends.
-- Jelmer Vernooij <jelmer@debian.org> Wed, 25 May 2022 18:54:06 +0100
alien (8.95.5) unstable; urgency=medium
* QA upload.
* Alien/Package/Deb.pm: Do not fail when dh_usrlocal returns
with nonzero value. A warning (shown in --veryverbose)
is generated instead. (Closes: #992188)
-- Boyuan Yang <byang@debian.org> Sun, 22 Aug 2021 01:14:58 -0400
alien (8.95.4) unstable; urgency=high
* QA upload.
* Alien/Package/Deb.pm: Fix incorrect debian/rules template by
properly escaping special characters (dh \$\@ instead of dh $@).
Closes: #983492.
* Alien/Package/Deb.pm: Fix incorrect file installation path.
This fixes the bug in manual override_dh_auto_install that files
are placed under / instead of /usr/ (default prefix).
Closes: #985835.
* Alien/Package/Rpm.pm: Also map aarch64 in rpm to arm64 in deb.
This fixes conversion of aarch64 rpm packages.
Closes: #985808.
-- Boyuan Yang <byang@debian.org> Wed, 07 Apr 2021 12:15:06 -0400
alien (8.95.3) unstable; urgency=medium
* QA upload.
* Upload to unstable.
-- Adrian Bunk <bunk@debian.org> Thu, 11 Feb 2021 22:02:09 +0200
alien (8.95.2) experimental; urgency=medium
* QA upload.
* debian/control:
+ Bump debhelper compat to v13.
+ Included Rules-Requires-Root: no
* debian/changelog:
+ Removed trailing-whitespaces.
* alien.pl:
+ Fixed some misspelled words.
* Alien/Package.pm:
+ Fixed misspelled word.
* Alien/Package/Rpm.pm:
+ Fixed misspeled word.
* debian/rules:
+ Added a "nocheck" check on override_dh_auto_test.
-- Thiago da Silva Gracini <tsgracini@outlook.com> Sun, 01 Nov 2020 15:35:34 -0300
alien (8.95.1) experimental; urgency=medium
* QA upload.
* Rebuild source and binary package.
* debian/control:
+ Bump debhelper compat to v12.
+ Bump Standards-Version to 4.5.0.
+ Update Vcs-* fields to use git packaging repo under Salsa
Debian group.
* Rpm.pm: Do not ship conflicting dirs. (Closes: #759533)
* Deb.pm:
+ Use dh sequencer when generating deb packages.
+ Bump supported debhelper compatibility level to v10.
-- Boyuan Yang <byang@debian.org> Tue, 31 Mar 2020 10:52:19 -0400
alien (8.95) unstable; urgency=medium
* QA upload.
* debian/control:
- Bumped Standards-Version to 3.9.6.
- Removed duplicated section field.
* debian/copyright:
- Replaced protocol from http to https in the Format field.
- Included authors' e-mail addresses.
- Replaced GPL-2+ license reference by actual GPL-2+ license.
* debian/source/format: Created as 3.0 (native).
-- Fabiano Antunes <fabianoantunes@itgen.com.br> Thu, 10 Sep 2015 17:09:04 -0300
alien (8.94) unstable; urgency=medium
* QA upload.
* Fix "FTBFS with perl 5.22 in experimental (MakeMaker changes)":
remove override_dh_auto_install in debian/rules, and
use DESTDIR in Makefile.PL.
(Closes: #792371)
-- gregor herrmann <gregoa@debian.org> Sat, 25 Jul 2015 21:24:15 +0200
alien (8.93) unstable; urgency=medium
* Alien needs a new maintainer, both in Debian and upstream.
-- Joey Hess <joeyh@debian.org> Fri, 07 Nov 2014 17:25:47 -0400
alien (8.92) unstable; urgency=medium
* Remove suggests for lsb-rpm, which no longer exists.
Closes: #756873
-- Joey Hess <joeyh@debian.org> Sun, 31 Aug 2014 14:16:23 -0700
alien (8.91) unstable; urgency=medium
* Support other deb data.tar compression schemes in fallback code.
Closes: #718364
Thanks, Guillem Jover
-- Joey Hess <joeyh@debian.org> Fri, 13 Jun 2014 12:03:54 -0400
alien (8.90) unstable; urgency=medium alien (8.90) unstable; urgency=medium
* Add --target=<arch> option for setting architecture. Closes: #260948 * Add --target=<arch> option for setting architecture. Closes: #260948
@@ -72,7 +214,7 @@ alien (8.81) unstable; urgency=low
* Avoid uninitialized value warning when debian/rules fails to run * Avoid uninitialized value warning when debian/rules fails to run
due to alien being run in a noexec directory. Closes: #579216 due to alien being run in a noexec directory. Closes: #579216
* Prevent DESTROY stomping on alien's exit code sometimes. * Prevent DESTROY stomping on alien's exit code sometimes.
* Support extracting lzma compressed RPMs. * Support extracting lzma compressed RPMs.
(Patch by unnamed person on some bug tracking system I don't frequent.) (Patch by unnamed person on some bug tracking system I don't frequent.)
* Suggest lzma. If not installed, alien will still fail to decompress * Suggest lzma. If not installed, alien will still fail to decompress
RPMs using it, but will support most rpms, which are not. RPMs using it, but will support most rpms, which are not.
@@ -488,7 +630,7 @@ alien (8.30) unstable; urgency=low
alien (8.26) unstable; urgency=low alien (8.26) unstable; urgency=low
* alien.spec: pass PREFIX to Makefile.PL so it works on systems * alien.spec: pass PREFIX to Makefile.PL so it works on systems
(such as red hat 8) where the generated Makefile does not use (such as red hat 8) where the generated Makefile does not use
$PREFIX in all paths. $PREFIX in all paths.
@@ -645,7 +787,7 @@ alien (8.07) unstable; urgency=low
alien (8.06) unstable; urgency=low alien (8.06) unstable; urgency=low
* Added --fixperms option. Closes: #142850 * Added --fixperms option. Closes: #142850
-- Joey Hess <joeyh@debian.org> Sun, 21 Apr 2002 22:19:12 -0400 -- Joey Hess <joeyh@debian.org> Sun, 21 Apr 2002 22:19:12 -0400
@@ -726,7 +868,7 @@ alien (7.30) unstable; urgency=low
work with solaris's ar and tar. work with solaris's ar and tar.
* Documented the EMAIL environment variable. Closes: #116754 * Documented the EMAIL environment variable. Closes: #116754
* Threw out a lot of old patches, circa 1999. Probably useless today. * Threw out a lot of old patches, circa 1999. Probably useless today.
* When converting to debs, move files as follows, if possible, for better * When converting to debs, move files as follows, if possible, for better
FHS compliance: FHS compliance:
/usr/man => /usr/share/man /usr/man => /usr/share/man
/usr/info => /usr/share/info /usr/info => /usr/share/info
@@ -792,7 +934,7 @@ alien (7.20) unstable; urgency=low
* Updated to use debhelper v3 when converting packages. This * Updated to use debhelper v3 when converting packages. This
automatically should make it start adding ldconfig calls automatically should make it start adding ldconfig calls
as appropriate to maintainer scripts. Closes: #86088 as appropriate to maintainer scripts. Closes: #86088
* It does mean you need debhelper 3.x for alien to convert to * It does mean you need debhelper 3.x for alien to convert to
deb now, so alien-extra will need an update. deb now, so alien-extra will need an update.
* Rebuilt with newer perl, so it will work with newer perl (bug filed; * Rebuilt with newer perl, so it will work with newer perl (bug filed;
this should not have been necessary). this should not have been necessary).
@@ -807,7 +949,7 @@ alien (7.18) unstable; urgency=low
alien (7.17) unstable; urgency=low alien (7.17) unstable; urgency=low
* Munge in #!/bin/sh entries at the top of rpm maintainer * Munge in #!/bin/sh entries at the top of rpm maintainer
scripts that appear to be shell scripts. Closes: #76124 scripts that appear to be shell scripts. Closes: #76124
-- Joey Hess <joeyh@debian.org> Wed, 7 Feb 2001 18:58:56 -0800 -- Joey Hess <joeyh@debian.org> Wed, 7 Feb 2001 18:58:56 -0800
@@ -872,7 +1014,7 @@ alien (7.9) unstable; urgency=low
alien (7.8) unstable; urgency=low alien (7.8) unstable; urgency=low
* Use debhelper v2 for debian/rules, but not when converting * Use debhelper v2 for debian/rules, but not when converting
packages to deb format. packages to deb format.
-- Joey Hess <joeyh@debian.org> Mon, 25 Sep 2000 12:36:25 -0700 -- Joey Hess <joeyh@debian.org> Mon, 25 Sep 2000 12:36:25 -0700
@@ -904,7 +1046,7 @@ alien (7.5) unstable; urgency=low
alien (7.4) unstable; urgency=low alien (7.4) unstable; urgency=low
* Corrected typo that broke Deb.pm, Closes: #64559 * Corrected typo that broke Deb.pm, Closes: #64559
-- Joey Hess <joeyh@debian.org> Tue, 23 May 2000 19:30:04 -0700 -- Joey Hess <joeyh@debian.org> Tue, 23 May 2000 19:30:04 -0700
@@ -919,7 +1061,7 @@ alien (7.3) unstable; urgency=low
alien (7.2) unstable; urgency=low alien (7.2) unstable; urgency=low
* When reloating files from a rpm, run the mv command directly, * When reloating files from a rpm, run the mv command directly,
not in a subshell; this is safer especially if odd filenames are not in a subshell; this is safer especially if odd filenames are
involved. involved.
* When converting from rpm, only chmod each directory once, it was doing * When converting from rpm, only chmod each directory once, it was doing
@@ -1178,7 +1320,7 @@ alien (6.34) unstable; urgency=low
alien (6.33) unstable; urgency=low alien (6.33) unstable; urgency=low
* Fixes for rpm 3.0: * Fixes for rpm 3.0:
- Since rpm --showrc has changed to a format that is now very - Since rpm --showrc has changed to a format that is now very
difficult to machine parse for the topdir value, don't. Instead, difficult to machine parse for the topdir value, don't. Instead,
force rpm to output the rpm into the cirrent directory. This is force rpm to output the rpm into the cirrent directory. This is
more consistent anyway. more consistent anyway.
@@ -1222,7 +1364,7 @@ alien (6.29) unstable; urgency=low
alien (6.28) unstable; urgency=low alien (6.28) unstable; urgency=low
* Don't call dh_installmanpages when converting to .deb, it can do the * Don't call dh_installmanpages when converting to .deb, it can do the
wrong thing in some instances. wrong thing in some instances.
* Handling of relocatable packages was broken. (#31868) Fixed it by * Handling of relocatable packages was broken. (#31868) Fixed it by
looking at the rpm PREFIXES tag. looking at the rpm PREFIXES tag.
@@ -1247,7 +1389,7 @@ alien (6.25) unstable; urgency=low
* Alien can now be installed into eg, /usr/local via a PREFIX variaible * Alien can now be installed into eg, /usr/local via a PREFIX variaible
in the Makefile, based on work by Roman Shterenzon <roman@xpert.com>. in the Makefile, based on work by Roman Shterenzon <roman@xpert.com>.
* Typo fix from Roman Shterenzon. * Typo fix from Roman Shterenzon.
* Moved the patch files that come with alien out of /var/lib/alien * Moved the patch files that come with alien out of /var/lib/alien
into /usr/lib/alien/patches. Alien will now check both directories for into /usr/lib/alien/patches. Alien will now check both directories for
patches, /var first. patches, /var first.
@@ -1309,7 +1451,7 @@ alien (6.17) unstable; urgency=low
alien (6.16) unstable; urgency=low alien (6.16) unstable; urgency=low
* When converting from .tgz files, use arch: all. Sort of a hack, but * When converting from .tgz files, use arch: all. Sort of a hack, but
since we don't know what arch of stuff is in them, it's as good a since we don't know what arch of stuff is in them, it's as good a
guess as any. This will let people use the conversion on other guess as any. This will let people use the conversion on other
architectures. (#26253). architectures. (#26253).
@@ -1371,7 +1513,7 @@ alien (6.09) unstable; urgency=low
to be generated by "alien --to-rpm --scripts". to be generated by "alien --to-rpm --scripts".
* That bug is even less likely, becuase it turns out --scripts has been * That bug is even less likely, becuase it turns out --scripts has been
broken since alien version 6.0. Oops. Fixed. broken since alien version 6.0. Oops. Fixed.
* --single and --description were also broken since 6.0, and are fixed * --single and --description were also broken since 6.0, and are fixed
now. now.
* It used to be that only shell scripts could be converted to rpm format, * It used to be that only shell scripts could be converted to rpm format,
because of a stupid bug. Fixed. because of a stupid bug. Fixed.
@@ -1499,7 +1641,7 @@ alien (5.19) unstable; urgency=low
alien (5.18) unstable; urgency=low alien (5.18) unstable; urgency=low
* Use debhelper to build alien (still uses debstd to convert packages). * Use debhelper to build alien (still uses debstd to convert packages).
* Use dpkg-deb if available, instead of using ar. This fixes #12318: alien * Use dpkg-deb if available, instead of using ar. This fixes #12318: alien
can now handle old format deb files. can now handle old format deb files.
-- Joey Hess <joeyh@debian.org> Sat, 27 Sep 1997 15:52:08 -0400 -- Joey Hess <joeyh@debian.org> Sat, 27 Sep 1997 15:52:08 -0400
@@ -1507,7 +1649,7 @@ alien (5.18) unstable; urgency=low
alien (5.17) unstable; urgency=low alien (5.17) unstable; urgency=low
* Added version info to filename of generated .tgz files. * Added version info to filename of generated .tgz files.
* Added --keep-version flag, which makes alien not increment the * Added --keep-version flag, which makes alien not increment the
release number/debian version number. release number/debian version number.
* Man page fixups. * Man page fixups.
* Fixes for epochs (for now, just remove epochs, since rpm cannot handle * Fixes for epochs (for now, just remove epochs, since rpm cannot handle
@@ -1538,7 +1680,7 @@ alien (5.14) unstable; urgency=low
alien (5.13) unstable; urgency=low alien (5.13) unstable; urgency=low
* Preliminary support for converting install scripts with the --scripts * Preliminary support for converting install scripts with the --scripts
option. We have to uuencode them for rpm's. option. We have to uuencode them for rpm's.
* Revised documentation. * Revised documentation.
* Routine update of debian/rules: * Routine update of debian/rules:
@@ -1607,8 +1749,8 @@ alien (5.5) unstable; urgency=low
* Added some more documentation and warnings about file ownerships getting * Added some more documentation and warnings about file ownerships getting
screwed up if you run alien as non-root. screwed up if you run alien as non-root.
* Added basic support for converting to Slackware tgz format. Mostly * Added basic support for converting to Slackware tgz format. Mostly
untested. I confess, I did this just to simplify the documentation of untested. I confess, I did this just to simplify the documentation of
what alien can do. It was only 10 lines of code to add this, anyway. :-) what alien can do. It was only 10 lines of code to add this, anyway. :-)
* Had a hard drive crash and reassembled this package from bits and * Had a hard drive crash and reassembled this package from bits and
pieces. Hope it's not broken.. pieces. Hope it's not broken..
@@ -1642,7 +1784,7 @@ alien (5.2) unstable; urgency=low
alien (5.1) unstable; urgency=low alien (5.1) unstable; urgency=low
* Added partial support for relocatable packages: DEFAULTPREFIX is * Added partial support for relocatable packages: DEFAULTPREFIX is
examined, and if set, a subdirectory by the same name is created in the examined, and if set, a subdirectory by the same name is created in the
build directory of the package. This means relocatable packages end up build directory of the package. This means relocatable packages end up
in a sane location, not scattered in the root directory as they were in a sane location, not scattered in the root directory as they were
previously. previously.
@@ -1674,7 +1816,7 @@ alien (4.2) unstable; urgency=low
* When installing deb file, alien will use --no-force-overwrite * When installing deb file, alien will use --no-force-overwrite
The idea behind this is to make it difficult to trash your debian system The idea behind this is to make it difficult to trash your debian system
by installing alien packages that overwrite files in it. This only works by installing alien packages that overwrite files in it. This only works
if you use alien --install, not if you install the resulting .deb file by if you use alien --install, not if you install the resulting .deb file by
hand. This is a temporary fix until dpkg has --force-overwrite turned hand. This is a temporary fix until dpkg has --force-overwrite turned
off by default. off by default.
@@ -1684,7 +1826,7 @@ alien (4.2) unstable; urgency=low
alien (4.1) unstable; urgency=low alien (4.1) unstable; urgency=low
* If a package has underscores in it's name and is being converted to deb * If a package has underscores in it's name and is being converted to deb
format, change the underscores to dashes. Thanks to format, change the underscores to dashes. Thanks to
Robert Coie <rac@mata.intrigue.com> Robert Coie <rac@mata.intrigue.com>
* Strip out any other disallowed characters in package name when * Strip out any other disallowed characters in package name when
converting to deb. converting to deb.
@@ -1708,7 +1850,7 @@ alien (4.00) unstable; urgency=low
postinst. If there is any demand, I'll try to work this back into the postinst. If there is any demand, I'll try to work this back into the
program. program.
* Rewrote most of the man page. * Rewrote most of the man page.
* Fixed the version number so there are two digets in the minor revision * Fixed the version number so there are two digets in the minor revision
number. number.
-- Joey Hess <joeyh@debian.org> Sat, 29 Mar 1997 21:49:30 -0500 -- Joey Hess <joeyh@debian.org> Sat, 29 Mar 1997 21:49:30 -0500
@@ -1780,7 +1922,7 @@ alien (2.80) unstable; urgency=low
* Fixed bug in guessing name of patch file to use. * Fixed bug in guessing name of patch file to use.
* Fixed bug that would not let you specify a patch file in the current * Fixed bug that would not let you specify a patch file in the current
directory, or a relative path to a patch file. directory, or a relative path to a patch file.
* Don't use /etc/rpmrc as an indiciation of whether rpm is present, as * Don't use /etc/rpmrc as an indiciation of whether rpm is present, as
this is a conffile, and might be deleted. Test for actual rpm binary. this is a conffile, and might be deleted. Test for actual rpm binary.
* More friendly error message if patch file is not found, suggesting that * More friendly error message if patch file is not found, suggesting that
you try -n option. you try -n option.
@@ -2525,7 +2667,7 @@ debmake (1.00) unstable; urgency=low
* rpminstall enables a direct installation of Red Hat packages into the * rpminstall enables a direct installation of Red Hat packages into the
debian package maintenance system! All dpkg commands will work on it! debian package maintenance system! All dpkg commands will work on it!
* rpminstall uses debstd and thus compresses manpages + documentation and * rpminstall uses debstd and thus compresses manpages + documentation and
computes dependencies according to the libraries referenced by the computes dependencies according to the libraries referenced by the
ELF binaries in the Red Hat package. ELF binaries in the Red Hat package.
-- Christoph Lameter <clameter@waterf.org> Sun, 27 Oct 1996 12:17:51 -0800 -- Christoph Lameter <clameter@waterf.org> Sun, 27 Oct 1996 12:17:51 -0800
@@ -2641,7 +2783,7 @@ debmake (0.4) unstable; urgency=low
* Added automatic compression of documentation in /usr/man and /usr/doc * Added automatic compression of documentation in /usr/man and /usr/doc
if files are >1K. if files are >1K.
* Checks for dangling symlinks and redirects symlinks to filenames that * Checks for dangling symlinks and redirects symlinks to filenames that
were changed due to compression. were changed due to compression.
* Added rc.boot handling * Added rc.boot handling
* Permissions for documentation were set to executable when debstd was * Permissions for documentation were set to executable when debstd was

1
debian/compat vendored
View File

@@ -1 +0,0 @@
9

22
debian/control vendored
View File

@@ -1,17 +1,25 @@
Source: alien Source: alien
Section: admin Section: admin
Priority: optional Priority: optional
Build-Depends: debhelper (>= 9) Build-Depends: debhelper-compat (= 13)
Maintainer: Joey Hess <joeyh@debian.org> Maintainer: Debian QA Group <packages@qa.debian.org>
Standards-Version: 3.9.5 Standards-Version: 4.6.2
Vcs-Git: git://git.kitenet.net/alien Rules-Requires-Root: no
Vcs-Git: https://salsa.debian.org/debian/alien.git
Vcs-Browser: https://salsa.debian.org/debian/alien
Homepage: http://kitenet.net/~joey/code/alien/ Homepage: http://kitenet.net/~joey/code/alien/
Package: alien Package: alien
Architecture: all Architecture: all
Section: admin Depends: debhelper (>= 10),
Depends: debhelper (>= 7), ${misc:Depends}, ${perl:Depends}, rpm (>= 2.4.4-2), dpkg-dev, make, cpio, rpm2cpio ${misc:Depends},
Suggests: patch, bzip2, lsb-rpm, lintian, lzma ${perl:Depends},
rpm,
dpkg-dev,
make,
cpio,
rpm2cpio
Suggests: patch, bzip2, lintian, lzma
Description: convert and install rpm and other packages Description: convert and install rpm and other packages
Alien allows you to convert LSB, Red Hat, Stampede and Slackware Packages Alien allows you to convert LSB, Red Hat, Stampede and Slackware Packages
into Debian packages, which can be installed with dpkg. into Debian packages, which can be installed with dpkg.

37
debian/copyright vendored
View File

@@ -1,13 +1,34 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: native package Source: native package
Files: * Files: *
Copyright: Copyright: 1996-1997 Christoph Lameter <clameter@debian.org>
1996, 1997 Christoph Lameter 1997 Randolph Chung <rc42@cornell.edu>
1997 Randolph Chung 2001 Mark A. Hershberger <mah@everybody.org>
2001 Mark A. Hershberger 1997-2011 Joey Hess <joeyh@debian.org>
1997-2011 Joey Hess
License: GPL-2+ License: GPL-2+
On Debian systems, the complete text of the GPL can be found in
/usr/share/common-licenses/GPL.
Files: debian/*
Copyright: 1996-1997 Christoph Lameter <clameter@debian.org>
1997 Randolph Chung <rc42@cornell.edu>
2001 Mark A. Hershberger <mah@everybody.org>
1997-2011 Joey Hess <joeyh@debian.org>
2015 Fabiano Antunes <fabianoantunes@itgen.com.br>
License: GPL-2+
License: GPL-2+
This package 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 package 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, see <https://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".

7
debian/rules vendored
View File

@@ -3,13 +3,10 @@
dh $@ dh $@
override_dh_auto_test: override_dh_auto_test:
# simple smoke test ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
./alien.pl -V ./alien.pl -V
endif
override_dh_auto_install:
$(MAKE) pure_install INSTALLDIRS=vendor \
PREFIX=$(shell pwd)/debian/alien/$(shell perl -MConfig -e 'print $$Config{prefix}') \
VARPREFIX=$(shell pwd)/debian/alien
override_dh_auto_clean: override_dh_auto_clean:
# distclean moans about MANIFEST, this is quieter # distclean moans about MANIFEST, this is quieter

3
debian/salsa-ci.yml vendored Normal file
View File

@@ -0,0 +1,3 @@
---
include:
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml

1
debian/source/format vendored Normal file
View File

@@ -0,0 +1 @@
3.0 (native)

5
debian/tests/control vendored Normal file
View File

@@ -0,0 +1,5 @@
Test-Command: alien --help 2>&1 | grep "^Usage: alien"
Restrictions: allow-stderr, superficial
Tests: convert-deb-to-rpm.sh
Restrictions: allow-stderr, superficial

5
debian/tests/convert-deb-to-rpm.sh vendored Normal file
View File

@@ -0,0 +1,5 @@
#!/bin/sh
cp debian/tests/data/* $AUTOPKGTEST_TMP
cd $AUTOPKGTEST_TMP
alien --to-rpm *

Binary file not shown.