Do not install config files with user/group, as it might not exist on build machine

This commit is contained in:
Martin Willi
2011-01-17 18:08:17 +01:00
parent 64e06d4f8f
commit 2b52d5cb41
3 changed files with 11 additions and 29 deletions
-18
View File
@@ -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 =========================