Browse Source

xinetd: drop package

Waldemar Brodkorb 3 weeks ago
parent
commit
f1119c3565

+ 0 - 33
package/xinetd/Makefile

@@ -1,33 +0,0 @@
-# This file is part of the OpenADK project. OpenADK is copyrighted
-# material, please see the LICENCE file in the top-level directory.
-
-include $(ADK_TOPDIR)/rules.mk
-
-PKG_NAME:=		xinetd
-PKG_VERSION:=		2.3.15
-PKG_RELEASE:=		1
-PKG_HASH:=		bf4e060411c75605e4dcbdf2ac57c6bd9e1904470a2f91e01ba31b50a80a5be3
-PKG_DESCR:=		powerful and secure superserver
-PKG_SECTION:=		net/misc
-PKG_URL:=		http://www.xinetd.org/
-PKG_SITES:=		ftp://mirror.ovh.net/gentoo-distfiles/distfiles/
-
-DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz
-
-include $(ADK_TOPDIR)/mk/package.mk
-
-$(eval $(call PKG_template,XINETD,xinetd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-
-CONFIGURE_ENV+=		xinetd_cv_type_rlim_t=yes
-CONFIGURE_ARGS+=	--without-libwrap \
-			--with-loadavg
-ALL_TARGET:=		build
-TARGET_CPPFLAGS+=	-I$(STAGING_TARGET_DIR)/usr/include/tirpc
-TARGET_LDFLAGS+=	-ltirpc
-
-xinetd-install:
-	${INSTALL_DIR} ${IDIR_XINETD}/etc/xinetd.d ${IDIR_XINETD}/usr/sbin
-	${INSTALL_DATA} ./files/xinetd.conf ${IDIR_XINETD}/etc/xinetd.conf
-	${INSTALL_BIN} ${WRKINST}/usr/sbin/xinetd ${IDIR_XINETD}/usr/sbin/
-
-include ${ADK_TOPDIR}/mk/pkg-bottom.mk

+ 0 - 6
package/xinetd/files/xinetd.conf

@@ -1,6 +0,0 @@
-defaults
-{
-
-}
-
-includedir /etc/xinetd.d

+ 0 - 1
package/xinetd/files/xinetd.conffiles

@@ -1 +0,0 @@
-/etc/xinetd.conf

+ 0 - 28
package/xinetd/files/xinetd.init

@@ -1,28 +0,0 @@
-#!/bin/sh
-#PKG xinetd
-#INIT 50
-. /etc/rc.conf
-
-case $1 in
-autostop) ;;
-autostart)
-	test x"${xinetd:-NO}" = x"NO" && exit 0
-	test x"$xinetd" = x"DAEMON" && test -x /bin/mksh && exec mksh -T- $0 start
-	exec sh $0 start
-	;;
-start)
-	/usr/sbin/xinetd
-	;;
-stop)
-	kill $(pgrep -f /usr/sbin/xinetd)
-	;;
-restart)
-	sh $0 stop
-	sh $0 start
-	;;
-*)
-	echo "Usage: $0 {start | stop | restart}"
-	exit 1
-	;;
-esac
-exit $?

+ 0 - 3
package/xinetd/files/xinetd.postinst

@@ -1,3 +0,0 @@
-#!/bin/sh
-. $IPKG_INSTROOT/etc/functions.sh
-add_rcconf xinetd NO

+ 0 - 27
package/xinetd/patches/patch-Makefile_in

