From: "cron2 (Code Review)"
Date: Sat, 2 Dec 2023 15:13:28 +0000
In-Reply-To:
References:
Reply-To: gert@...1296..., arne-openvpn@...1227...,
openvpn-devel@lists.sourceforge.net, frank@...2641...
Message-ID: <932039c736dda98c217705f3998095c97585513c-EmailReplacePatchSet-HTML@...2715...>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Content-Type: multipart/alternative; boundary="fA+LU4QYWuI="; charset=UTF-8
Subject: [Openvpn-devel] [S] Change in openvpn[master]: Remove
unused/unneeded/add missing defines from configure/cmake
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
To: plaisthos , flichtenheld
Cc: openvpn-devel
--fA+LU4QYWuI=
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
cron2 has uploaded a new patch set (#6) to the change originally created by=
plaisthos. ( http://gerrit.openvpn.net/c/openvpn/+/443?usp=3Demail )
The following approvals got outdated and were removed:
Code-Review+2 by flichtenheld
Change subject: Remove unused/unneeded/add missing defines from configure/c=
make
......................................................................
Remove unused/unneeded/add missing defines from configure/cmake
Change-Id: Ifd0376b36d4050dc22bc93b8fcf7ed29faef0021
Signed-off-by: Arne Schwabe
Acked-by: Frank Lichtenheld
Message-Id: <20231201123211.17619-1-frank@...2641...>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg27=
634.html
Signed-off-by: Gert Doering
---
M CMakeLists.txt
M config.h.cmake.in
M configure.ac
3 files changed, 3 insertions(+), 7 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/43/443/6
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d21c9bd..4aa9793 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -167,6 +167,7 @@
check_symbol_exists(getgrnam grp.h HAVE_GETGRNAM)
check_symbol_exists(getpwnam pwd.h HAVE_GETPWNAM)
check_symbol_exists(getsockname sys/socket.h HAVE_GETSOCKNAME)
+check_symbol_exists(getrlimit "sys/time.h;sys/resource.h" HAVE_GETRLIMIT)
# Some OS (e.g. FreeBSD) need some basic headers to allow
# including network headers
diff --git a/config.h.cmake.in b/config.h.cmake.in
index 19b79bc..848c505 100644
--- a/config.h.cmake.in
+++ b/config.h.cmake.in
@@ -140,7 +140,7 @@
#cmakedefine HAVE_GETPWNAM
/* Define to 1 if you have the `getrlimit' function. */
-#undef HAVE_GETRLIMIT
+#cmakedefine HAVE_GETRLIMIT
/* Define to 1 if you have the `getsockname' function. */
#cmakedefine HAVE_GETSOCKNAME
@@ -235,8 +235,6 @@
/* Define to 1 if you have the header file. */
#cmakedefine HAVE_PWD_H
-/* Define to 1 if you have the `readv' function. */
-#undef HAVE_READV
/* Define to 1 if you have the `recvmsg' function. */
#cmakedefine HAVE_RECVMSG
@@ -383,9 +381,6 @@
/* Define to 1 if you have the header file. */
#undef HAVE_VFORK_H
-/* Define to 1 if you have the `vsnprintf' function. */
-#undef HAVE_VSNPRINTF
-
/* we always assume a recent mbed TLS version */
#define HAVE_MBEDTLS_PSA_CRYPTO_H 1
#define HAVE_MBEDTLS_SSL_TLS_PRF 1
diff --git a/configure.ac b/configure.ac
index 84eaad6..141acc6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -655,7 +655,7 @@
AC_CHECK_FUNCS([ \
daemon chroot getpwnam setuid nice system dup dup2 \
syslog openlog mlockall getrlimit getgrnam setgid \
- setgroups flock readv writev time gettimeofday \
+ setgroups flock time gettimeofday \
setsid chdir \
chsize ftruncate execve getpeereid basename dirname access \
epoll_create strsep \
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/443?usp=3Demail
To unsubscribe, or for help writing mail filters, visit http://gerrit.openv=
pn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ifd0376b36d4050dc22bc93b8fcf7ed29faef0021
Gerrit-Change-Number: 443
Gerrit-PatchSet: 6
Gerrit-Owner: plaisthos
Gerrit-Reviewer: flichtenheld
Gerrit-CC: openvpn-devel
Gerrit-MessageType: newpatchset
--fA+LU4QYWuI=
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
cron2 uploaded patch set #6 to the change originally cr=
eated by plaisthos.
View Change
The following approvals got outdated=
and were removed:
Code-Review+2 by flichtenheld
Remove unused/unneeded/add missing defines fr=
om configure/cmake
Change-Id: Ifd0376b36d4050dc22bc93b8fcf7ed29faef0=
021
Signed-off-by: Arne Schwabe <arne@...1227...>
Acked-by: Fra=
nk Lichtenheld <frank@...2641...>
Message-Id: <20231201123211.1=
7619-1-frank@...2641...>
URL: https://www.mail-archive.com/openvpn-de=
vel@lists.sourceforge.net/msg27634.html
Signed-off-by: Gert Doering <=
gert@...1296...>
---
M CMakeLists.txt
M config.h.cmake.in
M =
configure.ac
3 files changed, 3 insertions(+), 7 deletions(-)
=
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/43/443/6
=
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d21c9=
bd..4aa9793 100644
--- a/CMakeLists.txt
+++=
b/CMakeLists.txt
@@ -167,6 +167,7 @@
chec=
k_symbol_exists(getgrnam grp.h HAVE_GETGRNAM)
check_symbol=
_exists(getpwnam pwd.h HAVE_GETPWNAM)
check_symbol_exists(=
getsockname sys/socket.h HAVE_GETSOCKNAME)
+check_symbol_exists(getrlimit "sys/time.h;sys/r=
esource.h" HAVE_GETRLIMIT)
# Some O=
S (e.g. FreeBSD) need some basic headers to allow
# includ=
ing network headers
diff --git a/config.h.cmake.in b/config=
.h.cmake.in
index 19b79bc..848c505 100644
-=
-- a/config.h.cmake.in
+++ b/config.h.cmake.in
@@ -140,7 +140,7 @@
#cmakedefine HAVE_GETPWNAM<=
br>
/* Define to 1 if you have the `getrlimit' =
function. */
-#undef HA=
VE_GETRLIMIT
+#cmaked=
efine HAVE_GETRLIMIT
/* Define to 1 if y=
ou have the `getsockname' function. */
#cmakedefine HA=
VE_GETSOCKNAME
@@ -235,8 +235,6 @@
/* Defi=
ne to 1 if you have the <pwd.h> header file. */
#cma=
kedefine HAVE_PWD_H
-/* Define to 1 if you have the `readv' function. */
-#undef HAVE_READV<=
br>
/* Define to 1 if you have the `recvmsg' fu=
nction. */
#cmakedefine HAVE_RECVMSG
@@ -3=
83,9 +381,6 @@
/* Define to 1 if you have the <vfork.h&=
gt; header file. */
#undef HAVE_VFORK_H
<=
/span>
-/* Define to 1 if you =
have the `vsnprintf' function. */
-#undef HAVE_VSNPRINTF
-
/* we always assume a recent mbed TLS ver=
sion */
#define HAVE_MBEDTLS_PSA_CRYPTO_H 1
#define HAVE_MBEDTLS_SSL_TLS_PRF 1
diff --git a/configur=
e.ac b/configure.ac
index 84eaad6..141acc6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -655,7 +655,7 @@
AC_CHECK_FUNCS([ \
=
daemon chroot getpwnam setuid nice system dup dup2 \
sys=
log openlog mlockall getrlimit getgrnam setgid \
- setgroups flock readv writev time gettimeofday =
\
+ setgroups flock t=
ime gettimeofday \
setsid chdir \
chsiz=
e ftruncate execve getpeereid basename dirname access \
e=
poll_create strsep \
To view, visit change 443=
a>. To unsubscribe, or for help writing mail filters, visit settings.
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ifd0376b36d4050dc22bc93b8fcf=
7ed29faef0021
Gerrit-Change-Number: 443
Gerrit-PatchSet: 6
Gerrit-Owner: plaisthos <arne-openvpn@...1711...=
27...>
Gerrit-Reviewer: flichtenheld <frank@...2716...=
1...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...=
ts.sourceforge.net>
Gerrit-MessageType: newpatchset
--fA+LU4QYWuI=--