File: 02-scram-optional.patch

package info (click to toggle)
libpgjava 42.5.5-0%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,368 kB
  • sloc: java: 70,247; xml: 170; makefile: 63; sh: 16
file content (17 lines) | stat: -rw-r--r-- 558 bytes parent folder | download | duplicates (2)
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/pom.xml
+++ b/pom.xml
@@ -43,7 +43,8 @@
         <dependency>
             <groupId>com.ongres.scram</groupId>
             <artifactId>client</artifactId>
-            <version>2.1</version>
+            <version>debian</version>
+            <optional>true</optional>
         </dependency>
         <dependency>
             <groupId>se.jiderhamn</groupId>