- Notifications
You must be signed in to change notification settings - Fork38
Debian packaging#23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
5 changes: 5 additions & 0 deletionsdebian/changelog
This file contains hidden or 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 @@ | ||
pg-wait-sampling (1.1.1-1) unstable; urgency=medium | ||
* Release 1.1.1 | ||
-- Adrien Nayrat <adrien.nayrat@anayrat.info> Wed, 17 Jun 2020 12:26:59 +0000 |
1 change: 1 addition & 0 deletionsdebian/compat
This file contains hidden or 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 |
33 changes: 33 additions & 0 deletionsdebian/control
This file contains hidden or 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,33 @@ | ||
Source: pg-wait-sampling | ||
Section: database | ||
Priority: optional | ||
Maintainer: Adrien Nayrat <adrien.nayrat@anayrat.info> | ||
Standards-Version: 4.5.0 | ||
Build-Depends: debhelper (>=9~), postgresql-server-dev-all (>= 141~) | ||
Homepage: https://github.com/postgrespro/pg_wait-sampling | ||
Vcs-Browser: https://github.com/postgrespro/pg_wait-sampling | ||
Vcs-Git: https://github.com/postgrespro/pg_wait-sampling.git | ||
Package: postgresql-9.6-pg-wait-sampling | ||
Architecture: any | ||
Depends: ${misc:Depends}, ${shlibs:Depends}, postgresql-9.6, | ||
Description: pg_wait-sampling provides functions for detailed per backend | ||
and per query statistics about PostgreSQL wait events | ||
Package: postgresql-10-pg-wait-sampling | ||
Architecture: any | ||
Depends: ${misc:Depends}, ${shlibs:Depends}, postgresql-10, | ||
Description: pg_wait-sampling provides functions for detailed per backend | ||
and per query statistics about PostgreSQL wait events | ||
Package: postgresql-11-pg-wait-sampling | ||
Architecture: any | ||
Depends: ${misc:Depends}, ${shlibs:Depends}, postgresql-11, | ||
Description: pg_wait-sampling provides functions for detailed per backend | ||
and per query statistics about PostgreSQL wait events | ||
Package: postgresql-12-pg-wait-sampling | ||
Architecture: any | ||
Depends: ${misc:Depends}, ${shlibs:Depends}, postgresql-12, | ||
Description: pg_wait-sampling provides functions for detailed per backend | ||
and per query statistics about PostgreSQL wait events |
15 changes: 15 additions & 0 deletionsdebian/control.in
This file contains hidden or 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,15 @@ | ||
Source: pg-wait-sampling | ||
Section: database | ||
Priority: optional | ||
Maintainer: Adrien Nayrat <adrien.nayrat@anayrat.info> | ||
Standards-Version: 4.5.0 | ||
Build-Depends: debhelper (>=9~), postgresql-server-dev-all (>= 141~) | ||
Homepage: https://github.com/postgrespro/pg_wait-sampling | ||
Vcs-Browser: https://github.com/postgrespro/pg_wait-sampling | ||
Vcs-Git: https://github.com/postgrespro/pg_wait-sampling.git | ||
Package: postgresql-PGVERSION-pg-wait-sampling | ||
Architecture: any | ||
Depends: ${misc:Depends}, ${shlibs:Depends}, postgresql-PGVERSION, | ||
Description: pg_wait-sampling provides functions for detailed per backend | ||
and per query statistics about PostgreSQL wait events |
11 changes: 11 additions & 0 deletionsdebian/copyright
This file contains hidden or 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,11 @@ | ||
pg_wait_sampling is released under the PostgreSQL License, a liberal Open Source license, similar to the BSD or MIT licenses. | ||
Copyright (c) 2015-2017, Postgres Professional | ||
Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group | ||
Portions Copyright (c) 1994, The Regents of the University of California | ||
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 POSTGRES PROFESSIONAL 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 POSTGRES PROFESSIONAL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
POSTGRES PROFESSIONAL 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 POSTGRES PROFESSIONAL HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
1 change: 1 addition & 0 deletionsdebian/pgversions
This file contains hidden or 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.6+ |
27 changes: 27 additions & 0 deletionsdebian/rules
This file contains hidden or 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,27 @@ | ||
#!/usr/bin/make -f | ||
PKGVER = $(shell dpkg-parsechangelog | awk -F '[:-]' '/^Version:/ { print substr($$2, 2) }') | ||
EXCLUDE = --exclude-vcs --exclude=debian | ||
include /usr/share/postgresql-common/pgxs_debian_control.mk | ||
override_dh_auto_build: | ||
# do nothing | ||
override_dh_auto_test: | ||
# nothing to do here, upstream tests used, see debian/tests/* | ||
override_dh_auto_install: | ||
# build all supported versions | ||
+pg_buildext loop postgresql-%v-pg-wait-sampling | ||
override_dh_installdocs: | ||
dh_installdocs --all README.md | ||
override_dh_auto_clean: | ||
$(MAKE) clean USE_PGXS=1 PG_CONFIG=/usr/bin/pg_config | ||
orig: debian/control clean | ||
cd .. && tar czf pg-wait-sampling_$(PKGVER).orig.tar.gz $(EXCLUDE) pg_wait_sampling-$(PKGVER) | ||
%: | ||
dh $@ |
1 change: 1 addition & 0 deletionsdebian/source/format
This file contains hidden or 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) |
3 changes: 3 additions & 0 deletionsdebian/tests/control
This file contains hidden or 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 |
5 changes: 5 additions & 0 deletionsdebian/tests/installcheck
This file contains hidden or 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 @@ | ||
#!/bin/sh | ||
set -eu | ||
pg_buildext -o "shared_preload_libraries=pg_wait_sampling" installcheck |
3 changes: 3 additions & 0 deletionsdebian/watch
This file contains hidden or 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 @@ | ||
version=3 | ||
opts="uversionmangle=s/_/./g" \ | ||
https://github.com/postgrespro/pg_wait_sampling/releases .*/archive/v(.*).tar.gz |
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.