summaryrefslogtreecommitdiff
path: root/rvs/plugins/users
diff options
context:
space:
mode:
Diffstat (limited to 'rvs/plugins/users')
-rw-r--r--rvs/plugins/users/bin/commit.sh29
-rw-r--r--rvs/plugins/users/bin/init.sh28
-rw-r--r--rvs/plugins/users/bin/login.sh28
-rw-r--r--rvs/plugins/users/bin/logout.sh27
-rw-r--r--rvs/plugins/users/bin/mkuser.sh29
-rw-r--r--rvs/plugins/users/bin/rmuser.sh28
-rw-r--r--rvs/plugins/users/info.mk.in3
-rw-r--r--rvs/plugins/users/lib/stdio.sh66
8 files changed, 0 insertions, 238 deletions
diff --git a/rvs/plugins/users/bin/commit.sh b/rvs/plugins/users/bin/commit.sh
deleted file mode 100644
index 1fa2e52..0000000
--- a/rvs/plugins/users/bin/commit.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-name='rvs users commit'
-ver=0.9
-# Copyright (C) 2009 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-source "$libexecdir/@ID@/stdio"
-
-ret=`$RVS repo-0.7beta/commit $@`
-if [ -f "$REPO/@ID@/user" ]; then
- cp "$REPO/@ID@/user" "$REPO/@ID@/repo/$ret"
- echo "$ret"
-else
- error 'you must be logged in to commit files'
-fi
-
diff --git a/rvs/plugins/users/bin/init.sh b/rvs/plugins/users/bin/init.sh
deleted file mode 100644
index 142f54c..0000000
--- a/rvs/plugins/users/bin/init.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-name='rvs users init'
-ver=0.9
-# Copyright (C) 2009 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-#source "$libexecdir/@ID@/stdio"
-
-mkdir -p "$REPO/@ID@"/{users,repo}
-cat << __EOF__ > "$REPO/@ID@/users/Public Domain"
-author:anonymous
-owner:Public Domain
-license:
-__EOF__
-
diff --git a/rvs/plugins/users/bin/login.sh b/rvs/plugins/users/bin/login.sh
deleted file mode 100644
index 40a5830..0000000
--- a/rvs/plugins/users/bin/login.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-name='rvs users login'
-ver=0.9
-# Copyright (C) 2009 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-source "$libexecdir/@ID@/stdio"
-
-user="$1"
-if [ -f "$REPO/@ID@/users/$user" ]; then
- install -m 644 -T "$REPO/@ID@/users/$user" "$REPO/@ID@/../user"
-else
- error "User \`$user' does not exist"
-fi
-
diff --git a/rvs/plugins/users/bin/logout.sh b/rvs/plugins/users/bin/logout.sh
deleted file mode 100644
index 260846e..0000000
--- a/rvs/plugins/users/bin/logout.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-name='rvs users logout'
-ver=0.9
-# Copyright (C) 2009 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-source "$libexecdir/@ID@/stdio"
-
-if [ -f "$REPO/@ID@/../user" ]; then
- rm "$REPO/@ID@/../user"
-else
- error 'you must be logged in to logout'
-fi
-
diff --git a/rvs/plugins/users/bin/mkuser.sh b/rvs/plugins/users/bin/mkuser.sh
deleted file mode 100644
index 6f72ea9..0000000
--- a/rvs/plugins/users/bin/mkuser.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-name='rvs users mkuser'
-ver=0.9
-# Copyright (C) 2009 Luke Shumaker
-#
-# This file is part of rvs.
-#
-# rvs is free software; you can redistribute it and/or modify it under the
-# terms of the GNU General Public License as published by the Free Software
-# Foundation; either version 2, or (at your option) any later version.
-#
-# rvs is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with rvs; see the file COPYING.
-# If not, write to the Free Software Foundation,
-# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
-source "$libexecdir/@ID@/stdio"
-
-author="$1"
-touch "$REPO/@ID@/users/$author"
-cat << __EOF__ > "$REPO/@ID@/users/$author"
-author:$author
-__EOF__
-
diff --git a/rvs/plugins/users/bin/rmuser.sh b/rvs/plugins/users/bin/rmuser.sh
deleted file mode 100644
index 604f359..0000000
--- a/rvs/plugins/users/bin/rmuser.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-name='rvs users rmuser'
-ver=0.9
-# Copyright (C) 2009 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-source "$libexecdir/@ID@/stdio"
-
-user="$1"
-if [ -f "$REPO/@ID@/users/$user" ]; then
- rm "$REPO/@ID@/users/$user"
-else
- error "User \`$user' does not exist"
-fi
-
diff --git a/rvs/plugins/users/info.mk.in b/rvs/plugins/users/info.mk.in
deleted file mode 100644
index 094f2a5..0000000
--- a/rvs/plugins/users/info.mk.in
+++ /dev/null
@@ -1,3 +0,0 @@
-name = users
-ver = 0.9
-priority = 2
diff --git a/rvs/plugins/users/lib/stdio.sh b/rvs/plugins/users/lib/stdio.sh
deleted file mode 100644
index edf7c01..0000000
--- a/rvs/plugins/users/lib/stdio.sh
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/bin/sh
-#name='rvs users stdio'
-#ver=0.9
-# Copyright (C) 2009 Luke Shumaker
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING.
-# If not, see <http://www.gnu.org/licenses>.
-
-verbose() {
- if [ "$volume" == '-v' ]; then
- echo $@ >> /dev/stderr
- fi
-}
-
-out() {
- if [ "$volume" != '-q' ]; then
- echo $@
- fi
-}
-
-warn () {
- echo "$name: $1" >> /dev/stderr
-}
-
-fatal () {
- warn "$1"
- exit 1
-}
-
-error() {
- warn "$1"
- cat << __error__ >> /dev/stderr
-Usage: $name $usage
-
-Try \`$name --help\' for more options.
-__error__
- exit 1
-}
-
-version() {
- echo "$name $ver"
- if [ "$volume" != '-q' ]; then
- cat << __disclaimer__
-$name is copyright (C) 2009 Luke Shumaker
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-Originally written by Luke Shumaker <lukeshu@sbcglobal.net>.
-__disclaimer__
- fi
- exit 0
-}
-