mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Detect unauthorized attempt to build pfSense
This commit is contained in:
parent
d27cb78d6d
commit
81ec005db3
@ -81,6 +81,13 @@ if [ -f ${BUILD_CONF} ]; then
|
||||
. ${BUILD_CONF}
|
||||
fi
|
||||
|
||||
if [ "${PRODUCT_NAME}" = "pfSense" -a "${BUILD_AUTHORIZED_BY_ELECTRIC_SHEEP_FENCING}" != yes ]; then
|
||||
echo ">>>ERROR: According the following license, only Electric Sheep Fencing can build genuine pfSense® software"
|
||||
echo ""
|
||||
cat ${BUILDER_ROOT}/license.txt
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Make sure pkg will not be interactive
|
||||
export ASSUME_ALWAYS_YES=true
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user