+2003-12-08 Karl Trygve Kalleberg <karltk@gentoo.org>
+ * Removed emerge-rsync, emerge-webrsync
+ * Added moo
+ * Added skeleton man pages to all packages
+ * Added Makefile
+
2003-10-04 Karl Trygve Kalleberg <karltk@gentoo.org>
* Rewrote dep-clean to python
+++ /dev/null
-
-Marko Mikulicic <marko@seul.org>
- - Wrote all of it.
-
+++ /dev/null
-2002-11-11: Karl Trygve Kalleberg <karltk@gentoo.org>
- * Imported newest contributions from #5623.
+++ /dev/null
-#!/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
-
+++ /dev/null
-\" 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 <marko@seul.org>
-.SH "SEE ALSO"
-.BR emerge (1)
\ No newline at end of file
+++ /dev/null
-#! /bin/sh
-
-# Copyright(c) 2002 Gentoo Technologies, Inc.
-# Author: Karl Trygve Kalleberg <karltk@gentoo.org>
-# 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