freebsd-ports/x11/slim/pkg-plist
Michael Scheidell bbeaeb902b - Enable PAM in slim (OPTION on by default)
- Install pam config file for "slim".
- Patch app.cpp to allow rebooting without login
- Modify rc.d script to start after hal
- Bump PORTREVISION

PR:		ports/168841
Reported by:	Volodymyr Kostyrko <c.kworr@gmail.com>
Approved by:	Henry Hu <henry.hu.sh@gmail.com> (maintainer)
Obtained from:	http://www.freebsd.org/cgi/query-pr.cgi?pr=152236
2012-07-04 21:53:36 +00:00

16 lines
744 B
Text

bin/slim
%%DATADIR%%/themes/default/background.jpg
%%DATADIR%%/themes/default/panel.png
%%DATADIR%%/themes/default/slim.theme
@dirrm %%DATADIR%%/themes/default
@dirrmtry %%DATADIR%%/themes
@dirrmtry %%DATADIR%%
@unexec if cmp -s %D/etc/slim.conf.sample %D/etc/slim.conf; then rm -f %D/etc/slim.conf; fi
etc/slim.conf.sample
@exec if [ ! -f %D/etc/slim.conf ] ; then cp -p %D/%F %B/slim.conf; fi
%%PAM%%@unexec if cmp -s %D/etc/pam.d/slim.default %D/etc/pam.d/slim; then rm -f %D/etc/pam.d/slim ; fi
%%PAM%%etc/pam.d/slim.default
%%PAM%%@exec if [ ! -f %D/etc/pam.d/slim ] ; then cp -p %D/%F %B/slim; fi
@exec /bin/rm -f %D/share/man/man1/slim.1
@exec rmdir "%D/share/man/man1" 2>/dev/null || true
@exec rmdir "%D/share/man" 2>/dev/null || true