aboutsummaryrefslogtreecommitdiff
path: root/databases/hashtypes
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-08 22:41:01 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-08 22:57:48 +0000
commit8e36d95d26489a5b6864a88508d46a0c636c505e (patch)
tree795157179142966366e60edda5c48de1ec7b1809 /databases/hashtypes
parent73f1ab19eb60ad4802ca83da02244071716e71b4 (diff)
Diffstat (limited to 'databases/hashtypes')
-rw-r--r--databases/hashtypes/Makefile15
-rw-r--r--databases/hashtypes/distinfo7
-rw-r--r--databases/hashtypes/pkg-plist6
3 files changed, 23 insertions, 5 deletions
diff --git a/databases/hashtypes/Makefile b/databases/hashtypes/Makefile
index aa62218edf7e..17b2437dbcc2 100644
--- a/databases/hashtypes/Makefile
+++ b/databases/hashtypes/Makefile
@@ -1,21 +1,30 @@
PORTNAME= hashtypes
-PORTVERSION= 0.1.1
-PORTREVISION= 3
+PORTVERSION= 0.1.4
CATEGORIES= databases security
MASTER_SITES= http://api.pgxn.org/dist/hashtypes/${PORTVERSION}/ \
http://oss-files.dreamindustries.co/mirror/
+PATCH_SITES= https://github.com/adjust/${PORTNAME}/commit/
+PATCHFILES+= 1c08e29edab2541ab06bd1c990ae68beb417e542.patch:-p1
+
MAINTAINER= oss-contrib@dreamindustries.co
COMMENT= Hash data types for PostgreSQL
WWW= https://pgxn.org/dist/hashtypes/
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
USES= gmake pgsql zip
-LLD_UNSAFE= yes
MAKE_ARGS= USE_PGXS=1 MODULEDIR=extension
+INSTALL_TARGET= install-strip
+
+LLD_UNSAFE= yes
+
MODULEDIR= ${PREFIX}/share/postgresql/extension
post-install:
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.control ${STAGEDIR}${MODULEDIR}
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/hashtypes.so
.include <bsd.port.mk>
diff --git a/databases/hashtypes/distinfo b/databases/hashtypes/distinfo
index b424407281fb..35143e3abeee 100644
--- a/databases/hashtypes/distinfo
+++ b/databases/hashtypes/distinfo
@@ -1,2 +1,5 @@
-SHA256 (hashtypes-0.1.1.zip) = 183cb81bc4973df18906f0ab07f1d6891b9879b312f6de2772a54ff94696ab5e
-SIZE (hashtypes-0.1.1.zip) = 12989
+TIMESTAMP = 1686262968
+SHA256 (hashtypes-0.1.4.zip) = 2262b5ad8389362aea7bec0a9af566bc61ddc8ad81258e9fcf54573a4fc6ca4d
+SIZE (hashtypes-0.1.4.zip) = 35118
+SHA256 (1c08e29edab2541ab06bd1c990ae68beb417e542.patch) = f6204c3cfd7bbc37f7076979a96c8ea4e9a87fc4f1207bc4e7e470c49933dbad
+SIZE (1c08e29edab2541ab06bd1c990ae68beb417e542.patch) = 3835
diff --git a/databases/hashtypes/pkg-plist b/databases/hashtypes/pkg-plist
index 5f476cf17ff1..9ad5a85c61fd 100644
--- a/databases/hashtypes/pkg-plist
+++ b/databases/hashtypes/pkg-plist
@@ -1,4 +1,10 @@
lib/postgresql/hashtypes.so
share/doc/postgresql/extension/README.hashtypes
share/postgresql/extension/hashtypes--0.1.1.sql
+share/postgresql/extension/hashtypes--0.1.1--0.1.2.sql
+share/postgresql/extension/hashtypes--0.1.2--0.1.3.sql
+share/postgresql/extension/hashtypes--0.1.2.sql
+share/postgresql/extension/hashtypes--0.1.3--0.1.4.sql
+share/postgresql/extension/hashtypes--0.1.3.sql
+share/postgresql/extension/hashtypes--0.1.4.sql
share/postgresql/extension/hashtypes.control