fcron: build PIE

This commit is contained in:
Andrea Brancaleoni 2015-08-24 13:42:33 +02:00
parent b50be274f7
commit 5ee37a8fdc
2 changed files with 5 additions and 4 deletions

View File

@ -13,6 +13,6 @@ post)
chmod 640 etc/fcron/fcron.conf etc/fcron/fcron.allow etc/fcron/fcron.deny chmod 640 etc/fcron/fcron.conf etc/fcron/fcron.allow etc/fcron/fcron.deny
chown fcron:fcron var/spool/fcron chown fcron:fcron var/spool/fcron
chmod 770 var/spool/fcron chmod 6770 var/spool/fcron
;; ;;
esac esac

View File

@ -1,7 +1,7 @@
# Template file for 'fcron' # Template file for 'fcron'
pkgname=fcron pkgname=fcron
version=3.2.0 version=3.2.0
revision=2 revision=3
build_style=gnu-configure build_style=gnu-configure
configure_args=" configure_args="
--sysconfdir=/etc/fcron --sysconfdir=/etc/fcron
@ -22,7 +22,7 @@ make_dirs="
/etc/cron.monthly 0755 root root /etc/cron.monthly 0755 root root
/etc/cron.weekly 0755 root root" /etc/cron.weekly 0755 root root"
hostmakedepends="autoconf perl" hostmakedepends="autoconf perl"
makedepends="pam-devel readline-devel" makedepends="readline-devel"
depends="run-parts" depends="run-parts"
short_desc="Feature-rich cron implementation" short_desc="Feature-rich cron implementation"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>" maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
@ -31,6 +31,8 @@ homepage="http://fcron.free.fr"
distfiles="$homepage/archives/$pkgname-$version.src.tar.gz" distfiles="$homepage/archives/$pkgname-$version.src.tar.gz"
checksum=eb13b86ed96805d117e19847f1da30b834f1990f7ef4c38f5007234d44679564 checksum=eb13b86ed96805d117e19847f1da30b834f1990f7ef4c38f5007234d44679564
build_pie=yes
system_accounts="fcron" system_accounts="fcron"
fcron_homedir="/var/spool/fcron" fcron_homedir="/var/spool/fcron"
fcron_shell="/bin/sh" fcron_shell="/bin/sh"
@ -39,7 +41,6 @@ conf_files="
/etc/fcron/fcron.conf /etc/fcron/fcron.conf
/etc/fcron/fcron.allow /etc/fcron/fcron.allow
/etc/fcron/fcron.deny /etc/fcron/fcron.deny
/etc/fcron/pam.conf
/var/spool/fcron/systab.orig" /var/spool/fcron/systab.orig"
## me: fcron installer is not the king. I'm. ## me: fcron installer is not the king. I'm.