File: 02-scram-optional.patch

package info (click to toggle)
libpgjava 42.2.5-2%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 8,136 kB
  • sloc: java: 57,821; xml: 1,135; sh: 307; perl: 99; makefile: 7
file content (17 lines) | stat: -rw-r--r-- 497 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Setting the scope in debian/maven.rules does not propagate the setting to
/usr/share/maven-repo/org/postgresql/postgresql/debian/postgresql-debian.pom,
so patch it manually here
Bug: #900615

--- a/pgjdbc/pom.xml
+++ b/pgjdbc/pom.xml
@@ -54,7 +54,8 @@
     <dependency>
       <groupId>com.ongres.scram</groupId>
       <artifactId>client</artifactId>
-      <version>1.0.0-beta.2</version>
+      <version>debian</version>
+      <optional>true</optional>
     </dependency>
   </dependencies>