mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 04:27:02 +01:00
sqlite3 doesn't need to be installed on dev machines (#2104)
* Dependencies - sqlite3 dev no longer needs to be installed - Fixes #2083 * setting workspace-level features for rusqlite
This commit is contained in:
parent
b3aed1df34
commit
d5c1f9de6a
1
.github/workflows/clippy.yml
vendored
1
.github/workflows/clippy.yml
vendored
|
@ -31,7 +31,6 @@ jobs:
|
|||
libpam0g-dev \
|
||||
libudev-dev \
|
||||
libssl-dev \
|
||||
libsqlite3-dev \
|
||||
pkg-config
|
||||
|
||||
- name: "Run clippy (ignores errors, this is just a check)"
|
||||
|
|
9
.github/workflows/kanidm_individual_book.yml
vendored
9
.github/workflows/kanidm_individual_book.yml
vendored
|
@ -30,9 +30,12 @@ jobs:
|
|||
- name: Install deps
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y clang build-essential \
|
||||
librust-openssl-dev libssl-dev \
|
||||
libsqlite3-dev libudev-dev \
|
||||
sudo apt-get install -y \
|
||||
clang \
|
||||
build-essential \
|
||||
librust-openssl-dev \
|
||||
libssl-dev \
|
||||
libudev-dev \
|
||||
libpam0g-dev
|
||||
- name: Setup mdBook
|
||||
uses: peaceiris/actions-mdbook@v1
|
||||
|
|
3
.github/workflows/rust_build.yml
vendored
3
.github/workflows/rust_build.yml
vendored
|
@ -32,8 +32,7 @@ jobs:
|
|||
sudo apt-get install -y \
|
||||
libpam0g-dev \
|
||||
libudev-dev \
|
||||
libssl-dev \
|
||||
libsqlite3-dev
|
||||
libssl-dev
|
||||
|
||||
- name: "Build the workspace"
|
||||
run: cargo build --workspace
|
||||
|
|
|
@ -159,7 +159,7 @@ reqwest = { version = "0.11.20", default-features = false, features = [
|
|||
"native-tls-alpn",
|
||||
] }
|
||||
rpassword = "^7.2.0"
|
||||
rusqlite = "^0.28.0"
|
||||
rusqlite = { version = "^0.28.0", features = ["array", "bundled"] }
|
||||
|
||||
scim_proto = "^0.2.1"
|
||||
sd-notify = "^0.4.1"
|
||||
|
|
|
@ -81,7 +81,7 @@ You need [rustup](https://rustup.rs/) to install a Rust toolchain.
|
|||
You will also need some system libraries to build this, which can be installed by running:
|
||||
|
||||
```bash
|
||||
sudo apt-get install libsqlite3-dev libudev-dev libssl-dev pkg-config libpam0g-dev
|
||||
sudo apt-get install libudev-dev libssl-dev pkg-config libpam0g-dev
|
||||
```
|
||||
|
||||
Tested with Ubuntu 20.04 and 22.04.
|
||||
|
|
|
@ -15,7 +15,6 @@ apt-get install -y \
|
|||
libpam0g-dev \
|
||||
libudev-dev \
|
||||
libssl-dev \
|
||||
libsqlite3-dev \
|
||||
pkg-config \
|
||||
make \
|
||||
devscripts \
|
||||
|
@ -27,7 +26,6 @@ else
|
|||
libpam0g-dev \
|
||||
libudev-dev \
|
||||
libssl-dev \
|
||||
libsqlite3-dev \
|
||||
pkg-config \
|
||||
make \
|
||||
devscripts \
|
||||
|
|
|
@ -2,7 +2,7 @@ Source: kanidm-unixd
|
|||
Section: admin
|
||||
Priority: optional
|
||||
Maintainer: James Hodgkinson <james@terminaloutcomes.com>
|
||||
Build-Depends: debhelper (>=10), libpam0g-dev, libudev-dev, libssl-dev, libsqlite3-dev, pkg-config, cargo, make
|
||||
Build-Depends: debhelper (>=10), libpam0g-dev, libudev-dev, libssl-dev, pkg-config, cargo, make
|
||||
Standards-Version: 4.6.0
|
||||
Homepage: https://kanidm.com
|
||||
Vcs-Git: https://github.com/kanidm/kanidm/
|
||||
|
|
|
@ -2,7 +2,7 @@ Source: kanidm
|
|||
Section: admin
|
||||
Priority: optional
|
||||
Maintainer: James Hodgkinson <james@terminaloutcomes.com>
|
||||
Build-Depends: debhelper (>=10), libpam0g-dev, libudev-dev, libssl-dev, libsqlite3-dev, pkg-config, cargo, make
|
||||
Build-Depends: debhelper (>=10), libpam0g-dev, libudev-dev, libssl-dev, pkg-config, cargo, make
|
||||
Standards-Version: 4.6.0
|
||||
Homepage: https://kanidm.com
|
||||
Vcs-Git: https://github.com/kanidm/kanidm/
|
||||
|
|
|
@ -2,7 +2,7 @@ Source: kanidmd
|
|||
Section: admin
|
||||
Priority: optional
|
||||
Maintainer: James Hodgkinson <james@terminaloutcomes.com>
|
||||
Build-Depends: debhelper (>=10), libpam0g-dev, libudev-dev, libssl-dev, libsqlite3-dev, pkg-config, cargo, make
|
||||
Build-Depends: debhelper (>=10), libpam0g-dev, libudev-dev, libssl-dev, pkg-config, cargo, make
|
||||
Standards-Version: 4.6.0
|
||||
Homepage: https://kanidm.com
|
||||
Vcs-Git: https://github.com/kanidm/kanidm/
|
||||
|
|
|
@ -13,7 +13,6 @@ ${SUDOCMD} apt-get install -y \
|
|||
libpam0g-dev \
|
||||
libudev-dev \
|
||||
libssl-dev \
|
||||
libsqlite3-dev \
|
||||
pkg-config \
|
||||
curl \
|
||||
rsync \
|
||||
|
|
Loading…
Reference in a new issue