Port details on branch 2022Q3 |
- p5-DBIx-Safe Safer access to your database through a DBI database handle
- 1.2.5_3 databases =0 1.2.5_3Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2011-12-05 11:44:33
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- Also Listed In: perl5
- License: BSD2CLAUSE
- WWW:
- https://metacpan.org/release/DBIx-Safe
- Description:
- The purpose of DBIx::Safe 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-DBIx-Safe>0:databases/p5-DBIx-Safe
- To install the port:
- cd /usr/ports/databases/p5-DBIx-Safe/ && make install clean
- To add the package, run one of these commands:
- pkg install databases/p5-DBIx-Safe
- pkg install p5-DBIx-Safe
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-DBIx-Safe
- Flavors: there is no flavor information for this port.
- distinfo:
- SHA256 (DBIx-Safe-1.2.5.tar.gz) = 73279fd98b20034d3735dee67e2b89ac63d55449c3c64dd1a7ba0df10fbe0acf
SIZE (DBIx-Safe-1.2.5.tar.gz) = 16958
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- p5-DBD-Pg>=1.49 : databases/p5-DBD-Pg
- p5-DBI>=1.490 : databases/p5-DBI
- perl5>=5.32.r0<5.33 : lang/perl5.32
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- p5-DBD-Pg>=1.49 : databases/p5-DBD-Pg
- p5-DBI>=1.490 : databases/p5-DBI
- perl5>=5.32.r0<5.33 : lang/perl5.32
- This port is required by:
- for Build
-
- databases/p5-Bucardo
-
Deleted ports which required this port:
- for Run
-
- databases/p5-Bucardo
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- No options to configure
- Options name:
- databases_p5-DBIx-Safe
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|