diff options
Diffstat (limited to 'databases/pg-safeupdate')
| -rw-r--r-- | databases/pg-safeupdate/Makefile | 22 | ||||
| -rw-r--r-- | databases/pg-safeupdate/distinfo | 3 | ||||
| -rw-r--r-- | databases/pg-safeupdate/pkg-descr | 4 |
3 files changed, 29 insertions, 0 deletions
diff --git a/databases/pg-safeupdate/Makefile b/databases/pg-safeupdate/Makefile new file mode 100644 index 000000000000..9227fd7ce1e9 --- /dev/null +++ b/databases/pg-safeupdate/Makefile @@ -0,0 +1,22 @@ +PORTNAME= pg-safeupdate +PORTVERSION= 1.5 +CATEGORIES= databases +PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}- + +MAINTAINER= lukas.engelhardt@gmx.de +COMMENT= PostgreSQL extension to block unconditional UPDATE/DELETE + +LICENSE= PostgreSQL + +USES= gmake pgsql +WANT_PGSQL= server + +USE_GITHUB= yes +GH_ACCOUNT= eradman + +PLIST_FILES= lib/postgresql/safeupdate.so + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/safeupdate.so + +.include <bsd.port.mk> diff --git a/databases/pg-safeupdate/distinfo b/databases/pg-safeupdate/distinfo new file mode 100644 index 000000000000..4adbb9131d76 --- /dev/null +++ b/databases/pg-safeupdate/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1752409235 +SHA256 (eradman-pg-safeupdate-1.5_GH0.tar.gz) = 1b8742e7b2bf98275adda77cd92f5a2fd702f97d09a216c6273252894fb026f1 +SIZE (eradman-pg-safeupdate-1.5_GH0.tar.gz) = 3578 diff --git a/databases/pg-safeupdate/pkg-descr b/databases/pg-safeupdate/pkg-descr new file mode 100644 index 000000000000..c97a51cdb3ab --- /dev/null +++ b/databases/pg-safeupdate/pkg-descr @@ -0,0 +1,4 @@ +Safeupdate is a simple extension to PostgreSQL that raises an error if UPDATE +and DELETE are executed without specifying conditions. This extension was +initially designed to protect data from accidental obliteration of data that is +writable by PostgREST. |
