prt-utils: update to 0.9.2

This commit is contained in:
Juergen Daubert 2009-09-11 13:22:00 +02:00
parent 6e0829e918
commit ae3b1a7c50
4 changed files with 7 additions and 46 deletions

View File

@ -23,6 +23,7 @@ drwxr-xr-x root/root usr/lib/prtverify/
-rw-r--r-- root/root usr/lib/prtverify/00_prtverify_lib.awk
-rw-r--r-- root/root usr/lib/prtverify/05_file_check.awk
-rw-r--r-- root/root usr/lib/prtverify/10_file_check_clean_repo.awk
-rw-r--r-- root/root usr/lib/prtverify/20_encoding.awk
-rw-r--r-- root/root usr/lib/prtverify/20_evil_cmds.awk
-rw-r--r-- root/root usr/lib/prtverify/20_maintainer_email.awk
-rw-r--r-- root/root usr/lib/prtverify/20_missing_deps.awk

View File

@ -1,2 +1 @@
cea640356422381ddbd37fb8f931ed7c prt-utils-0.9.1.tar.gz
959f1f3f1bb5bb7cfaf03f40d7b02ec3 prt-utils.patch
95863397f0b45bdd5f8d26357fe4054d prt-utils-0.9.2.tar.gz

View File

@ -1,18 +1,15 @@
# Description: some scripts for CRUX ports
# URL: http://prt-utils.berlios.de
# Description: Collection of scripts for CRUX, mainly oriented towards package and port management
# URL: http://crux.nu/Wiki/PrtUtils
# Maintainer: Johannes Winkelmann, jw at smts dot ch
# Packager: Martin Opel, mo at obbl-net dot de
# Depends on: prt-get
name=prt-utils
version=0.9.1
release=2
source=(http://crux.nu/files/tools/prt-utils/$name-$version.tar.gz \
$name.patch)
version=0.9.2
release=1
source=(http://crux.nu/files/tools/prt-utils/$name-$version.tar.gz)
build() {
cd $name-$version
patch < ../$name.patch
mkdir -p $PKG/usr/{man/man1,bin}
make DESTDIR=$PKG install
}

View File

@ -1,36 +0,0 @@
--- pkgfoster 2006-12-19 17:52:33.000000000 +0100
+++ /home/simone/crux/tools/prt-utils/pkgfoster 2007-05-15 18:05:12.464471239 +0200
@@ -12,9 +12,22 @@
#
PRT_GET=prt-cache
-PKGRM="sudo pkgrm"
-BASE="autoconf automake bash bc bin86 bindutils binutils bison bzip2 coreutils cpio curl db dcron dhcpcd diffutils e2fsprogs ed expat file filesystem findutils flex gawk gcc gdbm gettext glibc grep groff grub gzip hdparm hotplug httpup iptables jfsutils kbd less libstdc++-compat libtool libusb lilo m4 make man man-pages mktemp module-init-tools nasm ncurses netkit-base netkit-ftp netkit-telnet net-tools nfs-utils openssh openssl patch pciutils perl pkg-config pkgutils portmap ports ppp procps prt-get psmisc rc rdate readline reiserfsprogs rpm2targz rsync sed sendmail shadow slocate strace sysfsutils sysklogd sysvinit tar tcp_wrappers tcsh time traceroute udev unzip usbutils util-linux vim wget which xfsprogs zip zlib"
+function PKGRM
+{
+ if [ $UID -ne 0 ]; then
+ SUDO="`which sudo 2>/dev/null`"
+ if [ -z "$SUDO" ]; then
+ su -c "pkgrm $1"
+ else
+ sudo pkgrm $1
+ fi
+ else
+ pkgrm $1
+ fi
+}
+
+BASE=$(ls $(awk '/^[[:space:]]*prtdir.*\/core/ {print $2}' /etc/prt-get.conf))
touch ~/.keepers
echo "Checking packages for orphans..."
@@ -37,7 +50,7 @@
read ANSWER
if [ "$ANSWER" == "y" ] ; then
- $PKGRM $PACKAGE
+ PKGRM $PACKAGE
RECHECK=1
else
echo $PACKAGE >> ~/.keepers