commit
6c461959b3
2 changed files with 29 additions and 0 deletions
24
srcpkgs/fcron/patches/force-pam.patch
Normal file
24
srcpkgs/fcron/patches/force-pam.patch
Normal file
|
@ -0,0 +1,24 @@
|
|||
From 60e5c02c9163de51f5d2bc9237da36d07c93f4b1 Mon Sep 17 00:00:00 2001
|
||||
From: Andrea Brancaleoni <miwaxe@gmail.com>
|
||||
Date: Wed, 26 Aug 2015 01:25:42 +0200
|
||||
Subject: [PATCH] force pam
|
||||
|
||||
---
|
||||
configure.in | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git configure.in configure.in
|
||||
index 590d5b2..22ed5d7 100644
|
||||
--- configure.in
|
||||
+++ configure.in
|
||||
@@ -865,6 +865,7 @@ if test "$usepam" != "0" && echo "$LIBS" | grep -- "-lpam" > /dev/null ; then
|
||||
else
|
||||
usepam=0
|
||||
fi
|
||||
+usepam=1
|
||||
USEPAM="$usepam"
|
||||
AC_SUBST(USEPAM)
|
||||
|
||||
--
|
||||
2.5.0
|
||||
|
|
@ -2,6 +2,7 @@
|
|||
pkgname=fcron
|
||||
version=3.2.0
|
||||
revision=4
|
||||
build_pie=yes
|
||||
build_style=gnu-configure
|
||||
configure_args="
|
||||
--sysconfdir=/etc/fcron
|
||||
|
@ -12,6 +13,7 @@ configure_args="
|
|||
--docdir=/usr/share/doc
|
||||
--localstatedir=/var
|
||||
--with-piddir=/run
|
||||
--with-pam=yes
|
||||
--with-sendmail=sendmail
|
||||
--with-editor=vi
|
||||
--with-shell=/bin/sh
|
||||
|
@ -44,7 +46,10 @@ conf_files="
|
|||
|
||||
## me: fcron installer is not the king. I'm.
|
||||
## fcron: Wine is coming.
|
||||
CFLAGS="-DHAVE_LIBPAM=1"
|
||||
LDFLAGS="-lpam"
|
||||
pre_configure() {
|
||||
sed -i 's|$(CFLAGS)|$(CFLAGS) $(LDFLAGS)|g' Makefile.in # pass LDFLAGS for PIE
|
||||
autoupdate
|
||||
autoconf -f -Wall
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue