diff options
author | vanilla <vanilla@FreeBSD.org> | 2017-01-06 03:45:11 +0000 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2017-01-06 03:45:11 +0000 |
commit | 55cb2d8c656cafd0b54699ec8187c43f638f419e (patch) | |
tree | 5585cb1ae03c9d2ff690d6b44fd82839c08ed985 | |
parent | a73c5dd422aa66fa9853a84237a51be30cd41f6b (diff) | |
download | FreeBSD-ports-55cb2d8c656cafd0b54699ec8187c43f638f419e.zip FreeBSD-ports-55cb2d8c656cafd0b54699ec8187c43f638f419e.tar.gz |
Update to 1.0.0, also remove deprecated configure options.
PR: 215800
Submitted by: vlad-fbsd@acheronmedia.com <vlad-fbsd at acheronmedia.com>
MFH: 2017Q1
-rw-r--r-- | irc/irssi/Makefile | 7 | ||||
-rw-r--r-- | irc/irssi/distinfo | 6 | ||||
-rw-r--r-- | irc/irssi/files/patch-configure | 158 | ||||
-rw-r--r-- | irc/irssi/files/patch-configure.ac | 123 | ||||
-rw-r--r-- | irc/irssi/pkg-plist | 3 |
5 files changed, 8 insertions, 289 deletions
diff --git a/irc/irssi/Makefile b/irc/irssi/Makefile index a145c8e..7e89844 100644 --- a/irc/irssi/Makefile +++ b/irc/irssi/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= irssi -PORTVERSION= 0.8.20 +PORTVERSION= 1.0.0 PORTREVISION?= 0 CATEGORIES?= irc MASTER_SITES= https://github.com/irssi/irssi/releases/download/${PORTVERSION}/ @@ -17,10 +17,9 @@ CONFLICTS= irssi-devel-[0-9]* zh-irssi-[0-9]* USES= gettext-runtime gmake libtool ncurses pkgconfig tar:xz GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-ncurses=${NCURSESBASE} INSTALL_TARGET= install-strip -OPTIONS_DEFINE= PERL PROXY SOCKS IPV6 BOT DOCS TRUECOLOR +OPTIONS_DEFINE= PERL PROXY SOCKS BOT DOCS TRUECOLOR OPTIONS_DEFAULT= PERL OPTIONS_SUB= yes SOCKS_DESC= Socks proxy support @@ -31,8 +30,6 @@ PERL_USES= perl5 PERL_CONFIGURE_ON= --with-perl-lib=site PERL_CONFIGURE_OFF= --with-perl=no PROXY_CONFIGURE_WITH= proxy -IPV6_CONFIGURE_ENABLE= ipv6 -IPV6_CATEGORIES= ipv6 TRUECOLOR_DESC= Truecolor (24bit) support TRUECOLOR_CONFIGURE_ENABLE= true-color diff --git a/irc/irssi/distinfo b/irc/irssi/distinfo index a643f13..d720df3 100644 --- a/irc/irssi/distinfo +++ b/irc/irssi/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1474490964 -SHA256 (irssi-0.8.20.tar.xz) = 7882c4e821f5aac469c5e69e69d7e235f4986101285c675e81a9a95bfb20505a -SIZE (irssi-0.8.20.tar.xz) = 1007252 +TIMESTAMP = 1483672775 +SHA256 (irssi-1.0.0.tar.xz) = 6a8a3c1fc6a021a2c02a693877b2e19cbceb3eccd78fce49e44f596f4bae4fb8 +SIZE (irssi-1.0.0.tar.xz) = 1026116 diff --git a/irc/irssi/files/patch-configure b/irc/irssi/files/patch-configure deleted file mode 100644 index 6a13529..0000000 --- a/irc/irssi/files/patch-configure +++ /dev/null @@ -1,158 +0,0 @@ ---- configure.orig 2016-03-22 23:25:26 UTC -+++ configure -@@ -652,6 +652,7 @@ BUILD_TEXTUI_FALSE - BUILD_TEXTUI_TRUE - PERL_STATIC_LIBS - PERL_MM_PARAMS -+PERL_MM_OPT - PERL_USE_LIB - PERL_CFLAGS - PERL_LDFLAGS -@@ -1502,7 +1503,7 @@ Optional Packages: - --with-modules Specify what modules to build in binary - --with-perl-staticlib Specify that we want to link perl libraries - statically in irssi, default is no -- --with-perl-lib=site|vendor|DIR Specify where to install the -+ --with-perl-lib=perl|site|vendor|DIR Specify where to install the - Perl libraries for irssi, default is site - --with-perl=yes|no|module Build with Perl support - also specifies - if it should be built into main irssi binary -@@ -12715,7 +12716,6 @@ fi - if test "x$prefix" != "xNONE"; then - prefix=`eval echo $prefix` - PERL_MM_PARAMS="INSTALLDIRS=perl INSTALL_BASE=$prefix" -- perl_library_dir="PERL_USE_LIB" - perl_set_use_lib=yes - - perl_prefix_note=yes -@@ -12742,24 +12742,29 @@ if test "${with_perl_lib+set}" = set; th - want_perl=yes - elif test "x$withval" = xno; then - want_perl=no -+ elif test "x$withval" = xperl; then -+ want_perl=yes -+ perl_prefix_note=no -+ PERL_MM_PARAMS="INSTALLDIRS=perl" -+ perl_set_use_lib=no - elif test "x$withval" = xsite; then - want_perl=yes - perl_prefix_note=no - PERL_MM_PARAMS="" -+ perl_set_use_lib=no - elif test "x$withval" = xvendor; then - want_perl=yes - perl_prefix_note=no - if test -z "`$perlpath -v|grep '5\.0'`"; then - PERL_MM_PARAMS="INSTALLDIRS=vendor" - else -- PERL_MM_PARAMS="INSTALLDIRS=perl PREFIX=`perl -e 'use Config; print $Config{prefix}'`" -+ PERL_MM_PARAMS="INSTALLDIRS=perl PREFIX=`$perlpath -e 'use Config; print $Config{prefix}'`" - fi -- perl_library_dir="(vendor default - `$perlpath -e 'use Config; print $Config{archlib}'`)" -+ perl_set_use_lib=no - else - want_perl=yes - perl_prefix_note=no - PERL_MM_PARAMS="INSTALLDIRS=perl LIB=$withval" -- perl_library_dir="PERL_USE_LIB" - perl_set_use_lib=yes - fi - else -@@ -13849,12 +13854,12 @@ if test "${with_ncurses+set}" = set; the - - if $search_ncurses - then -- if test -f $withval/include/ncurses.h -+ if test -f $withval/include/ncurses/ncurses.h - then -- { $as_echo "$as_me:${as_lineno-$LINENO}: result: Found ncurses on $withval/include/ncurses.h" >&5 --$as_echo "Found ncurses on $withval/include/ncurses.h" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: Found ncurses on $withval/include/ncurses/ncurses.h" >&5 -+$as_echo "Found ncurses on $withval/include/ncurses/ncurses.h" >&6; } - -- CURSES_LIBS="-L$withval/lib -lncurses" -+ CURSES_LIBS="-L$withval/lib -lncurses -ltinfo" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5 - $as_echo_n "checking for initscr in -lncurses... " >&6; } - if ${ac_cv_lib_ncurses_initscr+:} false; then : -@@ -14921,7 +14926,7 @@ $as_echo_n "checking for working Perl su - fi - - if test "x$ac_cv_c_compiler_gnu" = "xyes" -a -z "`echo $host_os|grep 'bsd\|linux'`"; then -- PERL_CFLAGS=`echo $PERL_CFLAGS | $perlpath -pe 's/^(.* )?-^DUIfm^ +/\1/g; s/^(.* )?\+^ +/\1/g'` -+ PERL_CFLAGS=`echo $PERL_CFLAGS | $perlpath -pe 's/^(.* )?-[^DUIfm][^ ]+/\1/g; s/^(.* )?\+[^ ]+/\1/g'` - - PERL_EXTRA_OPTS="CCCDLFLAGS=\"-fPIC\"" - -@@ -15000,13 +15005,37 @@ $as_echo "ok" >&6; } - PERL_STATIC_LIBS=0 - fi - -+ # remove any prefix from PERL_MM_OPT -+ PERL_MM_OPT=`perl -MText::ParseWords -e 'sub qu{$_=shift;s{^(.*?)=(.*)$}{($a,$b)=($1,$2);$b=~s/"/\\\\"/g;qq{$a="$b"}}ge if /[\s"]/;$_} local $,=" "; print map qu($_), grep !/^(INSTALL_BASE|PREFIX)=/, shellwords(@ARGV)' "$PERL_MM_OPT"` -+ $perlpath -MExtUtils::MakeMaker -e 'WriteMakefile(NAME => "test", MAKEFILE => "Makefile.test", FIRST_MAKEFILE => "/dev/null", NO_META => 1, NO_MYMETA => 1);' $PERL_MM_PARAMS >/dev/null -+ echo 'show-INSTALLDIRS:' >> Makefile.test -+ echo ' @echo $(INSTALLDIRS)' >> Makefile.test -+ perl_INSTALLDIRS=`$am_make -s -f Makefile.test show-INSTALLDIRS` -+ if test "x$perl_INSTALLDIRS" = "xsite"; then -+ perl_library_dir="site default" -+ perl_INSTALL_VAR=INSTALLSITEARCH -+ elif test "x$perl_INSTALLDIRS" = "xvendor"; then -+ perl_library_dir="vendor default" -+ perl_INSTALL_VAR=INSTALLVENDORARCH -+ else -+ perl_library_dir="module default" -+ perl_INSTALL_VAR=INSTALLARCHLIB -+ fi -+ echo 'show-ARCHLIB:' >> Makefile.test -+ echo ' @echo $('"$perl_INSTALL_VAR"')' >> Makefile.test -+ perl_use_lib=`$am_make -s -f Makefile.test show-ARCHLIB` -+ rm -f Makefile.test - # figure out the correct @INC path - we'll need to do this - # through MakeMaker since it's difficult to get it right - # otherwise. - if test "x$perl_set_use_lib" = "xyes"; then -- perl -e 'use ExtUtils::MakeMaker; WriteMakefile("NAME" => "test", "MAKEFILE" => "Makefile.test");' $PERL_MM_PARAMS >/dev/null -- PERL_USE_LIB=`perl -e 'open(F, "Makefile.test"); while (<F>) { chomp; if (/^(\w+) = (.*$)/) { $keys{$1} = $2; } }; $key = $keys{INSTALLARCHLIB}; while ($key =~ /\\$\((\w+)\)/) { $value = $keys{$1}; $key =~ s/\\$\($1\)/$value/; }; print $key;'` -- rm -f Makefile.test -+ if $perlpath -e 'exit ! grep $_ eq $ARGV[0], grep /^\//, @INC' "$perl_use_lib"; then -+ perl_library_dir="other path in @INC" -+ perl_set_use_lib=no -+ else -+ perl_library_dir="prepends to @INC with /set perl_use_lib" -+ PERL_USE_LIB="$perl_use_lib" -+ fi - fi - - -@@ -15024,6 +15053,7 @@ $as_echo "ok" >&6; } - - - -+ - fi - fi - -@@ -17024,6 +17054,7 @@ $as_echo X"$file" | - cat <<_LT_EOF >> "$cfgfile" - #! $SHELL - # Generated automatically by $as_me ($PACKAGE) $VERSION -+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: - # NOTE: Changes made to this file will be lost: look at ltmain.sh. - - # Provide generalized library-building support services. -@@ -17657,13 +17688,7 @@ if test "x$want_perl" != "xno" -a "x$per - fi - - if test "x$want_perl" != "xno"; then -- if test "$perl_library_dir" = "PERL_USE_LIB"; then -- perl_library_dir=$PERL_USE_LIB -- fi -- if test -z "$perl_library_dir"; then -- perl_library_dir="(site default - `$perlpath -e 'use Config; print $Config{sitearch}'`)" -- fi -- echo "Perl library directory ........... : $perl_library_dir" -+ echo "Perl library directory ........... : ($perl_library_dir - $perl_use_lib)" - if test "x$perl_prefix_note" = "xyes"; then - echo " - NOTE: This was automatically set to the same directory you gave with" - echo " --prefix. If you want the perl libraries to install to their 'correct'" diff --git a/irc/irssi/files/patch-configure.ac b/irc/irssi/files/patch-configure.ac deleted file mode 100644 index 73524e9..0000000 --- a/irc/irssi/files/patch-configure.ac +++ /dev/null @@ -1,123 +0,0 @@ ---- configure.ac.orig 2016-03-22 23:24:11 UTC -+++ configure.ac -@@ -79,7 +79,6 @@ AC_ARG_WITH(modules, - if test "x$prefix" != "xNONE"; then - prefix=`eval echo $prefix` - PERL_MM_PARAMS="INSTALLDIRS=perl INSTALL_BASE=$prefix" -- perl_library_dir="PERL_USE_LIB" - perl_set_use_lib=yes - - perl_prefix_note=yes -@@ -97,30 +96,35 @@ AC_ARG_WITH(perl-staticlib, - - - AC_ARG_WITH(perl-lib, --[ --with-perl-lib=[site|vendor|DIR] Specify where to install the -+[ --with-perl-lib=[perl|site|vendor|DIR] Specify where to install the - Perl libraries for irssi, default is site], - if test "x$withval" = xyes; then - want_perl=yes - elif test "x$withval" = xno; then - want_perl=no -+ elif test "x$withval" = xperl; then -+ want_perl=yes -+ perl_prefix_note=no -+ PERL_MM_PARAMS="INSTALLDIRS=perl" -+ perl_set_use_lib=no - elif test "x$withval" = xsite; then - want_perl=yes - perl_prefix_note=no - PERL_MM_PARAMS="" -+ perl_set_use_lib=no - elif test "x$withval" = xvendor; then - want_perl=yes - perl_prefix_note=no - if test -z "`$perlpath -v|grep '5\.0'`"; then - PERL_MM_PARAMS="INSTALLDIRS=vendor" - else -- PERL_MM_PARAMS="INSTALLDIRS=perl PREFIX=`perl -e 'use Config; print $Config{prefix}'`" -+ PERL_MM_PARAMS="INSTALLDIRS=perl PREFIX=`$perlpath -e 'use Config; print $Config{prefix}'`" - fi -- perl_library_dir="(vendor default - `$perlpath -e 'use Config; print $Config{archlib}'`)" -+ perl_set_use_lib=no - else - want_perl=yes - perl_prefix_note=no - PERL_MM_PARAMS="INSTALLDIRS=perl LIB=$withval" -- perl_library_dir="PERL_USE_LIB" - perl_set_use_lib=yes - fi, - want_perl=yes) -@@ -380,7 +384,7 @@ if test "$want_perl" != "no"; then - dnl * complain about them. Normally there's only few options - dnl * that we want to keep: - dnl * -Ddefine -Uundef -I/path -fopt -mopt -- PERL_CFLAGS=`echo $PERL_CFLAGS | $perlpath -pe 's/^(.* )?-[^DUIfm][^ ]+/\1/g; s/^(.* )?\+[^ ]+/\1/g'` -+ PERL_CFLAGS=`echo $PERL_CFLAGS | $perlpath -pe 's/^(.* )?-@<:@^DUIfm@:>@@<:@^ @:>@+/\1/g; s/^(.* )?\+@<:@^ @:>@+/\1/g'` - - PERL_EXTRA_OPTS="CCCDLFLAGS=\"-fPIC\"" - AC_SUBST(PERL_EXTRA_OPTS) -@@ -464,13 +468,37 @@ if test "$want_perl" != "no"; then - PERL_STATIC_LIBS=0 - fi - -+ # remove any prefix from PERL_MM_OPT -+ PERL_MM_OPT=`perl -MText::ParseWords -e 'sub qu{$_=shift;s{^(.*?)=(.*)$}{($a,$b)=($1,$2);$b=~s/"/\\\\"/g;qq{$a="$b"}}ge if /@<:@\s"@:>@/;$_} local $,=" "; print map qu($_), grep !/^(INSTALL_BASE|PREFIX)=/, shellwords(@ARGV)' "$PERL_MM_OPT"` -+ $perlpath -MExtUtils::MakeMaker -e 'WriteMakefile(NAME => "test", MAKEFILE => "Makefile.test", FIRST_MAKEFILE => "/dev/null", NO_META => 1, NO_MYMETA => 1);' $PERL_MM_PARAMS >/dev/null -+ echo 'show-INSTALLDIRS:' >> Makefile.test -+ echo ' @echo $(INSTALLDIRS)' >> Makefile.test -+ perl_INSTALLDIRS=`$am_make -s -f Makefile.test show-INSTALLDIRS` -+ if test "x$perl_INSTALLDIRS" = "xsite"; then -+ perl_library_dir="site default" -+ perl_INSTALL_VAR=INSTALLSITEARCH -+ elif test "x$perl_INSTALLDIRS" = "xvendor"; then -+ perl_library_dir="vendor default" -+ perl_INSTALL_VAR=INSTALLVENDORARCH -+ else -+ perl_library_dir="module default" -+ perl_INSTALL_VAR=INSTALLARCHLIB -+ fi -+ echo 'show-ARCHLIB:' >> Makefile.test -+ echo ' @echo $('"$perl_INSTALL_VAR"')' >> Makefile.test -+ perl_use_lib=`$am_make -s -f Makefile.test show-ARCHLIB` -+ rm -f Makefile.test - # figure out the correct @INC path - we'll need to do this - # through MakeMaker since it's difficult to get it right - # otherwise. - if test "x$perl_set_use_lib" = "xyes"; then -- perl -e 'use ExtUtils::MakeMaker; WriteMakefile("NAME" => "test", "MAKEFILE" => "Makefile.test");' $PERL_MM_PARAMS >/dev/null -- PERL_USE_LIB=`perl -e 'open(F, "Makefile.test"); while (<F>) { chomp; if (/^(\w+) = (.*$)/) { $keys{$1} = $2; } }; $key = $keys{INSTALLARCHLIB}; while ($key =~ /\\$\((\w+)\)/) { $value = $keys{$1}; $key =~ s/\\$\($1\)/$value/; }; print $key;'` -- rm -f Makefile.test -+ if $perlpath -e 'exit ! grep $_ eq $ARGV@<:@0@:>@, grep /^\//, @INC' "$perl_use_lib"; then -+ perl_library_dir="other path in @INC" -+ perl_set_use_lib=no -+ else -+ perl_library_dir="prepends to @INC with /set perl_use_lib" -+ PERL_USE_LIB="$perl_use_lib" -+ fi - fi - - AC_SUBST(perl_module_lib) -@@ -486,6 +514,7 @@ if test "$want_perl" != "no"; then - AC_SUBST(PERL_CFLAGS) - - AC_SUBST(PERL_USE_LIB) -+ AC_SUBST(PERL_MM_OPT) - AC_SUBST(PERL_MM_PARAMS) - AC_SUBST(PERL_STATIC_LIBS) - fi -@@ -724,13 +753,7 @@ if test "x$want_perl" != "xno" -a "x$per - fi - - if test "x$want_perl" != "xno"; then -- if test "$perl_library_dir" = "PERL_USE_LIB"; then -- perl_library_dir=$PERL_USE_LIB -- fi -- if test -z "$perl_library_dir"; then -- perl_library_dir="(site default - `$perlpath -e 'use Config; print $Config{sitearch}'`)" -- fi -- echo "Perl library directory ........... : $perl_library_dir" -+ echo "Perl library directory ........... : ($perl_library_dir - $perl_use_lib)" - if test "x$perl_prefix_note" = "xyes"; then - echo " - NOTE: This was automatically set to the same directory you gave with" - echo " --prefix. If you want the perl libraries to install to their 'correct'" diff --git a/irc/irssi/pkg-plist b/irc/irssi/pkg-plist index 8119852..dbe81b5 100644 --- a/irc/irssi/pkg-plist +++ b/irc/irssi/pkg-plist @@ -46,6 +46,8 @@ include/irssi/src/core/session.h include/irssi/src/core/settings.h include/irssi/src/core/signals.h include/irssi/src/core/special-vars.h +include/irssi/src/core/tls.h +include/irssi/src/core/utf8.h include/irssi/src/core/window-item-def.h include/irssi/src/core/window-item-rec.h include/irssi/src/core/write-buffer.h @@ -59,6 +61,7 @@ include/irssi/src/fe-common/core/fe-exec.h include/irssi/src/fe-common/core/fe-messages.h include/irssi/src/fe-common/core/fe-queries.h include/irssi/src/fe-common/core/fe-recode.h +include/irssi/src/fe-common/core/fe-tls.h include/irssi/src/fe-common/core/fe-windows.h include/irssi/src/fe-common/core/formats.h include/irssi/src/fe-common/core/hilight-text.h |