Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Questions about submitting new syslog-ng package

    Scheduled Pinned Locked Moved Development
    14 Posts 5 Posters 10.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Not any help I'm afraid but I'd like to suggest you add the location where you store the logs as a user selectable variable. There are numerous questions on the forum about using a separate partition or drive for logging.

      Steve

      1 Reply Last reply Reply Quote 0
      • L
        laleger
        last edited by

        Hey Steve, good to hear from you again :)

        I now remember you suggesting this before and I agree that it's a good idea. I will go ahead make the log location user definable. I'm hoping to tie up some loose ends on the package this weekend so that I can submit for release. Will keep everyone posted.

        1 Reply Last reply Reply Quote 0
        • L
          laleger
          last edited by

          Final changes have been made to my package. I've got a local repository setup and I'm registered with github. I can see see my package via my local repository but the install fails (install message and pkg_config.8.xml ouput is below). Anyway to get the install to succed without the PBI packages?

          ================ Begin pkg_config.8.xml ================

          <package><name>syslog-ng</name>
                  <website>http://www.balabit.com/network-security/syslog-ng/</website>
                  <descr>Syslog-ng syslog server. This service is not intended to replace
                  <category>Services</category>
                  <version>3.3.4_1</version>
                  <status>ALPHA</status>
                  <required_version>2.1</required_version>
                  <depends_on_package_base_url>http://ftp.freebsd.org/pub/FreeBSD/ports/i3
                  <depends_on_package>syslog-ng-3.3.4_1.tbz</depends_on_package>
                  <depends_on_package>logrotate-3.7.9.tbz</depends_on_package>
                  <build_port_path>/usr/ports/sysutils/syslog-ng</build_port_path>
                  <build_port_path>/usr/ports/sysutils/logrotate</build_port_path>
                  <build_pbi><port>sysutils/syslog-ng</port>
                          <port>sysutils/logrotate</port></build_pbi>

          <maintainer>laleger@gmail.com</maintainer>
                  <config_file>http://www.pfsense.com/packages/config/syslog-ng/syslog-ng.
                  <configurationfile>syslog-ng.xml</configurationfile></config_file></depends_on_package_base_url></descr></package>

          ================ End pkg_config.8.xml ================
          ================ Begin Error Message ================

          Beginning package installation for syslog-ng .
          Downloading package configuration file… done.
          Saving updated package information... done.
          The syslog-ng package is not installed.

          Installation aborted.Backing up libraries...
          The syslog-ng package is not installed.

          Deletion aborted.Cleaning up... Failed to install package.

          Installation halted.

          ================ End Error Message ================

          I would like to get the package installing from my local repository to run a few last tests before I request the "pull". Any help from the dev guru's would be most appreciated. Thanks! :)

          1 Reply Last reply Reply Quote 0
          • L
            laleger
            last edited by

            Package is ready. I submitted a pull request, but not sure if I did it correctly. If a developer could confirm that would be great. Thanks!

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              I don't see any pull requests in our queue that resemble this, give it another try.

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • L
                laleger
                last edited by

                Ooops. Thanks for checking. Just re-submitted. I'm assuming that I don't have to provide the pbi packages myself?

                1 Reply Last reply Reply Quote 0
                • jimpJ
                  jimp Rebel Alliance Developer Netgate
                  last edited by

                  No just setup the build tags properly and we build them on our server.

                  Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                  Need help fast? Netgate Global Support!

                  Do not Chat/PM for help!

                  1 Reply Last reply Reply Quote 0
                  • L
                    laleger
                    last edited by

                    Also just committed two fixes to my original package entry in pkg_config.8.xml, sorry about that.

                    1 Reply Last reply Reply Quote 0
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      There were some other problems with the tags and how things were setup, but I fixed them up, built the PBIs, and they should be up now.

                      Or it will be as soon as you see the pkg report it's version as 3.3.6_2

                      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

                      1 Reply Last reply Reply Quote 0
                      • L
                        laleger
                        last edited by

                        Great, thanks! I tested the package install yesterday with a clean 2.1 build and it's working as expected. I'll move onto development for Bro 2.0 and OSEEC packages now :)

                        1 Reply Last reply Reply Quote 0
                        • T
                          terry_e
                          last edited by

                          I'm wondering if this syslog-ng package is available, and if so, how can I get it?

                          Thanks very much for all participants for the work involved.  I've been trying to install syslog-ng myself and have encountered quite a number of issues.

                          1 Reply Last reply Reply Quote 0
                          • O
                            Oliver_
                            last edited by

                            @laleger
                            I must say "Thank you for that Package and all the work you have done".
                            It always thought, wouldn't it be great to use the Diskspace for some long-time logging. For example Captive-Portal logging, which User was online and was doing which crime…

                            @terry_e
                            It is only available for Pfsense 2.1

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post
                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.