summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-mail/hotwayd/files
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-mail/hotwayd/files')
-rw-r--r--net-mail/hotwayd/files/hotwayd-0.8-amd64.patch13
-rw-r--r--net-mail/hotwayd/files/hotwayd-0.8-headerfix.patch24
-rw-r--r--net-mail/hotwayd/files/hotwayd-0.8.xinetd28
-rw-r--r--net-mail/hotwayd/files/hotwayd.xinetd25
4 files changed, 90 insertions, 0 deletions
diff --git a/net-mail/hotwayd/files/hotwayd-0.8-amd64.patch b/net-mail/hotwayd/files/hotwayd-0.8-amd64.patch
new file mode 100644
index 000000000000..a74d9ab9131b
--- /dev/null
+++ b/net-mail/hotwayd/files/hotwayd-0.8-amd64.patch
@@ -0,0 +1,13 @@
+--- 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
new file mode 100644
index 000000000000..b9cb31decefe
--- /dev/null
+++ b/net-mail/hotwayd/files/hotwayd-0.8-headerfix.patch
@@ -0,0 +1,24 @@
+--- 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
new file mode 100644
index 000000000000..c0e50fe7427f
--- /dev/null
+++ b/net-mail/hotwayd/files/hotwayd-0.8.xinetd
@@ -0,0 +1,28 @@
+# 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
+}
diff --git a/net-mail/hotwayd/files/hotwayd.xinetd b/net-mail/hotwayd/files/hotwayd.xinetd
new file mode 100644
index 000000000000..65947585fa77
--- /dev/null
+++ b/net-mail/hotwayd/files/hotwayd.xinetd
@@ -0,0 +1,25 @@
+# default: off
+# description: hotway daemon
+# - By default it listens to port 1100, so please adjust settings in your
+# clients
+# - 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 = 1100
+ server = /usr/sbin/hotwayd
+ #server_args = -p http://proxy:8080 -u proxy_user -q proxy_password
+ log_on_success += USERID
+ log_on_failure += USERID
+ disable = yes
+ type = unlisted
+}