diff options
Diffstat (limited to 'packages')
-rwxr-xr-x | packages/ubuntu/configure | 20 | ||||
-rw-r--r-- | packages/ubuntu/configure.in | 9 | ||||
-rw-r--r-- | packages/ubuntu/debian/control.in | 2 |
3 files changed, 28 insertions, 3 deletions
diff --git a/packages/ubuntu/configure b/packages/ubuntu/configure index 1fa604ff9..e627b75d0 100755 --- a/packages/ubuntu/configure +++ b/packages/ubuntu/configure @@ -704,6 +704,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +enable_no_sign ' ac_precious_vars='build_alias host_alias @@ -1327,6 +1328,12 @@ if test -n "$ac_init_help"; then esac cat <<\_ACEOF +Optional Features: + --disable-option-checking ignore unrecognized --enable/--with options + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --enable-no-sign do not try to sign any package + Some influential environment variables: CC C compiler command CFLAGS C compiler flags @@ -3331,6 +3338,19 @@ else SIGN_CMD="dpkg-sig" fi +# Check whether --enable-no-sign was given. +if test ${enable_no_sign+y} +then : + enableval=$enable_no_sign; +fi + +if test "${enable_no_sign+set}" = set +then : + + SIGN_CMD="true" + +fi + ac_config_files="$ac_config_files Makefile debian/changelog debian/files debian/control" diff --git a/packages/ubuntu/configure.in b/packages/ubuntu/configure.in index 9009cdb32..4b6a1953f 100644 --- a/packages/ubuntu/configure.in +++ b/packages/ubuntu/configure.in @@ -1,4 +1,4 @@ -AC_INIT([Makefile.in], 1.0) +AC_INIT([Makefile.in],[1.0]) DATE=`date -R` KERNEL=`uname -r` @@ -29,7 +29,7 @@ MAJOR_RELEASE=`$(dirname "${0}")/../version.sh --major-release` GIT_REVISION=`$(dirname "${0}")/../version.sh --revision` AC_CHECK_LIB([maxminddb], [MMDB_lookup_sockaddr]) -AC_HAVE_HEADERS(maxminddb.h) +AC_CHECK_HEADERS([maxminddb.h]) if test ".${ac_cv_lib_maxminddb_MMDB_lookup_sockaddr}" = ".yes" && test ".${ac_cv_header_maxminddb_h}" = ".yes"; then GEOIP_DEP=", libmaxminddb0" @@ -41,6 +41,11 @@ else SIGN_CMD="dpkg-sig" fi +AC_ARG_ENABLE(no-sign, AS_HELP_STRING([--enable-no-sign], [do not try to sign any package])) +AS_IF([test "${enable_no_sign+set}" = set],[ + SIGN_CMD="true" +]) + AC_CONFIG_FILES([Makefile debian/changelog debian/files debian/control]) AC_SUBST(NDPI_VERS) diff --git a/packages/ubuntu/debian/control.in b/packages/ubuntu/debian/control.in index 2a98efe00..fdb05f6bf 100644 --- a/packages/ubuntu/debian/control.in +++ b/packages/ubuntu/debian/control.in @@ -3,7 +3,7 @@ Section: free Priority: optional Maintainer: Luca Deri <deri@ntop.org> Standards-Version: @NDPI_VERS@ -Build-Depends: +Build-Depends: debhelper Build-Conflicts: Package: ndpi |