[arch-commits] Commit in sysvinit/repos (18 files)

2012-10-13 Thread Thomas Bächler
Date: Saturday, October 13, 2012 @ 05:28:52
  Author: thomas
Revision: 168539

db-move: moved sysvinit from [testing] to [core] (i686, x86_64)

Added:
  sysvinit/repos/core-i686/0001-simplify-writelog.patch
(from rev 168538, sysvinit/repos/testing-i686/0001-simplify-writelog.patch)
  sysvinit/repos/core-i686/0002-remove-ansi-escape-codes-from-log-file.patch
(from rev 168538, 
sysvinit/repos/testing-i686/0002-remove-ansi-escape-codes-from-log-file.patch)
  sysvinit/repos/core-i686/PKGBUILD
(from rev 168538, sysvinit/repos/testing-i686/PKGBUILD)
  sysvinit/repos/core-i686/sysvinit.install
(from rev 168538, sysvinit/repos/testing-i686/sysvinit.install)
  sysvinit/repos/core-x86_64/0001-simplify-writelog.patch
(from rev 168538, 
sysvinit/repos/testing-x86_64/0001-simplify-writelog.patch)
  sysvinit/repos/core-x86_64/0002-remove-ansi-escape-codes-from-log-file.patch
(from rev 168538, 
sysvinit/repos/testing-x86_64/0002-remove-ansi-escape-codes-from-log-file.patch)
  sysvinit/repos/core-x86_64/PKGBUILD
(from rev 168538, sysvinit/repos/testing-x86_64/PKGBUILD)
  sysvinit/repos/core-x86_64/sysvinit.install
(from rev 168538, sysvinit/repos/testing-x86_64/sysvinit.install)
Deleted:
  sysvinit/repos/core-i686/0001-simplify-writelog.patch
  sysvinit/repos/core-i686/0002-remove-ansi-escape-codes-from-log-file.patch
  sysvinit/repos/core-i686/PKGBUILD
  sysvinit/repos/core-i686/sysvinit.install
  sysvinit/repos/core-x86_64/0001-simplify-writelog.patch
  sysvinit/repos/core-x86_64/0002-remove-ansi-escape-codes-from-log-file.patch
  sysvinit/repos/core-x86_64/PKGBUILD
  sysvinit/repos/core-x86_64/sysvinit.install
  sysvinit/repos/testing-i686/
  sysvinit/repos/testing-x86_64/

---+
 core-i686/0001-simplify-writelog.patch|  252 +-
 core-i686/0002-remove-ansi-escape-codes-from-log-file.patch   |  160 +++---
 core-i686/PKGBUILD|  123 ++--
 core-i686/sysvinit.install|6 
 core-x86_64/0001-simplify-writelog.patch  |  252 +-
 core-x86_64/0002-remove-ansi-escape-codes-from-log-file.patch |  160 +++---
 core-x86_64/PKGBUILD  |  123 ++--
 core-x86_64/sysvinit.install  |6 
 8 files changed, 540 insertions(+), 542 deletions(-)

Deleted: core-i686/0001-simplify-writelog.patch
===
--- core-i686/0001-simplify-writelog.patch  2012-10-13 09:11:11 UTC (rev 
168538)
+++ core-i686/0001-simplify-writelog.patch  2012-10-13 09:28:52 UTC (rev 
168539)
@@ -1,126 +0,0 @@
-From 5577552eb1344ddd661893564b1e628f8edcf13d Mon Sep 17 00:00:00 2001
-From: Florian Pritz bluew...@xinu.at
-Date: Fri, 15 Jun 2012 16:41:52 +0200
-Subject: [PATCH 1/2] simplify writelog()
-
-All we do is prepend the date and remove \r. We don't handle color
-codes, but the user can just cat the log file in a terminal and it will
-interpret the codes correctly.
-
-Signed-off-by: Florian Pritz bluew...@xinu.at

- bootlogd.c |   76 +---
- 1 file changed, 21 insertions(+), 55 deletions(-)
-
-diff --git a/bootlogd.c b/bootlogd.c
-index 570d382..e36e261 100644
 a/bootlogd.c
