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

How to get pfSence sources?

Scheduled Pinned Locked Moved Development
7 Posts 6 Posters 11.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.
  • ?
    Guest
    last edited by Apr 17, 2009, 10:40 AM

    Hello,

    I do need to build pfSence, just want to browse the source code of all pages of the stable release. How can I get these files?

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Apr 17, 2009, 12:18 PM

      The pfSense sources are kept in a git repository. For the "Stable" branch, you want RELENG_1_2

      You can browse the source files and recent commits here:
      https://rcs.pfsense.org/projects/pfsense/repos/mainline/logs/RELENG_1_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
      • T
        tanhosy
        last edited by Apr 27, 2009, 3:31 AM

        @Zox:

        Hello,

        I do need to build pfSence, just want to browse the source code of all pages of the stable release. How can I get these files?

        You should used git to get pfSense git repository and run ./cvsup_current.sh to get all sources.
        Please follow this link: http://devwiki.pfsense.org/DevelopersBootStrapAndDevIso

        1 Reply Last reply Reply Quote 0
        • S
          steelmanot
          last edited by Jun 21, 2009, 7:01 PM Jun 21, 2009, 6:02 PM

          Hi,
          I want to build custom image too.
          I'm following this guide http://devwiki.pfsense.org/DevelopersBootStrapAndDevIso
          I'm building it on pfSense-Developers-1.2.2

          I got stuck when compiling git, it throws me lots of errors .

          –-----------------------------------------------------------

          cd /usr/ports/devel/git

          make BATCH=yo

          ===>  Building for git-1.6.3.2_1
             CC http-push.o
          http-push.c:15:19: error: expat.h: No such file or directory
          http-push.c:1235: error: expected ';', ',' or ')' before '*' token
          http-push.c: In function 'lock_remote':
          http-push.c:1319: error: 'XML_Parser' undeclared (first use in this function)
          http-push.c:1319: error: (Each undeclared identifier is reported only once
          http-push.c:1319: error: for each function it appears in.)
          http-push.c:1319: error: expected ';' before 'parser'
          http-push.c:1326: error: 'parser' undeclared (first use in this function)
          http-push.c:1329: error: 'xml_cdata' undeclared (first use in this function)
          http-push.c: In function 'remote_ls':
          http-push.c:1562: error: 'XML_Parser' undeclared (first use in this function)
          http-push.c:1562: error: expected ';' before 'parser'
          http-push.c:1569: error: 'parser' undeclared (first use in this function)
          http-push.c:1572: error: 'xml_cdata' undeclared (first use in this function)
          http-push.c: In function 'locking_available':
          http-push.c:1645: error: 'XML_Parser' undeclared (first use in this function)
          http-push.c:1645: error: expected ';' before 'parser'
          http-push.c:1652: error: 'parser' undeclared (first use in this function)
          gmake: *** [http-push.o] Error 1
          *** Error code 1

          Stop in /usr/ports/devel/git.

          –-----------------------------------------------------------------
          What is the problem here ?

          1 Reply Last reply Reply Quote 0
          • S
            stompro
            last edited by Sep 1, 2009, 10:02 PM

            Does browsing source files on rcs.pfsense.org work for you jimp?

            Anytime in the past 3 weeks I have tried to browse to and view a file, I just get an error message.

            When I open this link,
            https://rcs.pfsense.org/projects/pfsense/repos/mainline/blobs/master/etc/inc/captiveportal.inc
            I just get the error message "We're sorry, but something went wrong".

            Am I missing something obvious?
            Josh
            @jimp:

            The pfSense sources are kept in a git repository. For the "Stable" branch, you want RELENG_1_2

            You can browse the source files and recent commits here:
            https://rcs.pfsense.org/projects/pfsense/repos/mainline/logs/RELENG_1_2

            Hardware used: Alix 2D13 X 10, APU2D4 X 10, SG-2200 X 10, SG-2440 X 4

            1 Reply Last reply Reply Quote 0
            • J
              jimp Rebel Alliance Developer Netgate
              last edited by Sep 1, 2009, 11:13 PM

              Viewing the individual files doesn't work from there right now, but there will be an update in the near future that will fix that.

              You can also see the files here:
              http://redmine.pfsense.org/repositories/show/pfsense

              But honestly the fastest way to do that is the install git and download a local clone of the repo.

              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
              • E
                Eugene
                last edited by Sep 2, 2009, 8:33 PM

                @steelmanot:

                I'm following this guide http://devwiki.pfsense.org/DevelopersBootStrapAndDevIso
                …

                What is the problem here ?

                This article has been updated recently and the problem mentioned by you was solved. Try to follow the procedure again.

                http://ru.doc.pfsense.org

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