@@ -1,27 +0,0 @@
---- xinetd-2.3.15.orig/Makefile.in	2007-09-20 19:01:52.000000000 +0200
-+++ xinetd-2.3.15/Makefile.in	2014-03-23 22:50:01.000000000 +0100
-@@ -75,15 +75,15 @@ dlibxlog: dlibsio dlibstr
- 
- install: build
- 	for i in $(DAEMONDIR) $(BINDIR) $(MANDIR)/man5 $(MANDIR)/man8 ; do \
--	   test -d $$i || mkdir -p $$i ; done
--	$(INSTALL_CMD) -m 755 xinetd/xinetd $(DAEMONDIR)
--	$(INSTALL_CMD) -m 755 xinetd/itox $(DAEMONDIR)
--	$(INSTALL_CMD) -m 755 $(SRCDIR)/xinetd/xconv.pl $(DAEMONDIR)
--	$(INSTALL_CMD) -m 644 $(SRCDIR)/xinetd/xinetd.conf.man $(MANDIR)/man5/xinetd.conf.5
--	$(INSTALL_CMD) -m 644 $(SRCDIR)/xinetd/xinetd.log.man $(MANDIR)/man8/xinetd.log.8
--	$(INSTALL_CMD) -m 644 $(SRCDIR)/xinetd/xinetd.man $(MANDIR)/man8/xinetd.8
--	$(INSTALL_CMD) -m 644 $(SRCDIR)/xinetd/itox.8 $(MANDIR)/man8/itox.8
--	$(INSTALL_CMD) -m 644 $(SRCDIR)/xinetd/xconv.pl.8 $(MANDIR)/man8/xconv.pl.8
-+	   test -d $(DESTDIR)$$i || mkdir -p $(DESTDIR)$$i ; done
-+	$(INSTALL_CMD) -m 755 xinetd/xinetd $(DESTDIR)$(DAEMONDIR)
-+	$(INSTALL_CMD) -m 755 xinetd/itox $(DESTDIR)$(DAEMONDIR)
-+	$(INSTALL_CMD) -m 755 $(SRCDIR)/xinetd/xconv.pl $(DESTDIR)$(DAEMONDIR)
-+	$(INSTALL_CMD) -m 644 $(SRCDIR)/xinetd/xinetd.conf.man $(DESTDIR)$(MANDIR)/man5/xinetd.conf.5
-+	$(INSTALL_CMD) -m 644 $(SRCDIR)/xinetd/xinetd.log.man $(DESTDIR)$(MANDIR)/man8/xinetd.log.8
-+	$(INSTALL_CMD) -m 644 $(SRCDIR)/xinetd/xinetd.man $(DESTDIR)$(MANDIR)/man8/xinetd.8
-+	$(INSTALL_CMD) -m 644 $(SRCDIR)/xinetd/itox.8 $(DESTDIR)$(MANDIR)/man8/itox.8
-+	$(INSTALL_CMD) -m 644 $(SRCDIR)/xinetd/xconv.pl.8 $(DESTDIR)$(MANDIR)/man8/xconv.pl.8
- 	@echo "You must put your xinetd.conf in /etc/xinetd.conf"
- 	@echo "There is a sample config file in xinetd/sample.conf and you can"
- 	@echo "use xconv.pl to convert your old inetd.conf file to an xinetd format"

+ 0 - 11
package/xinetd/patches/patch-libs_src_misc_Makefile_in

@@ -1,11 +0,0 @@
---- xinetd-2.3.14.orig/libs/src/misc/Makefile.in	2003-02-19 18:29:27.000000000 +0100
-+++ xinetd-2.3.14/libs/src/misc/Makefile.in	2011-01-22 20:48:18.898658731 +0100
-@@ -62,7 +62,7 @@ libopt: clean
- 
- 
- $(LIBNAME): $(OBJECTS)
--	ar r $@ $?
-+	$(AR) r $@ $?
- 	$(RANLIB) $@
- 
- install: $(LIBNAME)

+ 0 - 11
package/xinetd/patches/patch-libs_src_portable_Makefile_in

@@ -1,11 +0,0 @@
---- xinetd-2.3.14.orig/libs/src/portable/Makefile.in	2003-02-19 18:29:27.000000000 +0100
-+++ xinetd-2.3.14/libs/src/portable/Makefile.in	2011-01-22 20:48:18.898658731 +0100
-@@ -57,7 +57,7 @@ libopt: clean
- 
- 
- $(LIBNAME): $(OBJECTS)
--	ar r $@ $?
-+	$(AR) r $@ $?
- 	$(RANLIB) $@
- 
- install: $(LIBNAME)

