Content-type: text/html
# comment <macro dummy name to be subsituted 1> <substition string 1>
# comment <macro dummy name to be subsituted 1> <substition string 1>
end
If the dummy name is not to be subsituted the substitution string "no" or
"none" should be used. The
end
statement at the end of the configuration file is mandatory.
These options are only valid if
pupsconf(1)
has been built with
secure mode extensions.
dserial
disk serial number
tells
pupsconf(1)
to use the hard disk serial number as the software build authentication token when generating makefile. If a
serial number is specified, that is used (enable secure remote build). If not, the serial number
of the disk the software is to be built on is used. This option and
sdongle
are
mutually exclusive.
sdongle
dongle file name | dongle key
tells
puspconf(1)
to use either the (random) inode of the supplied
dongle file
or the supplied
dongle key
as the authentication token when generating makefile. If a
dongle file name
is specified, it is assumed to be on the disk being used for the build:
dongle key
can refer to an appropriate file on the local build disk, or a remote disk, which
means that this option can be used for remote builds.
sdongle
and
dserial
are
mutually exclusive.
# This is the name of the macro
TARGET_CFLAGS
#This is its body
-verbose -DHAVE_MACROS
# End of macro definitions
end
If secure build mode extensions are enabled
USE_DISK_SERIAL
disk_serial
tells
pupsconf(1)
to use the disk serial number as the secure authentication token for building the software.
If
disk_serial
is specified, it is used as the disk serial, otherwise the build disk is probed for its serial number.
This environmental option and
USE_SOFT_DONGLE
are mutually exclusive. Note they disk serial number must be
pre-encrypted.
Thus, it is generated by running the
hdid(1)
command on the target host:
hdid -ecrypt <disk device>
USE_SOFT_DONGLE
dongle file name | dongle key
tells
pupsconf(1)
to use the (randomised) inode of the specified
dongle file
or the specified
dongle key
as the secure authentication token for building the software. The
dongle file
is assumed to be on the build disk, but the
dongle key
can refer to an appropriate file anywhere, permitting soft dongles to be used for
remote builds. This environmental option and
USE_DISK_SERIAL
are mutually exclusive. Note the dongle key
must be specified in hex.
This key is obtained by running
sdongle(1)
on the target host.