Sophie

Sophie

distrib > Mageia > 6 > i586 > media > core-release-src > by-pkgid > 73edf512a504638ad0d2c1999857aa05 > files > 7

xdm-1.1.11-16.mga6.src.rpm

%define 	xdm_libdir	%{_datadir}/X11/xdm
Name:		xdm
Version: 	1.1.11
Release: 	%mkrel 16
Summary: 	X Display Manager with support for XDMCP
Group: 		System/X11
URL: 		http://xorg.freedesktop.org
Source: 	http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
Source1: 	xdm.pamd
Patch4: 	0004-Support-kdm-extended-syntax-to-reserve-a-server-for.patch
Patch5:		xdm-service.patch
Patch6:		xdm-1.1.11-libbsd.patch
Patch100:	xdm-1.1.11-CVE-2013-2179.patch

License: 	MIT

BuildRequires: 	libx11-devel >= 1.0.0
BuildRequires: 	libxau-devel >= 1.0.0
BuildRequires: 	libxdmcp-devel >= 1.0.0
BuildRequires: 	libxmu-devel >= 1.0.0
BuildRequires: 	libxt-devel >= 1.0.0
BuildRequires: 	libxaw-devel >= 1.0.1
BuildRequires: 	x11-util-macros >= 1.3.0
BuildRequires: 	libpam-devel
Requires: 	xinitrc > 2.4.19-9
Requires: 	xrdb
Requires: 	sessreg
Requires(post):  rpm-helper >= 0.24.8-1
Requires(preun): rpm-helper >= 0.24.8-1
Conflicts:	xorg-x11 < 7.0
Provides:	dm

%description
Xdm manages a collection of X displays, which may be on the local host or
remote servers. The design of xdm was guided by the needs of X terminals as
well as The Open Group standard XDMCP, the X Display Manager Control Protocol.
Xdm provides services similar to those provided by init, getty and login on
character terminals: prompting for login name and password, authenticating the
user, and running a session.

%prep
%setup -q
%autopatch -p1

%build
# patch 6 requires autoreconf
autoreconf -v --install
%configure2_5x	\
	--with-xdmlibdir=%{xdm_libdir} \
	--enable-xdmshell \
	--with-pam \
	--with-systemdsystemunitdir=%{_unitdir}

%make

%install
%makeinstall_std

LC_ALL=C
LANG=C
export LC_ALL LANG

# remove files that are in xinitrc
rm -rf %{buildroot}%{xdm_libdir}/{[A-Z]*,xdm-config}

