mail/squirrelmail-decode - The NetBSD Packages Collection

Extra decoding library for SquirrelMail

SquirrelMail decoding functions are used to display and convert messages
encoded in different character sets. Extra decoding library provides support
of some complex Eastern character sets and some rarely used Apple character
sets. Current release supports Big5, Windows-874 (cp874, Thai), Windows-949
(UHC, Korean), EUC-CN, EUC-JP, EUC-KR, EUC-TW, GB18030, GB2312, ISO-2022-CN,
ISO-2022-JP, ISO-2022-JP-2, ISO-2022-KR, Shift_JIS and various x-mac-*
character sets.

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

converters/php-iconv mail/squirrelmail

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64php74-squirrelmail-decode-1.2.tgz
NetBSD 10.0aarch64php81-squirrelmail-decode-1.2.tgz
NetBSD 10.0aarch64php82-squirrelmail-decode-1.2.tgz
NetBSD 10.0aarch64php83-squirrelmail-decode-1.2.tgz
NetBSD 10.0aarch64php74-squirrelmail-decode-1.2.tgz
NetBSD 10.0aarch64php80-squirrelmail-decode-1.2.tgz
NetBSD 10.0aarch64php81-squirrelmail-decode-1.2.tgz
NetBSD 10.0aarch64php82-squirrelmail-decode-1.2.tgz
NetBSD 10.0aarch64php83-squirrelmail-decode-1.2.tgz
NetBSD 10.0aarch64php74-squirrelmail-decode-1.2.tgz
NetBSD 10.0aarch64php80-squirrelmail-decode-1.2.tgz
NetBSD 10.0aarch64php81-squirrelmail-decode-1.2.tgz
NetBSD 10.0aarch64php82-squirrelmail-decode-1.2.tgz
NetBSD 10.0aarch64php83-squirrelmail-decode-1.2.tgz
NetBSD 10.0aarch64ebphp74-squirrelmail-decode-1.2.tgz
NetBSD 10.0aarch64ebphp80-squirrelmail-decode-1.2.tgz
NetBSD 10.0aarch64ebphp81-squirrelmail-decode-1.2.tgz
NetBSD 10.0aarch64ebphp82-squirrelmail-decode-1.2.tgz
NetBSD 10.0aarch64ebphp83-squirrelmail-decode-1.2.tgz
NetBSD 10.0aarch64ebphp74-squirrelmail-decode-1.2.tgz
NetBSD 10.0aarch64ebphp80-squirrelmail-decode-1.2.tgz
NetBSD 10.0aarch64ebphp81-squirrelmail-decode-1.2.tgz
NetBSD 10.0aarch64ebphp82-squirrelmail-decode-1.2.tgz
NetBSD 10.0aarch64ebphp83-squirrelmail-decode-1.2.tgz
NetBSD 10.0alphaphp56-squirrelmail-decode-1.2.tgz
NetBSD 10.0alphaphp74-squirrelmail-decode-1.2.tgz
NetBSD 10.0alphaphp80-squirrelmail-decode-1.2.tgz
NetBSD 10.0alphaphp81-squirrelmail-decode-1.2.tgz
NetBSD 10.0alphaphp82-squirrelmail-decode-1.2.tgz
NetBSD 10.0alphaphp83-squirrelmail-decode-1.2.tgz
NetBSD 10.0alphaphp56-squirrelmail-decode-1.2.tgz
NetBSD 10.0alphaphp74-squirrelmail-decode-1.2.tgz
NetBSD 10.0alphaphp80-squirrelmail-decode-1.2.tgz
NetBSD 10.0alphaphp81-squirrelmail-decode-1.2.tgz
NetBSD 10.0alphaphp82-squirrelmail-decode-1.2.tgz
NetBSD 10.0alphaphp83-squirrelmail-decode-1.2.tgz
NetBSD 10.0earmv6hfphp56-squirrelmail-decode-1.2.tgz
NetBSD 10.0earmv6hfphp74-squirrelmail-decode-1.2.tgz
NetBSD 10.0earmv6hfphp80-squirrelmail-decode-1.2.tgz
NetBSD 10.0earmv6hfphp81-squirrelmail-decode-1.2.tgz
NetBSD 10.0earmv6hfphp82-squirrelmail-decode-1.2.tgz
NetBSD 10.0earmv6hfphp83-squirrelmail-decode-1.2.tgz
NetBSD 10.0earmv6hfphp56-squirrelmail-decode-1.2.tgz
NetBSD 10.0earmv6hfphp74-squirrelmail-decode-1.2.tgz
NetBSD 10.0earmv6hfphp80-squirrelmail-decode-1.2.tgz
NetBSD 10.0earmv6hfphp81-squirrelmail-decode-1.2.tgz
NetBSD 10.0earmv6hfphp82-squirrelmail-decode-1.2.tgz
NetBSD 10.0earmv6hfphp83-squirrelmail-decode-1.2.tgz
NetBSD 10.0earmv6hfphp56-squirrelmail-decode-1.2.tgz
NetBSD 10.0earmv6hfphp74-squirrelmail-decode-1.2.tgz
NetBSD 10.0earmv6hfphp81-squirrelmail-decode-1.2.tgz
NetBSD 10.0earmv6hfphp82-squirrelmail-decode-1.2.tgz
NetBSD 10.0earmv6hfphp83-squirrelmail-decode-1.2.tgz
NetBSD 10.0earmv7hfphp56-squirrelmail-decode-1.2.tgz
NetBSD 10.0earmv7hfphp74-squirrelmail-decode-1.2.tgz
NetBSD 10.0earmv7hfphp81-squirrelmail-decode-1.2.tgz
NetBSD 10.0earmv7hfphp82-squirrelmail-decode-1.2.tgz
NetBSD 10.0earmv7hfphp83-squirrelmail-decode-1.2.tgz
NetBSD 10.0earmv7hfphp56-squirrelmail-decode-1.2.tgz
NetBSD 10.0earmv7hfphp74-squirrelmail-decode-1.2.tgz
NetBSD 10.0earmv7hfphp80-squirrelmail-decode-1.2.tgz
NetBSD 10.0earmv7hfphp81-squirrelmail-decode-1.2.tgz
NetBSD 10.0earmv7hfphp82-squirrelmail-decode-1.2.tgz
NetBSD 10.0earmv7hfphp83-squirrelmail-decode-1.2.tgz
NetBSD 10.0earmv7hfphp56-squirrelmail-decode-1.2.tgz
NetBSD 10.0earmv7hfphp74-squirrelmail-decode-1.2.tgz
NetBSD 10.0earmv7hfphp80-squirrelmail-decode-1.2.tgz
NetBSD 10.0earmv7hfphp81-squirrelmail-decode-1.2.tgz
NetBSD 10.0earmv7hfphp82-squirrelmail-decode-1.2.tgz
NetBSD 10.0earmv7hfphp83-squirrelmail-decode-1.2.tgz
NetBSD 10.0i386php56-squirrelmail-decode-1.2.tgz
NetBSD 10.0i386php74-squirrelmail-decode-1.2.tgz
NetBSD 10.0i386php81-squirrelmail-decode-1.2.tgz
NetBSD 10.0i386php82-squirrelmail-decode-1.2.tgz
NetBSD 10.0i386php83-squirrelmail-decode-1.2.tgz
NetBSD 10.0i386php56-squirrelmail-decode-1.2.tgz
NetBSD 10.0i386php74-squirrelmail-decode-1.2.tgz
NetBSD 10.0i386php80-squirrelmail-decode-1.2.tgz
NetBSD 10.0i386php81-squirrelmail-decode-1.2.tgz
NetBSD 10.0i386php82-squirrelmail-decode-1.2.tgz
NetBSD 10.0i386php83-squirrelmail-decode-1.2.tgz
NetBSD 10.0i386php56-squirrelmail-decode-1.2.tgz
NetBSD 10.0i386php74-squirrelmail-decode-1.2.tgz
NetBSD 10.0i386php80-squirrelmail-decode-1.2.tgz
NetBSD 10.0i386php81-squirrelmail-decode-1.2.tgz
NetBSD 10.0i386php82-squirrelmail-decode-1.2.tgz
NetBSD 10.0i386php83-squirrelmail-decode-1.2.tgz
NetBSD 10.0i386php56-squirrelmail-decode-1.2.tgz
NetBSD 10.0i386php74-squirrelmail-decode-1.2.tgz
NetBSD 10.0i386php81-squirrelmail-decode-1.2.tgz
NetBSD 10.0i386php82-squirrelmail-decode-1.2.tgz
NetBSD 10.0i386php83-squirrelmail-decode-1.2.tgz
NetBSD 10.0m68kphp56-squirrelmail-decode-1.2.tgz
NetBSD 10.0m68kphp83-squirrelmail-decode-1.2.tgz
NetBSD 10.0powerpcsquirrelmail-decode-1.2nb3.tgz
NetBSD 10.0powerpcphp56-squirrelmail-decode-1.2.tgz
NetBSD 10.0powerpcphp74-squirrelmail-decode-1.2.tgz
NetBSD 10.0powerpcphp80-squirrelmail-decode-1.2.tgz
NetBSD 10.0powerpcphp81-squirrelmail-decode-1.2.tgz
NetBSD 10.0powerpcphp82-squirrelmail-decode-1.2.tgz
NetBSD 10.0powerpcphp83-squirrelmail-decode-1.2.tgz
NetBSD 10.0powerpcsquirrelmail-decode-1.2nb3.tgz
NetBSD 10.0powerpcphp56-squirrelmail-decode-1.2.tgz
NetBSD 10.0powerpcphp74-squirrelmail-decode-1.2.tgz
NetBSD 10.0powerpcphp80-squirrelmail-decode-1.2.tgz
NetBSD 10.0powerpcphp81-squirrelmail-decode-1.2.tgz
NetBSD 10.0powerpcphp82-squirrelmail-decode-1.2.tgz
NetBSD 10.0powerpcphp83-squirrelmail-decode-1.2.tgz
NetBSD 10.0powerpcsquirrelmail-decode-1.2nb3.tgz
NetBSD 10.0sparc64php56-squirrelmail-decode-1.2.tgz
NetBSD 10.0sparc64php74-squirrelmail-decode-1.2.tgz
NetBSD 10.0sparc64php80-squirrelmail-decode-1.2.tgz
NetBSD 10.0sparc64php56-squirrelmail-decode-1.2.tgz
NetBSD 10.0sparc64php74-squirrelmail-decode-1.2.tgz
NetBSD 10.0sparc64php80-squirrelmail-decode-1.2.tgz
NetBSD 10.0sparc64php81-squirrelmail-decode-1.2.tgz
NetBSD 10.0sparc64php82-squirrelmail-decode-1.2.tgz
NetBSD 10.0sparc64php83-squirrelmail-decode-1.2.tgz
NetBSD 10.0sparcphp56-squirrelmail-decode-1.2.tgz
NetBSD 10.0sparcphp74-squirrelmail-decode-1.2.tgz
NetBSD 10.0sparcphp80-squirrelmail-decode-1.2.tgz
NetBSD 10.0sparcphp81-squirrelmail-decode-1.2.tgz
NetBSD 10.0sparcphp82-squirrelmail-decode-1.2.tgz
NetBSD 10.0sparcphp83-squirrelmail-decode-1.2.tgz
NetBSD 10.0sparcphp56-squirrelmail-decode-1.2.tgz
NetBSD 10.0sparcphp74-squirrelmail-decode-1.2.tgz
NetBSD 10.0sparcphp80-squirrelmail-decode-1.2.tgz
NetBSD 10.0sparcphp81-squirrelmail-decode-1.2.tgz
NetBSD 10.0sparcphp82-squirrelmail-decode-1.2.tgz
NetBSD 10.0sparcphp83-squirrelmail-decode-1.2.tgz
NetBSD 10.0x86_64php56-squirrelmail-decode-1.2.tgz
NetBSD 10.0x86_64php74-squirrelmail-decode-1.2.tgz
NetBSD 10.0x86_64php81-squirrelmail-decode-1.2.tgz
NetBSD 10.0x86_64php82-squirrelmail-decode-1.2.tgz
NetBSD 10.0x86_64php83-squirrelmail-decode-1.2.tgz
NetBSD 10.0x86_64php56-squirrelmail-decode-1.2.tgz
NetBSD 10.0x86_64php74-squirrelmail-decode-1.2.tgz
NetBSD 10.0x86_64php80-squirrelmail-decode-1.2.tgz
NetBSD 10.0x86_64php81-squirrelmail-decode-1.2.tgz
NetBSD 10.0x86_64php82-squirrelmail-decode-1.2.tgz
NetBSD 10.0x86_64php83-squirrelmail-decode-1.2.tgz
NetBSD 10.0x86_64php56-squirrelmail-decode-1.2.tgz
NetBSD 10.0x86_64php74-squirrelmail-decode-1.2.tgz
NetBSD 10.0x86_64php80-squirrelmail-decode-1.2.tgz
NetBSD 10.0x86_64php81-squirrelmail-decode-1.2.tgz
NetBSD 10.0x86_64php82-squirrelmail-decode-1.2.tgz
NetBSD 10.0x86_64php83-squirrelmail-decode-1.2.tgz
NetBSD 10.0x86_64php56-squirrelmail-decode-1.2.tgz
NetBSD 10.0x86_64php74-squirrelmail-decode-1.2.tgz
NetBSD 10.0x86_64php81-squirrelmail-decode-1.2.tgz
NetBSD 10.0x86_64php82-squirrelmail-decode-1.2.tgz
NetBSD 10.0x86_64php83-squirrelmail-decode-1.2.tgz
NetBSD 9.0aarch64php56-squirrelmail-decode-1.2.tgz
NetBSD 9.0aarch64php74-squirrelmail-decode-1.2.tgz
NetBSD 9.0aarch64php81-squirrelmail-decode-1.2.tgz
NetBSD 9.0aarch64php82-squirrelmail-decode-1.2.tgz
NetBSD 9.0aarch64php83-squirrelmail-decode-1.2.tgz
NetBSD 9.0aarch64php56-squirrelmail-decode-1.2.tgz
NetBSD 9.0aarch64php74-squirrelmail-decode-1.2.tgz
NetBSD 9.0aarch64php80-squirrelmail-decode-1.2.tgz
NetBSD 9.0aarch64php81-squirrelmail-decode-1.2.tgz
NetBSD 9.0aarch64php82-squirrelmail-decode-1.2.tgz
NetBSD 9.0aarch64php83-squirrelmail-decode-1.2.tgz
NetBSD 9.0aarch64php56-squirrelmail-decode-1.2.tgz
NetBSD 9.0aarch64php74-squirrelmail-decode-1.2.tgz
NetBSD 9.0aarch64php80-squirrelmail-decode-1.2.tgz
NetBSD 9.0aarch64php81-squirrelmail-decode-1.2.tgz
NetBSD 9.0aarch64php82-squirrelmail-decode-1.2.tgz
NetBSD 9.0aarch64php83-squirrelmail-decode-1.2.tgz
NetBSD 9.0alphaphp56-squirrelmail-decode-1.2.tgz
NetBSD 9.0alphaphp74-squirrelmail-decode-1.2.tgz
NetBSD 9.0alphaphp80-squirrelmail-decode-1.2.tgz
NetBSD 9.0alphaphp81-squirrelmail-decode-1.2.tgz
NetBSD 9.0alphaphp82-squirrelmail-decode-1.2.tgz
NetBSD 9.0alphaphp83-squirrelmail-decode-1.2.tgz
NetBSD 9.0earmv6hfphp56-squirrelmail-decode-1.2.tgz
NetBSD 9.0earmv6hfphp74-squirrelmail-decode-1.2.tgz
NetBSD 9.0earmv6hfphp81-squirrelmail-decode-1.2.tgz
NetBSD 9.0earmv6hfphp82-squirrelmail-decode-1.2.tgz
NetBSD 9.0earmv6hfphp83-squirrelmail-decode-1.2.tgz
NetBSD 9.0earmv6hfphp56-squirrelmail-decode-1.2.tgz
NetBSD 9.0earmv6hfphp74-squirrelmail-decode-1.2.tgz
NetBSD 9.0earmv6hfphp80-squirrelmail-decode-1.2.tgz
NetBSD 9.0earmv6hfphp81-squirrelmail-decode-1.2.tgz
NetBSD 9.0earmv6hfphp82-squirrelmail-decode-1.2.tgz
NetBSD 9.0earmv6hfphp83-squirrelmail-decode-1.2.tgz
NetBSD 9.0earmv6hfphp56-squirrelmail-decode-1.2.tgz
NetBSD 9.0earmv6hfphp74-squirrelmail-decode-1.2.tgz
NetBSD 9.0earmv6hfphp80-squirrelmail-decode-1.2.tgz
NetBSD 9.0earmv6hfphp81-squirrelmail-decode-1.2.tgz
NetBSD 9.0earmv6hfphp82-squirrelmail-decode-1.2.tgz
NetBSD 9.0earmv6hfphp83-squirrelmail-decode-1.2.tgz
NetBSD 9.0earmv7hfphp56-squirrelmail-decode-1.2.tgz
NetBSD 9.0earmv7hfphp74-squirrelmail-decode-1.2.tgz
NetBSD 9.0earmv7hfphp81-squirrelmail-decode-1.2.tgz
NetBSD 9.0earmv7hfphp82-squirrelmail-decode-1.2.tgz
NetBSD 9.0earmv7hfphp83-squirrelmail-decode-1.2.tgz
NetBSD 9.0earmv7hfphp56-squirrelmail-decode-1.2.tgz
NetBSD 9.0earmv7hfphp74-squirrelmail-decode-1.2.tgz
NetBSD 9.0earmv7hfphp80-squirrelmail-decode-1.2.tgz
NetBSD 9.0earmv7hfphp81-squirrelmail-decode-1.2.tgz
NetBSD 9.0earmv7hfphp82-squirrelmail-decode-1.2.tgz
NetBSD 9.0earmv7hfphp83-squirrelmail-decode-1.2.tgz
NetBSD 9.0earmv7hfphp56-squirrelmail-decode-1.2.tgz
NetBSD 9.0earmv7hfphp74-squirrelmail-decode-1.2.tgz
NetBSD 9.0earmv7hfphp80-squirrelmail-decode-1.2.tgz
NetBSD 9.0earmv7hfphp81-squirrelmail-decode-1.2.tgz
NetBSD 9.0earmv7hfphp82-squirrelmail-decode-1.2.tgz
NetBSD 9.0earmv7hfphp83-squirrelmail-decode-1.2.tgz
NetBSD 9.0i386php56-squirrelmail-decode-1.2.tgz
NetBSD 9.0i386php74-squirrelmail-decode-1.2.tgz
NetBSD 9.0i386php81-squirrelmail-decode-1.2.tgz
NetBSD 9.0i386php82-squirrelmail-decode-1.2.tgz
NetBSD 9.0i386php83-squirrelmail-decode-1.2.tgz
NetBSD 9.0i386php56-squirrelmail-decode-1.2.tgz
NetBSD 9.0i386php74-squirrelmail-decode-1.2.tgz
NetBSD 9.0i386php80-squirrelmail-decode-1.2.tgz
NetBSD 9.0i386php81-squirrelmail-decode-1.2.tgz
NetBSD 9.0i386php82-squirrelmail-decode-1.2.tgz
NetBSD 9.0i386php83-squirrelmail-decode-1.2.tgz
NetBSD 9.0i386php56-squirrelmail-decode-1.2.tgz
NetBSD 9.0i386php74-squirrelmail-decode-1.2.tgz
NetBSD 9.0i386php80-squirrelmail-decode-1.2.tgz
NetBSD 9.0i386php81-squirrelmail-decode-1.2.tgz
NetBSD 9.0i386php82-squirrelmail-decode-1.2.tgz
NetBSD 9.0i386php83-squirrelmail-decode-1.2.tgz
NetBSD 9.0i386php56-squirrelmail-decode-1.2.tgz
NetBSD 9.0i386php74-squirrelmail-decode-1.2.tgz
NetBSD 9.0i386php81-squirrelmail-decode-1.2.tgz
NetBSD 9.0i386php82-squirrelmail-decode-1.2.tgz
NetBSD 9.0i386php83-squirrelmail-decode-1.2.tgz
NetBSD 9.0powerpcphp56-squirrelmail-decode-1.2.tgz
NetBSD 9.0powerpcphp74-squirrelmail-decode-1.2.tgz
NetBSD 9.0powerpcphp80-squirrelmail-decode-1.2.tgz
NetBSD 9.0powerpcphp81-squirrelmail-decode-1.2.tgz
NetBSD 9.0powerpcphp82-squirrelmail-decode-1.2.tgz
NetBSD 9.0powerpcphp83-squirrelmail-decode-1.2.tgz
NetBSD 9.0powerpcsquirrelmail-decode-1.2nb3.tgz
NetBSD 9.0powerpcsquirrelmail-decode-1.2nb3.tgz
NetBSD 9.0powerpcphp56-squirrelmail-decode-1.2.tgz
NetBSD 9.0powerpcphp74-squirrelmail-decode-1.2.tgz
NetBSD 9.0powerpcphp80-squirrelmail-decode-1.2.tgz
NetBSD 9.0powerpcphp81-squirrelmail-decode-1.2.tgz
NetBSD 9.0powerpcphp82-squirrelmail-decode-1.2.tgz
NetBSD 9.0powerpcphp83-squirrelmail-decode-1.2.tgz
NetBSD 9.0powerpcsquirrelmail-decode-1.2nb3.tgz
NetBSD 9.0sparc64php56-squirrelmail-decode-1.2.tgz
NetBSD 9.0sparc64php74-squirrelmail-decode-1.2.tgz
NetBSD 9.0sparc64php80-squirrelmail-decode-1.2.tgz
NetBSD 9.0x86_64php56-squirrelmail-decode-1.2.tgz
NetBSD 9.0x86_64php74-squirrelmail-decode-1.2.tgz
NetBSD 9.0x86_64php81-squirrelmail-decode-1.2.tgz
NetBSD 9.0x86_64php82-squirrelmail-decode-1.2.tgz
NetBSD 9.0x86_64php83-squirrelmail-decode-1.2.tgz
NetBSD 9.0x86_64php56-squirrelmail-decode-1.2.tgz
NetBSD 9.0x86_64php74-squirrelmail-decode-1.2.tgz
NetBSD 9.0x86_64php80-squirrelmail-decode-1.2.tgz
NetBSD 9.0x86_64php81-squirrelmail-decode-1.2.tgz
NetBSD 9.0x86_64php82-squirrelmail-decode-1.2.tgz
NetBSD 9.0x86_64php83-squirrelmail-decode-1.2.tgz
NetBSD 9.0x86_64php56-squirrelmail-decode-1.2.tgz
NetBSD 9.0x86_64php74-squirrelmail-decode-1.2.tgz
NetBSD 9.0x86_64php80-squirrelmail-decode-1.2.tgz
NetBSD 9.0x86_64php81-squirrelmail-decode-1.2.tgz
NetBSD 9.0x86_64php82-squirrelmail-decode-1.2.tgz
NetBSD 9.0x86_64php83-squirrelmail-decode-1.2.tgz
NetBSD 9.0x86_64php56-squirrelmail-decode-1.2.tgz
NetBSD 9.0x86_64php74-squirrelmail-decode-1.2.tgz
NetBSD 9.0x86_64php81-squirrelmail-decode-1.2.tgz
NetBSD 9.0x86_64php82-squirrelmail-decode-1.2.tgz
NetBSD 9.0x86_64php83-squirrelmail-decode-1.2.tgz
NetBSD 9.3x86_64php56-squirrelmail-decode-1.2.tgz
NetBSD 9.3x86_64php74-squirrelmail-decode-1.2.tgz
NetBSD 9.3x86_64php81-squirrelmail-decode-1.2.tgz
NetBSD 9.3x86_64php82-squirrelmail-decode-1.2.tgz
NetBSD 9.3x86_64php83-squirrelmail-decode-1.2.tgz
NetBSD 9.3x86_64php56-squirrelmail-decode-1.2.tgz
NetBSD 9.3x86_64php74-squirrelmail-decode-1.2.tgz
NetBSD 9.3x86_64php81-squirrelmail-decode-1.2.tgz
NetBSD 9.3x86_64php82-squirrelmail-decode-1.2.tgz
NetBSD 9.3x86_64php83-squirrelmail-decode-1.2.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.