From 636d347e3df00f685923a30a4e11a95a49bd7b4c Mon Sep 17 00:00:00 2001 From: James <> Date: Fri, 26 Jun 2020 15:25:23 +0100 Subject: hpvpn --- master/endstop | 1376 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1376 insertions(+) (limited to 'master/endstop') diff --git a/master/endstop b/master/endstop index e69de29..bb3c0ae 100644 --- a/master/endstop +++ b/master/endstop @@ -0,0 +1,1376 @@ +diff --git a/.config b/.config +index 68963d7..606c05c 100644 +--- a/.config ++++ b/.config +@@ -1401,8 +1401,8 @@ CONFIG_BUSYBOX_DEFAULT_FEATURE_SYSLOGD_READ_BUFFER_SIZE=0 + # CONFIG_BUSYBOX_DEFAULT_FEATURE_IPC_SYSLOG is not set + CONFIG_BUSYBOX_DEFAULT_FEATURE_IPC_SYSLOG_BUFFER_SIZE=0 + # CONFIG_BUSYBOX_DEFAULT_FEATURE_KMSG_SYSLOG is not set +-# CONFIG_PACKAGE_ca-bundle is not set +-# CONFIG_PACKAGE_ca-certificates is not set ++CONFIG_PACKAGE_ca-bundle=m ++CONFIG_PACKAGE_ca-certificates=m + CONFIG_PACKAGE_dnsmasq=y + # CONFIG_PACKAGE_dnsmasq-dhcpv6 is not set + # CONFIG_PACKAGE_dnsmasq-full is not set +@@ -1807,10 +1807,10 @@ CONFIG_PACKAGE_kmod-hwmon-core=m + # + # Input modules + # +-# CONFIG_PACKAGE_kmod-hid is not set +-# CONFIG_PACKAGE_kmod-hid-generic is not set +-# CONFIG_PACKAGE_kmod-input-core is not set +-# CONFIG_PACKAGE_kmod-input-evdev is not set ++CONFIG_PACKAGE_kmod-hid=m ++CONFIG_PACKAGE_kmod-hid-generic=m ++CONFIG_PACKAGE_kmod-input-core=m ++CONFIG_PACKAGE_kmod-input-evdev=m + # CONFIG_PACKAGE_kmod-input-gpio-encoder is not set + # CONFIG_PACKAGE_kmod-input-gpio-keys is not set + # CONFIG_PACKAGE_kmod-input-gpio-keys-polled is not set +@@ -2172,7 +2172,7 @@ CONFIG_PACKAGE_kmod-usb-core=y + # CONFIG_PACKAGE_kmod-usb-dwc2 is not set + # CONFIG_PACKAGE_kmod-usb-dwc3 is not set + CONFIG_PACKAGE_kmod-usb-ehci=y +-# CONFIG_PACKAGE_kmod-usb-hid is not set ++CONFIG_PACKAGE_kmod-usb-hid=m + # CONFIG_PACKAGE_kmod-usb-ledtrig-usbport is not set + CONFIG_PACKAGE_kmod-usb-net=m + # CONFIG_PACKAGE_kmod-usb-net-asix is not set +@@ -2455,7 +2455,170 @@ CONFIG_PACKAGE_kmod-mt76x2=y + # + # Perl + # +-# CONFIG_PACKAGE_perl is not set ++CONFIG_PACKAGE_perl=m ++ ++# ++# Configuration ++# ++CONFIG_PERL_THREADS=y ++# CONFIG_PERL_TESTS is not set ++CONFIG_PERL_NOCOMMENT=y ++# CONFIG_PACKAGE_perl-authen-sasl is not set ++# CONFIG_PACKAGE_perl-authen-sasl-xs is not set ++CONFIG_PACKAGE_perl-autoloader=m ++# CONFIG_PACKAGE_perl-cgi is not set ++CONFIG_PACKAGE_perl-chipcard-pcsc=m ++# CONFIG_PACKAGE_perl-compress-bzip2 is not set ++CONFIG_PACKAGE_perl-crypt-openssl-guess=m ++CONFIG_PACKAGE_perl-crypt-openssl-random=m ++CONFIG_PACKAGE_perl-crypt-openssl-rsa=m ++CONFIG_PACKAGE_perl-crypt-rsa=m ++CONFIG_PACKAGE_perl-dbi=m ++CONFIG_PACKAGE_perl-device-serialport=m ++# CONFIG_PACKAGE_perl-device-usb is not set ++CONFIG_PACKAGE_perl-digest-sha256=m ++# CONFIG_PACKAGE_perl-encode-locale is not set ++# CONFIG_PACKAGE_perl-file-listing is not set ++# CONFIG_PACKAGE_perl-file-sharedir-install is not set ++# CONFIG_PACKAGE_perl-html-form is not set ++# CONFIG_PACKAGE_perl-html-parser is not set ++# CONFIG_PACKAGE_perl-html-tagset is not set ++# CONFIG_PACKAGE_perl-html-tree is not set ++# CONFIG_PACKAGE_perl-http-cookies is not set ++# CONFIG_PACKAGE_perl-http-daemon is not set ++# CONFIG_PACKAGE_perl-http-date is not set ++# CONFIG_PACKAGE_perl-http-message is not set ++# CONFIG_PACKAGE_perl-http-negotiate is not set ++# CONFIG_PACKAGE_perl-http-server-simple is not set ++# CONFIG_PACKAGE_perl-inline is not set ++# CONFIG_PACKAGE_perl-inline-c is not set ++# CONFIG_PACKAGE_perl-io-html is not set ++# CONFIG_PACKAGE_perl-lockfile-simple is not set ++# CONFIG_PACKAGE_perl-lwp-mediatypes is not set ++# CONFIG_PACKAGE_perl-net-http is not set ++# CONFIG_PACKAGE_perl-net-telnet is not set ++# CONFIG_PACKAGE_perl-parse-recdescent is not set ++# CONFIG_PACKAGE_perl-sub-uplevel is not set ++# CONFIG_PACKAGE_perl-test-harness is not set ++# CONFIG_PACKAGE_perl-test-warn is not set ++# CONFIG_PACKAGE_perl-text-csv_xs is not set ++# CONFIG_PACKAGE_perl-uri is not set ++# CONFIG_PACKAGE_perl-www is not set ++# CONFIG_PACKAGE_perl-www-curl is not set ++# CONFIG_PACKAGE_perl-www-mechanize is not set ++# CONFIG_PACKAGE_perl-www-robotrules is not set ++# CONFIG_PACKAGE_perl-xml-parser is not set ++# CONFIG_PACKAGE_perlbase-anydbm-file is not set ++# CONFIG_PACKAGE_perlbase-app is not set ++# CONFIG_PACKAGE_perlbase-archive is not set ++# CONFIG_PACKAGE_perlbase-arybase is not set ++# CONFIG_PACKAGE_perlbase-attribute is not set ++# CONFIG_PACKAGE_perlbase-attributes is not set ++# CONFIG_PACKAGE_perlbase-autodie is not set ++# CONFIG_PACKAGE_perlbase-autoloader is not set ++# CONFIG_PACKAGE_perlbase-autosplit is not set ++# CONFIG_PACKAGE_perlbase-autouse is not set ++# CONFIG_PACKAGE_perlbase-b is not set ++CONFIG_PACKAGE_perlbase-base=m ++CONFIG_PACKAGE_perlbase-benchmark=m ++# CONFIG_PACKAGE_perlbase-bigint is not set ++# CONFIG_PACKAGE_perlbase-bignum is not set ++# CONFIG_PACKAGE_perlbase-blib is not set ++CONFIG_PACKAGE_perlbase-bytes=m ++# CONFIG_PACKAGE_perlbase-charnames is not set ++CONFIG_PACKAGE_perlbase-class=m ++# CONFIG_PACKAGE_perlbase-compress is not set ++CONFIG_PACKAGE_perlbase-config=m ++# CONFIG_PACKAGE_perlbase-cpan is not set ++CONFIG_PACKAGE_perlbase-cwd=m ++CONFIG_PACKAGE_perlbase-data=m ++# CONFIG_PACKAGE_perlbase-db is not set ++# CONFIG_PACKAGE_perlbase-db-file is not set ++# CONFIG_PACKAGE_perlbase-dbm-filter is not set ++# CONFIG_PACKAGE_perlbase-devel is not set ++# CONFIG_PACKAGE_perlbase-diagnostics is not set ++# CONFIG_PACKAGE_perlbase-digest is not set ++# CONFIG_PACKAGE_perlbase-dirhandle is not set ++# CONFIG_PACKAGE_perlbase-dumpvalue is not set ++# CONFIG_PACKAGE_perlbase-dumpvar is not set ++CONFIG_PACKAGE_perlbase-dynaloader=m ++# CONFIG_PACKAGE_perlbase-encode is not set ++# CONFIG_PACKAGE_perlbase-encoding is not set ++# CONFIG_PACKAGE_perlbase-english is not set ++# CONFIG_PACKAGE_perlbase-env is not set ++CONFIG_PACKAGE_perlbase-errno=m ++CONFIG_PACKAGE_perlbase-essential=m ++# CONFIG_PACKAGE_perlbase-experimental is not set ++# CONFIG_PACKAGE_perlbase-extutils is not set ++# CONFIG_PACKAGE_perlbase-fatal is not set ++CONFIG_PACKAGE_perlbase-fcntl=m ++# CONFIG_PACKAGE_perlbase-feature is not set ++# CONFIG_PACKAGE_perlbase-fields is not set ++CONFIG_PACKAGE_perlbase-file=m ++# CONFIG_PACKAGE_perlbase-filecache is not set ++CONFIG_PACKAGE_perlbase-filehandle=m ++# CONFIG_PACKAGE_perlbase-filetest is not set ++# CONFIG_PACKAGE_perlbase-filter is not set ++# CONFIG_PACKAGE_perlbase-findbin is not set ++# CONFIG_PACKAGE_perlbase-gdbm-file is not set ++# CONFIG_PACKAGE_perlbase-getopt is not set ++# CONFIG_PACKAGE_perlbase-hash is not set ++# CONFIG_PACKAGE_perlbase-http-tiny is not set ++CONFIG_PACKAGE_perlbase-i18n=m ++# CONFIG_PACKAGE_perlbase-if is not set ++CONFIG_PACKAGE_perlbase-integer=m ++CONFIG_PACKAGE_perlbase-io=m ++CONFIG_PACKAGE_perlbase-ipc=m ++# CONFIG_PACKAGE_perlbase-json-pp is not set ++# CONFIG_PACKAGE_perlbase-less is not set ++CONFIG_PACKAGE_perlbase-list=m ++CONFIG_PACKAGE_perlbase-locale=m ++# CONFIG_PACKAGE_perlbase-math is not set ++# CONFIG_PACKAGE_perlbase-memoize is not set ++# CONFIG_PACKAGE_perlbase-meta-notation is not set ++# CONFIG_PACKAGE_perlbase-mime is not set ++# CONFIG_PACKAGE_perlbase-module is not set ++# CONFIG_PACKAGE_perlbase-mro is not set ++# CONFIG_PACKAGE_perlbase-net is not set ++# CONFIG_PACKAGE_perlbase-next is not set ++# CONFIG_PACKAGE_perlbase-o is not set ++# CONFIG_PACKAGE_perlbase-opcode is not set ++# CONFIG_PACKAGE_perlbase-open is not set ++# CONFIG_PACKAGE_perlbase-ops is not set ++# CONFIG_PACKAGE_perlbase-ostype is not set ++CONFIG_PACKAGE_perlbase-params=m ++# CONFIG_PACKAGE_perlbase-perl5db is not set ++# CONFIG_PACKAGE_perlbase-perlio is not set ++# CONFIG_PACKAGE_perlbase-pod is not set ++CONFIG_PACKAGE_perlbase-posix=m ++CONFIG_PACKAGE_perlbase-re=m ++# CONFIG_PACKAGE_perlbase-safe is not set ++CONFIG_PACKAGE_perlbase-scalar=m ++# CONFIG_PACKAGE_perlbase-sdbm-file is not set ++# CONFIG_PACKAGE_perlbase-search is not set ++CONFIG_PACKAGE_perlbase-selectsaver=m ++CONFIG_PACKAGE_perlbase-selfloader=m ++# CONFIG_PACKAGE_perlbase-sigtrap is not set ++CONFIG_PACKAGE_perlbase-socket=m ++# CONFIG_PACKAGE_perlbase-sort is not set ++CONFIG_PACKAGE_perlbase-storable=m ++CONFIG_PACKAGE_perlbase-symbol=m ++# CONFIG_PACKAGE_perlbase-sys is not set ++CONFIG_PACKAGE_perlbase-tap=m ++# CONFIG_PACKAGE_perlbase-term is not set ++CONFIG_PACKAGE_perlbase-test=m ++CONFIG_PACKAGE_perlbase-text=m ++# CONFIG_PACKAGE_perlbase-thread is not set ++# CONFIG_PACKAGE_perlbase-threads is not set ++CONFIG_PACKAGE_perlbase-tie=m ++# CONFIG_PACKAGE_perlbase-time is not set ++# CONFIG_PACKAGE_perlbase-unicode is not set ++CONFIG_PACKAGE_perlbase-unicore=m ++CONFIG_PACKAGE_perlbase-universal=m ++# CONFIG_PACKAGE_perlbase-user is not set ++CONFIG_PACKAGE_perlbase-utf8=m ++# CONFIG_PACKAGE_perlbase-version is not set ++CONFIG_PACKAGE_perlbase-xsloader=m + + # + # Python +@@ -2915,10 +3078,27 @@ CONFIG_PACKAGE_libxtables=y + # + # SSL + # +-# CONFIG_PACKAGE_libgnutls is not set ++CONFIG_PACKAGE_libgnutls=m ++ ++# ++# Configuration ++# ++CONFIG_GNUTLS_DTLS_SRTP=y ++CONFIG_GNUTLS_ALPN=y ++CONFIG_GNUTLS_OCSP=y ++# CONFIG_GNUTLS_CRYPTODEV is not set ++CONFIG_GNUTLS_HEARTBEAT=y ++# CONFIG_GNUTLS_OPENPGP is not set ++# CONFIG_GNUTLS_SRP is not set ++CONFIG_GNUTLS_PSK=y ++CONFIG_GNUTLS_ANON=y ++# CONFIG_GNUTLS_TPM is not set ++CONFIG_GNUTLS_PKCS11=y ++CONFIG_GNUTLS_EXT_LIBTASN1=y + # CONFIG_PACKAGE_libmbedtls is not set + CONFIG_PACKAGE_libopenssl=y +-# CONFIG_OPENSSL_WITH_EC is not set ++CONFIG_OPENSSL_WITH_EC=y ++# CONFIG_OPENSSL_WITH_EC2M is not set + # CONFIG_OPENSSL_WITH_SSL3 is not set + CONFIG_OPENSSL_WITH_DEPRECATED=y + # CONFIG_OPENSSL_WITH_DTLS is not set +@@ -3004,7 +3184,7 @@ CONFIG_SQLITE_RTREE=y + # CONFIG_PACKAGE_bluez-libs is not set + # CONFIG_PACKAGE_boost is not set + CONFIG_PACKAGE_ccid=m +-# CONFIG_PACKAGE_check is not set ++CONFIG_PACKAGE_check=m + # CONFIG_PACKAGE_classpath is not set + # CONFIG_PACKAGE_classpath-tools is not set + # CONFIG_PACKAGE_confuse is not set +@@ -3047,7 +3227,49 @@ CONFIG_PACKAGE_libblobmsg-json=y + # CONFIG_PACKAGE_libcharset is not set + # CONFIG_PACKAGE_libcoap is not set + # CONFIG_PACKAGE_libconfig is not set +-# CONFIG_PACKAGE_libcurl is not set ++CONFIG_PACKAGE_libcurl=m ++ ++# ++# SSL support ++# ++# CONFIG_LIBCURL_MBEDTLS is not set ++# CONFIG_LIBCURL_WOLFSSL is not set ++CONFIG_LIBCURL_OPENSSL=y ++# CONFIG_LIBCURL_GNUTLS is not set ++# CONFIG_LIBCURL_NOSSL is not set ++ ++# ++# Supported protocols ++# ++# CONFIG_LIBCURL_DICT is not set ++CONFIG_LIBCURL_FILE=y ++# CONFIG_LIBCURL_FTP is not set ++# CONFIG_LIBCURL_GOPHER is not set ++CONFIG_LIBCURL_HTTP=y ++CONFIG_LIBCURL_COOKIES=y ++# CONFIG_LIBCURL_IMAP is not set ++# CONFIG_LIBCURL_LDAP is not set ++# CONFIG_LIBCURL_POP3 is not set ++# CONFIG_LIBCURL_RTSP is not set ++# CONFIG_LIBCURL_SSH2 is not set ++CONFIG_LIBCURL_NO_SMB="!" ++# CONFIG_LIBCURL_SMTP is not set ++# CONFIG_LIBCURL_TELNET is not set ++# CONFIG_LIBCURL_TFTP is not set ++# CONFIG_LIBCURL_NGHTTP2 is not set ++ ++# ++# Miscellaneous ++# ++CONFIG_LIBCURL_PROXY=y ++# CONFIG_LIBCURL_CRYPTO_AUTH is not set ++# CONFIG_LIBCURL_TLS_SRP is not set ++# CONFIG_LIBCURL_LIBIDN2 is not set ++# CONFIG_LIBCURL_THREADED_RESOLVER is not set ++# CONFIG_LIBCURL_ZLIB is not set ++# CONFIG_LIBCURL_UNIX_SOCKETS is not set ++# CONFIG_LIBCURL_LIBCURL_OPTION is not set ++# CONFIG_LIBCURL_VERBOSE is not set + CONFIG_PACKAGE_libdaemon=m + # CONFIG_PACKAGE_libdaq is not set + CONFIG_PACKAGE_libdb47=m +@@ -3163,7 +3385,12 @@ CONFIG_PACKAGE_libnetfilter-cttimeout=m + # CONFIG_PACKAGE_libnetfilter-log is not set + CONFIG_PACKAGE_libnetfilter-queue=m + # CONFIG_PACKAGE_libnetsnmp is not set +-# CONFIG_PACKAGE_libnettle is not set ++CONFIG_PACKAGE_libnettle=m ++ ++# ++# Configuration ++# ++# CONFIG_LIBNETTLE_MINI is not set + CONFIG_PACKAGE_libnfnetlink=m + # CONFIG_PACKAGE_libnftnl is not set + # CONFIG_PACKAGE_libnghttp2 is not set +@@ -3304,7 +3531,7 @@ CONFIG_PACKAGE_libusb-1.0=m + CONFIG_PACKAGE_libusb-compat=m + # CONFIG_PACKAGE_libusbmuxd is not set + # CONFIG_PACKAGE_libustream-mbedtls is not set +-# CONFIG_PACKAGE_libustream-openssl is not set ++CONFIG_PACKAGE_libustream-openssl=m + # CONFIG_PACKAGE_libustream-wolfssl is not set + # CONFIG_PACKAGE_libuuid is not set + # CONFIG_PACKAGE_libuv is not set +@@ -3421,6 +3648,7 @@ CONFIG_ZLIB_OPTIMIZE_SPEED=y + # CONFIG_PACKAGE_luci-app-ahcp is not set + # CONFIG_PACKAGE_luci-app-aria2 is not set + # CONFIG_PACKAGE_luci-app-asterisk is not set ++# CONFIG_PACKAGE_luci-app-attendedsysupgrade is not set + # CONFIG_PACKAGE_luci-app-bcp38 is not set + # CONFIG_PACKAGE_luci-app-bird1-ipv4 is not set + # CONFIG_PACKAGE_luci-app-bird1-ipv6 is not set +@@ -3648,7 +3876,7 @@ CONFIG_POSTFIX_PCRE=y + # CONFIG_PACKAGE_aria2 is not set + # CONFIG_PACKAGE_atftp is not set + # CONFIG_PACKAGE_atftpd is not set +-# CONFIG_PACKAGE_curl is not set ++CONFIG_PACKAGE_curl=m + # CONFIG_PACKAGE_gnurl is not set + # CONFIG_PACKAGE_lftp is not set + CONFIG_PACKAGE_rsync=m +@@ -4194,8 +4422,10 @@ CONFIG_PACKAGE_vpnc-scripts=m + # Version Control Systems + # + # CONFIG_PACKAGE_fossil is not set +-# CONFIG_PACKAGE_git is not set ++CONFIG_PACKAGE_git=m ++# CONFIG_PACKAGE_git-gitweb is not set + # CONFIG_PACKAGE_git-http is not set ++# CONFIG_PACKAGE_gitolite is not set + # CONFIG_PACKAGE_subversion-client is not set + # CONFIG_PACKAGE_subversion-libs is not set + # CONFIG_PACKAGE_subversion-server is not set +@@ -4241,7 +4471,9 @@ CONFIG_PACKAGE_adb-enablemodem=m + # CONFIG_PACKAGE_spawn-fcgi is not set + # CONFIG_PACKAGE_squid is not set + # CONFIG_PACKAGE_tinyproxy is not set +-# CONFIG_PACKAGE_uhttpd is not set ++CONFIG_PACKAGE_uhttpd=m ++# CONFIG_PACKAGE_uhttpd-mod-lua is not set ++# CONFIG_PACKAGE_uhttpd-mod-ubus is not set + # CONFIG_PACKAGE_uwsgi-cgi is not set + # CONFIG_PACKAGE_uwsgi-cgi-luci-support is not set + +@@ -4619,7 +4851,7 @@ CONFIG_PACKAGE_vim-full=m + # CONFIG_PACKAGE_cryptsetup is not set + # CONFIG_PACKAGE_cryptsetup-openssl is not set + # CONFIG_PACKAGE_gnupg is not set +-# CONFIG_PACKAGE_gnutls-utils is not set ++CONFIG_PACKAGE_gnutls-utils=m + # CONFIG_PACKAGE_gpgv is not set + # CONFIG_PACKAGE_px5g-mbedtls is not set + # CONFIG_PACKAGE_px5g-standalone is not set +@@ -4779,7 +5011,107 @@ CONFIG_PACKAGE_adb=m + # CONFIG_PACKAGE_cmdpad is not set + # CONFIG_PACKAGE_coap-client is not set + # CONFIG_PACKAGE_collectd is not set +-# CONFIG_PACKAGE_coreutils is not set ++CONFIG_PACKAGE_coreutils=m ++CONFIG_PACKAGE_coreutils-base64=m ++# CONFIG_PACKAGE_coreutils-basename is not set ++# CONFIG_PACKAGE_coreutils-cat is not set ++# CONFIG_PACKAGE_coreutils-chcon is not set ++# CONFIG_PACKAGE_coreutils-chgrp is not set ++# CONFIG_PACKAGE_coreutils-chmod is not set ++# CONFIG_PACKAGE_coreutils-chown is not set ++# CONFIG_PACKAGE_coreutils-chroot is not set ++# CONFIG_PACKAGE_coreutils-cksum is not set ++# CONFIG_PACKAGE_coreutils-comm is not set ++# CONFIG_PACKAGE_coreutils-cp is not set ++# CONFIG_PACKAGE_coreutils-csplit is not set ++# CONFIG_PACKAGE_coreutils-cut is not set ++# CONFIG_PACKAGE_coreutils-date is not set ++# CONFIG_PACKAGE_coreutils-dd is not set ++# CONFIG_PACKAGE_coreutils-dir is not set ++# CONFIG_PACKAGE_coreutils-dircolors is not set ++# CONFIG_PACKAGE_coreutils-dirname is not set ++# CONFIG_PACKAGE_coreutils-du is not set ++# CONFIG_PACKAGE_coreutils-echo is not set ++# CONFIG_PACKAGE_coreutils-env is not set ++# CONFIG_PACKAGE_coreutils-expand is not set ++# CONFIG_PACKAGE_coreutils-expr is not set ++# CONFIG_PACKAGE_coreutils-factor is not set ++# CONFIG_PACKAGE_coreutils-false is not set ++# CONFIG_PACKAGE_coreutils-fmt is not set ++# CONFIG_PACKAGE_coreutils-fold is not set ++# CONFIG_PACKAGE_coreutils-groups is not set ++# CONFIG_PACKAGE_coreutils-head is not set ++# CONFIG_PACKAGE_coreutils-hostid is not set ++# CONFIG_PACKAGE_coreutils-id is not set ++# CONFIG_PACKAGE_coreutils-install is not set ++# CONFIG_PACKAGE_coreutils-join is not set ++# CONFIG_PACKAGE_coreutils-kill is not set ++# CONFIG_PACKAGE_coreutils-link is not set ++# CONFIG_PACKAGE_coreutils-ln is not set ++# CONFIG_PACKAGE_coreutils-logname is not set ++# CONFIG_PACKAGE_coreutils-ls is not set ++# CONFIG_PACKAGE_coreutils-md5sum is not set ++# CONFIG_PACKAGE_coreutils-mkdir is not set ++# CONFIG_PACKAGE_coreutils-mkfifo is not set ++# CONFIG_PACKAGE_coreutils-mknod is not set ++# CONFIG_PACKAGE_coreutils-mktemp is not set ++# CONFIG_PACKAGE_coreutils-mv is not set ++# CONFIG_PACKAGE_coreutils-nice is not set ++# CONFIG_PACKAGE_coreutils-nl is not set ++# CONFIG_PACKAGE_coreutils-nohup is not set ++# CONFIG_PACKAGE_coreutils-nproc is not set ++# CONFIG_PACKAGE_coreutils-od is not set ++# CONFIG_PACKAGE_coreutils-paste is not set ++# CONFIG_PACKAGE_coreutils-pathchk is not set ++# CONFIG_PACKAGE_coreutils-pinky is not set ++# CONFIG_PACKAGE_coreutils-pr is not set ++# CONFIG_PACKAGE_coreutils-printenv is not set ++# CONFIG_PACKAGE_coreutils-printf is not set ++# CONFIG_PACKAGE_coreutils-ptx is not set ++# CONFIG_PACKAGE_coreutils-pwd is not set ++# CONFIG_PACKAGE_coreutils-readlink is not set ++# CONFIG_PACKAGE_coreutils-realpath is not set ++# CONFIG_PACKAGE_coreutils-rm is not set ++# CONFIG_PACKAGE_coreutils-rmdir is not set ++# CONFIG_PACKAGE_coreutils-runcon is not set ++# CONFIG_PACKAGE_coreutils-seq is not set ++CONFIG_PACKAGE_coreutils-sha1sum=m ++CONFIG_PACKAGE_coreutils-sha224sum=m ++CONFIG_PACKAGE_coreutils-sha256sum=m ++CONFIG_PACKAGE_coreutils-sha384sum=m ++CONFIG_PACKAGE_coreutils-sha512sum=m ++# CONFIG_PACKAGE_coreutils-shred is not set ++# CONFIG_PACKAGE_coreutils-shuf is not set ++# CONFIG_PACKAGE_coreutils-sleep is not set ++# CONFIG_PACKAGE_coreutils-sort is not set ++# CONFIG_PACKAGE_coreutils-split is not set ++# CONFIG_PACKAGE_coreutils-stat is not set ++# CONFIG_PACKAGE_coreutils-stdbuf is not set ++# CONFIG_PACKAGE_coreutils-stty is not set ++# CONFIG_PACKAGE_coreutils-sum is not set ++# CONFIG_PACKAGE_coreutils-sync is not set ++# CONFIG_PACKAGE_coreutils-tac is not set ++# CONFIG_PACKAGE_coreutils-tail is not set ++# CONFIG_PACKAGE_coreutils-tee is not set ++# CONFIG_PACKAGE_coreutils-test is not set ++# CONFIG_PACKAGE_coreutils-timeout is not set ++# CONFIG_PACKAGE_coreutils-touch is not set ++# CONFIG_PACKAGE_coreutils-tr is not set ++# CONFIG_PACKAGE_coreutils-true is not set ++# CONFIG_PACKAGE_coreutils-truncate is not set ++# CONFIG_PACKAGE_coreutils-tsort is not set ++# CONFIG_PACKAGE_coreutils-tty is not set ++# CONFIG_PACKAGE_coreutils-uname is not set ++# CONFIG_PACKAGE_coreutils-unexpand is not set ++# CONFIG_PACKAGE_coreutils-uniq is not set ++# CONFIG_PACKAGE_coreutils-unlink is not set ++# CONFIG_PACKAGE_coreutils-uptime is not set ++# CONFIG_PACKAGE_coreutils-users is not set ++# CONFIG_PACKAGE_coreutils-vdir is not set ++# CONFIG_PACKAGE_coreutils-wc is not set ++# CONFIG_PACKAGE_coreutils-who is not set ++# CONFIG_PACKAGE_coreutils-whoami is not set ++# CONFIG_PACKAGE_coreutils-yes is not set + # CONFIG_PACKAGE_crconf is not set + # CONFIG_PACKAGE_crelay is not set + # CONFIG_PACKAGE_ct-bugcheck is not set +@@ -4795,7 +5127,7 @@ CONFIG_PACKAGE_digitemp-usb=m + # CONFIG_PACKAGE_dump1090 is not set + # CONFIG_PACKAGE_ecdsautils is not set + # CONFIG_PACKAGE_elektra-kdb is not set +-# CONFIG_PACKAGE_evtest is not set ++CONFIG_PACKAGE_evtest=m + # CONFIG_PACKAGE_extract is not set + # CONFIG_PACKAGE_fdt-utils is not set + # CONFIG_PACKAGE_file is not set +@@ -4907,6 +5239,7 @@ CONFIG_PACKAGE_openssl-util=m + # CONFIG_PACKAGE_pciutils is not set + # CONFIG_PACKAGE_pcsc-tools is not set + CONFIG_PACKAGE_pcscd=m ++CONFIG_PACKAGE_pingid=m + # CONFIG_PACKAGE_pps-tools is not set + # CONFIG_PACKAGE_prlimit is not set + # CONFIG_PACKAGE_procps-ng is not set +@@ -4969,6 +5302,7 @@ CONFIG_PACKAGE_usbutils=m + # CONFIG_PACKAGE_xxd is not set + # CONFIG_PACKAGE_yanglint is not set + # CONFIG_PACKAGE_yara is not set ++CONFIG_PACKAGE_yubico-piv-tool=m + # CONFIG_PACKAGE_yunbridge is not set + + # +diff --git a/feeds/packages/utils/opensc/patches/fix-piv-consent.patch b/feeds/packages/utils/opensc/patches/fix-piv-consent.patch +new file mode 100644 +index 0000000..0cebec0 +--- /dev/null ++++ b/feeds/packages/utils/opensc/patches/fix-piv-consent.patch +@@ -0,0 +1,179 @@ ++commit d7d674129ec021454b5f6285a213da912a50a39f ++Author: Doug Engert ++Date: Mon Apr 16 10:08:43 2018 -0500 ++ ++ PIV History Object Related Changes - Fixes #1330 ++ ++ && is replaced by || in the test of valid key references ++ for retired keys found in the Historic object. ++ ++ For retired keys, the user_consent flag was being set by default. ++ Thus a C_Login(CKU_CONTEXT_SPECIFIC) would be required. ++ NIST 800-73 only requires PIN_Always on the Sign Key. ++ ++ To extend the usefullnes of "retired keys" on non government ++ issued PIV-like cards, code had already been added ++ to use the certificate keyUsage flags to override the NIST ++ defined key usage flags. The NONREPUDATION flag is now used ++ to set the user_consent flag. ++ ++ So rather then always requiring C_Login(CKU_CONTEXT_SPECIFIC) ++ for any retured key, the code only requires it for non government ++ cards where teh certificate has NONREPUDATION. ++ ++ Changes to be committed: ++ modified: card-piv.c ++ modified: pkcs15-piv.c ++ ++diff --git a/src/libopensc/card-piv.c b/src/libopensc/card-piv.c ++index 8f7c4ebb..c8b39adf 100644 ++--- a/src/libopensc/card-piv.c +++++ b/src/libopensc/card-piv.c ++@@ -2871,7 +2871,7 @@ piv_process_history(sc_card_t *card) ++ } ++ keyref = sc_asn1_find_tag(card->ctx, seq, seqlen, 0x04, &keyreflen); ++ if (!keyref || keyreflen != 1 || ++- (*keyref < 0x82 && *keyref > 0x95)) { +++ (*keyref < 0x82 || *keyref > 0x95)) { ++ sc_log(card->ctx, "DER problem"); ++ r = SC_ERROR_INVALID_ASN1_OBJECT; ++ goto err; ++diff --git a/src/libopensc/pkcs15-piv.c b/src/libopensc/pkcs15-piv.c ++index 62a58123..1401ea4d 100644 ++--- a/src/libopensc/pkcs15-piv.c +++++ b/src/libopensc/pkcs15-piv.c ++@@ -528,83 +528,83 @@ static int sc_pkcs15emu_piv_init(sc_pkcs15_card_t *p15card) ++ { "05", "Retired KEY MAN 1", ++ /*RSA*/SC_PKCS15_PRKEY_USAGE_DECRYPT | SC_PKCS15_PRKEY_USAGE_UNWRAP, ++ /*EC*/SC_PKCS15_PRKEY_USAGE_DERIVE, ++- "", 0x82, "01", SC_PKCS15_CO_FLAG_PRIVATE, 1}, +++ "", 0x82, "01", SC_PKCS15_CO_FLAG_PRIVATE, 0}, ++ { "06", "Retired KEY MAN 2", ++ /*RSA*/SC_PKCS15_PRKEY_USAGE_DECRYPT | SC_PKCS15_PRKEY_USAGE_UNWRAP, ++ /*EC*/SC_PKCS15_PRKEY_USAGE_DERIVE, ++- "", 0x83, "01", SC_PKCS15_CO_FLAG_PRIVATE, 1}, +++ "", 0x83, "01", SC_PKCS15_CO_FLAG_PRIVATE, 0}, ++ { "07", "Retired KEY MAN 3", ++ /*RSA*/SC_PKCS15_PRKEY_USAGE_DECRYPT | SC_PKCS15_PRKEY_USAGE_UNWRAP, ++ /*EC*/SC_PKCS15_PRKEY_USAGE_DERIVE, ++- "", 0x84, "01", SC_PKCS15_CO_FLAG_PRIVATE, 1}, +++ "", 0x84, "01", SC_PKCS15_CO_FLAG_PRIVATE, 0}, ++ { "08", "Retired KEY MAN 4", ++ /*RSA*/SC_PKCS15_PRKEY_USAGE_DECRYPT | SC_PKCS15_PRKEY_USAGE_UNWRAP, ++ /*EC*/SC_PKCS15_PRKEY_USAGE_DERIVE, ++- "", 0x85, "01", SC_PKCS15_CO_FLAG_PRIVATE, 1}, +++ "", 0x85, "01", SC_PKCS15_CO_FLAG_PRIVATE, 0}, ++ { "09", "Retired KEY MAN 5", ++ /*RSA*/SC_PKCS15_PRKEY_USAGE_DECRYPT | SC_PKCS15_PRKEY_USAGE_UNWRAP, ++ /*EC*/SC_PKCS15_PRKEY_USAGE_DERIVE, ++- "", 0x86, "01", SC_PKCS15_CO_FLAG_PRIVATE, 1}, +++ "", 0x86, "01", SC_PKCS15_CO_FLAG_PRIVATE, 0}, ++ { "10", "Retired KEY MAN 6", ++ /*RSA*/SC_PKCS15_PRKEY_USAGE_DECRYPT | SC_PKCS15_PRKEY_USAGE_UNWRAP, ++ /*EC*/SC_PKCS15_PRKEY_USAGE_DERIVE, ++- "", 0x87, "01", SC_PKCS15_CO_FLAG_PRIVATE, 1}, +++ "", 0x87, "01", SC_PKCS15_CO_FLAG_PRIVATE, 0}, ++ { "11", "Retired KEY MAN 7", ++ /*RSA*/SC_PKCS15_PRKEY_USAGE_DECRYPT | SC_PKCS15_PRKEY_USAGE_UNWRAP, ++ /*EC*/SC_PKCS15_PRKEY_USAGE_DERIVE, ++- "", 0x88, "01", SC_PKCS15_CO_FLAG_PRIVATE, 1}, +++ "", 0x88, "01", SC_PKCS15_CO_FLAG_PRIVATE, 0}, ++ { "12", "Retired KEY MAN 8", ++ /*RSA*/SC_PKCS15_PRKEY_USAGE_DECRYPT | SC_PKCS15_PRKEY_USAGE_UNWRAP, ++ /*EC*/SC_PKCS15_PRKEY_USAGE_DERIVE, ++- "", 0x89, "01", SC_PKCS15_CO_FLAG_PRIVATE, 1}, +++ "", 0x89, "01", SC_PKCS15_CO_FLAG_PRIVATE, 0}, ++ { "13", "Retired KEY MAN 9", ++ /*RSA*/SC_PKCS15_PRKEY_USAGE_DECRYPT | SC_PKCS15_PRKEY_USAGE_UNWRAP, ++ /*EC*/SC_PKCS15_PRKEY_USAGE_DERIVE, ++- "", 0x8A, "01", SC_PKCS15_CO_FLAG_PRIVATE, 1}, +++ "", 0x8A, "01", SC_PKCS15_CO_FLAG_PRIVATE, 0}, ++ { "14", "Retired KEY MAN 10", ++ /*RSA*/SC_PKCS15_PRKEY_USAGE_DECRYPT | SC_PKCS15_PRKEY_USAGE_UNWRAP, ++ /*EC*/SC_PKCS15_PRKEY_USAGE_DERIVE, ++- "", 0x8B, "01", SC_PKCS15_CO_FLAG_PRIVATE, 1}, +++ "", 0x8B, "01", SC_PKCS15_CO_FLAG_PRIVATE, 0}, ++ { "15", "Retired KEY MAN 11", ++ /*RSA*/SC_PKCS15_PRKEY_USAGE_DECRYPT | SC_PKCS15_PRKEY_USAGE_UNWRAP, ++ /*EC*/SC_PKCS15_PRKEY_USAGE_DERIVE, ++- "", 0x8C, "01", SC_PKCS15_CO_FLAG_PRIVATE, 1}, +++ "", 0x8C, "01", SC_PKCS15_CO_FLAG_PRIVATE, 0}, ++ { "16", "Retired KEY MAN 12", ++ /*RSA*/SC_PKCS15_PRKEY_USAGE_DECRYPT | SC_PKCS15_PRKEY_USAGE_UNWRAP, ++ /*EC*/SC_PKCS15_PRKEY_USAGE_DERIVE, ++- "", 0x8D, "01", SC_PKCS15_CO_FLAG_PRIVATE, 1}, +++ "", 0x8D, "01", SC_PKCS15_CO_FLAG_PRIVATE, 0}, ++ { "17", "Retired KEY MAN 13", ++ /*RSA*/SC_PKCS15_PRKEY_USAGE_DECRYPT | SC_PKCS15_PRKEY_USAGE_UNWRAP, ++ /*EC*/SC_PKCS15_PRKEY_USAGE_DERIVE, ++- "", 0x8E, "01", SC_PKCS15_CO_FLAG_PRIVATE, 1}, +++ "", 0x8E, "01", SC_PKCS15_CO_FLAG_PRIVATE, 0}, ++ { "18", "Retired KEY MAN 14", ++ /*RSA*/SC_PKCS15_PRKEY_USAGE_DECRYPT | SC_PKCS15_PRKEY_USAGE_UNWRAP, ++ /*EC*/SC_PKCS15_PRKEY_USAGE_DERIVE, ++- "", 0x8F, "01", SC_PKCS15_CO_FLAG_PRIVATE, 1}, +++ "", 0x8F, "01", SC_PKCS15_CO_FLAG_PRIVATE, 0}, ++ { "19", "Retired KEY MAN 15", ++ /*RSA*/SC_PKCS15_PRKEY_USAGE_DECRYPT | SC_PKCS15_PRKEY_USAGE_UNWRAP, ++ /*EC*/SC_PKCS15_PRKEY_USAGE_DERIVE, ++- "", 0x90, "01", SC_PKCS15_CO_FLAG_PRIVATE, 1}, +++ "", 0x90, "01", SC_PKCS15_CO_FLAG_PRIVATE, 0}, ++ { "20", "Retired KEY MAN 16", ++ /*RSA*/SC_PKCS15_PRKEY_USAGE_DECRYPT | SC_PKCS15_PRKEY_USAGE_UNWRAP, ++ /*EC*/SC_PKCS15_PRKEY_USAGE_DERIVE, ++- "", 0x91, "01", SC_PKCS15_CO_FLAG_PRIVATE, 1}, +++ "", 0x91, "01", SC_PKCS15_CO_FLAG_PRIVATE, 0}, ++ { "21", "Retired KEY MAN 17", ++ /*RSA*/SC_PKCS15_PRKEY_USAGE_DECRYPT | SC_PKCS15_PRKEY_USAGE_UNWRAP, ++ /*EC*/SC_PKCS15_PRKEY_USAGE_DERIVE, ++- "", 0x92, "01", SC_PKCS15_CO_FLAG_PRIVATE, 1}, +++ "", 0x92, "01", SC_PKCS15_CO_FLAG_PRIVATE, 0}, ++ { "22", "Retired KEY MAN 18", ++ /*RSA*/SC_PKCS15_PRKEY_USAGE_DECRYPT | SC_PKCS15_PRKEY_USAGE_UNWRAP, ++ /*EC*/SC_PKCS15_PRKEY_USAGE_DERIVE, ++- "", 0x93, "01", SC_PKCS15_CO_FLAG_PRIVATE, 1}, +++ "", 0x93, "01", SC_PKCS15_CO_FLAG_PRIVATE, 0}, ++ { "23", "Retired KEY MAN 19", ++ /*RSA*/SC_PKCS15_PRKEY_USAGE_DECRYPT | SC_PKCS15_PRKEY_USAGE_UNWRAP, ++ /*EC*/SC_PKCS15_PRKEY_USAGE_DERIVE, ++- "", 0x94, "01", SC_PKCS15_CO_FLAG_PRIVATE, 1}, +++ "", 0x94, "01", SC_PKCS15_CO_FLAG_PRIVATE, 0}, ++ { "24", "Retired KEY MAN 20", ++ /*RSA*/SC_PKCS15_PRKEY_USAGE_DECRYPT | SC_PKCS15_PRKEY_USAGE_UNWRAP, ++ /*EC*/SC_PKCS15_PRKEY_USAGE_DERIVE, ++- "", 0x95, "01", SC_PKCS15_CO_FLAG_PRIVATE, 1} +++ "", 0x95, "01", SC_PKCS15_CO_FLAG_PRIVATE, 0} ++ }; ++ ++ int r, i; ++@@ -1142,7 +1142,7 @@ sc_debug(card->ctx, SC_LOG_DEBUG_NORMAL, "DEE Adding pin %d label=%s",i, label); ++ ++ strncpy(prkey_obj.label, prkeys[i].label, SC_PKCS15_MAX_LABEL_SIZE - 1); ++ prkey_obj.flags = prkeys[i].obj_flags; ++- prkey_obj.user_consent = prkeys[i].user_consent; +++ prkey_obj.user_consent = prkeys[i].user_consent; /* only Sign key */ ++ ++ if (prkeys[i].auth_id) ++ sc_pkcs15_format_id(prkeys[i].auth_id, &prkey_obj.auth_id); ++@@ -1165,6 +1165,10 @@ sc_debug(card->ctx, SC_LOG_DEBUG_NORMAL, "DEE Adding pin %d label=%s",i, label); ++ case SC_ALGORITHM_RSA: ++ if(ckis[i].cert_keyUsage_present) { ++ prkey_info.usage |= ckis[i].priv_usage; +++ /* If retired key and non gov cert has NONREPUDIATION, treat as user_consent */ +++ if (i >= 4 && (ckis[i].priv_usage & SC_PKCS15_PRKEY_USAGE_NONREPUDIATION)) { +++ prkey_obj.user_consent = 1; +++ } ++ } else { ++ prkey_info.usage |= prkeys[i].usage_rsa; ++ } ++@@ -1174,6 +1178,10 @@ sc_debug(card->ctx, SC_LOG_DEBUG_NORMAL, "DEE Adding pin %d label=%s",i, label); ++ case SC_ALGORITHM_EC: ++ if (ckis[i].cert_keyUsage_present) { ++ prkey_info.usage |= ckis[i].priv_usage; +++ /* If retired key and non gov cert has NONREPUDIATION, treat as user_consent */ +++ if (i >= 4 && (ckis[i].priv_usage & SC_PKCS15_PRKEY_USAGE_NONREPUDIATION)) { +++ prkey_obj.user_consent = 1; +++ } ++ } else { ++ prkey_info.usage |= prkeys[i].usage_ec; ++ } +diff --git a/package/jmm/pingid/Makefile b/package/jmm/pingid/Makefile +new file mode 100644 +index 0000000..84aae52 +--- /dev/null ++++ b/package/jmm/pingid/Makefile +@@ -0,0 +1,51 @@ ++# ++# Copyright (C) 2014 OpenWrt.org ++# ++# This is free software, licensed under the GNU General Public License v2. ++# See /LICENSE for more information. ++# ++ ++include $(TOPDIR)/rules.mk ++include $(INCLUDE_DIR)/kernel.mk ++ ++PKG_NAME:=pingid ++PKG_VERSION:=2020-04-01 ++PKG_RELEASE=$(PKG_SOURCE_VERSION) ++ ++PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) ++PKG_SOURCE_URL:=git://git.panaceas.org/openwrt/pingid ++PKG_SOURCE_PROTO:=git ++PKG_SOURCE_VERSION:=master ++PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.bz2 ++ ++PKG_MAINTAINER:=James McKenzie ++PKG_LICENSE:=GPL-2.0+ ++ ++ ++include $(INCLUDE_DIR)/package.mk ++ ++define Package/pingid ++ SECTION:=utils ++ CATEGORY:=Utilities ++ TITLE:=pingid ++endef ++ ++ ++define Build/Compile ++ $(call Build/Compile/Default) ++ make -C $(PKG_BUILD_DIR) \ ++ DESTDIR="$(PKG_INSTALL_DIR)" \ ++ install ++endef ++ ++ ++ ++define Package/pingid/install ++ $(INSTALL_DIR) $(1)/etc/init.d ++ $(INSTALL_BIN) ./files/pingid.init $(1)/etc/init.d/pingid ++ $(INSTALL_DIR) $(1)/www/cgi-bin/ ++ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/pingid $(1)/www/cgi-bin/ ++endef ++ ++ ++$(eval $(call BuildPackage,pingid)) +diff --git a/package/jmm/pingid/files/pingid.init b/package/jmm/pingid/files/pingid.init +new file mode 100755 +index 0000000..5b3b264 +--- /dev/null ++++ b/package/jmm/pingid/files/pingid.init +@@ -0,0 +1,8 @@ ++#!/bin/sh /etc/rc.common ++ ++START=99 ++ ++ ++start() { ++ /www/cgi-bin/pingid ++} +diff --git a/package/network/utils/globalprotect/files/globalprotect.sh b/package/network/utils/globalprotect/files/globalprotect.sh +index 1e40e05..cff74b8 100755 +--- a/package/network/utils/globalprotect/files/globalprotect.sh ++++ b/package/network/utils/globalprotect/files/globalprotect.sh +@@ -20,6 +20,7 @@ proto_globalprotect_init_config() { + proto_config_add_string "os" + proto_config_add_string "csd_wrapper" + proto_config_add_string "clientcert" ++ proto_config_add_string "clientkey" + no_device=1 + available=1 + } +@@ -27,7 +28,7 @@ proto_globalprotect_init_config() { + proto_globalprotect_setup() { + local config="$1" + +- json_get_vars server port interface username serverhash authgroup password password2 token_mode token_secret token_script os csd_wrapper mtu juniper clientcert ++ json_get_vars server port interface username serverhash authgroup password password2 token_mode token_secret token_script os csd_wrapper mtu juniper clientcert clientkey + + grep -q tun /proc/modules || insmod tun + ifname="vpn-$config" +@@ -50,6 +51,11 @@ proto_globalprotect_setup() { + append cmdline "$clientcert" + } + ++ [ -n "$clientkey" ] && { ++ append cmdline "--sslkey" ++ append cmdline "$clientkey" ++ } ++ + append cmdline "--protocol=gp" + + # migrate to standard config files +diff --git a/package/perl/perl-autoloader/Makefile b/package/perl/perl-autoloader/Makefile +new file mode 100644 +index 0000000..bd4481f +--- /dev/null ++++ b/package/perl/perl-autoloader/Makefile +@@ -0,0 +1,48 @@ ++# ++# Copyright (C) 2014 - 2016 OpenWrt.org ++# ++# This is free software, licensed under the GNU General Public License v2. ++# See /LICENSE for more information. ++# ++ ++include $(TOPDIR)/rules.mk ++ ++PKG_NAME:=perl-autoloader ++PKG_VERSION:=5.74 ++PKG_RELEASE:=1 ++ ++PKG_SOURCE_URL:=http://www.cpan.org/authors/id/S/SM/SMUELLER ++PKG_SOURCE:=AutoLoader-$(PKG_VERSION).tar.gz ++PKG_HASH:=2fac75b05309f71a6871804cd25e1a3ba0a28f43f294fb54528077558da3aff4 ++ ++PKG_LICENSE:=GPL-1.0+ Artistic-1.0-Perl ++PKG_MAINTAINER:=me ++ ++PKG_BUILD_DIR:=$(BUILD_DIR)/perl/AutoLoader-$(PKG_VERSION) ++ ++include $(INCLUDE_DIR)/package.mk ++include ../perl/perlmod.mk ++ ++define Package/perl-autoloader ++ SUBMENU:=Perl ++ SECTION:=lang ++ CATEGORY:=Languages ++ TITLE:=A Pure Perl RSA implementatino ++ URL:=http://search.cpan.org/dist/AutoLoader/ ++ DEPENDS:=perl +perlbase-essential ++endef ++ ++define Build/Configure ++ $(call perlmod/Configure,,) ++endef ++ ++define Build/Compile ++ $(call perlmod/Compile,,) ++endef ++ ++define Package/perl-autoloader/install ++ $(call perlmod/Install,$(1),AutoLoader.pm AutoSplit.pm auto/AutoLoader) ++endef ++ ++ ++$(eval $(call BuildPackage,perl-autoloader)) +diff --git a/package/perl/perl-chipcard-pcsc/Makefile b/package/perl/perl-chipcard-pcsc/Makefile +new file mode 100644 +index 0000000..437b67c +--- /dev/null ++++ b/package/perl/perl-chipcard-pcsc/Makefile +@@ -0,0 +1,51 @@ ++# ++# Copyright (C) 2014 - 2016 OpenWrt.org ++# ++# This is free software, licensed under the GNU General Public License v2. ++# See /LICENSE for more information. ++# ++ ++include $(TOPDIR)/rules.mk ++ ++PKG_NAME:=perl-chipcard-pcsc ++PKG_VERSION:=1.4.14 ++PKG_RELEASE:=1 ++ ++PKG_SOURCE_URL:=http://www.cpan.org/authors/id/W/WH/WHOM ++PKG_SOURCE:=pcsc-perl-$(PKG_VERSION).tar.bz2 ++PKG_HASH:=2722b7e5543e4faf3ba1ec6b29a7dfec6d92be1edec09d0a3191992d4d88c69d ++ ++PKG_LICENSE:=GPL-1.0+ Artistic-1.0-Perl ++PKG_MAINTAINER:=me ++ ++#HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/perl/Chipcard-PCSC-$(PKG_VERSION) ++#HOST_BUILD_DEPENDS:=perl/host libpcsclite/host ++PKG_BUILD_DIR:=$(BUILD_DIR)/perl/pcsc-perl-$(PKG_VERSION) ++PKG_BUILD_DEPENDS:=pcsc-lite ++ ++include $(INCLUDE_DIR)/package.mk ++include ../perl/perlmod.mk ++ ++define Package/perl-chipcard-pcsc ++ SUBMENU:=Perl ++ SECTION:=lang ++ CATEGORY:=Languages ++ TITLE:=Perl PCSC implementation ++ URL:=http://search.cpan.org/dist/Chipcard-PCSC/ ++ DEPENDS:=perl +perlbase-essential +perlbase-xsloader +libpcsclite +perl-autoloader +perlbase-dynaloader ++endef ++ ++define Build/Configure ++ $(call perlmod/Configure,INC="-I${STAGING_DIR}/usr/include/PCSC" LIBS="-lpcsc",) ++endef ++ ++define Build/Compile ++ $(call perlmod/Compile,,) ++endef ++ ++define Package/perl-chipcard-pcsc/install ++ $(call perlmod/Install,$(1),Chipcard/PCSC.pm Chipcard/PCSC auto/Chipcard/PCSC) ++endef ++ ++ ++$(eval $(call BuildPackage,perl-chipcard-pcsc)) +diff --git a/package/perl/perl-crypt-openssl-guess/Makefile b/package/perl/perl-crypt-openssl-guess/Makefile +new file mode 100644 +index 0000000..dcf4bba +--- /dev/null ++++ b/package/perl/perl-crypt-openssl-guess/Makefile +@@ -0,0 +1,64 @@ ++# ++# Copyright (C) 2014 - 2016 OpenWrt.org ++# ++# This is free software, licensed under the GNU General Public License v2. ++# See /LICENSE for more information. ++# ++ ++include $(TOPDIR)/rules.mk ++ ++PKG_NAME:=perl-crypt-guess ++PKG_VERSION:=0.11 ++PKG_RELEASE:=1 ++ ++PKG_SOURCE_URL:=http://www.cpan.org/authors/id/A/AK/AKIYM ++PKG_SOURCE:=Crypt-OpenSSL-Guess-$(PKG_VERSION).tar.gz ++PKG_HASH:=aa6b18e38cb852cbad80a58cd90c395b40819d4d01e0ab37e7703149094d7167 ++ ++PKG_LICENSE:=GPL-1.0+ Artistic-1.0-Perl ++PKG_MAINTAINER:=me ++ ++HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/perl/Crypt-OpenSSL-Guess-$(PKG_VERSION) ++HOST_BUILD_DEPENDS:=perl/host ++PKG_BUILD_DIR:=$(BUILD_DIR)/perl/Crypt-OpenSSL-Guess-$(PKG_VERSION) ++ ++include $(INCLUDE_DIR)/package.mk ++include $(INCLUDE_DIR)/host-build.mk ++include ../perl/perlmod.mk ++ ++define Package/perl-crypt-openssl-guess ++ SUBMENU:=Perl ++ SECTION:=lang ++ CATEGORY:=Languages ++ TITLE:=Perl OpenSSL Guess implementation ++ URL:=http://search.cpan.org/dist/Crypt-OpenSSL-Guess/ ++ DEPENDS:=perl +perlbase-essential +perlbase-xsloader +libopenssl ++endef ++ ++define Host/Configure ++ $(call perlmod/host/Configure,,,) ++endef ++ ++define Host/Compile ++ $(call perlmod/host/Compile,,) ++endef ++ ++define Host/Install ++ $(call perlmod/host/Install,$(1),) ++endef ++ ++define Build/Configure ++ $(call perlmod/Configure,,) ++endef ++ ++define Build/Compile ++ $(call perlmod/Compile,,) ++endef ++ ++define Package/perl-crypt-openssl-guess/install ++ $(call perlmod/Install,$(1),Crypt/OpenSSL auto/Crypt/OpenSSL/Guess) ++endef ++ ++ ++$(eval $(call BuildPackage,perl-crypt-openssl-guess)) ++$(eval $(call HostBuild)) +diff --git a/package/perl/perl-crypt-openssl-random/Makefile b/package/perl/perl-crypt-openssl-random/Makefile +new file mode 100644 +index 0000000..f0cd9d1 +--- /dev/null ++++ b/package/perl/perl-crypt-openssl-random/Makefile +@@ -0,0 +1,65 @@ ++# ++# Copyright (C) 2014 - 2016 OpenWrt.org ++# ++# This is free software, licensed under the GNU General Public License v2. ++# See /LICENSE for more information. ++# ++ ++include $(TOPDIR)/rules.mk ++ ++PKG_NAME:=perl-crypt-random ++PKG_VERSION:=0.15 ++PKG_RELEASE:=1 ++ ++PKG_SOURCE_URL:=http://www.cpan.org/authors/id/R/RU/RURBAN ++PKG_SOURCE:=Crypt-OpenSSL-Random-$(PKG_VERSION).tar.gz ++PKG_HASH:=f0876faa1ba3111e39b86aa730c603211eff2905e460c72a57b61e8cf475cef4 ++ ++PKG_LICENSE:=GPL-1.0+ Artistic-1.0-Perl ++PKG_MAINTAINER:=me ++ ++HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/perl/Crypt-OpenSSL-Random-$(PKG_VERSION) ++HOST_BUILD_DEPENDS:=perl/host perl-crypt-openssl-guess/host libopenssl/host ++PKG_BUILD_DIR:=$(BUILD_DIR)/perl/Crypt-OpenSSL-Random-$(PKG_VERSION) ++#PKG_BUILD_DEPENDS:=perl-crypt-openssl-guess/host libopenssl/host ++PKG_BUILD_DEPENDS:=perl-crypt-openssl-guess/host ++ ++include $(INCLUDE_DIR)/package.mk ++#include $(INCLUDE_DIR)/host-build.mk ++include ../perl/perlmod.mk ++ ++define Package/perl-crypt-openssl-random ++ SUBMENU:=Perl ++ SECTION:=lang ++ CATEGORY:=Languages ++ TITLE:=Perl OpenSSL Random implementation ++ URL:=http://search.cpan.org/dist/Crypt-OpenSSL-Random/ ++ DEPENDS:=perl +perlbase-essential +perlbase-xsloader +libopenssl +perl-crypt-openssl-guess ++endef ++ ++#define Host/Configure ++# $(call perlmod/host/Configure,,,) ++#endef ++ ++#define Host/Compile ++# $(call perlmod/host/Compile,,) ++#endef ++ ++#define Host/Install ++# $(call perlmod/host/Install,$(1),) ++#endef ++ ++define Build/Configure ++ $(call perlmod/Configure,INC= LIBS="-lssl -lcrypto",) ++endef ++ ++define Build/Compile ++ $(call perlmod/Compile,,) ++endef ++ ++define Package/perl-crypt-openssl-random/install ++ $(call perlmod/Install,$(1),Crypt/OpenSSL auto/Crypt/OpenSSL/Random) ++endef ++ ++ ++$(eval $(call BuildPackage,perl-crypt-openssl-random)) +diff --git a/package/perl/perl-crypt-openssl-rsa/Makefile b/package/perl/perl-crypt-openssl-rsa/Makefile +new file mode 100644 +index 0000000..8aab1dc +--- /dev/null ++++ b/package/perl/perl-crypt-openssl-rsa/Makefile +@@ -0,0 +1,51 @@ ++# ++# Copyright (C) 2014 - 2016 OpenWrt.org ++# ++# This is free software, licensed under the GNU General Public License v2. ++# See /LICENSE for more information. ++# ++ ++include $(TOPDIR)/rules.mk ++ ++PKG_NAME:=perl-crypt-openssl-rsa ++PKG_VERSION:=0.31 ++PKG_RELEASE:=1 ++ ++PKG_SOURCE_URL:=http://www.cpan.org/authors/id/T/TO/TODDR ++PKG_SOURCE:=Crypt-OpenSSL-RSA-$(PKG_VERSION).tar.gz ++PKG_HASH:=4173403ad4cf76732192099f833fbfbf3cd8104e0246b3844187ae384d2c5436 ++ ++PKG_LICENSE:=GPL-1.0+ Artistic-1.0-Perl ++PKG_MAINTAINER:=me ++ ++HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/perl/Crypt-OpenSSL-RSA-$(PKG_VERSION) ++HOST_BUILD_DEPENDS:=perl/host perl-crypt-openssl-guess/host libopenssl/host ++PKG_BUILD_DIR:=$(BUILD_DIR)/perl/Crypt-OpenSSL-RSA-$(PKG_VERSION) ++PKG_BUILD_DEPENDS:=perl-crypt-openssl-guess/host ++ ++include $(INCLUDE_DIR)/package.mk ++include ../perl/perlmod.mk ++ ++define Package/perl-crypt-openssl-rsa ++ SUBMENU:=Perl ++ SECTION:=lang ++ CATEGORY:=Languages ++ TITLE:=Perl OpenSSL RSA implementation ++ URL:=http://search.cpan.org/dist/Crypt-OpenSSL-RSA/ ++ DEPENDS:=perl +perlbase-essential +perlbase-xsloader +libopenssl +perl-crypt-openssl-guess +perl-autoloader ++endef ++ ++define Build/Configure ++ $(call perlmod/Configure,INC= LIBS="-lssl -lcrypto",) ++endef ++ ++define Build/Compile ++ $(call perlmod/Compile,,) ++endef ++ ++define Package/perl-crypt-openssl-rsa/install ++ $(call perlmod/Install,$(1),Crypt/OpenSSL auto/Crypt/OpenSSL/RSA) ++endef ++ ++ ++$(eval $(call BuildPackage,perl-crypt-openssl-rsa)) +diff --git a/package/perl/perl-crypt-rsa/Makefile b/package/perl/perl-crypt-rsa/Makefile +new file mode 100644 +index 0000000..569032d +--- /dev/null ++++ b/package/perl/perl-crypt-rsa/Makefile +@@ -0,0 +1,48 @@ ++# ++# Copyright (C) 2014 - 2016 OpenWrt.org ++# ++# This is free software, licensed under the GNU General Public License v2. ++# See /LICENSE for more information. ++# ++ ++include $(TOPDIR)/rules.mk ++ ++PKG_NAME:=perl-crypt-rsa ++PKG_VERSION:=1.99 ++PKG_RELEASE:=1 ++ ++PKG_SOURCE_URL:=http://www.cpan.org/authors/id/V/VI/VIPUL ++PKG_SOURCE:=Crypt-RSA-$(PKG_VERSION).tar.gz ++PKG_HASH:=4706fd6605c920cd1c79f4afc0036b14e233620162b3957abe9b5f1be50b24be ++ ++PKG_LICENSE:=GPL-1.0+ Artistic-1.0-Perl ++PKG_MAINTAINER:=me ++ ++PKG_BUILD_DIR:=$(BUILD_DIR)/perl/Crypt-RSA-$(PKG_VERSION) ++ ++include $(INCLUDE_DIR)/package.mk ++include ../perl/perlmod.mk ++ ++define Package/perl-crypt-rsa ++ SUBMENU:=Perl ++ SECTION:=lang ++ CATEGORY:=Languages ++ TITLE:=A Pure Perl RSA implementatino ++ URL:=http://search.cpan.org/dist/Crypt-RSA/ ++ DEPENDS:=perl +perlbase-essential ++endef ++ ++define Build/Configure ++ $(call perlmod/Configure,,) ++endef ++ ++define Build/Compile ++ $(call perlmod/Compile,,) ++endef ++ ++define Package/perl-crypt-rsa/install ++ $(call perlmod/Install,$(1),Crypt/RSA auto/Crypt/RSA) ++endef ++ ++ ++$(eval $(call BuildPackage,perl-crypt-rsa)) +diff --git a/package/perl/perl-digest-sha256/Makefile b/package/perl/perl-digest-sha256/Makefile +new file mode 100644 +index 0000000..1f2f3fc +--- /dev/null ++++ b/package/perl/perl-digest-sha256/Makefile +@@ -0,0 +1,48 @@ ++# ++# Copyright (C) 2014 - 2016 OpenWrt.org ++# ++# This is free software, licensed under the GNU General Public License v2. ++# See /LICENSE for more information. ++# ++ ++include $(TOPDIR)/rules.mk ++ ++PKG_NAME:=perl-digest-sha256 ++PKG_VERSION:=0.01 ++PKG_RELEASE:=1 ++ ++PKG_SOURCE_URL:=http://www.cpan.org/authors/id/D/DI/DIDO ++PKG_SOURCE:=SHA256-$(PKG_VERSION)b.tar.gz ++PKG_HASH:=72bbb1e31bbfe39e9df930e9b34bbac25e5d1617b7289076945aa303ad03c170 ++ ++PKG_LICENSE:=GPL-1.0+ Artistic-1.0-Perl ++PKG_MAINTAINER:=me ++ ++PKG_BUILD_DIR:=$(BUILD_DIR)/perl/SHA256-$(PKG_VERSION) ++ ++include $(INCLUDE_DIR)/package.mk ++include ../perl/perlmod.mk ++ ++define Package/perl-digest-sha256 ++ SUBMENU:=Perl ++ SECTION:=lang ++ CATEGORY:=Languages ++ TITLE:=A Pure Perl SH256 implementation ++ URL:=http://search.cpan.org/dist/Digest-SHA256/ ++ DEPENDS:=perl +perlbase-essential ++endef ++ ++define Build/Configure ++ $(call perlmod/Configure,,) ++endef ++ ++define Build/Compile ++ $(call perlmod/Compile,,) ++endef ++ ++define Package/perl-digest-sha256/install ++ $(call perlmod/Install,$(1),Digest/SHA256.pm auto/Digest/SHA256) ++endef ++ ++ ++$(eval $(call BuildPackage,perl-digest-sha256)) +diff --git a/package/perl/perl-digest-sha256/patches/fix-endian-idiocy.patch b/package/perl/perl-digest-sha256/patches/fix-endian-idiocy.patch +new file mode 100644 +index 0000000..b28ed79 +--- /dev/null ++++ b/package/perl/perl-digest-sha256/patches/fix-endian-idiocy.patch +@@ -0,0 +1,50 @@ ++diff -uNr SHA256-0.01/Makefile.PL SHA256-0.01/Makefile.PL ++--- SHA256-0.01/Makefile.PL 2001-03-12 05:19:07.000000000 +0000 +++++ SHA256-0.01/Makefile.PL 2020-04-26 09:28:20.773363674 +0100 ++@@ -19,14 +19,20 @@ ++ print EOUT <<"END_OF_STRING"; ++ ++ ++-#ifndef ENDIAN_H ++-#define ENDIAN_H +++#ifndef MY_ENDIAN_H +++#define MY_ENDIAN_H ++ ++ /* Warning! this file is automatically generated; changes WILL disappear */ ++ ++-#define BYTEORDER $Config{'byteorder'} +++#include ++ ++-#endif /* ENDIAN_H */ +++#if __BYTE_ORDER == __LITTLE_ENDIAN +++#define BYTEORDER 1234 +++#else +++#define BYTEORDER 4321 +++#endif +++ +++#endif /* MY_ENDIAN_H */ ++ END_OF_STRING ++ close EOUT ++ or die "error: unable to properly close 'endian.h'\n"; ++diff -uNr SHA256-0.01/_sha256.c SHA256-0.01/_sha256.c ++--- SHA256-0.01/_sha256.c 2001-03-12 07:14:08.000000000 +0000 +++++ SHA256-0.01/_sha256.c 2020-04-26 09:31:46.356338953 +0100 ++@@ -16,6 +16,7 @@ ++ */ ++ ++ #include +++#include ++ #include "sha.h" ++ #include "endian.h" ++ ++diff -uNr SHA256-0.01/sha384_512.c SHA256-0.01/sha384_512.c ++--- SHA256-0.01/sha384_512.c 2001-03-16 04:35:15.000000000 +0000 +++++ SHA256-0.01/sha384_512.c 2020-04-26 09:31:50.576358988 +0100 ++@@ -16,6 +16,7 @@ ++ */ ++ ++ #include +++#include ++ #include "sha512.h" ++ #include "endian.h" ++ +diff --git a/package/perl/perl/perlmod.mk b/package/perl/perl/perlmod.mk +new file mode 100644 +index 0000000..56e412a +--- /dev/null ++++ b/package/perl/perl/perlmod.mk +@@ -0,0 +1,2 @@ ++include ../../feeds/packages/perl/perlmod.mk ++ +diff --git a/package/perl/perl/perlver.mk b/package/perl/perl/perlver.mk +new file mode 100644 +index 0000000..d84830e +--- /dev/null ++++ b/package/perl/perl/perlver.mk +@@ -0,0 +1,2 @@ ++include ../../feeds/packages/perl/perlver.mk ++ +diff --git a/package/utils/yubico-piv-tool/Makefile b/package/utils/yubico-piv-tool/Makefile +new file mode 100644 +index 0000000..d253fa5 +--- /dev/null ++++ b/package/utils/yubico-piv-tool/Makefile +@@ -0,0 +1,85 @@ ++# ++# Copyright (C) 2006-2014 OpenWrt.org ++# Copyright 2010 Vertical Communications ++# This is free software, licensed under the GNU General Public License v2. ++# See /LICENSE for more information. ++# ++ ++include $(TOPDIR)/rules.mk ++ ++PKG_NAME:=yubico-piv-tool ++PKG_VERSION:=1.7.0 ++PKG_HASH:=624d818f675941efb411f14b198007cfefc0bc10d7104548c7e106c81236e3a9 ++PKG_RELEASE:=1 ++ ++PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) ++PKG_SOURCE_URL:=git://github.com/Yubico/yubico-piv-tool ++PKG_SOURCE_PROTO:=git ++PKG_SOURCE_VERSION:=yubico-piv-tool-1.7.0 ++PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 ++PKG_LICENSE:=BSD ++ ++PKG_INSTALL:=1 ++ ++PKG_BUILD_PARALLEL:=1 ++ ++PKG_FIXUP:=autoreconf ++ ++include $(INCLUDE_DIR)/package.mk ++ ++define Package/yubico-piv-tool ++ SECTION:=utils ++ CATEGORY:=Utilities ++ TITLE:=yubico-piv-tool ++ DEPENDS:= +libpcsclite +check +libopenssl ++endef ++ ++define Package/yubico-piv-tool/description ++ yubico-piv-tool ++endef ++ ++ ++ ++#TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include ++# $(INSTALL_DIR) $(1)/usr/bin ++# $(INSTALL_DIR) $(1)/usr/lib ++# $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/sympathy $(1)/usr/bin/ ++# $(INSTALL_BIN) ${PKG_INSTALL_DIR}/usr/lib/libsympathy*.so* $(1)/usr/lib/ ++ ++# $(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/init.d ++# $(INSTALL_BIN) ./files/sympathy.init $(1)/etc/init.d/sympathy ++ ++ ++#TARGET_CFLAGS += $(FPIC) -ffunction-sections -fdata-sections -flto ++#TARGET_LDFLAGS += -flto ++ ++#CONFIGURE_ARGS += \ ++# --disable-testio-debug \ ++# --enable-elf-shlibs \ ++# --disable-libuuid \ ++# --disable-libblkid \ ++# --disable-uuidd \ ++# --disable-tls \ ++# --disable-nls \ ++# --disable-rpath \ ++# --disable-fuse2fs ++ ++define Build/Compile ++ $(call Build/Compile/Default) ++ make -C $(PKG_BUILD_DIR) \ ++ DESTDIR="$(PKG_INSTALL_DIR)" \ ++ install ++endef ++ ++ ++define Package/yubico-piv-tool/install ++ $(INSTALL_DIR) $(1)/usr/bin ++ $(INSTALL_DIR) $(1)/usr/lib ++ ++ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/yubico-piv-tool $(1)/usr/bin/ ++ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libykcs11*.so* $(1)/usr/lib/ ++ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libykpiv*.so* $(1)/usr/lib/ ++endef ++ ++ ++$(eval $(call BuildPackage,yubico-piv-tool)) -- cgit v1.2.3