net-mail/hotwayd: remove unused patches/file
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>
Sun, 15 Jan 2017 09:25:07 +0000 (10:25 +0100)
committerDavid Seifert <soap@gentoo.org>
Sun, 15 Jan 2017 09:49:41 +0000 (10:49 +0100)
Closes: https://github.com/gentoo/gentoo/pull/3488

net-mail/hotwayd/files/hotwayd-0.8-amd64.patch [deleted file]
net-mail/hotwayd/files/hotwayd-0.8-headerfix.patch [deleted file]
net-mail/hotwayd/files/hotwayd-0.8.xinetd [deleted file]

diff --git a/net-mail/hotwayd/files/hotwayd-0.8-amd64.patch b/net-mail/hotwayd/files/hotwayd-0.8-amd64.patch
deleted file mode 100644 (file)
index a74d9ab..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
---- hotwayd-0.8/work/hotwayd-0.8/libghttp-1.0.9-mod/md5.h      2002-11-02 00:54:21.000000000 +0000
-+++ hotwayd-0.8_patched/work/hotwayd-0.8/libghttp-1.0.9-mod/md5.h      2004-07-26 15:51:20.634345504 +0100
-@@ -38,7 +38,9 @@
- typedef unsigned short int UINT2;
- /* UINT4 defines a four byte word */
--typedef unsigned long int UINT4;
-+// not on x86_64 it ain't...
-+//typedef unsigned long int UINT4;
-+typedef unsigned int UINT4;
- /* PROTO_LIST is defined depending on how PROTOTYPES is defined above.
-   If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it
diff --git a/net-mail/hotwayd/files/hotwayd-0.8-headerfix.patch b/net-mail/hotwayd/files/hotwayd-0.8-headerfix.patch
deleted file mode 100644 (file)
index b9cb31d..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
---- hotwayd-0.8.orig/commands.c        2004-02-07 06:44:05.000000000 -0500
-+++ hotwayd-0.8/commands.c     2004-10-03 15:53:25.636497904 -0400
-@@ -1037,12 +1037,16 @@
- char *grow_and_copy(char *dest, int curpos, char *src, int i)
- {
--  if(!(dest = realloc(dest, curpos+i+1)))
-+  char* temp = 0;
-+  if(!(temp = malloc(curpos+i+1)))
-     return NULL;
--
--  strlcat(dest, src, curpos+i+1);
--
--  return dest;
-+ 
-+  memcpy(temp, dest, curpos);
-+  memcpy(temp+curpos, src, i);
-+  temp[curpos+i] = '\0';
-+ 
-+  free(dest);
-+  return temp;
- }
- int proxy_sanity_check(void) {
diff --git a/net-mail/hotwayd/files/hotwayd-0.8.xinetd b/net-mail/hotwayd/files/hotwayd-0.8.xinetd
deleted file mode 100644 (file)
index c0e50fe..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-# default: off
-# description: hotway daemon
-#   - You need to add a line that says "hotwayd         110/tcp" to your
-#     /etc/services file. Change the port number if necessary, see below.
-#   - By default it listens to port 110 (default for pop3)
-#     If you already have a pop3 server running, or you want it to listen
-#     to another port change the value of "port = 110" below.
-#     Change the value in your email client and in /etc/services accordingly.
-#   - By default it only allows access from localhost.
-#   - Also all xinetd entries do not start by default.
-#     One should manually enable the entries that one wants by
-#     changing the value of "disable = yes" to "disable = no".
-#   - Restart xinetd after changing anything in this file:
-#     # /etc/init.d/xinetd restart
-
-service hotwayd
-{
-        only_from               = localhost
-       socket_type             = stream
-       wait                    = no
-       user                    = nobody
-       port                    = 110
-       server                  = /usr/sbin/hotwayd
-       #server_args            = - http://proxy:8080 -u proxy_user -q proxy_password
-       log_on_success          += USERID
-       log_on_failure          += USERID
-       disable                 = yes
-}