ports/101964: New port: net/micro_inetd A inetd-like program intended for temporarily usage
Pankov Pavel
pankov_p at mail.ru
Sun Aug 13 09:20:18 UTC 2006
>Number: 101964
>Category: ports
>Synopsis: New port: net/micro_inetd A inetd-like program intended for temporarily usage
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Aug 13 09:20:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Pankov Pavel
>Release: 6.1-RELEASE/i386
>Organization:
MPEI
>Environment:
FreeBSD fb.home 6.1-RELEASE FreeBSD 6.1-RELEASE #1: Wed May 10 18:19:01 MSD 2006 pankovpv at fb.home:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Like inetd, this program listens on the net for requests and spawns a
server to handle them. However, it only handles one port and one
program. Other limitations:
* only 'stream' socket type
* only 'nowait'
* doesn't switch user-ids
WWW: http://www.acme.com/software/micro_inetd/
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# net/micro_inetd
# net/micro_inetd/pkg-descr
# net/micro_inetd/Makefile
# net/micro_inetd/distinfo
# net/micro_inetd/files
# net/micro_inetd/files/patch-Makefile
#
echo c - net/micro_inetd
mkdir -p net/micro_inetd > /dev/null 2>&1
echo x - net/micro_inetd/pkg-descr
sed 's/^X//' >net/micro_inetd/pkg-descr << 'END-of-net/micro_inetd/pkg-descr'
XLike inetd, this program listens on the net for requests and spawns a
Xserver to handle them. However, it only handles one port and one
Xprogram. Other limitations:
X* only 'stream' socket type
X* only 'nowait'
X* doesn't switch user-ids
X
XWWW: http://www.acme.com/software/micro_inetd/
END-of-net/micro_inetd/pkg-descr
echo x - net/micro_inetd/Makefile
sed 's/^X//' >net/micro_inetd/Makefile << 'END-of-net/micro_inetd/Makefile'
X# New ports collection makefile for: micro_inetd
X# Date created: 2006-08-13
X# Whom: Pankov Pavel <pankov_p at mail.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME= micro_inetd
XPORTVERSION= 2005.06.29
XCATEGORIES= net
XMASTER_SITES= http://www.acme.com/software/micro_inetd/
XDISTNAME= ${PORTNAME}_29jun2005
X
XMAINTAINER= pankov_p at mail.ru
XCOMMENT= A inetd-like program intended for temporarily usage
X
XWRKSRC= ${WRKDIR}/${PORTNAME}
XPLIST_FILES= bin/micro_inetd
XMAN1= micro_inetd.1
X
Xdo-install:
X @${INSTALL_PROGRAM} ${WRKSRC}/micro_inetd ${TARGETDIR}/bin/micro_inetd
X @${INSTALL_MAN} ${WRKSRC}/micro_inetd.1 ${MAN1PREFIX}/man/man1/micro_inetd.1
X
X.include <bsd.port.mk>
END-of-net/micro_inetd/Makefile
echo x - net/micro_inetd/distinfo
sed 's/^X//' >net/micro_inetd/distinfo << 'END-of-net/micro_inetd/distinfo'
XMD5 (micro_inetd_29jun2005.tar.gz) = 515eb503e98d34c8beb7ed8df4123a0a
XSHA256 (micro_inetd_29jun2005.tar.gz) = b4e13e86fae75d929daa0992970f44a6e08b3abbd7bc9a5fa524ff9f4741f706
XSIZE (micro_inetd_29jun2005.tar.gz) = 5891
END-of-net/micro_inetd/distinfo
echo c - net/micro_inetd/files
mkdir -p net/micro_inetd/files > /dev/null 2>&1
echo x - net/micro_inetd/files/patch-Makefile
sed 's/^X//' >net/micro_inetd/files/patch-Makefile << 'END-of-net/micro_inetd/files/patch-Makefile'
X--- Makefile-orig Wed Jan 2 08:24:29 2002
X+++ Makefile Sun Aug 13 12:59:21 2006
X@@ -5,16 +5,15 @@
X #SYSV_LIBS = -lnsl -lsocket
X
X
X-CC = gcc
X-CFLAGS = -O
X-LDFLAGS = -s $(SYSV_LIBS)
X-BINDIR = /usr/local/bin
X-MANDIR = /usr/local/man/man1
X+CC?= gcc
X+CFLAGS?= -O
X+LDFLAGS?= -s $(SYSV_LIBS)
X+BINDIR?= /usr/local/bin
X+MANDIR?= /usr/local/man/man1
X
X all: micro_inetd
X
X micro_inetd: micro_inetd.c
X- $(CC) $(CFLAGS) micro_inetd.c $(LDFLAGS) -o micro_inetd
X
X install: all
X rm -f $(BINDIR)/micro_inetd
END-of-net/micro_inetd/files/patch-Makefile
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list