summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-01-25 19:52:44 +0000
committermidipix <writeonce@midipix.org>2020-01-25 19:55:48 +0000
commit5beb0915bd49a0e5c603d0368a8f450cd48e0231 (patch)
treec8d73ac647398e8b232cea32b7913f3f0293ce3b
parentafd85ffb8eb946b6e5a5731727e155bccae0ac23 (diff)
downloadntux-5beb0915bd49a0e5c603d0368a8f450cd48e0231.tar.bz2
ntux-5beb0915bd49a0e5c603d0368a8f450cd48e0231.tar.xz
build system: configure: added --srcinfo,--srcsite,--pgprkey,--pgpskey support.
-rw-r--r--Makefile.in6
-rw-r--r--config.usage6
-rwxr-xr-xconfigure22
-rw-r--r--sofort/config/config.vars6
4 files changed, 40 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 0f4facd..aacac6a 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -20,6 +20,12 @@ PKGHOME = @pkghome@
PKGDEFS = @pkgdefs@
PKGLIBS = @pkglibs@
+SRCINFO = @srcinfo@
+SRCSITE = @srcsite@
+
+PGPRKEY = @pgprkey@
+PGPSKEY = @pgpskey@
+
RAWBALL = @rawball@
RAWBALL_URL = @rawball_url@
RAWBALL_SHA256 = @rawball_sha256@
diff --git a/config.usage b/config.usage
index 652c1bb..5074221 100644
--- a/config.usage
+++ b/config.usage
@@ -19,6 +19,12 @@ supported switches:
--pkgdefs
--pkglibs
+ --srcinfo
+ --srcsite
+
+ --pgprkey
+ --pgpskey
+
--rawball
--rawball-url
--rawball-sha256
diff --git a/configure b/configure
index 196c2d7..62c2b11 100755
--- a/configure
+++ b/configure
@@ -124,6 +124,12 @@ init_vars()
mb_custom_cfgdefs_args=''
mb_custom_cfgdefs_space=''
+ mb_srcinfo='$(PROJECT_DIR)/project/srcdist/srcinfo.in'
+ mb_srcsite='localhost'
+
+ mb_pgprkey='!!VARIABLE_NOT_SET!!'
+ mb_pgpskey='!!VARIABLE_NOT_SET!!'
+
sfrt_impl_dir=$mb_project_dir/sofort
sfrt_config_dir=$sfrt_impl_dir/config
sfrt_core_dir=$sfrt_impl_dir/core
@@ -1018,6 +1024,22 @@ for arg ; do
;;
# srcinfo
+ --srcinfo=*)
+ mb_srcinfo=${arg#*=}
+ ;;
+
+ --srcsite=*)
+ mb_srcsite=${arg#*=}
+ ;;
+
+ --pgprkey=*)
+ mb_pgprkey=${arg#*=}
+ ;;
+
+ --pgpskey=*)
+ mb_pgpskey=${arg#*=}
+ ;;
+
--rawball=*)
mb_rawball=${arg#*=}
;;
diff --git a/sofort/config/config.vars b/sofort/config/config.vars
index cce9e70..524b746 100644
--- a/sofort/config/config.vars
+++ b/sofort/config/config.vars
@@ -21,6 +21,12 @@ pkghome
pkgdefs
pkglibs
+srcinfo
+srcsite
+
+pgprkey
+pgpskey
+
rawball
rawball_url
rawball_sha256