Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
9648965
Added debian packaging first version
vjrj Mar 10, 2020
1404605
Added maven build to rules
vjrj Mar 13, 2020
2953c53
Change email in changelog
vjrj Mar 13, 2020
9f44a46
Removed unnecesary config auto generated
vjrj Mar 13, 2020
fa5fcc5
Changed source to native
vjrj Dec 11, 2020
8db519f
Improving debian build for a jenkins job
vjrj Dec 11, 2020
18a3e98
Simplify current version variable
vjrj Dec 11, 2020
6f82383
Added some autogenerated debian info to .gitignore
vjrj Dec 11, 2020
68ddf06
Trying to fix cp of war without git revision
vjrj Dec 11, 2020
b6aeefd
Update to tomcat9, rebase to 1.4.2
vjrj Jul 14, 2021
1aa9a02
Remove path not needed in tomcat9
vjrj Jul 14, 2021
3bf0366
Indentation
vjrj Jul 14, 2021
32544a7
Add systemd override info
vjrj Jul 14, 2021
0d23786
Fix error trying to find source
vjrj Aug 30, 2021
342fa8a
Fix 'prod' profile changed to 'release' in 2.5.0
vjrj Aug 30, 2021
7f39de8
Ask for datadir in debian package
vjrj Apr 17, 2023
d21981c
More work with ipt datadir
vjrj Apr 18, 2023
69fd474
Fix tomcat user as is not present in tomcat9 debconf anymore
vjrj Apr 18, 2023
9701cae
Added openjdk8 build dep
vjrj Apr 18, 2023
eeaa218
Don't restart tomcat here as we do in postinstall too
vjrj Apr 20, 2023
65468cd
Download and package official war instead of build it
vjrj Apr 20, 2023
2eb92b5
Adjust postinstall timings
vjrj Apr 20, 2023
41b3e2d
Tomcat 10 support (wip)
vjrj Feb 25, 2025
36a1914
Fix Dockerfile.tomcat9: use 'tomcat' user (not 'tomcat9') and run as …
vjrj Mar 26, 2026
ceea19f
Updated changelog
vjrj Mar 26, 2026
a83c41b
Do curl command more resistant
vjrj Apr 10, 2026
761337c
Dockerfile and compose samples
vjrj Apr 10, 2026
78d0e3d
Remove the docker dir sample
vjrj Apr 10, 2026
7bc5336
Update packaging for IPT 3.3.0: require Java 17 and Tomcat 10
vjrj Apr 11, 2026
43e3e8b
Remove non-standard IMPORTANT note from control description
vjrj Apr 11, 2026
fbe531c
Require tomcat10 strictly; clean up changelog style
vjrj Apr 13, 2026
c750332
postinst: create Catalina/localhost dir if not exists
vjrj Apr 13, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,12 @@ package/rpm/RPMS/noarch/*
/res1
/resource.xml
/rtf*.rtf
# Debian
debian/*.debhelper
debian/*.debhelper.log
debian/*.buildinfo
debian/*.substvars
debian/files
debian/ipt
debian/maven-repo-local
debian/debhelper-build-stamp
45 changes: 45 additions & 0 deletions debian/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
## Intro

## Prerequisites

```
sudo apt install debhelper
sudo apt install devscripts
```

## Build

You can generate a non-signed debian package via:

```bash
debuild -us -uc -b
```
in the parent of this directory. This will generate the deb file in the parent directory of this repository.

You can increase changelog version and comments with `dch` utility, like with `dch -i` that increase minor version.

Add to your .gitignore:
```
*/*.debhelper
*/*.debhelper.log
*.buildinfo
*.substvars
debian/files
debian/ipt
```
## Looking for inspiration?

You can see [tomcat8-examples package source](https://salsa.debian.org/java-team/tomcat8/tree/master/debian) for inspiration of tomcat8 packages and also about how to create multiple debian packages from a same source repository.

Also `dbconfig-common` package have some samples in `/usr/share/doc/dbconfig-common/examples/` for mysql and postgresql debian configuration tasks for packages.

## Testing

You can test the generated package without install it with `piuparts` like:

```bash
sudo piuparts -D ubuntu -d xenial -d bionic ../ipt_2.4.0-1_all.deb
```
in this way you can also test it in different releases.

Read `/usr/share/doc/piuparts/README.*` for more usage samples.
Loading