From 0de15d94ce7dca4f3bb27bfd95d77c4d3f5cc40f Mon Sep 17 00:00:00 2001 From: karltk Date: Mon, 8 Dec 2003 21:30:11 +0000 Subject: [PATCH] Removed emerge-rsync, emerge-webrsync svn path=/; revision=44 --- trunk/ChangeLog | 6 +++ trunk/src/emerge-rsync/AUTHORS | 4 -- trunk/src/emerge-rsync/ChangeLog | 2 - trunk/src/emerge-rsync/README | 0 trunk/src/emerge-rsync/emerge-rsync | 66 ----------------------- trunk/src/emerge-rsync/emerge-rsync.1 | 25 --------- trunk/src/emerge-webrsync/AUTHORS | 0 trunk/src/emerge-webrsync/ChangeLog | 0 trunk/src/emerge-webrsync/README | 0 trunk/src/emerge-webrsync/emerge-webrsync | 62 --------------------- 10 files changed, 6 insertions(+), 159 deletions(-) delete mode 100644 trunk/src/emerge-rsync/AUTHORS delete mode 100644 trunk/src/emerge-rsync/ChangeLog delete mode 100644 trunk/src/emerge-rsync/README delete mode 100755 trunk/src/emerge-rsync/emerge-rsync delete mode 100644 trunk/src/emerge-rsync/emerge-rsync.1 delete mode 100644 trunk/src/emerge-webrsync/AUTHORS delete mode 100644 trunk/src/emerge-webrsync/ChangeLog delete mode 100644 trunk/src/emerge-webrsync/README delete mode 100644 trunk/src/emerge-webrsync/emerge-webrsync diff --git a/trunk/ChangeLog b/trunk/ChangeLog index ee22390..cc53b27 100644 --- a/trunk/ChangeLog +++ b/trunk/ChangeLog @@ -1,4 +1,10 @@ +2003-12-08 Karl Trygve Kalleberg + * Removed emerge-rsync, emerge-webrsync + * Added moo + * Added skeleton man pages to all packages + * Added Makefile + 2003-10-04 Karl Trygve Kalleberg * Rewrote dep-clean to python diff --git a/trunk/src/emerge-rsync/AUTHORS b/trunk/src/emerge-rsync/AUTHORS deleted file mode 100644 index 295fd13..0000000 --- a/trunk/src/emerge-rsync/AUTHORS +++ /dev/null @@ -1,4 +0,0 @@ - -Marko Mikulicic - - Wrote all of it. - diff --git a/trunk/src/emerge-rsync/ChangeLog b/trunk/src/emerge-rsync/ChangeLog deleted file mode 100644 index 1f27dd9..0000000 --- a/trunk/src/emerge-rsync/ChangeLog +++ /dev/null @@ -1,2 +0,0 @@ -2002-11-11: Karl Trygve Kalleberg - * Imported newest contributions from #5623. diff --git a/trunk/src/emerge-rsync/README b/trunk/src/emerge-rsync/README deleted file mode 100644 index e69de29..0000000 diff --git a/trunk/src/emerge-rsync/emerge-rsync b/trunk/src/emerge-rsync/emerge-rsync deleted file mode 100755 index 0e76dcd..0000000 --- a/trunk/src/emerge-rsync/emerge-rsync +++ /dev/null @@ -1,66 +0,0 @@ -#!/bin/sh -BASE=/var/cache -USE_COLORS=yes -USE_WEBRSYNC=no - -# end user configuration section -. /etc/make.globals -BEFORE=$BASE/ebuild-rsync.before -AFTER=$BASE/ebuild-rsync.after -NEW=$BASE/ebuild-rsync.new -REMOVED=$BASE/ebuild-rsync.removed - -if [ "$USE_COLORS" == "yes" ]; then - RED="\033[;31m" - GREEN="\033[;32m" - NORMAL="\033[m" -fi - -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 -dorsync -portagetree >$AFTER -diff $BEFORE $AFTER | grep ">" | sed "s/> //g" > $NEW -diff $BEFORE $AFTER | grep "<" | sed "s/< //g" > $REMOVED - -# cleanup -rm $BEFORE $AFTER - -# display new ebuilds -if ! diff -q $NEW /dev/null >/dev/null; then - echo - echo New ebuilds: - for i in $(cat $NEW); do - DESCRIPTION="$i/*.ebuild ${RED}does not exist$NORMAL" - EBUILD=$(ls $i/*.ebuild --sort=time 2>/dev/null | head -n 1) - [ -z "$EBUILD" ] || . $EBUILD - echo -e $GREEN${i##$PORTDIR/}$NORMAL: $DESCRIPTION - done -fi - -# display removed ebuilds -if ! diff -q $REMOVED /dev/null >/dev/null; then - echo - echo Removed ebuilds: - for i in $(cat $REMOVED); do - echo -e $RED${i##$PORTDIR/}$NORMAL - done -fi - diff --git a/trunk/src/emerge-rsync/emerge-rsync.1 b/trunk/src/emerge-rsync/emerge-rsync.1 deleted file mode 100644 index 4118622..0000000 --- a/trunk/src/emerge-rsync/emerge-rsync.1 +++ /dev/null @@ -1,25 +0,0 @@ -\" 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 diff --git a/trunk/src/emerge-webrsync/AUTHORS b/trunk/src/emerge-webrsync/AUTHORS deleted file mode 100644 index e69de29..0000000 diff --git a/trunk/src/emerge-webrsync/ChangeLog b/trunk/src/emerge-webrsync/ChangeLog deleted file mode 100644 index e69de29..0000000 diff --git a/trunk/src/emerge-webrsync/README b/trunk/src/emerge-webrsync/README deleted file mode 100644 index e69de29..0000000 diff --git a/trunk/src/emerge-webrsync/emerge-webrsync b/trunk/src/emerge-webrsync/emerge-webrsync deleted file mode 100644 index af3e89b..0000000 --- a/trunk/src/emerge-webrsync/emerge-webrsync +++ /dev/null @@ -1,62 +0,0 @@ -#! /bin/sh - -# Copyright(c) 2002 Gentoo Technologies, Inc. -# Author: Karl Trygve Kalleberg -# Rewritten from the old, Perl-based emerge-webrsync script - -. /etc/make.conf - -syncpath="/var/tmp/emerge-webrsync" - -if [ ! -d $syncpath ] ; then - mkdir -p $syncpath -fi - -cd $syncpath - -found=0 -attempts=0 -download=1 -wgetops=-q - -if [ "$1" == "-n" ] ; then - download=0 -fi - -sync_local() { - echo Syncing local tree... - tar jxf $file - rm -f $file - rsync -av . /usr - rm -rf portage -} - -echo "Fetching most recent snapshot" - -while (( $attempts < 40 )) ; do - - day=`date -d "-$attempts day" +"%d"` - month=`date -d "-$attempts day" +"%m"` - year=`date -d "-$attempts day" +"%Y"` - - file="portage-${year}${month}${day}.tar.bz2" - - if [ -f $file ] && [ $download == 0 ] ; then - sync_local - exit 0 - fi - - for i in $GENTOO_MIRRORS ; do - url="${i}/snapshots/$file" - rm -f $file - if (wget $wgetops $url) ; then - sync_local - exit 0 - fi - done - attempts=$[attempts+1] -done - -rm -rf portage - -exit 1 -- 2.26.2