Updated Patch for fixing missing LSB information in Openfire init-script

Here is an updated version of my patch for fixing missing LSB information in Openfire init-script. (Read more about it here)

The patch should apply cleanly to Openfire 3.6.4 init-script. If you have any problems, feel free to contact me.

Note: You need the ‘patch’ program installed (apt-get install patch).

UPDATE: I’ve corrected the patch command. Thanks ButterflyOfFire for pointing it out.

1
cat openfire_364_fix_missing_lsb_information.patch |patch -p0
  • http://www.freefoxtv.net ButterflyOfFire

    Hi thanks for the patch ;)
    Can you just correct the command. It is :
    patch -p0 < openfire_364_fix_missing_lsb_information.patch

    rather then openfire_3.6.4 (the name of your patch has no points between 364)

    Thank you very much. It works for me ;)

    • http://steffenzieger.de saz

      Thanks. I’ve corrected the patch command.

  • Jonathan

    Dear Saz,

    u also have to correct the patch file name.

    from :
    “openfire_364_fix_missing_lsb_information.patch”

    to :

    “openfire_3.6.4_fix_missing_LSB_information.patch”

    Thanks
    Jonathan

    • http://steffenzieger.de saz

      Hello Jonathan,

      thanks for your information. As it seems, wordpress is cutting of the dots in the version number. (I don’t know why, and I don’t like it. Will have a look at it).

      I’ve updated the patch command and now everything should work.

      HAND
      Steffen

  • http://charlesleaver.com/ chukaman

    You don’t by any chance have the .deb still do you? I cannot find a copy anywhere despite having done a lot of searching, and the igniterealtime.org site is giving me ” 503: Service Temporarily Unavailable” errors.

    Thanks, Charles.

    • http://steffenzieger.de saz

      Hello Charles,

      for me, the site is working again. Anyway. You can get the .deb package here

      HTH,
      Steffen

  • http://jdkcn.com jdkcn(莫多)

    Hi, saz.

    The patch not found on the server. can u send me one.Thanks.

    • http://steffenzieger.de saz

      Hi,

      thanks for pointing this out. The patch is available again.

      Regards
      Saz

      • kartik

        Is this patch still available. I am not able to get it. Thanks.

        • http://steffenzieger.de saz

          I’ve tried to download my patch and it’s working without a problem.

          Do you get an error message?

          Regards
          Saz

  • http://www.freefoxtv.net ButterflyOfFire

    Hello again Saz,

    I think you should correct again the command line (case sensitive). It should be :

    patch -p0 < openfire_364_fix_missing_lsb_information.patch
    rather than
    patch -p0 < openfire_364_fix_missing_LSB_information.patch

    Merci :)

    • http://steffenzieger.de saz

      What the …?

      Thanks for pointing it out (again). :)

      Regards
      Saz

  • http://www.freefoxtv.net ButterflyOfFire

    No problemo saz :) Thanks for all man.

  • mabra

    Hi !

    Thanks! It looks like, I need it, because I cannot remove openfire [I made other things to install it]. But the patch fails:

    patching file /etc/init.d/openfire
    Hunk #1 FAILED at 3.
    1 out of 1 hunk FAILED — saving rejects to file /etc/init.d/openfire.rej

    I am not very experienced with my debian [etch], could you possibly help??

    Thanks a lot,
    mabra

    • http://steffenzieger.de saz

      It’s possible, that you are using a different version of Openfire.
      Please send me your /etc/init.d/openfire and /etc/init.d/openfire.rej and I’ll have a look at it.

      HAND,
      Saz

  • Kris

    Do you know if this will work with Openfire 3.7.0?

    Thanks!

  • eethore

    yes it works! i just try it with openfire 3.7.0 on my ubuntu 9.10