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

Making changes to haproxy package; how do I make them available to everyone?

Scheduled Pinned Locked Moved pfSense Packages
58 Posts 3 Posters 21.9k 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.
  • M
    marcelloc
    last edited by Dec 13, 2011, 2:34 PM

    I can help. I will configure these vms and compile it.

    If all you done was just fixes, i can publish it for you.
    But you can create an account at Github and Pull your update request.

    2.0.1 uses the same freebsd version 8.1

    Treinamentos de Elite: http://sys-squad.com

    Help a community developer! ;D

    1 Reply Last reply Reply Quote 0
    • B
      Briantist
      last edited by Dec 13, 2011, 4:04 PM

      @marcelloc:

      I can help. I will configure these vms and compile it.

      If all you done was just fixes, i can publish it for you.
      But you can create an account at Github and Pull your update request.

      2.0.1 uses the same freebsd version 8.1

      Thanks marcelloc, you've been very helpful to me throughout this whole process. I wrote out everything that was changed. As you can see there are fixes as well as new features, but I believe that someone who upgrades from the current package to this new one will not see any issue. I can also post the actual code changes if you want to go over them in detail before publishing.

      I have created a free account at github but I don't know what to do from there. I don't know what it means to pull my update request. Sorry for my ignorance on that!  :)

      1 Reply Last reply Reply Quote 0
      • B
        Briantist
        last edited by Dec 13, 2011, 4:37 PM

        Okay I've asked my manager about it as he's more familiar with git and github so I have an idea of what I need to do with that. I'll work on it and I'll post again once I'm done or when I have more questions. Thanks!

        1 Reply Last reply Reply Quote 0
        • M
          marcelloc
          last edited by Dec 13, 2011, 5:01 PM

          the repo for packages is https://github.com/bsdperimeter/pfsense-packages

          Treinamentos de Elite: http://sys-squad.com

          Help a community developer! ;D

          1 Reply Last reply Reply Quote 0
          • M
            marcelloc
            last edited by Dec 13, 2011, 5:17 PM Dec 13, 2011, 5:14 PM

            the ftp-archive has 1.4.x haproxy packager version. Test if any of these versions works on your pfsense

            amd64 (tested with no issues)
            (8.1 packages)
            pkg_add -r http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/amd64/packages-8.1-release/All/haproxy-1.4.8.tbz
            (8.2 packages)
            pkg_add -r http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/amd64/packages-8.2-release/All/haproxy-1.4.10.tbz
            (8-stable packages)
            pkg_add -r ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8-stable/All/haproxy-1.4.16.tbz

            I386
            (8.1 packages)
            pkg_add -r http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/i386/packages-8.1-release/All/haproxy-1.4.8.tbz
            (8.2 packages)
            pkg_add -r http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/i386/packages-8.2-release/All/haproxy-1.4.10.tbz
            (8-stable packages)
            pkg_add -r ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/All/haproxy-1.4.16.tbz

            for 1.2.3 version(need test)
            http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/i386/packages-7.4-release/All/haproxy-1.4.10.tbz

            Treinamentos de Elite: http://sys-squad.com

            Help a community developer! ;D

            1 Reply Last reply Reply Quote 0
            • B
              Briantist
              last edited by Dec 13, 2011, 6:34 PM

              We did try 1.4.16 but there was something about it that didn't work correctly with RPC/MAPI (we're load balancing Exchange 2010). Whatever it was, it worked when we used 1.4.18 without any changes to the config.

              1 Reply Last reply Reply Quote 0
              • M
                marcelloc
                last edited by Dec 13, 2011, 7:17 PM

                ok, I will build it from ports.

                Treinamentos de Elite: http://sys-squad.com

                Help a community developer! ;D

                1 Reply Last reply Reply Quote 0
                • B
                  Briantist
                  last edited by Dec 13, 2011, 8:15 PM

                  Okay, I've created the github repo:
                  https://github.com/briantist/pfSense-Packages

                  Please let me know if I've done something wrong with it or whatever. What should I do next? I see a pull request option in my repo, but when I click it I don't really understand what it's asking.

                  1 Reply Last reply Reply Quote 0
                  • M
                    marcelloc
                    last edited by Dec 13, 2011, 8:18 PM

                    Using the gui, browse https://github.com/bsdperimeter/pfsense-packages and find file you want to change, click edit this file.

                    After this, github will clone pfsense-package and allow you edit the file and pull file change request.

                    Treinamentos de Elite: http://sys-squad.com

                    Help a community developer! ;D

                    1 Reply Last reply Reply Quote 0
                    • B
                      Briantist
                      last edited by Dec 13, 2011, 8:26 PM

                      @marcelloc:

                      Using the gui, browse https://github.com/bsdperimeter/pfsense-packages and find file you want to change, click edit this file.

                      After this, github will clone pfsense-package and allow you edit the file and pull file change request.

                      When you say "the gui" do you just mean to browse that URL in a browser? When I go to one of the file that way, there is a button that says "fork and edit". Is that the one to click? Do I have to do this to every file individually?

                      Again, sorry for being so green. I really appreciate your patience.

                      1 Reply Last reply Reply Quote 0
                      • M
                        marcelloc
                        last edited by Dec 13, 2011, 8:37 PM

                        yes, press fork and edit.
                        this way you get a clone from pfsense-packages.

                        Then you choose between edit each file individually or apply via git on your clone and then pull all file changes in a single request.

                        Treinamentos de Elite: http://sys-squad.com

                        Help a community developer! ;D

                        1 Reply Last reply Reply Quote 0
                        • B
                          Briantist
                          last edited by Dec 13, 2011, 9:10 PM

                          Okay, I think I'm almost there:
                          https://github.com/briantist/pfsense-packages-1

                          I used to git to put all the changes up to this repo at once. I started to do the pull request but I got scared when it said that I was asking bsdperimeter to pull in 333 commits, most of which looked like they were from other people, so I thought maybe I was doing something wrong.

                          1 Reply Last reply Reply Quote 0
                          • M
                            marcelloc
                            last edited by Dec 13, 2011, 9:38 PM

                            try to edit each file and see what happens.

                            Treinamentos de Elite: http://sys-squad.com

                            Help a community developer! ;D

                            1 Reply Last reply Reply Quote 0
                            • B
                              Briantist
                              last edited by Dec 13, 2011, 9:45 PM

                              Should I be editing it on my fork, or in the main repo?

                              1 Reply Last reply Reply Quote 0
                              • M
                                marcelloc
                                last edited by Dec 13, 2011, 9:47 PM

                                choose file on main repo. then fork and edit

                                Treinamentos de Elite: http://sys-squad.com

                                Help a community developer! ;D

                                1 Reply Last reply Reply Quote 0
                                • B
                                  Briantist
                                  last edited by Dec 13, 2011, 10:07 PM

                                  Okay I did it all one file at a time. There should be 6 new pull requests. I can't add the i386 folder under the binaries7 folder, nor the i386 and amd64 folders underneath binaries8 but they will need to be there.

                                  If there's anything else I need to do please let me know. Thanks so much!

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    marcelloc
                                    last edited by Dec 13, 2011, 10:38 PM

                                    test compiled version

                                    i386
                                    http://e-sac.siteseguro.ws/pfsense/8/All/haproxy-1.4.16.tbz

                                    amd64
                                    http://e-sac.siteseguro.ws/pfsense/8/amd64/All/haproxy-1.4.16.tbz

                                    Treinamentos de Elite: http://sys-squad.com

                                    Help a community developer! ;D

                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      Briantist
                                      last edited by Dec 13, 2011, 11:33 PM

                                      Version should be 1.4.18.. any reason why it can't be? As I said we tried 1.4.16 before, even tried it on a linux VM to see it was something platform specific.

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        marcelloc
                                        last edited by Dec 14, 2011, 12:19 AM

                                        This is the freebsd ports version. not so easy to compile and build a package without ports. :-\

                                        did you tried package modifications with haproxy devel version 1.5?

                                        Treinamentos de Elite: http://sys-squad.com

                                        Help a community developer! ;D

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          marcelloc
                                          last edited by Dec 14, 2011, 12:33 AM Dec 14, 2011, 12:29 AM

                                          I've changed ports info to compile 1.4.18

                                          amd64
                                          http://e-sac.siteseguro.ws/pfsense/8/amd64/All/haproxy-1.4.18.tbz

                                          i386
                                          http://e-sac.siteseguro.ws/pfsense/8/All/haproxy-1.4.18.tbz

                                          Treinamentos de Elite: http://sys-squad.com

                                          Help a community developer! ;D

                                          1 Reply Last reply Reply Quote 0
                                          32 out of 58
                                          • First post
                                            32/58
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received