git: f52941a36e6b - main - textproc/sad: New port: CLI search and replace (Space Age seD)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 01 Jan 2023 22:21:23 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=f52941a36e6b46d2a5492a6d65fd65fe2aab1a5f commit f52941a36e6b46d2a5492a6d65fd65fe2aab1a5f Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-01-01 19:33:49 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-01-01 22:21:17 +0000 textproc/sad: New port: CLI search and replace (Space Age seD) --- textproc/Makefile | 1 + textproc/sad/Makefile | 97 +++++++++++++++++++++++++++++++ textproc/sad/distinfo | 151 +++++++++++++++++++++++++++++++++++++++++++++++++ textproc/sad/pkg-descr | 3 + 4 files changed, 252 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 7ec15558f2f8..74a669922f57 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1856,6 +1856,7 @@ SUBDIR += rxp SUBDIR += s5 SUBDIR += sablotron + SUBDIR += sad SUBDIR += sansi SUBDIR += sarep SUBDIR += sary diff --git a/textproc/sad/Makefile b/textproc/sad/Makefile new file mode 100644 index 000000000000..8b79342b480a --- /dev/null +++ b/textproc/sad/Makefile @@ -0,0 +1,97 @@ +PORTNAME= sad +DISTVERSIONPREFIX= v +DISTVERSION= 0.4.9 +CATEGORIES= textproc + +MAINTAINER= yuri@FreeBSD.org +COMMENT= CLI search and replace (Space Age seD) +WWW= https://github.com/ms-jpq/sad + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cargo +USE_GITHUB= yes +GH_ACCOUNT= ms-jpq + +CARGO_CRATES= aho-corasick-0.7.18 \ + ansi_term-0.11.0 \ + ansi_term-0.12.1 \ + async-channel-1.6.1 \ + atty-0.2.14 \ + autocfg-1.0.1 \ + bitflags-1.2.1 \ + bytes-1.0.1 \ + cache-padded-1.1.1 \ + cfg-if-1.0.0 \ + clap-2.33.3 \ + concurrent-queue-1.2.2 \ + difflib-0.4.0 \ + either-1.6.1 \ + event-listener-2.5.1 \ + futures-0.3.16 \ + futures-channel-0.3.16 \ + futures-core-0.3.16 \ + futures-executor-0.3.16 \ + futures-io-0.3.16 \ + futures-macro-0.3.16 \ + futures-sink-0.3.16 \ + futures-task-0.3.16 \ + futures-util-0.3.16 \ + getrandom-0.2.3 \ + heck-0.3.3 \ + hermit-abi-0.1.19 \ + instant-0.1.10 \ + lazy_static-1.4.0 \ + libc-0.2.98 \ + lock_api-0.4.4 \ + log-0.4.14 \ + memchr-2.4.0 \ + mio-0.7.13 \ + miow-0.3.7 \ + ntapi-0.3.6 \ + num_cpus-1.13.0 \ + once_cell-1.8.0 \ + parking_lot-0.11.1 \ + parking_lot_core-0.8.3 \ + pathdiff-0.2.0 \ + pin-project-lite-0.2.7 \ + pin-utils-0.1.0 \ + proc-macro-error-1.0.4 \ + proc-macro-error-attr-1.0.4 \ + proc-macro-hack-0.5.19 \ + proc-macro-nested-0.1.7 \ + proc-macro2-1.0.28 \ + quote-1.0.9 \ + redox_syscall-0.2.9 \ + regex-1.5.4 \ + regex-syntax-0.6.25 \ + scopeguard-1.1.0 \ + signal-hook-registry-1.4.0 \ + slab-0.4.3 \ + smallvec-1.6.1 \ + strsim-0.8.0 \ + structopt-0.3.22 \ + structopt-derive-0.4.15 \ + syn-1.0.74 \ + textwrap-0.11.0 \ + tokio-1.9.0 \ + tokio-macros-1.3.0 \ + unicode-segmentation-1.8.0 \ + unicode-width-0.1.8 \ + unicode-xid-0.2.2 \ + uuid-0.8.2 \ + vec_map-0.8.2 \ + version_check-0.9.3 \ + wasi-0.10.2+wasi-snapshot-preview1 \ + which-4.2.2 \ + winapi-0.3.9 \ + winapi-i686-pc-windows-gnu-0.4.0 \ + winapi-x86_64-pc-windows-gnu-0.4.0 + +PLIST_FILES= bin/${PORTNAME} + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +.include <bsd.port.mk> diff --git a/textproc/sad/distinfo b/textproc/sad/distinfo new file mode 100644 index 000000000000..57271a3899b3 --- /dev/null +++ b/textproc/sad/distinfo @@ -0,0 +1,151 @@ +TIMESTAMP = 1672601160 +SHA256 (rust/crates/aho-corasick-0.7.18.crate) = 1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f +SIZE (rust/crates/aho-corasick-0.7.18.crate) = 112923 +SHA256 (rust/crates/ansi_term-0.11.0.crate) = ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b +SIZE (rust/crates/ansi_term-0.11.0.crate) = 17087 +SHA256 (rust/crates/ansi_term-0.12.1.crate) = d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2 +SIZE (rust/crates/ansi_term-0.12.1.crate) = 24838 +SHA256 (rust/crates/async-channel-1.6.1.crate) = 2114d64672151c0c5eaa5e131ec84a74f06e1e559830dabba01ca30605d66319 +SIZE (rust/crates/async-channel-1.6.1.crate) = 12574 +SHA256 (rust/crates/atty-0.2.14.crate) = d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8 +SIZE (rust/crates/atty-0.2.14.crate) = 5470 +SHA256 (rust/crates/autocfg-1.0.1.crate) = cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a +SIZE (rust/crates/autocfg-1.0.1.crate) = 12908 +SHA256 (rust/crates/bitflags-1.2.1.crate) = cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693 +SIZE (rust/crates/bitflags-1.2.1.crate) = 16745 +SHA256 (rust/crates/bytes-1.0.1.crate) = b700ce4376041dcd0a327fd0097c41095743c4c8af8887265942faf1100bd040 +SIZE (rust/crates/bytes-1.0.1.crate) = 48142 +SHA256 (rust/crates/cache-padded-1.1.1.crate) = 631ae5198c9be5e753e5cc215e1bd73c2b466a3565173db433f52bb9d3e66dba +SIZE (rust/crates/cache-padded-1.1.1.crate) = 8798 +SHA256 (rust/crates/cfg-if-1.0.0.crate) = baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd +SIZE (rust/crates/cfg-if-1.0.0.crate) = 7934 +SHA256 (rust/crates/clap-2.33.3.crate) = 37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002 +SIZE (rust/crates/clap-2.33.3.crate) = 201925 +SHA256 (rust/crates/concurrent-queue-1.2.2.crate) = 30ed07550be01594c6026cff2a1d7fe9c8f683caa798e12b68694ac9e88286a3 +SIZE (rust/crates/concurrent-queue-1.2.2.crate) = 15859 +SHA256 (rust/crates/difflib-0.4.0.crate) = 6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8 +SIZE (rust/crates/difflib-0.4.0.crate) = 7638 +SHA256 (rust/crates/either-1.6.1.crate) = e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457 +SIZE (rust/crates/either-1.6.1.crate) = 13641 +SHA256 (rust/crates/event-listener-2.5.1.crate) = f7531096570974c3a9dcf9e4b8e1cede1ec26cf5046219fb3b9d897503b9be59 +SIZE (rust/crates/event-listener-2.5.1.crate) = 16237 +SHA256 (rust/crates/futures-0.3.16.crate) = 1adc00f486adfc9ce99f77d717836f0c5aa84965eb0b4f051f4e83f7cab53f8b +SIZE (rust/crates/futures-0.3.16.crate) = 46410 +SHA256 (rust/crates/futures-channel-0.3.16.crate) = 74ed2411805f6e4e3d9bc904c95d5d423b89b3b25dc0250aa74729de20629ff9 +SIZE (rust/crates/futures-channel-0.3.16.crate) = 31765 +SHA256 (rust/crates/futures-core-0.3.16.crate) = af51b1b4a7fdff033703db39de8802c673eb91855f2e0d47dcf3bf2c0ef01f99 +SIZE (rust/crates/futures-core-0.3.16.crate) = 14486 +SHA256 (rust/crates/futures-executor-0.3.16.crate) = 4d0d535a57b87e1ae31437b892713aee90cd2d7b0ee48727cd11fc72ef54761c +SIZE (rust/crates/futures-executor-0.3.16.crate) = 17104 +SHA256 (rust/crates/futures-io-0.3.16.crate) = 0b0e06c393068f3a6ef246c75cdca793d6a46347e75286933e5e75fd2fd11582 +SIZE (rust/crates/futures-io-0.3.16.crate) = 9050 +SHA256 (rust/crates/futures-macro-0.3.16.crate) = c54913bae956fb8df7f4dc6fc90362aa72e69148e3f39041fbe8742d21e0ac57 +SIZE (rust/crates/futures-macro-0.3.16.crate) = 10779 +SHA256 (rust/crates/futures-sink-0.3.16.crate) = c0f30aaa67363d119812743aa5f33c201a7a66329f97d1a887022971feea4b53 +SIZE (rust/crates/futures-sink-0.3.16.crate) = 7663 +SHA256 (rust/crates/futures-task-0.3.16.crate) = bbe54a98670017f3be909561f6ad13e810d9a51f3f061b902062ca3da80799f2 +SIZE (rust/crates/futures-task-0.3.16.crate) = 11712 +SHA256 (rust/crates/futures-util-0.3.16.crate) = 67eb846bfd58e44a8481a00049e82c43e0ccb5d61f8dc071057cb19249dd4d78 +SIZE (rust/crates/futures-util-0.3.16.crate) = 144642 +SHA256 (rust/crates/getrandom-0.2.3.crate) = 7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753 +SIZE (rust/crates/getrandom-0.2.3.crate) = 26261 +SHA256 (rust/crates/heck-0.3.3.crate) = 6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c +SIZE (rust/crates/heck-0.3.3.crate) = 10260 +SHA256 (rust/crates/hermit-abi-0.1.19.crate) = 62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33 +SIZE (rust/crates/hermit-abi-0.1.19.crate) = 9979 +SHA256 (rust/crates/instant-0.1.10.crate) = bee0328b1209d157ef001c94dd85b4f8f64139adb0eac2659f4b08382b2f474d +SIZE (rust/crates/instant-0.1.10.crate) = 5218 +SHA256 (rust/crates/lazy_static-1.4.0.crate) = e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646 +SIZE (rust/crates/lazy_static-1.4.0.crate) = 10443 +SHA256 (rust/crates/libc-0.2.98.crate) = 320cfe77175da3a483efed4bc0adc1968ca050b098ce4f2f1c13a56626128790 +SIZE (rust/crates/libc-0.2.98.crate) = 522087 +SHA256 (rust/crates/lock_api-0.4.4.crate) = 0382880606dff6d15c9476c416d18690b72742aa7b605bb6dd6ec9030fbf07eb +SIZE (rust/crates/lock_api-0.4.4.crate) = 20356 +SHA256 (rust/crates/log-0.4.14.crate) = 51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710 +SIZE (rust/crates/log-0.4.14.crate) = 34582 +SHA256 (rust/crates/memchr-2.4.0.crate) = b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc +SIZE (rust/crates/memchr-2.4.0.crate) = 63392 +SHA256 (rust/crates/mio-0.7.13.crate) = 8c2bdb6314ec10835cd3293dd268473a835c02b7b352e788be788b3c6ca6bb16 +SIZE (rust/crates/mio-0.7.13.crate) = 87027 +SHA256 (rust/crates/miow-0.3.7.crate) = b9f1c5b025cda876f66ef43a113f91ebc9f4ccef34843000e0adf6ebbab84e21 +SIZE (rust/crates/miow-0.3.7.crate) = 24563 +SHA256 (rust/crates/ntapi-0.3.6.crate) = 3f6bb902e437b6d86e03cce10a7e2af662292c5dfef23b65899ea3ac9354ad44 +SIZE (rust/crates/ntapi-0.3.6.crate) = 127221 +SHA256 (rust/crates/num_cpus-1.13.0.crate) = 05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3 +SIZE (rust/crates/num_cpus-1.13.0.crate) = 14704 +SHA256 (rust/crates/once_cell-1.8.0.crate) = 692fcb63b64b1758029e0a96ee63e049ce8c5948587f2f7208df04625e5f6b56 +SIZE (rust/crates/once_cell-1.8.0.crate) = 28925 +SHA256 (rust/crates/parking_lot-0.11.1.crate) = 6d7744ac029df22dca6284efe4e898991d28e3085c706c972bcd7da4a27a15eb +SIZE (rust/crates/parking_lot-0.11.1.crate) = 39854 +SHA256 (rust/crates/parking_lot_core-0.8.3.crate) = fa7a782938e745763fe6907fc6ba86946d72f49fe7e21de074e08128a99fb018 +SIZE (rust/crates/parking_lot_core-0.8.3.crate) = 32147 +SHA256 (rust/crates/pathdiff-0.2.0.crate) = 877630b3de15c0b64cc52f659345724fbf6bdad9bd9566699fc53688f3c34a34 +SIZE (rust/crates/pathdiff-0.2.0.crate) = 6189 +SHA256 (rust/crates/pin-project-lite-0.2.7.crate) = 8d31d11c69a6b52a174b42bdc0c30e5e11670f90788b2c471c31c1d17d449443 +SIZE (rust/crates/pin-project-lite-0.2.7.crate) = 27212 +SHA256 (rust/crates/pin-utils-0.1.0.crate) = 8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184 +SIZE (rust/crates/pin-utils-0.1.0.crate) = 7580 +SHA256 (rust/crates/proc-macro-error-1.0.4.crate) = da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c +SIZE (rust/crates/proc-macro-error-1.0.4.crate) = 25293 +SHA256 (rust/crates/proc-macro-error-attr-1.0.4.crate) = a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869 +SIZE (rust/crates/proc-macro-error-attr-1.0.4.crate) = 7971 +SHA256 (rust/crates/proc-macro-hack-0.5.19.crate) = dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5 +SIZE (rust/crates/proc-macro-hack-0.5.19.crate) = 15556 +SHA256 (rust/crates/proc-macro-nested-0.1.7.crate) = bc881b2c22681370c6a780e47af9840ef841837bc98118431d4e1868bd0c1086 +SIZE (rust/crates/proc-macro-nested-0.1.7.crate) = 6495 +SHA256 (rust/crates/proc-macro2-1.0.28.crate) = 5c7ed8b8c7b886ea3ed7dde405212185f423ab44682667c8c6dd14aa1d9f6612 +SIZE (rust/crates/proc-macro2-1.0.28.crate) = 38732 +SHA256 (rust/crates/quote-1.0.9.crate) = c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7 +SIZE (rust/crates/quote-1.0.9.crate) = 25042 +SHA256 (rust/crates/redox_syscall-0.2.9.crate) = 5ab49abadf3f9e1c4bc499e8845e152ad87d2ad2d30371841171169e9d75feee +SIZE (rust/crates/redox_syscall-0.2.9.crate) = 23533 +SHA256 (rust/crates/regex-1.5.4.crate) = d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461 +SIZE (rust/crates/regex-1.5.4.crate) = 236581 +SHA256 (rust/crates/regex-syntax-0.6.25.crate) = f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b +SIZE (rust/crates/regex-syntax-0.6.25.crate) = 293293 +SHA256 (rust/crates/scopeguard-1.1.0.crate) = d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd +SIZE (rust/crates/scopeguard-1.1.0.crate) = 11470 +SHA256 (rust/crates/signal-hook-registry-1.4.0.crate) = e51e73328dc4ac0c7ccbda3a494dfa03df1de2f46018127f60c693f2648455b0 +SIZE (rust/crates/signal-hook-registry-1.4.0.crate) = 17912 +SHA256 (rust/crates/slab-0.4.3.crate) = f173ac3d1a7e3b28003f40de0b5ce7fe2710f9b9dc3fc38664cebee46b3b6527 +SIZE (rust/crates/slab-0.4.3.crate) = 15681 +SHA256 (rust/crates/smallvec-1.6.1.crate) = fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e +SIZE (rust/crates/smallvec-1.6.1.crate) = 26444 +SHA256 (rust/crates/strsim-0.8.0.crate) = 8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a +SIZE (rust/crates/strsim-0.8.0.crate) = 9309 +SHA256 (rust/crates/structopt-0.3.22.crate) = 69b041cdcb67226aca307e6e7be44c8806423d83e018bd662360a93dabce4d71 +SIZE (rust/crates/structopt-0.3.22.crate) = 51665 +SHA256 (rust/crates/structopt-derive-0.4.15.crate) = 7813934aecf5f51a54775e00068c237de98489463968231a51746bbbc03f9c10 +SIZE (rust/crates/structopt-derive-0.4.15.crate) = 20861 +SHA256 (rust/crates/syn-1.0.74.crate) = 1873d832550d4588c3dbc20f01361ab00bfe741048f71e3fecf145a7cc18b29c +SIZE (rust/crates/syn-1.0.74.crate) = 232974 +SHA256 (rust/crates/textwrap-0.11.0.crate) = d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060 +SIZE (rust/crates/textwrap-0.11.0.crate) = 17322 +SHA256 (rust/crates/tokio-1.9.0.crate) = 4b7b349f11a7047e6d1276853e612d152f5e8a352c61917887cc2169e2366b4c +SIZE (rust/crates/tokio-1.9.0.crate) = 499709 +SHA256 (rust/crates/tokio-macros-1.3.0.crate) = 54473be61f4ebe4efd09cec9bd5d16fa51d70ea0192213d754d2d500457db110 +SIZE (rust/crates/tokio-macros-1.3.0.crate) = 7876 +SHA256 (rust/crates/unicode-segmentation-1.8.0.crate) = 8895849a949e7845e06bd6dc1aa51731a103c42707010a5b591c0038fb73385b +SIZE (rust/crates/unicode-segmentation-1.8.0.crate) = 94011 +SHA256 (rust/crates/unicode-width-0.1.8.crate) = 9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3 +SIZE (rust/crates/unicode-width-0.1.8.crate) = 16732 +SHA256 (rust/crates/unicode-xid-0.2.2.crate) = 8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3 +SIZE (rust/crates/unicode-xid-0.2.2.crate) = 14955 +SHA256 (rust/crates/uuid-0.8.2.crate) = bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7 +SIZE (rust/crates/uuid-0.8.2.crate) = 37909 +SHA256 (rust/crates/vec_map-0.8.2.crate) = f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191 +SIZE (rust/crates/vec_map-0.8.2.crate) = 14466 +SHA256 (rust/crates/version_check-0.9.3.crate) = 5fecdca9a5291cc2b8dcf7dc02453fee791a280f3743cb0905f8822ae463b3fe +SIZE (rust/crates/version_check-0.9.3.crate) = 12547 +SHA256 (rust/crates/wasi-0.10.2+wasi-snapshot-preview1.crate) = fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6 +SIZE (rust/crates/wasi-0.10.2+wasi-snapshot-preview1.crate) = 27505 +SHA256 (rust/crates/which-4.2.2.crate) = ea187a8ef279bc014ec368c27a920da2024d2a711109bfbe3440585d5cf27ad9 +SIZE (rust/crates/which-4.2.2.crate) = 8589 +SHA256 (rust/crates/winapi-0.3.9.crate) = 5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419 +SIZE (rust/crates/winapi-0.3.9.crate) = 1200382 +SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6 +SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = 2918815 +SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f +SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 2947998 +SHA256 (ms-jpq-sad-v0.4.9_GH0.tar.gz) = b261bb8ccb859da691de4135a6435071f234b1b0a70d05bca30543e5223cd98d +SIZE (ms-jpq-sad-v0.4.9_GH0.tar.gz) = 3396150 diff --git a/textproc/sad/pkg-descr b/textproc/sad/pkg-descr new file mode 100644 index 000000000000..4735b37134a1 --- /dev/null +++ b/textproc/sad/pkg-descr @@ -0,0 +1,3 @@ +sad is a batch file edit tool. +It will show you a really nice diff of proposed changes before you commit them. +Unlike sed, you can double check before you fat finger your edit.