From 4cfab16342d37d5db18a02d5522475e9309b9707 Mon Sep 17 00:00:00 2001 From: karltk Date: Mon, 11 Nov 2002 16:53:57 +0000 Subject: [PATCH] Updated with newest contributions from author. svn path=/; revision=11 --- trunk/src/emerge-rsync/AUTHORS | 4 ++++ trunk/src/emerge-rsync/ChangeLog | 2 ++ trunk/src/emerge-rsync/emerge-rsync | 16 +++++++++++++++- trunk/src/emerge-rsync/emerge-rsync.1 | 25 +++++++++++++++++++++++++ 4 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 trunk/src/emerge-rsync/emerge-rsync.1 diff --git a/trunk/src/emerge-rsync/AUTHORS b/trunk/src/emerge-rsync/AUTHORS index e69de29..295fd13 100644 --- a/trunk/src/emerge-rsync/AUTHORS +++ b/trunk/src/emerge-rsync/AUTHORS @@ -0,0 +1,4 @@ + +Marko Mikulicic + - Wrote all of it. + diff --git a/trunk/src/emerge-rsync/ChangeLog b/trunk/src/emerge-rsync/ChangeLog index e69de29..1f27dd9 100644 --- a/trunk/src/emerge-rsync/ChangeLog +++ b/trunk/src/emerge-rsync/ChangeLog @@ -0,0 +1,2 @@ +2002-11-11: Karl Trygve Kalleberg + * Imported newest contributions from #5623. diff --git a/trunk/src/emerge-rsync/emerge-rsync b/trunk/src/emerge-rsync/emerge-rsync index 224b548..0e76dcd 100755 --- a/trunk/src/emerge-rsync/emerge-rsync +++ b/trunk/src/emerge-rsync/emerge-rsync @@ -1,6 +1,7 @@ #!/bin/sh BASE=/var/cache USE_COLORS=yes +USE_WEBRSYNC=no # end user configuration section . /etc/make.globals @@ -19,9 +20,22 @@ function portagetree () { find $PORTDIR -type d -mindepth 2 -maxdepth 2 } +function dorsync () { +if [ "$USE_WEBRSYNC" == "yes" ]; then + emerge-webrsync $@ +else + emerge $@ rsync +fi +} + +# avoid syntax errors +function inherits () { + return +} + # do it portagetree >$BEFORE -emerge $@ rsync +dorsync portagetree >$AFTER diff $BEFORE $AFTER | grep ">" | sed "s/> //g" > $NEW diff $BEFORE $AFTER | grep "<" | sed "s/< //g" > $REMOVED diff --git a/trunk/src/emerge-rsync/emerge-rsync.1 b/trunk/src/emerge-rsync/emerge-rsync.1 new file mode 100644 index 0000000..4118622 --- /dev/null +++ b/trunk/src/emerge-rsync/emerge-rsync.1 @@ -0,0 +1,25 @@ +\" Process this file with +.\" groff -man -Tascii emerge-rsync.1 +.\" +.TH emerge 1 "JUL 2002" Linux "Gentoo Linux" +.SH NAME +emerge-rsync \- extends the portage emerge rsync with friendly output +.SH SYNOPSIS +.B emerge-rsync [--clean -c] +.SH DESCRIPTION +.B emerge-rsync +extends the portage +.BR emerge (1) +rsync program showing +a colored list of new ebuild files along with the description of each. +Removed files (only if invoked with --clean) are listed in red. + Otherwise the program behaves exactly like +.BR emerge (1) +rsync. +.SH BUGS +The command should be integrated in +.BR emerge (1) +.SH AUTHOR +Marko Mikulicic +.SH "SEE ALSO" +.BR emerge (1) \ No newline at end of file -- 2.26.2