Difference between revisions of "Rpm2targz"

From CBLFS
Jump to navigationJump to search
(Added page)
 
m (Add note)
Line 11: Line 11:
  
 
{{Package-Introduction|Converts a .rpm file to a .tar.gz archive|http://www.slackware.com/config/packages.php}}
 
{{Package-Introduction|Converts a .rpm file to a .tar.gz archive|http://www.slackware.com/config/packages.php}}
 +
 +
{{Note|This is Slackware's rpm2targz patched to add bzip2 support, support for other than bash, secure tempfile, non-GNU portability, and causes rpm2targz to extract to current directory.}}
  
 
== Non-Multilib ==
 
== Non-Multilib ==

Revision as of 13:42, 16 March 2008

Download Source: http://prometheus.cs.wmich.edu/gentoo/distfiles/rpm2targz-9.0.0.4g.tar.gz
Download Patch: http://svn.cross-lfs.org/svn/repos/patches/rpm2targz/rpm2targz-9.0.0.4g-fixes-1.patch

Introduction to Rpm2targz

Converts a .rpm file to a .tar.gz archive

Project Homepage: http://www.slackware.com/config/packages.php

Caution.png

Note

This is Slackware's rpm2targz patched to add bzip2 support, support for other than bash, secure tempfile, non-GNU portability, and causes rpm2targz to extract to current directory.

Non-Multilib

Compile the package:

patch -Np1 -i ./rpm2targz-9.0.0.4g-fixes-1.patch &&
gcc rpmoffset.c -o rpmoffset

Install the package:

install -vm755 rpm2targz rpmoffset /usr/bin

Multilib

This package does not provide any libraries so only one installation is required.

32Bit

Compile the package:

patch -Np1 -i ./rpm2targz-9.0.0.4g-fixes-1.patch &&
gcc ${BUILD32} rpmoffset.c -o rpmoffset

Install the package:

install -vm755 rpm2targz rpmoffset /usr/bin

N32

Compile the package:

patch -Np1 -i ./rpm2targz-9.0.0.4g-fixes-1.patch &&
gcc ${BUILDN32} rpmoffset.c -o rpmoffset

Install the package:

install -vm755 rpm2targz rpmoffset /usr/bin

64Bit

Compile the package:

patch -Np1 -i ./rpm2targz-9.0.0.4g-fixes-1.patch &&
gcc ${BUILD64} rpmoffset.c -o rpmoffset

Install the package:

install -vm755 rpm2targz rpmoffset /usr/bin

Contents

Installed Directories: None
Installed Programs: rpm2targz, rpmoffset
Installed Libraries: None

Short Descriptions