From 707c034e22b89bf1b56b6ef0d3d019457e224b30 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 16 Mar 2015 09:25:15 +0100 Subject: [PATCH] dcron: use build_pie; remove obsolete triggers/replaces. --- srcpkgs/dcron/template | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/srcpkgs/dcron/template b/srcpkgs/dcron/template index 22bff34c88b..1f2ffde7669 100644 --- a/srcpkgs/dcron/template +++ b/srcpkgs/dcron/template @@ -1,9 +1,10 @@ # Template file for 'dcron' pkgname=dcron version=4.5 -revision=25 +revision=26 +build_pie=yes conf_files="/var/spool/cron/root" -replaces="cron-daemon>=0 runit-void<20141013_2" +replaces="cron-daemon>=0" provides="cron-daemon-1_1" short_desc="Dillon's lightweight cron daemon" maintainer="Juan RP " @@ -12,6 +13,7 @@ license="GPL-2" distfiles="http://www.jimpryor.net/linux/releases/dcron-${version}.tar.gz" checksum=9e50edb6f5bd8153b16bad05087d985e5153ce45cc01ae77e7f842213fb4a824 +build_options="systemd" make_dirs=" /etc/cron.d 0755 root root /etc/cron.hourly 0755 root root @@ -20,16 +22,11 @@ make_dirs=" /etc/cron.yearly 0755 root root /var/spool/cronstamps 0755 root root" -build_options="systemd" -if [ "$build_option_systemd" ]; then - systemd_services="dcron.service on" -fi - do_configure() { sed -i 's,-[og] root,,g' Makefile } do_build() { - make CFLAGS="$CFLAGS -fPIE" LDFLAGS="$LDFLAGS -pie" \ + make CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \ PREFIX=/usr CRONTAB_GROUP=$(whoami) CRONTABS=/var/spool/cron \ CRONSTAMPS=/var/spool/cronstamps ${makejobs} }