commit:     a09db871abd782835c0b689fbdb9577f96a38a49
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 18 08:29:50 2020 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Fri Sep 18 08:29:50 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a09db871

dev-java/rxtx: removed obsolete 2.2_pre2

Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-java/rxtx/files/rxtx-2.1-7r2-lfd.diff   |  14 ----
 dev-java/rxtx/files/rxtx-2.1-7r2-nouts.diff |  90 -------------------------
 dev-java/rxtx/rxtx-2.2_pre2.ebuild          | 101 ----------------------------
 3 files changed, 205 deletions(-)

diff --git a/dev-java/rxtx/files/rxtx-2.1-7r2-lfd.diff 
b/dev-java/rxtx/files/rxtx-2.1-7r2-lfd.diff
deleted file mode 100644
index 496d732ae2f..00000000000
--- a/dev-java/rxtx/files/rxtx-2.1-7r2-lfd.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- src/lfd/lockdaemon.c.orig  2004-10-12 10:59:28.000000000 +0200
-+++ src/lfd/lockdaemon.c       2006-10-29 22:46:58.000000000 +0100
-@@ -248,9 +248,8 @@
- 
-       if ( check_group_uucp() )
-       {
--              syslog( LOG_INFO, "check_lock_status: No permission to create 
lock file.
--
--              please see: How can I use Lock Files with rxtx? in INSTALL\n" );
-+              syslog( LOG_INFO, "check_lock_status: No permission to create 
lock file.\n\n"
-+                      "please see: How can I use Lock Files with rxtx? in 
INSTALL\n" );
-               return 1;
-       }
- 

diff --git a/dev-java/rxtx/files/rxtx-2.1-7r2-nouts.diff 
b/dev-java/rxtx/files/rxtx-2.1-7r2-nouts.diff
deleted file mode 100644
index fb05955c65f..00000000000
--- a/dev-java/rxtx/files/rxtx-2.1-7r2-nouts.diff
+++ /dev/null
@@ -1,90 +0,0 @@
---- src/I2CImp.c.orig  2004-10-17 16:23:02.000000000 +0200
-+++ src/I2CImp.c       2006-10-26 21:25:32.000000000 +0200
-@@ -87,6 +87,7 @@
-       if( !handler.sa_handler ) signal( SIGIO, SIG_IGN );
- #endif /* !__FreeBSD__ */
- #if defined(__linux__) 
-+#if 0
-       /* Lets let people who upgraded kernels know they may have problems */
-       if (uname (&name) == -1)
-       {
-@@ -98,6 +99,7 @@
-               fprintf(stderr, "\n\n\nRXTX WARNING:  This library was compiled 
to run with OS release %s and you are currently running OS release %s.  In some 
cases this can be a problem.  Try recompiling RXTX if you notice strange 
behavior.  If you just compiled RXTX make sure /usr/include/linux is a symbolic 
link to the include files that came with the kernel source and not an older 
copy.\n\n\npress enter to continue\n",UTS_RELEASE,name.release);
-               getchar();
-       }
-+#endif
- #endif /* __linux__ */
- #endif /* WIN32 */
- }
---- src/RawImp.c.orig  2004-10-16 18:20:35.000000000 +0200
-+++ src/RawImp.c       2006-10-26 21:25:59.000000000 +0200
-@@ -231,6 +231,7 @@
-       if( !handler.sa_handler ) signal( SIGIO, SIG_IGN );
- #endif /* !__FreeBSD__ */
- #if defined(__linux__) 
-+#if 0
-       /* Lets let people who upgraded kernels know they may have problems */
-       if (uname (&name) == -1)
-       {
-@@ -242,6 +243,7 @@
-               fprintf(stderr, "\n\n\nRXTX WARNING:  This library was compiled 
to run with OS release %s and you are currently running OS release %s.  In some 
cases this can be a problem.  Try recompiling RXTX if you notice strange 
behavior.  If you just compiled RXTX make sure /usr/include/linux is a symbolic 
link to the include files that came with the kernel source and not an older 
copy.\n\n\npress enter to continue\n",UTS_RELEASE,name.release);
-               getchar();
-       }
-+#endif
- #endif /* __linux__ */
- #endif /* WIN32 */
- }
---- src/RS485Imp.c.orig        2004-10-16 18:20:35.000000000 +0200
-+++ src/RS485Imp.c     2006-10-26 21:26:23.000000000 +0200
-@@ -87,6 +87,7 @@
-       if( !handler.sa_handler ) signal( SIGIO, SIG_IGN );
- #endif /* !__FreeBSD__ */
- #if defined(__linux__) 
-+#if 0
-       /* Lets let people who upgraded kernels know they may have problems */
-       if (uname (&name) == -1)
-       {
-@@ -98,6 +99,7 @@
-               fprintf(stderr, "\n\n\nRXTX WARNING:  This library was compiled 
to run with OS release %s and you are currently running OS release %s.  In some 
cases this can be a problem.  Try recompiling RXTX if you notice strange 
behavior.  If you just compiled RXTX make sure /usr/include/linux is a symbolic 
link to the include files that came with the kernel source and not an older 
copy.\n\n\npress enter to continue\n",UTS_RELEASE,name.release);
-               getchar();
-       }
-+#endif
- #endif /* __linux__ */
- #endif /* WIN32 */
- }
---- src/SerialImp.c.orig       2006-01-29 23:19:04.000000000 +0100
-+++ src/SerialImp.c    2006-10-26 21:26:59.000000000 +0200
-@@ -280,6 +280,7 @@
-       gettimeofday(&seloop, NULL);
- #endif /* DEBUG_TIMING */
- #if defined(DEBUG) && defined(__linux__)
-+#if 0
-       /* Lets let people who upgraded kernels know they may have problems */
-       if (uname (&name) == -1)
-       {
-@@ -295,6 +296,7 @@
-               getchar();
-       }
-       LEAVE( "RXTXPort:Initialize" );
-+#endif
- #endif /* DEBUG && __linux__ */
- }
- 
---- src/SerialImp.cpp.orig     2004-10-12 10:59:27.000000000 +0200
-+++ src/SerialImp.cpp  2006-10-26 21:27:44.000000000 +0200
-@@ -102,6 +102,7 @@
-       if( !handler.sa_handler ) signal( SIGIO, SIG_IGN );
- #endif /* !__FreeBSD__ */
- #ifdef DEBUG
-+#if 0
-       /* Lets let people who upgraded kernels know they may have problems */
-       if (uname (&name) == -1)
-       {
-@@ -114,6 +115,7 @@
-                       name.release);
-               getchar();
-       }
-+#endif
- #endif /* DEBUG */
- #endif /* __BEOS__ */
- #endif /* WIN32 */

