diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-06-23 12:48:50 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-06-23 12:49:09 +0300 |
commit | aabfbf683d174c46fa177015f572073ca6a6bd98 (patch) | |
tree | 5ca9cbb299896dc8c019f4d3eaf633c57a0ffb9e /lib | |
parent | e5b2691b92e2d67b65ee3298b048124c761fd622 (diff) | |
download | gitaclhook-aabfbf683d174c46fa177015f572073ca6a6bd98.tar.gz gitaclhook-aabfbf683d174c46fa177015f572073ca6a6bd98.tar.bz2 |
Extract from gsc into a separate project.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/GitACL.pm | 16 | ||||
-rw-r--r-- | lib/GitACL/File.pm | 16 | ||||
-rw-r--r-- | lib/GitACL/LDAP.pm | 16 |
3 files changed, 48 insertions, 0 deletions
diff --git a/lib/GitACL.pm b/lib/GitACL.pm index c8ba2dd..51024ac 100644 --- a/lib/GitACL.pm +++ b/lib/GitACL.pm @@ -1,6 +1,22 @@ +# This file is part of gitaclhook -*- perl -*- +# Copyright (C) 2013 Sergey Poznyakoff <gray@gnu.org> +# +# Gitaclhook 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 3, or (at your option) +# any later version. +# +# Gitaclhook 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 gitaclhook. If not, see <http://www.gnu.org/licenses/>. + package GitACL; use strict; use File::Spec; my %opstr = ('C' => 'create', diff --git a/lib/GitACL/File.pm b/lib/GitACL/File.pm index 77f3b70..49378b0 100644 --- a/lib/GitACL/File.pm +++ b/lib/GitACL/File.pm @@ -1,6 +1,22 @@ +# This file is part of gitaclhook -*- perl -*- +# Copyright (C) 2013 Sergey Poznyakoff <gray@gnu.org> +# +# Gitaclhook 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 3, or (at your option) +# any later version. +# +# Gitaclhook 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 gitaclhook. If not, see <http://www.gnu.org/licenses/>. + package GitACL::File; use parent 'GitACL'; sub check_acl { my $self = shift; my $fd; diff --git a/lib/GitACL/LDAP.pm b/lib/GitACL/LDAP.pm index daa5b72..d8d5489 100644 --- a/lib/GitACL/LDAP.pm +++ b/lib/GitACL/LDAP.pm @@ -1,6 +1,22 @@ +# This file is part of gitaclhook -*- perl -*- +# Copyright (C) 2013 Sergey Poznyakoff <gray@gnu.org> +# +# Gitaclhook 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 3, or (at your option) +# any later version. +# +# Gitaclhook 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 gitaclhook. If not, see <http://www.gnu.org/licenses/>. + package GitACL::LDAP; use parent 'GitACL'; use strict; use Net::LDAP; sub parse_ldap_conf { |