at: update to 3.1.23 release

Also, remove old patch, fixed with 3.1.21 release.
This commit is contained in:
John Vogel 2019-01-05 21:28:30 -05:00
parent 706ff443e2
commit 4c15f197a4
3 changed files with 5 additions and 24 deletions

View File

@ -1,7 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF34B725hp7WFTNJt/6l9/m+j8u24v/oSr+NlA60L+ybjS8//yNfNrje2FPvljSqGPZHfeZbdsWQznZveKUjRszws=
SHA256 (Pkgfile) = 2db132be2349f6c6f3fb4d1396e2b4b9f3942c9fcad063086bdfdd53769174c9
RWSagIOpLGJF35d1SaFYgA6UF8t8r6sHvqxNhWg2mfHHIMqRVqSRQhmlqHPcCdq11PDOcRvCKnr14CQCrwR3j40sscHu/1N10A8=
SHA256 (Pkgfile) = 920200fe1f9b65339c344d9d098b03f136a6238ee85e930c4ea8dda3b5c88dd0
SHA256 (.footprint) = 60feeb0ada64af8cf2577b02f5735b8ea2786da8ccd3ae9e67aa5e6103730bb5
SHA256 (at_3.1.20.orig.tar.gz) = 0871923cab73050b98ace020664eb2ddc1e669e4166b5abb64d864d02fcefab9
SHA256 (fix_fcntl_call.diff) = 5deae50ffa58b7ef65f8e4df453cc6bb426f1420c2d3334b7d652f42133d1aba
SHA256 (at_3.1.23.orig.tar.gz) = 97450aa954aaa8a70218cc8e61a33df9fee9f86527e9f861de302fb7a3c81710
SHA256 (atd) = 832b65588cde8e9f13afb314c6546186d554bb459d04d98e9e4d5a95a6f10b01

View File

@ -4,19 +4,14 @@
# Depends on: exim
name=at
version=3.1.20
release=2
version=3.1.23
release=1
source=(http://blog.calhariz.com/public/sft/$name/${name}_$version.orig.tar.gz
fix_fcntl_call.diff
atd)
build() {
cd $name-$version
patch -p1 < $SRC/fix_fcntl_call.diff
autoreconf
SENDMAIL=/usr/sbin/sendmail \
CONFIG_SHELL=/bin/bash \
./configure --prefix=/usr

View File

@ -1,13 +0,0 @@
diff --git a/daemon.c b/daemon.c
index f9d25e718757b243388a6146cc5d8de344fcbc54..4003b5618e37061d93a731d38ac3cc7ac99763d5 100644
--- a/daemon.c
+++ b/daemon.c
@@ -205,7 +205,7 @@ daemon_setup()
* want to keep the file descriptor in case of an exec().
*/
fflush(fp);
- fcntl(fd, F_SETFD, (long) 1);
+ fcntl(fd, F_SETFD, FD_CLOEXEC);
PRIV_END
return;