Commit Graph

22 Commits

Author SHA1 Message Date
landry
c4ea8f7c71 Update to slim 1.3.4.
- switch to cmake.
- add missing setusercontext() call in switchuser.cpp, now the ulimits
  are properly applied when logging in.
- add support for bsd_auth(3) through auth_userokay(3). Now allows to
  login via login_ldap/login_yubikey/etc...
- add support for consolekit, no need to do ck-launch-session in
  .xinitrc anymore.
- make consolekit support at runtime optional, ie don't badly bail out
  if systemwide dbus daemon is not running. Being discussed with
upstream.
parts based on a diff from 'johnw', ok ajacoutot@
2012-09-02 09:22:59 +00:00
sthen
91faa22c52 Where a program with an rc script _requires_ a certain command line
parameter to daemonize, move the parameter from daemon to daemon_flags,
so that the user cannot inadvertently prevent it from daemonizing by
adjusting the flags.

Discussed with ajacoutot and schwarze, this method was suggested
by schwarze@ as a simpler alternative to my diff. ok aja@
2011-12-17 22:01:12 +00:00
naddy
eed7c62887 Fix build with png-1.5.
All fixes by yours truly.
2011-07-08 20:38:00 +00:00
ajacoutot
f982995f2b Add a consistent header that substitutes FULLPKGNAME for the READMEs.
ok jasper@ sthen@
2011-06-02 13:41:36 +00:00
landry
94dd6c5e77 Drop MAINTAINER on various ports i don't use. 2011-03-24 22:01:08 +00:00
ajacoutot
564c909458 Remove now uneeded redirection. 2011-03-09 18:51:48 +00:00
landry
f080903359 Add an rc script for slim.
ok ajacoutot@ robert@
2011-01-17 14:57:38 +00:00
espie
e50b98837f new depends 2010-11-22 08:36:47 +00:00
jasper
1b4c4b3717 - switch to pkg-readmes
ok landry@
2010-11-11 09:27:14 +00:00
ajacoutot
ff07e285bc Remove USE_X11. 2010-10-24 20:58:58 +00:00
espie
8e072131b6 USE_GROFF=Yes 2010-10-19 08:13:56 +00:00
landry
03675d01db Update to slim 1.3.2, fixes a security issue (removes . from
default_path, sometimes inherited by some window managers)
ref: http://secunia.com/advisories/41005
Removes patches merged upstream. Amend MESSAGE to teach users
who modified slim.conf how to fix it there.
Prompted by and ok jasper@
2010-08-24 11:37:50 +00:00
ajacoutot
fd1cd0c58d Move move to new DEPENDS. 2010-07-30 08:02:59 +00:00
ajacoutot
127208401d First pass at new REVISION/DEPENDS... not finished yet. 2010-07-30 06:58:57 +00:00
armani
23c1e9460e Add a fix from Freebsd :
x11/slim, does not setlogin(). Some software use getlogin()
 to decide the user name, so when user is using slim as the
 login manager, those software would get wrong results, and
 some programs refuse to start

(Seen with opencvs some times ago, reminded by a discution
with zinovik and theo and setlogin hint from guenter)

ok maintainer & dcoppa@
2010-07-10 10:46:52 +00:00
landry
e9ec1693c7 Fix a nasty race condition/crash reported by 'goebbels@wp.pl' : when an
X session finishes, slim goes to restart X, but if the machine is being
halted, slim gets a SIGTERM, and the signal handler tries to kill the X
server without checking if is has been restarted yet. Boom.
While here, fix xauth path.
2009-11-05 19:05:12 +00:00
landry
b6a02eab6a Add a bunch of patches to fix CVE-2009-1756, also reported in debian bz
#529306 & FreeBSD PR134801 :
The security issue is caused by slim generating the X authority file
by passing the X authority cookie via the command line to "xauth".
This can be exploited to disclose the X authority cookie by consulting
the process list and e.g. gain access the user's display.
While here, use slightly better random seeding for cookie generation.

Patches adapted from the ones provided to debian/FreeBSD by Eygene Ryabinkin <rea@codelabs.ru>
2009-09-04 20:24:25 +00:00
pea
dd3c1972ee Upgrade to 1.3.1
Initial diff by me with tweaks by landry@ and ajacoutot@

OK landry@ ajacoutot@
2008-11-05 13:36:41 +00:00
espie
17d70806a3 tweak FAKE_FLAGS semantics to saner defaults. 2008-01-04 17:48:33 +00:00
landry
977cad4e9d Provide saner defaults for slim.conf, use sh -l instead of sh - to make it
read $HOME/.profile. Reported by Rodolfo Gouveia, thanks !

ok jasper@
2007-12-30 10:46:49 +00:00
landry
526c868956 Don't use MULTI_PACKAGES when it's not needed, requested by espie@.
With tweaks from steven@ and espie@, ok ajacoutot@ espie@.
2007-10-25 09:30:13 +00:00
landry
34bd294035 Import slim, a lightweight graphical login manager.
Additional themes availables in -themes subpackage.

Testing and feedback from kili@ and ajacoutot@, ok ajacoutot@ and jasper@
2007-10-24 23:32:00 +00:00