Current location

narf Source control manager Git

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshtrom <shtrom@1991c358-8f32-0410-a49a-990740bdf4c2>2012-02-07 11:33:51 +0000
committershtrom <shtrom@1991c358-8f32-0410-a49a-990740bdf4c2>2012-02-07 11:33:51 +0000
commit67c84140a3caa0873d84ea02ee35e45fb0a845e6 (patch)
tree9d007de40cbc44a82a9903f7b9b87f73fad802cb /openbsd
parente5efd5134974e08b9bb492604da80d3052517fcd (diff)
[openbsd-scripts] Updateed anoncvs mirror; removed outdated scripts.
git-svn-id: svn+ssh://scm.narf.ssji.net/svn/shtrom/scripts@1076 1991c358-8f32-0410-a49a-990740bdf4c2
Diffstat (limited to 'openbsd')
-rwxr-xr-xopenbsd/installpkg.sh40
-rwxr-xr-xopenbsd/updatepackagelist.sh5
-rwxr-xr-xopenbsd/updateports.sh2
3 files changed, 1 insertions, 46 deletions
diff --git a/openbsd/installpkg.sh b/openbsd/installpkg.sh
deleted file mode 100755
index 198dff9..0000000
--- a/openbsd/installpkg.sh
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/usr/local/bin/bash
-# $Id$
-
-PKG_LIST=`ls packages-*.html | head -n 1`
-
-MATCHING=`grep "$*" $PKG_LIST | sed -e "s/.*>\([^<]*\)\.tgz<.*/\1/"`
-
-if [ -z "$MATCHING" ]; then
- echo "No package matching \"$*\""
- exit 1
-fi
-
-if [ `echo $MATCHING | wc -w` = 1 ];then
- PROG=$MATCHING
-else
- # CHOICES=""
- # for arf in $MATCHING; do
- # CHOICES="$CHOICES $arf Package"
- # done
- # echo $CHOICES
- # dialog --backtitle "OpenBSD package installation" --title "Matches for \"$*\"" \
- # --menu "Which package do you want to install ?" 0 0 4 $CHOICES 2>/dev/null
- echo -e "Several matches for \"$*\":\n$MATCHING"
- exit 1
-fi
-
-if [ $UID != 0 ]; then
- echo "This script must be run as root"
- exit 1
-fi
-
-echo -n "Ok to install package $PROG, [y/N] ? "
-read ans
-
-if [ "$ans" = "y" -o "$ans" = "y" ]; then
- pkg_add $PROG
-else
- echo "Aborted"
- exit 1
-fi
diff --git a/openbsd/updatepackagelist.sh b/openbsd/updatepackagelist.sh
deleted file mode 100755
index ce0e1e0..0000000
--- a/openbsd/updatepackagelist.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-# $Id$
-rm packages-*.html
-wget $PKG_PATH/
-mv index.html packages-`date +%Y%m%d`.html
diff --git a/openbsd/updateports.sh b/openbsd/updateports.sh
index 42debf6..1cd6e7c 100755
--- a/openbsd/updateports.sh
+++ b/openbsd/updateports.sh
@@ -1,6 +1,6 @@
#!/usr/local/bin/bash
# $Id$
-export CVSROOT=anoncvs@anoncvs.de.openbsd.org:/cvs
+export CVSROOT=anoncvs@anoncvs.fr.openbsd.org:/cvs
VERSION=`uname -r`
cd /usr
cvs -z9 get -rOPENBSD_${VERSION/./_} -P ports