[wiki] [sites] resolved an error with whitespace for applying patch || Alexandre Hannedouche
commit 441b14608716fdb3fe4ff1abff00bfbf76c97739
Author: Alexandre Hannedouche <hannedouche.alex_AT_gmail.com>
Date: Mon Aug 10 10:53:32 2020 +0200
resolved an error with whitespace for applying patch
diff --git a/tools.suckless.org/ii/patches/ssl/ii-1.8-ssl-20200810-b10421c.diff b/tools.suckless.org/ii/patches/ssl/ii-1.8-ssl-20200810-ecf3902.diff
similarity index 97%
rename from tools.suckless.org/ii/patches/ssl/ii-1.8-ssl-20200810-b10421c.diff
rename to tools.suckless.org/ii/patches/ssl/ii-1.8-ssl-20200810-ecf3902.diff
index e47d789d..649abad6 100644
--- a/tools.suckless.org/ii/patches/ssl/ii-1.8-ssl-20200810-b10421c.diff
+++ b/tools.suckless.org/ii/patches/ssl/ii-1.8-ssl-20200810-ecf3902.diff
_AT_@ -1,7 +1,7 @@
-From b10421c548c3cf3507b8ade1679407a5af6202e6 Mon Sep 17 00:00:00 2001
+From 01a1fa52c49cc22cee184c3b103a118db68bcce1 Mon Sep 17 00:00:00 2001
From: Alexandre Hannedouche <hannedouche.alex_AT_gmail.com>
-Date: Mon, 3 Aug 2020 18:37:01 +0200
-Subject: [PATCH] Adapting ssl patch
+Date: Mon, 10 Aug 2020 10:49:37 +0200
+Subject: [PATCH] porting ssl patch to 1.8
---
config.mk | 2 +-
_AT_@ -44,7 +44,7 @@ index 8e06af7..6d7704c 100644
lets you specify an environment variable that contains your IRC password, e.g. IIPASS="foobar" ii -k IIPASS.
This is done in order to prevent other users from eavesdropping the server password via the process list.
diff --git a/ii.c b/ii.c
-index 426fcff..712f872 100644
+index 426fcff..9a09135 100644
--- a/ii.c
+++ b/ii.c
_AT_@ -20,6 +20,10 @@
_AT_@ -113,7 +113,7 @@ index 426fcff..712f872 100644
fprintf(stderr, "usage: %s <-s host> [-i <irc dir>] [-p <port>] "
- "[-u <sockname>] [-n <nick>] [-k <password>] "
+ "[-e <ssl>] [-u <sockname>] [-n <nick>] [-k <password>] "
- "[-f <fullname>]
", argv0);
+ "[-f <fullname>]
", argv0);
exit(1);
}
_AT_@ -156,7 +156,7 @@ index 426fcff..712f872 100644
+loginuser(conn *ircfd, const char *host, const char *fullname)
{
snprintf(msg, sizeof(msg), "NICK %s
USER %s localhost %s :%s
",
- nick, nick, host, fullname);
+ nick, nick, host, fullname);
_AT_@ -359,12 +382,15 @@ udsopen(const char *uds)
return fd;
}
diff --git a/tools.suckless.org/ii/patches/ssl/index.md b/tools.suckless.org/ii/patches/ssl/index.md
index 59500ce9..eac237f4 100644
--- a/tools.suckless.org/ii/patches/ssl/index.md
+++ b/tools.suckless.org/ii/patches/ssl/index.md
_AT_@ -9,7 +9,7 @@ port of 6697 unless an alternative port is specified with the -p flag.
Download
--------
* [ii-1.7-ssl.diff](ii-1.7-ssl.diff)
-* [ii-1.8-ssl-20200810-b10421c.diff](ii-1.8-ssl-20200810-b10421c.diff)
+* [ii-1.8-ssl-20200810-ecf3902.diff](ii-1.8-ssl-20200810-ecf3902.diff)
Author
------
Received on Mon Aug 10 2020 - 10:55:22 CEST
This archive was generated by hypermail 2.3.0
: Mon Aug 10 2020 - 11:00:46 CEST