Re: Debian package examples for Java software

2024-09-16 Thread Emmanuel Bourg
Hi Peter, On 14/09/2024 12:01, Peter Bittner wrote: To extend on that, I try to find out how - if at all - (Java) software can be packaged as a Debian package, so that it can be installed root-less, i.e. with an unprivileged user. Where can I find information about that? Did you consider using

Re: Debian package examples for Java software

2024-09-15 Thread Michael K. Edwards
If you're not building from source, and you don't need to enforce runtime dependencies because they're outside the packaging system anyway, then you don't need the debian-java apparatus. Just wrap a tarball around your jar file, create a "simple" architecture-independent project with dh_make (or y

Re: Debian package examples for Java software

2024-09-15 Thread Peter Bittner
Dear all, Please, don't get me wrong. I'm a long-time Debian user and Open Source project maintainer. In my own projects I continuously struggle with the fact that an improvement in one project needs to be taken over to all the other projects. If you manage several (free software) projects yourse

Re: Debian package examples for Java software

2024-09-14 Thread Michael K. Edwards
I will add that deployment of user jarfiles into a third-party-packaged host-installed JBoss server is not really contemplated in Debian packaging. Not that you can't do it with enough scriptage; but it's not state that the packaging system owns, and dpkg doesn't play that well with external state

Re: Debian package examples for Java software

2024-09-14 Thread Michael K. Edwards
Peter — I'm not a debian java maintainer (or DD at all), I'm just someone who has used Debian and derivatives for 25 years. So take this with a grain of salt. The reason you're getting resistance to your request — apart from social stuff, on which I won't comment — is that the technical obstacle

Re: Debian package examples for Java software

2024-09-14 Thread Geert Stappers
On Sat, Sep 14, 2024 at 09:49:44PM +0200, Mechtilde Stehmann wrote: > Am 14.09.24 um 21:25 schrieb Peter Bittner: > > > If you tell us what you want to package, we can tell you a good example > > > out of more than 50.000 packages > > > > I'm really looking for generic examples. My motivation is u

Re: Debian package examples for Java software

2024-09-14 Thread Mechtilde Stehmann
Hello Peter, Then I think https://www.debian.org/devel/join/newmaint.en.html is a good starting point. Regards Am 14.09.24 um 21:25 schrieb Peter Bittner: If you tell us what you want to package, we can tell you a good example out of more than 50.000 packages I'm really looking for generic

Re: Debian package examples for Java software

2024-09-14 Thread Peter Bittner
> If you tell us what you want to package, we can tell you a good example > out of more than 50.000 packages I'm really looking for generic examples. My motivation is using a standard, widespread convention or otherwise popular tooling for deploying software (which - at work - is not open source).

Re: Debian package examples for Java software

2024-09-14 Thread Mechtilde Stehmann
Hello Peter, Am 14.09.24 um 18:07 schrieb Peter Bittner: Thank you for responding, Mechtilde! Please tell us, what you want to package. Then we can look for a similar one. I packaged software 20 years ago as a Debian package at my former workplace. IIRC, it was just a bunch of shell and Pyth

Re: Debian package examples for Java software

2024-09-14 Thread Peter Bittner
Thank you for responding, Mechtilde! > Please tell us, what you want to package. Then we can look for a similar one. I packaged software 20 years ago as a Debian package at my former workplace. IIRC, it was just a bunch of shell and Python scripts, maybe a few binaries. Back then I had to scale r

Re: Debian package examples for Java software

2024-09-14 Thread Mechtilde Stehmann
Hello Peter, Am 14.09.24 um 12:01 schrieb Peter Bittner: I'm looking for good examples of how Java software is packaged on the Debian family of operating systems. Ideally, very simple examples with just a JAR file and a few configuration files. Where can I find such projects, e.g. on Salsa? Th

Debian package examples for Java software

2024-09-14 Thread Peter Bittner
I'm looking for good examples of how Java software is packaged on the Debian family of operating systems. Ideally, very simple examples with just a JAR file and a few configuration files. Where can I find such projects, e.g. on Salsa? To extend on that, I try to find out how - if at all - (Java) s