Commit Graph

25973 Commits

Author SHA1 Message Date
Renato Botelho
a95458c272 Replace hard coded rsync data by new variables 2015-08-25 14:49:57 -03:00
Renato Botelho
0431a7a92e Leave RSYNCIP to be defined in build.conf by user, exit if it's not defined 2015-08-25 14:49:57 -03:00
Renato Botelho
2abc3e8024 Rename NO_CLEANFREEBSDOBJDIR -> NO_CLEAN_FREEBSD_OBJ and NO_CLEANREPOS -> NO_CLEAN_FREEBSD_SRC 2015-08-25 14:49:57 -03:00
Renato Botelho
3b5bba5c14 Repect SCRATCHDIR 2015-08-25 14:49:57 -03:00
Renato Botelho
dde49befe7 Remove ensure_source_directories_present() and call update_freebsd_sources() direct 2015-08-25 14:49:57 -03:00
Renato Botelho
f36b26f8bc Define BUILDER_TOOLS and BUILDER_ROOT on caller scripts and add extra checks 2015-08-25 14:49:57 -03:00
Renato Botelho
7e6ab3edfd Rename clean_obj_dir() to clean_builder() 2015-08-25 14:49:56 -03:00
Renato Botelho
2a5914c67b Remove old parameter --flash-vendor description from help and note --update-sources will only update FreeBSD srcs 2015-08-25 14:49:56 -03:00
Renato Botelho
f546e6ca57 Do not remove CHROOT directories, they can be mounted on MFS filesystems. Create them if they don't exist and just delete their content 2015-08-25 14:49:56 -03:00
Renato Botelho
934e3e0420 Reorder default definitions grouping by subject 2015-08-25 14:49:56 -03:00
Renato Botelho
8739dcddd2 Remove unused variable NANO_WITH_VGA 2015-08-25 14:49:56 -03:00
Renato Botelho
74d8fbe9ef Make sure we do not add empty -j to make parameter 2015-08-25 14:49:56 -03:00
Renato Botelho
64f272035c Rename SRCDIR to FREEBSD_SRC_DIR and change default value to SCRATCHDIR/FreeBSD-src to make build process less intrusive 2015-08-25 14:49:56 -03:00
Renato Botelho
328c4fb997 Move stage dir and final iso dir to ./tmp to make build process less intrusive 2015-08-25 14:49:56 -03:00
Renato Botelho
c05b4e7d40 Remove unused var BUILDER_HOST_TARGET 2015-08-25 14:49:55 -03:00
Renato Botelho
8b5ccd242a Remove unnecessary IFS replacement 2015-08-25 14:49:55 -03:00
Renato Botelho
84331fdc55 Add quotes to default variables definitions 2015-08-25 14:49:55 -03:00
Renato Botelho
d111360dfe Detect current branch or tag 2015-08-25 14:49:55 -03:00
Renato Botelho
edef37f6da Do not try to get make.conf from other branch 2015-08-25 14:49:55 -03:00
Renato Botelho
f6eb412c84 _BUILDER_EPOCH is local 2015-08-25 14:49:55 -03:00
Renato Botelho
04992be2bf Rename MAKEOBJDIRPREFIXFINAL to IMAGES_FINAL_DIR 2015-08-25 14:49:55 -03:00
Renato Botelho
eb31cdf1fe Read /etc/version and set PRODUCT_VERSION 2015-08-25 14:49:55 -03:00
Renato Botelho
694028d6ae Introduce PRODUCT_SRC 2015-08-25 14:49:54 -03:00
Renato Botelho
0ce2a7f3aa Rename BUILDER_SCRIPTS to BUILDER_TOOLS that makes more sense on current infrastructure, also remove some cd calls 2015-08-25 14:49:54 -03:00
Renato Botelho
78b0f246af Adapt tools scripts for pfSense main repo (round #1):
- Move SCRATCHDIR to ./tmp and add it to .gitignore
- Move logs to ./logs and add it to .gitignore
- Add build.conf to .gitignore
- Rename BUILDER_TOOLS to BUILDER_ROOT that makes more sense in new
  infrastructure
- Change some (cd DIR && git) to git -C DIR
- Remove BASE_DIR
- Remove TOOLS_DIR
- Remove update_product_repository()
- Remove TOOLS_*_COMMIT variables
- Rename PRODUCT_CURRENT_COMMIT and PRODUCT_LAST_COMMIT to simply
  CURRENT_COMMIT and LAST_COMMIT
- Remove all use of GIT_REPO_DIR, GIT_REPO_UTL and GIT_REPO_TOOLS
- Change clone_to_staging_area() to clone ./src instad of ./
- Detect if script was called from / or /tools and set BUILDER_ROOT
  and BUILDER_SCRIPTS properly
- Create SCRATCHDIR if it doesn't exist
2015-08-25 14:49:54 -03:00
Renato Botelho
4a6ea7b274 Change the way to detect BUILDER_SCRIPTS and BUILDER_TOOLS and make build.conf optional 2015-08-25 14:49:54 -03:00
Renato Botelho
782f0bb215 We won't use set_version.sh anymore, now build system follows main repo then it's not supposed to be able multiple pfSense versions 2015-08-25 14:49:54 -03:00
Renato Botelho
294fb00f9a Fix file permission 2015-08-25 14:49:54 -03:00
Renato Botelho
6f73c36226 Import build scripts from pfSense-tools repo 2015-08-25 14:49:54 -03:00
Renato Botelho
46bc6e545a Move main pfSense content to src/ 2015-08-25 14:49:54 -03:00
Jim Thompson
4d9801c2db Get rid of NT-hash crap 2015-08-25 12:42:16 -05:00
Renato Botelho
032f04564e Fix whitespaces 2015-08-24 18:00:17 -03:00
jim-p
bfeda1cb6a Fix handling of the description in the shaper code. 2015-08-24 08:34:52 -04:00
Renato Botelho
cb7d18d561 Replace php calls to php-cgi, binary is not being renamed anymore 2015-08-20 10:34:37 -03:00
Renato Botelho
5436d37a26 Replace pecl-APC by php55-opcache, ticket #4744 2015-08-20 07:36:38 -03:00
Renato Botelho
a621d101b8 Obsolete entire /kernels directory 2015-08-18 18:40:54 -03:00
jim-p
b08758c3f0 Properly declare an error when a too-short voucher is submitted. 2015-08-18 09:39:52 -04:00
Renato Botelho
46203b8e80 Remove /conf symlink, it's going to be handled by default-config package 2015-08-18 09:07:57 -03:00
Renato Botelho
df275cbe71 Use new base.mtree installed by upcoming core package 2015-08-17 17:09:35 -03:00
Renato Botelho
c1367bd116 Fix path for pre and post upgrade scripts 2015-08-17 17:05:29 -03:00
Renato Botelho
8f400b8fdd Move scripts from /tmp -> /usr/local/share/pfSense 2015-08-17 17:05:29 -03:00
jim-p
00b8b2eca2 The "enableallowallwan" script should also allow bogons, or it makes running test firewalls with RFC5735/6890 test network style WANs a pain. 2015-08-13 15:43:43 -04:00
Renato Botelho
a369fe71ad Drop loader.conf_wrap 2015-08-13 16:00:36 -03:00
Renato Botelho
8c1db51134 Deprecate rootmfs 2015-08-12 17:15:10 -03:00
jim-p
916fc1f873 Don't lowercase the whole group name 2015-08-12 15:30:56 -04:00
jim-p
c4a9f99a8d Fix GUI auth from RADIUS to grab group names from the Class attribute. Implements #935
The RADIUS server must populate the Class attribute with a string, semicolon-separated, of user groups. Similar to LDAP, local groups must exist with matching names, and privileges are determined by the local matching groups.
2015-08-12 12:20:10 -04:00
Renato Botelho
c0d5c1435e Merge pull request #1806 from nagyrobi/patch-24 2015-08-05 14:24:23 -03:00
nagyrobi
30ccf550aa put back the missing newline
Since 2.2 the console is missing the separating line between the interfaces list and the menu, which makes it harder to overlook on a VGA screen. This restores the appearance which we were used to during so many years.
2015-08-04 12:48:17 +02:00
Chris Buechler
0057e62d24 only read file if it exists, and only foreach if an array. 2015-08-03 23:10:26 -05:00
Renato Botelho
626f10a30c Merge pull request #1804 from phil-davis/bogons-not-exists 2015-08-03 10:17:06 -03:00