FreeBSD Bugzilla – Attachment 218315 Details for
Bug 249910
irc/irssi: Update to snapshot 1.3 (20201114)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for irssi (WIP)
0001-irssi-13-snapshot.patch (text/plain), 10.37 KB, created by
Daniel Engberg
on 2020-09-26 10:04:14 UTC
(
hide
)
Description:
Patch for irssi (WIP)
Filename:
MIME Type:
Creator:
Daniel Engberg
Created:
2020-09-26 10:04:14 UTC
Size:
10.37 KB
patch
obsolete
>From a222d377fd4a1ad63076fcacf35f9813c8241462 Mon Sep 17 00:00:00 2001 >From: Daniel Engberg <daniel.engberg.lists@pyret.net> >Date: Sat, 26 Sep 2020 11:00:18 +0200 >Subject: [PATCH] irssi-13-snapshot > >irssi-13-snapshot > >Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net> >--- > irc/irssi/Makefile | 95 +++++++++++++++-------------- > irc/irssi/distinfo | 6 +- > irc/irssi/files/patch-Makefile.in | 22 ------- > irc/irssi/files/patch-configure.ac | 15 ----- > irc/irssi/files/patch-meson.build | 13 ++++ > irc/irssi/files/patch-perl-Makefile | 22 ------- > irc/irssi/pkg-plist | 10 +-- > 7 files changed, 70 insertions(+), 113 deletions(-) > delete mode 100644 irc/irssi/files/patch-Makefile.in > delete mode 100644 irc/irssi/files/patch-configure.ac > create mode 100644 irc/irssi/files/patch-meson.build > delete mode 100644 irc/irssi/files/patch-perl-Makefile > >diff --git a/irc/irssi/Makefile b/irc/irssi/Makefile >index 40f57dd7df21..f971d5069dcd 100644 >--- a/irc/irssi/Makefile >+++ b/irc/irssi/Makefile >@@ -1,11 +1,12 @@ > # $FreeBSD$ > > PORTNAME= irssi >-PORTVERSION= 1.2.2 >+#PORTVERSION= 1.2.2 >+DISTVERSION= 1.3.20200911 > PORTREVISION= 1 > PORTEPOCH= 1 > CATEGORIES?= irc >-MASTER_SITES= https://github.com/irssi/irssi/releases/download/${PORTVERSION}/ >+#MASTER_SITES= https://github.com/irssi/irssi/releases/download/${PORTVERSION}/ > > MAINTAINER= dor.bsd@xm0.uk > COMMENT= Modular IRC client with many features >@@ -13,56 +14,58 @@ COMMENT= Modular IRC client with many features > LICENSE= GPLv2+ > LICENSE_FILE= ${WRKSRC}/COPYING > >-USES= autoreconf cpe gettext-runtime gmake gnome libtool localbase \ >- ncurses pkgconfig tar:xz >+# Until upstream makes a new release disable cpe >+USES= gettext-runtime gnome meson localbase:ldflags ncurses \ >+ pkgconfig ssl > USE_GNOME= glib20 >+USE_LDCONFIG= yes >+ >+USE_GITHUB= yes >+GH_TAGNAME= 561619f >+ >+# Force OpenSSL from base >+CPPFLAGS+= -I${OPENSSLINC} >+LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl >+ >+MESON_ARGS= -Dinstall-glib=no -Ddisable-gregex=no -Dstatic-dependency=no \ >+ -Dwith-fuzzer=no -Dwithout-textui=no >+ >+OPTIONS_DEFINE= BOT CAPSICUM DOCS OTR PERL PROXY TRUECOLOR UTF8PROC >+OPTIONS_DEFAULT= BOT CAPSICUM PERL PROXY TRUECOLOR >+OPTIONS_SUB= yes >+ >+BOT_DESC= Bot support >+CAPSICUM_DESC= Capsicum support >+OTR_DESC= OTR (off-the-record) support >+TRUECOLOR_DESC= True color support >+UTF8PROC_DESC= utf8proc support >+ >+BOT_MESON_ON= -Dwith-bot=yes >+BOT_MESON_OFF= -Dwith-bot=no >+ >+CAPSICUM_MESON_ON= -Dwith-capsicum=yes >+CAPSICUM_MESON_OFF= -Dwith-capsicum=no > >-GNU_CONFIGURE= yes >-INSTALL_TARGET= install-strip >- >-OPTIONS_DEFINE= BOT CAPSICUM DOCS OTR PERL PROXY SOCKS TRUECOLOR UTF8PROC >-OPTIONS_DEFAULT= BOT CAPSICUM PERL PROXY SOCKS TRUECOLOR >- >-OPTIONS_SUB= yes >-BOT_DESC= Bot support >-BOT_CONFIGURE_WITH= bot >-CAPSICUM_DESC= Capsicum support >-CAPSICUM_CONFIGURE_WITH= capsicum >-OTR_DESC= OTR (off-the-record) support >-OTR_CONFIGURE_ON= --with-otr \ >- --with-libotr-inc-prefix=${PREFIX}/include >-OTR_CONFIGURE_OFF= --with-otr=no >-OTR_CONFIGURE_WITH= otr > OTR_LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ >- libgpg-error.so:security/libgpg-error \ > libotr.so:security/libotr >-PERL_USES= perl5 >-PERL_CONFIGURE_ON= --with-perl-lib=site >-PERL_CONFIGURE_OFF= --with-perl=no >-PROXY_CONFIGURE_WITH= proxy >-SOCKS_DESC= Socks proxy support >-SOCKS_CONFIGURE_WITH= socks >-TRUECOLOR_DESC= Truecolor (24bit) support >-TRUECOLOR_CONFIGURE_ENABLE= true-color >-UTF8PROC_DESC= utf8proc support >-UTF8PROC_LIB_DEPENDS= libutf8proc.so:textproc/utf8proc >-UTF8PROC_CONFIGURE_ENABLE= utf8proc >+OTR_MESON_ON= -Dwith-otr=yes >+OTR_MESON_OFF= -Dwith-otr=no >+ >+PERL_USES= perl5 >+PERL_MESON_ON= -Dwith-perl=yes >+PERL_MESON_OFF= -Dwith-perl=no > >-.if defined(WITHOUT_SSL) >-CONFIGURE_ARGS+= --disable-ssl >-.else >-USES+= ssl >-.endif >+PROXY_MESON_ON= -Dwith-proxy=yes >+PROXY_MESON_OFF= -Dwith-proxy=no >+ >+TRUECOLOR_MESON_ON= -Denable-true-color=yes >+TRUECOLOR_MESON_OFF= -Denable-true-color=no >+ >+UTF8PROC_LIB_DEPENDS= libutf8proc.so:textproc/utf8proc >+UTF8PROC_MESON_ON= -Ddisable-utf8proc=no >+UTF8PROC_MESON_OFF= -Ddisable-utf8proc=yes > > post-install: >- @${MKDIR} ${STAGEDIR}${PREFIX}/lib/irssi/modules >- @${MV} ${STAGEDIR}${PREFIX}/etc/irssi.conf \ >- ${STAGEDIR}${PREFIX}/etc/irssi.conf.sample >- >-post-install-PERL-on: >- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Irssi/Irssi.so >- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Irssi/Irc/Irc.so >- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Irssi/TextUI/TextUI.so >- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Irssi/UI/UI.so >+ @${MV} ${WRKSRC}/irssi.conf ${STAGEDIR}${PREFIX}/etc/irssi.conf.sample > > .include <bsd.port.mk> >diff --git a/irc/irssi/distinfo b/irc/irssi/distinfo >index 2d1f117cce34..e80a6540aa37 100644 >--- a/irc/irssi/distinfo >+++ b/irc/irssi/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1568194739 >-SHA256 (irssi-1.2.2.tar.xz) = 6727060c918568ba2ff4295ad736128dba0b995d7b20491bca11f593bd857578 >-SIZE (irssi-1.2.2.tar.xz) = 1140844 >+TIMESTAMP = 1601100977 >+SHA256 (irssi-irssi-1.3.20200911-561619f_GH0.tar.gz) = e9f09009bccb397837b23a6c24b5ba489b16e8a8d0165f0242575019487e2ff2 >+SIZE (irssi-irssi-1.3.20200911-561619f_GH0.tar.gz) = 794733 >diff --git a/irc/irssi/files/patch-Makefile.in b/irc/irssi/files/patch-Makefile.in >deleted file mode 100644 >index dce4daddc1ab..000000000000 >--- a/irc/irssi/files/patch-Makefile.in >+++ /dev/null >@@ -1,22 +0,0 @@ >---- Makefile.in.orig 2019-02-11 17:35:31 UTC >-+++ Makefile.in >-@@ -421,7 +421,7 @@ BUILT_SOURCES = default-config.h default-theme.h irssi >- CLEANFILES = default-config.h default-theme.h >- SUBDIRS = src tests docs scripts themes utils >- confdir = $(sysconfdir) >--conf_DATA = irssi.conf >-+conf_DATA = irssi.conf.sample >- pkginclude_HEADERS = irssi-config.h irssi-version.h >- EXTRA_DIST = \ >- ChangeLog \ >-@@ -980,8 +980,8 @@ uninstall-am: uninstall-confDATA uninstall-pkgincludeH >- >- @MAINTAINER_MODE_TRUE@.PHONY: irssi-version.h >- >--default-config.h: $(srcdir)/irssi.conf >-- $(srcdir)/utils/file2header.sh $(srcdir)/irssi.conf default_config > default-config.h >-+default-config.h: $(srcdir)/irssi.conf.sample >-+ $(srcdir)/utils/file2header.sh $(srcdir)/irssi.conf.sample default_config > default-config.h >- >- default-theme.h: $(srcdir)/themes/default.theme >- $(srcdir)/utils/file2header.sh $(srcdir)/themes/default.theme default_theme > default-theme.h >diff --git a/irc/irssi/files/patch-configure.ac b/irc/irssi/files/patch-configure.ac >deleted file mode 100644 >index 933d33cad86f..000000000000 >--- a/irc/irssi/files/patch-configure.ac >+++ /dev/null >@@ -1,15 +0,0 @@ >---- configure.ac.orig 2019-02-11 17:35:17 UTC >-+++ configure.ac >-@@ -322,7 +322,11 @@ PKG_CHECK_MODULES([OPENSSL], [openssl], [ >- AC_CHECK_LIB([ssl], [SSL_library_init], [ >- LIBS="$LIBS -lssl -lcrypto" >- ], [ >-- AC_MSG_ERROR([The OpenSSL library was not found]) >-+ AC_CHECK_LIB([ssl], [OPENSSL_init_ssl], [ >-+ LIBS="$LIBS -lssl -lcrypto" >-+ ], [ >-+ AC_MSG_ERROR([The OpenSSL library was not found]) >-+ ]) >- ]) >- ]) >- >diff --git a/irc/irssi/files/patch-meson.build b/irc/irssi/files/patch-meson.build >new file mode 100644 >index 000000000000..9bce58c41526 >--- /dev/null >+++ b/irc/irssi/files/patch-meson.build >@@ -0,0 +1,13 @@ >+--- meson.build.orig 2020-09-26 07:02:44 UTC >++++ meson.build >+@@ -273,8 +273,8 @@ endif >+ dep += glib_dep >+ dep += gmodule_dep >+ >+-openssl_dep = dependency('openssl', static : want_static_dependency) >+-dep += openssl_dep >++#openssl_dep = dependency('openssl', static : want_static_dependency) >++#dep += openssl_dep >+ >+ ############ >+ # utf8proc # >diff --git a/irc/irssi/files/patch-perl-Makefile b/irc/irssi/files/patch-perl-Makefile >deleted file mode 100644 >index 7979e1cd5451..000000000000 >--- a/irc/irssi/files/patch-perl-Makefile >+++ /dev/null >@@ -1,22 +0,0 @@ >---- src/perl/Makefile.am.orig 2019-02-11 17:27:58 UTC >-+++ src/perl/Makefile.am >-@@ -145,7 +145,7 @@ all-local: >- >- install-exec-local: >- for dir in $(perl_dirs); do \ >-- cd $$dir && $(MAKE) install && cd ..; \ >-+ cd $$dir && $(MAKE) pure_install && cd ..; \ >- done >- >- clean-generic: >---- src/perl/Makefile.in.orig 2019-02-11 17:35:32 UTC >-+++ src/perl/Makefile.in >-@@ -898,7 +898,7 @@ all-local: >- >- install-exec-local: >- for dir in $(perl_dirs); do \ >-- cd $$dir && $(MAKE) install && cd ..; \ >-+ cd $$dir && $(MAKE) pure_install && cd ..; \ >- done >- >- clean-generic: >diff --git a/irc/irssi/pkg-plist b/irc/irssi/pkg-plist >index a76b8ac85af4..d25739eacb27 100644 >--- a/irc/irssi/pkg-plist >+++ b/irc/irssi/pkg-plist >@@ -39,6 +39,7 @@ include/irssi/src/core/queries.h > include/irssi/src/core/query-rec.h > include/irssi/src/core/rawlog.h > include/irssi/src/core/recode.h >+include/irssi/src/core/refstrings.h > include/irssi/src/core/server-connect-rec.h > include/irssi/src/core/server-rec.h > include/irssi/src/core/server-setup-rec.h >@@ -93,6 +94,7 @@ include/irssi/src/fe-text/mainwindows.h > include/irssi/src/fe-text/statusbar.h > include/irssi/src/fe-text/statusbar-item.h > include/irssi/src/fe-text/term.h >+include/irssi/src/fe-text/textbuffer-formats.h > include/irssi/src/fe-text/textbuffer-view.h > include/irssi/src/fe-text/textbuffer.h > include/irssi/src/irc/core/bans.h >@@ -132,10 +134,10 @@ include/irssi/src/irc/notifylist/notify-setup.h > include/irssi/src/irc/notifylist/notifylist.h > include/irssi/src/lib-config/iconfig.h > include/irssi/src/lib-config/module.h >-%%PROXY%%lib/irssi/modules/libirc_proxy.a >+%%PERL%%lib/irssi/modules/libfe_perl.so > %%PROXY%%lib/irssi/modules/libirc_proxy.so >-%%OTR%%lib/irssi/modules/libotr_core.a > %%OTR%%lib/irssi/modules/libotr_core.so >+%%PERL%%lib/irssi/modules/libperl_core.so > %%PERL%%%%SITE_ARCH%%/Irssi.pm > %%PERL%%%%SITE_ARCH%%/Irssi/Irc.pm > %%PERL%%%%SITE_ARCH%%/Irssi/TextUI.pm >@@ -144,6 +146,7 @@ include/irssi/src/lib-config/module.h > %%PERL%%%%SITE_ARCH%%/auto/Irssi/Irssi.so > %%PERL%%%%SITE_ARCH%%/auto/Irssi/TextUI/TextUI.so > %%PERL%%%%SITE_ARCH%%/auto/Irssi/UI/UI.so >+libdata/pkgconfig/irssi-1.pc > man/man1/irssi.1.gz > %%CAPSICUM%%%%PORTDOCS%%%%DOCSDIR%%/capsicum.txt > %%PORTDOCS%%%%DOCSDIR%%/design.html >@@ -275,14 +278,11 @@ man/man1/irssi.1.gz > %%DATADIR%%/scripts/autoop.pl > %%DATADIR%%/scripts/autorejoin.pl > %%DATADIR%%/scripts/buf.pl >-%%DATADIR%%/scripts/command.pl > %%DATADIR%%/scripts/dns.pl > %%DATADIR%%/scripts/kills.pl > %%DATADIR%%/scripts/mail.pl > %%DATADIR%%/scripts/mlock.pl >-%%DATADIR%%/scripts/msg-event.pl > %%DATADIR%%/scripts/quitmsg.pl >-%%DATADIR%%/scripts/redirect.pl > %%DATADIR%%/scripts/scriptassist.pl > %%DATADIR%%/scripts/usercount.pl > %%DATADIR%%/themes/colorless.theme >-- >2.28.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 249910
:
218315
|
218324
|
218328
|
219689
|
219719