The FreeBSD Ports Archive

Freebsd | Contact
Welcome to FreeBSD Software


FreeBSD archivers : rpm2cpio

Convert .rpm files for extraction with /usr/bin/cpio, needs just perl

 Convert .rpm files for extraction with /usr/bin/cpio

Quoting the author:

why does the world need another rpm2cpio?  because the existing one
won't build unless you have half a ton of things that aren't really
required for it, since it uses the same library used to extract RPM's.
in particular, it won't build on the HPsUX box i'm on.

(this one needs just perl)

Updated version by Sergey Babkin that doesn't slurp the entire file
into memory and supports the newer bzip2 compressed rpms.

BUGS: if the rpm contains more than one cpio file this version
extracts only the first one. (I don't know how widespread these
types of rpms are, i haven't yet seen one.  If you do, try the
binary rpm2cpio that comes with the archivers/rpm port.)

Now called rpm2cpio.pl so that it doesn't conflict with the binary one.
 

#



rpm2cpio history


v. 1.16
date: 2006/12/23 17:42:40;  author: nox;  state: Exp;  lines: +1 -1
Update MAINTAINER email address of my ports

Approved by:	miwi

v. 1.15 date: 2004/02/06 13:10:42; author: trevor; state: Exp; lines: +1 -0 Use PLIST_FILES (bento-tested, marcus-reviewed).
v. 1.14 date: 2003/12/14 12:27:30; author: netchild; state: Exp; lines: +1 -1 Add RPM v4 support. Submitted by: Marius Strobl Approved by: maintainer
v. 1.13 date: 2003/12/12 13:32:47; author: netchild; state: Exp; lines: +1 -0 - add missing file from the last update - distinfo isn't needed anymore, the used file has no home and is included PR: 59980 (part of) Submitted by: maintainer
v. 1.12 date: 2003/12/11 10:26:07; author: linimon; state: Exp; lines: +11 -10 Replaces existing code with a version that doesn't slurp the entire file into memory and supports the newer bzip2 compressed rpms. Also, call it rpm2cpio.pl so that it doesn't conflict with the binary version from archivers/rpm. PR: ports/59980 Submitted by: Juergen Lock (maintainer)
v. 1.11 date: 2003/10/26 22:37:40; author: kris; state: Exp; lines: +2 -1 Portlint (DISTFILES -> DISTNAME, EXTRACT_SUFX)
v. 1.10 date: 2003/02/21 10:42:56; author: knu; state: Exp; lines: +1 -0 De-pkg-comment.
v. 1.9 date: 2002/05/04 20:06:23; author: kris; state: Exp; lines: +2 -2 Distfile was changed: some minor code changes with the following note: # sw 2002-Mar-6 Don't slurp the whole file
v. 1.8 date: 2001/05/26 03:45:07; author: dougb; state: Exp; lines: +1 -1 Blah... the previous message was actually supposed to have been for distinfo
v. 1.7 date: 2001/05/26 03:43:53; author: dougb; state: Exp; lines: +1 -1 Previous commit should have indicated that although a cursory visual exam showed no major changes to the file, a diff showed that the one real change was to add clarity to an example in the help.
v. 1.6 date: 2001/03/20 20:28:12; author: obrien; state: Exp; lines: +2 -2 `rpm' and `rpm2cpio' have been repocopied from "misc" to "archivers".
v. 1.5 date: 2001/03/10 04:52:27; author: kris; state: Exp; lines: +2 -2 Author released a new version which handles version 4 RPMs also. Since the distfile doesn't carry a version, arbitrarily call it version 1.1
v. 1.4 date: 2000/04/29 23:57:16; author: steve; state: Exp; lines: +2 -2 - Fix MASTER_SITES - Add WWW: line to pkg/DESCR PR: 18278 Submitted by: KATO Tsuguru
v. 1.3 date: 2000/04/14 08:46:36; author: asami; state: Exp; lines: +5 -5 Convert to PORTNAME/PORTVERSION.
v. 1.2 date: 1999/08/25 07:22:29; author: obrien; state: Exp; lines: +1 -1 Change Id->FreeBSD.
v. 1.1 date: 1999/08/01 04:26:17; author: cpiazza; state: Exp; branches: 1.1.1; Initial revision
v. 1.1.1.1 date: 1999/08/01 04:26:17; author: cpiazza; state: Exp; lines: +0 -0 Import of rpm2cpio (perl version). Converts .rpm files for extraction with /usr/bin/cpio. Created so there would be a lightweight version that didn't require a tonne of other requirements. PR: 12701 Submitted by: Juergen Lock =============================================================================



Main menu

FreeBSD

Program categories

Freebsd accessibility
Freebsd archivers
Freebsd astro
Freebsd audio
Freebsd benchmarks
Freebsd biology
Freebsd cad
Freebsd chinese
Freebsd comms
Freebsd converters
Freebsd databases
Freebsd deskutils
Freebsd devel
Freebsd dns
Freebsd editors
Freebsd emulators
Freebsd finance
Freebsd french
Freebsd ftp
Freebsd games
Freebsd german
Freebsd graphics
Freebsd hebrew
Freebsd hungarian
Freebsd irc
Freebsd japanese
Freebsd java
Freebsd korean
Freebsd lang
Freebsd mail
Freebsd math
Freebsd mbone
Freebsd misc
Freebsd multimedia
Freebsd net
Freebsd net-im
Freebsd net-mgmt
Freebsd net-p2p
Freebsd news
Freebsd palm
Freebsd polish
Freebsd ports-mgmt
Freebsd portuguese
Freebsd print
Freebsd russian
Freebsd science
Freebsd security
Freebsd shells
Freebsd sysutils
Freebsd textproc
Freebsd ukrainian
Freebsd vietnamese
Freebsd www
Freebsd x11
Freebsd x11-clocks
Freebsd x11-drivers
Freebsd x11-fm
Freebsd x11-fonts
Freebsd x11-servers
Freebsd x11-themes
Freebsd x11-toolkits
Freebsd x11-wm