summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorJoseph S. Atkinson <jsa@FreeBSD.org>2013-03-04 21:19:46 +0000
committerJoseph S. Atkinson <jsa@FreeBSD.org>2013-03-04 21:19:46 +0000
commit838ac8dda93324cc09c6ef0912e93f15ccdb7485 (patch)
treef7b90a3853702703bcc9bc9a0e3fe40d60522cfd /databases
parentBump after boost update (diff)
New port for sqlcipher.
Sqlcipher is a drop in replacement for sqlite3. Sqlcipher creates encrypted sql databases. Sponsored by: iXsystems Suggested by: Isilon Approved by: kwm (mentor)
Notes
Notes: svn path=/head/; revision=313423
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/sqlcipher/Makefile26
-rw-r--r--databases/sqlcipher/distinfo2
-rw-r--r--databases/sqlcipher/pkg-descr3
-rw-r--r--databases/sqlcipher/pkg-plist8
-rw-r--r--databases/sqlite3/Makefile2
6 files changed, 41 insertions, 1 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 556ebb88ef1d..252ae0f698ef 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -860,6 +860,7 @@
SUBDIR += spatialite_gui
SUBDIR += sqlbuddy
SUBDIR += sqlcached
+ SUBDIR += sqlcipher
SUBDIR += sqlclient
SUBDIR += sqldeveloper
SUBDIR += sqlite-ext-miscfuncs
diff --git a/databases/sqlcipher/Makefile b/databases/sqlcipher/Makefile
new file mode 100644
index 000000000000..2fe66efcb9cd
--- /dev/null
+++ b/databases/sqlcipher/Makefile
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME= sqlcipher
+PORTVERSION= 2.1.1
+CATEGORIES= databases
+
+MAINTAINER= jsa@FreeBSD.org
+COMMENT= Encrypted sqlite database
+
+LICENSE= BSD
+
+USE_LDCONFIG= yes
+USE_TCL_BUILD= 85
+USE_GITHUB= yes
+USE_GNOME= gnomehack
+GH_ACCOUNT= sqlcipher
+GH_TAGNAME= v${PORTVERSION}
+GH_COMMIT= ee2ce3e
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=--enable-tempstore=yes --disable-tcl --disable-readline
+CPPFLAGS+= -DSQLITE_HAS_CODEC
+LDFLAGS+= -lcrypto
+
+CONFLICTS= sqlite3-3.*
+
+.include <bsd.port.mk>
diff --git a/databases/sqlcipher/distinfo b/databases/sqlcipher/distinfo
new file mode 100644
index 000000000000..54457f3c8771
--- /dev/null
+++ b/databases/sqlcipher/distinfo
@@ -0,0 +1,2 @@
+SHA256 (sqlcipher-2.1.1.tar.gz) = eac24bc5924f0a333615257d8e6175ab82dffdf73ee0eaae2e30fc7be3a17480
+SIZE (sqlcipher-2.1.1.tar.gz) = 4361800
diff --git a/databases/sqlcipher/pkg-descr b/databases/sqlcipher/pkg-descr
new file mode 100644
index 000000000000..50ed46c185cb
--- /dev/null
+++ b/databases/sqlcipher/pkg-descr
@@ -0,0 +1,3 @@
+Allows the creation of encrypted sqlite databases
+
+WWW: http://www.sqlcipher.net
diff --git a/databases/sqlcipher/pkg-plist b/databases/sqlcipher/pkg-plist
new file mode 100644
index 000000000000..421a36b43882
--- /dev/null
+++ b/databases/sqlcipher/pkg-plist
@@ -0,0 +1,8 @@
+bin/sqlite3
+include/sqlite3.h
+include/sqlite3ext.h
+lib/libsqlite3.so.8
+lib/libsqlite3.so
+lib/libsqlite3.la
+lib/libsqlite3.a
+libdata/pkgconfig/sqlite3.pc
diff --git a/databases/sqlite3/Makefile b/databases/sqlite3/Makefile
index 92b5cb2a8ae6..052c9e0dd0eb 100644
--- a/databases/sqlite3/Makefile
+++ b/databases/sqlite3/Makefile
@@ -15,7 +15,7 @@ LICENSE_NAME= Public Domain
LICENSE_TEXT= Description of the license can be obtained from the following URL: http://www.sqlite.org/copyright.html
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-CONFLICTS= sqlite34-[0-9]*
+CONFLICTS= sqlite34-[0-9]* sqlcipher-*
USE_GNOME= pkgconfig
USE_LDCONFIG= YES