pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/pijul devel/pijul: import pijul-1.0.0.beta2
details: https://anonhg.NetBSD.org/pkgsrc/rev/dc6249993b8e
branches: trunk
changeset: 389984:dc6249993b8e
user: nikita <nikita%pkgsrc.org@localhost>
date: Tue Dec 13 22:10:14 2022 +0000
description:
devel/pijul: import pijul-1.0.0.beta2
Pijul is a version control system based on patches, that can mimic the
behaviour and workflows of both Git and Darcs, but contrarily to those
systems, Pijul is based on a mathematically sound theory of patches.
Pijul was started out of frustration that no version control system
was at the same time fast and sound:
- Git has non-associative merges, which might lead to security problems.
Concretely, this means that the commits you merge might not be the same as
the ones you review and test.
- Handling of conflicts: Pijul has an explicit internal representation of
conflicts, a rock-solid theory of how they behave, and super-fast data
structures to handle them.
- Speed! The complexity of Pijul is low in all cases, whereas previous
attempts to build a mathematically sound distributed version control
system had huge worst-case complexities. The use of Rust
additionally yields a blazingly fast implementation.
diffstat:
devel/pijul/DESCR | 19 +
devel/pijul/Makefile | 36 +
devel/pijul/PLIST | 2 +
devel/pijul/cargo-depends.mk | 268 +++
devel/pijul/distinfo | 804 +++++++++++
devel/pijul/patches/patch-..vendor_pager-0.16.0_src_utils.rs | 15 +
6 files changed, 1144 insertions(+), 0 deletions(-)
diffs (truncated from 1168 to 300 lines):
diff -r 00bcae6339bf -r dc6249993b8e devel/pijul/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/pijul/DESCR Tue Dec 13 22:10:14 2022 +0000
@@ -0,0 +1,19 @@
+Pijul is a version control system based on patches, that can mimic the
+behaviour and workflows of both Git and Darcs, but contrarily to those
+systems, Pijul is based on a mathematically sound theory of patches.
+
+Pijul was started out of frustration that no version control system
+was at the same time fast and sound:
+
+- Git has non-associative merges, which might lead to security problems.
+ Concretely, this means that the commits you merge might not be the same as
+ the ones you review and test.
+
+- Handling of conflicts: Pijul has an explicit internal representation of
+ conflicts, a rock-solid theory of how they behave, and super-fast data
+ structures to handle them.
+
+- Speed! The complexity of Pijul is low in all cases, whereas previous
+ attempts to build a mathematically sound distributed version control
+ system had huge worst-case complexities. The use of Rust
+ additionally yields a blazingly fast implementation.
diff -r 00bcae6339bf -r dc6249993b8e devel/pijul/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/pijul/Makefile Tue Dec 13 22:10:14 2022 +0000
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 2022/12/13 22:10:14 nikita Exp $
+
+DISTNAME= pijul-1.0.0-beta.2
+PKGNAME= pijul-1.0.0.beta2
+CATEGORIES= devel
+MASTER_SITES= https://static.crates.io/crates/pijul/
+DISTFILES= pijul-1.0.0-beta.2.crate
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://pijul.org/
+COMMENT= Distributed version control system
+LICENSE= gnu-gpl-v2
+
+.include "cargo-depends.mk"
+
+INSTALLATION_DIRS= bin
+USE_LANGUAGES+= c c++
+USE_TOOLS+= pkg-config
+
+MAKE_ENV+= OPENSSL_DIR=${BUILDLINK_PREFIX.openssl}
+MAKE_ENV+= DEP_SODIUM_INCLUDE=${BUILDLINK_PREFIX.libsodium}/include
+MAKE_ENV+= DEP_SODIUM_LIB=${BUILDLINK_PREFIX.libsodium}/lib
+RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.zstd}/lib
+RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.xxhash}/lib
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/target/release/pijul ${DESTDIR}${PREFIX}/bin
+
+.include "../../archivers/zstd/buildlink3.mk"
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/xxhash/buildlink3.mk"
+.include "../../lang/rust/cargo.mk"
+.include "../../lang/rust/buildlink3.mk"
+.include "../../security/libsodium/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 00bcae6339bf -r dc6249993b8e devel/pijul/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/pijul/PLIST Tue Dec 13 22:10:14 2022 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2022/12/13 22:10:14 nikita Exp $
+bin/pijul
diff -r 00bcae6339bf -r dc6249993b8e devel/pijul/cargo-depends.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/pijul/cargo-depends.mk Tue Dec 13 22:10:14 2022 +0000
@@ -0,0 +1,268 @@
+# $NetBSD: cargo-depends.mk,v 1.1 2022/12/13 22:10:14 nikita Exp $
+
+CARGO_CRATE_DEPENDS+= addr2line-0.17.0
+CARGO_CRATE_DEPENDS+= adler-1.0.2
+CARGO_CRATE_DEPENDS+= adler32-1.2.0
+CARGO_CRATE_DEPENDS+= aes-0.7.5
+CARGO_CRATE_DEPENDS+= aho-corasick-0.7.18
+CARGO_CRATE_DEPENDS+= anyhow-1.0.57
+CARGO_CRATE_DEPENDS+= arrayref-0.3.6
+CARGO_CRATE_DEPENDS+= arrayvec-0.7.2
+CARGO_CRATE_DEPENDS+= atty-0.2.14
+CARGO_CRATE_DEPENDS+= autocfg-1.1.0
+CARGO_CRATE_DEPENDS+= backtrace-0.3.65
+CARGO_CRATE_DEPENDS+= base64-0.13.0
+CARGO_CRATE_DEPENDS+= base64ct-1.5.0
+CARGO_CRATE_DEPENDS+= bcrypt-pbkdf-0.6.2
+CARGO_CRATE_DEPENDS+= bincode-1.3.3
+CARGO_CRATE_DEPENDS+= bit-vec-0.6.3
+CARGO_CRATE_DEPENDS+= bitflags-1.3.2
+CARGO_CRATE_DEPENDS+= blake3-1.3.1
+CARGO_CRATE_DEPENDS+= block-buffer-0.9.0
+CARGO_CRATE_DEPENDS+= block-buffer-0.10.2
+CARGO_CRATE_DEPENDS+= block-modes-0.8.1
+CARGO_CRATE_DEPENDS+= block-padding-0.2.1
+CARGO_CRATE_DEPENDS+= blowfish-0.8.0
+CARGO_CRATE_DEPENDS+= bs58-0.4.0
+CARGO_CRATE_DEPENDS+= bstr-0.2.17
+CARGO_CRATE_DEPENDS+= bumpalo-3.9.1
+CARGO_CRATE_DEPENDS+= byteorder-1.4.3
+CARGO_CRATE_DEPENDS+= bytes-1.1.0
+CARGO_CRATE_DEPENDS+= canonical-path-2.0.2
+CARGO_CRATE_DEPENDS+= cc-1.0.73
+CARGO_CRATE_DEPENDS+= cfg-if-1.0.0
+CARGO_CRATE_DEPENDS+= chrono-0.4.19
+CARGO_CRATE_DEPENDS+= cipher-0.3.0
+CARGO_CRATE_DEPENDS+= clap-3.1.16
+CARGO_CRATE_DEPENDS+= clap_derive-3.1.7
+CARGO_CRATE_DEPENDS+= clap_lex-0.2.0
+CARGO_CRATE_DEPENDS+= constant_time_eq-0.1.5
+CARGO_CRATE_DEPENDS+= core-foundation-0.9.3
+CARGO_CRATE_DEPENDS+= core-foundation-sys-0.8.3
+CARGO_CRATE_DEPENDS+= cpufeatures-0.2.2
+CARGO_CRATE_DEPENDS+= crc32fast-1.3.2
+CARGO_CRATE_DEPENDS+= crossbeam-deque-0.8.1
+CARGO_CRATE_DEPENDS+= crossbeam-epoch-0.9.8
+CARGO_CRATE_DEPENDS+= crossbeam-utils-0.8.8
+CARGO_CRATE_DEPENDS+= crypto-common-0.1.3
+CARGO_CRATE_DEPENDS+= crypto-mac-0.11.1
+CARGO_CRATE_DEPENDS+= cryptovec-0.6.1
+CARGO_CRATE_DEPENDS+= ctr-0.8.0
+CARGO_CRATE_DEPENDS+= ctrlc-3.2.2
+CARGO_CRATE_DEPENDS+= curve25519-dalek-3.2.1
+CARGO_CRATE_DEPENDS+= data-encoding-2.3.2
+CARGO_CRATE_DEPENDS+= diffs-0.4.1
+CARGO_CRATE_DEPENDS+= digest-0.9.0
+CARGO_CRATE_DEPENDS+= digest-0.10.3
+CARGO_CRATE_DEPENDS+= dirs-3.0.2
+CARGO_CRATE_DEPENDS+= dirs-next-2.0.0
+CARGO_CRATE_DEPENDS+= dirs-sys-0.3.7
+CARGO_CRATE_DEPENDS+= dirs-sys-next-0.1.2
+CARGO_CRATE_DEPENDS+= ed25519-1.4.1
+CARGO_CRATE_DEPENDS+= ed25519-dalek-1.0.1
+CARGO_CRATE_DEPENDS+= edit-0.1.3
+CARGO_CRATE_DEPENDS+= either-1.6.1
+CARGO_CRATE_DEPENDS+= encoding_rs-0.8.31
+CARGO_CRATE_DEPENDS+= env_logger-0.8.4
+CARGO_CRATE_DEPENDS+= errno-0.2.8
+CARGO_CRATE_DEPENDS+= errno-dragonfly-0.1.2
+CARGO_CRATE_DEPENDS+= fastrand-1.7.0
+CARGO_CRATE_DEPENDS+= filetime-0.2.16
+CARGO_CRATE_DEPENDS+= flate2-1.0.23
+CARGO_CRATE_DEPENDS+= fnv-1.0.7
+CARGO_CRATE_DEPENDS+= foreign-types-0.3.2
+CARGO_CRATE_DEPENDS+= foreign-types-shared-0.1.1
+CARGO_CRATE_DEPENDS+= form_urlencoded-1.0.1
+CARGO_CRATE_DEPENDS+= fs2-0.4.3
+CARGO_CRATE_DEPENDS+= futures-0.3.21
+CARGO_CRATE_DEPENDS+= futures-channel-0.3.21
+CARGO_CRATE_DEPENDS+= futures-core-0.3.21
+CARGO_CRATE_DEPENDS+= futures-executor-0.3.21
+CARGO_CRATE_DEPENDS+= futures-io-0.3.21
+CARGO_CRATE_DEPENDS+= futures-macro-0.3.21
+CARGO_CRATE_DEPENDS+= futures-sink-0.3.21
+CARGO_CRATE_DEPENDS+= futures-task-0.3.21
+CARGO_CRATE_DEPENDS+= futures-util-0.3.21
+CARGO_CRATE_DEPENDS+= generic-array-0.14.5
+CARGO_CRATE_DEPENDS+= getrandom-0.1.16
+CARGO_CRATE_DEPENDS+= getrandom-0.2.6
+CARGO_CRATE_DEPENDS+= gimli-0.26.1
+CARGO_CRATE_DEPENDS+= git2-0.13.25
+CARGO_CRATE_DEPENDS+= globset-0.4.8
+CARGO_CRATE_DEPENDS+= h2-0.3.13
+CARGO_CRATE_DEPENDS+= hashbrown-0.11.2
+CARGO_CRATE_DEPENDS+= heck-0.4.0
+CARGO_CRATE_DEPENDS+= hermit-abi-0.1.19
+CARGO_CRATE_DEPENDS+= hmac-0.11.0
+CARGO_CRATE_DEPENDS+= http-0.2.7
+CARGO_CRATE_DEPENDS+= http-body-0.4.4
+CARGO_CRATE_DEPENDS+= httparse-1.7.1
+CARGO_CRATE_DEPENDS+= httpdate-1.0.2
+CARGO_CRATE_DEPENDS+= human-panic-1.0.3
+CARGO_CRATE_DEPENDS+= humantime-2.1.0
+CARGO_CRATE_DEPENDS+= hyper-0.14.18
+CARGO_CRATE_DEPENDS+= hyper-tls-0.5.0
+CARGO_CRATE_DEPENDS+= idna-0.2.3
+CARGO_CRATE_DEPENDS+= ignore-0.4.18
+CARGO_CRATE_DEPENDS+= indexmap-1.8.1
+CARGO_CRATE_DEPENDS+= instant-0.1.12
+CARGO_CRATE_DEPENDS+= ipnet-2.5.0
+CARGO_CRATE_DEPENDS+= itoa-1.0.1
+CARGO_CRATE_DEPENDS+= jobserver-0.1.24
+CARGO_CRATE_DEPENDS+= js-sys-0.3.57
+CARGO_CRATE_DEPENDS+= lazy_static-1.4.0
+CARGO_CRATE_DEPENDS+= libc-0.2.125
+CARGO_CRATE_DEPENDS+= libgit2-sys-0.12.26+1.3.0
+CARGO_CRATE_DEPENDS+= libpijul-1.0.0-beta.3
+CARGO_CRATE_DEPENDS+= libsodium-sys-0.2.7
+CARGO_CRATE_DEPENDS+= libssh2-sys-0.2.23
+CARGO_CRATE_DEPENDS+= libz-sys-1.1.6
+CARGO_CRATE_DEPENDS+= linked-hash-map-0.5.4
+CARGO_CRATE_DEPENDS+= lock_api-0.4.7
+CARGO_CRATE_DEPENDS+= log-0.4.17
+CARGO_CRATE_DEPENDS+= lru-cache-0.1.2
+CARGO_CRATE_DEPENDS+= matches-0.1.9
+CARGO_CRATE_DEPENDS+= md5-0.7.0
+CARGO_CRATE_DEPENDS+= memchr-2.5.0
+CARGO_CRATE_DEPENDS+= memmap-0.7.0
+CARGO_CRATE_DEPENDS+= memoffset-0.6.5
+CARGO_CRATE_DEPENDS+= mime-0.3.16
+CARGO_CRATE_DEPENDS+= minimal-lexical-0.2.1
+CARGO_CRATE_DEPENDS+= miniz_oxide-0.5.1
+CARGO_CRATE_DEPENDS+= mio-0.8.2
+CARGO_CRATE_DEPENDS+= miow-0.3.7
+CARGO_CRATE_DEPENDS+= native-tls-0.2.10
+CARGO_CRATE_DEPENDS+= nix-0.24.1
+CARGO_CRATE_DEPENDS+= nom-7.1.1
+CARGO_CRATE_DEPENDS+= ntapi-0.3.7
+CARGO_CRATE_DEPENDS+= num-bigint-0.4.3
+CARGO_CRATE_DEPENDS+= num-integer-0.1.45
+CARGO_CRATE_DEPENDS+= num-traits-0.2.15
+CARGO_CRATE_DEPENDS+= num_cpus-1.13.1
+CARGO_CRATE_DEPENDS+= object-0.28.3
+CARGO_CRATE_DEPENDS+= once_cell-1.10.0
+CARGO_CRATE_DEPENDS+= opaque-debug-0.3.0
+CARGO_CRATE_DEPENDS+= openssl-0.10.40
+CARGO_CRATE_DEPENDS+= openssl-macros-0.1.0
+CARGO_CRATE_DEPENDS+= openssl-probe-0.1.5
+CARGO_CRATE_DEPENDS+= openssl-sys-0.9.73
+CARGO_CRATE_DEPENDS+= os_str_bytes-6.0.0
+CARGO_CRATE_DEPENDS+= os_type-2.4.0
+CARGO_CRATE_DEPENDS+= pager-0.16.0
+CARGO_CRATE_DEPENDS+= parking_lot-0.11.2
+CARGO_CRATE_DEPENDS+= parking_lot_core-0.8.5
+CARGO_CRATE_DEPENDS+= password-hash-0.2.3
+CARGO_CRATE_DEPENDS+= path-slash-0.1.4
+CARGO_CRATE_DEPENDS+= pbkdf2-0.8.0
+CARGO_CRATE_DEPENDS+= pbkdf2-0.9.0
+CARGO_CRATE_DEPENDS+= percent-encoding-2.1.0
+CARGO_CRATE_DEPENDS+= pijul-macros-0.5.0
+CARGO_CRATE_DEPENDS+= pin-project-lite-0.2.9
+CARGO_CRATE_DEPENDS+= pin-utils-0.1.0
+CARGO_CRATE_DEPENDS+= pkg-config-0.3.25
+CARGO_CRATE_DEPENDS+= ppv-lite86-0.2.16
+CARGO_CRATE_DEPENDS+= proc-macro-error-1.0.4
+CARGO_CRATE_DEPENDS+= proc-macro-error-attr-1.0.4
+CARGO_CRATE_DEPENDS+= proc-macro2-1.0.38
+CARGO_CRATE_DEPENDS+= quote-1.0.18
+CARGO_CRATE_DEPENDS+= rand-0.7.3
+CARGO_CRATE_DEPENDS+= rand-0.8.5
+CARGO_CRATE_DEPENDS+= rand_chacha-0.2.2
+CARGO_CRATE_DEPENDS+= rand_chacha-0.3.1
+CARGO_CRATE_DEPENDS+= rand_core-0.5.1
+CARGO_CRATE_DEPENDS+= rand_core-0.6.3
+CARGO_CRATE_DEPENDS+= rand_hc-0.2.0
+CARGO_CRATE_DEPENDS+= redox_syscall-0.2.13
+CARGO_CRATE_DEPENDS+= redox_users-0.4.3
+CARGO_CRATE_DEPENDS+= regex-1.5.5
+CARGO_CRATE_DEPENDS+= regex-syntax-0.6.25
+CARGO_CRATE_DEPENDS+= remove_dir_all-0.5.3
+CARGO_CRATE_DEPENDS+= reqwest-0.11.10
+CARGO_CRATE_DEPENDS+= rlimit-0.6.2
+CARGO_CRATE_DEPENDS+= rpassword-5.0.1
+CARGO_CRATE_DEPENDS+= rustc-demangle-0.1.21
+CARGO_CRATE_DEPENDS+= ryu-1.0.9
+CARGO_CRATE_DEPENDS+= same-file-1.0.6
+CARGO_CRATE_DEPENDS+= sanakirja-1.2.16
+CARGO_CRATE_DEPENDS+= sanakirja-core-1.2.16
+CARGO_CRATE_DEPENDS+= schannel-0.1.19
+CARGO_CRATE_DEPENDS+= scopeguard-1.1.0
+CARGO_CRATE_DEPENDS+= security-framework-2.6.1
+CARGO_CRATE_DEPENDS+= security-framework-sys-2.6.1
+CARGO_CRATE_DEPENDS+= serde-1.0.137
+CARGO_CRATE_DEPENDS+= serde_bytes-0.11.6
+CARGO_CRATE_DEPENDS+= serde_derive-1.0.137
+CARGO_CRATE_DEPENDS+= serde_json-1.0.81
+CARGO_CRATE_DEPENDS+= serde_urlencoded-0.7.1
+CARGO_CRATE_DEPENDS+= sha2-0.9.9
+CARGO_CRATE_DEPENDS+= signal-hook-registry-1.4.0
+CARGO_CRATE_DEPENDS+= signature-1.5.0
+CARGO_CRATE_DEPENDS+= slab-0.4.6
+CARGO_CRATE_DEPENDS+= smallvec-1.8.0
+CARGO_CRATE_DEPENDS+= socket2-0.4.4
+CARGO_CRATE_DEPENDS+= static_assertions-1.1.0
+CARGO_CRATE_DEPENDS+= strsim-0.10.0
+CARGO_CRATE_DEPENDS+= subtle-2.4.1
+CARGO_CRATE_DEPENDS+= syn-1.0.92
+CARGO_CRATE_DEPENDS+= synstructure-0.12.6
+CARGO_CRATE_DEPENDS+= tar-0.4.38
+CARGO_CRATE_DEPENDS+= tempfile-3.3.0
+CARGO_CRATE_DEPENDS+= termcolor-1.1.3
+CARGO_CRATE_DEPENDS+= terminal_size-0.1.17
+CARGO_CRATE_DEPENDS+= textwrap-0.15.0
+CARGO_CRATE_DEPENDS+= thiserror-1.0.31
+CARGO_CRATE_DEPENDS+= thiserror-impl-1.0.31
+CARGO_CRATE_DEPENDS+= thread_local-1.1.4
+CARGO_CRATE_DEPENDS+= threadpool-1.8.1
+CARGO_CRATE_DEPENDS+= thrussh-0.33.5
+CARGO_CRATE_DEPENDS+= thrussh-config-0.5.0
+CARGO_CRATE_DEPENDS+= thrussh-keys-0.21.0
+CARGO_CRATE_DEPENDS+= thrussh-libsodium-0.2.1
+CARGO_CRATE_DEPENDS+= time-0.1.43
+CARGO_CRATE_DEPENDS+= tinyvec-1.6.0
+CARGO_CRATE_DEPENDS+= tinyvec_macros-0.1.0
+CARGO_CRATE_DEPENDS+= tokio-1.18.1
+CARGO_CRATE_DEPENDS+= tokio-macros-1.7.0
+CARGO_CRATE_DEPENDS+= tokio-native-tls-0.3.0
+CARGO_CRATE_DEPENDS+= tokio-stream-0.1.8
Home |
Main Index |
Thread Index |
Old Index