Skip to content

Commit

Permalink
Closes: #639479 and assorted lintian warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitri committed Sep 5, 2011
1 parent ff36dc3 commit 5470407
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 19 deletions.
3 changes: 2 additions & 1 deletion debian/changelog
@@ -1,6 +1,7 @@
prefix (1.1.1-1) unstable; urgency=low

* Test against 9.0 (git HEAD)
* Test against 9.0 and 9.1
* Package now supports 8.3 8.4 9.0 and 9.1 out of the box (Closes: #639479)
* Fix README to ORDER BY length DESC
* Fix a bug in intersect code, so that 123 & 123[4-5] is 123[4-5]

Expand Down
37 changes: 31 additions & 6 deletions debian/control
Expand Up @@ -3,16 +3,41 @@ Section: database
Priority: extra
Maintainer: Dimitri Fontaine <dim@tapoueh.org>
Build-Depends: debhelper (>= 7), postgresql-server-dev-all
Standards-Version: 3.8.3
Standards-Version: 3.9.2

Package: postgresql-8.4-prefix
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}, postgresql-8.4
Description: Prefix Range module for PostgreSQL
This PostgreSQL module provides the prefix_range datatype, allowing to
index searches such as finding the longest prefix matching a telephone
number, having prefixes in a table and telephone number as a parameter:
.
select * from prefixes where prefix @> '0100091234';
.
The prefix column has to be of type prefix_range, and any text field
can get indexed by the provided GiST opclass.

Package: postgresql-9.0-prefix
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}, postgresql-9.0
Description: Prefix Range module for PostgreSQL
This PostgreSQL module provides the prefix_range datatype, allowing to
index searches such as finding the longest prefix matching a telephone
number, having prefixes in a table and telephone number as a parameter:
.
select * from prefixes where prefix @> '0100091234';
.
The prefix column has to be of type prefix_range, and any text field
can get indexed by the provided GiST opclass.

Package: postgresql-9.1-prefix
Architecture: any
Depends: ${shlibs:Depends}, postgresql-9.1
Depends: ${misc:Depends}, ${shlibs:Depends}, postgresql-9.1
Description: Prefix Range module for PostgreSQL
This PostgreSQL module provides the prefix_range datatype, which
allows to index searches such as finding the longest prefix matching
a telephone number, having prefixes in a table and telephone number
as a parameter:
This PostgreSQL module provides the prefix_range datatype, allowing to
index searches such as finding the longest prefix matching a telephone
number, having prefixes in a table and telephone number as a parameter:
.
select * from prefixes where prefix @> '0100091234';
.
Expand Down
11 changes: 5 additions & 6 deletions debian/control.in
Expand Up @@ -3,16 +3,15 @@ Section: database
Priority: extra
Maintainer: Dimitri Fontaine <dim@tapoueh.org>
Build-Depends: debhelper (>= 7), postgresql-server-dev-all
Standards-Version: 3.8.3
Standards-Version: 3.9.2

Package: postgresql-PGVERSION-prefix
Architecture: any
Depends: ${shlibs:Depends}, postgresql-PGVERSION
Depends: ${misc:Depends}, ${shlibs:Depends}, postgresql-PGVERSION
Description: Prefix Range module for PostgreSQL
This PostgreSQL module provides the prefix_range datatype, which
allows to index searches such as finding the longest prefix matching
a telephone number, having prefixes in a table and telephone number
as a parameter:
This PostgreSQL module provides the prefix_range datatype, allowing to
index searches such as finding the longest prefix matching a telephone
number, having prefixes in a table and telephone number as a parameter:
.
select * from prefixes where prefix @> '0100091234';
.
Expand Down
24 changes: 18 additions & 6 deletions debian/copyright
Expand Up @@ -5,10 +5,22 @@ It was downloaded from http://pgfoundry.org/projects/prefix/

Copyright Holders:

Copyright (c) 2008 - Dimitri Fontaine <dim@tapoueh.org>
Copyright (c) 2008-2011 - Dimitri Fontaine <dim@tapoueh.org>

License:

This code is available under the terms of the BSD license. On Debian
GNU/Linux systems, the complete text of the BSD license can be found in
/usr/share/common-licenses/BSD.
License: BSD
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.

0 comments on commit 5470407

Please sign in to comment.