[Lunar-commits] <moonbase> ctcs: moved patch file to $PATCH_URL
Duncan Gibson
engelsman at lunar-linux.org
Wed Mar 4 20:09:14 CET 2009
commit 3f60151761ff0ec8fda314f942373e52a8b9d23e
Author: Duncan Gibson <engelsman at lunar-linux.org>
Date: Wed Mar 4 20:09:14 2009 +0100
ctcs: moved patch file to $PATCH_URL
ctcs-bind-local.patch was submitted in the ctcs module directory.
this has now been moved to /var/ftp/pub/lunar/patches on doppio.
---
zbeta/ctcs/DETAILS | 1 +
zbeta/ctcs/ctcs-bind-local.patch | 20 --------------------
2 files changed, 1 insertions(+), 20 deletions(-)
diff --git a/zbeta/ctcs/DETAILS b/zbeta/ctcs/DETAILS
index 38de921..1d2110e 100644
--- a/zbeta/ctcs/DETAILS
+++ b/zbeta/ctcs/DETAILS
@@ -11,6 +11,7 @@
ENTERED=20090226
UPDATED=20090304
SHORT="CTorrent Control Server"
+
cat <<EOF
Control Server for ctorrent. With this you can start several ctorrents
running in the background, accessable through a web-interface on your
diff --git a/zbeta/ctcs/ctcs-bind-local.patch b/zbeta/ctcs/ctcs-bind-local.patch
deleted file mode 100644
index f84d2af..0000000
--- a/zbeta/ctcs/ctcs-bind-local.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- ctcs.orig 2008-04-26 22:18:06.000000000 +0200
-+++ ctcs 2009-02-27 01:50:17.000000000 +0100
-@@ -105,2 +105,3 @@
- my $port = 2780;
-+my $listen = "127.0.0.1";
- my $proto = getprotobyname('tcp');
-@@ -113,2 +114,3 @@
- elsif (/^-i$/) { $bwinterval = shift(); }
-+ elsif (/^-l$/) { $listen = shift(); }
- elsif (/^-p$/) { $port = shift(); }
-@@ -135,3 +137,3 @@
- pack("l", 1)) || die "setsockopt: $!";
--bind(Server, sockaddr_in($port, INADDR_ANY)) || die "bind: $!";
-+bind(Server, sockaddr_in($port, inet_aton($listen))) || die "bind: $!";
- listen(Server,SOMAXCONN) || die "listen: $!";
-@@ -2475,3 +2477,3 @@
- sub usage {
-- print "Usage: $0 [-d <dlimit>] [-u <ulimit>] [-i <interval>] [-p <port>] [-P]\r\n";
-+ print "Usage: $0 [-d <dlimit>] [-u <ulimit>] [-i <interval>] [-l <address>] [-p <port>] [-P]\r\n";
- }
More information about the Lunar-commits
mailing list