-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[deb] build packages for Ubuntu/Debian (#3)
* [deb] build packages for Ubuntu/Debian * [deb] add full name and fix repo path * allow docker build without pg dependencies Co-authored-by: Yuri Astrakhan <[email protected]>
- Loading branch information
Showing
16 changed files
with
140 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,6 @@ tmp_check/ | |
tmp_check_iso/ | ||
output_iso/ | ||
log/ | ||
target/ | ||
build* | ||
*.bc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM debian:sid | ||
|
||
RUN apt-get update -qq && \ | ||
apt-get install -y \ | ||
build-essential \ | ||
fakeroot \ | ||
pkg-config \ | ||
devscripts \ | ||
zlib1g-dev \ | ||
postgresql-server-dev-all | ||
|
||
WORKDIR /build/pgsql-gzip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pgsql-gzip (1.0.0) unstable; urgency=medium | ||
|
||
* Initial release of the DEB package | ||
|
||
-- Oleksandr Kylymnychenko <[email protected]> Fri, 20 Mar 2020 13:18:29 +0000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Source: pgsql-gzip | ||
Section: database | ||
Priority: optional | ||
Maintainer: Paul Ramsey <[email protected]> | ||
Uploaders: Oleksandr Kylymnychenko <[email protected]>, | ||
Build-Depends: debhelper (>= 9), postgresql-server-dev-all (>= 153~) | ||
Standards-Version: 4.5.0 | ||
Vcs-Browser: https://github.com/pramsey/pgsql-gzip | ||
Vcs-Git: https://github.com/pramsey/pgsql-gzip.git | ||
|
||
Package: postgresql-12-gzip | ||
Architecture: any | ||
Depends: postgresql-12, ${misc:Depends}, ${shlibs:Depends} | ||
Description: PostgreSQL extension code | ||
Sometimes you just need to compress your bytea object before you return it to the client. | ||
Sometimes you receive a compressed bytea from the client, and you have to uncompress it before you can work with it. | ||
This extension is for that. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Source: pgsql-gzip | ||
Section: database | ||
Priority: optional | ||
Maintainer: Paul Ramsey <[email protected]> | ||
Uploaders: Oleksandr Kylymnychenko <[email protected]>, | ||
Build-Depends: debhelper (>= 9), postgresql-server-dev-all (>= 153~) | ||
Standards-Version: 4.5.0 | ||
Vcs-Browser: https://github.com/pramsey/pgsql-gzip | ||
Vcs-Git: https://github.com/pramsey/pgsql-gzip.git | ||
|
||
Package: postgresql-PGVERSION-gzip | ||
Architecture: any | ||
Depends: postgresql-12, ${misc:Depends}, ${shlibs:Depends} | ||
Description: PostgreSQL extension code | ||
Sometimes you just need to compress your bytea object before you return it to the client. | ||
Sometimes you receive a compressed bytea from the client, and you have to uncompress it before you can work with it. | ||
This extension is for that. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
Upstream-Name: pgsql-gzip | ||
#Source: @URL@ | ||
|
||
Files: * | ||
Copyright: Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group | ||
Portions Copyright (c) 1994, The Regents of the University of California | ||
License: PostgreSQL | ||
Permission to use, copy, modify, and distribute this software and its | ||
documentation for any purpose, without fee, and without a written agreement | ||
is hereby granted, provided that the above copyright notice and this | ||
paragraph and the following two paragraphs appear in all copies. | ||
. | ||
IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR | ||
DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING | ||
LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS | ||
DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE | ||
POSSIBILITY OF SUCH DAMAGE. | ||
. | ||
THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, | ||
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY | ||
AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS | ||
ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO | ||
PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include: https://salsa.debian.org/postgresql/postgresql-common/raw/master/gitlab/gitlab-ci.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/make -f | ||
|
||
# Makefile only uses -Wno-maybe-uninitialized (needed on Ubuntu ppc64el) if CC=gcc | ||
export CC = gcc | ||
|
||
include /usr/share/postgresql-common/pgxs_debian_control.mk | ||
|
||
override_dh_auto_build: | ||
|
||
override_dh_auto_test: | ||
|
||
override_dh_auto_install: | ||
+pg_buildext loop postgresql-%v-gzip | ||
|
||
override_dh_installdocs: | ||
dh_installdocs --all README.* | ||
|
||
%: | ||
dh $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.0 (quilt) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Depends: @, postgresql-server-dev-all | ||
Tests: installcheck | ||
Restrictions: allow-stderr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/sh | ||
pg_buildext installcheck |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#version=4 | ||
#https://github.com/pramsey/pgsql-gzip/releases .*/v(.*).tar.gz |