Skip to content

Commit 4fa390d

Browse files
committed
Add shadow-utils v4.15.1
1 parent 78be994 commit 4fa390d

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

recipes/core/shadow.yaml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
inherit: [autotools]
2+
3+
metaEnvironment:
4+
PKG_VERSION: "4.15.1"
5+
PKG_LICENSE: BSD-3-Clause
6+
7+
depends:
8+
- libs::libxcrypt-dev
9+
10+
- use: []
11+
depends:
12+
- libs::libxcrypt-tgt
13+
14+
checkoutSCM:
15+
scm: url
16+
url: https://github.com/shadow-maint/shadow/releases/download/${PKG_VERSION}/shadow-${PKG_VERSION}.tar.xz
17+
digestSHA256: bb5f70639a0581f9d626f227ce45b31ac137daa7c451c0f672ce14f2731a96ee
18+
stripComponents: 1
19+
20+
buildScript: |
21+
autotoolsBuild "$1" \
22+
--disable-man \
23+
--without-btrfs \
24+
--without-nscd \
25+
--without-skey \
26+
--without-sssd \
27+
--without-su \
28+
--without-tcb \
29+
--with-sha-crypt --without-libbsd
30+
31+
packageScript: |
32+
autotoolsPackageTgt "$1"
33+
mv bin/* usr/bin/
34+
mv bin/.debug/* usr/bin/.debug/
35+
mv sbin/* usr/sbin/
36+
mv sbin/.debug/* usr/sbin/.debug/
37+
rm -rf bin sbin
38+
39+
provideDeps: ["*-tgt"]

0 commit comments

Comments
 (0)