public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ptpd/files/
@ 2021-04-30 23:27 Sam James
  0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2021-04-30 23:27 UTC (permalink / raw
  To: gentoo-commits

commit:     1609f7769eceac8ce4c5e03d957faaa6b6901ff9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 30 23:16:07 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 30 23:27:27 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1609f776

net-misc/ptpd: drop obsolete LibreSSL patch

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../ptpd-2.3.1-fix-libressl-compatibility.patch    | 24 ----------------------
 1 file changed, 24 deletions(-)

diff --git a/net-misc/ptpd/files/ptpd-2.3.1-fix-libressl-compatibility.patch b/net-misc/ptpd/files/ptpd-2.3.1-fix-libressl-compatibility.patch
deleted file mode 100644
index 4fa25797ff0..00000000000
--- a/net-misc/ptpd/files/ptpd-2.3.1-fix-libressl-compatibility.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -urN old/src/dep/ntpengine/ntp_isc_md5.c new/src/dep/ntpengine/ntp_isc_md5.c
---- old/src/dep/ntpengine/ntp_isc_md5.c	2015-06-29 17:13:29.000000000 +0200
-+++ new/src/dep/ntpengine/ntp_isc_md5.c	2018-09-15 22:56:18.469044902 +0200
-@@ -262,7 +262,7 @@
- {
- 	u_char	digest[64];
- 	u_int	len;
--	EVP_MD_CTX ctx;
-+	PTPD_EVP_MD_CTX ctx;
-         pkt[length / 4] = htonl(keyid); 
- 	EVP_DigestInit(&ctx);
- 	EVP_DigestUpdate(&ctx, (u_char *)key, (u_int)strlen(key));
-diff -urN old/src/dep/ntpengine/ntp_isc_md5.h new/src/dep/ntpengine/ntp_isc_md5.h
---- old/src/dep/ntpengine/ntp_isc_md5.h	2015-06-29 17:13:29.000000000 +0200
-+++ new/src/dep/ntpengine/ntp_isc_md5.h	2018-09-15 22:56:11.852020732 +0200
-@@ -80,7 +80,7 @@
- # define MD5Init(c)             isc_md5_init(c)
- # define MD5Update(c, p, s)     isc_md5_update(c, p, s)
- # define MD5Final(d, c)         isc_md5_final((c), (d)) /* swapped */
--  typedef MD5_CTX                       EVP_MD_CTX;
-+  typedef MD5_CTX                       PTPD_EVP_MD_CTX;
- # define EVP_DigestInit(c)              MD5Init(c)
- # define EVP_DigestUpdate(c, p, s)      MD5Update(c, p, s)
- # define EVP_DigestFinal(c, d, pdl)     \


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/ptpd/files/
@ 2023-11-21  9:27 Ulrich Müller
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Müller @ 2023-11-21  9:27 UTC (permalink / raw
  To: gentoo-commits

commit:     4c1024a4644e41e7bd623d824a1f2c41edf8f5ec
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Wed Nov  1 19:16:32 2023 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Nov 21 09:24:07 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c1024a4

net-misc/ptpd: fix init script, bug #849287

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>

Closes: https://bugs.gentoo.org/849287
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 net-misc/ptpd/files/ptpd2.rc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/ptpd/files/ptpd2.rc b/net-misc/ptpd/files/ptpd2.rc
index bf8e14332298..4896d68149c0 100644
--- a/net-misc/ptpd/files/ptpd2.rc
+++ b/net-misc/ptpd/files/ptpd2.rc
@@ -27,9 +27,9 @@ checkconfig() {
 
 	# colorize output
 	echo "$msgout" | while read ln; do
-		if [[ "$ln" == *ignored* ]]; then
+		if [ "$ln" = *ignored* ]; then
 			ewarn "$ln"
-		elif [[ "$ln" != "Configuration OK" ]]; then
+		elif [ "$ln" != "Configuration OK" ]; then
 			eerror "$ln"
 		fi
 	done


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-11-21  9:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-30 23:27 [gentoo-commits] repo/gentoo:master commit in: net-misc/ptpd/files/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2023-11-21  9:27 Ulrich Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox