Mail archive
alpine-aports

Re: [alpine-aports] [PATCH] main/openntpd: fixes privelege seperation defaults

From: Sören Tempel <soeren_at_soeren-tempel.net>
Date: Sat, 29 Aug 2015 12:15:44 +0200

On 27.08.15, systmkor wrote:
> package() {
> cd "$_builddir"
> - make install DESTDIR="$pkgdir"
> - install -Dm755 ../openntpd.initd "$pkgdir/etc/init.d/$pkgname"
> - install -Dm644 ../openntpd.confd "$pkgdir/etc/conf.d/$pkgname"
> + make install DESTDIR="$pkgdir" || return 1
> + mkdir -p "$pkgdir"/var/empty || return 1
> + install -Dm755 "$srcdir"/openntpd.initd "$pkgdir"/etc/init.d/"$pkgname" || return 1
> + install -Dm644 "$srcdir"/openntpd.confd "$pkgdir"/etc/conf.d/"$pkgname" || return 1
> }

This would make the OpenNTPD package the owner of /var/empty. I don't
think that this is a good idea.

Sören.


---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Sat Aug 29 2015 - 12:15:44 GMT