summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2012-03-27 17:02:05 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2012-03-27 17:02:05 +0200
commitc1e90da10c6cee0eb663b121f40e61ab65b3553f (patch)
tree2373828f2b6c52a53a6acdc7338140506a160c09
parent312019626227fdbe000ccf494053433df223fb6f (diff)
make xdm fly
-rw-r--r--package/pam/Makefile4
-rw-r--r--package/pam/files/pam.conf126
-rw-r--r--package/xconsole/Makefile24
-rw-r--r--package/xdm/Makefile2
-rw-r--r--package/xsm/Makefile30
5 files changed, 184 insertions, 2 deletions
diff --git a/package/pam/Makefile b/package/pam/Makefile
index 4e521a910..93169d848 100644
--- a/package/pam/Makefile
+++ b/package/pam/Makefile
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= pam
PKG_VERSION:= 1.1.4
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= ff8f3c4382b78ac211e11bcd56ab17bf
PKG_DESCR:= Pluggable Authentication Modules
PKG_BUILDDEP:= flex
@@ -29,7 +29,7 @@ pam-install:
$(INSTALL_DIR) $(IDIR_PAM)/lib/security
$(CP) $(WRKINST)/lib/libpam*.so* $(IDIR_PAM)/lib
$(CP) $(WRKINST)/lib/security/*.so* $(IDIR_PAM)/lib/security
- $(CP) $(WRKBUILD)/conf/pam.conf $(IDIR_PAM)/etc
+ $(CP) ./files/pam.conf $(IDIR_PAM)/etc
# /lib is not automatically installed to staging area
$(CP) $(WRKINST)/lib/libpam*.so* $(STAGING_DIR)/usr/lib
diff --git a/package/pam/files/pam.conf b/package/pam/files/pam.conf
new file mode 100644
index 000000000..51d08d172
--- /dev/null
+++ b/package/pam/files/pam.conf
@@ -0,0 +1,126 @@
+# ---------------------------------------------------------------------------#
+# /etc/pam.conf #
+# #
+# Last modified by Andrew G. Morgan <morgan@kernel.org> #
+# ---------------------------------------------------------------------------#
+# $Id$
+# ---------------------------------------------------------------------------#
+# serv. module ctrl module [path] ...[args..] #
+# name type flag #
+# ---------------------------------------------------------------------------#
+#
+# The PAM configuration file for the `chfn' service
+#
+chfn auth required pam_unix.so
+chfn account required pam_unix.so
+#chfn password required pam_cracklib.so retry=3
+chfn password required pam_unix.so shadow md5 use_authtok
+#
+# The PAM configuration file for the `chsh' service
+#
+chsh auth required pam_unix.so
+chsh account required pam_unix.so
+#chsh password required pam_cracklib.so retry=3
+chsh password required pam_unix.so shadow md5 use_authtok
+#
+# The PAM configuration file for the `ftp' service
+#
+ftp auth requisite pam_listfile.so \
+ item=user sense=deny file=/etc/ftpusers onerr=succeed
+ftp auth requisite pam_shells.so
+ftp auth required pam_unix.so
+ftp account required pam_unix.so
+#
+# The PAM configuration file for the `imap' service
+#
+imap auth required pam_unix.so
+imap account required pam_unix.so
+#
+# The PAM configuration file for the `login' service
+#
+#login auth requisite pam_securetty.so
+login auth required pam_unix.so
+login auth optional pam_group.so
+login account requisite pam_time.so
+login account required pam_unix.so
+#login password required pam_cracklib.so retry=3
+login password required pam_unix.so shadow md5 use_authtok
+login session required pam_unix.so
+#
+# The PAM configuration file for the `netatalk' service
+#
+netatalk auth required pam_unix.so
+netatalk account required pam_unix.so
+#
+# The PAM configuration file for the `other' service
+#
+other auth required pam_deny.so
+other auth required pam_warn.so
+other account required pam_deny.so
+other password required pam_deny.so
+other password required pam_warn.so
+other session required pam_deny.so
+#
+# The PAM configuration file for the `passwd' service
+#
+#passwd password requisite pam_cracklib.so retry=3
+passwd password required pam_unix.so shadow md5 use_authtok
+#
+# The PAM configuration file for the `rexec' service
+#
+rexec auth requisite pam_securetty.so
+rexec auth requisite pam_nologin.so
+rexec auth sufficient pam_rhosts_auth.so
+rexec auth required pam_unix.so
+rexec account required pam_unix.so
+rexec session required pam_unix.so
+rexec session required pam_limits.so
+#
+# The PAM configuration file for the `rlogin' service
+# this application passes control to `login' if it fails
+#
+rlogin auth requisite pam_securetty.so
+rlogin auth requisite pam_nologin.so
+rlogin auth required pam_rhosts_auth.so
+rlogin account required pam_unix.so
+#rlogin password required pam_cracklib.so retry=3
+rlogin password required pam_unix.so shadow md5 use_authtok
+rlogin session required pam_unix.so
+rlogin session required pam_limits.so
+#
+# The PAM configuration file for the `rsh' service
+#
+rsh auth requisite pam_securetty.so
+rsh auth requisite pam_nologin.so
+rsh auth sufficient pam_rhosts_auth.so
+rsh auth required pam_unix.so
+rsh account required pam_unix.so
+rsh session required pam_unix.so
+rsh session required pam_limits.so
+#
+# The PAM configuration file for the `samba' service
+#
+samba auth required pam_unix.so
+samba account required pam_unix.so
+#
+# The PAM configuration file for the `su' service
+#
+su auth required pam_wheel.so
+su auth sufficient pam_rootok.so
+su auth required pam_unix.so
+su account required pam_unix.so
+su session required pam_unix.so
+#
+# The PAM configuration file for the `vlock' service
+#
+vlock auth required pam_unix.so
+#
+# The PAM configuration file for the `xdm' service
+#
+xdm auth required pam_unix.so
+xdm account required pam_unix.so
+#
+# The PAM configuration file for the `xlock' service
+#
+xlock auth required pam_unix.so
+
diff --git a/package/xconsole/Makefile b/package/xconsole/Makefile
new file mode 100644
index 000000000..ee3e846f0
--- /dev/null
+++ b/package/xconsole/Makefile
@@ -0,0 +1,24 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= xconsole
+PKG_VERSION:= 1.0.4
+PKG_RELEASE:= 1
+PKG_MD5SUM:= c617acec432901a3c1a2b23b022624cb
+PKG_DESCR:= X console app
+PKG_SECTION:= x11/apps
+PKG_URL:= http://xorg.freedesktop.org/
+PKG_SITES:= ${MASTER_SITE_XORG}
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,XCONSOLE,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+post-install:
+ $(INSTALL_DIR) $(IDIR_XCONSOLE)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/xconsole \
+ $(IDIR_XCONSOLE)/usr/bin
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xdm/Makefile b/package/xdm/Makefile
index 2a1a38571..84d7b0fa8 100644
--- a/package/xdm/Makefile
+++ b/package/xdm/Makefile
@@ -9,6 +9,8 @@ PKG_RELEASE:= 1
PKG_MD5SUM:= aaf8c3d05d4a1e689d2d789c99a6023c
PKG_DESCR:= X display manager
PKG_SECTION:= x11/apps
+PKG_BUILDDEP:= pam
+PKG_DEPENDS:= xconsole pam xsm
PKG_URL:= http://xorg.freedesktop.org/
PKG_SITES:= ${MASTER_SITE_XORG}
diff --git a/package/xsm/Makefile b/package/xsm/Makefile
new file mode 100644
index 000000000..73602d44b
--- /dev/null
+++ b/package/xsm/Makefile
@@ -0,0 +1,30 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= xsm
+PKG_VERSION:= 1.0.2
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 6dfc70ae1c13f775f1c646a6d8780076
+PKG_DESCR:= X session manager
+PKG_SECTION:= x11/apps
+PKG_URL:= http://xorg.freedesktop.org/
+PKG_SITES:= ${MASTER_SITE_XORG}
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,XSM,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+post-install:
+ $(INSTALL_DIR) $(IDIR_XSM)/usr/lib/X11
+ $(CP) $(WRKINST)/usr/lib/X11/* \
+ $(IDIR_XSM)/usr/lib/X11
+ $(INSTALL_DIR) $(IDIR_XSM)/usr/share/X11
+ $(CP) $(WRKINST)/usr/share/X11/* \
+ $(IDIR_XSM)/usr/lib/X11
+ $(INSTALL_DIR) $(IDIR_XSM)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/xsm \
+ $(IDIR_XSM)/usr/bin
+
+include ${TOPDIR}/mk/pkg-bottom.mk