SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,30 @@
COMMENT= SQLite drivers for the Perl DBI
MODULES= cpan
DISTNAME= DBD-SQLite-1.72
CATEGORIES= databases
EPOCH= 0
REVISION= 0
MAINTAINER= Robert Nagy <robert@openbsd.org>
# artistic
PERMIT_PACKAGE= Yes
WANTLIB += c perl sqlite3
BUILD_DEPENDS = databases/p5-DBI>=1.57
RUN_DEPENDS = databases/p5-DBI>=1.57
LIB_DEPENDS = databases/sqlite3
CONFIGURE_ARGS= SQLITE_LOCATION=${LOCALBASE}
MAKE_FLAGS= CC='${CC}' \
LD='${CC}'
MAKE_ENV += AUTOMATED_TESTING=1
post-extract:
rm ${WRKSRC}/sqlite3.{c,h}
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (DBD-SQLite-1.72.tar.gz) = XKQeYetStSvYYqMIi5Eqdf5wkQrHibmpmD4KRJ6U9VE=
SIZE (DBD-SQLite-1.72.tar.gz) = 2604501

View file

@ -0,0 +1,14 @@
- Upstream forces use of bundled sqlite but we use the one from ports.
Index: Makefile.PL
--- Makefile.PL.orig
+++ Makefile.PL
@@ -129,7 +129,7 @@ SCOPE: {
# a system sqlite is also sophisticated enough to have a patching system
# that can change the if ( 0 ) to if ( 1 )
my ($sqlite_local, $sqlite_base, $sqlite_lib, $sqlite_inc);
-if ( 0 ) {
+if ( 1 ) {
require File::Spec;
if ( $sqlite_base = (grep(/SQLITE_LOCATION=.*/, @ARGV))[0] ) {
$sqlite_base =~ /=(.*)/;

View file

@ -0,0 +1,7 @@
DBD::SQLite is the Perl5 Database Interface driver for the SQLite
database.
In other words: DBD::SQLite is an interface between the Perl
programming language and the SQLite programming API that comes with
the SQLite Embeddable database management system. Most functions
provided by the respective programming API's are supported.

View file

@ -0,0 +1,20 @@
${P5ARCH}/DBD/SQLite/
${P5ARCH}/DBD/SQLite.pm
${P5ARCH}/DBD/SQLite/Constants.pm
${P5ARCH}/DBD/SQLite/Cookbook.pod
${P5ARCH}/DBD/SQLite/Fulltext_search.pod
${P5ARCH}/DBD/SQLite/GetInfo.pm
${P5ARCH}/DBD/SQLite/VirtualTable/
${P5ARCH}/DBD/SQLite/VirtualTable.pm
${P5ARCH}/DBD/SQLite/VirtualTable/FileContent.pm
${P5ARCH}/DBD/SQLite/VirtualTable/PerlData.pm
${P5ARCH}/auto/DBD/
${P5ARCH}/auto/DBD/SQLite/
@so ${P5ARCH}/auto/DBD/SQLite/SQLite.so
@man man/man3p/DBD::SQLite.3p
@man man/man3p/DBD::SQLite::Constants.3p
@man man/man3p/DBD::SQLite::Cookbook.3p
@man man/man3p/DBD::SQLite::Fulltext_search.3p
@man man/man3p/DBD::SQLite::VirtualTable.3p
@man man/man3p/DBD::SQLite::VirtualTable::FileContent.3p
@man man/man3p/DBD::SQLite::VirtualTable::PerlData.3p