r46148 - in /trunk/libdbix-safe-perl: Safe.pm.html debian/ debian/changelog debian/compat debian/control debian/copyright debian/libdbix-safe-perl.docs debian/rules debian/watch

eloy at users.alioth.debian.org eloy at users.alioth.debian.org
Wed Oct 21 14:46:26 UTC 2009


Author: eloy
Date: Wed Oct 21 14:46:21 2009
New Revision: 46148

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=46148
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    trunk/libdbix-safe-perl/debian/
    trunk/libdbix-safe-perl/debian/changelog
    trunk/libdbix-safe-perl/debian/compat
    trunk/libdbix-safe-perl/debian/control
    trunk/libdbix-safe-perl/debian/copyright
    trunk/libdbix-safe-perl/debian/libdbix-safe-perl.docs
    trunk/libdbix-safe-perl/debian/rules   (with props)
    trunk/libdbix-safe-perl/debian/watch
Modified:
    trunk/libdbix-safe-perl/Safe.pm.html

Modified: trunk/libdbix-safe-perl/Safe.pm.html
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-safe-perl/Safe.pm.html?rev=46148&op=diff
==============================================================================
--- trunk/libdbix-safe-perl/Safe.pm.html (original)
+++ trunk/libdbix-safe-perl/Safe.pm.html Wed Oct 21 14:46:21 2009
@@ -9,8 +9,10 @@
 
 <body style="background-color: white">
 
+
+<!-- INDEX BEGIN -->
+<div name="index">
 <p><a name="__index__"></a></p>
-<!-- INDEX BEGIN -->
 
 <ul>
 
@@ -46,9 +48,11 @@
 	<li><a href="#author">AUTHOR</a></li>
 	<li><a href="#license_and_copyright">LICENSE AND COPYRIGHT</a></li>
 </ul>
+
+<hr name="index" />
+</div>
 <!-- INDEX END -->
 
-<hr />
 <p>
 </p>
 <hr />
@@ -86,7 +90,7 @@
 a wrapper to the database, by only allowing through the commands you tell it to. It 
 filters all things related to the database handle - methods and attributes.</p>
 <p>The typical usage is for your application to create a database handle via a normal 
-DBI call to new(), then pass that to DBIx::Safe-&gt;new(), which will return you a 
+DBI call to <code>new()</code>, then pass that to DBIx::Safe-&gt;<code>new()</code>, which will return you a 
 DBIx::Safe object. After specifying exactly what is and what is not allowed, you can 
 pass the object to the untrusted application. The object will act very similar to a 
 DBI database handle, and in most cases can be used interchangeably.</p>
@@ -117,15 +121,15 @@
 <h2><a name="deciding_what_attributes_to_allow">Deciding what attributes to allow</a></h2>
 <p>Database handle attributes are controlled by a single list of allowed keys. If the 
 key is allowed, the underlying database handle value is returned or changed (or both). 
-Note that the attribute ``AutoCommit'' is never allowed to be changed.</p>
+Note that the attribute &quot;AutoCommit&quot; is never allowed to be changed.</p>
 <p>
 </p>
 <h2><a name="methods">Methods</a></h2>
 <p>
 </p>
 <h3><a name="new__"><code>new()</code></a></h3>
-<p>Creates a new DBIx::Safe object. Requires a mandatory ``dbh'' argument containing an active database 
-handle. Optional arguments are ``allow_command'', ``allow_regex'', ``deny_regex'', and ``allow_attribute''.</p>
+<p>Creates a new DBIx::Safe object. Requires a mandatory &quot;dbh&quot; argument containing an active database 
+handle. Optional arguments are &quot;allow_command&quot;, &quot;allow_regex&quot;, &quot;deny_regex&quot;, and &quot;allow_attribute&quot;.</p>
 <p>
 </p>
 <h3><a name="allow_command__"><code>allow_command()</code></a></h3>
@@ -148,7 +152,7 @@
 <p>
 </p>
 <h3><a name="deny_regex__"><code>deny_regex()</code></a></h3>
-<p>Specifies regular expressions which are NOT allowed to run. Arguments and return the same as allow_regex().</p>
+<p>Specifies regular expressions which are NOT allowed to run. Arguments and return the same as <code>allow_regex()</code>.</p>
 <p>
 </p>
 <h3><a name="undeny_regex__">undeny <code>regex()</code></a></h3>

