blob: c7c07c0b78edd2eb43356689b57fd3570eeb1295 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
. ${BUILDFILE%/*}/common.sh
pkgver=20160713.2
package() {
cd "$pkgdir"
install -dm755 etc
install -dm750 etc/sudoers.d
add-file etc/sudoers.d/00-wheel <<EOF
%wheel ALL=(ALL) ALL
EOF
add-file etc/systemd/system/shadow.service.d/sort.conf <<EOF
[Service]
ExecStart=/bin/bash -c '/usr/bin/pwck -r && /usr/bin/pwck -s'
ExecStart=/bin/bash -c '/usr/bin/grpck -r && /usr/bin/grpck -s'
EOF
backup=($(find "$pkgdir" -printf '%P\n'))
}
|