Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #12804
| Path | csiph.com!tncsrv06.tnetconsulting.net!newsfeed.endofthelinebbs.com!news.corradoroberto.it!gothmog.csi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Mechtilde Stehmann <mechtilde@debian.org> |
| Newsgroups | linux.debian.maint.java |
| Subject | Re: Debian package examples for Java software |
| Date | Sat, 14 Sep 2024 22:00:01 +0200 |
| Message-ID | <JmH61-cgDK-3@gated-at.bofh.it> (permalink) |
| References | <JmxT3-cbl3-15@gated-at.bofh.it> <JmB0B-cd7M-9@gated-at.bofh.it> <JmDvr-ceGV-5@gated-at.bofh.it> <JmErw-cff8-7@gated-at.bofh.it> <JmGCZ-cgt1-5@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-java-request@lists.debian.org Sat Sep 14 19:50:09 2024 |
| Old-Return-Path | <mechtilde@debian.org> |
| X-Amavis-Spam-Status | No, score=-14.19 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, FVGT_m_MULTI_ODD=0.02, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_MED=-2.3, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -3.5 |
| MIME-Version | 1.0 |
| User-Agent | Mozilla Thunderbird |
| Content-Language | en-US |
| Autocrypt | addr=mechtilde@debian.org; keydata= xsFNBFIp3ugBEADFdrAqqkS1bhihzc5jCBejT34v4EGt8qUK3Xb8lxblkkzo9GAHYT2hkM1X HlI6q2RlAYwQ6VLR+OaGBAg8Ru5FKNSzBHuC3/OVxwny68t/9d/4Pj4187SY0viDB8lW+oZY 1SrmLkFDOc/qIO3nIjbh94aoM6f9z70v8EZJkXOiwlAHdSF/jvvEIF0eK2aeA5pB2W7kz5A6 cm9p6Ze0giSgW+UXDF+Ik7nQ1StZQfPL7+UHBZp3Ic9GAFR4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dI9uu8L58UcTjRvPUqL3RWyDsJ/zJ0HrgWXylXY ruhy9/kVmihmYC3xCAoXIBu8mO3+h8Z7dYYZjRU0IxDasVqhyiDqLWbsooPd7npgqYJQ0iJQ 0JuUfApzjvxNFdblClBwh3Gqmuu9KaF2bGByWacOBhp/JUYhR58Ofd1T5kVFAy8bopk2MjDk l+J1pr7UyORuiEgTzkze08C9885yEa1xtH+eOmfUp5cm5g6XmT+JXQFwoPZ//kjBzW2Nt8On QWtO7URnrh5jUqcHr2wPf9RO/9UhiTy8xmzCYkZ4jpI/XNEpcRlZ/cBZxjvC9QKIu26K3quy Ma4QR6KOk0po20LU7dtCvUYDhTW6pKA3D1qtSAnYGiIGY37CPoUC/lkpuZEAzJotz7ytthDZ Gg6wUAm1c+fAf6gg2jHxR3I4Ww0sh2LAfuQ3Pr3iNStVMZ7KQWtywT66xIDOMKPaOBegpWYr ry1iyxCUd2WH9VuFJ9neB39bYqZN579nhErolhEY9aPYtKN5iZ5orQP9cZ+u5PQ5LYMdngG3 qwLydBIVKqh7mlO/UTuss3s96XK7YfuT |
| Content-Type | multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------aN0CpVcOAN434kAQ0KGM7Ti3" |
| X-Mailing-List | <debian-java@lists.debian.org> archive/latest/23502 |
| List-ID | <debian-java.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-java/> |
| List-Archive | https://lists.debian.org/msgid-search/49c382e8-4b82-4ffb-aafe-b9177a377727@debian.org |
| Approved | robomod@news.nic.it |
| Lines | 96 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Sat, 14 Sep 2024 21:49:44 +0200 |
| X-Original-Message-ID | <49c382e8-4b82-4ffb-aafe-b9177a377727@debian.org> |
| X-Original-References | <CAHywH5B97Z0CuGLUdCVB0tR4-pTyyRQTUHs1C2gxws1FAwMgmg@mail.gmail.com> <ebe1483a-915d-4fe6-8725-356722c4dfb7@debian.org> <CAHywH5BF2OByp9SqawOXzx9s2dCOVSYxdX6=EAYZucJarh2y3A@mail.gmail.com> <8b94e20f-2d6d-4297-814b-9e4e18febb69@debian.org> <CAHywH5D4wA4u47jDH6qwMvnMhnF+c3Tb+_2G5b7NXnsEnoZ4tw@mail.gmail.com> |
| Xref | csiph.com linux.debian.maint.java:12804 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
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 examples. My motivation is using a > standard, widespread convention or otherwise popular tooling for > deploying software (which - at work - is not open source). So that new > developers don't need to learn "the process". When you see a "debian" > folder in a repository you probably already guess that the project > will build a .deb package. When you see a .deb package you can easily > guess how it will be installed. > > One of the softwares is a Java Web application (delivered to us as a > .jar and some accompanying files) that is deployed into a JBoss > application server preinstalled on the host. The other is actually not > even Java software, it's a bunch of shell scripts and two Python CLI > applications that are installed from an internal PyPI index. So, it's > all about copying files somewhere and performing installation > activities that are encapsulated in the .deb file. > >>> location where it has write access. The scenario is, I have users that >>> must install the software on a managed machine. The system >>> administrators manage the operating system as such, the users install >>> and run their software in user space. >> >> As far as I know NO WAY to do so. > > Let me mention that for my use case it's sufficient that we assume > there are no dependencies, or that if we have unresolved dependencies > (e.g. most notably a JRE) the installation process aborts brutally. > > Doing some research I found a few interesting discussions: > - https://askubuntu.com/questions/339/how-can-i-install-a-package-without-root-access > - https://askubuntu.com/questions/193695/installing-packages-into-local-directory > > The two suggested solutions are using `--force-not-root` or simply > unpacking the .deb archive file: > > dpkg -i --force-not-root --root=$HOME package.deb > ar p package.deb data.tar.xz | tar xJv --strip-components=2 -f - > > The latter will certainly not run pre- or post-install scripts, which > is one of the reasons I want to do the packaging, though. (Encapsulate > the installation logic in the installation package itself!) > > Now I would need a simple packaging setup to verify that those > commands actually work for my use case. > > Peter > -- Mechtilde Stehmann ## Debian Developer ## PGP encryption welcome ## F0E3 7F3D C87A 4998 2899 39E7 F287 7BBA 141A AD7F
Back to linux.debian.maint.java | Previous | Next — Previous in thread | Next in thread | Find similar
Debian package examples for Java software Peter Bittner <peter.bittner@gmx.net> - 2024-09-14 12:10 +0200
Re: Debian package examples for Java software Mechtilde Stehmann <mechtilde@debian.org> - 2024-09-14 15:30 +0200
Re: Debian package examples for Java software Peter Bittner <peter.bittner@gmx.net> - 2024-09-14 18:10 +0200
Re: Debian package examples for Java software Mechtilde Stehmann <mechtilde@debian.org> - 2024-09-14 19:10 +0200
Re: Debian package examples for Java software Peter Bittner <peter.bittner@gmx.net> - 2024-09-14 21:30 +0200
Re: Debian package examples for Java software Mechtilde Stehmann <mechtilde@debian.org> - 2024-09-14 22:00 +0200
Re: Debian package examples for Java software Geert Stappers <stappers@stappers.nl> - 2024-09-14 22:50 +0200
Re: Debian package examples for Java software "Michael K. Edwards" <m.k.edwards@gmail.com> - 2024-09-14 23:30 +0200
Re: Debian package examples for Java software "Michael K. Edwards" <m.k.edwards@gmail.com> - 2024-09-15 00:00 +0200
Re: Debian package examples for Java software Peter Bittner <peter.bittner@gmx.net> - 2024-09-15 17:10 +0200
Re: Debian package examples for Java software "Michael K. Edwards" <m.k.edwards@gmail.com> - 2024-09-15 18:10 +0200
Re: Debian package examples for Java software Emmanuel Bourg <ebourg@apache.org> - 2024-09-17 01:30 +0200
csiph-web