Hello community, here is the log from the commit of package at for openSUSE:Factory checked in at 2013-10-07 15:48:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/at (Old) and /work/SRC/openSUSE:Factory/.at.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "at" Changes: -------- --- /work/SRC/openSUSE:Factory/at/at.changes 2013-07-16 14:06:39.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.at.new/at.changes 2013-10-07 15:48:54.000000000 +0200 @@ -1,0 +2,5 @@ +Sun Oct 6 23:02:00 UTC 2013 - [email protected] + +- at-secure_getenv.patch at must use secure_getenv. + +------------------------------------------------------------------- New: ---- at-secure_getenv.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ at.spec ++++++ --- /var/tmp/diff_new_pack.xbmo6u/_old 2013-10-07 15:48:55.000000000 +0200 +++ /var/tmp/diff_new_pack.xbmo6u/_new 2013-10-07 15:48:55.000000000 +0200 @@ -61,6 +61,7 @@ Patch21: at-makefile-deps.patch #PATCH-FIX-OPENSUSE Set pid dir to /run not /var/run Patch22: at-piddir.patch +Patch23: at-secure_getenv.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %{_sbindir}/useradd %{_sbindir}/groupadd %fillup_prereq %insserv_prereq PreReq: permissions @@ -96,6 +97,7 @@ %patch20 -p1 %patch21 -p1 %patch22 +%patch23 -p1 %build rm -fv y.tab.c y.tab.h lex.yy.c lex.yy.o y.tab.o autoreconf -fiv ++++++ at-secure_getenv.patch ++++++ --- at-3.1.13.orig/configure.ac +++ at-3.1.13/configure.ac @@ -17,8 +17,9 @@ AC_SUBST(VERSION) AC_CANONICAL_HOST dnl Checks for programs. - -AC_PROG_CC +AC_USE_SYSTEM_EXTENSIONS +AC_PROG_CC_STDC +AC_SYS_LARGEFILE AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_YACC @@ -58,6 +59,7 @@ AC_CHECK_LIB(fl,yywrap, PKG_CHECK_MODULES([HX], [libHX]) +AC_CHECK_FUNCS([__secure_getenv secure_getenv]) dnl Checks for header files. AC_HEADER_DIRENT AC_HEADER_STDC --- at-3.1.13.orig/at.c +++ at-3.1.13/at.c @@ -97,6 +97,14 @@ #define DEFAULT_QUEUE 'a' #define BATCH_QUEUE 'b' +#ifndef HAVE_SECURE_GETENV +# ifdef HAVE___SECURE_GETENV +# define secure_getenv __secure_getenv +# else +# error neither secure_getenv nor __secure_getenv is available +# endif +#endif + enum { ATQ, BATCH, ATRM, AT, CAT }; /* what program we want to run */ @@ -359,7 +367,7 @@ writefile(time_t runtimer, char queue) */ mailname = getlogin(); if (mailname == NULL) - mailname = getenv("LOGNAME"); + mailname = secure_getenv("LOGNAME"); if (mailname == NULL || mailname[0] == '\0' || getpwnam(mailname) == NULL) { pass_entry = getpwuid(real_uid); if (pass_entry != NULL) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
