Date: Mon, 19 Jul 1999 01:26:53 +0200 (MET DST) From: Juergen Lock <nox@jelal.kn-bremen.de> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/12701: port of rpm2cpio (perl version) Message-ID: <199907182326.BAA25450@saturn.kn-bremen.de>
next in thread | raw e-mail | index | archive | help
>Number: 12701 >Category: ports >Synopsis: port of rpm2cpio (perl version) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jul 18 16:40:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Juergen Lock >Release: FreeBSD 3.2-STABLE i386 >Organization: me? organized? >Environment: FreeBSD 3.2-STABLE i386, port is not architecture dependant >Description: I was just reading that `History of Emacs' thread on comp.unix.bsd.freebsd.misc where someone mentioned this... so i thought i'd make it a port. >How-To-Repeat: as usual, unshar in an empty dir, make install >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # Makefile # files/ # files/md5 # pkg/ # pkg/COMMENT # pkg/DESCR # pkg/PLIST # echo x - Makefile sed 's/^X//' >Makefile << 'END-of-Makefile' X# New ports collection makefile for: rpm2cpio X# Version required: #no version# X# Date created: Sun Jul 18 21:51:23 MET DST 1999 X# Whom: Juergen Lock <nox@jelal.kn-bremen.de> X# X# $Id: $ X# X XDISTNAME= rpm2cpio XPKGNAME= rpm2cpio-1.0 XCATEGORIES= misc XMASTER_SITES= http://www.eleves.ens.fr:8080/home/espel/ XEXTRACT_SUFX= X XMAINTAINER= nox@jelal.kn-bremen.de X XEXTRACT_CMD= ${CP} XEXTRACT_BEFORE_ARGS= XEXTRACT_AFTER_ARGS= . X XUSE_PERL5= yes X Xdo-build: X ${PERL5} -i.bak -p -e "if (1 .. 1) {s-^#!/usr/bin/perl-#!${PERL}-;}" ${WRKDIR}/rpm2cpio X Xdo-install: X ${INSTALL_SCRIPT} ${WRKDIR}/rpm2cpio ${PREFIX}/bin X X.include <bsd.port.mk> END-of-Makefile echo c - files/ mkdir -p files/ > /dev/null 2>&1 echo x - files/md5 sed 's/^X//' >files/md5 << 'END-of-files/md5' XMD5 (rpm2cpio) = d23f66e1c734a44ce6ee89b0e724b371 END-of-files/md5 echo c - pkg/ mkdir -p pkg/ > /dev/null 2>&1 echo x - pkg/COMMENT sed 's/^X//' >pkg/COMMENT << 'END-of-pkg/COMMENT' XConvert .rpm files for extraction with /usr/bin/cpio, needs just perl END-of-pkg/COMMENT echo x - pkg/DESCR sed 's/^X//' >pkg/DESCR << 'END-of-pkg/DESCR' XConvert .rpm files for extraction with /usr/bin/cpio X XQuoting the author: X Xwhy does the world need another rpm2cpio? because the existing one Xwon't build unless you have half a ton of things that aren't really Xrequired for it, since it uses the same library used to extract RPM's. Xin particular, it won't build on the HPsUX box i'm on. X X(this one needs just perl) END-of-pkg/DESCR echo x - pkg/PLIST sed 's/^X//' >pkg/PLIST << 'END-of-pkg/PLIST' Xbin/rpm2cpio END-of-pkg/PLIST exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907182326.BAA25450>