(RADIATOR) FreeBSD port of radiator?

Kurt Jaeger radiator at c0mplx.org
Thu Feb 7 23:21:12 CST 2008


Hi!

> Radiator is a source code product entirely written in Perl which runs  
> unchanged on any platform that has Perl available.
> 
> No porting is required.

Ok, maybe the wording of the freebsd community is a bit 'specific'.

Basically, a freebsd port is a way to integrate a piece of software
in the dependency tree in a automatable way.

Which helps enormously if one of the dependencies needs updating
(say, mysql is updated, and needs an update for DBD::mysql).

Most of the time, a relativly small Makefile and a few lists of
file checksums are sufficient. Attached is the 3.17.1 ports Makefile,
as an example.

-- 
pi at opsec.eu            +49 171 3101372                        12 years to go !
-------------- next part --------------
# New ports collection makefile for:	radiator
# Date created:				05 March 2003
# Whom:					shan
#
# $FreeBSD: ports/net/radiator/Makefile,v 1.10 2007/09/08 13:34:59 edwin Exp $
#

PORTNAME=	Radiator
PORTVERSION=	3.17.1
CATEGORIES=	net
MASTER_SITES=	# fetch manually
EXTRACT_SUFX=	.tgz
DIST_SUBDIR=	${PORTNAME}

MAINTAINER=	shanali at yahoo.com
COMMENT=	Radiator Radius Server by Open System Consultants

OPTIONS=        MYSQL "MySQL Support" off

BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
RUN_DEPENDS=	${BUILD_DEPENDS}

PERL_CONFIGURE=	yes

RESTRICTED=	"Commercial software"

.include <bsd.port.pre.mk>
.if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTFILES})
IGNORE=		will not be automatically fetched due to licensing\
		restrictions.  You MUST manually fetch the UNIX version after\
		purchasing the license at: http://www.open.com.au/ \
		- once ${DISTFILES} has been downloaded, move it to\
		${DISTDIR}/${DIST_SUBDIR} and then restart this build. \
		(optionally download patches-${PORTVERSION}.tar.gz to the \
		same directory as well)
.endif

.if defined(WITH_MYSQL)
RUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
.endif

pre-configure:
.if exists(${DISTDIR}/${DIST_SUBDIR}/patches-${PORTVERSION}.tar.gz)
	${TAR} -xvzf ${DISTDIR}/${DIST_SUBDIR}/patches-${PORTVERSION}.tar.gz -C ${WRKSRC}
.endif

.include <bsd.port.post.mk>


More information about the radiator mailing list