summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bevitt <cyfred@gentoo.org>2004-03-01 09:28:33 +0000
committerAndrew Bevitt <cyfred@gentoo.org>2004-03-01 09:28:33 +0000
commit0fa02d3fb2eeed16e9b7209c5f2941b50927811a (patch)
treec4a7edf9b4e53ab5ab036924dc0d57b2c58eee6f
parentVersion bumped. (Manifest recommit) (diff)
downloadgentoo-2-0fa02d3fb2eeed16e9b7209c5f2941b50927811a.tar.gz
gentoo-2-0fa02d3fb2eeed16e9b7209c5f2941b50927811a.tar.bz2
gentoo-2-0fa02d3fb2eeed16e9b7209c5f2941b50927811a.zip
New package Seyon. Thanks to James Dumay for working through this, bug 38264
-rw-r--r--x11-misc/seyon/ChangeLog7
-rw-r--r--x11-misc/seyon/Manifest7
-rw-r--r--x11-misc/seyon/files/digest-seyon-2.20c1
-rw-r--r--x11-misc/seyon/files/seyon-2.20c-compile-fix.patch60
-rw-r--r--x11-misc/seyon/files/seyon-2.20c-lock-file-fix.patch32
-rw-r--r--x11-misc/seyon/files/seyon-2.20c-makefile-patch.patch12
-rw-r--r--x11-misc/seyon/metadata.xml6
-rw-r--r--x11-misc/seyon/seyon-2.20c.ebuild41
8 files changed, 166 insertions, 0 deletions
diff --git a/x11-misc/seyon/ChangeLog b/x11-misc/seyon/ChangeLog
new file mode 100644
index 000000000000..ac99ad299beb
--- /dev/null
+++ b/x11-misc/seyon/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for x11-misc/seyon
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/seyon/ChangeLog,v 1.1 2004/03/01 09:28:33 cyfred Exp $
+
+ 01 Mar 2004; Andrew Bevitt <cyfred@gentoo.org>; :
+ New package. Thanks to James Dumay for working through this, bug 38264
+
diff --git a/x11-misc/seyon/Manifest b/x11-misc/seyon/Manifest
new file mode 100644
index 000000000000..57fc1b23f386
--- /dev/null
+++ b/x11-misc/seyon/Manifest
@@ -0,0 +1,7 @@
+MD5 e852d77ac11657f19ed40e88e78809a1 seyon-2.20c.ebuild 1309
+MD5 d82b32c9e7552720af37bfa5422c5bfa ChangeLog 249
+MD5 54822d5f9ce695807e5587b4599508a3 metadata.xml 286
+MD5 e638de11183c1abccec465cff58508e1 files/digest-seyon-2.20c 68
+MD5 9792d7b3377e4ed0c863e97f7a5a143b files/seyon-2.20c-compile-fix.patch 1739
+MD5 e83cc993ec4221c12a63f259e10fb4d7 files/seyon-2.20c-makefile-patch.patch 562
+MD5 9bbb1e4fc0479e80b82ac13caacd30e6 files/seyon-2.20c-lock-file-fix.patch 976
diff --git a/x11-misc/seyon/files/digest-seyon-2.20c b/x11-misc/seyon/files/digest-seyon-2.20c
new file mode 100644
index 000000000000..bfd22d570973
--- /dev/null
+++ b/x11-misc/seyon/files/digest-seyon-2.20c
@@ -0,0 +1 @@
+MD5 82ab5470a93ef591fe4c3b2b40f91469 seyon_2.20c.orig.tar.gz 167487
diff --git a/x11-misc/seyon/files/seyon-2.20c-compile-fix.patch b/x11-misc/seyon/files/seyon-2.20c-compile-fix.patch
new file mode 100644
index 000000000000..75ddac579ff3
--- /dev/null
+++ b/x11-misc/seyon/files/seyon-2.20c-compile-fix.patch
@@ -0,0 +1,60 @@
+--- seyon-2.20c/SeDecl.h 1993-07-02 10:01:39.000000000 +1000
++++ seyon_2.20c_new/SeDecl.h 2004-02-11 05:56:50.002034512 +1100
+@@ -65,8 +65,7 @@
+ get_modem_fio();
+ extern FILE *open_file(),
+ *open_file_va();
+-extern void send_break(),
+- usleep(),
++extern void send_break(),
+ show(),
+ showf(),
+ SeyonMessage(),
+--- seyon-2.20c/SeParse.y 1993-07-02 10:01:42.000000000 +1000
++++ seyon_2.20c_new/SeParse.y 2004-02-11 06:01:36.347503384 +1100
+@@ -50,9 +50,9 @@
+ {
+ (*callbackProc)(4, msg);
+ }
+-
+-#ifdef TEST
+-void SignalBeginFunction(char *name)
++/*
++##ifdef TEST
++#void SignalBeginFunction(char *name)
+ {
+ printf("** Function call: %s(", name);
+ }
+@@ -103,3 +103,4 @@
+ ParseThis(long_line);
+ }
+ #endif TEST
++*/
+--- seyon-2.20c/SeScan.c 1993-07-02 10:01:42.000000000 +1000
++++ seyon_2.20c_new/SeScan.c 2004-02-11 05:58:56.144857888 +1100
+@@ -286,14 +286,3 @@
+ scSetInputBuffer(line);
+ return GetNextWord();
+ }
+-
+-#ifdef TEST
+-main()
+-{
+- scSetInputBuf("Just to see if we'\\'re \\n\\033 able to distinguish' words and strings
+-\"Also 'quotes' inside strings\" and 'strs \"inside quotes\"'
+-Not to forget ^S and ^q control ^ chars");
+-
+- while (lGetWord() != 0);
+-}
+-#endif
+--- seyon-2.20c/Seyon.ad.h 1993-07-02 10:01:41.000000000 +1000
++++ seyon_2.20c_new/Seyon.ad.h 2004-02-11 05:51:03.417723336 +1100
+@@ -21,7 +21,7 @@
+ "*XfwfMultiList.defaultColumns: 1",
+ "*XfwfMultiList.verticaList: true",
+ "*XfwfMultiList.maxSelectable: 100",
+-"*XfwfMultiList.Translations: #replcae \\n\
++"*XfwfMultiList.Translations: #replace \\n\
+ <Btn1Down>(2): Select() Notify() \\n\
+ <Btn1Down>: Toggle() \\n\
+ <Btn2Down>: Select() Notify() \\n\
diff --git a/x11-misc/seyon/files/seyon-2.20c-lock-file-fix.patch b/x11-misc/seyon/files/seyon-2.20c-lock-file-fix.patch
new file mode 100644
index 000000000000..7ea06a7d106a
--- /dev/null
+++ b/x11-misc/seyon/files/seyon-2.20c-lock-file-fix.patch
@@ -0,0 +1,32 @@
+--- seyon-2.20c/config.h 1993-07-02 10:01:42.000000000 +1000
++++ seyon-2.20c-new/config.h 2004-02-12 10:31:45.716008808 +1100
+@@ -101,7 +101,8 @@
+ #define HAVE_SELECT YES
+ #define LF_USE_ASCII_PID YES
+ #define LF_USE_DEV_NUMBERS YES
+-#define LF_PATH "/usr/spool/locks"
++//#define LF_PATH "/usr/spool/locks"
++#define LF_PATH "/var/lock/uucp"
+ #define LF_PREFIX "LK."
+ #endif
+
+@@ -199,7 +200,8 @@
+ #define HAVE_SELECT YES
+ #define LF_USE_ASCII_PID NO
+ #define LF_USE_DEV_NUMBERS NO
+-#define LF_PATH "/usr/spool/locks"
++//#define LF_PATH "/usr/spool/locks"
++#define LF_PATH "/var/lock/uucp"
+ #define LF_PREFIX "LCK.."
+ #define B19200 16
+ #define B38400 17
+@@ -319,7 +321,8 @@
+ */
+
+ #ifndef LF_PATH
+-#define LF_PATH "/usr/spool/uucp"
++//#define LF_PATH "/usr/spool/uucp"
++#define LF_PATH "/var/lock/uucp"
+ #endif
+
+ /*
diff --git a/x11-misc/seyon/files/seyon-2.20c-makefile-patch.patch b/x11-misc/seyon/files/seyon-2.20c-makefile-patch.patch
new file mode 100644
index 000000000000..70b66f3785a2
--- /dev/null
+++ b/x11-misc/seyon/files/seyon-2.20c-makefile-patch.patch
@@ -0,0 +1,12 @@
+--- seyon-2.20c/Makefile 2004-02-11 06:58:43.501496784 +1100
++++ seyon_2.20c_new/Makefile 2004-02-11 06:56:08.673034288 +1100
+@@ -1150,9 +1150,6 @@
+ fi
+ $(INSTALL) $(INSTALLFLAGS) $(INSTDATFLAGS) seyon.help $(DESTDIR)$(LIBDIR)/seyon.help
+
+-install::
+- @if [ ! -d $(HOME)/.seyon ]; then mkdir $(HOME)/.seyon; fi; echo "=== Copying example files (no overwrite) to $(HOME)/.seyon ..."; for i in phonelist protocols startup script.*; do if [ ! -f $(HOME)/.seyon/$$i ]; then cp $$i $(HOME)/.seyon; fi; done;
+-
+ cleandir::
+ rm -f version.h y.tab.* SeParse.c
+
diff --git a/x11-misc/seyon/metadata.xml b/x11-misc/seyon/metadata.xml
new file mode 100644
index 000000000000..3784da5583b1
--- /dev/null
+++ b/x11-misc/seyon/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>desktop-misc</herd>
+<longdescription>Seyon is a complete full-featured telecommunications package for the X Window System.</longdescription>
+</pkgmetadata>
diff --git a/x11-misc/seyon/seyon-2.20c.ebuild b/x11-misc/seyon/seyon-2.20c.ebuild
new file mode 100644
index 000000000000..db49de947913
--- /dev/null
+++ b/x11-misc/seyon/seyon-2.20c.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/seyon/seyon-2.20c.ebuild,v 1.1 2004/03/01 09:28:33 cyfred Exp $
+
+DESCRIPTION="Seyon is a complete full-featured telecommunications package for the X Window System. Some of its features are: dialing directory, scripting language, external file transfer protocol support, zmodem auto-download and configurable keyboard translation modes."
+HOMEPAGE="http://www.debian.org/"
+SRC_URI="ftp://ftp.debian.org/debian/pool/main/s/seyon/seyon_2.20c.orig.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="virtual/x11"
+
+src_compile() {
+ epatch ${FILESDIR}/${P}-compile-fix.patch
+
+ #fixes pronlem with lockfiles #38264
+ epatch ${FILESDIR}/${P}-lock-file-fix.patch
+
+ export PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin/"
+ xmkmf || die "xmkmf failed"
+
+ chmod 0750 makever.sh || die "could not set executable permissions to makever.sh"
+
+ epatch ${FILESDIR}/${P}-makefile-patch.patch
+
+ make || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ make DESTDIR=${D} install.man
+}
+
+pkg_postinst() {
+ mkdir /var/lock/uucp
+ touch /var/lock/seyon_locks
+}
+
+DOCS="1-BUGREPORT 1-CHANGES 1-COPYING 1-FAQ 1-HISTORY 1-INSTALL 1-PORTING 1-README 1-SURVEY 1-TODO COPYING"