debian/0000755000000000000000000000000012236117246007172 5ustar debian/source/0000755000000000000000000000000012236114354010467 5ustar debian/source/format0000644000000000000000000000001412236114354011675 0ustar 3.0 (quilt) debian/control.in0000644000000000000000000000162312236114354011201 0ustar Source: postgresql-plsh Section: database Priority: optional Maintainer: Christoph Berg Build-Depends: debhelper (>= 7), libpq-dev, postgresql-server-dev-all (>= 148~) Standards-Version: 3.9.4 Homepage: http://plsh.projects.postgresql.org/ Vcs-Git: git://anonscm.debian.org/pkg-postgresql/postgresql-plsh.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-postgresql/postgresql-plsh.git XS-Testsuite: autopkgtest Package: postgresql-PGVERSION-plsh Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, postgresql-PGVERSION Description: PL/sh procedural language for PostgreSQL PGVERSION PL/sh enables an SQL developer to write procedural language functions for PostgreSQL PGVERSION in a shell of his choice. You need this package if you have any PostgreSQL PGVERSION functions that use the language plsh. . PostgreSQL is an object-relational SQL database management system. debian/svn-deblayout0000644000000000000000000000002712236114354011705 0ustar origDir=../../upstream debian/pgversions0000644000000000000000000000011512236114354011306 0ustar # restrict to 9.1+ until the other versions get the vpath fixes as well 9.1+ debian/control0000644000000000000000000000156612236114354010602 0ustar Source: postgresql-plsh Section: database Priority: optional Maintainer: Christoph Berg Build-Depends: debhelper (>= 7), libpq-dev, postgresql-server-dev-all (>= 148~) Standards-Version: 3.9.4 Homepage: http://plsh.projects.postgresql.org/ Vcs-Git: git://anonscm.debian.org/pkg-postgresql/postgresql-plsh.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-postgresql/postgresql-plsh.git XS-Testsuite: autopkgtest Package: postgresql-9.3-plsh Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, postgresql-9.3 Description: PL/sh procedural language for PostgreSQL 9.3 PL/sh enables an SQL developer to write procedural language functions for PostgreSQL 9.3 in a shell of his choice. You need this package if you have any PostgreSQL 9.3 functions that use the language plsh. . PostgreSQL is an object-relational SQL database management system. debian/tests/0000755000000000000000000000000012236117223010327 5ustar debian/tests/control0000644000000000000000000000014012236117223011725 0ustar Depends: @, postgresql-server-dev-all Tests: installcheck Restrictions: needs-root allow-stderr debian/tests/installcheck0000755000000000000000000000157012236117043012724 0ustar #!/bin/sh set -e # we want to test the installed extension, so don't source from the build tree sed -i.orig 's/\\i plsh.sql/CREATE EXTENSION plsh;/' test/sql/init.sql mv test/expected/init_1.out test/expected/init_1.out.orig echo "CREATE EXTENSION plsh;" > test/expected/init_1.out trap "mv test/sql/init.sql.orig test/sql/init.sql; mv test/expected/init_1.out.orig test/expected/init_1.out" EXIT HUP INT QUIT PIPE TERM for version in $(pg_buildext supported-versions); do mkdir -p build-$version/results test -e build-$version/test || ln -s ../test build-$version if ! pg_virtualenv -v $version \ make -C build-$version -f $PWD/Makefile installcheck \ PG_CONFIG=/usr/lib/postgresql/$version/bin/pg_config USE_PGXS=1; then if [ -r build-$version/regression.diffs ]; then echo "**** regression.diffs ****" cat build-$version/regression.diffs fi exit 1 fi done debian/copyright0000644000000000000000000000244012236114354011122 0ustar This package was debianized by Filipe Lautert Thu, 22 Feb 2007 14:16:41 -0200 It was downloaded from http://plsh.projects.postgresql.org/ Upstream Author: Peter Eisentraut PL/sh Procedural Language Handler for PostgreSQL Copyright (C) 2001, 2002, 2005 by Peter Eisentraut 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 AUTHOR(S) OR ANY CONTRIBUTOR(S) 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 AUTHOR(S) OR CONTRIBUTOR(S) HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. THE AUTHOR(S) AND CONTRIBUTOR(S) SPECIFICALLY DISCLAIM 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 AUTHOR(S) AND CONTRIBUTOR(S) HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. debian/changelog0000644000000000000000000000542212236117246011047 0ustar postgresql-plsh (1.20130823-1git1) trusty; urgency=low Upload current Debian packaging git head to fix autopkgtest. * debian/tests/installcheck: Temporarily modify test script to use CREATE EXTENSION instead of sourcing the build tree's plsh.psql. We want to test the installed package and avoid building. * debian/tests/installcheck: Stop unsetting $TMPDIR, autopkgtest got fixed for that. -- Martin Pitt Tue, 05 Nov 2013 08:30:34 +0100 postgresql-plsh (1.20130823-1) unstable; urgency=low * New upstream release on github with CREATE EXTENSION support. * Use "9.1+" in debian/pgversions and B-D on pg-server-dev-all 148. (8.4 and 9.0 are not patched yet for improved VPATH build support.) * Add autopkgtest support. * Repository moved to git. -- Christoph Berg Tue, 17 Sep 2013 12:50:30 +0200 postgresql-plsh (1.3-5) unstable; urgency=low * Rebuild for PostgreSQL 9.1. * Use debian/control.in. -- Christoph Berg Wed, 24 Aug 2011 16:50:24 +0200 postgresql-plsh (1.3-4) unstable; urgency=low * New maintainer. * Convert to 3.0 (quilt). * Added support for PostgreSQL 9.0. * Converted build to use pg_buildext. * Section: database. -- Christoph Berg Thu, 21 Apr 2011 10:38:28 +0200 postgresql-plsh (1.3-3) unstable; urgency=low * Problem building from source when using bash instead of dash - solved adding patch number 004 (a simple ./ in front of a source...) Closes: #561168 . -- Filipe Lautert Tue, 15 Dec 2009 16:08:30 -0200 postgresql-plsh (1.3-2) unstable; urgency=low * Added support for PostgreSQL 8.4 (closes: #559598). * Dropped support for PostgreSQL 8.3 as it will not be in Squeeze. -- Filipe Lautert Sun, 13 Dec 2009 21:37:43 -0200 postgresql-plsh (1.3-1) unstable; urgency=low * New upstream version. * Now package generates inclusion path for script createlang_pgplsh.sql instead of upstream Makefile (closes: #445212). * Added header fields: Vcs-Svn, Vcs-Browser and Homepage. * Added support for PostgreSQL 8.3. * Dropped support for PostgreSQL 8.2 as it will not be in Lenny. -- Filipe Lautert Wed, 26 Mar 2008 16:25:56 -0300 postgresql-plsh (1.2-2) unstable; urgency=low * Added support for PostgreSQL 8.2. * Changed PGCONFIG variable in debian/rules to PG_CONFIG, so now it works (closes: #420288). * Dropped support for PostgreSQL 8.1 and 7.4 (closes: #422013). * Corrected path for plsh create script in Debian.README. -- Filipe Lautert Wed, 2 May 2007 23:27:35 -0300 postgresql-plsh (1.2-1) unstable; urgency=low * Initial release (Closes: #412532). -- Filipe Lautert Thu, 22 Feb 2007 14:16:41 -0200 debian/rules0000755000000000000000000000154312236114354010252 0ustar #!/usr/bin/make -f SRCDIR=$(CURDIR) include /usr/share/postgresql-common/pgxs_debian_control.mk .PHONY: debian/control build build-arch: build-stamp build-stamp: dh_testdir +pg_buildext build $(CURDIR) build-%v touch $@ build-indep: clean: debian/control dh_testdir dh_testroot rm -rf build-stamp build-?.? rm -rf debian/postgresql-*-plsh/ debian/*.substvars dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs +pg_buildext install $(CURDIR) build-%v postgresql-%v-plsh binary binary-arch: install dh_testdir dh_testroot dh_installchangelogs -a dh_installdocs -a --all README.md dh_install -a dh_link -a dh_strip -a dh_compress -a dh_fixperms -a dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a binary-indep: .PHONY: build build-arch build-indep clean binary binary-arch binary-indep debian/watch0000644000000000000000000000022512236114354010217 0ustar version=3 #http://pgfoundry.org/frs/?group_id=1000115 .*/pgplsh-(.*)\.(.*)\.tar\.gz https://github.com/petere/plsh/releases .*/archive/(.*)\.tar\.gz debian/compat0000644000000000000000000000000212236114354010365 0ustar 7