diff --git a/editors/vile/Makefile b/editors/vile/Makefile
index 140abb74199..987fecf5566 100644
--- a/editors/vile/Makefile
+++ b/editors/vile/Makefile
@@ -1,5 +1,5 @@
COMMENT= VI Editor Like Emacs
-DISTNAME= vile-9.8u
+DISTNAME= vile-9.8w
CATEGORIES= editors
HOMEPAGE= https://invisible-island.net/vile/
@@ -8,13 +8,14 @@ PERMIT_PACKAGE= Yes
WANTLIB += c curses iconv
-MASTER_SITES= https://invisible-mirror.net/archives/vile/current/ \
- ftp://ftp.invisible-island.net/vile/current/ \
- ftp://dickey.his.com/vile/current/
+MASTER_SITES= https://invisible-island.net/archives/vile/current/ \
+ https://invisible-mirror.net/archives/vile/current/ \
+ ftp://ftp.invisible-island.net/vile/current/
EXTRACT_SUFX= .tgz
CONFIGURE_STYLE=gnu
+CONFIGURE_ARGS+= --with-builtin-filters --with-screen=ncursesw
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include"
diff --git a/editors/vile/distinfo b/editors/vile/distinfo
index b8e910401fa..43143123837 100644
--- a/editors/vile/distinfo
+++ b/editors/vile/distinfo
@@ -1,2 +1,2 @@
-SHA256 (vile-9.8u.tgz) = MagoM/5P71pgBDvMMnjRqHWhAosbJXfJ4Po6F5z/Fl4=
-SIZE (vile-9.8u.tgz) = 2375989
+SHA256 (vile-9.8w.tgz) = eCU+w/euX0+dR5mjyLw1uFtH1FbyrBcoEACKSORgmBU=
+SIZE (vile-9.8w.tgz) = 2407322
diff --git a/editors/vile/patches/patch-crypt b/editors/vile/patches/patch-crypt
new file mode 100644
index 00000000000..b2962a289c5
--- /dev/null
+++ b/editors/vile/patches/patch-crypt
@@ -0,0 +1,72 @@
+--- configure.orig Sat Aug 20 15:48:11 2022
++++ configure Thu Aug 25 14:05:32 2022
+@@ -27603,8 +27603,8 @@
+ ;;
+ (*)
+
+-echo "$as_me:27606: checking for crypt function" >&5
+-echo $ECHO_N "checking for crypt function... $ECHO_C" >&6
++echo "$as_me:27606: checking for broken_crypt function" >&5
++echo $ECHO_N "checking for broken_crypt function... $ECHO_C" >&6
+ if test "${cf_cv_crypt_func+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+@@ -27617,7 +27617,7 @@
+ int
+ main (void)
+ {
+-crypt()
++broken_crypt()
+ ;
+ return 0;
+ }
+@@ -27649,7 +27649,7 @@
+ int
+ main (void)
+ {
+-crypt()
++broken_crypt()
+ ;
+ return 0;
+ }
+@@ -27686,8 +27686,8 @@
+ if test "$cf_cv_crypt_func" != no ; then
+ cf_save_LIBS="$LIBS"
+ test "$cf_cv_crypt_func" != yes && LIBS="$cf_cv_crypt_func $LIBS"
+-echo "$as_me:27689: checking if crypt works" >&5
+-echo $ECHO_N "checking if crypt works... $ECHO_C" >&6
++echo "$as_me:27689: checking if broken_crypt works" >&5
++echo $ECHO_N "checking if broken_crypt works... $ECHO_C" >&6
+ if test "${cf_cv_crypt_works+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+@@ -27701,9 +27701,9 @@
+ #include "confdefs.h"
+
+ #include <string.h>
+-extern char *crypt();
++extern char *broken_crypt();
+ int main(void) {
+- char *s = crypt("vi-crypt", "vi");
++ char *s = broken_crypt("vi-crypt", "vi");
+ ${cf_cv_main_return:-return}(strcmp("vi6r2tczBYLvM", s) != 0);
+ }
+
+@@ -28114,7 +28114,7 @@
+ _nc_free_tinfo \
+ access \
+ alarm \
+-crypt \
++broken_crypt \
+ getcwd \
+ getegid \
+ geteuid \
+@@ -32763,7 +32763,7 @@
+ atoi \
+ chdir \
+ close \
+-crypt \
++broken_crypt \
+ dup \
+ execlp \
+ fclose \
diff --git a/editors/vile/pkg/PLIST b/editors/vile/pkg/PLIST
index acc4f58beb2..c10f971582a 100644
--- a/editors/vile/pkg/PLIST
+++ b/editors/vile/pkg/PLIST
@@ -6,89 +6,8 @@ lib/vile/
@bin lib/vile/atr2ansi
@bin lib/vile/atr2html
@bin lib/vile/atr2text
-@bin lib/vile/vile-ada-filt
-@bin lib/vile/vile-as-filt
-@bin lib/vile/vile-asm-filt
-@bin lib/vile/vile-au3-filt
-@bin lib/vile/vile-awk-filt
-@bin lib/vile/vile-basic-filt
-@bin lib/vile/vile-bat-filt
-@bin lib/vile/vile-bnf-filt
-@bin lib/vile/vile-c-filt
-@bin lib/vile/vile-cfg-filt
-@bin lib/vile/vile-conf-filt
@bin lib/vile/vile-crypt
-@bin lib/vile/vile-css-filt
-@bin lib/vile/vile-cweb-filt
-@bin lib/vile/vile-dcl-filt
-@bin lib/vile/vile-def-filt
-@bin lib/vile/vile-diff-filt
-@bin lib/vile/vile-ecl-filt
-@bin lib/vile/vile-erl-filt
-@bin lib/vile/vile-esql-filt
-@bin lib/vile/vile-est-filt
-@bin lib/vile/vile-fdl-filt
-@bin lib/vile/vile-hs-filt
-@bin lib/vile/vile-html-filt
-@bin lib/vile/vile-imake-filt
-@bin lib/vile/vile-info-filt
-@bin lib/vile/vile-ini-filt
-@bin lib/vile/vile-iss-filt
-@bin lib/vile/vile-json-filt
-@bin lib/vile/vile-key-filt
-@bin lib/vile/vile-latex-filt
-@bin lib/vile/vile-lex-filt
-@bin lib/vile/vile-lisp-filt
-@bin lib/vile/vile-lua-filt
-@bin lib/vile/vile-m4-filt
-@bin lib/vile/vile-mail-filt
-@bin lib/vile/vile-mailcap-filt
-@bin lib/vile/vile-make-filt
@bin lib/vile/vile-manfilt
-@bin lib/vile/vile-mcrl-filt
-@bin lib/vile/vile-midl-filt
-@bin lib/vile/vile-mms-filt
-@bin lib/vile/vile-nmake-filt
-@bin lib/vile/vile-nr-filt
-@bin lib/vile/vile-pas-filt
-@bin lib/vile/vile-perl-filt
-@bin lib/vile/vile-perl6-filt
-@bin lib/vile/vile-php-filt
-@bin lib/vile/vile-pot-filt
-@bin lib/vile/vile-ps-filt
-@bin lib/vile/vile-ps1-filt
-@bin lib/vile/vile-py-filt
-@bin lib/vile/vile-rc-filt
-@bin lib/vile/vile-rcs-filt
-@bin lib/vile/vile-rexx-filt
-@bin lib/vile/vile-rpm-filt
-@bin lib/vile/vile-rtf-filt
-@bin lib/vile/vile-ruby-filt
-@bin lib/vile/vile-rust-filt
-@bin lib/vile/vile-sccs-filt
-@bin lib/vile/vile-scheme-filt
-@bin lib/vile/vile-sed-filt
-@bin lib/vile/vile-sh-filt
-@bin lib/vile/vile-sml-filt
-@bin lib/vile/vile-spell-filt
-@bin lib/vile/vile-sql-filt
-@bin lib/vile/vile-tags-filt
-@bin lib/vile/vile-tbl-filt
-@bin lib/vile/vile-tc-filt
-@bin lib/vile/vile-tcl-filt
-@bin lib/vile/vile-texi-filt
-@bin lib/vile/vile-ti-filt
-@bin lib/vile/vile-tpu-filt
-@bin lib/vile/vile-txt-filt
-@bin lib/vile/vile-vile-filt
-@bin lib/vile/vile-vlog-filt
-@bin lib/vile/vile-wbt-filt
-@bin lib/vile/vile-xml-filt
-@bin lib/vile/vile-xq-filt
-@bin lib/vile/vile-xres-filt
-@bin lib/vile/vile-xs-filt
-@bin lib/vile/vile-yacc-filt
-@bin lib/vile/vile-yaml-filt
@man man/man1/vile-libdir-path.1
@man man/man1/vile-pager.1
@man man/man1/vile-to-html.1
@@ -149,6 +68,7 @@ share/vile/mailcap.keywords
share/vile/make.keywords
share/vile/manpage.rc
share/vile/mcrl.keywords
+share/vile/md.keywords
share/vile/midl.keywords
share/vile/modes.rc
share/vile/mvn.keywords
@@ -160,7 +80,6 @@ share/vile/palettes.rc
share/vile/pas.keywords
share/vile/pc.keywords
share/vile/perl.keywords
-share/vile/perl6.keywords
share/vile/php.keywords
share/vile/pictmode.rc
share/vile/pot.keywords
@@ -168,6 +87,7 @@ share/vile/prolog.keywords
share/vile/ps.keywords
share/vile/ps1.keywords
share/vile/py.keywords
+share/vile/raku.keywords
share/vile/rb.keywords
share/vile/rc.keywords
share/vile/rcs.keywords
Attached is an update for editors/vile. From 9.8u to 9.8w.
Changes are summarized here:
https://invisible-island.net/vile/CHANGES.html#v9_8w
This update also amends the existing port to work better on OpenBSD:
a) use built-in syntax filters, workaround for OpenBSD permissions
b) use curses rather than terminfo, also needed with OpenBSD
c) workaround for configure check for crypt
--
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net
No comments:
Post a Comment