|
@ -583,10 +583,11 @@ PACKAGE_URL='' |
|
|
|
|
|
|
|
|
ac_subst_vars='LTLIBOBJS |
|
|
ac_subst_vars='LTLIBOBJS |
|
|
LIBOBJS |
|
|
LIBOBJS |
|
|
N2N_VERSION_SHORT |
|
|
RPM_SIGN_CMD |
|
|
GIT_COMMITS |
|
|
|
|
|
DATE |
|
|
DATE |
|
|
EXTN |
|
|
EXTN |
|
|
|
|
|
GIT_COMMITS |
|
|
|
|
|
N2N_VERSION_SHORT |
|
|
MACHINE |
|
|
MACHINE |
|
|
APP |
|
|
APP |
|
|
target_alias |
|
|
target_alias |
|
@ -1668,6 +1669,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# NOTE: this file is not actually used. You need to edit configure as well! |
|
|
|
|
|
N2N_VERSION_SHORT=`grep N2N_VERSION_SHORT ../../Makefile | head -1| cut -d "=" -f 2` |
|
|
|
|
|
GIT_COMMITS=`grep GIT_COMMITS ../../Makefile | head -1| cut -d "=" -f 2` |
|
|
|
|
|
|
|
|
MACHINE=`uname -m` |
|
|
MACHINE=`uname -m` |
|
|
SHORT_MACHINE=`uname -m | cut -b1-3` |
|
|
SHORT_MACHINE=`uname -m | cut -b1-3` |
|
|
|
|
|
|
|
@ -1693,10 +1698,17 @@ else |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
APP=n2n |
|
|
APP=n2n |
|
|
N2N_VERSION_SHORT=`grep N2N_VERSION_SHORT ../../Makefile | head -1| cut -d "=" -f 2` |
|
|
|
|
|
GIT_COMMITS=`grep GIT_COMMITS ../../Makefile | head -1| cut -d "=" -f 2` |
|
|
|
|
|
DATE=`date -R` |
|
|
DATE=`date -R` |
|
|
|
|
|
|
|
|
|
|
|
CENTOS_RELEASE=`cat /etc/centos-release | cut -d ' ' -f 3|cut -d '.' -f 1` |
|
|
|
|
|
if test $CENTOS_RELEASE = "release"; then |
|
|
|
|
|
CENTOS_RELEASE=`cat /etc/centos-release | cut -d ' ' -f 4|cut -d '.' -f 1` |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
RPM_SIGN_CMD="rpm --addsign" |
|
|
|
|
|
if test "$CENTOS_RELEASE" -ne 8; then |
|
|
|
|
|
RPM_SIGN_CMD="./rpm-sign.exp" |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|