-+++ b/bootlogd.c
-@@ -68,11 +68,6 @@ int didnl = 1;
- int createlogfile = 0;
- int syncalot = 0;
- 
--struct line {
--  char buf[256];
--  int pos;
--} line;
--
- /*
-  *Console devices as listed on the kernel command line and
-  *the mapping to actual devices in /dev
-@@ -351,63 +346,34 @@ int consolename(char *res, int rlen)
-  */
- void writelog(FILE *fp, unsigned char *ptr, int len)
- {
--  time_t  t;
--  char*s;
--  chartmp[8];
--  int olen = len;
--  int dosync = 0;
--  int tlen;
--
--  while (len  0) {
--  tmp[0] = 0;
--  if (didnl) {
-+  int dosync = 0;
-+  int i;
-+  static int first_run = 1;
-+
-+  for (i = 0; i  len; i++) {
-+  int ignore = 0;
-+
-+  /* prepend date to every line */
-+  if (*(ptr-1) == '\n' || first_run) {
-+  time_t t;
-+  char *s;
-   time(t);
-   s = ctime(t);
-   fprintf(fp, %.24s: , s);
--  didnl = 0;
-+  dosync = 1;
-+  first_run = 0;
-   }
--  switch (*ptr) {
--  case 27: /* ESC */
--  strcpy(tmp, ^[);
--  break;
--  case '\r':
--  line.pos = 0;
--  break;
--  case 8: /* ^H */
--   

[arch-commits] Commit in sysvinit/repos (18 files)

2012-09-23 Thread Tom Gundersen
Date: Sunday, September 23, 2012 @ 08:22:41
  Author: tomegun
Revision: 166964

db-move: moved sysvinit from [testing] to [core] (i686, x86_64)

Added:
  sysvinit/repos/core-i686/0001-simplify-writelog.patch
(from rev 166960, sysvinit/repos/testing-i686/0001-simplify-writelog.patch)
  sysvinit/repos/core-i686/0002-remove-ansi-escape-codes-from-log-file.patch
(from rev 166960, 
sysvinit/repos/testing-i686/0002-remove-ansi-escape-codes-from-log-file.patch)
  sysvinit/repos/core-i686/PKGBUILD
(from rev 166960, sysvinit/repos/testing-i686/PKGBUILD)
  sysvinit/repos/core-i686/sysvinit.install
(from rev 166960, sysvinit/repos/testing-i686/sysvinit.install)
  sysvinit/repos/core-x86_64/0001-simplify-writelog.patch
(from rev 166960, 
sysvinit/repos/testing-x86_64/0001-simplify-writelog.patch)
  sysvinit/repos/core-x86_64/0002-remove-ansi-escape-codes-from-log-file.patch
(from rev 166960, 
sysvinit/repos/testing-x86_64/0002-remove-ansi-escape-codes-from-log-file.patch)
  sysvinit/repos/core-x86_64/PKGBUILD
(from rev 166960, sysvinit/repos/testing-x86_64/PKGBUILD)
  sysvinit/repos/core-x86_64/sysvinit.install
(from rev 166960, sysvinit/repos/testing-x86_64/sysvinit.install)
Deleted:
  sysvinit/repos/core-i686/0001-simplify-writelog.patch
  sysvinit/repos/core-i686/0002-remove-ansi-escape-codes-from-log-file.patch
  sysvinit/repos/core-i686/PKGBUILD
  sysvinit/repos/core-i686/sysvinit.install
  sysvinit/repos/core-x86_64/0001-simplify-writelog.patch
  sysvinit/repos/core-x86_64/0002-remove-ansi-escape-codes-from-log-file.patch
  sysvinit/repos/core-x86_64/PKGBUILD
  sysvinit/repos/core-x86_64/sysvinit.install
  sysvinit/repos/testing-i686/
  sysvinit/repos/testing-x86_64/

---+
 core-i686/0001-simplify-writelog.patch|  252 +-
 core-i686/0002-remove-ansi-escape-codes-from-log-file.patch   |  160 +++---
 core-i686/PKGBUILD|  125 ++--
 core-i686/sysvinit.install|6 
 core-x86_64/0001-simplify-writelog.patch  |  252 +-
 core-x86_64/0002-remove-ansi-escape-codes-from-log-file.patch |  160 +++---
 core-x86_64/PKGBUILD  |  125 ++--
 core-x86_64/sysvinit.install  |6 
 8 files changed, 542 insertions(+), 544 deletions(-)

Deleted: core-i686/0001-simplify-writelog.patch
===
--- core-i686/0001-simplify-writelog.patch  2012-09-23 12:22:32 UTC (rev 
166963)
+++ core-i686/0001-simplify-writelog.patch  2012-09-23 12:22:41 UTC (rev 
166964)
@@ -1,126 +0,0 @@
-From 5577552eb1344ddd661893564b1e628f8edcf13d Mon Sep 17 00:00:00 2001
-From: Florian Pritz bluew...@xinu.at
-Date: Fri, 15 Jun 2012 16:41:52 +0200
-Subject: [PATCH 1/2] simplify writelog()
-
-All we do is prepend the date and remove \r. We don't handle color
-codes, but the user can just cat the log file in a terminal and it will
-interpret the codes correctly.
-
-Signed-off-by: Florian Pritz bluew...@xinu.at

- bootlogd.c |   76 +---
- 1 file changed, 21 insertions(+), 55 deletions(-)
-
-diff --git a/bootlogd.c b/bootlogd.c
-index 570d382..e36e261 100644
 a/bootlogd.c
-+++ b/bootlogd.c
-@@ -68,11 +68,6 @@ int didnl = 1;
- int createlogfile = 0;
- int syncalot = 0;
- 
--struct line {
--  char buf[256];
--  int pos;
--} line;
--
- /*
-  *Console devices as listed on the kernel command line and
-  *the mapping to actual devices in /dev
-@@ -351,63 +346,34 @@ int consolename(char *res, int rlen)
-  */
- void writelog(FILE *fp, unsigned char *ptr, int len)
- {
--  time_t  t;
--  char*s;
--  chartmp[8];
--  int olen = len;
--  int dosync = 0;
--  int tlen;
--
--  while (len  0) {
--  tmp[0] = 0;
--  if (didnl) {
-+  int dosync = 0;
-+  int i;
-+  static int first_run = 1;
-+
-+  for (i = 0; i  len; i++) {
-+  int ignore = 0;
-+
-+  /* prepend date to every line */
-+  if (*(ptr-1) == '\n' || first_run) {
-+  time_t t;
-+  char *s;
-   time(t);
-   s = ctime(t);
-   fprintf(fp, %.24s: , s);
--  didnl = 0;
-+  dosync = 1;
-+  first_run = 0;
-   }
--  switch (*ptr) {
--  case 27: /* ESC */
--  strcpy(tmp, ^[);
--  break;
--  case '\r':
--  line.pos = 0;
--  break;
--  case 8: /* ^H */
--  

[arch-commits] Commit in sysvinit/repos (18 files)

2012-09-01 Thread Tom Gundersen
Date: Saturday, September 1, 2012 @ 16:01:12
  Author: tomegun
Revision: 165862

db-move: moved sysvinit from [testing] to [core] (i686, x86_64)

Added:
  sysvinit/repos/core-i686/0001-simplify-writelog.patch
(from rev 165860, sysvinit/repos/testing-i686/0001-simplify-writelog.patch)
  sysvinit/repos/core-i686/0002-remove-ansi-escape-codes-from-log-file.patch
(from rev 165860, 
sysvinit/repos/testing-i686/0002-remove-ansi-escape-codes-from-log-file.patch)
  sysvinit/repos/core-i686/PKGBUILD
(from rev 165860, sysvinit/repos/testing-i686/PKGBUILD)
  sysvinit/repos/core-i686/sysvinit.install
(from rev 165860, sysvinit/repos/testing-i686/sysvinit.install)
  sysvinit/repos/core-x86_64/0001-simplify-writelog.patch
(from rev 165860, 
sysvinit/repos/testing-x86_64/0001-simplify-writelog.patch)
  sysvinit/repos/core-x86_64/0002-remove-ansi-escape-codes-from-log-file.patch
(from rev 165860, 
sysvinit/repos/testing-x86_64/0002-remove-ansi-escape-codes-from-log-file.patch)
  sysvinit/repos/core-x86_64/PKGBUILD
(from rev 165860, sysvinit/repos/testing-x86_64/PKGBUILD)
  sysvinit/repos/core-x86_64/sysvinit.install
(from rev 165860, sysvinit/repos/testing-x86_64/sysvinit.install)
Deleted:
  sysvinit/repos/core-i686/0001-simplify-writelog.patch
  sysvinit/repos/core-i686/0002-remove-ansi-escape-codes-from-log-file.patch
  sysvinit/repos/core-i686/PKGBUILD
  sysvinit/repos/core-i686/sysvinit.install
  sysvinit/repos/core-x86_64/0001-simplify-writelog.patch
  sysvinit/repos/core-x86_64/0002-remove-ansi-escape-codes-from-log-file.patch
  sysvinit/repos/core-x86_64/PKGBUILD
  sysvinit/repos/core-x86_64/sysvinit.install
  sysvinit/repos/testing-i686/
  sysvinit/repos/testing-x86_64/

---+
 core-i686/0001-simplify-writelog.patch|  252 +-
 core-i686/0002-remove-ansi-escape-codes-from-log-file.patch   |  160 +++---
 core-i686/PKGBUILD|  102 ++--
 core-i686/sysvinit.install|6 
 core-x86_64/0001-simplify-writelog.patch  |  252 +-
 core-x86_64/0002-remove-ansi-escape-codes-from-log-file.patch |  160 +++---
 core-x86_64/PKGBUILD  |  102 ++--
 core-x86_64/sysvinit.install  |6 
 8 files changed, 544 insertions(+), 496 deletions(-)

Deleted: core-i686/0001-simplify-writelog.patch
===
--- core-i686/0001-simplify-writelog.patch  2012-09-01 20:01:02 UTC (rev 
165861)
+++ core-i686/0001-simplify-writelog.patch  2012-09-01 20:01:12 UTC (rev 
165862)
@@ -1,126 +0,0 @@
-From 5577552eb1344ddd661893564b1e628f8edcf13d Mon Sep 17 00:00:00 2001
-From: Florian Pritz bluew...@xinu.at
-Date: Fri, 15 Jun 2012 16:41:52 +0200
-Subject: [PATCH 1/2] simplify writelog()
-
-All we do is prepend the date and remove \r. We don't handle color
-codes, but the user can just cat the log file in a terminal and it will
-interpret the codes correctly.
-
-Signed-off-by: Florian Pritz bluew...@xinu.at

- bootlogd.c |   76 +---
- 1 file changed, 21 insertions(+), 55 deletions(-)
-
-diff --git a/bootlogd.c b/bootlogd.c
-index 570d382..e36e261 100644
 a/bootlogd.c
-+++ b/bootlogd.c
-@@ -68,11 +68,6 @@ int didnl = 1;
- int createlogfile = 0;
- int syncalot = 0;
- 
--struct line {
--  char buf[256];
--  int pos;
--} line;
--
- /*
-  *Console devices as listed on the kernel command line and
-  *the mapping to actual devices in /dev
-@@ -351,63 +346,34 @@ int consolename(char *res, int rlen)
-  */
- void writelog(FILE *fp, unsigned char *ptr, int len)
- {
--  time_t  t;
--  char*s;
--  chartmp[8];
--  int olen = len;
--  int dosync = 0;
--  int tlen;
--
--  while (len  0) {
--  tmp[0] = 0;
--  if (didnl) {
-+  int dosync = 0;
-+  int i;
-+  static int first_run = 1;
-+
-+  for (i = 0; i  len; i++) {
-+  int ignore = 0;
-+
-+  /* prepend date to every line */
-+  if (*(ptr-1) == '\n' || first_run) {
-+  time_t t;
-+  char *s;
-   time(t);
-   s = ctime(t);
-   fprintf(fp, %.24s: , s);
--  didnl = 0;
-+  dosync = 1;
-+  first_run = 0;
-   }
--  switch (*ptr) {
--  case 27: /* ESC */
--  strcpy(tmp, ^[);
--  break;
--  case '\r':
--  line.pos = 0;
--  break;
--  case 8: /* ^H */
--