aboutsummaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorMikhail Pchelin <misha@FreeBSD.org>2019-03-16 17:08:40 +0000
committerMikhail Pchelin <misha@FreeBSD.org>2019-03-16 17:08:40 +0000
commit57b5bda87893a7f53416ab8b226a913c1da70e05 (patch)
tree8cbaca142c05555f7caa2b70e254becee4a0dafb /irc
parentcf9019161e0aa9cd5991ab1feceecc93a42dab50 (diff)
downloadports-57b5bda87893a7f53416ab8b226a913c1da70e05.tar.gz
ports-57b5bda87893a7f53416ab8b226a913c1da70e05.zip
Notes
Diffstat (limited to 'irc')
-rw-r--r--irc/epic5/Makefile3
-rw-r--r--irc/epic5/distinfo6
-rw-r--r--irc/epic5/files/patch-source_crypto.c84
-rw-r--r--irc/epic5/pkg-plist37
4 files changed, 25 insertions, 105 deletions
diff --git a/irc/epic5/Makefile b/irc/epic5/Makefile
index c76885dd2321..c4bdb49c28ab 100644
--- a/irc/epic5/Makefile
+++ b/irc/epic5/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= epic5
-PORTVERSION= 2.0.1
-PORTREVISION= 1
+PORTVERSION= 2.1.1
CATEGORIES= irc ipv6
MASTER_SITES= http://ftp.epicsol.org/pub/epic/EPIC5-PRODUCTION/
diff --git a/irc/epic5/distinfo b/irc/epic5/distinfo
index d21e693a4160..3dfff0b574ba 100644
--- a/irc/epic5/distinfo
+++ b/irc/epic5/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1470511709
-SHA256 (epic5-2.0.1.tar.xz) = 55260fc832c76f7a4975bde2bd0d0805fd8012fc8908ac94ec8c6de24a1be7aa
-SIZE (epic5-2.0.1.tar.xz) = 808612
+TIMESTAMP = 1552750901
+SHA256 (epic5-2.1.1.tar.xz) = 81e18b5f6aa32c5c4b5d01d4cd94e3124b538e3ba42cf7dbb74a6f1f5081f9df
+SIZE (epic5-2.1.1.tar.xz) = 844992
diff --git a/irc/epic5/files/patch-source_crypto.c b/irc/epic5/files/patch-source_crypto.c
deleted file mode 100644
index 3c0c91e11b45..000000000000
--- a/irc/epic5/files/patch-source_crypto.c
+++ /dev/null
@@ -1,84 +0,0 @@
---- source/crypto.c.orig 2016-08-05 20:49:07 UTC
-+++ source/crypto.c
-@@ -282,28 +282,33 @@ static char * decipher_evp (const unsigned char *passw
- unsigned char *iv = NULL;
- unsigned long errcode;
- int outlen2;
-- EVP_CIPHER_CTX a;
-- EVP_CIPHER_CTX_init(&a);
-- EVP_CIPHER_CTX_set_padding(&a, 0);
-+ EVP_CIPHER_CTX *context = EVP_CIPHER_CTX_new();
-
-+ if(context == NULL) {
-+ yell("ERROR: Could not generate cipher context");
-+ return NULL;
-+ }
-+
-+ EVP_CIPHER_CTX_set_padding(context, 0);
-+
- if (ivsize > 0)
- iv = new_malloc(ivsize);
- outbuf = new_malloc(cipherlen + 1024);
- if (ivsize > 0)
- memcpy(iv, ciphertext, ivsize);
-
-- EVP_DecryptInit_ex(&a, type, NULL, NULL, iv);
-- EVP_CIPHER_CTX_set_key_length(&a, passwdlen);
-- EVP_CIPHER_CTX_set_padding(&a, 0);
-- EVP_DecryptInit_ex(&a, NULL, NULL, passwd, NULL);
-+ EVP_DecryptInit_ex(context, type, NULL, NULL, iv);
-+ EVP_CIPHER_CTX_set_key_length(context, passwdlen);
-+ EVP_CIPHER_CTX_set_padding(context, 0);
-+ EVP_DecryptInit_ex(context, NULL, NULL, passwd, NULL);
-
-- if (EVP_DecryptUpdate(&a, outbuf, outlen, ciphertext, cipherlen) != 1)
-+ if (EVP_DecryptUpdate(context, outbuf, outlen, ciphertext, cipherlen) != 1)
- yell("EVP_DecryptUpdate died.");
-- if (EVP_DecryptFinal_ex(&a, outbuf + (*outlen), &outlen2) != 1)
-+ if (EVP_DecryptFinal_ex(context, outbuf + (*outlen), &outlen2) != 1)
- yell("EVP_DecryptFinal_Ex died.");
- *outlen += outlen2;
-
-- EVP_CIPHER_CTX_cleanup(&a);
-+ EVP_CIPHER_CTX_free(context);
-
- ERR_load_crypto_strings();
- while ((errcode = ERR_get_error()))
-@@ -454,10 +459,15 @@ static char * cipher_evp (const unsigned char *passwd,
- unsigned long errcode;
- u_32int_t randomval;
- int iv_count;
-- EVP_CIPHER_CTX a;
-- EVP_CIPHER_CTX_init(&a);
-- EVP_CIPHER_CTX_set_padding(&a, 0);
-+ EVP_CIPHER_CTX *context = EVP_CIPHER_CTX_new();
-
-+ if(context == NULL) {
-+ yell("ERROR: Could not generate cipher context");
-+ return NULL;
-+ }
-+
-+ EVP_CIPHER_CTX_set_padding(context, 0);
-+
- if (ivsize < 0)
- ivsize = 0; /* Shenanigans! */
-
-@@ -480,12 +490,12 @@ static char * cipher_evp (const unsigned char *passwd,
- if (iv)
- memcpy(outbuf, iv, ivsize);
-
-- EVP_EncryptInit_ex(&a, type, NULL, NULL, iv);
-- EVP_CIPHER_CTX_set_key_length(&a, passwdlen);
-- EVP_EncryptInit_ex(&a, NULL, NULL, passwd, NULL);
-- EVP_EncryptUpdate(&a, outbuf + ivsize, &outlen, plaintext, plaintextlen);
-- EVP_EncryptFinal_ex(&a, outbuf + ivsize + outlen, &extralen);
-- EVP_CIPHER_CTX_cleanup(&a);
-+ EVP_EncryptInit_ex(context, type, NULL, NULL, iv);
-+ EVP_CIPHER_CTX_set_key_length(context, passwdlen);
-+ EVP_EncryptInit_ex(context, NULL, NULL, passwd, NULL);
-+ EVP_EncryptUpdate(context, outbuf + ivsize, &outlen, plaintext, plaintextlen);
-+ EVP_EncryptFinal_ex(context, outbuf + ivsize + outlen, &extralen);
-+ EVP_CIPHER_CTX_free(context);
- outlen += extralen;
-
- ERR_load_crypto_strings();
diff --git a/irc/epic5/pkg-plist b/irc/epic5/pkg-plist
index 685e7b0c94c6..ccd9a04b9934 100644
--- a/irc/epic5/pkg-plist
+++ b/irc/epic5/pkg-plist
@@ -2,39 +2,40 @@ bin/epic5
bin/epic5-%%PORTVERSION%%
libexec/epic5-wserv4
man/man1/epic5.1.gz
+%%PORTDOCS%%%%DOCSDIR%%/antiflooding
%%PORTDOCS%%%%DOCSDIR%%/BUG_FORM
+%%PORTDOCS%%%%DOCSDIR%%/colors
%%PORTDOCS%%%%DOCSDIR%%/DCC_REVERSE
-%%PORTDOCS%%%%DOCSDIR%%/EPIC4-USERS-README
+%%PORTDOCS%%%%DOCSDIR%%/dccresum.txt
+%%PORTDOCS%%%%DOCSDIR%%/entry_points
%%PORTDOCS%%%%DOCSDIR%%/EPIC_ABOUT
%%PORTDOCS%%%%DOCSDIR%%/EPIC_THANKS
%%PORTDOCS%%%%DOCSDIR%%/EPIC_VERSIONS
-%%PORTDOCS%%%%DOCSDIR%%/FILES
-%%PORTDOCS%%%%DOCSDIR%%/IPV6
-%%PORTDOCS%%%%DOCSDIR%%/IRCII_VERSIONS
-%%PORTDOCS%%%%DOCSDIR%%/KNOWNBUGS
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/README-CRYPTO
-%%PORTDOCS%%%%DOCSDIR%%/README.SSL
-%%PORTDOCS%%%%DOCSDIR%%/SILLINESS
-%%PORTDOCS%%%%DOCSDIR%%/TS4
-%%PORTDOCS%%%%DOCSDIR%%/UPDATES
-%%PORTDOCS%%%%DOCSDIR%%/WISHLIST
-%%PORTDOCS%%%%DOCSDIR%%/antiflooding
-%%PORTDOCS%%%%DOCSDIR%%/colors
-%%PORTDOCS%%%%DOCSDIR%%/dccresum.txt
-%%PORTDOCS%%%%DOCSDIR%%/entry_points
%%PORTDOCS%%%%DOCSDIR%%/epic.1
+%%PORTDOCS%%%%DOCSDIR%%/EPIC4-USERS-README
%%PORTDOCS%%%%DOCSDIR%%/epic5.1
%%PORTDOCS%%%%DOCSDIR%%/expansions
+%%PORTDOCS%%%%DOCSDIR%%/FILES
%%PORTDOCS%%%%DOCSDIR%%/fish
+%%PORTDOCS%%%%DOCSDIR%%/IPV6
+%%PORTDOCS%%%%DOCSDIR%%/IRCII_VERSIONS
%%PORTDOCS%%%%DOCSDIR%%/keys
+%%PORTDOCS%%%%DOCSDIR%%/KNOWNBUGS
%%PORTDOCS%%%%DOCSDIR%%/missing
%%PORTDOCS%%%%DOCSDIR%%/nicknames
%%PORTDOCS%%%%DOCSDIR%%/outputhelp
%%PORTDOCS%%%%DOCSDIR%%/pf-loader
+%%PORTDOCS%%%%DOCSDIR%%/python
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/README-CRYPTO
+%%PORTDOCS%%%%DOCSDIR%%/README.SSL
%%PORTDOCS%%%%DOCSDIR%%/scrollind
+%%PORTDOCS%%%%DOCSDIR%%/SILLINESS
+%%PORTDOCS%%%%DOCSDIR%%/TS4
+%%PORTDOCS%%%%DOCSDIR%%/UPDATES
%%PORTDOCS%%%%DOCSDIR%%/utf8
%%PORTDOCS%%%%DOCSDIR%%/what-needs-rewriting
+%%PORTDOCS%%%%DOCSDIR%%/WISHLIST
%%PORTDOCS%%%%DOCSDIR%%/word-lists
%%PORTDOCS%%%%DOCSDIR%%/word-support
%%DATADIR%%/script/2.8script
@@ -51,6 +52,7 @@ man/man1/epic5.1.gz
%%DATADIR%%/script/chanmonitor
%%DATADIR%%/script/commandqueues
%%DATADIR%%/script/country
+%%DATADIR%%/script/ctcp
%%DATADIR%%/script/cycle
%%DATADIR%%/script/data_array
%%DATADIR%%/script/data_struct
@@ -60,6 +62,7 @@ man/man1/epic5.1.gz
%%DATADIR%%/script/edit_topic
%%DATADIR%%/script/epic-crypt-gpg
%%DATADIR%%/script/epic-crypt-gpg-aa
+%%DATADIR%%/script/epic.py
%%DATADIR%%/script/files
%%DATADIR%%/script/find_ssl_root_certs
%%DATADIR%%/script/floodprot
@@ -97,6 +100,7 @@ man/man1/epic5.1.gz
%%DATADIR%%/script/notify
%%DATADIR%%/script/paste
%%DATADIR%%/script/pipe
+%%DATADIR%%/script/python
%%DATADIR%%/script/reconnect
%%DATADIR%%/script/rejoin
%%DATADIR%%/script/renumber
@@ -108,6 +112,7 @@ man/man1/epic5.1.gz
%%DATADIR%%/script/screen.e
%%DATADIR%%/script/set_color
%%DATADIR%%/script/setmail
+%%DATADIR%%/script/shorturl.irc
%%DATADIR%%/script/slowcat
%%DATADIR%%/script/snip
%%DATADIR%%/script/speak.irc