summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2018-06-01 14:48:45 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2018-06-01 14:51:46 -0700
commit47d734b5d4acb322b1db5b57a45e59c936380b06 (patch)
treeeac9b6c8225f233e9f0f2837c080db4700720a5a /net-misc/omnisync/files/omnisync-1.0-statfile.patch
parentdev-python/mysql-connector-python: Revbump for python 3.6 (diff)
downloadgentoo-47d734b5d4acb322b1db5b57a45e59c936380b06.tar.gz
gentoo-47d734b5d4acb322b1db5b57a45e59c936380b06.tar.bz2
gentoo-47d734b5d4acb322b1db5b57a45e59c936380b06.zip
net-misc/omnisync: fix bugs, allow multiple instances
Code bugs: - Fix --help display - Raise SHM unit limit - getopt loop failed to apply stats_file setting. Init improvement: - allow multiple instances. - write pidfile - declare that we use DNS (in case it starts before local resolver) Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Package-Manager: Portage-2.3.33, Repoman-2.3.9
Diffstat (limited to 'net-misc/omnisync/files/omnisync-1.0-statfile.patch')
-rw-r--r--net-misc/omnisync/files/omnisync-1.0-statfile.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/net-misc/omnisync/files/omnisync-1.0-statfile.patch b/net-misc/omnisync/files/omnisync-1.0-statfile.patch
new file mode 100644
index 000000000000..972316a33bd1
--- /dev/null
+++ b/net-misc/omnisync/files/omnisync-1.0-statfile.patch
@@ -0,0 +1,18 @@
+main: wire up stats_file variable
+
+Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
+
+diff -Nuar --exclude '*~' omnisync-1.0.orig/main.c omnisync-1.0/main.c
+--- omnisync-1.0.orig/main.c 2009-01-02 01:03:20.000000000 -0800
++++ omnisync-1.0/main.c 2018-06-01 14:39:22.115229735 -0700
+@@ -358,6 +358,10 @@
+ version();
+ return 0;
+
++ case 'S':
++ stats_file = optarg;
++ break;
++
+ default:
+ help();
+ return 1;