Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Dec 1997 01:28:53 GMT
From:      root@aldan.ziplink.net
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/5278: xinetd port updated to p1
Message-ID:  <199712120128.BAA03969@aldan.ziplink.net>
Resent-Message-ID: <199712120700.XAA25235@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         5278
>Category:       ports
>Synopsis:       xinetd port updated to patch-level 1. Not much, really
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 11 23:00:01 PST 1997
>Last-Modified:
>Originator:     Mikhail Teterin
>Organization:
Virtual Estates, Inc.
>Release:        FreeBSD 2.2.5-RELEASE i386
>Environment:


>Description:

>From the patch-1's Readme:

	The files interface1.patch and interface2.patch comprise a
	solution for a problem with xinetd's interface directive -
	things were broken on non bigendian systems - at least they
	were if you specified netmasks as dotted quads.

	interface2.patch is a new compile-src which handles multiple
	word options - ie the auto build process on Red Hat systems
	sets the ccopts to "-O2 -m486" which used to break the build
	process.  Since compile-src gets hacked by everyone a full
	copy is enclosed rather than a patch.

The second one is used to force the port to honor the CFLAGS variable.
I'm not sure if xinetd has to be compiled to look for
	/usr/local/etc/xinetd.conf
rather then just
	/etc/xinetd.conf
it replaces inetd and as such may be starting before /usr/local's
availabity.  So I'm leaving this intact. Would also be nice if
someone contributed his/her xinetd.conf for an axample.

>How-To-Repeat:

>Fix:
	
	Because there are only two files changed -- port's Makefile
	and files/md5, they are simply inluded below:

# New ports collection makefile for:	xinetd
# Version required:	2.1.7-freebsd.4p1
# Date created:		Dec 12, 1997
# Whom:			mi
#

DISTNAME=	xinetd.2.1.7.4
CATEGORIES=	security
MASTER_SITES=	ftp://ftp.telebase.com/pub/security/
DISTFILES=	xinetd.2.1.7-freebsd.4.tar.gz xinetd.2.1.7p1.tar
EXTRACT_ONLY=	xinetd.2.1.7-freebsd.4.tar.gz

MAINTAINER=	markm@FreeBSD.ORG

WRKSRC=		${WRKDIR}/xinetd.2.1.7-freebsd.4
MAN1=		xinetd.1
MAN5=		xinetd.conf.5 xinetd.log.5

pre-patch:
	cd patches && \
		tar xvpf ${DISTDIR}/xinetd.2.1.7p1.tar && \
		mv interface1.patch patch-ba && \
		mv -f interface2.patch ${WRKSRC}/compile-src && \
		chmod +x ${WRKSRC}/compile-src

do-build:
	cd ${WRKSRC} ; ./compile-src -os freebsd2 -sf has_SB -ccopt "${CFLAGS}"

do-install:
	cd ${WRKSRC}/xinetd ; make install
	cd ${WRKSRC}/xinetd ; make install.man

.include <bsd.port.mk>


MD5 (xinetd.2.1.7-freebsd.4.tar.gz) = f2be3c9013e1100774c10d26715b445b
MD5 (xinetd.2.1.7p1.tar) = 356d166e9f08a57af2d28877cd96cf83
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712120128.BAA03969>