How to get pfSence sources?
-
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?
-
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 -
@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 -
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.2I 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 1Stop in /usr/ports/devel/git.
–-----------------------------------------------------------------
What is the problem here ? -
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 -
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/pfsenseBut honestly the fastest way to do that is the install git and download a local clone of the repo.
-
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.