Added: trunk/libdbix-safe-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-safe-perl/debian/changelog?rev=46148&op=file
==============================================================================
--- trunk/libdbix-safe-perl/debian/changelog (added)
+++ trunk/libdbix-safe-perl/debian/changelog Wed Oct 21 14:46:21 2009
@@ -1,0 +1,5 @@
+libdbix-safe-perl (1.2.5-1) unstable; urgency=low
+
+  * Initial Release. (Closes: #528719)
+
+ -- Krzysztof Krzyzaniak (eloy) <eloy at debian.org>  Sat, 19 Sep 2009 23:56:10 +0200

Added: trunk/libdbix-safe-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-safe-perl/debian/compat?rev=46148&op=file
==============================================================================
--- trunk/libdbix-safe-perl/debian/compat (added)
+++ trunk/libdbix-safe-perl/debian/compat Wed Oct 21 14:46:21 2009
@@ -1,0 +1,1 @@
+7

Added: trunk/libdbix-safe-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-safe-perl/debian/control?rev=46148&op=file
==============================================================================
--- trunk/libdbix-safe-perl/debian/control (added)
+++ trunk/libdbix-safe-perl/debian/control Wed Oct 21 14:46:21 2009
@@ -1,0 +1,37 @@
+Source: libdbix-safe-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 7)
+Build-Depends-Indep: perl, perl-modules, libmodule-signature-perl (>= 0.50),
+  libdbd-pg-perl (>= 1.49), libdbi-perl (>= 1.49)
+Maintainer: Krzysztof Krzyzaniak (eloy) <eloy at debian.org>
+Standards-Version: 3.8.3
+Homepage: http://search.cpan.org/dist/DBIx-Safe/
+
+Package: libdbix-safe-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, libdbd-pg-perl (>= 1.49),
+  libdbi-perl (>= 1.49)
+Description: Safe wrapper to DBI interface
+ The purpose of this module is to give controlled, limited access to an
+ application, rather than simply passing it a raw database handle through DBI.
+ DBIx::Safe acts as a wrapper to the database, by only allowing through the
+ commands you tell it to. It filters all things related to the database handle
+ - methods and attributes.
+ .
+ The typical usage is for your application to create a database handle via a
+ normal DBI call to new(), then pass that to DBIx::Safe->new(), which will
+ return you a DBIx::Safe object. After specifying exactly what is and what is
+ not allowed, you can pass the object to the untrusted application. The object
+ will act very similar to a DBI database handle, and in most cases can be used
+ interchangeably.
+ .
+ By default, nothing is allowed to run at all. There are many things you can
+ control. You can specify which SQL commands are allowed, by indicating the
+ first word in the SQL statement (e.g. 'SELECT'). You can specify which
+ database methods are allowed to run (e.g. 'ping'). You can specify a regular
+ expression that allows matching SQL statements to run (e.g. 'qr{SET
+ TIMEZONE}'). You can specify a regular expression that is NOT allowed to run
+ (e.g. qr(UPDATE xxx}). Finally, you can indicate which database attributes
+ are allowed to be read and changed (e.g. 'PrintError'). For all of the above,
+ there are matching methods to remove them as well.

Added: trunk/libdbix-safe-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-safe-perl/debian/copyright?rev=46148&op=file
==============================================================================
--- trunk/libdbix-safe-perl/debian/copyright (added)
+++ trunk/libdbix-safe-perl/debian/copyright Wed Oct 21 14:46:21 2009
@@ -1,0 +1,49 @@
+Format-Specification:
+    http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
+Upstream-Maintainer: Greg Sabino Mullane <greg at endpoint.com>
+Upstream-Source: http://search.cpan.org/dist/DBIx-Safe/
+Upstream-Name: DBIx-Safe
+
+Files: *
+Copyright: Greg Sabino Mullane <greg at endpoint.com>
+License: BSD | Artistic | GPL-1+
+
+Files: debian/*
+Copyright: 2009, Krzysztof Krzyzaniak (eloy) <eloy at debian.org>
+License: Artistic | GPL-1+
+
+License: BSD
+    Redistribution and use in source and binary forms, with or without 
+    modification, are permitted provided that the following conditions are met:
+
+    1. Redistributions of source code must retain the above copyright notice, 
+       this list of conditions and the following disclaimer.
+    2. Redistributions in binary form must reproduce the above copyright notice, 
+       this list of conditions and the following disclaimer in the documentation 
+       and/or other materials provided with the distribution.
+
+    THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED 
+    WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 
+    MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO 
+    EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+    EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT 
+    OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
+    INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
+    CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 
+    IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY 
+    OF SUCH DAMAGE.
+
+
+License: Artistic
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the Artistic License, which comes with Perl.
+    On Debian GNU/Linux systems, the complete text of the Artistic License
+    can be found in `/usr/share/common-licenses/Artistic'
+
+License: GPL-1+
+    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 1, or (at your option)
+    any later version.
+    On Debian GNU/Linux systems, the complete text of the GNU General
+    Public License can be found in `/usr/share/common-licenses/GPL'

Added: trunk/libdbix-safe-perl/debian/libdbix-safe-perl.docs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-safe-perl/debian/libdbix-safe-perl.docs?rev=46148&op=file
==============================================================================
--- trunk/libdbix-safe-perl/debian/libdbix-safe-perl.docs (added)
+++ trunk/libdbix-safe-perl/debian/libdbix-safe-perl.docs Wed Oct 21 14:46:21 2009
@@ -1,0 +1,2 @@
+TODO
+README

Added: trunk/libdbix-safe-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-safe-perl/debian/rules?rev=46148&op=file
==============================================================================
--- trunk/libdbix-safe-perl/debian/rules (added)
+++ trunk/libdbix-safe-perl/debian/rules Wed Oct 21 14:46:21 2009
@@ -1,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@

Propchange: trunk/libdbix-safe-perl/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/libdbix-safe-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-safe-perl/debian/watch?rev=46148&op=file
==============================================================================
--- trunk/libdbix-safe-perl/debian/watch (added)
+++ trunk/libdbix-safe-perl/debian/watch Wed Oct 21 14:46:21 2009
@@ -1,0 +1,2 @@
+version=3
+http://search.cpan.org/dist/DBIx-Safe/   .*/DBIx-Safe-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$




More information about the Pkg-perl-cvs-commits mailing list