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

Own Package Repository

Scheduled Pinned Locked Moved Development
20 Posts 3 Posters 5.0k 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.
  • S Offline
    SenseFOX
    last edited by Oct 25, 2014, 10:01 AM

    Thanks for helping so far!

    For running pkg_tester.php I had to add one file in the folder "pfSense/packages". I copied the file "pkg_config.8.xml" and renamed in "pkg_config.xml. Otherwise it did not work because it can not find the version. This is not normal!? ;-)

    I used the "tag" code from pfSense/xmlrps-server/RELENG_2_1_3  and  pfSense/packages/RELENG_2_1_5.

    The repo is not working. The connection to the repository shows the following again: "Unable to retrieve package info from …". From the pfSense, this address can successfully ping. The folder structur of the root you can see in the attachment.

    folder_structure.jpg
    folder_structure.jpg_thumb
    pfSense_package_pkg_config.jpg
    pfSense_package_pkg_config.jpg_thumb

    1 Reply Last reply Reply Quote 0
    • S Offline
      SenseFOX
      last edited by Oct 25, 2014, 10:24 AM

      I also tried these two types…it remains exciting.

      folder_structure_poss.jpg
      folder_structure_poss.jpg_thumb

      1 Reply Last reply Reply Quote 0
      • S Offline
        stephenw10 Netgate Administrator
        last edited by Oct 25, 2014, 1:20 PM

        The output from pkg_tester looks like it's not in the server root but inside a pfSense folder. Is that still the case?

        Steve

        1 Reply Last reply Reply Quote 0
        • S Offline
          SenseFOX
          last edited by Oct 26, 2014, 10:04 AM

          It is in both now.

          localhost/pfSense/pkg_tester.php

          and

          localhost/pkg_tester.php

          tmp.jpg_thumb
          tmp.jpg

          1 Reply Last reply Reply Quote 0
          • S Offline
            SenseFOX
            last edited by Oct 27, 2014, 9:57 AM

            It works! :-)) mistake in virtual machine

            1 Reply Last reply Reply Quote 0
            • S Offline
              SenseFOX
              last edited by Oct 27, 2014, 12:42 PM Oct 27, 2014, 10:16 AM

              Version 2.0 and Version 2.1  works !

              but 2.1.5 the latest version does not want so far…

              1 Reply Last reply Reply Quote 0
              • S Offline
                stephenw10 Netgate Administrator
                last edited by Oct 27, 2014, 1:47 PM

                Nice.  :)
                2.0 and 2.1 working but later versions not working are the exact symptoms described in the thread you linked to.

                Steve

                1 Reply Last reply Reply Quote 0
                • S Offline
                  SenseFOX
                  last edited by Nov 1, 2014, 10:19 AM Nov 1, 2014, 10:11 AM

                  To run pfSense Version 2.1.5 the URL must not be an ip address. It has to be a name. To resolve the address in an ip you can make an entry in /etc/hosts.  ;)

                  To test the repo I downloaded a package. I changed the URL in <depends_on_package_base_url>.

                  <depends_on_package_base_url>https://Webserver/packages/8/All/</depends_on_package_base_url>

                  This works, but I can not change the URL from the <config_file><config_file>https://packages.pfsense.org/packages/config/phpsysinfo/phpsysinfo.xml</config_file>

                  I think the problem is, that my Webserver can not show the xml file.</config_file></depends_on_package_base_url>

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    SenseFOX
                    last edited by Nov 2, 2014, 4:26 PM

                    I followed the instructions at http://codenaut.blogspot.de/2009/03/setup-apache-to-serve-xml-files.html.

                    I added these two lines in httpd.conf within "<ifmodule mime_module="">"

                    AddType application/xhtml+xml .xhtml .xml

                    AddEncoding xhtml xml

                    still not works - an idea?

                    In the Attachment you see the outputs from Firefox and FreeBSD Browser - different outputs…

                    localhost/packages/config/phpsysinfo/phpsysinfo.xml

                    The output is not the same to

                    https://packages.pfsense.org/packages/config/phpsysinfo/phpsysinfo.xml

                    xmlfile.jpg
                    xmlfile.jpg_thumb</ifmodule>

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      stephenw10 Netgate Administrator
                      last edited by Nov 2, 2014, 6:43 PM

                      I do remember having to make some chage to the Apache config to allow it to serve files rather than interpreting them but I'm fairly sure that was php. Hmm, could be wrong it was a long time ago.  :-\

                      Steve

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        SenseFOX
                        last edited by Nov 3, 2014, 11:43 AM Nov 3, 2014, 10:50 AM

                        I believe you mean the .htaccess file.

                        The Browsers show the files different, so I downloaded the file to see exactly what is wrong.
                        I get the file from my Webserver without the content in brackets.

                        –-------------------------------------------
                        It works! :-)

                        There are two MIME Types of XML

                        AddType text/xhtml+xml .xhtml .xml

                        AddEncoding xhtml xml

                        xml_with_brackets.jpg
                        xml_with_brackets.jpg_thumb
                        xml_without_brackets.jpg
                        xml_without_brackets.jpg_thumb

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