* [gentoo-commits] repo/gentoo:master commit in: x11-misc/wdm/files/, x11-misc/wdm/
@ 2017-02-06 22:47 David Seifert
0 siblings, 0 replies; 3+ messages in thread
From: David Seifert @ 2017-02-06 22:47 UTC (permalink / raw
To: gentoo-commits
commit: 66f40d18791d88eb217202c73e836167bc3891c7
Author: Harri Nieminen <moikkis <AT> gmail <DOT> com>
AuthorDate: Mon Feb 6 17:10:02 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Feb 6 22:46:53 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66f40d18
x11-misc/wdm: EAPI bump 2 -> 6, fix #554672
Fixes following QA issue, Gentoo-bug: #554672
QA Notice: This ebuild installs into paths that should be created at runtime.
To fix, simply do not install into these directories. Instead, your package
should create dirs on the fly at runtime as needed via init scripts/etc...
var/run
var/run/wdm
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/3852
x11-misc/wdm/files/wdm-1.28-remove-fakehome.patch | 12 ++++++
x11-misc/wdm/files/wdm-1.28-terminateServer.patch | 6 +--
x11-misc/wdm/wdm-1.28-r4.ebuild | 46 +++++++++++++++++++++++
3 files changed, 61 insertions(+), 3 deletions(-)
diff --git a/x11-misc/wdm/files/wdm-1.28-remove-fakehome.patch b/x11-misc/wdm/files/wdm-1.28-remove-fakehome.patch
new file mode 100644
index 00000000..00f1dd1
--- /dev/null
+++ b/x11-misc/wdm/files/wdm-1.28-remove-fakehome.patch
@@ -0,0 +1,12 @@
+Do not create /var/run/wdm
+Fixes https://bugs.gentoo.org/554672
+--- a/Makefile.in 2005-03-26 15:57:04.000000000 +0200
++++ b/Makefile.in 2017-02-06 18:57:16.196004491 +0200
+@@ -83,7 +83,6 @@
+ all-config: configs/Xclients configs/Xservers configs/Xservers.ws configs/Xsession configs/Xsetup_0 configs/wdm-config configs/wdmReconfig
+
+ install-config: $(DESTDIR)$(DMDIR)/GiveConsole $(DESTDIR)$(DMDIR)/TakeConsole $(DESTDIR)$(DMDIR)/Xaccess $(DESTDIR)$(DMDIR)/Xresources $(DESTDIR)$(DMDIR)/Xservers.fs $(DESTDIR)$(DMDIR)/Xsession.XFree86 $(DESTDIR)$(DMDIR)/Xsession.orig $(DESTDIR)$(DMDIR)/Xclients $(DESTDIR)$(DMDIR)/Xservers $(DESTDIR)$(DMDIR)/Xservers.ws $(DESTDIR)$(DMDIR)/Xsession $(DESTDIR)$(DMDIR)/Xsetup_0 $(DESTDIR)$(DMDIR)/wdm-config $(DESTDIR)$(DMDIR)/wdmReconfig $(DESTDIR)$(DMDIR)/wdm-config.in $(DESTDIR)$(DMDIR)/Xclients.in install-pam-$(USE_PAM) $(DESTDIR)$(DMDIR)/authdir
+- install -d -m 0700 $(DESTDIR)$(FAKEHOME)
+
+ install-pam-no:
+
diff --git a/x11-misc/wdm/files/wdm-1.28-terminateServer.patch b/x11-misc/wdm/files/wdm-1.28-terminateServer.patch
index 3e167bd..827357c 100644
--- a/x11-misc/wdm/files/wdm-1.28-terminateServer.patch
+++ b/x11-misc/wdm/files/wdm-1.28-terminateServer.patch
@@ -1,7 +1,7 @@
-http://bugs.gentoo.org/290034
+https://bugs.gentoo.org/290034
---- configs/wdm-config.in
-+++ configs/wdm-config.in
+--- a/configs/wdm-config.in
++++ b/configs/wdm-config.in
@@ -21,6 +21,7 @@
DisplayManager*session: @DMDIR@/Xsession
DisplayManager*authComplain: false
diff --git a/x11-misc/wdm/wdm-1.28-r4.ebuild b/x11-misc/wdm/wdm-1.28-r4.ebuild
new file mode 100644
index 00000000..b0fb0bb
--- /dev/null
+++ b/x11-misc/wdm/wdm-1.28-r4.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit pam
+
+DESCRIPTION="WINGs Display Manager"
+HOMEPAGE="https://github.com/voins/wdm"
+SRC_URI="http://voins.program.ru/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="pam selinux truetype"
+
+COMMON_DEPEND=">=x11-wm/windowmaker-0.70.0
+ truetype? ( x11-libs/libXft )
+ x11-libs/libXmu
+ x11-libs/libXt
+ x11-libs/libXpm
+ pam? ( virtual/pam )"
+DEPEND="${COMMON_DEPEND}
+ sys-devel/gettext"
+RDEPEND="${COMMON_DEPEND}
+ pam? ( >=sys-auth/pambase-20080219.1 )"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-terminateServer.patch
+ "${FILESDIR}"/${P}-remove-fakehome.patch
+)
+
+src_configure() {
+ econf \
+ --with-wdmdir="${EPREFIX}"/etc/X11/wdm \
+ $(use_enable pam) \
+ $(use_enable selinux)
+}
+
+src_install() {
+ default
+
+ rm -f "${ED%/}"/etc/pam.d/wdm || die
+ pamd_mimic system-local-login wdm auth account password session
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: x11-misc/wdm/files/, x11-misc/wdm/
@ 2019-01-17 12:28 Jeroen Roovers
0 siblings, 0 replies; 3+ messages in thread
From: Jeroen Roovers @ 2019-01-17 12:28 UTC (permalink / raw
To: gentoo-commits
commit: 2defd4db4843cdace6f75c6c641ff8577c07d1c0
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 17 12:28:03 2019 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Thu Jan 17 12:28:10 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2defd4db
x11-misc/wdm: Add missing patch for AR
Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
x11-misc/wdm/files/wdm-1.28-ar.patch | 20 ++++++++++++++++++++
x11-misc/wdm/wdm-1.28-r5.ebuild | 1 +
2 files changed, 21 insertions(+)
diff --git a/x11-misc/wdm/files/wdm-1.28-ar.patch b/x11-misc/wdm/files/wdm-1.28-ar.patch
new file mode 100644
index 00000000000..f4783061b1c
--- /dev/null
+++ b/x11-misc/wdm/files/wdm-1.28-ar.patch
@@ -0,0 +1,20 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -26,7 +26,7 @@
+ xgettext = @XGETTEXT@
+ msgfmt = @MSGFMT@
+ ranlib = @RANLIB@
+-ar = ar
++AR ?= ar
+
+ cc = $(CC)
+ cflags = $(CPPFLAGS) $(CFLAGS) $(DEFS) -I./include
+@@ -249,7 +249,7 @@
+
+ bin/libwdm.a: src/libwdm/debug.o src/libwdm/environment.o src/libwdm/names.o src/libwdm/plcheckers.o
+ mkdir -p bin
+- $(ar) cru bin/libwdm.a src/libwdm/debug.o src/libwdm/environment.o src/libwdm/names.o src/libwdm/plcheckers.o
++ $(AR) cru bin/libwdm.a src/libwdm/debug.o src/libwdm/environment.o src/libwdm/names.o src/libwdm/plcheckers.o
+ $(ranlib) bin/libwdm.a
+
+ $(DESTDIR)$(MANDIR)/man1/wdmLogin.1: doc/wdmLogin.man
diff --git a/x11-misc/wdm/wdm-1.28-r5.ebuild b/x11-misc/wdm/wdm-1.28-r5.ebuild
index a5fe21ae25c..9a7b26373b7 100644
--- a/x11-misc/wdm/wdm-1.28-r5.ebuild
+++ b/x11-misc/wdm/wdm-1.28-r5.ebuild
@@ -34,6 +34,7 @@ PATCHES=(
"${FILESDIR}"/${P}-terminateServer.patch
"${FILESDIR}"/${P}-remove-fakehome.patch
"${FILESDIR}"/${P}-pkg_config.patch
+ "${FILESDIR}"/${P}-ar.patch
)
src_prepare() {
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: x11-misc/wdm/files/, x11-misc/wdm/
@ 2023-05-29 12:39 Joonas Niilola
0 siblings, 0 replies; 3+ messages in thread
From: Joonas Niilola @ 2023-05-29 12:39 UTC (permalink / raw
To: gentoo-commits
commit: 1306b7c1abd59d1e60fc797cddd165919bac796c
Author: Brahmajit Das <brahmajit.xyz <AT> gmail <DOT> com>
AuthorDate: Sun May 28 14:37:50 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon May 29 12:37:30 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1306b7c1
x11-misc/wdm: Replace sigsetmask with posix compliant functions
Closes: https://bugs.gentoo.org/898892
Signed-off-by: Brahmajit Das <brahmajit.xyz <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/31203
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
.../wdm/files/wdm-1.28-remove-sigsetmask.patch | 15 ++++++
x11-misc/wdm/wdm-1.28-r9.ebuild | 62 ++++++++++++++++++++++
2 files changed, 77 insertions(+)
diff --git a/x11-misc/wdm/files/wdm-1.28-remove-sigsetmask.patch b/x11-misc/wdm/files/wdm-1.28-remove-sigsetmask.patch
new file mode 100644
index 000000000000..f76db846e597
--- /dev/null
+++ b/x11-misc/wdm/files/wdm-1.28-remove-sigsetmask.patch
@@ -0,0 +1,15 @@
+Please reffer https://www.openembedded.org/pipermail/openembedded-core/2011-July/044923.html
+--- a/src/wdm/util.c
++++ b/src/wdm/util.c
+@@ -113,8 +113,10 @@ CleanUpChild (void)
+ #ifdef CSRG_BASED
+ setsid();
+ #else
++ sigset_t sigmask;
+ setpgid (0, getpid ());
+- sigsetmask (0);
++ sigemptyset(&sigmask);
++ sigprocmask(SIG_SETMASK, &sigmask, NULL);
+ #endif
+ #ifdef SIGCHLD
+ (void) Signal (SIGCHLD, SIG_DFL);
diff --git a/x11-misc/wdm/wdm-1.28-r9.ebuild b/x11-misc/wdm/wdm-1.28-r9.ebuild
new file mode 100644
index 000000000000..499a7d495ad1
--- /dev/null
+++ b/x11-misc/wdm/wdm-1.28-r9.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools pam toolchain-funcs
+
+DESCRIPTION="WINGs Display Manager"
+HOMEPAGE="https://github.com/voins/wdm"
+SRC_URI="http://voins.program.ru/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="pam selinux truetype"
+
+DEPEND="
+ virtual/libcrypt:=
+ >=x11-wm/windowmaker-0.70.0
+ x11-libs/libXmu
+ x11-libs/libXpm
+ x11-libs/libXt
+ pam? ( sys-libs/pam )
+ truetype? ( x11-libs/libXft )
+"
+RDEPEND="${DEPEND}
+ pam? ( >=sys-auth/pambase-20080219.1 )
+"
+BDEPEND="
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-terminateServer.patch
+ "${FILESDIR}"/${P}-remove-fakehome.patch
+ "${FILESDIR}"/${P}-remove-sigsetmask.patch
+ "${FILESDIR}"/${P}-pkg_config.patch
+ "${FILESDIR}"/${P}-ar.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+src_configure() {
+ tc-export AR
+ econf \
+ --with-wdmdir="${EPREFIX}"/etc/X11/wdm \
+ $(use_enable pam) \
+ $(use_enable selinux)
+}
+
+src_install() {
+ default
+
+ rm -f "${ED}"/etc/pam.d/wdm || die
+
+ if use pam; then
+ pamd_mimic system-local-login wdm auth account password session
+ fi
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-05-29 12:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-17 12:28 [gentoo-commits] repo/gentoo:master commit in: x11-misc/wdm/files/, x11-misc/wdm/ Jeroen Roovers
-- strict thread matches above, loose matches on Subject: below --
2023-05-29 12:39 Joonas Niilola
2017-02-06 22:47 David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox