* Fixed slp conversion to not use uninitialized value. Closes: #150840

This commit is contained in:
joey
2002-06-24 17:22:33 +00:00
parent a55d9bc97d
commit 25806d4146
5 changed files with 2108 additions and 18 deletions

View File

@@ -223,7 +223,6 @@ sub build {
# (a). That is good for decoding, but not for encoding.
my $fmt=footer_packstring();
$fmt=~tr/A/a/;
my $footer=pack($fmt,
$this->conffiles,
2, # Use priority optional for alien packages.
@@ -234,7 +233,7 @@ sub build {
'', # Set up script. TODO
$this->summary,
$this->description,
$this->depends,
'', # $this->depends would go here, but slp uses some weird format
'', # Provides.
$this->maintainer,
scalar localtime, # Use current date.

2069
debian/changelog vendored

File diff suppressed because it is too large Load Diff

19
debian/control vendored
View File

@@ -1,16 +1,19 @@
Source: apt-src
Source: alien
Section: admin
Priority: optional
Build-Depends-Indep: debhelper (>= 4), dpkg-dev (>= 1.9.0)
Maintainer: Joey Hess <joeyh@debian.org>
Standards-Version: 3.5.6.1
Package: apt-src
Package: alien
Architecture: all
Section: admin
Depends: libapt-pkg-perl, dpkg-dev, apt, ${misc:Depends}, ${perl:Depends}
Description: manage debian source packages
apt-src is a command line interface for downloading, installing, upgrading,
and tracking debian source packages. It can be run as a normal user, or as
root. If you want a convenient way to track updates to packages while
preserving your local modifications, this is a way to do that.
Depends: debhelper (>= 3), ${misc:Depends}, ${perl:Depends}, rpm (>= 2.4.4-2), dpkg-dev, make, cpio
Suggests: patch, bzip2, lsb-rpm, lintian
Description: install non-native packages with dpkg
Alien allows you to convert LSB, Red Hat, Stampede and Slackware Packages
into Debian packages, which can be installed with dpkg.
.
It can also generate packages of any of the other formats.
.
This is a tool only suitable for binary packages.

13
debian/copyright vendored
View File

@@ -1,3 +1,12 @@
apt-src was written by Joey Hess <joeyh@debian.org>.
This is a package originally written by Christoph Lameter
<clameter@debian.org>.
Copyright: GPL 2 or above
Deb to rpm conversion code was taken from the Martian program by
Randolph Chung <rc42@cornell.edu>.
The Solaris pkg code was written by Mark A. Hershberger
<mah@everybody.org>.
This package is now maintained by Joey Hess <joeyh@debian.org>.
Copyright: Most recent version of the GPL.

22
debian/rules vendored
View File

@@ -3,7 +3,7 @@
build: build-stamp
build-stamp:
dh_testdir
perl Makefile.PL INSTALLDIRS=vendor
perl Makefile.PL
$(MAKE)
touch build-stamp
@@ -21,8 +21,13 @@ binary-indep: build
dh_testdir
dh_testroot
dh_clean -k
$(MAKE) install PREFIX=`pwd`/debian/apt-src/usr
dh_installdocs
$(MAKE) pure_install INSTALLDIRS=vendor \
PREFIX=$(shell pwd)/debian/alien/$(shell perl -MConfig -e 'print $$Config{prefix}') \
VARPREFIX=$(shell pwd)/debian/alien
# Why does it make this empty directory? Sigh.
rm -rf debian/alien/usr/lib
dh_installdocs README gendiff.txt
dh_installexamples
dh_installchangelogs
dh_compress
dh_fixperms
@@ -32,5 +37,16 @@ binary-indep: build
dh_md5sums
dh_builddeb
VERSION=$(shell expr "`dpkg-parsechangelog 2>/dev/null |grep Version:`" : '.*Version: \(.*\)')
# Update the web page. Not intended for use by anyone except the author.
installhook:
cp debian/changelog /home/pub/programs/alien/CHANGES
echo -n $(VERSION) > /home/pub/programs/alien/LATEST-VERSION-IS
rm /home/ftp/pub/code/alien/* || true
cd /home/ftp/pub/code/alien; \
ln -sf ../debian/alien_$(VERSION).tar.gz alien_$(VERSION).tar.gz; \
ln -sf ../debian/alien_$(VERSION).tar.gz alien.tar.gz
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary