Skip to content

Commit

Permalink
Add debian folder
Browse files Browse the repository at this point in the history
  • Loading branch information
x4m committed Oct 23, 2020
1 parent 6222f26 commit cd34cb5
Show file tree
Hide file tree
Showing 9 changed files with 75 additions and 0 deletions.
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9
28 changes: 28 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
Source: pg_tm_aux
Section: database
Priority: optional
Maintainer: Andrey Borodin (Yandex.Cloud) <x4mmm@yandex-team.ru>
Build-Depends: debhelper (>= 9), postgresql-server-dev-all (>= 195~), git,
postgresql-server-dev-11, postgresql-server-dev-10, postgresql-server-dev-12, postgresql-server-dev-13
Standards-Version: 1.1-0
Homepage: https://github.yandex-team.ru/mdb/pg_tm_aux

Package: postgresql-10-pg_tm_aux
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, postgresql-10
Description: Extension for PostgreSQL for collecting statistics about messages in logfile

Package: postgresql-11-pg_tm_aux
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, postgresql-11
Description: Extension for PostgreSQL for collecting statistics about messages in logfile

Package: postgresql-12-pg_tm_aux
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, postgresql-12
Description: Extension for PostgreSQL for collecting statistics about messages in logfile

Package: postgresql-13-pg_tm_aux
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, postgresql-13
Description: Extension for PostgreSQL for collecting statistics about messages in logfile
13 changes: 13 additions & 0 deletions debian/control.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Source: logerrors
Section: database
Priority: optional
Maintainer: Sviatoslav Ermilin (Yandex.Cloud) <munakoiso@yandex-team.ru>
Build-Depends: debhelper (>= 9), postgresql-server-dev-all (>= 195~), git,
postgresql-server-dev-11, postgresql-server-dev-10, postgresql-server-dev-12, postgresql-server-dev-13
Standards-Version: 1.1-0
Homepage: https://github.com/munakoiso/logerrors

Package: postgresql-PGVERSION-logerrors
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, postgresql-PGVERSION
Description: Extension for PostgreSQL for collecting statistics about messages in logfile
4 changes: 4 additions & 0 deletions debian/pgversions
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
10
11
12
13
21 changes: 21 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/usr/bin/make -f

override_dh_auto_configure:
git clone https://github.com/munakoiso/logerrors.git
mv logerrors/* .

override_dh_auto_build:
+pg_buildext build build-%v

override_dh_auto_test:
# nothing to do here, see debian/tests/* instead

override_dh_auto_install:
+export PG_SUPPORTED_VERSIONS=installed && pg_buildext install build-%v postgresql-%v-logerrors

override_dh_auto_clean:
+pg_buildext clean build-%v
rm -rf logerrors

%:
dh $@
1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (native)
3 changes: 3 additions & 0 deletions debian/tests/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Depends: @, postgresql-server-dev-all
Tests: installcheck
Restrictions: allow-stderr
2 changes: 2 additions & 0 deletions debian/tests/installcheck
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
pg_buildext installcheck
2 changes: 2 additions & 0 deletions debian/watch
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
version=4
https://github.com/postgrespro/jsquery/releases .*/ver_(.*).tar.gz

0 comments on commit cd34cb5

Please sign in to comment.