Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

383 Commits   1 Branch   1 Tag
Index: 1.79/Makefile
===================================================================
--- 1.79/Makefile	(nonexistent)
+++ 1.79/Makefile	(revision 5)
@@ -0,0 +1,187 @@
+
+COMPONENT_TARGETS  = $(HARDWARE_INTEL_PC32)
+COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
+COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_CB2X)
+COMPONENT_TARGETS += $(HARDWARE_CB3X)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
+COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
+COMPONENT_TARGETS += $(HARDWARE_POIN2)
+COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
+COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
+COMPONENT_TARGETS += $(HARDWARE_M201)
+COMPONENT_TARGETS += $(HARDWARE_MXV)
+COMPONENT_TARGETS += $(HARDWARE_P201)
+COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
+COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
+COMPONENT_TARGETS += $(HARDWARE_P212)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
+COMPONENT_TARGETS += $(HARDWARE_Q201)
+COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
+COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
+COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
+COMPONENT_TARGETS += $(HARDWARE_CI20)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
+COMPONENT_TARGETS += $(HARDWARE_S824L)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN)
+COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
+
+
+NEED_ABS_PATH      = true
+COMPONENT_IS_3PP   = true
+
+
+include ../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES    = sources/packages/n/inetd
+
+REQUIRES           = net/libtirpc/1.3.1
+REQUIRES          += net/rpcsvc-proto/1.4.2
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version            = 1.79
+tar_gz_archive     = $(SRC_PACKAGE_PATH)/packages/n/inetd/inetd-OpenBSD-$(version).tar.gz
+SRC_ARCHIVE        = $(tar_gz_archive)
+SRC_DIR            = $(TARGET_BUILD_DIR)/inetd
+src_dir_name       = inetd
+src_done           = $(TARGET_BUILD_DIR)/.source-done
+
+
+PATCHES = PATCHES
+
+build_target       = $(TARGET_BUILD_DIR)/.build_done
+install_target     = $(TARGET_BUILD_DIR)/.install_done
+
+
+inetd_readme_file  = $(CURDIR)/doc/README
+inetd_config_file  = $(CURDIR)/conf/inetd.conf.new
+inetd_script_file  = $(CURDIR)/conf/rc.d/rc.inetd.new
+
+
+####### Targets
+
+PKG_GROUP = net
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+INETD_PKG_NAME                = inetd
+INETD_PKG_VERSION             = 1.79
+INETD_PKG_ARCH                = $(PKGARCH)
+INETD_PKG_DISTRO_NAME         = $(DISTRO_NAME)
+INETD_PKG_DISTRO_VERSION      = $(DISTRO_VERSION)
+INETD_PKG_GROUP               = $(PKG_GROUP)
+###                            |---handy-ruler-------------------------------|
+INETD_PKG_SHORT_DESCRIPTION   = Internet super-server
+INETD_PKG_URL                 = $(BUG_URL)
+INETD_PKG_LICENSE             = BSD
+INETD_PKG_DESCRIPTION_FILE    = $(TARGET_BUILD_DIR)/$(INETD_PKG_NAME)-pkg-description
+INETD_PKG_DESCRIPTION_FILE_IN = $(INETD_PKG_NAME)-pkg-description.in
+INETD_PKG_INSTALL_SCRIPT      = $(INETD_PKG_NAME)-pkg-install.sh
+
+INETD_PKG        = $(CURDIR)/$(TARGET_BUILD_DIR)/$(INETD_PKG_NAME)-package
+
+pkg_basename     = $(INETD_PKG_NAME)-$(INETD_PKG_VERSION)-$(INETD_PKG_ARCH)-$(INETD_PKG_DISTRO_NAME)-$(INETD_PKG_DISTRO_VERSION)
+
+pkg_archive      = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_certificate  = $(call cert-name,$(pkg_archive))
+pkg_signature    = $(call sign-name,$(pkg_archive))
+pkg_description  = $(call desc-name,$(pkg_archive))
+products         = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS    = $(build_target)
+BUILD_TARGETS   += $(install_target)
+
+PRODUCT_TARGETS  = $(products)
+
+ROOTFS_TARGETS   = $(pkg_archive)
+
+
+include ../../../build-system/core.mk
+
+
+inetd_CFLAGS = -isystem $(TARGET_DEST_DIR)/usr/include $(OPTIMIZATION_FLAGS) $(ARCH_FLAGS) $(HW_FLAGS)
+inetd_environment  = CFLAGS="$(inetd_CFLAGS) -I$(TARGET_DEST_DIR)/usr/include/tirpc -Wno-deprecated -Wno-deprecated-declarations -Wno-implicit-function-declaration"
+inetd_environment += LIBS="-ltirpc"
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	# ======= GCC 4 fix (thanks Fred Emmott): =======
+	@( cd $(SRC_DIR) ; \
+	   sed -i 's#(type)\([a-z]\)=(type)\([a-z]\)#\1=(type)\2#g' inetd.c ; \
+	 )
+	@touch $@
+
+$(build_target): $(src_done)
+	@cd $(SRC_DIR) && $(BUILD_ENVIRONMENT) $(inetd_environment) $(MAKE)
+	@touch $@
+
+$(install_target): $(build_target)
+	@mkdir -p $(INETD_PKG)/etc/rc.d
+	@mkdir -p $(INETD_PKG)/usr/sbin
+	@mkdir -p $(INETD_PKG)/usr/share/man/man8
+	@mkdir -p $(INETD_PKG)/usr/share/doc/inetd-OpenBSD-$(version)
+	@( cd $(SRC_DIR) ; \
+	   cat inetd > $(INETD_PKG)/usr/sbin/inetd ; \
+	   chmod 755 $(INETD_PKG)/usr/sbin/* ; \
+	   cat inetd.8 | gzip -9c > $(INETD_PKG)/usr/share/man/man8/inetd.8.gz ; \
+	 )
+	@cp -a $(inetd_readme_file) $(INETD_PKG)/usr/share/doc/inetd-OpenBSD-$(version)
+	@cp -a $(inetd_config_file) $(INETD_PKG)/etc
+	@cp -a $(inetd_script_file) $(INETD_PKG)/etc/rc.d
+	# ======= Install the same to $(TARGET_DEST_DIR) =======
+	$(call install-into-devenv, $(INETD_PKG))
+	# ======= Strip binaries =======
+	@( cd $(INETD_PKG) ; \
+	   find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+	 )
+	@touch $@
+
+$(INETD_PKG_DESCRIPTION_FILE): $(INETD_PKG_DESCRIPTION_FILE_IN)
+	@cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
+
+$(pkg_certificate) : $(pkg_archive) ;
+$(pkg_signature)   : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(INETD_PKG_DESCRIPTION_FILE) $(INETD_PKG_INSTALL_SCRIPT)
+	@cp $(INETD_PKG_DESCRIPTION_FILE) $(INETD_PKG)/.DESCRIPTION
+	@cp $(INETD_PKG_INSTALL_SCRIPT) $(INETD_PKG)/.INSTALL
+	@$(BUILD_PKG_REQUIRES) $(INETD_PKG)/.REQUIRES
+	@echo "pkgname=$(INETD_PKG_NAME)"                            >  $(INETD_PKG)/.PKGINFO ; \
+	 echo "pkgver=$(INETD_PKG_VERSION)"                          >> $(INETD_PKG)/.PKGINFO ; \
+	 echo "arch=$(INETD_PKG_ARCH)"                               >> $(INETD_PKG)/.PKGINFO ; \
+	 echo "distroname=$(INETD_PKG_DISTRO_NAME)"                  >> $(INETD_PKG)/.PKGINFO ; \
+	 echo "distrover=$(INETD_PKG_DISTRO_VERSION)"                >> $(INETD_PKG)/.PKGINFO ; \
+	 echo "group=$(INETD_PKG_GROUP)"                             >> $(INETD_PKG)/.PKGINFO ; \
+	 echo "short_description=\"$(INETD_PKG_SHORT_DESCRIPTION)\"" >> $(INETD_PKG)/.PKGINFO ; \
+	 echo "url=$(INETD_PKG_URL)"                                 >> $(INETD_PKG)/.PKGINFO ; \
+	 echo "license=$(INETD_PKG_LICENSE)"                         >> $(INETD_PKG)/.PKGINFO
+	@$(PSEUDO) sh -c "cd $(INETD_PKG) && \
+	                  chown -R root:root . && \
+	                  $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: 1.79/PATCHES
===================================================================
--- 1.79/PATCHES	(nonexistent)
+++ 1.79/PATCHES	(revision 5)
@@ -0,0 +1,3 @@
+
+../../../sources/packages/n/inetd/patches/inetd-OpenBSD-1.79-cross.patch -p0
+../../../sources/packages/n/inetd/patches/inetd-OpenBSD-1.79-BSD.patch   -p0
Index: 1.79/conf/inetd.conf.new
===================================================================
--- 1.79/conf/inetd.conf.new	(nonexistent)
+++ 1.79/conf/inetd.conf.new	(revision 5)
@@ -0,0 +1,106 @@
+# See "man 8 inetd" for more information.
+#
+# If you make changes to this file, either reboot your machine or send the
+# inetd a HUP signal:
+# Do a "ps x" as root and look up the pid of inetd. Then do a
+# "kill -HUP <pid of inetd>".
+# The inetd will re-read this file whenever it gets that signal.
+#
+# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
+#
+# The first 4 services are really only used for debugging purposes, so
+# we comment them out since they can otherwise be used for some nasty
+# denial-of-service attacks.  If you need them, uncomment them.
+# echo   	stream	tcp	nowait	root	internal
+# echo   	dgram	udp	wait	root	internal
+# discard	stream	tcp	nowait	root	internal
+# discard	dgram	udp	wait	root	internal
+# daytime	stream	tcp	nowait	root	internal
+# daytime	dgram	udp	wait	root	internal
+# chargen	stream	tcp	nowait	root	internal
+# chargen	dgram	udp	wait	root	internal
+# time		stream	tcp	nowait	root	internal
+# time		dgram	udp	wait	root	internal
+#
+# These are standard services:
+#
+# Very Secure File Transfer Protocol (FTP) server.
+# ftp     stream  tcp     nowait  root    /usr/sbin/tcpd  vsftpd
+#
+# Professional File Transfer Protocol (FTP) server.
+# ftp     stream  tcp     nowait  root    /usr/sbin/tcpd  proftpd
+#
+# Telnet server:
+# telnet	stream  tcp     nowait  root    /usr/sbin/tcpd	in.telnetd
+#
+# The comsat daemon notifies the user of new mail when biff is set to y:
+# comsat        dgram   udp     wait    root    /usr/sbin/tcpd  in.comsat
+#
+# Shell, login, exec and talk are BSD protocols
+#
+# shell	stream	tcp	nowait	root	/usr/sbin/tcpd	in.rshd -L
+# login	stream	tcp	nowait	root	/usr/sbin/tcpd	in.rlogind
+# exec	stream	tcp	nowait	root	/usr/sbin/tcpd	in.rexecd
+# talk	dgram	udp	wait	root	/usr/sbin/tcpd	in.talkd
+# ntalk	dgram	udp	wait	root	/usr/sbin/tcpd	in.talkd
+#
+# To use the talk daemons from KDE, comment the talk and ntalk lines above
+# and uncomment the ones below:
+# talk    dgram   udp     wait    root    /usr/sbin/tcpd  /usr/bin/kotalkd
+# ntalk   dgram   udp     wait    root    /usr/sbin/tcpd  /usr/bin/ktalkd
+#
+# Kerberos authenticated services
+#
+# klogin	stream	tcp	nowait	root	/usr/sbin/tcpd	rlogind -k
+# eklogin	stream	tcp	nowait	root	/usr/sbin/tcpd	rlogind -k -x
+# kshell	stream	tcp	nowait	root	/usr/sbin/tcpd	rshd -k
+#
+# Services run ONLY on the Kerberos server
+#
+# krbupdate	stream	tcp	nowait	root	/usr/sbin/tcpd	registerd
+# kpasswd	stream	tcp	nowait	root	/usr/sbin/tcpd	kpasswdd
+#
+# POP and IMAP mail servers
+#
+# Post Office Protocol version 3 (POP3) server:
+# pop3    stream  tcp     nowait  root    /usr/sbin/tcpd  /usr/sbin/popa3d
+# Internet Message Access Protocol (IMAP) server:
+# imap2   stream  tcp     nowait  root    /usr/sbin/tcpd  imapd
+#
+# The Internet Unix to Unix copy (UUCP) service:
+# uucp	stream	tcp	nowait	uucp	/usr/sbin/tcpd	/usr/lib/uucp/uucico	-l
+#
+# Tftp service is provided primarily for booting.  Most sites
+# run this only on machines acting as "boot servers." 
+# tftp  dgram   udp     wait    root    /usr/sbin/in.tftpd  in.tftpd -s /tftpboot -r blksize
+#
+# Internet Bootstrap Protocol (BOOTP) server:
+# bootps	dgram	udp	wait	root	/usr/sbin/bootpd	bootpd
+#
+# Finger, systat and netstat give out user information which may be
+# valuable to potential "system crackers."  Many sites choose to disable 
+# some or all of these services to improve security.
+# Try "telnet localhost systat" and "telnet localhost netstat" to see that
+# information yourself!
+# finger	stream	tcp	nowait	nobody	/usr/sbin/tcpd	in.fingerd -u
+# systat	stream	tcp	nowait	nobody	/usr/sbin/tcpd	/bin/ps	-auwwx
+# netstat	stream	tcp	nowait	root	/usr/sbin/tcpd	/bin/netstat	-a
+#
+# Ident service is used for net authentication
+# auth	stream	tcp	wait	root	/usr/sbin/in.identd	in.identd
+#
+# These are to start Samba, an smb server that can export filesystems to
+# Pathworks, Lanmanager for DOS, Windows for Workgroups, Windows95, Lanmanager
+# for Windows, Lanmanager for OS/2, Windows NT, etc.  
+# If you're running smbd and nmbd as daemons in /etc/rc.d/rc.samba, then you
+# shouldn't uncomment these lines.
+# netbios-ssn    stream  tcp     nowait  root    /usr/sbin/smbd  smbd
+# netbios-ns     dgram   udp     wait    root    /usr/sbin/nmbd  nmbd
+#
+# Sun-RPC based services.
+# <service name/version><sock_type><rpc/prot><flags><user><server><args>
+# rstatd/1-3	dgram	rpc/udp	wait	root	/usr/sbin/tcpd	rpc.rstatd
+# rusersd/2-3	dgram	rpc/udp	wait	root	/usr/sbin/tcpd	rpc.rusersd
+# walld/1	dgram	rpc/udp	wait	root	/usr/sbin/tcpd	rpc.rwalld
+#
+# End of inetd.conf.
Index: 1.79/conf/rc.d/rc.inetd.new
===================================================================
--- 1.79/conf/rc.d/rc.inetd.new	(nonexistent)
+++ 1.79/conf/rc.d/rc.inetd.new	(revision 5)
@@ -0,0 +1,36 @@
+#!/bin/sh
+# Start/stop/restart inetd, the BSD Internet super-daemon.
+
+# Start inetd:
+inetd_start() {
+  if [ -x /usr/sbin/inetd ]; then
+    echo "Starting Internet super-server daemon:  /usr/sbin/inetd"
+    /usr/sbin/inetd
+  fi
+}
+
+# Stop inetd:
+inetd_stop() {
+  killall inetd
+}
+
+# Restart inetd:
+inetd_restart() {
+  inetd_stop
+  sleep 1
+  inetd_start
+}
+
+case "$1" in
+'start')
+  inetd_start
+  ;;
+'stop')
+  inetd_stop
+  ;;
+'restart')
+  inetd_restart
+  ;;
+*)
+  echo "usage $0 start|stop|restart"
+esac

Property changes on: 1.79/conf/rc.d/rc.inetd.new
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: 1.79/conf/rc.d
===================================================================
--- 1.79/conf/rc.d	(nonexistent)
+++ 1.79/conf/rc.d	(revision 5)

Property changes on: 1.79/conf/rc.d
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: 1.79/conf
===================================================================
--- 1.79/conf	(nonexistent)
+++ 1.79/conf	(revision 5)

Property changes on: 1.79/conf
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: 1.79/doc/README
===================================================================
--- 1.79/doc/README	(nonexistent)
+++ 1.79/doc/README	(revision 5)
@@ -0,0 +1,127 @@
+/*	$Slackware: inetd.c 1.79s 2001/02/06 13:18:00 volkerdi Exp $	*/
+/*	$OpenBSD: inetd.c,v 1.79 2001/01/30 08:30:57 deraadt Exp $	*/
+/*	$NetBSD: inetd.c,v 1.11 1996/02/22 11:14:41 mycroft Exp $	*/
+/*
+ * Copyright (c) 1983,1991 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ *    must display the following acknowledgement:
+ *	This product includes software developed by the University of
+ *	California, Berkeley and its contributors.
+ * 4. Neither the name of the University nor the names of its contributors
+ *    may be used to endorse or promote products derived from this software
+ *    without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
+
+/*
+ * Inetd - Internet super-server
+ *
+ * This program invokes all internet services as needed.
+ * connection-oriented services are invoked each time a
+ * connection is made, by creating a process.  This process
+ * is passed the connection as file descriptor 0 and is
+ * expected to do a getpeername to find out the source host
+ * and port.
+ *
+ * Datagram oriented services are invoked when a datagram
+ * arrives; a process is created and passed a pending message
+ * on file descriptor 0.  Datagram servers may either connect
+ * to their peer, freeing up the original socket for inetd
+ * to receive further messages on, or ``take over the socket'',
+ * processing all arriving datagrams and, eventually, timing
+ * out.	 The first type of server is said to be ``multi-threaded'';
+ * the second type of server ``single-threaded''. 
+ *
+ * Inetd uses a configuration file which is read at startup
+ * and, possibly, at some later time in response to a hangup signal.
+ * The configuration file is ``free format'' with fields given in the
+ * order shown below.  Continuation lines for an entry must begin with
+ * a space or tab.  All fields must be present in each entry.
+ *
+ *	service name			must be in /etc/services
+ *	socket type			stream/dgram/raw/rdm/seqpacket
+ *	protocol			must be in /etc/protocols
+ *	wait/nowait[.max]		single-threaded/multi-threaded, max #
+ *	user[.group] or user[:group]	user/group to run daemon as
+ *	server program			full path name
+ *	server program arguments	maximum of MAXARGS (20)
+ *
+ * For RPC services
+ *      service name/version            must be in /etc/rpc
+ *	socket type			stream/dgram/raw/rdm/seqpacket
+ *	protocol			must be in /etc/protocols
+ *	wait/nowait[.max]		single-threaded/multi-threaded
+ *	user[.group] or user[:group]	user to run daemon as
+ *	server program			full path name
+ *	server program arguments	maximum of MAXARGS (20)
+ *
+ * For non-RPC services, the "service name" can be of the form
+ * hostaddress:servicename, in which case the hostaddress is used
+ * as the host portion of the address to listen on.  If hostaddress
+ * consists of a single `*' character, INADDR_ANY is used.
+ *
+ * A line can also consist of just
+ *      hostaddress:
+ * where hostaddress is as in the preceding paragraph.  Such a line must
+ * have no further fields; the specified hostaddress is remembered and
+ * used for all further lines that have no hostaddress specified,
+ * until the next such line (or EOF).  (This is why * is provided to
+ * allow explicit specification of INADDR_ANY.)  A line
+ *      *:
+ * is implicitly in effect at the beginning of the file.
+ *
+ * The hostaddress specifier may (and often will) contain dots;
+ * the service name must not.
+ *
+ * For RPC services, host-address specifiers are accepted and will
+ * work to some extent; however, because of limitations in the
+ * portmapper interface, it will not work to try to give more than
+ * one line for any given RPC service, even if the host-address
+ * specifiers are different.
+ *
+ * Comment lines are indicated by a `#' in column 1.
+ */
+
+/*
+ * Here's the scoop concerning the user[.:]group feature:
+ *
+ * 1) set-group-option off.
+ * 
+ * 	a) user = root:	NO setuid() or setgid() is done
+ * 
+ * 	b) other:	setgid(primary group as found in passwd)
+ * 			initgroups(name, primary group)
+ * 			setuid()
+ *
+ * 2) set-group-option on.
+ * 
+ * 	a) user = root:	setgid(specified group)
+ * 			NO initgroups()
+ * 			NO setuid()
+ *
+ * 	b) other:	setgid(specified group)
+ * 			initgroups(name, specified group)
+ * 			setuid()
+ * 
+ */
Index: 1.79/doc
===================================================================
--- 1.79/doc	(nonexistent)
+++ 1.79/doc	(revision 5)

Property changes on: 1.79/doc
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: 1.79/inetd-pkg-description.in
===================================================================
--- 1.79/inetd-pkg-description.in	(nonexistent)
+++ 1.79/inetd-pkg-description.in	(revision 5)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.  Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in.  You must
+# make exactly 11 lines for the formatting to be correct.  It's also
+# customary to leave one space after the ':'.
+
+     |-----handy-ruler------------------------------------------------------|
+inetd: inetd @VERSION@ (Internet super-server)
+inetd:
+inetd: This is a program to listen for connections on certain Internet
+inetd: sockets and invokes a program to service the request. Essentially,
+inetd: inetd allows running one daemon to invoke several others, reducing
+inetd: load on the system. Many of the network services are run through
+inetd: inetd, so you'll probably need it.
+inetd:
+inetd: This version of inetd was ported from OpenBSD.
+inetd:
+inetd:
Index: 1.79/inetd-pkg-install.sh
===================================================================
--- 1.79/inetd-pkg-install.sh	(nonexistent)
+++ 1.79/inetd-pkg-install.sh	(revision 5)
@@ -0,0 +1,65 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+  NEW="$1"
+  OLD="`dirname $NEW`/`basename $NEW .new`"
+  # If there's no file by that name, mv it over:
+  if [ ! -r $OLD ]; then
+    mv $NEW $OLD
+  elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+    rm $NEW
+  fi
+  # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+preserve_perms() {
+  NEW="$1"
+  OLD="$(dirname $NEW)/$(basename $NEW .new)"
+  if [ -e $OLD ]; then
+    cp -a $OLD ${NEW}.incoming
+    cat $NEW > ${NEW}.incoming
+    mv ${NEW}.incoming $NEW
+  fi
+  install_file $NEW
+}
+
+
+# arg 1:  the new package version
+pre_install() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+post_install() {
+  preserve_perms etc/rc.d/rc.inetd.new
+  install_file etc/inetd.conf.new
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+pre_update() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_update() {
+  post_install
+}
+
+# arg 1:  the old package version
+pre_remove() {
+  /bin/true
+}
+
+# arg 1:  the old package version
+post_remove() {
+  /bin/true
+}
+
+
+operation=$1
+shift
+
+$operation $*

Property changes on: 1.79/inetd-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: 1.79
===================================================================
--- 1.79	(nonexistent)
+++ 1.79	(revision 5)

Property changes on: 1.79
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: .
===================================================================
--- .	(nonexistent)
+++ .	(revision 5)

Property changes on: .
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~