ALT Linux repositórios
S: | 2.0-alt2 |
5.0: | 1.34-alt1 |
4.1: | 1.34-alt1 |
4.0: | 1.33-alt0.1 |
3.0: | |
+backports: | 1.30-alt0.M30.0.1 |
Group :: Ferramentas de Arquivo
RPM: csync2
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: csync2.patch
Download
Download
--- csync2.xinetd.orig 2006-03-31 17:05:57 +0400
+++ csync2.xinetd 2006-03-31 17:10:56 +0400
@@ -1,7 +1,12 @@
-# default: on
+# default: off
# description: csync2
service csync2
{
+ disable = yes
+ # don't wish to add into /etc/services
+ type = unlisted
+ protocol = tcp
+ port = 30865
flags = REUSE
socket_type = stream
wait = no
@@ -10,6 +15,5 @@
server = /usr/sbin/csync2
server_args = -i
#log_on_failure += USERID
- disable = no
# only_from = 192.168.199.3 192.168.199.4
}
--- csync2.c.orig 2006-02-02 15:48:09 +0300
+++ csync2.c 2006-03-31 17:18:47 +0400
@@ -180,7 +180,7 @@
"Creating key file:\n"
" %s -k filename\n"
"\n"
-"Csync2 will refuse to do anything when a " ETCDIR "/csync2.lock file is found.\n"
+"Csync2 will refuse to do anything when a " DBDIR "/csync2.lock file is found.\n"
"\n",
cmd, cmd);
exit(1);
@@ -287,8 +287,8 @@
return create_keyfile(argv[2]);
}
- if (!access(ETCDIR "/csync2.lock", F_OK)) {
- printf("Found " ETCDIR "/csync2.lock.\n");
+ if (!access(DBDIR "/csync2.lock", F_OK)) {
+ printf("Found " DBDIR "/csync2.lock.\n");
return 1;
}