diff options
author | crees <crees@FreeBSD.org> | 2013-01-18 14:38:36 +0000 |
---|---|---|
committer | crees <crees@FreeBSD.org> | 2013-01-18 14:38:36 +0000 |
commit | e0141301c4c7750f940c680148c1eb7bad5cfdf3 (patch) | |
tree | 4cf10d782d5ef0deed9ee34626609a14ccf898ef /irc/psybnc/files | |
parent | d5519afacd57d1c904a84d2ba566e323fdc4acc9 (diff) | |
download | FreeBSD-ports-e0141301c4c7750f940c680148c1eb7bad5cfdf3.zip FreeBSD-ports-e0141301c4c7750f940c680148c1eb7bad5cfdf3.tar.gz |
Interactivity is now an OPTION, thus making a package available
While here, sanitise patchfile names
Diffstat (limited to 'irc/psybnc/files')
-rw-r--r-- | irc/psybnc/files/patch-Makefile (renamed from irc/psybnc/files/patch-aa) | 0 | ||||
-rw-r--r-- | irc/psybnc/files/patch-ae | 13 | ||||
-rw-r--r-- | irc/psybnc/files/patch-lang_english.lng (renamed from irc/psybnc/files/patch-ab) | 0 | ||||
-rw-r--r-- | irc/psybnc/files/patch-lang_german.lng (renamed from irc/psybnc/files/patch-ac) | 0 | ||||
-rw-r--r-- | irc/psybnc/files/patch-lang_italiano.lng (renamed from irc/psybnc/files/patch-ad) | 0 | ||||
-rw-r--r-- | irc/psybnc/files/patch-src_p_global.h | 13 | ||||
-rw-r--r-- | irc/psybnc/files/patch-src_p_string.c (renamed from irc/psybnc/files/patch-af) | 0 | ||||
-rw-r--r-- | irc/psybnc/files/patch-src_psybnc.c (renamed from irc/psybnc/files/patch-ag) | 0 | ||||
-rw-r--r-- | irc/psybnc/files/patch-tools_autoconf.c (renamed from irc/psybnc/files/patch-ah) | 11 | ||||
-rw-r--r-- | irc/psybnc/files/pkg-message.in | 10 |
10 files changed, 29 insertions, 18 deletions
diff --git a/irc/psybnc/files/patch-aa b/irc/psybnc/files/patch-Makefile index 85e3a71..85e3a71 100644 --- a/irc/psybnc/files/patch-aa +++ b/irc/psybnc/files/patch-Makefile diff --git a/irc/psybnc/files/patch-ae b/irc/psybnc/files/patch-ae deleted file mode 100644 index 5138e6c..0000000 --- a/irc/psybnc/files/patch-ae +++ /dev/null @@ -1,13 +0,0 @@ ---- ./src/p_global.h Sun Jul 7 08:07:23 2002 -+++ ../../psybnc.mina/src/p_global.h Sun Nov 24 18:20:55 2002 -@@ -1264,8 +1264,8 @@ - #define pcontext { strmncpy(ctxt,__FILE__,sizeof(ctxt)); strmncpy(cfunc,__FUNCTION__,sizeof(cfunc)); cline=__LINE__; } - #define pmalloc(n) __pmalloc((n),__FILE__,__FUNCTION__,__LINE__) - --#define SSLCERT "key/psybnc.cert.pem" --#define SSLKEY "key/psybnc.key.pem" -+#define SSLCERT PSYBASE "/key/psybnc.cert.pem" -+#define SSLKEY PSYBASE "/key/psybnc.key.pem" - - #ifdef HAVE_SSL - #ifndef SSLSEC diff --git a/irc/psybnc/files/patch-ab b/irc/psybnc/files/patch-lang_english.lng index 67225e3..67225e3 100644 --- a/irc/psybnc/files/patch-ab +++ b/irc/psybnc/files/patch-lang_english.lng diff --git a/irc/psybnc/files/patch-ac b/irc/psybnc/files/patch-lang_german.lng index 8f19c8c..8f19c8c 100644 --- a/irc/psybnc/files/patch-ac +++ b/irc/psybnc/files/patch-lang_german.lng diff --git a/irc/psybnc/files/patch-ad b/irc/psybnc/files/patch-lang_italiano.lng index 8b26de1..8b26de1 100644 --- a/irc/psybnc/files/patch-ad +++ b/irc/psybnc/files/patch-lang_italiano.lng diff --git a/irc/psybnc/files/patch-src_p_global.h b/irc/psybnc/files/patch-src_p_global.h index 5cf165b..67a4f7e 100644 --- a/irc/psybnc/files/patch-src_p_global.h +++ b/irc/psybnc/files/patch-src_p_global.h @@ -1,3 +1,16 @@ +--- ./src/p_global.h Sun Jul 7 08:07:23 2002 ++++ ../../psybnc.mina/src/p_global.h Sun Nov 24 18:20:55 2002 +@@ -1264,8 +1264,8 @@ + #define pcontext { strmncpy(ctxt,__FILE__,sizeof(ctxt)); strmncpy(cfunc,__FUNCTION__,sizeof(cfunc)); cline=__LINE__; } + #define pmalloc(n) __pmalloc((n),__FILE__,__FUNCTION__,__LINE__) + +-#define SSLCERT "key/psybnc.cert.pem" +-#define SSLKEY "key/psybnc.key.pem" ++#define SSLCERT PSYBASE "/key/psybnc.cert.pem" ++#define SSLKEY PSYBASE "/key/psybnc.key.pem" + + #ifdef HAVE_SSL + #ifndef SSLSEC diff -urN src/p_global.h psybnc.new/src/p_global.h --- src/p_global.h 2005-06-04 22:22:45.000000000 +0400 +++ src/p_global.h 2008-02-25 23:36:21.000000000 +0300 diff --git a/irc/psybnc/files/patch-af b/irc/psybnc/files/patch-src_p_string.c index 94851f4..94851f4 100644 --- a/irc/psybnc/files/patch-af +++ b/irc/psybnc/files/patch-src_p_string.c diff --git a/irc/psybnc/files/patch-ag b/irc/psybnc/files/patch-src_psybnc.c index 07c3209..07c3209 100644 --- a/irc/psybnc/files/patch-ag +++ b/irc/psybnc/files/patch-src_psybnc.c diff --git a/irc/psybnc/files/patch-ah b/irc/psybnc/files/patch-tools_autoconf.c index b93ae35..9e281d8 100644 --- a/irc/psybnc/files/patch-ah +++ b/irc/psybnc/files/patch-tools_autoconf.c @@ -1,6 +1,6 @@ ---- ./tools/autoconf.c Fri May 17 13:21:08 2002 -+++ ../../psybnc.mina/tools/autoconf.c Sun Nov 24 19:43:42 2002 -@@ -442,9 +442,9 @@ +--- tools/autoconf.c.orig 2006-11-16 00:27:04.000000000 +0000 ++++ tools/autoconf.c 2013-01-18 13:55:10.102047624 +0000 +@@ -443,9 +443,9 @@ fprintf(makefile,"INCLUDE = -I./src/ -I.\n"); fprintf(makefile,"OBJS = src/psybnc.o src/match.o src/p_client.o src/p_crypt.o src/p_dcc.o src/p_hash.o src/p_idea.o src/p_inifunc.o src/p_link.o src/p_log.o src/p_memory.o src/p_network.o src/p_parse.o src/p_peer.o src/p_server.o src/p_socket.o src/p_string.o src/p_sysmsg.o src/p_userfile.o src/p_uchannel.o src/p_script.o src/p_topology.o src/p_intnet.o src/p_blowfish.o src/p_translate.o src/p_coredns.o src/snprintf.o %s\n",env); if(provi==0) @@ -12,12 +12,13 @@ fprintf(makefile,"TARGET = psybnc\n"); fprintf(makefile,"\n"); fprintf(makefile,"all: $(OBJS)\n"); -@@ -452,7 +452,7 @@ +@@ -453,7 +453,8 @@ fprintf(makefile," @strip $(TARGET)\n"); if(ssl==0) { - if(!fexists("key/psybnc.cert.pem")) /* only create, if not exist */ -+ if(!fexists(PSYBASE "/key/psybnc.cert.pem")) /* only create, if not exist */ ++ if(!fexists(PSYBASE "/key/psybnc.cert.pem") && ++ !fexists("key/psybnc.cert.pem")) /* only create, if not exist */ { mkdir("key",0700); fprintf(makefile," @echo \"*** GENERATING SSL-KEYS FROM CERTIFICATE **\"\n"); diff --git a/irc/psybnc/files/pkg-message.in b/irc/psybnc/files/pkg-message.in new file mode 100644 index 0000000..5adf0b1 --- /dev/null +++ b/irc/psybnc/files/pkg-message.in @@ -0,0 +1,10 @@ +If you have not created SSL certificates for psybnc already, do so using the +following commands: + +cd %%PSYBASE%% +/usr/bin/openssl req -new -config key/ssl.cnf -out key/psybnc.req.pem \ + -keyout key/psybnc.key.pem -nodes +/usr/bin/openssl req -x509 -days 365 -in key/psybnc.req.pem \ + -key key/psybnc.key.pem -out key/psybnc.cert.pem +/usr/bin/openssl x509 -subject -dates -fingerprint -noout \ + -in key/psybnc.cert.pem |