aboutsummaryrefslogtreecommitdiffstats
path: root/databases/dalmp
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2014-07-04 23:23:04 +0800
committerdanilo <danilo@FreeBSD.org>2014-07-04 23:23:04 +0800
commit65b2b1c24b42055f36d967321e1d78f822ca7cc9 (patch)
treef7481361f05402c00bde1ba89c33d6a56d18474e /databases/dalmp
parent2ccb7fcf4e7b14f54f29b576614b343721010de2 (diff)
downloadfreebsd-ports-gnome-65b2b1c24b42055f36d967321e1d78f822ca7cc9.tar.gz
freebsd-ports-gnome-65b2b1c24b42055f36d967321e1d78f822ca7cc9.tar.zst
freebsd-ports-gnome-65b2b1c24b42055f36d967321e1d78f822ca7cc9.zip
- Update from 2.1 to 3.0.2
- Use github - Update pkg-descr PR: ports/191551 Submitted by: nbari@dalmp.com
Diffstat (limited to 'databases/dalmp')
-rw-r--r--databases/dalmp/Makefile11
-rw-r--r--databases/dalmp/distinfo4
-rw-r--r--databases/dalmp/pkg-descr36
-rw-r--r--databases/dalmp/pkg-plist200
4 files changed, 200 insertions, 51 deletions
diff --git a/databases/dalmp/Makefile b/databases/dalmp/Makefile
index 08ffd6a7aab4..a6117b5a3cd0 100644
--- a/databases/dalmp/Makefile
+++ b/databases/dalmp/Makefile
@@ -2,9 +2,8 @@
# $FreeBSD$
PORTNAME= dalmp
-PORTVERSION= 2.1
+PORTVERSION= 3.0.2
CATEGORIES= databases
-MASTER_SITES= GOOGLE_CODE
MAINTAINER= nbari@dalmp.com
COMMENT= Database Abstraction Layer for MySQL using PHP
@@ -12,9 +11,13 @@ COMMENT= Database Abstraction Layer for MySQL using PHP
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-USES= tar:bzip2
+USE_GITHUB= yes
+GH_ACCOUNT= nbari
+GH_PROJECT= ${PORTNAME:tu}
+GH_TAGNAME= v${PORTVERSION}
+GH_COMMIT= 72abf0c
-DEFAULT_VERSIONS=php=5
+USES= tar:bzip2
NO_BUILD= yes
USE_PHP= pcre mysql mysqli session memcache sqlite3 curl
diff --git a/databases/dalmp/distinfo b/databases/dalmp/distinfo
index d1690f1f7a8b..7f1b538909b9 100644
--- a/databases/dalmp/distinfo
+++ b/databases/dalmp/distinfo
@@ -1,2 +1,2 @@
-SHA256 (dalmp-2.1.tar.bz2) = ea39513cb040bb51969db4cfdf8a6f3b11874b1957ce0693f7f5a481a9dd6bb0
-SIZE (dalmp-2.1.tar.bz2) = 117446
+SHA256 (dalmp-3.0.2.tar.bz2) = 86ad8a3bf1dbb5ec6e7481b43366a59a7b69b4ac6b9453ec1622a333fe24c3b3
+SIZE (dalmp-3.0.2.tar.bz2) = 166856
diff --git a/databases/dalmp/pkg-descr b/databases/dalmp/pkg-descr
index ef3dbcb35257..ddf8077a56ae 100644
--- a/databases/dalmp/pkg-descr
+++ b/databases/dalmp/pkg-descr
@@ -1,21 +1,23 @@
DALMP - Database Abstraction Layer for MySQL using PHP
-%0 fat, extremely easy to use, only connect to database when needed.
+%0 fat, extremely easy to use. Only connect to database when needed.
-Details:
- redis support.
- memcache support.
- apc support.
- Group caching, cache by groups and flush by groups or individual keys.
- Disk cache support.
- Prepared statements ready, support dynamic building queries.
- Secure connections with SSL.
- Ability to use different cache types at the same time.
- Store sessions on database(mysql/sqlite) or a cache like redis/memcache/apc.
- Easy to use/install/adapt DALMP is just a single file.
- Nested Transactions (SAVEPOINT / ROLLBACK TO SAVEPOINT).
- SQL queues.
- Export to CVS.
- Support connections via unix sockets.
+Details
+* Dependecy Injector (DI) support, load once, trigger when required.
+* APC, Disk, Memcache, Redis.io cache support.
+* Group caching cache by groups and flush by groups or individual keys.
+* Prepared statements ready, support dynamic building queries, auto detect types (i,d,s,b).
+* Secure connections with SSL.
+* SQLite3 Encryption.
+* Save sessions in database (mysql/sqlite) or a cache like redis/memcache/apc.
+* Easy to use/install/adapt.
+* Nested Transactions (SAVEPOINT / ROLLBACK TO SAVEPOINT).
+* Support connections via unix_sockets.
+* SQL queues.
+* Export to CSV.
+* Trace/measure everything enabling the debugger.
+* Works out of the box with Cloud databases like Amazon RDS or Google cloud.
+* Lazy database connection. Connect only when needed.
+* PSR-0 compliance.
-WWW: https://github.com/nbari/DALMP
+WWW: http://docs.dalmp.com/
diff --git a/databases/dalmp/pkg-plist b/databases/dalmp/pkg-plist
index 9f5bda0bd808..4cae754364ff 100644
--- a/databases/dalmp/pkg-plist
+++ b/databases/dalmp/pkg-plist
@@ -1,33 +1,177 @@
+%%DATADIR%%/.gitignore
+%%DATADIR%%/.travis.yml
+%%DATADIR%%/MPLT.php
+%%DATADIR%%/composer.json
+%%DATADIR%%/composer.lock
+%%DATADIR%%/phpunit.xml.dist
+%%DATADIR%%/checksums
+%%DATADIR%%/README.md
%%DATADIR%%/LICENSE.txt
-%%DATADIR%%/README.markdown
-%%DATADIR%%/dalmp.php
-%%DATADIR%%/classes/DALMP.php
-%%DATADIR%%/classes/DALMP/Cache.php
-%%DATADIR%%/classes/DALMP/Loader.php
-%%DATADIR%%/classes/DALMP/Logger.php
-%%DATADIR%%/classes/DALMP/Sessions.php
-%%DATADIR%%/examples/2databases.php
+%%DATADIR%%/docs/index.rst
+%%DATADIR%%/docs/about.rst
+%%DATADIR%%/docs/prepared_statements.rst
+%%DATADIR%%/docs/Download.rst
+%%DATADIR%%/docs/queue.rst
+%%DATADIR%%/docs/database.rst
+%%DATADIR%%/docs/sessions.rst
+%%DATADIR%%/docs/examples.rst
+%%DATADIR%%/docs/cache.rst
+%%DATADIR%%/docs/issues.rst
+%%DATADIR%%/docs/Quickstart.rst
+%%DATADIR%%/docs/DI.rst
+%%DATADIR%%/docs/Install.rst
+%%DATADIR%%/docs/tests.rst
+%%DATADIR%%/docs/conf.py
+%%DATADIR%%/docs/database/getAll.rst
+%%DATADIR%%/docs/database/getOne.rst
+%%DATADIR%%/docs/database/getASSOC.rst
+%%DATADIR%%/docs/database/useCache.rst
+%%DATADIR%%/docs/database/AutoExecute.rst
+%%DATADIR%%/docs/database/getRow.rst
+%%DATADIR%%/docs/database/forceTruncate.rst
+%%DATADIR%%/docs/database/multipleInsert.rst
+%%DATADIR%%/docs/database/Insert_Id.rst
+%%DATADIR%%/docs/database/getNumOfFields.rst
+%%DATADIR%%/docs/database/fill.py
+%%DATADIR%%/docs/database/RollBackTrans.rst
+%%DATADIR%%/docs/database/isConnected.rst
+%%DATADIR%%/docs/database/csv.rst
+%%DATADIR%%/docs/database/map.rst
+%%DATADIR%%/docs/database/ErrorNum.rst
+%%DATADIR%%/docs/database/query.rst
+%%DATADIR%%/docs/database/getColumnNames.rst
+%%DATADIR%%/docs/database/PQuery.rst
+%%DATADIR%%/docs/database/X.rst
+%%DATADIR%%/docs/database/StartTrans.rst
+%%DATADIR%%/docs/database/CompleteTrans.rst
+%%DATADIR%%/docs/database/PExecute.rst
+%%DATADIR%%/docs/database/CacheFlush.rst
+%%DATADIR%%/docs/database/Cache.rst
+%%DATADIR%%/docs/database/qstr.rst
+%%DATADIR%%/docs/database/getNumOfRowsAffected.rst
+%%DATADIR%%/docs/database/getNumOfRows.rst
+%%DATADIR%%/docs/database/construct.rst
+%%DATADIR%%/docs/database/Prepare.rst
+%%DATADIR%%/docs/database/getServerVersion.rst
+%%DATADIR%%/docs/database/renumber.rst
+%%DATADIR%%/docs/database/ErrorMsg.rst
+%%DATADIR%%/docs/database/UUID.rst
+%%DATADIR%%/docs/database/getCol.rst
+%%DATADIR%%/docs/database/debug.rst
+%%DATADIR%%/docs/database/FetchMode.rst
+%%DATADIR%%/docs/database/getClientVersion.rst
+%%DATADIR%%/docs/database/Execute.rst
+%%DATADIR%%/docs/database/PClose.rst
+%%DATADIR%%/docs/database/Close.rst
+%%DATADIR%%/docs/cache/disk.rst
+%%DATADIR%%/docs/cache/redis.rst
+%%DATADIR%%/docs/cache/APC.rst
+%%DATADIR%%/docs/cache/CacheInterface.rst
+%%DATADIR%%/docs/cache/memcache.rst
+%%DATADIR%%/docs/examples/basic.rst
+%%DATADIR%%/docs/sessions/SQLite.rst
+%%DATADIR%%/docs/sessions/regenerate_id.rst
+%%DATADIR%%/docs/sessions/Memcache.rst
+%%DATADIR%%/docs/sessions/Example.rst
+%%DATADIR%%/docs/sessions/getSessionsRefs.rst
+%%DATADIR%%/docs/sessions/MySQL.rst
+%%DATADIR%%/docs/sessions/delSessionRef.rst
+%%DATADIR%%/docs/sessions/construct.rst
+%%DATADIR%%/docs/sessions/getSessionRef.rst
+%%DATADIR%%/docs/sessions/Files.rst
+%%DATADIR%%/docs/sessions/Redis.rst
+%%DATADIR%%/docs/queue/SQLite.rst
+%%DATADIR%%/docs/queue/QueueInterface.rst
+%%DATADIR%%/docs/_templates/page.html
+%%DATADIR%%/bin/.gitignore
+%%DATADIR%%/tests/test_sessions_memcache.php
+%%DATADIR%%/tests/test_cache_memcache.php
+%%DATADIR%%/tests/test_sessions_redis.php
+%%DATADIR%%/tests/test_dalmp_cache_redis.php
+%%DATADIR%%/tests/test_dalmp_cache_memcache.php
+%%DATADIR%%/tests/test_dalmp_cache_disk.php
+%%DATADIR%%/tests/test_cache_base.php
+%%DATADIR%%/tests/test_sessions_mysql.php
+%%DATADIR%%/tests/test_cache_disk.php
+%%DATADIR%%/tests/test_cache_redis.php
+%%DATADIR%%/tests/test_sessions_base.php
+%%DATADIR%%/tests/test_dalmp.php
+%%DATADIR%%/tests/test_dalmp_cache_base.php
%%DATADIR%%/examples/README.markdown
-%%DATADIR%%/examples/REF.php
-%%DATADIR%%/examples/cache-group.php
-%%DATADIR%%/examples/cache.php
-%%DATADIR%%/examples/cache_dir.php
-%%DATADIR%%/examples/cache_memcache.php
-%%DATADIR%%/examples/cache_redis.php
-%%DATADIR%%/examples/csv.php
-%%DATADIR%%/examples/curl.php
-%%DATADIR%%/examples/preparedStatements.php
-%%DATADIR%%/examples/query_Execute.php
-%%DATADIR%%/examples/queue.php
-%%DATADIR%%/examples/sessions-redis.php
-%%DATADIR%%/examples/sessions.php
-%%DATADIR%%/examples/sqlite-encryption.php
-%%DATADIR%%/examples/sqliteSessions.php
-%%DATADIR%%/examples/start.php
-%%DATADIR%%/examples/transactions.php
%%DATADIR%%/examples/world.sql.gz
-%%DATADIR%%/mplt.php
-@dirrm %%DATADIR%%/classes/DALMP
-@dirrm %%DATADIR%%/classes
+%%DATADIR%%/examples/database/X.php
+%%DATADIR%%/examples/database/iterator.php
+%%DATADIR%%/examples/database/start.php
+%%DATADIR%%/examples/database/multipleinsert.php
+%%DATADIR%%/examples/database/locale.php
+%%DATADIR%%/examples/database/preparedStatements.php
+%%DATADIR%%/examples/database/redis.php
+%%DATADIR%%/examples/database/transaction_concurrent_process.php
+%%DATADIR%%/examples/database/cluster.php
+%%DATADIR%%/examples/database/transactions.php
+%%DATADIR%%/examples/database/map.php
+%%DATADIR%%/examples/database/cleanDB.php
+%%DATADIR%%/examples/database/query_Execute.php
+%%DATADIR%%/examples/database/2databases.php
+%%DATADIR%%/examples/database/queue.php
+%%DATADIR%%/examples/database/csv.php
+%%DATADIR%%/examples/cache/cache-group-DSN.php
+%%DATADIR%%/examples/cache/cache-group.php
+%%DATADIR%%/examples/cache/cache.php
+%%DATADIR%%/examples/cache/cache_disk.php
+%%DATADIR%%/examples/cache/cache_memcache.php
+%%DATADIR%%/examples/cache/cache_redis2.php
+%%DATADIR%%/examples/cache/cache_redis.php
+%%DATADIR%%/examples/sessions/sessions_1.php
+%%DATADIR%%/examples/sessions/sessions-redis.php
+%%DATADIR%%/examples/sessions/REF.php
+%%DATADIR%%/examples/sessions/curl.php
+%%DATADIR%%/examples/sessions/sqliteSessions.php
+%%DATADIR%%/examples/sessions/sessions.php
+%%DATADIR%%/examples/sessions/sqlite-encryption.php
+%%DATADIR%%/examples/all_together/database-cache-sessions.php
+%%DATADIR%%/examples/all_together/di.php
+%%DATADIR%%/examples/queue/queue.php
+%%DATADIR%%/src/dalmp.php
+%%DATADIR%%/src/DALMP/Queue.php
+%%DATADIR%%/src/DALMP/Cache.php
+%%DATADIR%%/src/DALMP/Database.php
+%%DATADIR%%/src/DALMP/Logger.php
+%%DATADIR%%/src/DALMP/abstractDI.php
+%%DATADIR%%/src/DALMP/Sessions.php
+%%DATADIR%%/src/DALMP/DI.php
+%%DATADIR%%/src/DALMP/Loader.php
+%%DATADIR%%/src/DALMP/Sessions/Files.php
+%%DATADIR%%/src/DALMP/Sessions/MySQL.php
+%%DATADIR%%/src/DALMP/Sessions/Redis.php
+%%DATADIR%%/src/DALMP/Sessions/SQLite.php
+%%DATADIR%%/src/DALMP/Sessions/Memcache.php
+%%DATADIR%%/src/DALMP/Cache/Disk.php
+%%DATADIR%%/src/DALMP/Cache/Redis.php
+%%DATADIR%%/src/DALMP/Cache/APC.php
+%%DATADIR%%/src/DALMP/Cache/CacheInterface.php
+%%DATADIR%%/src/DALMP/Cache/Memcache.php
+%%DATADIR%%/src/DALMP/Queue/QueueInterface.php
+%%DATADIR%%/src/DALMP/Queue/SQLite.php
+%%DATADIR%%/src/DALMP/Queue/Gearman.php
+@dirrm %%DATADIR%%/docs
+@dirrm %%DATADIR%%/bin
+@dirrm %%DATADIR%%/tests
@dirrm %%DATADIR%%/examples
+@dirrm %%DATADIR%%/src
+@dirrm %%DATADIR%%/docs/database
+@dirrm %%DATADIR%%/docs/cache
+@dirrm %%DATADIR%%/docs/examples
+@dirrm %%DATADIR%%/docs/sessions
+@dirrm %%DATADIR%%/docs/queue
+@dirrm %%DATADIR%%/docs/_templates
+@dirrm %%DATADIR%%/examples/database
+@dirrm %%DATADIR%%/examples/cache
+@dirrm %%DATADIR%%/examples/sessions
+@dirrm %%DATADIR%%/examples/all_together
+@dirrm %%DATADIR%%/examples/queue
+@dirrm %%DATADIR%%/src/DALMP
+@dirrm %%DATADIR%%/src/DALMP/Sessions
+@dirrm %%DATADIR%%/src/DALMP/Cache
+@dirrm %%DATADIR%%/src/DALMP/Queue
@dirrm %%DATADIR%%