Mercurial > crates > nonstick
comparison pam-http/Justfile @ 34:ec70822cbdef
Overhaul
author | Andy Caldwell <andrew.caldwell@metaswitch.com> |
---|---|
date | Sun, 24 Apr 2022 03:42:11 +0100 |
parents | 27730595f1ea |
children |
comparison
equal
deleted
inserted
replaced
32:ea5f195f035f | 34:ec70822cbdef |
---|---|
1 | 1 |
2 all: | 2 all: |
3 cargo build | 3 cargo build |
4 | 4 |
5 install: | 5 install: |
6 @cargo build | 6 @cargo build --release |
7 sudo cp conf/http-auth /etc/pam.d/ | 7 sudo cp conf/http-auth /etc/pam.d/ |
8 sudo cp target/debug/libpam_http.so /lib/security/pam_http.so | 8 sudo cp ../target/release/libpam_http.so /lib/security/pam_http.so |
9 | 9 |
10 test: | 10 test: |
11 @just install | 11 @just install |
12 gcc -o target/pam_test test.c -lpam -lpam_misc | 12 gcc -o ../target/pam_test test.c -lpam -lpam_misc |