Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F7077691
Command-Line Input
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
swills
Jul 17 2020, 9:42 AM
2020-07-17 09:42:28 (UTC+0)
Size
7 KB
Referenced Files
None
Subscribers
None
Command-Line Input
View Options
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# ./pkg-descr
# ./files/patch-quassel-irssi-079be66_core_irssi_network-openssl.c
# ./files/patch-QuasselC-a0a1e6b_quasselc.h
# ./files/patch-quassel-irssi-079be66_core_Makefile
# ./files/patch-quassel-irssi-079be66_core_quassel-net.c
# ./files/patch-QuasselC-a0a1e6b_Makefile
# ./Makefile
# ./distinfo
#
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << '0e313719ff012ceaf97a028d51caa8f5'
XAn irssi plugin to connect to quassel core
X
XWWW: https://github.com/phhusson/quassel-irssi
0e313719ff012ceaf97a028d51caa8f5
echo x - ./files/patch-quassel-irssi-079be66_core_irssi_network-openssl.c
sed 's/^X//' >./files/patch-quassel-irssi-079be66_core_irssi_network-openssl.c << '4cc804931013831ff1e52bb9121f910d'
X--- quassel-irssi-079be66/core/irssi/network-openssl.c.orig 2020-07-17 07:35:13 UTC
X+++ quassel-irssi-079be66/core/irssi/network-openssl.c
X@@ -437,11 +437,11 @@ GIOChannel *irssi_ssl_get_iochannel(GIOChannel *handle
X SSL *ssl;
X SSL_CTX *ctx = NULL;
X
X- const char *mycert = server->connrec->ssl_cert;
X- const char *mypkey = server->connrec->ssl_pkey;
X- const char *cafile = server->connrec->ssl_cafile;
X- const char *capath = server->connrec->ssl_capath;
X- gboolean verify = server->connrec->ssl_verify;
X+ const char *mycert = server->connrec->tls_cert;
X+ const char *mypkey = server->connrec->tls_pkey;
X+ const char *cafile = server->connrec->tls_cafile;
X+ const char *capath = server->connrec->tls_capath;
X+ gboolean verify = server->connrec->tls_verify;
X
X g_return_val_if_fail(handle != NULL, NULL);
X
4cc804931013831ff1e52bb9121f910d
echo x - ./files/patch-QuasselC-a0a1e6b_quasselc.h
sed 's/^X//' >./files/patch-QuasselC-a0a1e6b_quasselc.h << 'e341a36d1d6e3904cddbc7c4f6e426b2'
X--- QuasselC-a0a1e6b/quasselc.h.orig 2020-07-17 07:13:05 UTC
X+++ QuasselC-a0a1e6b/quasselc.h
X@@ -5,7 +5,7 @@
X #include "bot.h"
X #include "cmds.h"
X #include "display.h"
X-#include "endian.h"
X+#include "sys/endian.h"
X #include "getters.h"
X #include "io.h"
X #include "setters.h"
e341a36d1d6e3904cddbc7c4f6e426b2
echo x - ./files/patch-quassel-irssi-079be66_core_Makefile
sed 's/^X//' >./files/patch-quassel-irssi-079be66_core_Makefile << 'ff850790bf72c47a4f291bd7f7ec1636'
X--- quassel-irssi-079be66/core/Makefile.orig 2017-11-30 17:40:51 UTC
X+++ quassel-irssi-079be66/core/Makefile
X@@ -3,7 +3,7 @@ DESTDIR ?=
X LIBDIR ?= /usr/lib
X
X #IRSSI_INCLUDE:=/home/phh/irssi-0.8.16-rc1.phh/
X-IRSSI_INCLUDE:=/usr/include/irssi/
X+IRSSI_INCLUDE?=/usr/include/irssi/
X IRSSI_LIB?=$(DESTDIR)/$(LIBDIR)/irssi
X IRSSI_CFLAGS+=-I$(IRSSI_INCLUDE)/src/
X IRSSI_CFLAGS+=-I$(IRSSI_INCLUDE)/src/core/
X@@ -12,8 +12,8 @@ IRSSI_CFLAGS+=-I$(IRSSI_INCLUDE)/src/fe-common/core/
X IRSSI_CFLAGS+=-I$(IRSSI_INCLUDE)/src/fe-text/
X IRSSI_CFLAGS+=$(shell pkg-config glib-2.0 --cflags)
X IRSSI_CFLAGS+=-DUOFF_T_LONG -fPIC -DHAVE_OPENSSL
X-SSL_CFLAGS=$(shell pkg-config --cflags openssl)
X-SSL_LDLAGS=$(shell pkg-config --libs openssl)
X+SSL_CFLAGS?=$(shell pkg-config --cflags openssl)
X+SSL_LDLAGS?=$(shell pkg-config --libs openssl)
X OBJECTS:=quasselc-connector.o quassel-core.o
X OBJECTS+=quassel-net.o quassel-msgs.o quassel-cmds.o
X OBJECTS+=irssi/network-openssl.o
X@@ -28,7 +28,7 @@ else
X LDFLAGS += -lquasselc
X endif
X
X-CFLAGS=-std=gnu11 -Wall -Wextra -Werror -g -O2 $(IRSSI_CFLAGS) $(QUASSELC_FLAGS) -Wmissing-prototypes -Wmissing-declarations
X+CFLAGS+=-std=gnu11 -Wall -Wextra $(IRSSI_CFLAGS) $(QUASSELC_FLAGS) -Wmissing-prototypes -Wmissing-declarations
X
X CFLAGS += $(SSL_CFLAGS)
X LDFLAGS+= $(SSL_LDLAGS)
X@@ -49,7 +49,7 @@ irssi/network-openssl.o: CFLAGS:=$(IRSSI_CFLAGS)
X quasselc-connector.o: CFLAGS:=$(CFLAGS)
X
X $(TARGET): $(OBJECTS)
X- gcc -shared $^ -o $@ -lz $(LDFLAGS)
X+ $(CC) -shared $^ -o $@ -lz $(LDFLAGS)
X
X install: $(TARGET)
X $(INSTALL) -d $(IRSSI_LIB)/modules
ff850790bf72c47a4f291bd7f7ec1636
echo x - ./files/patch-quassel-irssi-079be66_core_quassel-net.c
sed 's/^X//' >./files/patch-quassel-irssi-079be66_core_quassel-net.c << '96ef3b7e883da71e76eefba9666c05d7'
X--- quassel-irssi-079be66/core/quassel-net.c.orig 2020-07-17 07:33:07 UTC
X+++ quassel-irssi-079be66/core/quassel-net.c
X@@ -117,6 +117,15 @@ static const char *get_nick_flags(SERVER_REC *server)
X return "";
X }
X
X+static const int ischannel(SERVER_REC* server, const char* chan) {
X+ (void) server;
X+ (void) chan;
X+ char *p = index(chan, '-');
X+ if(!p)
X+ return 0;
X+ return *(p+1) == '#' || *(p+1) == '&';
X+}
X+
X static SERVER_REC* quassel_server_init_connect(SERVER_CONNECT_REC* conn) {
X Quassel_SERVER_CONNECT_REC *r = (Quassel_SERVER_CONNECT_REC*) conn;
X
X@@ -132,22 +141,14 @@ static SERVER_REC* quassel_server_init_connect(SERVER_
X ret->got = 0;
X server_connect_ref(SERVER_CONNECT(conn));
X
X- if(conn->use_ssl) {
X+ if(conn->use_tls) {
X ret->ssl = 1;
X }
X- ret->connrec->use_ssl = 0;
X+ ret->connrec->use_tls = 0;
X
X ret->channels_join = quassel_irssi_channels_join;
X ret->send_message = quassel_irssi_send_message;
X ret->get_nick_flags = get_nick_flags;
X- auto int ischannel(SERVER_REC* server, const char* chan) {
X- (void) server;
X- (void) chan;
X- char *p = index(chan, '-');
X- if(!p)
X- return 0;
X- return *(p+1) == '#' || *(p+1) == '&';
X- }
X ret->ischannel = ischannel;
X
X server_connect_init((SERVER_REC*)ret);
96ef3b7e883da71e76eefba9666c05d7
echo x - ./files/patch-QuasselC-a0a1e6b_Makefile
sed 's/^X//' >./files/patch-QuasselC-a0a1e6b_Makefile << 'c8f9e31d440730786f4f42d590af2f18'
X--- QuasselC-a0a1e6b/Makefile.orig 2017-01-11 17:27:31 UTC
X+++ QuasselC-a0a1e6b/Makefile
X@@ -2,11 +2,11 @@ prefix ?= /usr/local
X libdir ?= $(prefix)/lib
X includedir ?= $(prefix)/include
X
X-CFLAGS:=-Wall -g -Wextra $(shell pkg-config glib-2.0 --cflags) -Wswitch-enum -std=gnu11 -O2 -fPIC
X+CFLAGS+=-Wall -Wextra $(shell pkg-config glib-2.0 --cflags) -Wswitch-enum -std=gnu11 -fPIC
X SO_VERSION = 0
X VERSION = 0
X INSTALL = install
X-LDLIBS:=$(shell pkg-config glib-2.0 --libs) -lz
X+LDLIBS+=$(shell pkg-config glib-2.0 --libs) -lz -liconv $(LDFLAGS)
X
X BOTLIBS := -Wl,-rpath,.
X
c8f9e31d440730786f4f42d590af2f18
echo x - ./Makefile
sed 's/^X//' >./Makefile << '464ef7c6571951809b23e262cbe26e19'
X# $FreeBSD$
X
XPORTNAME= quassel-irssi
XPORTVERSION= g2020071601
XCATEGORIES= irc
X
XMAINTAINER= swills@FreeBSD.org
XCOMMENT= Great irssi plugin to connect to quassel core
X
XBUILD_DEPENDS= irssi:irc/irssi
XRUN_DEPENDS= irssi:irc/irssi
X
XUSES= gmake iconv pkgconfig ssl
XPATCH_WRKSRC= ${WRKDIR}
X
XWRKSRC_SUBDIR= core
X
XUSE_GITHUB= yes
XGH_TUPLE= phhusson:${PORTNAME}:079be66:DEFAULT \
X phhusson:QuasselC:a0a1e6b:QuasselC
X
XMAKE_ARGS= IRSSI_INCLUDE=${LOCALBASE}/include/irssi \
X LIBDIR=${PREFIX}/lib \
X QUASSELC_FLAGS=-I${WRKSRC_QuasselC}
XCFLAGS+= ${OPENSSL_CFLAGS}
XLDLAGS+= ${OPENSSL_LDFLAGS}
X
XPLIST_FILES= lib/irssi/modules/libquassel_core.so
X
Xpre-build:
X @cd ${WRKSRC_QuasselC} ; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS:N${DESTDIRNAME}=*}
X @${CP} ${WRKSRC_QuasselC}/*.o ${WRKSRC_QuasselC}/libquasselc.so.0 ${WRKSRC}/lib
X
X.include <bsd.port.mk>
464ef7c6571951809b23e262cbe26e19
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'aec8793adfd5b7c3f00e62ae41a09ac2'
XTIMESTAMP = 1594969563
XSHA256 (phhusson-quassel-irssi-g2020071601-079be66_GH0.tar.gz) = cccaed46ec3a5acf2e0e6b16dba298baefc1f979b8b994260177ecf4b240e0d7
XSIZE (phhusson-quassel-irssi-g2020071601-079be66_GH0.tar.gz) = 31163
XSHA256 (phhusson-QuasselC-a0a1e6b_GH0.tar.gz) = 42cf5fe522a202d82f32ab61b45973a56dea3cf6a8f9e68ef596f6d7364f3f0a
XSIZE (phhusson-QuasselC-a0a1e6b_GH0.tar.gz) = 27860
aec8793adfd5b7c3f00e62ae41a09ac2
exit
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2713176
Default Alt Text
Command-Line Input (7 KB)
Attached To
Mode
P407 Command-Line Input
Attached
Detach File
Event Timeline
Log In to Comment