Do not install config files with user/group, as it might not exist on build machine
This commit is contained in:
@@ -204,24 +204,6 @@ else
|
||||
AC_MSG_RESULT([not found])
|
||||
fi
|
||||
|
||||
dnl translate user/group to numercial ids
|
||||
AC_MSG_CHECKING([for uid of user "$ipsecuser"])
|
||||
ipsecuid=`id -u $ipsecuser 2>/dev/null`
|
||||
if test -n "$ipsecuid"; then
|
||||
AC_MSG_RESULT([$ipsecuid])
|
||||
AC_SUBST(ipsecuid)
|
||||
else
|
||||
AC_MSG_ERROR([not found])
|
||||
fi
|
||||
AC_MSG_CHECKING([for gid of group "$ipsecgroup"])
|
||||
ipsecgid=`$EGREP "^$ipsecgroup:" /etc/group | $AWK -F: '{ print $3 }'`
|
||||
if test -n "$ipsecgid"; then
|
||||
AC_MSG_RESULT([$ipsecgid])
|
||||
AC_SUBST(ipsecgid)
|
||||
else
|
||||
AC_MSG_ERROR([not found])
|
||||
fi
|
||||
|
||||
dnl =========================
|
||||
dnl dependency calculation
|
||||
dnl =========================
|
||||
|
||||
Reference in New Issue
Block a user