components/database/postgresql-96-pg_repack/Makefile | ●●●●● patch | view | raw | blame | history | |
components/database/postgresql-96-pg_repack/manifests/sample-manifest.p5m | ●●●●● patch | view | raw | blame | history | |
components/database/postgresql-96-pg_repack/pg_repack.p5m | ●●●●● patch | view | raw | blame | history |
components/database/postgresql-96-pg_repack/Makefile
New file @@ -0,0 +1,50 @@ # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. # You may only use this file in accordance with the terms of version # 1.0 of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # Copyright 2016 Alexander Pyhalov # include ../../../make-rules/shared-macros.mk COMPONENT_NAME = pg_repack COMPONENT_VERSION = 1.3.4 COMPONENT_SUMMARY = pg_repack - utility to reorganize PostgreSQL tables on-line COMPONENT_SRC = $(COMPONENT_NAME)-$(COMPONENT_VERSION) COMPONENT_ARCHIVE = $(COMPONENT_SRC).zip COMPONENT_ARCHIVE_HASH = \ sha256:2038c726e948285a3097f1cae0fb9f44d9288716fd9c1e2a50559f7fe9a8939a COMPONENT_ARCHIVE_URL = \ http://api.pgxn.org/dist/pg_repack/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) COMPONENT_PROJECT_URL = http://reorg.github.io/pg_repack/ COMPONENT_FMRI = database/postgres-96/pg_repack COMPONENT_CLASSIFICATION = System/Databases COMPONENT_LICENSE = BSD COMPONENT_LICENSE_FILE = COPYRIGHT PG_VERSION= 9.6 # Don't depend on host default pg_config # Note, for PostgreSQL >= 9.6 $(PG_HOME)/bin contains 64-bit files PATH= $(PG_HOME)/bin:/usr/sbin:/usr/bin include $(WS_MAKE_RULES)/prep.mk include $(WS_MAKE_RULES)/justmake.mk include $(WS_MAKE_RULES)/ips.mk COMPONENT_BUILD_ENV += USE_PGXS=0 build: $(BUILD_64) install: $(INSTALL_64) REQUIRED_PACKAGES += database/postgres-96/developer REQUIRED_PACKAGES += database/postgres-96/library REQUIRED_PACKAGES += system/library components/database/postgresql-96-pg_repack/manifests/sample-manifest.p5m
New file @@ -0,0 +1,28 @@ # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. # You may only use this file in accordance with the terms of version # 1.0 of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # Copyright 2016 <contributor> # set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) set name=pkg.summary value="$(COMPONENT_SUMMARY)" set name=info.classification value="$(COMPONENT_CLASSIFICATION)" set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) set name=info.source-url value=$(COMPONENT_ARCHIVE_URL) set name=org.opensolaris.consolidation value=$(CONSOLIDATION) license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)' file path=usr/postgres/9.6/bin/pg_repack file path=usr/postgres/9.6/lib/$(MACH64)/pg_repack.so file path=usr/postgres/9.6/share/extension/pg_repack--$(COMPONENT_VERSION).sql file path=usr/postgres/9.6/share/extension/pg_repack.control components/database/postgresql-96-pg_repack/pg_repack.p5m
New file @@ -0,0 +1,32 @@ # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. # You may only use this file in accordance with the terms of version # 1.0 of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # Copyright 2016 Alexander Pyhalov # set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) set name=pkg.summary value="$(COMPONENT_SUMMARY)" set name=info.classification value="$(COMPONENT_CLASSIFICATION)" set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) set name=info.source-url value=$(COMPONENT_ARCHIVE_URL) set name=org.opensolaris.consolidation value=$(CONSOLIDATION) license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)' link path=usr/bin/pg_repack target=../postgres/$(PG_VERSION)/bin/pg_repack \ mediator=postgres mediator-implementation=postgresql \ mediator-version=$(PG_VERSION) file path=usr/postgres/9.6/bin/pg_repack file path=usr/postgres/9.6/lib/$(MACH64)/pg_repack.so file path=usr/postgres/9.6/share/extension/pg_repack--$(COMPONENT_VERSION).sql file path=usr/postgres/9.6/share/extension/pg_repack.control