Bug#752018: Wildfly package
Hello Sorry again for making this lag so much... (shame on me) As told offline (see below for completeness), I can upload what I did wherever needed. Just give me a hint. Otherwise, I upload this somewhere on github (without original binaries and resulting .deb i presume). For our purpose, as I must update the package to wildfly 8.2, I will check next week to package it according to recommendations made by Konstantin and Niels. Regards -- Jumbot S.P.R.L. i...@jumbot.be -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#752018: Wildfly package
On Tue, 12 May 2015 16:51:12 +0200 Konstantin Manna mailto:konstan...@manna.uno>> wrote: > Hi Julian, > > would you mind putting the stuff you got so far (scripts/files on how > you build the package) on github, so we can push this project a little > forward and maybe let someone from debian-java take a look at it? > > Cheers, > Konstantin > +1 Interested as well. Thanks for all the work done on this so far.
Bug#752018: Wildfly package
Hi Julian, would you mind putting the stuff you got so far (scripts/files on how you build the package) on github, so we can push this project a little forward and maybe let someone from debian-java take a look at it? Cheers, Konstantin signature.asc Description: OpenPGP digital signature
Bug#752018: Wildfly package
On Fri, 03 Apr 2015 10:41:09 +0200 Niels Thykier wrote: > On 2015-04-03 10:06, Konstantin Manna wrote: > > Hi Julian, > > > > Hi, > > Just a drive-by remark. For extended help, please consider reaching out > to debian-j...@lists.debian.org if you haven't already done so. :) Hi Niels Thanks for your imput, i will consider this when working on it. > > > thanks for the update. > > Lintian does not yet like your package :-) > > > > lintian --pedantic wildfly_8.1.0.final+lam.r01_all.deb > > If you want to fully "unleash" lintian, you can use "-EvIL +pedantic" > and then remove the "v" (verbose) now remember the arguments. ;) > > (For reference, --pedantic does not enable the I tags and you might want > to ignore the X as they are eXperimental). > > > [...] > > A lot of these suggests that the package has been built "manually" via > dpkg-deb from a recompiled upstream version instead of built from > source. It is entirely possible that I am wrong here - I have only > looked at this mail and not at the package. > > Generally, you will want a source package that compiles all the java > files into class files, packs them into .jar files and installs those > into package directories. Usually with debhelper or cdbs taking care of > the heavy lifting the packaging side. > If upstream uses maven, you might want to use debhelper + > maven-debian-helper (or maybe cdbs + maven-debian-helper). I have not > tried that combo myself, so please contact debian-java for support on that. > Glad to contribute. We will check internally how far we can work on it and recompile the source. Our goald was to have a quickly installable package for our servers. Though, as this would be a good experience for us, we will keep on working on it. -- Jumbot S.P.R.L. i...@jumbot.be -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#752018: Wildfly package
On 2015-04-03 10:06, Konstantin Manna wrote: > Hi Julian, > Hi, Just a drive-by remark. For extended help, please consider reaching out to debian-j...@lists.debian.org if you haven't already done so. :) > thanks for the update. > Lintian does not yet like your package :-) > > lintian --pedantic wildfly_8.1.0.final+lam.r01_all.deb If you want to fully "unleash" lintian, you can use "-EvIL +pedantic" and then remove the "v" (verbose) now remember the arguments. ;) (For reference, --pedantic does not enable the I tags and you might want to ignore the X as they are eXperimental). > [...] A lot of these suggests that the package has been built "manually" via dpkg-deb from a recompiled upstream version instead of built from source. It is entirely possible that I am wrong here - I have only looked at this mail and not at the package. Generally, you will want a source package that compiles all the java files into class files, packs them into .jar files and installs those into package directories. Usually with debhelper or cdbs taking care of the heavy lifting the packaging side. If upstream uses maven, you might want to use debhelper + maven-debian-helper (or maybe cdbs + maven-debian-helper). I have not tried that combo myself, so please contact debian-java for support on that. > W: wildfly: non-standard-file-perm > usr/share/wildfly/domain/configuration/application-roles.properties 0600 > != 0644 > W: wildfly: non-standard-file-perm > usr/share/wildfly/domain/configuration/application-users.properties 0600 > != 0644 > W: wildfly: non-standard-file-perm > usr/share/wildfly/domain/configuration/mgmt-groups.properties 0600 != 0644 > W: wildfly: non-standard-file-perm > usr/share/wildfly/domain/configuration/mgmt-users.properties 0600 != 0644 > W: wildfly: non-standard-dir-perm usr/share/wildfly/domain/tmp/auth/ > 0700 != 0755 > W: wildfly: non-standard-file-perm > usr/share/wildfly/standalone/configuration/application-roles.properties > 0600 != 0644 > W: wildfly: non-standard-file-perm > usr/share/wildfly/standalone/configuration/application-users.properties > 0600 != 0644 > W: wildfly: non-standard-file-perm > usr/share/wildfly/standalone/configuration/mgmt-groups.properties 0600 > != 0644 > W: wildfly: non-standard-file-perm > usr/share/wildfly/standalone/configuration/mgmt-users.properties 0600 != > 0644 > W: wildfly: non-standard-dir-perm usr/share/wildfly/standalone/tmp/auth/ > 0700 != 0755 These permissions are probably correct! If they contain passwords, authentication tokens, or "secret" information (encryption keys) then they should certainly *not* be world readable. Overriding the tag would be correct here. *However*, the location of these files are almost certainly wrong. The ".properties" file smells like something an admin might change and therefore should be in /etc/ (e.g. /etc/wildfly/...). Alternatively, if they are templates files they should be world-readable (there is no point in having them be non-readable). The ".../tmp/" part might want to be in /run/wildfly/ or something like that instead. That said, the application must be able to create it if it is missing since /run is generally a tmpfs. > W: wildfly: script-in-etc-init.d-not-registered-via-update-rc.d > etc/init.d/wildfly > E: wildfly: init.d-script-does-not-implement-required-option > etc/init.d/wildfly force-reload Upstream stuff > W: wildfly: codeless-jar > usr/share/wildfly/modules/system/layers/base/org/jboss/as/console/main/release-stream-2.2.6.Final-resources.jar > W: wildfly: codeless-jar > usr/share/wildfly/modules/system/layers/base/org/jboss/as/domain-http-error-context/main/wildfly-domain-http-error-context-8.1.0.Final.jar > W: wildfly: codeless-jar > usr/share/wildfly/modules/system/layers/base/org/jboss/as/webservices/main/jbossws-cxf-resources-4.2.4.Final-wildfly800.jar > W: wildfly: codeless-jar > usr/share/wildfly/modules/system/layers/base/org/jboss/ws/cxf/jbossws-cxf-factories/main/jbossws-cxf-factories-4.2.4.Final.jar Theses *might* be correct. Some packages provide "meta" jars files, which sole purpose is to depend on other jar files (e.g. eclipse have a number of these). /If/ so, then just override the tag. > W: wildfly: maintainer-script-ignores-errors preinst > W: wildfly: maintainer-script-ignores-errors postrm Sounds easy to fix, but might require a careful review of the scripts. In fact, if you can do without any (manually written) scripts, you are off to a good start[1]. Based on the next warnings, you probably *cannot* (unfortunately). [1] They require a bit of effort to "get right" and also a bit of testing. Even minor flaws trivially becomes an RC bug because it breaks installability or etc. Remember that in "pre*" you got only have "essential" packages available. > W: wildfly: maintainer-script-should-not-use-deprecated-chown-usage > postinst:6 'chown -R wildfly.wildfly' > W: wildfly: maintainer-script-should-not-use-deprecated-chown-usage > postinst:7 'chown -R wildfly
Bug#752018: Wildfly package
Hi Konstantin Gosh... I didn't checked that at all. I'll read the man and go fix that. At least for what is not bound to original binaries. Thanks for having tried it already :) On 04/03/2015 10:06 AM, Konstantin Manna wrote: Hi Julian, thanks for the update. Lintian does not yet like your package :-) lintian --pedantic wildfly_8.1.0.final+lam.r01_all.deb E: wildfly: arch-independent-package-contains-binary-or-object usr/share/wildfly/modules/system/layers/base/org/hornetq/main/lib/linux-i686/libHornetQAIO32.so E: wildfly: arch-dependent-file-in-usr-share usr/share/wildfly/modules/system/layers/base/org/hornetq/main/lib/linux-i686/libHornetQAIO32.so E: wildfly: unstripped-binary-or-object usr/share/wildfly/modules/system/layers/base/org/hornetq/main/lib/linux-i686/libHornetQAIO32.so E: wildfly: arch-independent-package-contains-binary-or-object usr/share/wildfly/modules/system/layers/base/org/hornetq/main/lib/linux-x86_64/libHornetQAIO64.so E: wildfly: arch-dependent-file-in-usr-share usr/share/wildfly/modules/system/layers/base/org/hornetq/main/lib/linux-x86_64/libHornetQAIO64.so E: wildfly: unstripped-binary-or-object usr/share/wildfly/modules/system/layers/base/org/hornetq/main/lib/linux-x86_64/libHornetQAIO64.so E: wildfly: missing-dependency-on-libc needed by usr/share/wildfly/modules/system/layers/base/org/hornetq/main/lib/linux-i686/libHornetQAIO32.so and 1 others E: wildfly: changelog-file-missing-in-native-package E: wildfly: file-in-etc-not-marked-as-conffile etc/init.d/wildfly W: wildfly: unknown-control-file changelog W: wildfly: unknown-control-file compat W: wildfly: unknown-control-file copyright W: wildfly: unknown-control-file files E: wildfly: control-file-has-bad-permissions postinst 0555 != 0755 E: wildfly: control-file-has-bad-permissions postrm 0555 != 0755 E: wildfly: control-file-has-bad-permissions preinst 0555 != 0755 E: wildfly: no-copyright-file E: wildfly: description-starts-with-package-name E: wildfly: non-standard-toplevel-dir .installation/ W: wildfly: non-standard-dir-perm .installation/ 0700 != 0755 W: wildfly: extra-license-file usr/share/doc/wildfly/LICENSE.txt W: wildfly: non-standard-file-perm usr/share/wildfly/domain/configuration/application-roles.properties 0600 != 0644 W: wildfly: non-standard-file-perm usr/share/wildfly/domain/configuration/application-users.properties 0600 != 0644 W: wildfly: non-standard-file-perm usr/share/wildfly/domain/configuration/mgmt-groups.properties 0600 != 0644 W: wildfly: non-standard-file-perm usr/share/wildfly/domain/configuration/mgmt-users.properties 0600 != 0644 W: wildfly: non-standard-dir-perm usr/share/wildfly/domain/tmp/auth/ 0700 != 0755 W: wildfly: non-standard-file-perm usr/share/wildfly/standalone/configuration/application-roles.properties 0600 != 0644 W: wildfly: non-standard-file-perm usr/share/wildfly/standalone/configuration/application-users.properties 0600 != 0644 W: wildfly: non-standard-file-perm usr/share/wildfly/standalone/configuration/mgmt-groups.properties 0600 != 0644 W: wildfly: non-standard-file-perm usr/share/wildfly/standalone/configuration/mgmt-users.properties 0600 != 0644 W: wildfly: non-standard-dir-perm usr/share/wildfly/standalone/tmp/auth/ 0700 != 0755 W: wildfly: script-in-etc-init.d-not-registered-via-update-rc.d etc/init.d/wildfly E: wildfly: init.d-script-does-not-implement-required-option etc/init.d/wildfly force-reload W: wildfly: codeless-jar usr/share/wildfly/modules/system/layers/base/org/jboss/as/console/main/release-stream-2.2.6.Final-resources.jar W: wildfly: codeless-jar usr/share/wildfly/modules/system/layers/base/org/jboss/as/domain-http-error-context/main/wildfly-domain-http-error-context-8.1.0.Final.jar W: wildfly: codeless-jar usr/share/wildfly/modules/system/layers/base/org/jboss/as/webservices/main/jbossws-cxf-resources-4.2.4.Final-wildfly800.jar W: wildfly: codeless-jar usr/share/wildfly/modules/system/layers/base/org/jboss/ws/cxf/jbossws-cxf-factories/main/jbossws-cxf-factories-4.2.4.Final.jar W: wildfly: maintainer-script-ignores-errors preinst W: wildfly: maintainer-script-ignores-errors postrm W: wildfly: maintainer-script-should-not-use-deprecated-chown-usage postinst:6 'chown -R wildfly.wildfly' W: wildfly: maintainer-script-should-not-use-deprecated-chown-usage postinst:7 'chown -R wildfly.wildfly' W: wildfly: maintainer-script-should-not-use-deprecated-chown-usage postinst:8 'chown -R wildfly.wildfly' W: wildfly: maintainer-script-ignores-errors postinst Would you like to fix that? I guess if the package is lintian clean and we can find a debian mentor we might get the package into the official repos. Cheers, Konstantin -- Jumbot S.P.R.L. 36 Rue Haut-Vinâve 4101 Jemeppe-Sur-Meuse (Belgique) +32 497 345 158 i...@jumbot.be TVA BE0556 749 019 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#752018: Wildfly package
Hi Julian, thanks for the update. Lintian does not yet like your package :-) lintian --pedantic wildfly_8.1.0.final+lam.r01_all.deb E: wildfly: arch-independent-package-contains-binary-or-object usr/share/wildfly/modules/system/layers/base/org/hornetq/main/lib/linux-i686/libHornetQAIO32.so E: wildfly: arch-dependent-file-in-usr-share usr/share/wildfly/modules/system/layers/base/org/hornetq/main/lib/linux-i686/libHornetQAIO32.so E: wildfly: unstripped-binary-or-object usr/share/wildfly/modules/system/layers/base/org/hornetq/main/lib/linux-i686/libHornetQAIO32.so E: wildfly: arch-independent-package-contains-binary-or-object usr/share/wildfly/modules/system/layers/base/org/hornetq/main/lib/linux-x86_64/libHornetQAIO64.so E: wildfly: arch-dependent-file-in-usr-share usr/share/wildfly/modules/system/layers/base/org/hornetq/main/lib/linux-x86_64/libHornetQAIO64.so E: wildfly: unstripped-binary-or-object usr/share/wildfly/modules/system/layers/base/org/hornetq/main/lib/linux-x86_64/libHornetQAIO64.so E: wildfly: missing-dependency-on-libc needed by usr/share/wildfly/modules/system/layers/base/org/hornetq/main/lib/linux-i686/libHornetQAIO32.so and 1 others E: wildfly: changelog-file-missing-in-native-package E: wildfly: file-in-etc-not-marked-as-conffile etc/init.d/wildfly W: wildfly: unknown-control-file changelog W: wildfly: unknown-control-file compat W: wildfly: unknown-control-file copyright W: wildfly: unknown-control-file files E: wildfly: control-file-has-bad-permissions postinst 0555 != 0755 E: wildfly: control-file-has-bad-permissions postrm 0555 != 0755 E: wildfly: control-file-has-bad-permissions preinst 0555 != 0755 E: wildfly: no-copyright-file E: wildfly: description-starts-with-package-name E: wildfly: non-standard-toplevel-dir .installation/ W: wildfly: non-standard-dir-perm .installation/ 0700 != 0755 W: wildfly: extra-license-file usr/share/doc/wildfly/LICENSE.txt W: wildfly: non-standard-file-perm usr/share/wildfly/domain/configuration/application-roles.properties 0600 != 0644 W: wildfly: non-standard-file-perm usr/share/wildfly/domain/configuration/application-users.properties 0600 != 0644 W: wildfly: non-standard-file-perm usr/share/wildfly/domain/configuration/mgmt-groups.properties 0600 != 0644 W: wildfly: non-standard-file-perm usr/share/wildfly/domain/configuration/mgmt-users.properties 0600 != 0644 W: wildfly: non-standard-dir-perm usr/share/wildfly/domain/tmp/auth/ 0700 != 0755 W: wildfly: non-standard-file-perm usr/share/wildfly/standalone/configuration/application-roles.properties 0600 != 0644 W: wildfly: non-standard-file-perm usr/share/wildfly/standalone/configuration/application-users.properties 0600 != 0644 W: wildfly: non-standard-file-perm usr/share/wildfly/standalone/configuration/mgmt-groups.properties 0600 != 0644 W: wildfly: non-standard-file-perm usr/share/wildfly/standalone/configuration/mgmt-users.properties 0600 != 0644 W: wildfly: non-standard-dir-perm usr/share/wildfly/standalone/tmp/auth/ 0700 != 0755 W: wildfly: script-in-etc-init.d-not-registered-via-update-rc.d etc/init.d/wildfly E: wildfly: init.d-script-does-not-implement-required-option etc/init.d/wildfly force-reload W: wildfly: codeless-jar usr/share/wildfly/modules/system/layers/base/org/jboss/as/console/main/release-stream-2.2.6.Final-resources.jar W: wildfly: codeless-jar usr/share/wildfly/modules/system/layers/base/org/jboss/as/domain-http-error-context/main/wildfly-domain-http-error-context-8.1.0.Final.jar W: wildfly: codeless-jar usr/share/wildfly/modules/system/layers/base/org/jboss/as/webservices/main/jbossws-cxf-resources-4.2.4.Final-wildfly800.jar W: wildfly: codeless-jar usr/share/wildfly/modules/system/layers/base/org/jboss/ws/cxf/jbossws-cxf-factories/main/jbossws-cxf-factories-4.2.4.Final.jar W: wildfly: maintainer-script-ignores-errors preinst W: wildfly: maintainer-script-ignores-errors postrm W: wildfly: maintainer-script-should-not-use-deprecated-chown-usage postinst:6 'chown -R wildfly.wildfly' W: wildfly: maintainer-script-should-not-use-deprecated-chown-usage postinst:7 'chown -R wildfly.wildfly' W: wildfly: maintainer-script-should-not-use-deprecated-chown-usage postinst:8 'chown -R wildfly.wildfly' W: wildfly: maintainer-script-ignores-errors postinst Would you like to fix that? I guess if the package is lintian clean and we can find a debian mentor we might get the package into the official repos. Cheers, Konstantin signature.asc Description: OpenPGP digital signature
Bug#752018: Wildfly package
On Thu, 26 Feb 2015 14:00:02 +0100 Konstantin.manna wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi Julian, > > thank you for packaging it. > Have you already submitted it somewhere? > Or is there maybe another way to beta-test it beforehand? > > Regards, > Konstantin > -BEGIN PGP SIGNATURE- > Version: GnuPG v1 > > iQEcBAEBAgAGBQJU7xjSAAoJEPHwdvjI23R7vl4H/jCKd3zX+QA/DHK/JdLrlCk/ > RYY4iBPufz7CXTOUlyjXSYP57/spiRZ22icx9urgJSWrmxtjt+HOdGaj6maDoH9P > NIGYyeV6QLTqRVF/hCgJ7uh+SPTtT2DfnVPuTNT0jn9c/Nof5vVvA9n/qsTwiVc1 > 5YfUU4ERHB/K/xjzH5Kmc/UpRtfS7OlUg7kmVYkjgscKn5T8iYvGnpeCQdq3WI9p > M3tjMKE6aWgmFtFghuyrp7Wgcq/U0VkaOQVeJx+KJOzgA87QLZNgqCYm2HpY4y0/ > UBuyfhGTipOicHOjQ+F8mzV7jW1o3cD08wBd0yqS7+SGDs2k+LfJpANq/uN0sGc= > =d4ED > -END PGP SIGNATURE- > > Hi Konstantin I'll check how to submit it. Sorry for being so late. And I suppose I should update the package too. But here it's working for us. Thereby, i'll try to provide you an acces to our repos. Regards -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#752018: Wildfly package
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Julian, thank you for packaging it. Have you already submitted it somewhere? Or is there maybe another way to beta-test it beforehand? Regards, Konstantin -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQEcBAEBAgAGBQJU7xjSAAoJEPHwdvjI23R7vl4H/jCKd3zX+QA/DHK/JdLrlCk/ RYY4iBPufz7CXTOUlyjXSYP57/spiRZ22icx9urgJSWrmxtjt+HOdGaj6maDoH9P NIGYyeV6QLTqRVF/hCgJ7uh+SPTtT2DfnVPuTNT0jn9c/Nof5vVvA9n/qsTwiVc1 5YfUU4ERHB/K/xjzH5Kmc/UpRtfS7OlUg7kmVYkjgscKn5T8iYvGnpeCQdq3WI9p M3tjMKE6aWgmFtFghuyrp7Wgcq/U0VkaOQVeJx+KJOzgA87QLZNgqCYm2HpY4y0/ UBuyfhGTipOicHOjQ+F8mzV7jW1o3cD08wBd0yqS7+SGDs2k+LfJpANq/uN0sGc= =d4ED -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#752018: Wildfly package
Hi We packaged it for debian stable (weezy at the time of writing). I'll look forward how to submit it. Regards -- Jumbot S.P.R.L. 36 Rue Haut-Vinâve 4101 Jemeppe-Sur-Meuse (Belgique) +32 497 345 158 i...@jumbot.be TVA BE0556 749 019 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org