Mercurial > crates > nonstick
comparison pam-http/Justfile @ 35:3b2ff50db010
Merge pull request #8 from bossmc/master
Various enhancements/fixes
| author | Anthony Nowell <anowell@gmail.com> |
|---|---|
| date | Wed, 08 Jun 2022 09:28:13 -0700 |
| parents | ec70822cbdef |
| children |
comparison
equal
deleted
inserted
replaced
| 33:86113e45f88f | 35:3b2ff50db010 |
|---|---|
| 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 |
