[csw-devel] SF.net SVN: gar:[14429] csw/mgar/pkg/clpbar/trunk
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Thu Apr 28 15:43:57 CEST 2011
Revision: 14429
http://gar.svn.sourceforge.net/gar/?rev=14429&view=rev
Author: dmichelsen
Date: 2011-04-28 13:43:57 +0000 (Thu, 28 Apr 2011)
Log Message:
-----------
clpbar: Update to 1.11.1, new defaults, change clpbarrc location from /etc to /etc/opt/csw
Modified Paths:
--------------
csw/mgar/pkg/clpbar/trunk/Makefile
csw/mgar/pkg/clpbar/trunk/checksums
Added Paths:
-----------
csw/mgar/pkg/clpbar/trunk/files/clpbarrc
Removed Paths:
-------------
csw/mgar/pkg/clpbar/trunk/files/0001-Allowing-to-modify-CFLAGS.patch
Modified: csw/mgar/pkg/clpbar/trunk/Makefile
===================================================================
--- csw/mgar/pkg/clpbar/trunk/Makefile 2011-04-28 08:26:25 UTC (rev 14428)
+++ csw/mgar/pkg/clpbar/trunk/Makefile 2011-04-28 13:43:57 UTC (rev 14429)
@@ -3,18 +3,40 @@
# $Id$
NAME = bar
-VERSION = 1.10.9
+VERSION = 1.11.1
CATEGORIES = apps
DESCRIPTION = A command line tool to display information about a data transfer stream
+
define BLURB
+Bar is a simple tool to copy a stream of data and print a display for the user on stderr showing (a) the amount of data passed, (b) the throughput of the data transfer, and (c) the transfer time, or, if the total size of the data stream is known, the estimated time remaining, what percentage of the data transfer has been completed, and a progress bar.
+Bar was originally written for the purpose of estimating the amount of time needed to transfer large amounts (many, many gigabytes) of data across a network. (Usually in an SSH/tar pipe.)
endef
-SPKG_SOURCEURL = http://clpbar.sourceforge.net/
+
+SF_PROJ = clpbar
MASTER_SITES = $(SF_MIRRORS)
-SF_PROJ = clpbar
-PATCHFILES += 0001-Allowing-to-modify-CFLAGS.patch
+DISTFILES += $(NAME)_$(VERSION).tar.gz
+DISTFILES += clpbarrc
-DISTFILES = $(NAME)_$(VERSION).tar.gz
-UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
-TEST_TARGET = check
-CONFIGURE_ARGS = $(DIRPATHS)
+CLPBARRC = $(sysconfdir)/clpbarrc
+
+VENDOR_URL = http://clpbar.sourceforge.net/
+
+CONFIGURE_ARGS += $(DIRPATHS)
+# It is 64 bit when *I* say so
+CONFIGURE_ARGS += --disable-use-m64
+
+PRESERVECONF = $(CLPBARRC)
+
include gar/category.mk
+
+post-extract-modulated:
+ perl -pi \
+ -e 's,/etc/clpbarrc,$(CLPBARRC),g;' \
+ $(WORKSRC)/args.c \
+ $(WORKSRC)/bar.1.in
+ @$(MAKECOOKIE)
+
+post-install-modulated:
+ ginstall -d $(DESTDIR)$(dir $(CLPBARRC))
+ ginstall $(WORKDIR)/clpbarrc $(DESTDIR)$(CLPBARRC)
+ @$(MAKECOOKIE)
Modified: csw/mgar/pkg/clpbar/trunk/checksums
===================================================================
--- csw/mgar/pkg/clpbar/trunk/checksums 2011-04-28 08:26:25 UTC (rev 14428)
+++ csw/mgar/pkg/clpbar/trunk/checksums 2011-04-28 13:43:57 UTC (rev 14429)
@@ -1,2 +1 @@
-0fc824259a4b259263856af54f76b605 0001-Allowing-to-modify-CFLAGS.patch
-d824415b391a3f826b410c86223e54a5 bar_1.10.9.tar.gz
+4836a9767cbfb9c0b16020d23b4b5e91 bar_1.11.1.tar.gz
Deleted: csw/mgar/pkg/clpbar/trunk/files/0001-Allowing-to-modify-CFLAGS.patch
===================================================================
--- csw/mgar/pkg/clpbar/trunk/files/0001-Allowing-to-modify-CFLAGS.patch 2011-04-28 08:26:25 UTC (rev 14428)
+++ csw/mgar/pkg/clpbar/trunk/files/0001-Allowing-to-modify-CFLAGS.patch 2011-04-28 13:43:57 UTC (rev 14429)
@@ -1,52 +0,0 @@
-From c0f3d3cfdff8a4838b903eb80bd63c2966f511a2 Mon Sep 17 00:00:00 2001
-From: Maciej Blizinski <maciej at opencsw.org>
-Date: Sat, 3 Jul 2010 22:37:03 +0200
-Subject: [PATCH] Allowing to modify CFLAGS
-
----
- Makefile.am | 4 ++--
- Makefile.in | 4 ++--
- 2 files changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index e6fcc76..b667595 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -12,10 +12,10 @@
- #
-
- # CFLAGS =
--CFLAGS = -O2
-+CFLAGS ?= -O2
- # CFLAGS = -g -Wall
-
--LDFLAGS = -s
-+LDFLAGS ?= -s
- # LDFLAGS =
-
- bin_PROGRAMS =
-diff --git a/Makefile.in b/Makefile.in
-index 9166e52..6f72858 100644
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -128,7 +128,7 @@ CC = @CC@
- CCDEPMODE = @CCDEPMODE@
-
- # CFLAGS =
--CFLAGS = -O2
-+CFLAGS ?= -O2
- CPP = @CPP@
- CPPFLAGS = @CPPFLAGS@
- CYGPATH_W = @CYGPATH_W@
-@@ -150,7 +150,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
- INSTALL_SCRIPT = @INSTALL_SCRIPT@
- INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
- # CFLAGS = -g -Wall
--LDFLAGS = -s
-+LDFLAGS ?= -s
- LIBOBJS = @LIBOBJS@
- LIBS = @LIBS@
- LN_S = @LN_S@
---
-1.7.1
-
Added: csw/mgar/pkg/clpbar/trunk/files/clpbarrc
===================================================================
--- csw/mgar/pkg/clpbar/trunk/files/clpbarrc (rev 0)
+++ csw/mgar/pkg/clpbar/trunk/files/clpbarrc 2011-04-28 13:43:57 UTC (rev 14429)
@@ -0,0 +1,35 @@
+#
+# This is an example of what a ~/.clpbarrc file
+# might look like. Note that lines beginning
+# with a # are ignored.
+#
+# display-twiddle: no
+# display-ansi: yes
+# space-background: black
+# twiddle-foreground: green
+# twiddle-background: normal
+# twiddle-bold: no
+# count-foreground: green
+# count-background: magenta
+# count-bold: yes
+# throughput-label-foreground: normal
+# throughput-label-background: red
+# throughput-label-bold: no
+# throughput-foreground: green
+# throughput-background: black
+# throughput-bold: yes
+# time-label-foreground: normal
+# time-label-background: red
+# time-label-bold: no
+# time-foreground: green
+# time-background: black
+# time-bold: yes
+# percent-foreground: green
+# percent-background: green
+# percent-bold: yes
+# bar-brace-foreground: red
+# bar-brace-background: blue
+# bar-brace-bold: no
+# bar-foreground: yellow
+# bar-background: blue
+# bar-bold: yes
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list