Hello community, here is the log from the commit of package qpopper for openSUSE:Factory checked in at Wed Aug 3 09:35:45 CEST 2011. -------- --- qpopper/qpopper.changes 2010-11-11 22:01:53.000000000 +0100 +++ /mounts/work_src_done/STABLE/qpopper/qpopper.changes 2011-08-02 16:02:46.000000000 +0200 @@ -1,0 +2,11 @@ +Tue Aug 2 13:08:46 UTC 2011 - wr@rosenauer.org + +- update to version 4.1.0 + * IPv6 support + * Significantly improved performance + * Ability to execute arbitrary programs when users log in + * And lots more +- use set_permissions macro for 11.4 and above +- build popauth using PIE/PIC + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- qpopper-strict-aliasing.patch qpopper4.0.19.tar.bz2 New: ---- qpopper-buildflags.diff qpopper4.1.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qpopper.spec ++++++ --- /var/tmp/diff_new_pack.hSG0IU/_old 2011-08-03 09:30:23.000000000 +0200 +++ /var/tmp/diff_new_pack.hSG0IU/_new 2011-08-03 09:30:23.000000000 +0200 @@ -20,12 +20,12 @@ Name: qpopper BuildRequires: gdbm-devel openssl-devel pam-devel postfix -Version: 4.0.19 +Version: 4.1.0 Release: 1 License: LGPLv2 or later, BSD 4 (UCB) Group: Productivity/Networking/Email/Servers Url: http://www.eudora.com/products/unsupported/qpopper/index.html -Source0: %{name}%{version}.tar.bz2 +Source0: ftp://ftp.qualcomm.com/eudora/servers/unix/popper/%{name}%{version}.tar.gz # pam config Source1: pop3 # xinetd config @@ -42,8 +42,8 @@ Patch4: include1.diff # fix path in manpage Patch5: manpage.diff -# build popper without strict aliasing -Patch8: qpopper-strict-aliasing.patch +# build with proper compiler flags +Patch6: qpopper-buildflags.diff Summary: POP3 Mail Daemon from Qualcomm Inc BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: pam inet-daemon @@ -76,12 +76,10 @@ %patch0 %patch1 %patch2 -%patch3 +%patch3 -p1 %patch4 -%patch5 -#%patch6 -#%patch7 -p1 -%patch8 +%patch5 -p1 +%patch6 -p1 %build CFLAGS="$RPM_OPT_FLAGS -fstack-protector" ./configure \ @@ -121,7 +119,11 @@ /usr/sbin/useradd -r -o -u 67 -g users -s /bin/false -c "POP admin" -d /var/lib/pop pop 2> /dev/null || : %post +%if %suse_version >= 1140 +%set_permissions /usr/sbin/popauth +%else %run_permissions +%endif %verifyscript %verify_permissions -e /usr/sbin/popauth ++++++ manpage.diff ++++++ --- /var/tmp/diff_new_pack.hSG0IU/_old 2011-08-03 09:30:23.000000000 +0200 +++ /var/tmp/diff_new_pack.hSG0IU/_new 2011-08-03 09:30:23.000000000 +0200 @@ -1,8 +1,10 @@ ---- ./man/popper.8.orig 2004-02-18 16:03:56.331980690 +0000 -+++ ./man/popper.8 2004-02-18 16:04:17.000000000 +0000 +diff --git a/man/popper.8 b/man/popper.8 +index 09663d9..fb4ed3b 100644 +--- a/man/popper.8 ++++ b/man/popper.8 @@ -19,7 +19,7 @@ .SH NAME - qpopper -- POP3 server (v4.0) + qpopper -- POP3 server (v4.1) .SH SYNOPSIS -.B /usr/local/lib/popper +.B /usr/sbin/popper ++++++ qpopper-buildflags.diff ++++++ diff --git a/common/Makefile.in b/common/Makefile.in index 26a7c5a..03b511c 100644 --- a/common/Makefile.in +++ b/common/Makefile.in @@ -113,7 +113,7 @@ libcommon.a: ${OBJS} .c.o: ${CC} -c -I${base_dir} -I${srcdir} -I${top_srcdir} -I${popper_srcdir} \ - ${CFLAGS} ${DEFS} ${CDEFS} ${OS_DEFS} $< -o $@ + ${CFLAGS} -fPIC ${DEFS} ${CDEFS} ${OS_DEFS} $< -o $@ ${OBJS}: ${INCLUDES} diff --git a/popper/Makefile.in b/popper/Makefile.in index 754e129..e93aa3d 100644 --- a/popper/Makefile.in +++ b/popper/Makefile.in @@ -213,7 +213,7 @@ popper: ${OBJS} ${MISSING_OBJS} mangler_library common_library ${LIBS} ${LDFLAGS} popauth: ${POPAUTHOBJS} ${MISSING_OBJS} - ${CC} -o popauth ${POPAUTHOBJS} ${NETWORK_LIBS} \ + ${CC} -pie -o popauth ${POPAUTHOBJS} ${NETWORK_LIBS} \ ${DBM_LIBS} ${MISSING_OBJS} \ ${common_dir}/libcommon.a @@ -223,7 +223,7 @@ poppassd: common_library .c.o: ${CC} -c -I${base_dir} -I${top_srcdir} -I${srcdir} \ -I${mmangle_srcdir} -I${common_srcdir} ${SSL_INC} \ - ${CFLAGS} ${DEFS} ${CDEFS} ${OS_DEFS} $< -o $@ + ${CFLAGS} -fPIE -fno-strict-aliasing ${DEFS} ${CDEFS} ${OS_DEFS} $< -o $@ ${SRCS}: ${POPAUTHSRCS}: ++++++ security1.diff ++++++ --- /var/tmp/diff_new_pack.hSG0IU/_old 2011-08-03 09:30:23.000000000 +0200 +++ /var/tmp/diff_new_pack.hSG0IU/_new 2011-08-03 09:30:23.000000000 +0200 @@ -1,15 +1,19 @@ ---- common/logit.c -+++ common/logit.c -@@ -161,7 +161,7 @@ +diff --git a/common/logit.c b/common/logit.c +index 883e465..10ebb53 100644 +--- a/common/logit.c ++++ b/common/logit.c +@@ -160,8 +160,8 @@ vlogit ( FILE *str, /* STREAM to write to, or NULL for syslog */ + if ( DEBUGGING && fn != NULL ) { char whence [ 512 ]; int len; - -- iLeft -= ( iChunk >= 0 ? iChunk : strlen(msgbuf) ); +- +- iLeft -= ( iChunk >= 0 ? iChunk : (int) strlen(msgbuf) ); ++ + iLeft -= strlen(msgbuf); - len = Qsprintf ( whence, " [%s:%lu]", fn, ln ); + len = Qsprintf ( whence, " [%s:%zu]", fn, ln ); strncat ( msgbuf, whence, iLeft ); msgbuf [ sizeof(msgbuf) -1 ] = '\0'; /* just to make sure */ -@@ -191,7 +191,7 @@ +@@ -191,7 +191,7 @@ vlogit ( FILE *str, /* STREAM to write to, or NULL for syslog */ syslog ( loglev, "%s", msgbuf) ; } @@ -18,30 +22,34 @@ /* * We blew out the format buffer. */ ---- common/snprintf.c -+++ common/snprintf.c -@@ -358,7 +358,12 @@ +diff --git a/common/snprintf.c b/common/snprintf.c +index 047417e..07ac1c6 100644 +--- a/common/snprintf.c ++++ b/common/snprintf.c +@@ -358,7 +358,12 @@ Qvsnprintf ( char *s, size_t n, const char *format, va_list ap ) limit = atoi ( p ); } else - if ( nState == IN_FORM && bWidth == FALSE ) { + /* This statement originally had nState == IN_FORM -+ * but we never get here when in state IN_FORM. -+ * They probably meant IN_CONV. -+ * If you insist on re-inventing wheels, they invariably -+ * turn out to be bumpier that the original. --okir */ ++ * but we never get here when in state IN_FORM. ++ * They probably meant IN_CONV. ++ * If you insist on re-inventing wheels, they invariably ++ * turn out to be bumpier that the original. --okir */ + if ( nState == IN_CONV && bWidth == FALSE ) { bWidth = TRUE; width = atoi ( p ); } ---- popper/popauth.c -+++ popper/popauth.c -@@ -780,6 +780,8 @@ +diff --git a/popper/popauth.c b/popper/popauth.c +index 012e997..b2fd447 100644 +--- a/popper/popauth.c ++++ b/popper/popauth.c +@@ -788,6 +788,8 @@ char *argv[]; fprintf ( stderr, "%s: "-%s" unknown option\n", program, cp ); helpful(); case TRACESW: -+ if (getuid()) -+ adios ( HERE, "you are not allowed to do that" ); ++ if (getuid()) ++ adios ( HERE, "you are not allowed to do that" ); debug++; open_trace ( argv[1] ); argc--; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org