aboutsummaryrefslogtreecommitdiffstats
path: root/databases/tablelog
diff options
context:
space:
mode:
Diffstat (limited to 'databases/tablelog')
-rw-r--r--databases/tablelog/Makefile39
-rw-r--r--databases/tablelog/distinfo2
-rw-r--r--databases/tablelog/files/patch-table__log.c59
-rw-r--r--databases/tablelog/pkg-descr6
-rw-r--r--databases/tablelog/pkg-plist4
5 files changed, 0 insertions, 110 deletions
diff --git a/databases/tablelog/Makefile b/databases/tablelog/Makefile
deleted file mode 100644
index e6bcade59c88..000000000000
--- a/databases/tablelog/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-# Created by: Robert Gogolok <gogo@cs.uni-sb.de>
-# $FreeBSD$
-
-PORTNAME= tablelog
-PORTVERSION= 0.4.4
-PORTREVISION= 3
-CATEGORIES= databases
-MASTER_SITES= http://pgfoundry.org/frs/download.php/1387/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Logs changes on a table in PostgreSQL
-
-LICENSE= PostgreSQL
-
-DEPRECATED= Abandonware
-EXPIRATION_DATE= 2019-09-15
-
-WRKSRC= ${WRKDIR}/table_log-${DISTVERSION}
-
-USES= gmake pgsql
-LLD_UNSAFE= yes
-MAKE_ARGS= USE_PGXS=1
-
-OPTIONS_DEFINE= DOCS
-
-do-install:
- @${MKDIR} ${STAGEDIR}${PREFIX}/lib/postgresql/
- ${INSTALL_LIB} ${WRKSRC}/table_log.so \
- ${STAGEDIR}${PREFIX}/lib/postgresql/
- @${MKDIR} ${STAGEDIR}${PREFIX}/share/postgresql/contrib/
- ${INSTALL_DATA} ${WRKSRC}/table_log_init.sql \
- ${STAGEDIR}${PREFIX}/share/postgresql/contrib/
-
-do-install-DOCS-on:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}/
- cd ${WRKSRC} && ${INSTALL_DATA} README.table_log table_log.sql \
- ${STAGEDIR}${DOCSDIR}/
-
-.include <bsd.port.mk>
diff --git a/databases/tablelog/distinfo b/databases/tablelog/distinfo
deleted file mode 100644
index 3bb95db98605..000000000000
--- a/databases/tablelog/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (tablelog-0.4.4.tar.gz) = 58c84388daf7ef0b692be981821f2586d9553901005b613581e0fcdb7ed51ffd
-SIZE (tablelog-0.4.4.tar.gz) = 14197
diff --git a/databases/tablelog/files/patch-table__log.c b/databases/tablelog/files/patch-table__log.c
deleted file mode 100644
index 6a043b4542d4..000000000000
--- a/databases/tablelog/files/patch-table__log.c
+++ /dev/null
@@ -1,59 +0,0 @@
---- table_log.c.orig 2007-05-16 23:14:04 UTC
-+++ table_log.c
-@@ -22,6 +22,8 @@
- #include "utils/formatting.h"
- #include "utils/builtins.h"
- #include <utils/lsyscache.h>
-+#include <utils/rel.h>
-+#include <utils/timestamp.h>
- #include <funcapi.h>
-
- /* for PostgreSQL >= 8.2.x */
-@@ -71,7 +73,11 @@ int count_columns (TupleDesc tupleDesc) {
- int i;
-
- for (i = 0; i < tupleDesc->natts; ++i) {
-+#if PG_VERSION_NUM < 110000
- if (!tupleDesc->attrs[i]->attisdropped) {
-+#else
-+ if (!tupleDesc->attrs[i].attisdropped) {
-+#endif
- ++count;
- }
- }
-@@ -298,7 +304,11 @@ static void __table_log (TriggerData *trigdata, char *
- col_nr++;
- found_col = 0;
- do {
-+#if PG_VERSION_NUM < 110000
- if (trigdata->tg_relation->rd_att->attrs[col_nr - 1]->attisdropped) {
-+#else
-+ if (trigdata->tg_relation->rd_att->attrs[col_nr - 1].attisdropped) {
-+#endif
- /* this column is dropped, skip it */
- col_nr++;
- continue;
-@@ -343,7 +353,11 @@ static void __table_log (TriggerData *trigdata, char *
- col_nr++;
- found_col = 0;
- do {
-+#if PG_VERSION_NUM < 110000
- if (trigdata->tg_relation->rd_att->attrs[col_nr - 1]->attisdropped) {
-+#else
-+ if (trigdata->tg_relation->rd_att->attrs[col_nr - 1].attisdropped) {
-+#endif
- /* this column is dropped, skip it */
- col_nr++;
- continue;
-@@ -370,7 +384,11 @@ static void __table_log (TriggerData *trigdata, char *
- col_nr++;
- found_col = 0;
- do {
-+#if PG_VERSION_NUM < 110000
- if (trigdata->tg_relation->rd_att->attrs[col_nr - 1]->attisdropped) {
-+#else
-+ if (trigdata->tg_relation->rd_att->attrs[col_nr - 1].attisdropped) {
-+#endif
- /* this column is dropped, skip it */
- col_nr++;
- continue;
diff --git a/databases/tablelog/pkg-descr b/databases/tablelog/pkg-descr
deleted file mode 100644
index 4a6603cae3fd..000000000000
--- a/databases/tablelog/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-Tablelog is a contributed PostgreSQL module that uses a trigger to log
-any INSERTs, UPDATEs and DELETEs on a specific table into another table.
-The second part of tablelog is able to restore the state of the original
-table or of a specific row for any time in the past.
-
-WWW: http://pgfoundry.org/projects/tablelog/
diff --git a/databases/tablelog/pkg-plist b/databases/tablelog/pkg-plist
deleted file mode 100644
index acbe12d007a2..000000000000
--- a/databases/tablelog/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-lib/postgresql/table_log.so
-share/postgresql/contrib/table_log_init.sql
-%%PORTDOCS%%%%DOCSDIR%%/README.table_log
-%%PORTDOCS%%%%DOCSDIR%%/table_log.sql