[arch-commits] Commit in neatx/repos (12 files)
Sergej Pupykin
spupykin at archlinux.org
Tue Feb 10 17:36:30 UTC 2015
Date: Tuesday, February 10, 2015 @ 18:36:29
Author: spupykin
Revision: 127518
archrelease: copy trunk to community-i686, community-x86_64
Added:
neatx/repos/community-i686/PKGBUILD
(from rev 127517, neatx/trunk/PKGBUILD)
neatx/repos/community-i686/constants.archlinux.patch
(from rev 127517, neatx/trunk/constants.archlinux.patch)
neatx/repos/community-i686/neatx.install
(from rev 127517, neatx/trunk/neatx.install)
neatx/repos/community-x86_64/PKGBUILD
(from rev 127517, neatx/trunk/PKGBUILD)
neatx/repos/community-x86_64/constants.archlinux.patch
(from rev 127517, neatx/trunk/constants.archlinux.patch)
neatx/repos/community-x86_64/neatx.install
(from rev 127517, neatx/trunk/neatx.install)
Deleted:
neatx/repos/community-i686/PKGBUILD
neatx/repos/community-i686/constants.archlinux.patch
neatx/repos/community-i686/neatx.install
neatx/repos/community-x86_64/PKGBUILD
neatx/repos/community-x86_64/constants.archlinux.patch
neatx/repos/community-x86_64/neatx.install
--------------------------------------------+
/PKGBUILD | 78 +++++++++++++++++++++++++
/constants.archlinux.patch | 84 +++++++++++++++++++++++++++
/neatx.install | 34 ++++++++++
community-i686/PKGBUILD | 39 ------------
community-i686/constants.archlinux.patch | 42 -------------
community-i686/neatx.install | 18 -----
community-x86_64/PKGBUILD | 39 ------------
community-x86_64/constants.archlinux.patch | 42 -------------
community-x86_64/neatx.install | 18 -----
9 files changed, 196 insertions(+), 198 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2015-02-10 17:36:14 UTC (rev 127517)
+++ community-i686/PKGBUILD 2015-02-10 17:36:29 UTC (rev 127518)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Nicolas Doualot <packages at slubman.info>
-
-pkgname=neatx
-pkgver=0.3.1
-pkgrel=14
-pkgdesc="A free NX server by google"
-arch=('i686' 'x86_64')
-url="http://code.google.com/p/neatx/"
-license=('GPL')
-depends=('python2-pexpect' 'python2-simplejson' 'netcat' 'pygtk')
-makedepends=('docutils')
-optdepends=('xorg-xdm: if you want to use KDE or GNOME session'
- 'xorg-fonts-misc: to use default font'
- 'xterm: if you want console session')
-install=neatx.install
-source=(http://neatx.googlecode.com/files/$pkgname-$pkgver.tar.gz
- constants.archlinux.patch)
-md5sums=('5748656738d5f04fef1af01b9fe5ef20'
- 'a5ca4aa399cc25fa8435280e8b03c5a3')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- patch -i "$srcdir/constants.archlinux.patch" -p2
-
- ./configure --prefix=/usr --localstatedir=/var RST2HTML=/usr/bin/rst2html2
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- make DESTDIR="$pkgdir/" install
- chmod 777 "$pkgdir/var/lib/neatx/sessions"
-
- install -d -m755 ${pkgdir}/etc/ld.so.conf.d/
- echo -e '/usr/lib\n/opt/NX/lib' > ${pkgdir}/etc/ld.so.conf.d/neatx.conf
-}
Copied: neatx/repos/community-i686/PKGBUILD (from rev 127517, neatx/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-02-10 17:36:29 UTC (rev 127518)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Nicolas Doualot <packages at slubman.info>
+
+pkgname=neatx
+pkgver=0.3.1
+pkgrel=15
+pkgdesc="A free NX server by google"
+arch=('i686' 'x86_64')
+url="http://code.google.com/p/neatx/"
+license=('GPL')
+depends=('python2-pexpect' 'python2-simplejson' 'netcat' 'pygtk')
+makedepends=('docutils')
+optdepends=('xorg-xdm: if you want to use KDE or GNOME session'
+ 'xorg-fonts-misc: to use default font'
+ 'xterm: if you want console session')
+install=neatx.install
+source=(http://neatx.googlecode.com/files/$pkgname-$pkgver.tar.gz
+ constants.archlinux.patch)
+md5sums=('5748656738d5f04fef1af01b9fe5ef20'
+ 'a5ca4aa399cc25fa8435280e8b03c5a3')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ patch -i "$srcdir/constants.archlinux.patch" -p2
+
+ ./configure --prefix=/usr --localstatedir=/var RST2HTML=/usr/bin/rst2html2
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+ chmod 777 "$pkgdir/var/lib/neatx/sessions"
+
+ install -d -m755 ${pkgdir}/etc/ld.so.conf.d/
+ echo -e '/usr/lib\n/opt/NX/lib' > ${pkgdir}/etc/ld.so.conf.d/neatx.conf
+}
Deleted: community-i686/constants.archlinux.patch
===================================================================
--- community-i686/constants.archlinux.patch 2015-02-10 17:36:14 UTC (rev 127517)
+++ community-i686/constants.archlinux.patch 2015-02-10 17:36:29 UTC (rev 127518)
@@ -1,42 +0,0 @@
---- a/neatx-0.3.1/lib/constants.py 2009-06-24 21:19:55.000000000 +0200
-+++ b/neatx-0.3.1/lib/constants.py 2009-07-08 10:50:30.000000000 +0200
-@@ -25,19 +25,19 @@
- from neatx import _autoconf
-
-
--NXDIR = "/usr/lib/nx"
-+NXDIR = "/opt/NX/bin"
-
- SYSLOG_ADDRESS = "/dev/log"
- BASH = "/bin/bash"
--NETCAT = "/bin/netcat"
-+NETCAT = "/usr/bin/netcat"
- XRDB = "/usr/bin/xrdb"
- SU = "/bin/su"
- SSH = "/usr/bin/ssh"
- XAUTH = "/usr/bin/xauth"
--XSESSION = "/etc/X11/Xsession"
-+XSESSION = "/etc/X11/xdm/Xsession"
-
- START_CONSOLE_COMMAND = "/usr/bin/xterm"
--START_KDE_COMMAND = XSESSION + " startkde"
-+START_KDE_COMMAND = " startkde"
- START_GNOME_COMMAND = XSESSION + " gnome-session"
-
- NXUSER = "nx"
-@@ -47,12 +47,13 @@
- NXNC = _autoconf.PKGLIBDIR + "/nxnc"
- NXDIALOG = _autoconf.PKGLIBDIR + "/nxdialog"
- NXAGENT = NXDIR + "/nxagent"
--NXAGENT_PKGNAME = "nxagent"
-+#NXAGENT_PKGNAME = "nxagent"
-+NXAGENT_PKGNAME = "nxserver"
- FDCOPY = _autoconf.PKGLIBDIR + "/fdcopy"
- TTYSETUP = _autoconf.PKGLIBDIR + "/ttysetup"
-
- # Extract nxagent version using the following command.
--NXAGENT_VERSION_COMMAND = ("dpkg-query -W --showformat='${Version}' %s" %
-+NXAGENT_VERSION_COMMAND = ("pacman -Qi %s | grep Version | awk '{print $3}'" %
- NXAGENT_PKGNAME)
- NXAGENT_VERSION_SEP = ".-~"
-
Copied: neatx/repos/community-i686/constants.archlinux.patch (from rev 127517, neatx/trunk/constants.archlinux.patch)
===================================================================
--- community-i686/constants.archlinux.patch (rev 0)
+++ community-i686/constants.archlinux.patch 2015-02-10 17:36:29 UTC (rev 127518)
@@ -0,0 +1,42 @@
+--- a/neatx-0.3.1/lib/constants.py 2009-06-24 21:19:55.000000000 +0200
++++ b/neatx-0.3.1/lib/constants.py 2009-07-08 10:50:30.000000000 +0200
+@@ -25,19 +25,19 @@
+ from neatx import _autoconf
+
+
+-NXDIR = "/usr/lib/nx"
++NXDIR = "/opt/NX/bin"
+
+ SYSLOG_ADDRESS = "/dev/log"
+ BASH = "/bin/bash"
+-NETCAT = "/bin/netcat"
++NETCAT = "/usr/bin/netcat"
+ XRDB = "/usr/bin/xrdb"
+ SU = "/bin/su"
+ SSH = "/usr/bin/ssh"
+ XAUTH = "/usr/bin/xauth"
+-XSESSION = "/etc/X11/Xsession"
++XSESSION = "/etc/X11/xdm/Xsession"
+
+ START_CONSOLE_COMMAND = "/usr/bin/xterm"
+-START_KDE_COMMAND = XSESSION + " startkde"
++START_KDE_COMMAND = " startkde"
+ START_GNOME_COMMAND = XSESSION + " gnome-session"
+
+ NXUSER = "nx"
+@@ -47,12 +47,13 @@
+ NXNC = _autoconf.PKGLIBDIR + "/nxnc"
+ NXDIALOG = _autoconf.PKGLIBDIR + "/nxdialog"
+ NXAGENT = NXDIR + "/nxagent"
+-NXAGENT_PKGNAME = "nxagent"
++#NXAGENT_PKGNAME = "nxagent"
++NXAGENT_PKGNAME = "nxserver"
+ FDCOPY = _autoconf.PKGLIBDIR + "/fdcopy"
+ TTYSETUP = _autoconf.PKGLIBDIR + "/ttysetup"
+
+ # Extract nxagent version using the following command.
+-NXAGENT_VERSION_COMMAND = ("dpkg-query -W --showformat='${Version}' %s" %
++NXAGENT_VERSION_COMMAND = ("pacman -Qi %s | grep Version | awk '{print $3}'" %
+ NXAGENT_PKGNAME)
+ NXAGENT_VERSION_SEP = ".-~"
+
Deleted: community-i686/neatx.install
===================================================================
--- community-i686/neatx.install 2015-02-10 17:36:14 UTC (rev 127517)
+++ community-i686/neatx.install 2015-02-10 17:36:29 UTC (rev 127518)
@@ -1,18 +0,0 @@
-post_install() {
- useradd -d /opt/NX/home/nx -s /usr/lib/neatx/nxserver-login-wrapper nx &> /dev/null
- mkdir -p ~nx/.ssh
- cp /usr/share/neatx/authorized_keys.nomachine ~nx/.ssh/authorized_keys
- chmod 600 ~nx/.ssh/authorized_keys
- chown -R nx ~nx
- post_remove
-}
-
-pre_remove() {
- userdel nx > /dev/null 2>&1
- rm -rf ~nx
-}
-
-post_remove() {
- sed -e '/\/opt\/NX\/lib/d' -i etc/ld.so.conf
- ldconfig
-}
Copied: neatx/repos/community-i686/neatx.install (from rev 127517, neatx/trunk/neatx.install)
===================================================================
--- community-i686/neatx.install (rev 0)
+++ community-i686/neatx.install 2015-02-10 17:36:29 UTC (rev 127518)
@@ -0,0 +1,17 @@
+post_install() {
+ useradd -r -d /opt/NX/home/nx -s /usr/lib/neatx/nxserver-login-wrapper nx &> /dev/null
+ mkdir -p ~nx/.ssh
+ cp /usr/share/neatx/authorized_keys.nomachine ~nx/.ssh/authorized_keys
+ chmod 600 ~nx/.ssh/authorized_keys
+ chown -R nx ~nx
+ post_remove
+}
+
+pre_remove() {
+ rm -rf ~nx
+}
+
+post_remove() {
+ sed -e '/\/opt\/NX\/lib/d' -i etc/ld.so.conf
+ ldconfig
+}
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2015-02-10 17:36:14 UTC (rev 127517)
+++ community-x86_64/PKGBUILD 2015-02-10 17:36:29 UTC (rev 127518)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Nicolas Doualot <packages at slubman.info>
-
-pkgname=neatx
-pkgver=0.3.1
-pkgrel=14
-pkgdesc="A free NX server by google"
-arch=('i686' 'x86_64')
-url="http://code.google.com/p/neatx/"
-license=('GPL')
-depends=('python2-pexpect' 'python2-simplejson' 'netcat' 'pygtk')
-makedepends=('docutils')
-optdepends=('xorg-xdm: if you want to use KDE or GNOME session'
- 'xorg-fonts-misc: to use default font'
- 'xterm: if you want console session')
-install=neatx.install
-source=(http://neatx.googlecode.com/files/$pkgname-$pkgver.tar.gz
- constants.archlinux.patch)
-md5sums=('5748656738d5f04fef1af01b9fe5ef20'
- 'a5ca4aa399cc25fa8435280e8b03c5a3')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- patch -i "$srcdir/constants.archlinux.patch" -p2
-
- ./configure --prefix=/usr --localstatedir=/var RST2HTML=/usr/bin/rst2html2
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- make DESTDIR="$pkgdir/" install
- chmod 777 "$pkgdir/var/lib/neatx/sessions"
-
- install -d -m755 ${pkgdir}/etc/ld.so.conf.d/
- echo -e '/usr/lib\n/opt/NX/lib' > ${pkgdir}/etc/ld.so.conf.d/neatx.conf
-}
Copied: neatx/repos/community-x86_64/PKGBUILD (from rev 127517, neatx/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2015-02-10 17:36:29 UTC (rev 127518)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Nicolas Doualot <packages at slubman.info>
+
+pkgname=neatx
+pkgver=0.3.1
+pkgrel=15
+pkgdesc="A free NX server by google"
+arch=('i686' 'x86_64')
+url="http://code.google.com/p/neatx/"
+license=('GPL')
+depends=('python2-pexpect' 'python2-simplejson' 'netcat' 'pygtk')
+makedepends=('docutils')
+optdepends=('xorg-xdm: if you want to use KDE or GNOME session'
+ 'xorg-fonts-misc: to use default font'
+ 'xterm: if you want console session')
+install=neatx.install
+source=(http://neatx.googlecode.com/files/$pkgname-$pkgver.tar.gz
+ constants.archlinux.patch)
+md5sums=('5748656738d5f04fef1af01b9fe5ef20'
+ 'a5ca4aa399cc25fa8435280e8b03c5a3')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ patch -i "$srcdir/constants.archlinux.patch" -p2
+
+ ./configure --prefix=/usr --localstatedir=/var RST2HTML=/usr/bin/rst2html2
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+ chmod 777 "$pkgdir/var/lib/neatx/sessions"
+
+ install -d -m755 ${pkgdir}/etc/ld.so.conf.d/
+ echo -e '/usr/lib\n/opt/NX/lib' > ${pkgdir}/etc/ld.so.conf.d/neatx.conf
+}
Deleted: community-x86_64/constants.archlinux.patch
===================================================================
--- community-x86_64/constants.archlinux.patch 2015-02-10 17:36:14 UTC (rev 127517)
+++ community-x86_64/constants.archlinux.patch 2015-02-10 17:36:29 UTC (rev 127518)
@@ -1,42 +0,0 @@
---- a/neatx-0.3.1/lib/constants.py 2009-06-24 21:19:55.000000000 +0200
-+++ b/neatx-0.3.1/lib/constants.py 2009-07-08 10:50:30.000000000 +0200
-@@ -25,19 +25,19 @@
- from neatx import _autoconf
-
-
--NXDIR = "/usr/lib/nx"
-+NXDIR = "/opt/NX/bin"
-
- SYSLOG_ADDRESS = "/dev/log"
- BASH = "/bin/bash"
--NETCAT = "/bin/netcat"
-+NETCAT = "/usr/bin/netcat"
- XRDB = "/usr/bin/xrdb"
- SU = "/bin/su"
- SSH = "/usr/bin/ssh"
- XAUTH = "/usr/bin/xauth"
--XSESSION = "/etc/X11/Xsession"
-+XSESSION = "/etc/X11/xdm/Xsession"
-
- START_CONSOLE_COMMAND = "/usr/bin/xterm"
--START_KDE_COMMAND = XSESSION + " startkde"
-+START_KDE_COMMAND = " startkde"
- START_GNOME_COMMAND = XSESSION + " gnome-session"
-
- NXUSER = "nx"
-@@ -47,12 +47,13 @@
- NXNC = _autoconf.PKGLIBDIR + "/nxnc"
- NXDIALOG = _autoconf.PKGLIBDIR + "/nxdialog"
- NXAGENT = NXDIR + "/nxagent"
--NXAGENT_PKGNAME = "nxagent"
-+#NXAGENT_PKGNAME = "nxagent"
-+NXAGENT_PKGNAME = "nxserver"
- FDCOPY = _autoconf.PKGLIBDIR + "/fdcopy"
- TTYSETUP = _autoconf.PKGLIBDIR + "/ttysetup"
-
- # Extract nxagent version using the following command.
--NXAGENT_VERSION_COMMAND = ("dpkg-query -W --showformat='${Version}' %s" %
-+NXAGENT_VERSION_COMMAND = ("pacman -Qi %s | grep Version | awk '{print $3}'" %
- NXAGENT_PKGNAME)
- NXAGENT_VERSION_SEP = ".-~"
-
Copied: neatx/repos/community-x86_64/constants.archlinux.patch (from rev 127517, neatx/trunk/constants.archlinux.patch)
===================================================================
--- community-x86_64/constants.archlinux.patch (rev 0)
+++ community-x86_64/constants.archlinux.patch 2015-02-10 17:36:29 UTC (rev 127518)
@@ -0,0 +1,42 @@
+--- a/neatx-0.3.1/lib/constants.py 2009-06-24 21:19:55.000000000 +0200
++++ b/neatx-0.3.1/lib/constants.py 2009-07-08 10:50:30.000000000 +0200
+@@ -25,19 +25,19 @@
+ from neatx import _autoconf
+
+
+-NXDIR = "/usr/lib/nx"
++NXDIR = "/opt/NX/bin"
+
+ SYSLOG_ADDRESS = "/dev/log"
+ BASH = "/bin/bash"
+-NETCAT = "/bin/netcat"
++NETCAT = "/usr/bin/netcat"
+ XRDB = "/usr/bin/xrdb"
+ SU = "/bin/su"
+ SSH = "/usr/bin/ssh"
+ XAUTH = "/usr/bin/xauth"
+-XSESSION = "/etc/X11/Xsession"
++XSESSION = "/etc/X11/xdm/Xsession"
+
+ START_CONSOLE_COMMAND = "/usr/bin/xterm"
+-START_KDE_COMMAND = XSESSION + " startkde"
++START_KDE_COMMAND = " startkde"
+ START_GNOME_COMMAND = XSESSION + " gnome-session"
+
+ NXUSER = "nx"
+@@ -47,12 +47,13 @@
+ NXNC = _autoconf.PKGLIBDIR + "/nxnc"
+ NXDIALOG = _autoconf.PKGLIBDIR + "/nxdialog"
+ NXAGENT = NXDIR + "/nxagent"
+-NXAGENT_PKGNAME = "nxagent"
++#NXAGENT_PKGNAME = "nxagent"
++NXAGENT_PKGNAME = "nxserver"
+ FDCOPY = _autoconf.PKGLIBDIR + "/fdcopy"
+ TTYSETUP = _autoconf.PKGLIBDIR + "/ttysetup"
+
+ # Extract nxagent version using the following command.
+-NXAGENT_VERSION_COMMAND = ("dpkg-query -W --showformat='${Version}' %s" %
++NXAGENT_VERSION_COMMAND = ("pacman -Qi %s | grep Version | awk '{print $3}'" %
+ NXAGENT_PKGNAME)
+ NXAGENT_VERSION_SEP = ".-~"
+
Deleted: community-x86_64/neatx.install
===================================================================
--- community-x86_64/neatx.install 2015-02-10 17:36:14 UTC (rev 127517)
+++ community-x86_64/neatx.install 2015-02-10 17:36:29 UTC (rev 127518)
@@ -1,18 +0,0 @@
-post_install() {
- useradd -d /opt/NX/home/nx -s /usr/lib/neatx/nxserver-login-wrapper nx &> /dev/null
- mkdir -p ~nx/.ssh
- cp /usr/share/neatx/authorized_keys.nomachine ~nx/.ssh/authorized_keys
- chmod 600 ~nx/.ssh/authorized_keys
- chown -R nx ~nx
- post_remove
-}
-
-pre_remove() {
- userdel nx > /dev/null 2>&1
- rm -rf ~nx
-}
-
-post_remove() {
- sed -e '/\/opt\/NX\/lib/d' -i etc/ld.so.conf
- ldconfig
-}
Copied: neatx/repos/community-x86_64/neatx.install (from rev 127517, neatx/trunk/neatx.install)
===================================================================
--- community-x86_64/neatx.install (rev 0)
+++ community-x86_64/neatx.install 2015-02-10 17:36:29 UTC (rev 127518)
@@ -0,0 +1,17 @@
+post_install() {
+ useradd -r -d /opt/NX/home/nx -s /usr/lib/neatx/nxserver-login-wrapper nx &> /dev/null
+ mkdir -p ~nx/.ssh
+ cp /usr/share/neatx/authorized_keys.nomachine ~nx/.ssh/authorized_keys
+ chmod 600 ~nx/.ssh/authorized_keys
+ chown -R nx ~nx
+ post_remove
+}
+
+pre_remove() {
+ rm -rf ~nx
+}
+
+post_remove() {
+ sed -e '/\/opt\/NX\/lib/d' -i etc/ld.so.conf
+ ldconfig
+}
More information about the arch-commits
mailing list