pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

leafnode: Updated post-1.11.11 patches.



Module Name:	pkgsrc-wip
Committed By:	Michael Baeuerle <michael.baeuerle%stz-e.de@localhost>
Pushed By:	micha
Date:		Mon Sep 3 12:35:01 2018 +0200
Changeset:	f32b8bf6ae266ecb32c91cae50df6516b35efb32

Modified Files:
	leafnode/distinfo
Added Files:
	leafnode/README
	leafnode/patches/patch-xoverutil.c

Log Message:
leafnode: Updated post-1.11.11 patches.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f32b8bf6ae266ecb32c91cae50df6516b35efb32

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 leafnode/README                    |  2 ++
 leafnode/distinfo                  |  1 +
 leafnode/patches/patch-xoverutil.c | 15 +++++++++++++++
 3 files changed, 18 insertions(+)

diffs:
diff --git a/leafnode/README b/leafnode/README
new file mode 100644
index 0000000000..b2602e4bf0
--- /dev/null
+++ b/leafnode/README
@@ -0,0 +1,2 @@
+Patches "patch-checkpeerlocal.c" and "patch-xoverutil.c" (already merged
+upstream) can be removed for version 1.11.12 (not released yet).
diff --git a/leafnode/distinfo b/leafnode/distinfo
index fc599b5f5b..4bf6669d01 100644
--- a/leafnode/distinfo
+++ b/leafnode/distinfo
@@ -6,3 +6,4 @@ SHA512 (leafnode-1.11.11.tar.bz2) = 3a476a32f2e59ed0812379efc2ad1964347094417e7f
 Size (leafnode-1.11.11.tar.bz2) = 500482 bytes
 SHA1 (patch-Makefile.in) = 5ca379bc986a971c27c3287559c7294f7a4e92de
 SHA1 (patch-checkpeerlocal.c) = a2754f43c6153ce2f781880ed5bac3b90e72954c
+SHA1 (patch-xoverutil.c) = eb7c181aa033a587f53d66cd4d05791c60f49a7c
diff --git a/leafnode/patches/patch-xoverutil.c b/leafnode/patches/patch-xoverutil.c
new file mode 100644
index 0000000000..c016a7e9d6
--- /dev/null
+++ b/leafnode/patches/patch-xoverutil.c
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Accept EEXIST response the same as ENOTEMPTY for rmdir().
+
+--- xoverutil.c.orig	2009-01-30 15:02:52.000000000 +0000
++++ xoverutil.c
+@@ -386,7 +386,7 @@ static void killcwd(void) {
+ 	if (chdir(spooldir)) {
+ 	    ln_log(LNLOG_SERR, LNLOG_CTOP, "error: cannot chdir(%s): %m", spooldir);
+ 	}
+-	if (rmdir(t) && errno != ENOTEMPTY) {
++	if (rmdir(t) && errno != ENOTEMPTY && errno != EEXIST) {
+ 	    ln_log(LNLOG_SERR, LNLOG_CTOP, "error: cannot rmdir(%s): %m", t);
+ 	}
+ 	free(t);


Home | Main Index | Thread Index | Old Index