Port details |
- p5-DBIx-Safe Safer access to your database through a DBI database handle
- 1.2.5_3 databases
=0 Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2011-12-05 11:44:33
- Last Update: 2022-07-20 14:21:07
- Commit Hash: d076ad9
- Also Listed In: perl5
- License: BSD2CLAUSE
- 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.
WWW: https://metacpan.org/release/DBIx-Safe
- SVNWeb : git : Homepage
- 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:
|
Commit History - (may be incomplete: see SVNWeb link above for full details) |
Date | By | Description |
20 Jul 2022 14:21:07 1.2.5_3 |
Tobias C. Berner (tcberner)  |
databases: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Choe, Cheng-Dae" whitekid
* "Mahdi Mokhtari <mokhi64@gmail.com>"
* "Meikel Brandmeyer" <ocaml-sqlite3-port@kotka.de>
* <hvo.pm@xs4all.nl>
* <jsmith@resonatingmedia.com>
* <ports@c0decafe.net>
* Aaron Dalton <aaron@FreeBSD.org>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alan Snelson <Alan@Wave2.org> (Only the first 15 lines of the commit message are shown above ) |
06 Apr 2021 14:31:07 1.2.5_3 |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
21 Apr 2020 19:36:36
1.2.5_3 |
sunpoet  |
Cosmetic change |
26 Jul 2019 20:46:57
1.2.5_3 |
gerald  |
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330 |
12 Dec 2018 01:35:36
1.2.5_2 |
gerald  |
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590 |
06 Oct 2018 13:06:45
1.2.5_1 |
des  |
Fix every instance of RUN_DEPENDS:=${BUILD_DEPENDS} in p5 ports, except
for where it resulted in a change in output from build-depends-list or
run-depends-list.
Approved by: portmgr (adamw) |
27 May 2018 20:15:20
1.2.5_1 |
sunpoet  |
Update WWW
search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.
With hat: perl |
01 Apr 2016 14:00:57
1.2.5_1 |
mat  |
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat: portmgr
Sponsored by: Absolight |
17 Sep 2015 17:13:19
1.2.5_1 |
sunpoet  |
- Add LICENSE
- Add NO_ARCH |
26 Nov 2014 13:08:38
1.2.5_1 |
mat  |
Change the way Perl modules are installed, update the default Perl to 5.18.
Before, we had:
site_perl : lib/perl5/site_perl/5.18
site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
perl_man3 : lib/perl5/5.18/man/man3
Now we have:
site_perl : lib/perl5/site_perl
site_arch : lib/perl5/site_perl/mach/5.18
perl_man3 : lib/perl5/site_perl/man/man3
Modules without any .so will be installed at the same place regardless of the (Only the first 15 lines of the commit message are shown above ) |
20 Oct 2014 10:41:13
1.2.5 |
bapt  |
Cleanup plist |
30 Sep 2013 15:49:38
1.2.5 |
sunpoet  |
- Support STAGEDIR |
20 Sep 2013 16:13:49
1.2.5 |
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
databases) |
21 Aug 2013 17:42:58
1.2.5 |
sunpoet  |
- Cleanup Makefile header |
21 Aug 2013 14:55:43
1.2.5 |
sunpoet  |
- Use RUN_DEPENDS:=BUILD_DEPENDS
- Add BUILD_DEPENDS
- Cosmetic change |
21 Aug 2013 14:08:08
1.2.5 |
sunpoet  |
- Convert to new perl framework |
05 Dec 2011 11:44:19
1.2.5 |
sunpoet  |
- Add p5-DBIx-Safe 1.2.5
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.
(Only the first 15 lines of the commit message are shown above ) |