summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Leitch <port001@gentoo.org>2003-11-18 16:01:33 +0000
committerIan Leitch <port001@gentoo.org>2003-11-18 16:01:33 +0000
commita616f90f19aa4cc9739a65710774106e412c1f89 (patch)
treeb730ad347bb27d74cd675efd0eefa670fcea31ed /x11-misc/xtrlock
parentmoved from app-misc to x11-misc, metadata.xml created (diff)
downloadgentoo-2-a616f90f19aa4cc9739a65710774106e412c1f89.tar.gz
gentoo-2-a616f90f19aa4cc9739a65710774106e412c1f89.tar.bz2
gentoo-2-a616f90f19aa4cc9739a65710774106e412c1f89.zip
moved from app-misc to x11-misc, metadata.xml created
Diffstat (limited to 'x11-misc/xtrlock')
-rw-r--r--x11-misc/xtrlock/ChangeLog28
-rw-r--r--x11-misc/xtrlock/Manifest7
-rw-r--r--x11-misc/xtrlock/files/digest-xtrlock-2.01
-rw-r--r--x11-misc/xtrlock/files/digest-xtrlock-2.0-r11
-rw-r--r--x11-misc/xtrlock/files/xtrlock-2.0-overflow.patch25
-rw-r--r--x11-misc/xtrlock/metadata.xml5
-rw-r--r--x11-misc/xtrlock/xtrlock-2.0-r1.ebuild34
-rw-r--r--x11-misc/xtrlock/xtrlock-2.0.ebuild28
8 files changed, 126 insertions, 3 deletions
diff --git a/x11-misc/xtrlock/ChangeLog b/x11-misc/xtrlock/ChangeLog
new file mode 100644
index 000000000000..780347a41f4b
--- /dev/null
+++ b/x11-misc/xtrlock/ChangeLog
@@ -0,0 +1,28 @@
+# ChangeLog for app-misc/xtrlock
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xtrlock/ChangeLog,v 1.1 2003/11/18 16:01:16 port001 Exp $
+
+*xtrlock-2.0-r1 (18 Nov 2003)
+
+ 18 Nov 2003; Ian Leitch <port001@gentoo.org> xtrlock-2.0-r1.ebuild:
+ Moved from app-misc to x11-misc, metadata.xml created
+
+*xtrlock-2.0-r1 (24 Apr 2003)
+
+ 24 Apr 2003; Alastair Tse <liquidx@gentoo.org> xtrlock-2.0-r1.ebuild,
+ files/xtrlock-2.0-overflow.patch:
+ buffer overflow fix contributed by Srakyi <srakyi@centrum.cz>. (#18992)
+ this source seems to be unmaintained.
+
+*xtrlock-2.0 (1 Feb 2002)
+
+ 26 Jan 2003; Jon Nall <nall@gentoo.org> xtrlock-2.0.ebuild :
+ added ~ppc
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/x11-misc/xtrlock/Manifest b/x11-misc/xtrlock/Manifest
index 1ad5d31f9c0d..e18488d7d609 100644
--- a/x11-misc/xtrlock/Manifest
+++ b/x11-misc/xtrlock/Manifest
@@ -1,6 +1,7 @@
-MD5 b5754ec145805fb67ded21269a6847f5 xtrlock-2.0-r1.ebuild 827
-MD5 863f47e12c88e4fb429d58f8f718642b xtrlock-2.0.ebuild 745
-MD5 ca1c9c7fcba88abbfa4801b3a5a1bb80 ChangeLog 1005
+MD5 d0ffdc732b1695e0dc47e1090f147786 xtrlock-2.0-r1.ebuild 830
+MD5 3f754d6faa663981d2061592111808ad xtrlock-2.0.ebuild 747
+MD5 5344b39167fd548f611630ddf6ecd426 ChangeLog 1163
+MD5 fe402b096905cae8dcb4a503d3a838ac metadata.xml 173
MD5 9c5d390720d5c846a174088a8214c7c8 files/digest-xtrlock-2.0-r1 63
MD5 4bbac4dd2e60384f0e40af9e37159cd2 files/xtrlock-2.0-overflow.patch 712
MD5 9c5d390720d5c846a174088a8214c7c8 files/digest-xtrlock-2.0 63
diff --git a/x11-misc/xtrlock/files/digest-xtrlock-2.0 b/x11-misc/xtrlock/files/digest-xtrlock-2.0
new file mode 100644
index 000000000000..169595f840ee
--- /dev/null
+++ b/x11-misc/xtrlock/files/digest-xtrlock-2.0
@@ -0,0 +1 @@
+MD5 9e967df7e3675f045b6349ff8cb9fdf1 xtrlock_2.0-6.tar.gz 6801
diff --git a/x11-misc/xtrlock/files/digest-xtrlock-2.0-r1 b/x11-misc/xtrlock/files/digest-xtrlock-2.0-r1
new file mode 100644
index 000000000000..169595f840ee
--- /dev/null
+++ b/x11-misc/xtrlock/files/digest-xtrlock-2.0-r1
@@ -0,0 +1 @@
+MD5 9e967df7e3675f045b6349ff8cb9fdf1 xtrlock_2.0-6.tar.gz 6801
diff --git a/x11-misc/xtrlock/files/xtrlock-2.0-overflow.patch b/x11-misc/xtrlock/files/xtrlock-2.0-overflow.patch
new file mode 100644
index 000000000000..0242247e4fe8
--- /dev/null
+++ b/x11-misc/xtrlock/files/xtrlock-2.0-overflow.patch
@@ -0,0 +1,25 @@
+--- xtrlock.c 1997-10-22 12:32:28.000000000 +0200
++++ xtrlock.c 2003-04-08 19:41:12.000000000 +0200
+@@ -14,6 +14,9 @@
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
++ *
++ * .. overflow bug patched by srakyi (http://srakyi.modry.cz) - no warranty
++ *
+ */
+
+ #include <X11/X.h>
+@@ -191,8 +194,10 @@
+ break;
+ default:
+ if (clen != 1) break;
+- if (rlen < sizeof(rbuf)) rbuf[rlen]= cbuf[0];
+- rlen++;
++ if (rlen < sizeof(rbuf)) {
++ rbuf[rlen]= cbuf[0];
++ rlen++;
++ }
+ break;
+ }
+ break;
diff --git a/x11-misc/xtrlock/metadata.xml b/x11-misc/xtrlock/metadata.xml
new file mode 100644
index 000000000000..2518313f5241
--- /dev/null
+++ b/x11-misc/xtrlock/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>desktop-misc</herd>
+</pkgmetadata>
diff --git a/x11-misc/xtrlock/xtrlock-2.0-r1.ebuild b/x11-misc/xtrlock/xtrlock-2.0-r1.ebuild
new file mode 100644
index 000000000000..b52780486dd7
--- /dev/null
+++ b/x11-misc/xtrlock/xtrlock-2.0-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xtrlock/xtrlock-2.0-r1.ebuild,v 1.1 2003/11/18 16:01:16 port001 Exp $
+
+MY_P=${P/-/_}-6
+S=${WORKDIR}/${P}
+DESCRIPTION="A simplistic screen locking program for X"
+SRC_URI="mirror://debian/dists/potato/main/source/x11/${MY_P}.tar.gz"
+HOMEPAGE="ftp://ftp.debian.org/debian/dists/stable/main/source/x11/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 ~ppc"
+
+DEPEND="virtual/x11"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-overflow.patch
+}
+
+src_compile() {
+ xmkmf || die
+ cp Makefile Makefile.orig
+ make CFLAGS="${CFLAGS} -DSHADOW_PWD" xtrlock || die
+}
+
+src_install() {
+ dobin xtrlock
+ chmod u+s ${D}/usr/bin/xtrlock
+ mv xtrlock.man xtrlock.1
+ doman xtrlock.1
+}
diff --git a/x11-misc/xtrlock/xtrlock-2.0.ebuild b/x11-misc/xtrlock/xtrlock-2.0.ebuild
new file mode 100644
index 000000000000..19e432626712
--- /dev/null
+++ b/x11-misc/xtrlock/xtrlock-2.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xtrlock/xtrlock-2.0.ebuild,v 1.1 2003/11/18 16:01:16 port001 Exp $
+
+MY_P=${P/-/_}-6
+S=${WORKDIR}/${P}
+DESCRIPTION="A simplistic screen locking program for X"
+SRC_URI="mirror://debian/dists/potato/main/source/x11/${MY_P}.tar.gz"
+HOMEPAGE="ftp://ftp.debian.org/debian/dists/stable/main/source/x11/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 ~ppc"
+
+DEPEND="virtual/x11"
+
+src_compile() {
+ xmkmf || die
+ cp Makefile Makefile.orig
+ make CFLAGS="${CFLAGS} -DSHADOW_PWD" xtrlock || die
+}
+
+src_install() {
+ dobin xtrlock
+ chmod u+s ${D}/usr/bin/xtrlock
+ mv xtrlock.man xtrlock.1
+ doman xtrlock.1
+}