summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-12-24 20:37:51 +0000
committerMike Frysinger <vapier@gentoo.org>2010-12-24 20:37:51 +0000
commit36862f14faafda9053c67115c3f9cba0cdd0a0d9 (patch)
tree23a1ce9d306abd86022175ae63e6e22cd690f4d6 /sys-libs/gpm
parentBug #349565 - Remove older versions due to security vulnerability. (diff)
downloadgentoo-2-36862f14faafda9053c67115c3f9cba0cdd0a0d9.tar.gz
gentoo-2-36862f14faafda9053c67115c3f9cba0cdd0a0d9.tar.bz2
gentoo-2-36862f14faafda9053c67115c3f9cba0cdd0a0d9.zip
old
Diffstat (limited to 'sys-libs/gpm')
-rw-r--r--sys-libs/gpm/gpm-1.20.1-r6.ebuild73
-rw-r--r--sys-libs/gpm/gpm-1.20.5.ebuild60
2 files changed, 0 insertions, 133 deletions
diff --git a/sys-libs/gpm/gpm-1.20.1-r6.ebuild b/sys-libs/gpm/gpm-1.20.1-r6.ebuild
deleted file mode 100644
index 247771873860..000000000000
--- a/sys-libs/gpm/gpm-1.20.1-r6.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/gpm/gpm-1.20.1-r6.ebuild,v 1.11 2009/02/15 21:05:33 vapier Exp $
-
-# emacs support disabled due to Bug 99533
-
-inherit eutils toolchain-funcs
-#elisp-common
-
-PATCH_VER="1.6"
-DESCRIPTION="Console-based mouse driver"
-HOMEPAGE="http://linux.schottelius.org/gpm/"
-SRC_URI="ftp://arcana.linux.it/pub/gpm/${P}.tar.bz2
- ftp://ftp.schottelius.org/pub/linux/gpm/${P}.tar.bz2
- mirror://gentoo/${P}-patches-${PATCH_VER}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
-IUSE="selinux" # emacs"
-
-DEPEND="sys-libs/ncurses"
-# emacs? ( virtual/emacs )"
-RDEPEND="selinux? ( sec-policy/selinux-gpm )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch
-}
-
-src_compile() {
- econf \
- --libdir=/$(get_libdir) \
- --sysconfdir=/etc/gpm \
- || die "econf failed"
- emake \
- CC=$(tc-getCC) \
- AR=$(tc-getAR) \
- RANLIB=$(tc-getRANLIB) \
- EMACS=: \
- || die "emake failed"
-
-# local lisp="emacs/t-mouse.el emacs/t-mouse.elc"
-# if use emacs ; then
-# cd "${S}"/contrib ; make clean
-# make EMACS=emacs ELISP="${lisp}" || die
-# fi
-}
-
-src_install() {
- make install DESTDIR="${D}" EMACS=: ELISP="" || die "make install failed"
- # fix lib symlinks since the default is missing/bogus
- dosym libgpm.so.1.19.0 /$(get_libdir)/libgpm.so.1
- dosym libgpm.so.1 /$(get_libdir)/libgpm.so
- dodir /usr/$(get_libdir)
- mv "${D}"/$(get_libdir)/*.a "${D}"/usr/$(get_libdir)/
- gen_usr_ldscript libgpm.so
-
-# if use emacs ; then
-# cd "${S}"/contrib/emacs
-# elisp-install . t-mouse*
-# fi
-
- insinto /etc/gpm
- doins conf/gpm-*.conf
-
- dodoc BUGS Changes README TODO
- dodoc doc/Announce doc/FAQ doc/README*
-
- newinitd "${FILESDIR}"/gpm.rc6 gpm
- newconfd "${FILESDIR}"/gpm.conf.d gpm
-}
diff --git a/sys-libs/gpm/gpm-1.20.5.ebuild b/sys-libs/gpm/gpm-1.20.5.ebuild
deleted file mode 100644
index 8e009fa92863..000000000000
--- a/sys-libs/gpm/gpm-1.20.5.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/gpm/gpm-1.20.5.ebuild,v 1.9 2009/09/08 17:50:38 vapier Exp $
-
-# emacs support disabled due to Bug 99533
-
-inherit eutils toolchain-funcs flag-o-matic
-
-DESCRIPTION="Console-based mouse driver"
-HOMEPAGE="http://linux.schottelius.org/gpm/"
-SRC_URI="http://linux.schottelius.org/gpm/archives/${P}.tar.lzma"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
-IUSE="selinux"
-
-DEPEND="sys-libs/ncurses
- || ( app-arch/xz-utils app-arch/lzma-utils )"
-RDEPEND="selinux? ( sec-policy/selinux-gpm )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${PN}-1.20.5-abi.patch
- epatch "${FILESDIR}"/0001-daemon-use-sys-ioctl.h-for-ioctl.patch #222099
-}
-
-src_compile() {
- econf \
- --libdir=/$(get_libdir) \
- --sysconfdir=/etc/gpm \
- || die "econf failed"
-
- # workaround broken release
- find -name '*.o' | xargs rm
- emake clean || die
- emake -j1 -C doc || die
-
- emake EMACS=: || die "emake failed"
-}
-
-src_install() {
- emake install DESTDIR="${D}" EMACS=: ELISP="" || die "make install failed"
-
- dosym libgpm.so.1.20.0 /$(get_libdir)/libgpm.so.1
- dosym libgpm.so.1 /$(get_libdir)/libgpm.so
- dodir /usr/$(get_libdir)
- mv "${D}"/$(get_libdir)/libgpm.a "${D}"/usr/$(get_libdir)/ || die
- gen_usr_ldscript libgpm.so
-
- insinto /etc/gpm
- doins conf/gpm-*.conf
-
- dodoc BUGS Changes README TODO
- dodoc doc/Announce doc/FAQ doc/README*
-
- newinitd "${FILESDIR}"/gpm.rc6 gpm
- newconfd "${FILESDIR}"/gpm.conf.d gpm
-}