Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Dec 2015 10:57:50 +0000 (UTC)
From:      Alex Kozlov <ak@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r404282 - in head/archivers/rpm2cpio: . files
Message-ID:  <201512231057.tBNAvoV7096031@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ak
Date: Wed Dec 23 10:57:49 2015
New Revision: 404282
URL: https://svnweb.freebsd.org/changeset/ports/404282

Log:
  - Print usage if there are no arguments and stdin is terminal
  - Fix grammar in pkg-descr

Modified:
  head/archivers/rpm2cpio/Makefile
  head/archivers/rpm2cpio/files/rpm2cpio
  head/archivers/rpm2cpio/pkg-descr

Modified: head/archivers/rpm2cpio/Makefile
==============================================================================
--- head/archivers/rpm2cpio/Makefile	Wed Dec 23 10:50:00 2015	(r404281)
+++ head/archivers/rpm2cpio/Makefile	Wed Dec 23 10:57:49 2015	(r404282)
@@ -3,6 +3,7 @@
 
 PORTNAME=	rpm2cpio
 PORTVERSION=	1.4
+PORTREVISION=	1
 CATEGORIES=	archivers
 MASTER_SITES=	# none
 DISTFILES=	# none

Modified: head/archivers/rpm2cpio/files/rpm2cpio
==============================================================================
--- head/archivers/rpm2cpio/files/rpm2cpio	Wed Dec 23 10:50:00 2015	(r404281)
+++ head/archivers/rpm2cpio/files/rpm2cpio	Wed Dec 23 10:57:49 2015	(r404282)
@@ -4,7 +4,7 @@
 
 PATH=/bin:/usr/bin
 
-if [ $# -eq 0 ]; then
+if [ $# -eq 0 -a ! -t 0 ]; then
 	f=/dev/stdin
 elif [ $# -eq 1 ]; then
 	f=$1

Modified: head/archivers/rpm2cpio/pkg-descr
==============================================================================
--- head/archivers/rpm2cpio/pkg-descr	Wed Dec 23 10:50:00 2015	(r404281)
+++ head/archivers/rpm2cpio/pkg-descr	Wed Dec 23 10:57:49 2015	(r404282)
@@ -1,7 +1,7 @@
-Convert .rpm files to cpio format
+Convert .rpm files to cpio format.
 
 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.
 
-This version just a tiny wrapper around bsdtar.
+This version is just a tiny wrapper around bsdtar.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512231057.tBNAvoV7096031>