diff --git a/dev-java/rxtx/rxtx-2.2_pre2.ebuild 
b/dev-java/rxtx/rxtx-2.2_pre2.ebuild
deleted file mode 100644
index 906a1b6e047..00000000000
--- a/dev-java/rxtx/rxtx-2.2_pre2.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-
-inherit toolchain-funcs versionator autotools java-pkg-2
-
-MY_PV="$(delete_version_separator 2)"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="Native lib providing serial and parallel communication for Java"
-HOMEPAGE="http://rxtx.qbang.org/";
-SRC_URI="ftp://ftp.qbang.org/pub/rxtx/${MY_P}.zip";
-
-LICENSE="LGPL-2"
-SLOT="2"
-KEYWORDS="amd64 x86"
-IUSE="doc source lfd"
-
-RDEPEND=">=virtual/jre-1.4"
-
-DEPEND=">=virtual/jdk-1.4
-       app-arch/unzip
-       dev-java/ant-core
-       lfd? ( sys-apps/xinetd )
-       source? ( app-arch/zip )"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
-       # some minor fixes
-       sed -i -e "s:UTS_RELEASE::g" configure.in || die
-       sed -i -e "s:|1.5\*:|1.5*|1.6*|1.7*:g" configure.in || die
-       sed -i -e "s:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:g" configure.in || die
-       sed -i -e "s:\(\$(JAVADOC)\):\1 -d api:g" Makefile.am || die
-
-       # some patches
-       epatch "${FILESDIR}/${PN}-2.1-7r2-lfd.diff"
-       epatch "${FILESDIR}/${PN}-2.1-7r2-nouts.diff"
-       epatch "${FILESDIR}/${P}-add-ttyACM.patch"
-
-       # update autotools stuff
-       rm acinclude.m4
-       eautoreconf
-       elibtoolize
-}
-
-src_configure() {
-       econf \
-               $(use_enable lfd lockfile_server)
-}
-
-src_compile() {
-       emake
-
-       if use lfd ; then
-               # see INSTALL in src/ldf
-               $(tc-getCC) ${LDFLAGS} ${CFLAGS} src/lfd/lockdaemon.c -o 
src/lfd/in.lfd || die "compiling lfd failed"
-       fi
-
-       if use doc ; then
-               emake docs
-       fi
-
-       #Fix for src zip creation
-       if use source ; then
-               mkdir -p src_with_pkg/gnu
-               ln -s ../../src src_with_pkg/gnu/io
-       fi
-}
-
-src_install() {
-       java-pkg_dojar RXTXcomm.jar
-       java-pkg_doso ${CHOST}/.libs/*.so
-
-       dodoc AUTHORS ChangeLog INSTALL PORTING TODO SerialPortInstructions.txt
-       dohtml RMISecurityManager.html
-
-       if use lfd ; then
-               insinto /etc/xinetd.d
-               newins "${FILESDIR}/lockfiled.xinetd" lfd
-               dosbin src/lfd/in.lfd
-               dodoc src/lfd/LockFileServer.rfc
-       fi
-
-       use doc && java-pkg_dojavadoc api
-       use source && java-pkg_dosrc src_with_pkg/gnu
-}
-
-pkg_postinst() {
-       if use lfd ; then
-               elog "Don't forget to enable the LockFileServer"
-               elog "daemon (lfd) in /etc/xinetd.d/lfd"
-       else
-               elog "RXTX uses UUCP style device-locks. You should"
-               elog "add every user who needs to access serial ports"
-               elog "to the 'uucp' group:"
-               elog
-               elog "    usermod -aG uucp <user>"
-       fi
-}

Reply via email to