[arch-commits] Commit in gpm/trunk (ChangeLog PKGBUILD gpm.install gpm.sh)

Eric Bélanger eric at archlinux.org
Sat Dec 5 08:29:36 UTC 2009


    Date: Saturday, December 5, 2009 @ 03:29:36
  Author: eric
Revision: 60455

upgpkg: gpm 1.20.6-4
    Added profile for extra security on multi-user-console (close FS#17243), Removed the need of texinfo depends

Added:
  gpm/trunk/gpm.sh
Modified:
  gpm/trunk/ChangeLog
  gpm/trunk/PKGBUILD
  gpm/trunk/gpm.install

-------------+
 ChangeLog   |    6 ++++++
 PKGBUILD    |   11 ++++++-----
 gpm.install |    2 ++
 gpm.sh      |    3 +++
 4 files changed, 17 insertions(+), 5 deletions(-)

Modified: ChangeLog
===================================================================
--- ChangeLog	2009-12-05 07:38:46 UTC (rev 60454)
+++ ChangeLog	2009-12-05 08:29:36 UTC (rev 60455)
@@ -1,3 +1,9 @@
+2009-12-05  Eric Belanger  <eric at archlinux.org>
+
+	* gpm 1.20.6-4
+	* Added profile for extra security on multi-user-console (close	FS#17243)
+	* Removed the need of texinfo depends
+
 2009-09-20  Eric Belanger  <eric at archlinux.org>
 
 	* gpm 1.20.6-3

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-12-05 07:38:46 UTC (rev 60454)
+++ PKGBUILD	2009-12-05 08:29:36 UTC (rev 60455)
@@ -4,21 +4,21 @@
 
 pkgname=gpm
 pkgver=1.20.6
-pkgrel=3
+pkgrel=4
 pkgdesc="A mouse server for the console and xterm"
 arch=('i686' 'x86_64')
 url="http://unix.schottelius.org/gpm/"
 license=('GPL')
-depends=('ncurses' 'texinfo')
+depends=('ncurses')
 backup=('etc/conf.d/gpm')
 options=('!makeflags')
 install=gpm.install
 source=(http://unix.schottelius.org/gpm/archives/${pkgname}-${pkgver}.tar.bz2 \
-        gpm gpm.conf.d)
+        gpm gpm.conf.d gpm.sh)
 md5sums=('6b534da16dc1b28ba828dea89e520f6f' '945ecde0836687e05c13ea837092ea6c'\
-         '63e599950946e5f5a649432510aacf4c')
+         '63e599950946e5f5a649432510aacf4c' 'f711818433d955852de32a9a0560aa74')
 sha1sums=('f3bb9272878b7934968381c8b25edab359114150' '19e1feb1493373512a77801699df012d186336ea'\
-         'e483f893b4e6b9e1221a208527d728ffefe5438e')
+         'e483f893b4e6b9e1221a208527d728ffefe5438e' '002a8a246f9f37f140d38b8da51b353cf0668f96')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
@@ -27,6 +27,7 @@
   make DESTDIR="${pkgdir}" install || return 1
   install -D -m755 ../gpm "${pkgdir}/etc/rc.d/gpm" || return 1
   install -D -m644 ../gpm.conf.d "${pkgdir}/etc/conf.d/gpm" || return 1
+  install -D -m755 ../gpm.sh "${pkgdir}/etc/profile.d/gpm.sh" || return 1
 
 # library fixes
   cd "${pkgdir}/usr/lib/"

Modified: gpm.install
===================================================================
--- gpm.install	2009-12-05 07:38:46 UTC (rev 60454)
+++ gpm.install	2009-12-05 08:29:36 UTC (rev 60455)
@@ -2,6 +2,7 @@
 file=gpm.info.gz
 
 post_install() {
+  [ -x usr/bin/install-info ] || return 0
   install-info $infodir/$file $infodir/dir 2> /dev/null
 }
 
@@ -10,5 +11,6 @@
 }
 
 pre_remove() {
+  [ -x usr/bin/install-info ] || return 0
   install-info --delete $infodir/$file $infodir/dir 2> /dev/null
 }

Added: gpm.sh
===================================================================
--- gpm.sh	                        (rev 0)
+++ gpm.sh	2009-12-05 08:29:36 UTC (rev 60455)
@@ -0,0 +1,3 @@
+case $( /usr/bin/tty ) in
+    /dev/tty[0-9]*) /usr/bin/disable-paste ;;
+esac


Property changes on: gpm/trunk/gpm.sh
___________________________________________________________________
Added: svn:executable
   + *




More information about the arch-commits mailing list