[Git][java-team/c3p0][master] move away from deprecated CDBS

Alexandre Detiste (@detiste-guest) gitlab at salsa.debian.org
Thu Sep 4 18:19:39 BST 2025



Alexandre Detiste pushed to branch master at Debian Java Maintainers / c3p0


Commits:
59ce9810 by Alexandre Detiste at 2025-09-04T19:19:08+02:00
move away from deprecated CDBS

- - - - -


4 changed files:

- debian/changelog
- − debian/compat
- debian/control
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+c3p0 (0.9.1.2-11) unstable; urgency=medium
+
+  * Team upload.
+  * Drop usage of CDBS (Closes: #1099963, #1021221)
+
+ -- Alexandre Detiste <tchet at debian.org>  Thu, 04 Sep 2025 14:20:25 +0200
+
 c3p0 (0.9.1.2-10.1) unstable; urgency=medium
 
   * Non-maintainer upload.


=====================================
debian/compat deleted
=====================================
@@ -1 +0,0 @@
-10


=====================================
debian/control
=====================================
@@ -6,16 +6,14 @@ Uploaders:
  Varun Hiremath <varun at debian.org>,
  Emmanuel Bourg <ebourg at apache.org>,
 Build-Depends:
- cdbs,
- debhelper (>= 10),
- default-jdk,
- maven-repo-helper,
-Build-Depends-Indep:
+ debhelper-compat (= 13),
  ant,
  ant-optional,
+ default-jdk,
  junit,
  libhsqldb-java,
  liblog4j1.2-java,
+ maven-repo-helper,
 Standards-Version: 4.7.2
 Vcs-Git: https://salsa.debian.org/java-team/c3p0.git
 Vcs-Browser: https://salsa.debian.org/java-team/c3p0


=====================================
debian/rules
=====================================
@@ -1,22 +1,18 @@
 #!/usr/bin/make -f
-# debian/rules file for c3p0 (uses cdbs)
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/ant.mk
+%:
+	dh $@
 
-JAVA_HOME := /usr/lib/jvm/default-java
+execute_before_dh_auto_clean:
+	mkdir -p src/empty/
+	cd relproj ; ant clean
 
-DEB_JARS                   := log4j1.2 junit ant-junit hsql
-DEB_ANT_BUILD_TARGET       := jar javadocs junit-tests
-DEB_INSTALL_CHANGELOGS_ALL := src/dist-static/CHANGELOG
-
-clean::
-	mh_clean
-	( cd relproj ; ant clean )
-
-install/libc3p0-java::
+execute_after_dh_install:
 	mh_installpom -plibc3p0-java debian/pom.xml
 	mh_installjar -plibc3p0-java debian/pom.xml -l build/c3p0*.jar
 
-get-orig-source:
-	-uscan --upstream-version 0 --rename
+	# this is clumsy
+	rm -rvf debian/libc3p0-java/build
+
+override_dh_installchangelogs:
+	dh_installchangelogs src/dist-static/CHANGELOG



View it on GitLab: https://salsa.debian.org/java-team/c3p0/-/commit/59ce9810f4a43202fc479efb9bf6096eec98a36e

-- 
View it on GitLab: https://salsa.debian.org/java-team/c3p0/-/commit/59ce9810f4a43202fc479efb9bf6096eec98a36e
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20250904/4354892d/attachment.htm>


More information about the pkg-java-commits mailing list