From 9ce3bf4dad97e525498a177cd830ced6f8fa8d32 Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Thu, 7 Oct 2010 06:56:33 +0000 Subject: [PATCH] Updated patch for xinetd, which gets it a bit further but still needs more work. Initial .bep file and added the license. --- sys-apps/xinetd/licenses/Xinetd | 51 +++++++++++++++++++++ sys-apps/xinetd/patches/xinetd-2.3.14.patch | 16 ++++++- sys-apps/xinetd/xinetd-2.3.14.bep | 24 ++++++++++ 3 files changed, 89 insertions(+), 2 deletions(-) create mode 100644 sys-apps/xinetd/licenses/Xinetd create mode 100644 sys-apps/xinetd/xinetd-2.3.14.bep diff --git a/sys-apps/xinetd/licenses/Xinetd b/sys-apps/xinetd/licenses/Xinetd new file mode 100644 index 000000000..2d32df305 --- /dev/null +++ b/sys-apps/xinetd/licenses/Xinetd @@ -0,0 +1,51 @@ +ORIGINAL LICENSE: +This software is + +(c) Copyright 1992 by Panagiotis Tsirigotis + +The author (Panagiotis Tsirigotis) grants permission to use, copy, +and distribute this software and its documentation for any purpose +and without fee, provided that the above copyright notice extant in +files in this distribution is not removed from files included in any +redistribution and that this copyright notice is also included in any +redistribution. + +Modifications to this software may be distributed, either by distributing +the modified software or by distributing patches to the original software, +under the following additional terms: + +1. The version number will be modified as follows: + a. The first 3 components of the version number + (i.e ..) will remain unchanged. + b. A new component will be appended to the version number to indicate + the modification level. The form of this component is up to the + author of the modifications. + +2. The author of the modifications will include his/her name by appending it + along with the new version number to this file and will be responsible for + any wrong behavior of the modified software. + +The author makes no representations about the suitability of this +software for any purpose. It is provided "as is" without any express +or implied warranty. + + +Modifications: +Version: 2.1.8.7-current +Copyright 1998-2001 by Rob Braun + +Sensor Addition +Version: 2.1.8.9pre14a +Copyright 2001 by Steve Grubb + +This is an exerpt from an email I recieved from the original author, allowing +xinetd as maintained by me, to use the higher version numbers: + +I appreciate your maintaining the version string guidelines as specified +in the copyright. But I did not mean them to last as long as they did. + +So, if you want, you may use any 2.N.* (N >= 3) version string for future +xinetd versions that you release. Note that I am excluding the 2.2.* line; +using that would only create confusion. Naming the next release 2.3.0 +would put to rest the confusion about 2.2.1 and 2.1.8.*. + diff --git a/sys-apps/xinetd/patches/xinetd-2.3.14.patch b/sys-apps/xinetd/patches/xinetd-2.3.14.patch index 6696ef06a..4be13ca4a 100644 --- a/sys-apps/xinetd/patches/xinetd-2.3.14.patch +++ b/sys-apps/xinetd/patches/xinetd-2.3.14.patch @@ -1,6 +1,6 @@ diff -urN xinetd-2.3.14/configure.in xinetd-2.3.14-haiku/configure.in ---- xinetd-2.3.14/configure.in 2009-03-01 10:18:52.000000000 +0000 -+++ xinetd-2.3.14-haiku/configure.in 2009-03-01 10:02:23.000000000 +0000 +--- xinetd-2.3.14/configure.in 2005-03-30 23:15:28.060555264 +0000 ++++ xinetd-2.3.14-haiku/configure.in 2010-10-07 05:09:43.000000000 +0000 @@ -7,9 +7,9 @@ AC_PROG_RANLIB @@ -25,3 +25,15 @@ diff -urN xinetd-2.3.14/configure.in xinetd-2.3.14-haiku/configure.in AC_CHECK_FUNC(setenv,[AC_DEFINE(HAVE_SETENV)]) AC_CHECK_FUNC(strsignal, [AC_DEFINE(HAVE_STRSIGNAL)]) AC_CHECK_LIB(c, sys_siglist, [AC_DEFINE(HAVE_SYS_SIGLIST)]) +diff -urN xinetd-2.3.14/libs/src/sio/siosup.c xinetd-2.3.14-haiku/libs/src/sio/siosup.c +--- xinetd-2.3.14/libs/src/sio/siosup.c 2003-09-06 14:41:59.000262144 +0000 ++++ xinetd-2.3.14-haiku/libs/src/sio/siosup.c 2010-10-07 05:12:22.000000000 +0000 +@@ -13,7 +13,7 @@ + #include + #include + +-#ifdef _APPLE_ ++#if defined _APPLE_ || defined __HAIKU__ + #undef HAVE_MMAP + #endif + diff --git a/sys-apps/xinetd/xinetd-2.3.14.bep b/sys-apps/xinetd/xinetd-2.3.14.bep new file mode 100644 index 000000000..068235b15 --- /dev/null +++ b/sys-apps/xinetd/xinetd-2.3.14.bep @@ -0,0 +1,24 @@ +DESCRIPTION="powerful replacement for inetd" +HOMEPAGE="http://www.xinetd.org/" +SRC_URI="http://www.xinetd.org/xinetd-2.3.14.tar.gz" +REVISION="1" +STATUS_HAIKU="stable" +DEPEND="" +CHECKSUM_MD5="567382d7972613090215c6c54f9b82d9" +BUILD { + cd xinetd-2.3.14 + libtoolize --force --copy --install + aclocal + autoconf + ./configure --prefix=`finddir B_COMMON_DIRECTORY` + make +} + +INSTALL { + cd xinetd-2.3.14 + make install +} + +LICENSE="Xinetd" +COPYRIGHT="1992 by Panagiotis Tsirigotis + 1998-2001 by Rob Braun"