Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Elisamuel Resto (068189f0b01472839c7d5c830f8ab36ee420de28)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Elisamuel Resto <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Elisamuel Resto (068189f0b01472839c7d5c830f8ab36ee420de28)
  • Date: Sat, 12 Jan 2008 11:42:53 -0600

GIT changes to master grimoire by Elisamuel Resto <ryuji AT sourcemage.org>:

ChangeLog | 3 +++
wm-addons/alock/BUILD | 9 +++++++++
wm-addons/alock/CONFIGURE | 5 +++++
wm-addons/alock/DEPENDS | 34 ++++++++++++++++++++++++++++++++++
wm-addons/alock/DETAILS | 18 ++++++++++++++++++
wm-addons/alock/HISTORY | 3 +++
wm-addons/alock/INSTALL | 5 +++++
7 files changed, 77 insertions(+)

New commits:
commit 068189f0b01472839c7d5c830f8ab36ee420de28
Author: Elisamuel Resto <ryuji AT sourcemage.org>
Commit: Elisamuel Resto <ryuji AT sourcemage.org>

wm-addons/alock: new spell, X session locker

diff --git a/ChangeLog b/ChangeLog
index f2c7dd7..0a0f1d3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2008-01-12 Elisamuel Resto <ryuji AT sourcemage.org>
+ * wm-addons/alock: new spell, X session locker
+
2008-01-12 Treeve Jelbert <treeve AT sourcemage.org>
* kde4/dragonplayer: new spell, video player

diff --git a/wm-addons/alock/BUILD b/wm-addons/alock/BUILD
new file mode 100755
index 0000000..75c8ed8
--- /dev/null
+++ b/wm-addons/alock/BUILD
@@ -0,0 +1,9 @@
+cd $SOURCE_DIRECTORY &&
+
+if [[ "${ALOCK_SHADOW}" = "y" ]]; then
+ OPTS="${OPTS} --with-passwd"
+fi &&
+
+OPTS="${OPTS} ${ALOCK_OPTS}" &&
+./configure --prefix $INSTALL_ROOT/usr $OPTS &&
+make
diff --git a/wm-addons/alock/CONFIGURE b/wm-addons/alock/CONFIGURE
new file mode 100755
index 0000000..f9aea88
--- /dev/null
+++ b/wm-addons/alock/CONFIGURE
@@ -0,0 +1,5 @@
+message "${PROBLEM_COLOR}Answering yes to 'Use shadow instead of pam'" &&
+message "will install alock suid to root${DEFAULT_COLOR}" &&
+config_query ALOCK_SHADOW "Use Shadow instead of PAM?" n &&
+config_query_option ALOCK_OPTS "Build Hash modules (SHA1, MD5)?" y \
+ "--with-hash" "--without-hash"
diff --git a/wm-addons/alock/DEPENDS b/wm-addons/alock/DEPENDS
new file mode 100755
index 0000000..2e839de
--- /dev/null
+++ b/wm-addons/alock/DEPENDS
@@ -0,0 +1,34 @@
+source $GRIMOIRE/FUNCTIONS &&
+
+depends X11-LIBS &&
+
+optional_depends imlib2 \
+ "--with-imlib2" \
+ "--without-imlib2" \
+ "for imlib2 support" &&
+
+if check_if_xorg_modular_libs; then
+ optional_depends libxrender \
+ "--with-xrender" \
+ "--without-xrender" \
+ "for Xrender support" &&
+ optional_depends libxcursor \
+ "--with-xcursor" \
+ "--without-xcursor" \
+ "for Xcursor support" &&
+ optional_depends libxpm \
+ "--with-xpm" \
+ "--without-xpm" \
+ "for XPM support"
+fi &&
+
+if [[ "${ALOCK_SHADOW}" = "y" ]]; then
+ optional_depends shadow \
+ "" "" \
+ "for Shadow support"
+else
+ optional_depends linux-pam \
+ "--with-pam" \
+ "--without-pam" \
+ "for PAM support"
+fi
diff --git a/wm-addons/alock/DETAILS b/wm-addons/alock/DETAILS
new file mode 100755
index 0000000..6971a53
--- /dev/null
+++ b/wm-addons/alock/DETAILS
@@ -0,0 +1,18 @@
+ SPELL=alock
+ VERSION=svn-60
+ SOURCE="${SPELL}-${VERSION}.tar.bz2"
+ SOURCE_URL[0]=http://${SPELL}.googlecode.com/files/${SOURCE}
+
SOURCE_HASH=sha512:f2470786bad0c3b4c5f88170939e7c672a0872ba1552045c1098e7e519764b83b0bd947b9f2129899b8f5addbf42f8cf9735e64504ee6b5e6d110e2da8832096
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE="http://alock.googlecode.com/";
+ LICENSE[0]=BSD
+ ENTERED=20080112
+ SHORT="Locks the local X display until password is entered"
+cat << EOF
+alock locks the current X server until the user enters a password via the
+keyboard. If the authentication was successful the X server is unlocked and
+the user can continue to work.
+
+alock does not provide any fancy animations like xlock or xscreensaver and
+never will. Its just for locking the current X session.
+EOF
diff --git a/wm-addons/alock/HISTORY b/wm-addons/alock/HISTORY
new file mode 100644
index 0000000..66b1212
--- /dev/null
+++ b/wm-addons/alock/HISTORY
@@ -0,0 +1,3 @@
+2008-01-12 Elisamuel Resto <ryuji AT sourcemage.org>
+ * DEPENDS, DETAILS, CONFIGURE, BUILD, INSTALL: spell created
+
diff --git a/wm-addons/alock/INSTALL b/wm-addons/alock/INSTALL
new file mode 100755
index 0000000..8c2ebae
--- /dev/null
+++ b/wm-addons/alock/INSTALL
@@ -0,0 +1,5 @@
+default_install &&
+if [[ "${ALOCK_SHADOW}" = "y" ]]; then
+ chown -v root:root $INSTALL_ROOT/usr/bin/alock &&
+ chmod -v 4111 $INSTALL_ROOT/usr/bin/alock
+fi



  • [SM-Commit] GIT changes to master grimoire by Elisamuel Resto (068189f0b01472839c7d5c830f8ab36ee420de28), Elisamuel Resto, 01/12/2008

Archive powered by MHonArc 2.6.24.

Top of Page