# This is a simple package version checker (for now) # # So far it only lists the names and versions of packages in ABS. # Planned is to grab repository pkgvers, then ABS vers, and only # output the differences, i.e. what packages need to be upgraded. ABSDIR=/build/abs REPODIR=/build/packages cd $ABSDIR/$1 echo "

" ; echo $1 ; echo "

" echo "" for i in `find . -maxdepth 1 -mindepth 1 -type d|sort`; do cd $ABSDIR/$1/$i > /dev/null 2>&1 echo "" grep pkgname= PKGBUILD | sed -e 's/pkgname=//' echo "" grep pkgver= PKGBUILD | sed -e 's/pkgver=//' grep pkgrel= PKGBUILD | sed -e 's/pkgrel=/-/' echo "
" echo "" done echo "

In Repository

" cd $REPODIR/$1 ls | sed 's#.pkg.tar.xz#
#' | sed '#s#.pkg.tar.gz#
#' | sed 's#core.db.tar.gz##' | sed 's#extra.db.tar.gz##' | sed 's#community.db.tar.gz##'