# remove unused devel files
rm -rf %{buildroot}%{xdm_libdir}/*.{a,la}

# install PAM file
mkdir -p %{buildroot}%{_sysconfdir}/pam.d
install -m 644 %{_sourcedir}/xdm.pamd %{buildroot}/etc/pam.d/xdm

install -d %{buildroot}/var/lib/xdm
ln -sf /var/lib/xdm %{buildroot}%{xdm_libdir}/authdir

# logrotate
mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d
cat << EOF > %{buildroot}%{_sysconfdir}/logrotate.d/xdm
/var/log/xdm-error.log {
    notifempty
    missingok
    nocompress
}
EOF

%files
%config(noreplace) %{_sysconfdir}/pam.d/xdm
%config(noreplace) %{_sysconfdir}/logrotate.d/xdm
%dir /var/lib/xdm
%{_bindir}/xdm
%{_bindir}/xdmshell
%{_mandir}/man1/xdm*.*
%{xdm_libdir}/*
%{_datadir}/X11/app-defaults/Chooser
%{_unitdir}/xdm.service


%changelog
* Sat May 06 2017 luigiwalser <luigiwalser> 1.1.11-16.mga6
+ Revision: 1099311
- fix compilation when libbsd is used

* Mon Feb 08 2016 umeabot <umeabot> 1.1.11-15.mga6
+ Revision: 947773
- Mageia 6 Mass Rebuild

* Wed Oct 15 2014 umeabot <umeabot> 1.1.11-14.mga5
+ Revision: 743285
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 1.1.11-13.mga5
+ Revision: 690582
- Mageia 5 Mass Rebuild

* Mon Aug 04 2014 neoclust <neoclust> 1.1.11-12.mga5
+ Revision: 659565
- Fix service file

* Sat Oct 19 2013 umeabot <umeabot> 1.1.11-11.mga4
+ Revision: 534378
- Mageia 4 Mass Rebuild

* Wed Sep 11 2013 fwang <fwang> 1.1.11-10.mga4
+ Revision: 477462
- consolekit does not exist any more

* Wed Jul 03 2013 luigiwalser <luigiwalser> 1.1.11-9.mga4
+ Revision: 449823
- add upstream patch to fix CVE-2013-2179

* Fri Feb 08 2013 luigiwalser <luigiwalser> 1.1.11-8.mga3
+ Revision: 397227
- remove obsolete pre script

* Mon Jan 14 2013 umeabot <umeabot> 1.1.11-7.mga3
+ Revision: 386717
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Tue Dec 04 2012 dams <dams> 1.1.11-6.mga3
+ Revision: 326414
- fix BR (remove consolekit)

* Sat Apr 28 2012 tmb <tmb> 1.1.11-5.mga2
+ Revision: 233909
- Require rpm-helper >= 0.24.8-1 for systemd support

* Thu Apr 19 2012 rtp <rtp> 1.1.11-4.mga2
+ Revision: 231807
- Fix patches 6 & 7

* Wed Feb 29 2012 dams <dams> 1.1.11-3.mga2
+ Revision: 216185
- Add 'Provides: dm' (bug #4532)

* Fri Feb 24 2012 dmorgan <dmorgan> 1.1.11-2.mga2
+ Revision: 214157
- Enable systemd support

* Fri Feb 24 2012 dams <dams> 1.1.11-1.mga2
+ Revision: 214070
- rediffed patches 0004 and 0006
- new version 1.1.11

* Sat Jan 28 2012 fwang <fwang> 1.1.10-3.mga2
+ Revision: 202542
- fix linkage

* Thu Mar 10 2011 ahmad <ahmad> 1.1.10-3.mga1
+ Revision: 67295
- imported package xdm


* Sat Dec 04 2010 Oden Eriksson <oeriksson@mandriva.com> 1.1.10-2mdv2011.0
+ Revision: 608199
- rebuild

* Mon Apr 12 2010 Paulo Ricardo Zanoni <pzanoni@mandriva.com> 1.1.10-1mdv2010.1
+ Revision: 533690
- New version: 1.1.10
- Rename console-kit patch

* Mon Apr 05 2010 Paulo Ricardo Zanoni <pzanoni@mandriva.com> 1.1.9-1mdv2010.1
+ Revision: 531812
- New version: 1.1.9
- Call autoreconf (needed by consolekit patch) and BR x11-util-macros
- Temporarily disable patch 5 since it's undocumented and looks suspicious

* Wed Mar 17 2010 Oden Eriksson <oeriksson@mandriva.com> 1.1.8-5mdv2010.1
+ Revision: 524423
- rebuilt for 2010.1

* Fri Oct 02 2009 Thierry Vignaud <tv@mandriva.org> 1.1.8-4mdv2010.0
+ Revision: 452589
- source 1: use pam_namespace for xguest

* Sat Mar 07 2009 Antoine Ginies <aginies@mandriva.com> 1.1.8-3mdv2009.1
+ Revision: 351203
- rebuild

* Thu Aug 07 2008 Thierry Vignaud <tv@mandriva.org> 1.1.8-2mdv2009.0
+ Revision: 266078
- rebuild early 2009.0 package (before pixel changes)

* Fri May 23 2008 Paulo Andrade <pcpa@mandriva.com.br> 1.1.8-1mdv2009.0
+ Revision: 210730
- o Update to version 1.1.8
  o Don't create a symlink from /usr/lib/X11 to /etc/X11, neither be the
  owner of that symlink.
  o Modify requires of xinitrc to versioned.

* Mon Apr 14 2008 Thierry Vignaud <tv@mandriva.org> 1.1.7-1mdv2009.0
+ Revision: 193164
- adjust file list
- new release

* Tue Feb 12 2008 Paulo Andrade <pcpa@mandriva.com.br> 1.1.6-6mdv2008.1
+ Revision: 166484
- Revert to use upstream tarball, build requires and remove non mandatory local patches.

* Mon Jan 21 2008 Paulo Andrade <pcpa@mandriva.com.br> 1.1.6-5mdv2008.1
+ Revision: 155923
- Add xdm patches to git repository, update build requires and resubmit.
- Check range and correct format string.

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

  + Thierry Vignaud <tv@mandriva.org>
    - kill re-definition of %%buildroot on Pixel's request

* Thu Sep 13 2007 Paulo Andrade <pcpa@mandriva.com.br> 1.1.6-4mdv2008.0
+ Revision: 85182
- Increase release and add change commented in previous commit, but that ended
  not being added when merging the 2 ConsoleKit related patches.
- Merge changes to only one patch (fix a close instead of close) and should also
  implement the only feature left missing from the Kdm patch, that is the remote
  server name in case of non local connection.
  If there are no bugs associated with proper setting the XDG_SESSION_COOKIE
  environment variable, it should be as functional to ConsoleKit as Kdm.
- Err, it really isn't either %%d or %%x, but %%d should work correctly for the first
  99 virtual terminals.

* Thu Sep 13 2007 Paulo Andrade <pcpa@mandriva.com.br> 1.1.6-3mdv2008.0
+ Revision: 85138
- Add a X Server 'tty' detection code to provide the proper 'x11-display-device'
  field to dbus.

* Wed Sep 12 2007 Paulo Andrade <pcpa@mandriva.com.br> 1.1.6-2mdv2008.0
+ Revision: 84808
- First release with KDM's ConsoleKit path adpated to XDM.

* Fri Aug 17 2007 Thierry Vignaud <tv@mandriva.org> 1.1.6-1mdv2008.0
+ Revision: 64747
- new release

* Fri Aug 10 2007 Thierry Vignaud <tv@mandriva.org> 1.1.5-1mdv2008.0
+ Revision: 61657
- fix man extension
- new release


* Thu Feb 15 2007 Thierry Vignaud <tvignaud@mandriva.com> 1.1.4-1mdv2007.0
+ Revision: 121448
- new release

* Tue Feb 06 2007 Gustavo Pichorim Boiko <boiko@mandriva.com> 1.1.3-1mdv2007.1
+ Revision: 116787
- new upstream version: 1.1.3

* Thu Dec 14 2006 Thierry Vignaud <tvignaud@mandriva.com> 1.1.2-1mdv2007.1
+ Revision: 97066
- new release

* Tue Nov 21 2006 Thierry Vignaud <tvignaud@mandriva.com> 1.1.1-1mdv2007.1
+ Revision: 85959
- new release

* Tue Aug 29 2006 Gustavo Pichorim Boiko <boiko@mandriva.com> 1.0.5-5mdv2007.0
+ Revision: 58564
- fix the upgrade in cases where /usr/lib/X11/xdm/authdir is a
  directory (#24774)

* Tue Aug 15 2006 Pixel <pixel@mandriva.com> 1.0.5-4mdv2007.0
+ Revision: 56059
- fix group
- make /etc/X11/xdm/xdm-config accessible
- add requires sessreg (used by GiveConsole and TakeConsole)
- restore authdir symlink to /var/lib/xdm (otherwise xdm writes temp stuff in /usr)

  + Gustavo Pichorim Boiko <boiko@mandriva.com>
    - pam_stack is deprecated. Fixed the xdm.pamd file
    - enable missing pam support

* Sat Jun 24 2006 Gustavo Pichorim Boiko <boiko@mandriva.com> 1.0.5-1mdv2007.0
+ Revision: 37943
- new upstream release (1.0.5):
  * setuid return value check fix
- adding xdm.pamd to the sources list
- add pam and logrotate files (Closes #22589)
- added patch: Support kdm extended syntax to reserve a server for future use
  but do nothing
- added patch: Initialize the greeter only after checking if the the required
  steps are ok
- rebuild to fix cooker uploading
- X11R7.1
- increment release
- Adding X.org 7.0 to the repository

  + Andreas Hasenack <andreas@mandriva.com>
    - renamed mdv to packages because mdv is too generic and it's hosting only packages anyway

  + Thierry Vignaud <tvignaud@mandriva.com>
    - fill in more missing descriptions

  + Pixel <pixel@mandriva.com>
    - we need libXdmGreet.so