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

    [Help] pfSense-pkg-squid: 0.4.35 -> 0.4.35_1 [pfSense]

    Scheduled Pinned Locked Moved Cache/Proxy
    13 Posts 7 Posters 2.5k 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.
    • D Offline
      doktornotor Banned
      last edited by

      I have no idea what syntax error you have on line 22: https://github.com/pfsense/FreeBSD-ports/blob/devel/www/pfSense-pkg-squid/files/etc/inc/priv/squid.priv.inc#L22

      1 Reply Last reply Reply Quote 0
      • D Offline
        doktornotor Banned
        last edited by

        OK, you are on 2.3.3? Looks like the "cherrypick" or god knows what script they are using really screwed things there. Just delete that file and fetch the copy linked above.

        How to fix this:

        
        cd /etc/inc/priv
        rm squid.priv.inc
        fetch https://raw.githubusercontent.com/pfsense/FreeBSD-ports/devel/www/pfSense-pkg-squid/files/etc/inc/priv/squid.priv.inc
        
        
        1 Reply Last reply Reply Quote 0
        • S Offline
          Sealr0x
          last edited by

          I have the same problem. Will try the solution above.

          1 Reply Last reply Reply Quote 0
          • D Offline
            dougf4nnie
            last edited by

            Same problem here, fixed! Tks.

            2.3.2-RELEASE-p1 (amd64)

            1 Reply Last reply Reply Quote 0
            • D Offline
              doktornotor Banned
              last edited by

              Yeah I already noted that on the PR and did a new one to fix the breakage I didn't cause in the first place. Nothing else I could do there.

              https://github.com/pfsense/FreeBSD-ports/pull/279
              https://github.com/pfsense/FreeBSD-ports/pull/270

              1 Reply Last reply Reply Quote 0
              • rbgargaR Offline
                rbgarga Developer Netgate Administrator
                last edited by

                Fixed, on 0.4.35_3, sorry for the breakage!

                Renato Botelho

                1 Reply Last reply Reply Quote 0
                • S Offline
                  Sealr0x
                  last edited by

                  Fixed it with vi, just fixed the comment section.

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    doktornotor Banned
                    last edited by

                    @Renato:

                    Fixed, on 0.4.35_3, sorry for the breakage!

                    Thanks. I guess I'll do some PR for /etc/inc/priv.inc to attempt to not blindly include broken crap and at least do a lint beforehand. (So far, I've just discovered a broken and misnamed php_check_filename_syntax() in pfsense-utils.inc, LOL.

                    1 Reply Last reply Reply Quote 0
                    • H Offline
                      Hegemon
                      last edited by

                      Thank you dok, fixed.

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        meruem
                        last edited by

                        Thanks ya'll… back up again :)

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          meruem
                          last edited by

                          ya you need the first forward slash "/", otherwise your saying /root/etc , you want /etc/

                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            sprinteroz
                            last edited by

                            @meruem:

                            ya you need the first forward slash "/", otherwise your saying /root/etc , you want /etc/

                            This last post in quote here is to my problem, all  posts from doktornotor and myself have been removed related to my error,

                            I had a typo user error

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