-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Packages: sequoia cli utilities #32480
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Template file for 'sequoia-sop' | ||
pkgname=sequoia-sop | ||
version=0.27.1 | ||
revision=1 | ||
wrksrc="${pkgname}-v${version}" | ||
build_style=cargo | ||
configure_args="--bin sqop --features cli" | ||
hostmakedepends="pkg-config llvm clang" | ||
makedepends="nettle-devel" | ||
short_desc="Implementation of the Stateless OpenPGP CLI using Sequoia" | ||
maintainer="Jan Christian Grünhage <[email protected]>" | ||
license="GPL-2.0-or-later" | ||
homepage="https://gitlab.com/sequoia-pgp/sequoia-sop/" | ||
distfiles="https://gitlab.com/sequoia-pgp/sequoia-sop/-/archive/v${version}/sequoia-sop-v${version}.tar.gz" | ||
checksum=5094965da3fb8c67b7224534ddcd94cf3409d4c7c74e53473d7804f2a343e2aa | ||
|
||
post_install() { | ||
for page in man-sqop/*; do | ||
vman ${page} | ||
done | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Template file for 'sequoia-sq' | ||
pkgname=sequoia-sq | ||
version=0.27.0 | ||
revision=1 | ||
wrksrc="${pkgname}-v${version}" | ||
build_wrksrc="sq" | ||
build_style=cargo | ||
_deps="nettle-devel openssl-devel" | ||
hostmakedepends="pkg-config llvm clang ${_deps}" | ||
makedepends="${_deps}" | ||
short_desc="Command-line frontend for Sequoia, a new OpenPGP implementation" | ||
maintainer="Jan Christian Grünhage <[email protected]>" | ||
license="GPL-2.0-or-later" | ||
homepage="https://sequoia-pgp.org/projects/#sq" | ||
distfiles="https://gitlab.com/sequoia-pgp/sequoia/-/archive/sq/v${version}/sequoia-sq-v${version}.tar.gz" | ||
checksum=e943528be6af2b14c5b9d3a011335233d985ee69f43700d29d99908359f8c345 | ||
conflicts="squirrel" | ||
|
||
case "$XBPS_TARGET_MACHINE" in | ||
armv*l) nocross="Requires C libs included in build.rs, which is currently broken in xbps-src. These failures only manifest on a hf archs right now";; | ||
esac | ||
|
||
post_patch() { | ||
vsed -e "/-Dwarnings/d" -i "${wrksrc}/.cargo/config.toml" | ||
} | ||
|
||
post_install() { | ||
for page in man-sq-autocrypt/*; do | ||
vman ${page} | ||
done | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
site="https://gitlab.com/sequoia-pgp/sequoia/-/tags?format=atom" | ||
pattern="<title>sq/v\K[\d.]+(?=</title>)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Template file for 'sequoia-sqv' | ||
pkgname=sequoia-sqv | ||
version=1.1.0 | ||
revision=1 | ||
wrksrc="${pkgname}-v${version}" | ||
build_style=cargo | ||
hostmakedepends="pkg-config llvm clang" | ||
makedepends="nettle-devel" | ||
short_desc="Simple PGP signature verification program" | ||
maintainer="Jan Christian Grünhage <[email protected]>" | ||
license="GPL-2.0-or-later" | ||
homepage="https://gitlab.com/sequoia-pgp/sequoia-sqv" | ||
distfiles="https://gitlab.com/sequoia-pgp/sequoia-sqv/-/archive/v${version}/sequoia-sqv-v${version}.tar.gz" | ||
checksum=58eb8f7f803b7fee3f709821d50a78f376aa7f3dc29cfeea4863b37449de2c29 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We talked on IRC about fixing this by updating the bindgen crate, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah. I tried it with
EXTRA_CLANG_ARGS_<TARGET>
after updating bindgen to 0.59, which I had hoped would help, but without success. The problems persistedThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested a native build on armv7l and it seems to work, so
nocross
seems like the right choice here.