From 72eebe1ce102ec26b444b7bd25f07dd720150fe1 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 6 Dec 2011 23:09:40 +0000 Subject: [PATCH] Removed obsolete nss/svn scripts. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8104 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- extra/svn/create_views.sql | 24 ------------------------ extra/svn/svnserve.wrapper | 25 ------------------------- 2 files changed, 49 deletions(-) delete mode 100644 extra/svn/create_views.sql delete mode 100755 extra/svn/svnserve.wrapper diff --git a/extra/svn/create_views.sql b/extra/svn/create_views.sql deleted file mode 100644 index ce02e0817..000000000 --- a/extra/svn/create_views.sql +++ /dev/null @@ -1,24 +0,0 @@ -/* ssh views */ - -CREATE OR REPLACE VIEW ssh_users as -select login as username, hashed_password as password -from users -where status = 1; - - -/* nss views */ - -CREATE OR REPLACE VIEW nss_groups AS -select identifier AS name, (id + 5000) AS gid, 'x' AS password -from projects; - -CREATE OR REPLACE VIEW nss_users AS -select login AS username, CONCAT_WS(' ', firstname, lastname) as realname, (id + 5000) AS uid, 'x' AS password -from users -where status = 1; - -CREATE OR REPLACE VIEW nss_grouplist AS -select (members.project_id + 5000) AS gid, users.login AS username -from users, members -where users.id = members.user_id -and users.status = 1; diff --git a/extra/svn/svnserve.wrapper b/extra/svn/svnserve.wrapper deleted file mode 100755 index 705a17e84..000000000 --- a/extra/svn/svnserve.wrapper +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/perl -# -# redMine 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; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -# modify to suit your repository base -my $repos_base = '/var/svn'; - -my $path = '/usr/bin/'; -my %kwown_commands = map { $_ => 1 } qw/svnserve/; - -umask 0002; - -exec ('/usr/bin/svnserve', '-r', $repos_base, '-t');