aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2022-01-18 13:51:01 +0100
committerJakub Jirutka <jakub@jirutka.cz>2022-01-18 13:53:41 +0100
commite61dbbccea3bc705c3fd6522cd20481c29db94ab (patch)
tree15caaf0bd1472627ec7ea2235c2a2857e5131839
parent652c9809392bb43bd8e9f4951d4575282e2f4d02 (diff)
downloadaports-e61dbbccea3bc705c3fd6522cd20481c29db94ab.tar.gz
aports-e61dbbccea3bc705c3fd6522cd20481c29db94ab.tar.bz2
aports-e61dbbccea3bc705c3fd6522cd20481c29db94ab.tar.xz
main/utmps: set mode in install commands explicitly
Better not to rely on automagic...
-rw-r--r--main/utmps/APKBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/main/utmps/APKBUILD b/main/utmps/APKBUILD
index a1ab3c0106..e017951ae1 100644
--- a/main/utmps/APKBUILD
+++ b/main/utmps/APKBUILD
@@ -47,12 +47,14 @@ build() {
package() {
make DESTDIR="$pkgdir" install
- install -D "$srcdir/utmpd.initd" "$pkgdir/etc/init.d/utmpd"
- install -D "$srcdir/wtmpd.initd" "$pkgdir/etc/init.d/wtmpd"
- install -D "$srcdir/wtmpd.logrotate" "$pkgdir/etc/logrotate.d/wtmpd"
- install -D "$srcdir/utmp-init.initd" "$pkgdir/etc/init.d/utmp-init"
- install -D "$srcdir/setup-utmp" "$pkgdir/sbin/setup-utmp"
- install -D -m 0644 "$srcdir/utmps.pc" "$pkgdir/usr/lib/pkgconfig/utmps.pc"
+
+ install -D -m755 "$srcdir/utmpd.initd" "$pkgdir/etc/init.d/utmpd"
+ install -D -m755 "$srcdir/wtmpd.initd" "$pkgdir/etc/init.d/wtmpd"
+ install -D -m644 "$srcdir/wtmpd.logrotate" "$pkgdir/etc/logrotate.d/wtmpd"
+ install -D -m755 "$srcdir/utmp-init.initd" "$pkgdir/etc/init.d/utmp-init"
+ install -D -m755 "$srcdir/setup-utmp" "$pkgdir/sbin/setup-utmp"
+ install -D -m644 "$srcdir/utmps.pc" "$pkgdir/usr/lib/pkgconfig/utmps.pc"
+
mkdir -p "$pkgdir/usr/share/doc"
cp -a "$builddir/doc" "$pkgdir/usr/share/doc/$pkgname"
}