From: Michael Shigorin <mike@osdn.org.ua> To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org> Cc: Denis Smirnov <mithraen@freesource.info> Subject: Re: [sisyphus] ppp-2.4.5-alt1 Date: Tue, 12 Jan 2010 19:17:11 +0200 Message-ID: <20100112171711.GF11686@osdn.org.ua> (raw) In-Reply-To: <b966c1e41001120542r3b93d6c3wec0a9832c1a5d97b@mail.gmail.com> [-- Attachment #1: Type: text/plain, Size: 819 bytes --] On Tue, Jan 12, 2010 at 04:42:16PM +0300, Alexey Shabalin wrote: > >> Ещё раз прошу проверить работу нового ppp. > >> Сборка выложена на http://ftp.altlinux.org/pub/people/shaba/ > >> если претензий не будет, в таком виде поедет в сизиф. У меня работает (пересобрал для M51). В сизиф просьба обождать, см. ниже и в аттачах (оказывается, забыл пушнуть 2.4.4-alt13. > > а можно попросить напомнить, какие там изменения? > - 2.4.5 > - обновлён eap-tls патч. У меня с ним работает eToken. > - изменена схема сборки из git. Кому не нравится прошу высказать пожелания. Мне не нравится хранить не имеющее ни малейшего отношения к gear в .gear. Для такого IMHO лучше держать чистый master, а исходники -- в бранче upstream. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ [-- Attachment #2: ppp-2.4.4-rh-closelog.patch --] [-- Type: text/plain, Size: 830 bytes --] --- ppp-2.4.4/pppd/main.c 2006-06-04 06:52:50.000000000 +0300 +++ ../../ppp/pppd/main.c 2006-12-19 12:22:11.000000000 +0200 @@ -66,7 +66,7 @@ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#define RCSID "$Id: main.c,v 1.153 2006/06/04 03:52:50 paulus Exp $" +#define RCSID "$Id: main.c,v 1.155 2006/12/19 10:22:11 paulus Exp $" #include <stdio.h> #include <ctype.h> @@ -1567,6 +1567,8 @@ if (errfd == 0 || errfd == 1) errfd = dup(errfd); + closelog(); + /* dup the in, out, err fds to 0, 1, 2 */ if (infd != 0) dup2(infd, 0); @@ -1575,7 +1577,6 @@ if (errfd != 2) dup2(errfd, 2); - closelog(); if (log_to_fd > 2) close(log_to_fd); if (the_channel->close) [-- Attachment #3: 0001-imported-ppp-2.4.4-rh-closelog.patch-from-RH-222295.patch --] [-- Type: text/plain, Size: 1447 bytes --] >From 5a2ba7fc83bd5f42c813c20145cecfcf5cf10f6a Mon Sep 17 00:00:00 2001 From: Michael Shigorin <mike@altlinux.org> Date: Sun, 22 Nov 2009 19:18:27 +0200 Subject: [PATCH 1/2] imported ppp-2.4.4-rh-closelog.patch from RH#222295 --- ppp-2.4.4-rh-closelog.patch | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) create mode 100644 ppp-2.4.4-rh-closelog.patch diff --git a/ppp-2.4.4-rh-closelog.patch b/ppp-2.4.4-rh-closelog.patch new file mode 100644 index 0000000..ea31432 --- /dev/null +++ b/ppp-2.4.4-rh-closelog.patch @@ -0,0 +1,28 @@ +--- ppp-2.4.4/pppd/main.c 2006-06-04 06:52:50.000000000 +0300 ++++ ../../ppp/pppd/main.c 2006-12-19 12:22:11.000000000 +0200 +@@ -66,7 +66,7 @@ + * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +-#define RCSID "$Id: main.c,v 1.153 2006/06/04 03:52:50 paulus Exp $" ++#define RCSID "$Id: main.c,v 1.155 2006/12/19 10:22:11 paulus Exp $" + +#include <stdio.h> +#include <ctype.h> +@@ -1567,6 +1567,8 @@ + if (errfd == 0 || errfd == 1) + errfd = dup(errfd); + ++ closelog(); ++ + /* dup the in, out, err fds to 0, 1, 2 */ + if (infd != 0) + dup2(infd, 0); +@@ -1575,7 +1577,6 @@ + if (errfd != 2) + dup2(errfd, 2); + +- closelog(); + if (log_to_fd > 2) + close(log_to_fd); + if (the_channel->close) -- 1.6.5.2 [-- Attachment #4: 0002-2.4.4-alt13.patch --] [-- Type: text/plain, Size: 1591 bytes --] >From e660ad07a3425d1f8de11740230fcb0c2ed150c8 Mon Sep 17 00:00:00 2001 From: Michael Shigorin <mike@altlinux.org> Date: Sun, 22 Nov 2009 19:33:47 +0200 Subject: [PATCH 2/2] 2.4.4-alt13 - added patch to fix early closelog() (RH#222295, thx mlists/list.ru for proposal) --- ppp.spec | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/ppp.spec b/ppp.spec index 45a4df1..79b99eb 100644 --- a/ppp.spec +++ b/ppp.spec @@ -11,7 +11,7 @@ Name: ppp Version: 2.4.4 -Release: alt12 +Release: alt13 Summary: The PPP daemon and documentation License: distributable Group: System/Servers @@ -89,6 +89,9 @@ Patch54: ppp-2.4.4-alt-ipparam.patch # patch define aligned_u64 directly Patch55: ppp-2.4.4-alt-define-aligned_u64.patch +# https://bugzilla.redhat.com/show_bug.cgi?id=222295 +Patch56: ppp-2.4.4-rh-closelog.patch + Packager: Denis Smirnov <mithraen@altlinux.ru> PreReq: /var/lock/serial @@ -221,6 +224,7 @@ popd %patch54 -p1 # ugly hack: patch define aligned_u64 directly %patch55 -p1 +%patch56 -p1 # enable the dhcp plugin perl -p -i -e "s|^(PLUGINS :=)|SUBDIRS += dhcp\n\$1|g" pppd/plugins/Makefile.linux @@ -348,6 +352,10 @@ install -pD -m644 %SOURCE5 %buildroot%_sysconfdir/logrotate.d/%name # - more spec cleanup re $RPM_BUILD_ROOT and friends %changelog +* Sun Nov 22 2009 Michael Shigorin <mike@altlinux.org> 2.4.4-alt13 +- added patch to fix early closelog() + (RH#222295, thx mlists/list.ru for proposal) + * Fri May 15 2009 Michael Shigorin <mike@altlinux.org> 2.4.4-alt12 - fixed FTBFS with current libtool -- 1.6.5.2
next prev parent reply other threads:[~2010-01-12 17:17 UTC|newest] Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-01-12 11:55 Alexey Shabalin 2010-01-12 12:43 ` Afanasov Dmitry 2010-01-12 13:42 ` Alexey Shabalin 2010-01-12 17:17 ` Michael Shigorin [this message] 2010-01-12 22:57 ` Michael Shigorin 2010-01-13 8:44 ` Alexey Shabalin 2010-01-13 13:47 ` [sisyphus] [git] ppp-2.4.5-alt1 Michael Shigorin 2010-01-16 18:03 ` Alexey Shabalin 2010-01-16 18:09 ` [sisyphus] git hideoustory heirloom (was: [git] Re: ppp-2.4.5-alt1) Michael Shigorin 2010-01-12 17:42 ` [sisyphus] ppp-2.4.5-alt1 Denis Smirnov 2010-01-12 17:58 ` Denis Smirnov 2010-01-12 19:27 ` Michael Shigorin 2010-01-12 20:24 ` Alexey Shabalin 2010-01-12 22:25 ` Michael Shigorin 2010-01-12 19:36 ` [sisyphus] [JT] .gear/ vs altinux/ (was: ppp-2.4.5-alt1) Afanasov Dmitry 2010-01-28 15:20 ` Денис Смирнов 2010-01-13 15:07 ` [sisyphus] ppp-2.4.5-alt1 Mikhail Efremov 2010-01-13 15:59 ` Michael Shigorin 2010-01-13 17:50 ` Mikhail Efremov 2010-01-15 10:06 ` Alexey Shabalin 2010-01-15 16:42 ` Michael Shigorin 2010-01-15 16:56 ` Alexey Shabalin 2010-01-15 17:01 ` Michael Shigorin 2010-01-15 17:35 ` Mikhail Efremov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20100112171711.GF11686@osdn.org.ua \ --to=mike@osdn.org.ua \ --cc=mithraen@freesource.info \ --cc=shigorin@gmail.com \ --cc=sisyphus@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git