[arch-commits] Commit in screen/repos (8 files)
Gaetan Bisson
bisson at nymeria.archlinux.org
Mon Apr 28 17:22:57 UTC 2014
Date: Monday, April 28, 2014 @ 19:22:57
Author: bisson
Revision: 211892
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
screen/repos/testing-i686/
screen/repos/testing-i686/PKGBUILD
(from rev 211891, screen/trunk/PKGBUILD)
screen/repos/testing-i686/install
(from rev 211891, screen/trunk/install)
screen/repos/testing-i686/pam.d
(from rev 211891, screen/trunk/pam.d)
screen/repos/testing-x86_64/
screen/repos/testing-x86_64/PKGBUILD
(from rev 211891, screen/trunk/PKGBUILD)
screen/repos/testing-x86_64/install
(from rev 211891, screen/trunk/install)
screen/repos/testing-x86_64/pam.d
(from rev 211891, screen/trunk/pam.d)
-------------------------+
testing-i686/PKGBUILD | 51 ++++++++++++++++++++++++++++++++++++++++++++++
testing-i686/install | 25 ++++++++++++++++++++++
testing-i686/pam.d | 1
testing-x86_64/PKGBUILD | 51 ++++++++++++++++++++++++++++++++++++++++++++++
testing-x86_64/install | 25 ++++++++++++++++++++++
testing-x86_64/pam.d | 1
6 files changed, 154 insertions(+)
Copied: screen/repos/testing-i686/PKGBUILD (from rev 211891, screen/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2014-04-28 17:22:57 UTC (rev 211892)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Committer: dorphell <dorphell at gmx.net>
+
+pkgname=screen
+pkgver=4.2.1
+pkgrel=1
+_ptygroup=5 #the UID of our PTY/TTY group
+pkgdesc='Full-screen window manager that multiplexes a physical terminal'
+url='http://www.gnu.org/software/screen/'
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('ncurses' 'pam')
+backup=('etc/screenrc' 'etc/pam.d/screen')
+source=("http://ftp.gnu.org/gnu/screen/screen-${pkgver}.tar.gz"{,.sig}
+ 'pam.d')
+sha1sums=('21eadf5f1d64120649f3390346253c6bc8a5103c' 'SKIP'
+ '1ab4b512d2ac840d16db6986d7c98d7ce2f6383f')
+
+options=('!makeflags')
+install=install
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --enable-colors256 \
+ --enable-pam \
+ --enable-rxvt_osc \
+ --enable-telnet \
+ --with-pty-group=$_ptygroup \
+ --with-socket-dir=/run/screens \
+ --with-sys-screenrc=/etc/screenrc \
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ install -Dm644 ../pam.d "${pkgdir}"/etc/pam.d/screen
+
+ install -Dm644 etc/completer.zsh "${pkgdir}"/usr/share/zsh/site-functions/screen
+ install -Dm644 etc/etcscreenrc "${pkgdir}"/etc/screenrc
+ install -Dm644 etc/screenrc "${pkgdir}"/etc/skel/.screenrc
+}
Copied: screen/repos/testing-i686/install (from rev 211891, screen/trunk/install)
===================================================================
--- testing-i686/install (rev 0)
+++ testing-i686/install 2014-04-28 17:22:57 UTC (rev 211892)
@@ -0,0 +1,25 @@
+infodir=usr/share/info
+filelist=(screen.info screen.info-1 screen.info-2 screen.info-3 screen.info-4 screen.info-5)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+ if [ $(vercmp $2 4.0.3-15) -lt 0 ]; then
+ echo 'The location of the screen sockets has changed.'
+ echo 'If you need to access running screen sessions, run'
+ echo ' # SCREENDIR=/tmp/screens/S-$USER/ screen ...'
+ fi
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
Copied: screen/repos/testing-i686/pam.d (from rev 211891, screen/trunk/pam.d)
===================================================================
--- testing-i686/pam.d (rev 0)
+++ testing-i686/pam.d 2014-04-28 17:22:57 UTC (rev 211892)
@@ -0,0 +1 @@
+auth required pam_unix.so
Copied: screen/repos/testing-x86_64/PKGBUILD (from rev 211891, screen/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2014-04-28 17:22:57 UTC (rev 211892)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Committer: dorphell <dorphell at gmx.net>
+
+pkgname=screen
+pkgver=4.2.1
+pkgrel=1
+_ptygroup=5 #the UID of our PTY/TTY group
+pkgdesc='Full-screen window manager that multiplexes a physical terminal'
+url='http://www.gnu.org/software/screen/'
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('ncurses' 'pam')
+backup=('etc/screenrc' 'etc/pam.d/screen')
+source=("http://ftp.gnu.org/gnu/screen/screen-${pkgver}.tar.gz"{,.sig}
+ 'pam.d')
+sha1sums=('21eadf5f1d64120649f3390346253c6bc8a5103c' 'SKIP'
+ '1ab4b512d2ac840d16db6986d7c98d7ce2f6383f')
+
+options=('!makeflags')
+install=install
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --enable-colors256 \
+ --enable-pam \
+ --enable-rxvt_osc \
+ --enable-telnet \
+ --with-pty-group=$_ptygroup \
+ --with-socket-dir=/run/screens \
+ --with-sys-screenrc=/etc/screenrc \
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ install -Dm644 ../pam.d "${pkgdir}"/etc/pam.d/screen
+
+ install -Dm644 etc/completer.zsh "${pkgdir}"/usr/share/zsh/site-functions/screen
+ install -Dm644 etc/etcscreenrc "${pkgdir}"/etc/screenrc
+ install -Dm644 etc/screenrc "${pkgdir}"/etc/skel/.screenrc
+}
Copied: screen/repos/testing-x86_64/install (from rev 211891, screen/trunk/install)
===================================================================
--- testing-x86_64/install (rev 0)
+++ testing-x86_64/install 2014-04-28 17:22:57 UTC (rev 211892)
@@ -0,0 +1,25 @@
+infodir=usr/share/info
+filelist=(screen.info screen.info-1 screen.info-2 screen.info-3 screen.info-4 screen.info-5)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+ if [ $(vercmp $2 4.0.3-15) -lt 0 ]; then
+ echo 'The location of the screen sockets has changed.'
+ echo 'If you need to access running screen sessions, run'
+ echo ' # SCREENDIR=/tmp/screens/S-$USER/ screen ...'
+ fi
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
Copied: screen/repos/testing-x86_64/pam.d (from rev 211891, screen/trunk/pam.d)
===================================================================
--- testing-x86_64/pam.d (rev 0)
+++ testing-x86_64/pam.d 2014-04-28 17:22:57 UTC (rev 211892)
@@ -0,0 +1 @@
+auth required pam_unix.so
More information about the arch-commits
mailing list