summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Newgard2013-03-19 19:58:09 -0500
committerDoug Newgard2013-03-19 19:58:09 -0500
commit32f9ca791ce8deade6c73cadf32c821cb9744c15 (patch)
treefe0028d07fbda4d6ae0f608c30966219706ba555
downloadaur-32f9ca791ce8deade6c73cadf32c821cb9744c15.tar.gz
Inherited from meklu
-rw-r--r--.SRCINFO19
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD66
-rw-r--r--entrance-pam9
-rw-r--r--entrance.service11
5 files changed, 109 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d633d28f997
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = entrance-svn
+ pkgdesc = Successor of the e17 display manager - Entrance
+ pkgver = 74295
+ pkgrel = 1
+ url = http://trac.enlightenment.org/e
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = subversion
+ depends = elementary
+ provides = entrance
+ conflicts = elsa
+ source = entrance-pam
+ source = entrance.service
+ md5sums = 9a76cae5b3a0fcbb6116fa08c7a587b5
+ md5sums = a10831272be5d65d40d9f7b5b03361b1
+
+pkgname = entrance-svn
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..e4fa42cf9be
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*~
+src/
+pkg/
+*.tar.*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ea22e238948
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,66 @@
+# Maintainer: meklu <meklu at meklu dot org>
+# Contributor: Samsagax <samsagax at gmail dot com>
+# Contributor: Swift Geek <swiftgeek+spam@gmail.com>
+
+pkgname=entrance-svn
+pkgver=74295
+pkgrel=1
+pkgdesc="Successor of the e17 display manager - Entrance"
+url="http://trac.enlightenment.org/e"
+license=("GPL")
+arch=("i686" "x86_64")
+provides=('entrance')
+conflicts=('elsa')
+depends=('elementary')
+makedepends=('subversion')
+source=('entrance-pam'
+ 'entrance.service')
+md5sums=('9a76cae5b3a0fcbb6116fa08c7a587b5'
+ 'a10831272be5d65d40d9f7b5b03361b1')
+
+_svntrunk="http://svn.enlightenment.org/svn/e/trunk/PROTO/entrance/"
+_svnmod="entrance"
+
+build ()
+{
+ cd $srcdir
+
+ msg "Connecting to $_svntrunk SVN server...."
+ if [ -d $_svnmod/.svn ]; then
+ (cd $_svnmod && svn up -r $pkgver)
+ else
+ svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
+ fi
+
+ msg "SVN checkout done or server timeout"
+ msg "Starting make..."
+
+ rm -rf $_svnmod-build
+ cp -r $_svnmod $_svnmod-build
+ cd $_svnmod-build
+
+ ./autogen.sh \
+ --prefix=/usr \
+ --sysconfdir=/etc
+
+ make
+
+}
+
+package() {
+ cd $srcdir/$_svnmod-build
+
+ make DESTDIR=$pkgdir install
+
+ # install license files
+ install -Dm644 $srcdir/$_svnmod-build/COPYING \
+ $pkgdir/usr/share/licenses/$pkgname/COPYING
+
+ # install pam file
+ install -Dm644 $srcdir/entrance-pam \
+ $pkgdir/etc/pam.d/entrance
+
+ # install systemd files
+ install -Dm644 $srcdir/entrance.service \
+ $pkgdir/usr/lib/systemd/system/entrance.service
+}
diff --git a/entrance-pam b/entrance-pam
new file mode 100644
index 00000000000..b13b0d52850
--- /dev/null
+++ b/entrance-pam
@@ -0,0 +1,9 @@
+#%PAM-1.0
+auth requisite pam_nologin.so
+auth required pam_env.so
+auth required pam_unix.so
+account required pam_unix.so
+session required pam_limits.so
+session required pam_unix.so
+password required pam_unix.so
+-session optional pam_systemd.so
diff --git a/entrance.service b/entrance.service
new file mode 100644
index 00000000000..f4c2b5045ca
--- /dev/null
+++ b/entrance.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=E17 Display Manager
+Conflicts=getty@tty1.service
+After=systemd-user-sessions.service getty@tty1.service
+
+[Service]
+ExecStart=/usr/sbin/entrance --nodaemon
+Restart=always
+
+[Install]
+Alias=display-manager.service