From steffen at sdaoden.eu Mon Mar 18 17:43:00 2019 From: steffen at sdaoden.eu (Steffen Nurpmeso) Date: Mon, 18 Mar 2019 18:43:00 +0100 Subject: [crux-contrib] Your message to crux-contrib awaits moderator approval (Was: S-S-D update) In-Reply-To: References: Message-ID: <20190318174300.MGUnK%steffen@sdaoden.eu> Hello! And a s....y monday, on which my beautiful Air book died, now German key layout, what a thrill, damn. Just want to ask, i am hanging in the moderator queue for over a week with the S-S-D update crux-contrib-owner at lists.crux.nu wrote in : |Your mail to 'crux-contrib' with the subject | | S-S-D update | |Is being held until the list moderator can review it for approval. | |The reason it is being held: | | Message body is too big: 88589 bytes with a limit of 40 KB could someone please have a look? Ciao, --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt) From steffen at sdaoden.eu Sun Mar 10 01:14:53 2019 From: steffen at sdaoden.eu (Steffen Nurpmeso) Date: Sun, 10 Mar 2019 02:14:53 +0100 Subject: [crux-contrib] S-S-D update Message-ID: <20190310011453.Qwltf%steffen@sdaoden.eu> Hello hello on a late German Saturday night, (how dead am i if am working right now, pfffffh...) as addressed with J?rgen please find attached a "git am" update to Debian S-S-D as of today. Debian adds support for systemd notifications, which i disabled (with easily adjustable macro switch). Maybe, the only good thing of systemd in my opinion, but having daemons provide proper feedback to a supervisor would also be an option, and portable. Anyway. (I for one still cannot understand why no daemon simply provides a hook in equal and better spirit to Zoulas's of NetBSD blacklistd: i will never understand why i have to parse a log file to relearn things expensively that the daemon readily knew when writing the log entry. But i have to be silent, really...) Also, they discovered security threats regarding --pidfile (see the latest commit message in the attached patchset). This would not work out with how CRUX does it, and i am in favour of even thinking that the S-S-D code in question is too strict. I.e., the exim pidfile is root:mail, and 0644 (iirc), and this will be refused as a security threat. I think this is too strict, 0664 i would understand, but why should the group not be able to read the file? So this i have changed, for CRUX. Maybe someone with better social skills could even ask or report this upstream. Ciao, and thanks for all the efforts! Looking out for 3.5!!! (P.S.: how about throwing out exim and adding DMA to the default install? Don't mind...) --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt) -------------- next part -------------- A non-text attachment was scrubbed... Name: crux-s-s-d.mbox Type: application/mbox Size: 64289 bytes Desc: not available URL: From akosela at andykosela.com Mon Mar 25 06:20:17 2019 From: akosela at andykosela.com (Andy Kosela) Date: Mon, 25 Mar 2019 01:20:17 -0500 Subject: [crux-contrib] [PATCH] gpm: fix build Message-ID: <20190325062017.59fMJ%akosela@andykosela.com> --- Hi contrib@, Currently contrib/gpm is broken. This patch fixes it. --Andy --- gpm/.signature | 3 ++- gpm/Pkgfile | 3 ++- gpm/gpm-1.20.6-fix-build.patch | 23 +++++++++++++++++++++++ 3 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 gpm/gpm-1.20.6-fix-build.patch diff --git a/gpm/.signature b/gpm/.signature index e89e6480..b5cb324d 100644 --- a/gpm/.signature +++ b/gpm/.signature @@ -1,9 +1,10 @@ untrusted comment: verify with /etc/ports/contrib.pub RWSagIOpLGJF3wBAaqKFOIfcCvPH4H3Lg0XW8YxWqcK6xuyhz/q0eTjYy26bzMnDIzT1dmFzdRmfVnl4M6c5hqJQqywC3EsL0gU= -SHA256 (Pkgfile) = 1197279c16bf717cf0e355c6142adc2e12551bbb3f84afeaf8c6a7065bc19717 +SHA256 (Pkgfile) = c3a35eaa57c570def71e3d0c7f3e63d335b72bb78f569b3c48f74262bbee8b7d SHA256 (.footprint) = 34b0a0b8cabb2b936e9834d858599e6de8a953969393e04776dd43f00023d4ad SHA256 (gpm-1.20.6.tar.bz2) = 08b2c395ffbb9dbc3d144d23e20a42ca57d08ef5a354decb7bc8fed6528820a5 SHA256 (gpm-1.20.5-nodebug.patch) = 1484cc85e7e049bba9a90c40ad831c549661ecd381bcae074e4e4a0698ce2934 SHA256 (gpm-1.20.5-no-dumb-error-messages.patch) = b00bafe3759346c88426400ead9d0c72320714c4034353a065b78891f6304b7d SHA256 (gpm-1.20.5-make-install-fixes.patch) = cbfed192c7abaae00de6b80c9f385bef22e6bf1ba95f6c63f5a16aef5ad853c7 +SHA256 (gpm-1.20.6-fix-build.patch) = 0ddf975585cbfe415a4c0baa0f4dc796e022c50d7145cdce256ffb0c6c0c9097 SHA256 (gpm.rc) = c6e7824b8178323cd3d949fe1658ddfac908b0b0ab1bd6e082707c41b10a61a6 diff --git a/gpm/Pkgfile b/gpm/Pkgfile index 2aedc87d..f0f47b56 100644 --- a/gpm/Pkgfile +++ b/gpm/Pkgfile @@ -10,6 +10,7 @@ source=(https://nico.schottelius.org/software/gpm/archives/gpm-$version.tar.bz2 gpm-1.20.5-nodebug.patch gpm-1.20.5-no-dumb-error-messages.patch gpm-1.20.5-make-install-fixes.patch + gpm-1.20.6-fix-build.patch gpm.rc) build() { @@ -18,6 +19,7 @@ build() { patch -p 1 -i $SRC/gpm-1.20.5-nodebug.patch patch -p 1 -i $SRC/gpm-1.20.5-no-dumb-error-messages.patch patch -p 1 -i $SRC/gpm-1.20.5-make-install-fixes.patch + patch -p 1 -i $SRC/gpm-1.20.6-fix-build.patch ./configure \ --prefix=/usr \ @@ -33,4 +35,3 @@ build() { rmdir $PKG/usr/etc rmdir $PKG/usr/share } - diff --git a/gpm/gpm-1.20.6-fix-build.patch b/gpm/gpm-1.20.6-fix-build.patch new file mode 100644 index 00000000..031b9699 --- /dev/null +++ b/gpm/gpm-1.20.6-fix-build.patch @@ -0,0 +1,23 @@ +diff -ruN gpm-1.20.6.orig/src/daemon/open_console.c gpm-1.20.6/src/daemon/open_console.c +--- gpm-1.20.6.orig/src/daemon/open_console.c 2019-03-25 00:15:17.739549170 -0500 ++++ gpm-1.20.6/src/daemon/open_console.c 2019-03-25 00:16:26.372880871 -0500 +@@ -21,6 +21,7 @@ + + #include /* open and co. */ + #include /* stat() */ ++#include /* major() */ + #include /* ioctl */ + + /* Linux specific (to be outsourced in gpm2 */ +diff -ruN gpm-1.20.6.orig/src/prog/gpm-root.y gpm-1.20.6/src/prog/gpm-root.y +--- gpm-1.20.6.orig/src/prog/gpm-root.y 2019-03-25 00:15:17.749549171 -0500 ++++ gpm-1.20.6/src/prog/gpm-root.y 2019-03-25 00:17:52.039545503 -0500 +@@ -1197,7 +1197,7 @@ + /* reap your zombies */ + childaction.sa_handler=reap_children; + #if defined(__GLIBC__) +- __sigemptyset(&childaction.sa_mask); ++ sigemptyset(&childaction.sa_mask); + #else /* __GLIBC__ */ + childaction.sa_mask=0; + #endif /* __GLIBC__ */ -- 2.20.1