Accepting request 252021 from Base:System
1 OBS-URL: https://build.opensuse.org/request/show/252021 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/at?expand=0&rev=65
This commit is contained in:
commit
e34d5670b0
@ -9,13 +9,11 @@ http://bugzilla.novell.com/780259
|
||||
configure.in | 44 +++++++++++++++++++++++++++-----------------
|
||||
3 files changed, 50 insertions(+), 19 deletions(-)
|
||||
|
||||
Index: at-3.1.14/Makefile.in
|
||||
Index: Makefile.in
|
||||
===================================================================
|
||||
--- at-3.1.14.orig/Makefile.in
|
||||
+++ at-3.1.14/Makefile.in
|
||||
@@ -26,19 +26,19 @@ LN_S = @LN_S@
|
||||
YACC = @YACC@
|
||||
LEX = @LEX@
|
||||
--- Makefile.in.orig 2014-09-18 10:46:08.197168752 +0200
|
||||
+++ Makefile.in 2014-09-18 10:46:08.265168751 +0200
|
||||
@@ -28,7 +28,7 @@
|
||||
LEXLIB = @LEXLIB@
|
||||
|
||||
CC = @CC@
|
||||
@ -24,7 +22,7 @@ Index: at-3.1.14/Makefile.in
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LFILE = $(ATJOB_DIR)/.SEQ
|
||||
DEFS = @DEFS@ -DVERSION=\"$(VERSION)\" \
|
||||
-DETCDIR=\"$(etcdir)\" -DLOADAVG_MX=$(LOADAVG_MX) \
|
||||
@@ -36,7 +36,7 @@
|
||||
-DDAEMON_USERNAME=\"$(DAEMON_USERNAME)\" \
|
||||
-DDAEMON_GROUPNAME=\"$(DAEMON_GROUPNAME)\" \
|
||||
-DLFILE=\"$(LFILE)\" -Wall
|
||||
@ -33,15 +31,11 @@ Index: at-3.1.14/Makefile.in
|
||||
LIBOBJS = @LIBOBJS@
|
||||
INSTALL = @INSTALL@
|
||||
PAMLIB = @PAMLIB@
|
||||
SELINUXLIB = @SELINUXLIB@
|
||||
|
||||
Index: at-3.1.14/atd.c
|
||||
Index: atd.c
|
||||
===================================================================
|
||||
--- at-3.1.14.orig/atd.c
|
||||
+++ at-3.1.14/atd.c
|
||||
@@ -72,10 +72,14 @@
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
--- atd.c.orig 2014-09-18 10:46:08.261168751 +0200
|
||||
+++ atd.c 2014-09-18 10:46:08.265168751 +0200
|
||||
@@ -74,6 +74,10 @@
|
||||
#include <syslog.h>
|
||||
#endif
|
||||
|
||||
@ -52,11 +46,7 @@ Index: at-3.1.14/atd.c
|
||||
/* Local headers */
|
||||
|
||||
#include "privs.h"
|
||||
#include "daemon.h"
|
||||
|
||||
@@ -928,10 +932,11 @@ main(int argc, char *argv[])
|
||||
* For those files which are to be executed, run_file() is called, which forks
|
||||
* off a child which takes care of I/O redirection, forks off another child
|
||||
@@ -930,6 +934,7 @@
|
||||
* for execution and yet another one, optionally, for sending mail.
|
||||
* Files which already have run are removed during the next invocation.
|
||||
*/
|
||||
@ -64,11 +54,7 @@ Index: at-3.1.14/atd.c
|
||||
int c;
|
||||
time_t next_invocation;
|
||||
struct sigaction act;
|
||||
struct passwd *pwe;
|
||||
struct group *ge;
|
||||
@@ -996,10 +1001,26 @@ main(int argc, char *argv[])
|
||||
pabort("idiotic option - aborted");
|
||||
break;
|
||||
@@ -998,6 +1003,22 @@
|
||||
}
|
||||
}
|
||||
|
||||
@ -91,15 +77,11 @@ Index: at-3.1.14/atd.c
|
||||
namep = argv[0];
|
||||
if (chdir(ATJOB_DIR) != 0)
|
||||
perr("Cannot change to " ATJOB_DIR);
|
||||
|
||||
if (optind < argc)
|
||||
Index: at-3.1.14/configure.ac
|
||||
Index: configure.ac
|
||||
===================================================================
|
||||
--- at-3.1.14.orig/configure.ac
|
||||
+++ at-3.1.14/configure.ac
|
||||
@@ -3,11 +3,11 @@ dnl Process this file with autoconf to p
|
||||
AC_INIT(at, 3.1.14)
|
||||
AC_CONFIG_SRCDIR(at.c)
|
||||
--- configure.ac.orig 2014-09-18 10:46:08.217168752 +0200
|
||||
+++ configure.ac 2014-09-18 10:46:08.265168751 +0200
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
AC_PREFIX_DEFAULT(/usr)
|
||||
AC_CONFIG_HEADER(config.h)
|
||||
@ -108,9 +90,7 @@ Index: at-3.1.14/configure.ac
|
||||
|
||||
VERSION=AC_PACKAGE_VERSION
|
||||
if test "X$CFLAGS" = "X"; then
|
||||
CFLAGS="-O2 -g -Wall"
|
||||
fi
|
||||
@@ -40,20 +40,21 @@ case "$host" in
|
||||
@@ -40,20 +40,21 @@
|
||||
esac
|
||||
|
||||
AC_MSG_CHECKING(__attribute__((noreturn)))
|
||||
@ -136,7 +116,7 @@ Index: at-3.1.14/configure.ac
|
||||
dnl Checks for header files.
|
||||
AC_HEADER_DIRENT
|
||||
AC_HEADER_STDC
|
||||
@@ -63,7 +64,18 @@ AC_CHECK_HEADERS(stdarg.h)
|
||||
@@ -63,7 +64,18 @@
|
||||
|
||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_C_CONST
|
||||
@ -156,9 +136,7 @@ Index: at-3.1.14/configure.ac
|
||||
AC_TYPE_UID_T
|
||||
AC_TYPE_MODE_T
|
||||
AC_TYPE_OFF_T
|
||||
@@ -258,20 +267,20 @@ AC_ARG_WITH(daemon_groupname,
|
||||
AC_MSG_RESULT(daemon)
|
||||
)
|
||||
@@ -261,8 +273,8 @@
|
||||
AC_SUBST(DAEMON_GROUPNAME)
|
||||
|
||||
AC_ARG_WITH(selinux,
|
||||
@ -169,7 +147,7 @@ Index: at-3.1.14/configure.ac
|
||||
)
|
||||
AC_CHECK_LIB(selinux, is_selinux_enabled, SELINUXLIB=-lselinux)
|
||||
AC_SUBST(SELINUXLIB)
|
||||
AC_SUBST(WITH_SELINUX)
|
||||
@@ -270,7 +282,7 @@
|
||||
|
||||
AC_ARG_WITH(pam,
|
||||
[ --with-pam Define to enable pam support ],
|
||||
@ -178,5 +156,3 @@ Index: at-3.1.14/configure.ac
|
||||
)
|
||||
AC_CHECK_LIB(pam, pam_start, PAMLIB='-lpam -lpam_misc')
|
||||
AC_SUBST(PAMLIB)
|
||||
|
||||
AC_CONFIG_FILES(Makefile atrun atd.8 atrun.8 at.1 at.allow.5 batch)
|
||||
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 24 12:21:20 UTC 2014 - pgajdos@suse.com
|
||||
|
||||
- updated to 3.1.15:
|
||||
* pam.conf: require pam_loginuid.so
|
||||
* atd.service.in: Add Documentation field.
|
||||
* atd.service.in: Set IgnoreSIGPIPE=false
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 31 09:26:21 UTC 2014 - alarrosa@suse.com
|
||||
|
||||
|
4
at.spec
4
at.spec
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: at
|
||||
Version: 3.1.14
|
||||
Version: 3.1.15
|
||||
Release: 0
|
||||
Summary: A Job Manager
|
||||
License: GPL-2.0+
|
||||
@ -99,7 +99,7 @@ This program allows you to run jobs at specified times.
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch19
|
||||
%patch20 -p1
|
||||
%patch20
|
||||
%patch21 -p1
|
||||
%patch22
|
||||
%patch23 -p1
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cd092bf05d29c25b286f55a960ce8b8c3c5beb571d86ed8eb1dfb3b61291b3ae
|
||||
size 122865
|
3
at_3.1.15.orig.tar.gz
Normal file
3
at_3.1.15.orig.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:03a84f5293d5a95ef4231b7faf5578f141f0c76a2b304dd655bc7e90e97bf7fc
|
||||
size 122968
|
Loading…
x
Reference in New Issue
Block a user