diff options
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/ods2sql/Makefile | 86 | ||||
-rw-r--r-- | databases/ods2sql/distinfo | 125 | ||||
-rw-r--r-- | databases/ods2sql/pkg-descr | 3 |
4 files changed, 215 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index 2b1e80d6f1af..8349571ef793 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -236,6 +236,7 @@ SUBDIR += ocaml-dbm SUBDIR += ocaml-mysql SUBDIR += ocaml-sqlite3 + SUBDIR += ods2sql SUBDIR += opendbviewer SUBDIR += opendbx SUBDIR += opentsdb diff --git a/databases/ods2sql/Makefile b/databases/ods2sql/Makefile new file mode 100644 index 000000000000..b884c3b7ba4a --- /dev/null +++ b/databases/ods2sql/Makefile @@ -0,0 +1,86 @@ +# $FreeBSD$ + +PORTNAME= ods2sql +DISTVERSION= 0.4.0 +CATEGORIES= databases + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Create SQLite3 database from ODS spreadsheet + +LICENSE= AGPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cargo sqlite + +USE_GITLAB= yes +GL_ACCOUNT= zetok +GL_COMMIT= aca63183274038487cecb6be17d7f65e92178b8c + +CARGO_CRATES= adler32-1.2.0 \ + ahash-0.4.6 \ + aho-corasick-0.7.14 \ + atty-0.2.14 \ + autocfg-1.0.1 \ + bitflags-1.2.1 \ + byteorder-1.3.4 \ + calamine-0.16.2 \ + cfg-if-0.1.10 \ + cfg-if-1.0.0 \ + clap-3.0.0-beta.2 \ + clap_derive-3.0.0-beta.2 \ + codepage-0.1.1 \ + crc32fast-1.2.1 \ + encoding_rs-0.8.24 \ + env_logger-0.8.1 \ + fallible-iterator-0.2.0 \ + fallible-streaming-iterator-0.1.9 \ + flate2-1.0.14 \ + hashbrown-0.9.1 \ + hashlink-0.6.0 \ + heck-0.3.1 \ + hermit-abi-0.1.17 \ + humantime-2.0.1 \ + indexmap-1.6.0 \ + lazy_static-1.4.0 \ + libc-0.2.79 \ + libsqlite3-sys-0.20.1 \ + log-0.4.11 \ + memchr-2.3.3 \ + miniz_oxide-0.3.7 \ + os_str_bytes-2.3.2 \ + pkg-config-0.3.19 \ + proc-macro-error-1.0.4 \ + proc-macro-error-attr-1.0.4 \ + proc-macro2-1.0.24 \ + quick-xml-0.19.0 \ + quote-1.0.7 \ + regex-1.4.1 \ + regex-syntax-0.6.20 \ + rusqlite-0.24.1 \ + serde-1.0.117 \ + smallvec-1.4.2 \ + strsim-0.10.0 \ + syn-1.0.46 \ + termcolor-1.1.0 \ + textwrap-0.12.1 \ + thiserror-1.0.21 \ + thiserror-impl-1.0.21 \ + thread_local-1.0.1 \ + unicode-segmentation-1.6.0 \ + unicode-width-0.1.8 \ + unicode-xid-0.2.1 \ + vcpkg-0.2.10 \ + vec_map-0.8.2 \ + version_check-0.9.2 \ + winapi-0.3.9 \ + winapi-i686-pc-windows-gnu-0.4.0 \ + winapi-util-0.1.5 \ + winapi-x86_64-pc-windows-gnu-0.4.0 \ + zip-0.5.8 + +PLIST_FILES= bin/${PORTNAME} + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +.include <bsd.port.mk> diff --git a/databases/ods2sql/distinfo b/databases/ods2sql/distinfo new file mode 100644 index 000000000000..095c3b402f6a --- /dev/null +++ b/databases/ods2sql/distinfo @@ -0,0 +1,125 @@ +TIMESTAMP = 1606121678 +SHA256 (rust/crates/adler32-1.2.0.tar.gz) = aae1277d39aeec15cb388266ecc24b11c80469deae6067e17a1a7aa9e5c1f234 +SIZE (rust/crates/adler32-1.2.0.tar.gz) = 6411 +SHA256 (rust/crates/ahash-0.4.6.tar.gz) = f6789e291be47ace86a60303502173d84af8327e3627ecf334356ee0f87a164c +SIZE (rust/crates/ahash-0.4.6.tar.gz) = 49793 +SHA256 (rust/crates/aho-corasick-0.7.14.tar.gz) = b476ce7103678b0c6d3d395dbbae31d48ff910bd28be979ba5d48c6351131d0d +SIZE (rust/crates/aho-corasick-0.7.14.tar.gz) = 113042 +SHA256 (rust/crates/atty-0.2.14.tar.gz) = d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8 +SIZE (rust/crates/atty-0.2.14.tar.gz) = 5470 +SHA256 (rust/crates/autocfg-1.0.1.tar.gz) = cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a +SIZE (rust/crates/autocfg-1.0.1.tar.gz) = 12908 +SHA256 (rust/crates/bitflags-1.2.1.tar.gz) = cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693 +SIZE (rust/crates/bitflags-1.2.1.tar.gz) = 16745 +SHA256 (rust/crates/byteorder-1.3.4.tar.gz) = 08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de +SIZE (rust/crates/byteorder-1.3.4.tar.gz) = 21943 +SHA256 (rust/crates/calamine-0.16.2.tar.gz) = 36b93ee9afe52156da81c32d39cb4c0c1a947b5ea9bc9719e805af9c8e05d40e +SIZE (rust/crates/calamine-0.16.2.tar.gz) = 58838 +SHA256 (rust/crates/cfg-if-0.1.10.tar.gz) = 4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822 +SIZE (rust/crates/cfg-if-0.1.10.tar.gz) = 7933 +SHA256 (rust/crates/cfg-if-1.0.0.tar.gz) = baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd +SIZE (rust/crates/cfg-if-1.0.0.tar.gz) = 7934 +SHA256 (rust/crates/clap-3.0.0-beta.2.tar.gz) = 4bd1061998a501ee7d4b6d449020df3266ca3124b941ec56cf2005c3779ca142 +SIZE (rust/crates/clap-3.0.0-beta.2.tar.gz) = 141105 +SHA256 (rust/crates/clap_derive-3.0.0-beta.2.tar.gz) = 370f715b81112975b1b69db93e0b56ea4cd4e5002ac43b2da8474106a54096a1 +SIZE (rust/crates/clap_derive-3.0.0-beta.2.tar.gz) = 23425 +SHA256 (rust/crates/codepage-0.1.1.tar.gz) = 8b0e9222c0cdf2c6ac27d73f664f9520266fa911c3106329d359f8861cb8bde9 +SIZE (rust/crates/codepage-0.1.1.tar.gz) = 8680 +SHA256 (rust/crates/crc32fast-1.2.1.tar.gz) = 81156fece84ab6a9f2afdb109ce3ae577e42b1228441eded99bd77f627953b1a +SIZE (rust/crates/crc32fast-1.2.1.tar.gz) = 38172 +SHA256 (rust/crates/encoding_rs-0.8.24.tar.gz) = a51b8cf747471cb9499b6d59e59b0444f4c90eba8968c4e44874e92b5b64ace2 +SIZE (rust/crates/encoding_rs-0.8.24.tar.gz) = 1366911 +SHA256 (rust/crates/env_logger-0.8.1.tar.gz) = 54532e3223c5af90a6a757c90b5c5521564b07e5e7a958681bcd2afad421cdcd +SIZE (rust/crates/env_logger-0.8.1.tar.gz) = 32715 +SHA256 (rust/crates/fallible-iterator-0.2.0.tar.gz) = 4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7 +SIZE (rust/crates/fallible-iterator-0.2.0.tar.gz) = 18509 +SHA256 (rust/crates/fallible-streaming-iterator-0.1.9.tar.gz) = 7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a +SIZE (rust/crates/fallible-streaming-iterator-0.1.9.tar.gz) = 9249 +SHA256 (rust/crates/flate2-1.0.14.tar.gz) = 2cfff41391129e0a856d6d822600b8d71179d46879e310417eb9c762eb178b42 +SIZE (rust/crates/flate2-1.0.14.tar.gz) = 74183 +SHA256 (rust/crates/hashbrown-0.9.1.tar.gz) = d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04 +SIZE (rust/crates/hashbrown-0.9.1.tar.gz) = 77734 +SHA256 (rust/crates/hashlink-0.6.0.tar.gz) = d99cf782f0dc4372d26846bec3de7804ceb5df083c2d4462c0b8d2330e894fa8 +SIZE (rust/crates/hashlink-0.6.0.tar.gz) = 24952 +SHA256 (rust/crates/heck-0.3.1.tar.gz) = 20564e78d53d2bb135c343b3f47714a56af2061f1c928fdb541dc7b9fdd94205 +SIZE (rust/crates/heck-0.3.1.tar.gz) = 54666 +SHA256 (rust/crates/hermit-abi-0.1.17.tar.gz) = 5aca5565f760fb5b220e499d72710ed156fdb74e631659e99377d9ebfbd13ae8 +SIZE (rust/crates/hermit-abi-0.1.17.tar.gz) = 10065 +SHA256 (rust/crates/humantime-2.0.1.tar.gz) = 3c1ad908cc71012b7bea4d0c53ba96a8cba9962f048fa68d143376143d863b7a +SIZE (rust/crates/humantime-2.0.1.tar.gz) = 17381 +SHA256 (rust/crates/indexmap-1.6.0.tar.gz) = 55e2e4c765aa53a0424761bf9f41aa7a6ac1efa87238f59560640e27fca028f2 +SIZE (rust/crates/indexmap-1.6.0.tar.gz) = 47565 +SHA256 (rust/crates/lazy_static-1.4.0.tar.gz) = e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646 +SIZE (rust/crates/lazy_static-1.4.0.tar.gz) = 10443 +SHA256 (rust/crates/libc-0.2.79.tar.gz) = 2448f6066e80e3bfc792e9c98bf705b4b0fc6e8ef5b43e5889aff0eaa9c58743 +SIZE (rust/crates/libc-0.2.79.tar.gz) = 511752 +SHA256 (rust/crates/libsqlite3-sys-0.20.1.tar.gz) = 64d31059f22935e6c31830db5249ba2b7ecd54fd73a9909286f0a67aa55c2fbd +SIZE (rust/crates/libsqlite3-sys-0.20.1.tar.gz) = 2306064 +SHA256 (rust/crates/log-0.4.11.tar.gz) = 4fabed175da42fed1fa0746b0ea71f412aa9d35e76e95e59b192c64b9dc2bf8b +SIZE (rust/crates/log-0.4.11.tar.gz) = 36276 +SHA256 (rust/crates/memchr-2.3.3.tar.gz) = 3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400 +SIZE (rust/crates/memchr-2.3.3.tar.gz) = 22566 +SHA256 (rust/crates/miniz_oxide-0.3.7.tar.gz) = 791daaae1ed6889560f8c4359194f56648355540573244a5448a83ba1ecc7435 +SIZE (rust/crates/miniz_oxide-0.3.7.tar.gz) = 44996 +SHA256 (rust/crates/os_str_bytes-2.3.2.tar.gz) = 2ac6fe3538f701e339953a3ebbe4f39941aababa8a3f6964635b24ab526daeac +SIZE (rust/crates/os_str_bytes-2.3.2.tar.gz) = 14347 +SHA256 (rust/crates/pkg-config-0.3.19.tar.gz) = 3831453b3449ceb48b6d9c7ad7c96d5ea673e9b470a1dc578c2ce6521230884c +SIZE (rust/crates/pkg-config-0.3.19.tar.gz) = 15451 +SHA256 (rust/crates/proc-macro-error-1.0.4.tar.gz) = da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c +SIZE (rust/crates/proc-macro-error-1.0.4.tar.gz) = 25293 +SHA256 (rust/crates/proc-macro-error-attr-1.0.4.tar.gz) = a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869 +SIZE (rust/crates/proc-macro-error-attr-1.0.4.tar.gz) = 7971 +SHA256 (rust/crates/proc-macro2-1.0.24.tar.gz) = 1e0704ee1a7e00d7bb417d0770ea303c1bccbabf0ef1667dae92b5967f5f8a71 +SIZE (rust/crates/proc-macro2-1.0.24.tar.gz) = 37716 +SHA256 (rust/crates/quick-xml-0.19.0.tar.gz) = b3d72d5477478f85bd00b6521780dfba1ec6cdaadcf90b8b181c36d7de561f9b +SIZE (rust/crates/quick-xml-0.19.0.tar.gz) = 109155 +SHA256 (rust/crates/quote-1.0.7.tar.gz) = aa563d17ecb180e500da1cfd2b028310ac758de548efdd203e18f283af693f37 +SIZE (rust/crates/quote-1.0.7.tar.gz) = 25170 +SHA256 (rust/crates/regex-1.4.1.tar.gz) = 8963b85b8ce3074fecffde43b4b0dded83ce2f367dc8d363afc56679f3ee820b +SIZE (rust/crates/regex-1.4.1.tar.gz) = 236871 +SHA256 (rust/crates/regex-syntax-0.6.20.tar.gz) = 8cab7a364d15cde1e505267766a2d3c4e22a843e1a601f0fa7564c0f82ced11c +SIZE (rust/crates/regex-syntax-0.6.20.tar.gz) = 293727 +SHA256 (rust/crates/rusqlite-0.24.1.tar.gz) = 7e3d4791ab5517217f51216a84a688b53c1ebf7988736469c538d02f46ddba68 +SIZE (rust/crates/rusqlite-0.24.1.tar.gz) = 120497 +SHA256 (rust/crates/serde-1.0.117.tar.gz) = b88fa983de7720629c9387e9f517353ed404164b1e482c970a90c1a4aaf7dc1a +SIZE (rust/crates/serde-1.0.117.tar.gz) = 74505 +SHA256 (rust/crates/smallvec-1.4.2.tar.gz) = fbee7696b84bbf3d89a1c2eccff0850e3047ed46bfcd2e92c29a2d074d57e252 +SIZE (rust/crates/smallvec-1.4.2.tar.gz) = 26109 +SHA256 (rust/crates/strsim-0.10.0.tar.gz) = 73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623 +SIZE (rust/crates/strsim-0.10.0.tar.gz) = 11355 +SHA256 (rust/crates/syn-1.0.46.tar.gz) = 5ad5de3220ea04da322618ded2c42233d02baca219d6f160a3e9c87cda16c942 +SIZE (rust/crates/syn-1.0.46.tar.gz) = 225691 +SHA256 (rust/crates/termcolor-1.1.0.tar.gz) = bb6bfa289a4d7c5766392812c0a1f4c1ba45afa1ad47803c11e1f407d846d75f +SIZE (rust/crates/termcolor-1.1.0.tar.gz) = 17193 +SHA256 (rust/crates/textwrap-0.12.1.tar.gz) = 203008d98caf094106cfaba70acfed15e18ed3ddb7d94e49baec153a2b462789 +SIZE (rust/crates/textwrap-0.12.1.tar.gz) = 23964 +SHA256 (rust/crates/thiserror-1.0.21.tar.gz) = 318234ffa22e0920fe9a40d7b8369b5f649d490980cf7aadcf1eb91594869b42 +SIZE (rust/crates/thiserror-1.0.21.tar.gz) = 16187 +SHA256 (rust/crates/thiserror-impl-1.0.21.tar.gz) = cae2447b6282786c3493999f40a9be2a6ad20cb8bd268b0a0dbf5a065535c0ab +SIZE (rust/crates/thiserror-impl-1.0.21.tar.gz) = 13199 +SHA256 (rust/crates/thread_local-1.0.1.tar.gz) = d40c6d1b69745a6ec6fb1ca717914848da4b44ae29d9b3080cbee91d72a69b14 +SIZE (rust/crates/thread_local-1.0.1.tar.gz) = 12609 +SHA256 (rust/crates/unicode-segmentation-1.6.0.tar.gz) = e83e153d1053cbb5a118eeff7fd5be06ed99153f00dbcd8ae310c5fb2b22edc0 +SIZE (rust/crates/unicode-segmentation-1.6.0.tar.gz) = 90703 +SHA256 (rust/crates/unicode-width-0.1.8.tar.gz) = 9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3 +SIZE (rust/crates/unicode-width-0.1.8.tar.gz) = 16732 +SHA256 (rust/crates/unicode-xid-0.2.1.tar.gz) = f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564 +SIZE (rust/crates/unicode-xid-0.2.1.tar.gz) = 14392 +SHA256 (rust/crates/vcpkg-0.2.10.tar.gz) = 6454029bf181f092ad1b853286f23e2c507d8e8194d01d92da4a55c274a5508c +SIZE (rust/crates/vcpkg-0.2.10.tar.gz) = 11504 +SHA256 (rust/crates/vec_map-0.8.2.tar.gz) = f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191 +SIZE (rust/crates/vec_map-0.8.2.tar.gz) = 14466 +SHA256 (rust/crates/version_check-0.9.2.tar.gz) = b5a972e5669d67ba988ce3dc826706fb0a8b01471c088cb0b6110b805cc36aed +SIZE (rust/crates/version_check-0.9.2.tar.gz) = 11979 +SHA256 (rust/crates/winapi-0.3.9.tar.gz) = 5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419 +SIZE (rust/crates/winapi-0.3.9.tar.gz) = 1200382 +SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6 +SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = 2918815 +SHA256 (rust/crates/winapi-util-0.1.5.tar.gz) = 70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178 +SIZE (rust/crates/winapi-util-0.1.5.tar.gz) = 10164 +SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f +SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 2947998 +SHA256 (rust/crates/zip-0.5.8.tar.gz) = 543adf038106b64cfca4711c82c917d785e3540e04f7996554488f988ec43124 +SIZE (rust/crates/zip-0.5.8.tar.gz) = 41175 +SHA256 (zetok-ods2sql-aca63183274038487cecb6be17d7f65e92178b8c_GL0.tar.gz) = 36ef962218aed075fc96b0559154c669c8b7c3e4e61c551f06599bbc1b13e4f0 +SIZE (zetok-ods2sql-aca63183274038487cecb6be17d7f65e92178b8c_GL0.tar.gz) = 22014 diff --git a/databases/ods2sql/pkg-descr b/databases/ods2sql/pkg-descr new file mode 100644 index 000000000000..8b1af13a5874 --- /dev/null +++ b/databases/ods2sql/pkg-descr @@ -0,0 +1,3 @@ +ods2sql creates SQLite database out of your ODS spreadsheet. + +WWW: https://gitlab.com/zetok/ods2sql |