+ 0 - 11
package/xinetd/patches/patch-libs_src_pset_Makefile_in

@@ -1,11 +0,0 @@
---- xinetd-2.3.14.orig/libs/src/pset/Makefile.in	2003-02-19 18:29:27.000000000 +0100
-+++ xinetd-2.3.14/libs/src/pset/Makefile.in	2011-01-22 20:48:18.898658731 +0100
-@@ -53,7 +53,7 @@ libopt: clean
- 	mv $(LIBNAME) $(LIBDIR)/optimized
- 
- $(LIBNAME): $(OBJECTS)
--	ar r $@ $?
-+	$(AR) r $@ $?
- 	$(RANLIB) $@
- 
- install: $(LIBNAME)

+ 0 - 11
package/xinetd/patches/patch-libs_src_sio_Makefile_in

@@ -1,11 +0,0 @@
---- xinetd-2.3.14.orig/libs/src/sio/Makefile.in	2003-02-19 18:29:27.000000000 +0100
-+++ xinetd-2.3.14/libs/src/sio/Makefile.in	2011-01-22 20:48:18.908649341 +0100
-@@ -52,7 +52,7 @@ libopt: clean
- 	$(INSTALL) $(FMODE) $(LIBNAME) $(LIBDIR)/optimized
- 
- $(LIBNAME): $(OBJECTS)
--	ar r $@ $?
-+	$(AR) r $@ $?
- 	$(RANLIB) $@
- 
- install: $(LIBNAME)

+ 0 - 11
package/xinetd/patches/patch-libs_src_str_Makefile_in

@@ -1,11 +0,0 @@
---- xinetd-2.3.14.orig/libs/src/str/Makefile.in	2003-02-19 18:29:27.000000000 +0100
-+++ xinetd-2.3.14/libs/src/str/Makefile.in	2011-01-22 20:48:18.908649341 +0100
-@@ -63,7 +63,7 @@ libopt: clean
- 	$(INSTALL) $(FMODE) $(LIBNAME) $(LIBDIR)-O
- 
- $(LIBNAME): $(OBJECTS)
--	ar r $@ $?
-+	$(AR) r $@ $?
- 	$(RANLIB) $@
- 
- LINT_IGNORE=possible pointer alignment|RCSid unused

+ 0 - 11
package/xinetd/patches/patch-libs_src_xlog_Makefile_in

@@ -1,11 +0,0 @@
---- xinetd-2.3.14.orig/libs/src/xlog/Makefile.in	2003-02-19 18:29:27.000000000 +0100
-+++ xinetd-2.3.14/libs/src/xlog/Makefile.in	2011-01-22 20:48:18.918658317 +0100
-@@ -58,7 +58,7 @@ libopt: clean
- 	$(INSTALL) $(FMODE) $(LIBNAME) $(LIBDIR)/optimized
- 
- $(LIBNAME): $(OBJECTS)
--	ar r $@ $?
-+	$(AR) r $@ $?
- 	$(RANLIB) $@
- 
- install: $(LIBNAME)

+ 0 - 18
package/xinetd/patches/patch-xinetd_confparse_c

@@ -1,18 +0,0 @@
---- xinetd-2.3.15.orig/xinetd/confparse.c	2007-09-20 16:58:27.000000000 +0200
-+++ xinetd-2.3.15/xinetd/confparse.c	2014-03-23 22:39:37.000000000 +0100
-@@ -746,6 +746,7 @@ static status_e check_entry( struct serv
-    }
- 
- /* #ifndef NO_RPC */
-+#if 0
- #if defined(HAVE_RPC_RPCENT_H) || defined(HAVE_NETDB_H)
-    if ( SC_IS_RPC( scp ) && !SC_IS_UNLISTED( scp ) )
-    {
-@@ -760,6 +761,7 @@ static status_e check_entry( struct serv
-    }
-    else
- #endif   /* ! NO_RPC */
-+#endif
-    {
-        if ( !SC_IS_UNLISTED( scp ) ) 
-        {