Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jul 2006 15:38:05 GMT
From:      Martin Tournoij <carpetsmoker@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/100885: [NEW PORT] devel/p5-Config-ApacheFormat Read apache-style config files
Message-ID:  <200607261538.k6QFc5Jo086371@www.freebsd.org>
Resent-Message-ID: <200607261540.k6QFeDb4012579@freefall.freebsd.org>

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

>Number:         100885
>Category:       ports
>Synopsis:       [NEW PORT] devel/p5-Config-ApacheFormat Read apache-style config files
>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:   Wed Jul 26 15:40:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Martin Tournoij
>Release:        FreeBSD 6.1-RELEASE-p1 i386
>Organization:
>Environment:
FreeBSD carpet 6.1-RELEASE-p1 FreeBSD 6.1-RELEASE-p1 #0: Mon Jul 24 20:56:4
4 UTC 2006 root@carpet:/usr/obj/usr/src/sys/GENERIC i386
>Description:
This module is designed to parse a configuration file in the same
        syntax
        used by the Apache web server (see http://httpd.apache.org for
        details). This allows you to build applications which can be easily
        managed by experienced Apache admins. Also, by using this module,
        you'll benefit from the support for nested blocks with built-in
        parameter inheritance. This can greatly reduce the amount or
        repeated
        information in your configuration files.

        A good reference to the Apache configuration file format can be
        found
        here:
        http://httpd.apache.org/docs-2.0/configuring.html

        Authors: Sam Tregar <sam@tregar.com>, Nathan Wiger <nate@wiger.org> 
        WWW:
        http://search.cpan.org/~samtregar/Config-ApacheFormat-1.2/
>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:
#
#	/usr/ports/devel/p5-Config-ApacheFormat
#	/usr/ports/devel/p5-Config-ApacheFormat/Makefile
#	/usr/ports/devel/p5-Config-ApacheFormat/distinfo
#	/usr/ports/devel/p5-Config-ApacheFormat/pkg-descr
#	/usr/ports/devel/p5-Config-ApacheFormat/pkg-plist
#
echo c - /usr/ports/devel/p5-Config-ApacheFormat
mkdir -p /usr/ports/devel/p5-Config-ApacheFormat > /dev/null 2>&1
echo x - /usr/ports/devel/p5-Config-ApacheFormat/Makefile
sed 's/^X//' >/usr/ports/devel/p5-Config-ApacheFormat/Makefile << 'END-of-/usr/ports/devel/p5-Config-ApacheFormat/Makefile'
X# New ports collection makefile for:	Config::ApacheFormat
X# Date created:				26 Jul 2006
X# Whom:					Martin Tournoij <carpetsmoker@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Config-ApacheFormat
XPORTVERSION=	1.2
XCATEGORIES=	devel perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Config
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	carpetsmoker@gmail.com
XCOMMENT=	Parse a configuration file in the same syntax as the Apache web server
X
XBUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/auto/Class/MethodMaker/MethodMaker.so:${PORTSDIR}/devel/p5-Class-MethodMaker \
X		${SITE_PERL}/${PERL_ARCH}/auto/List/Util/Util.so:${PORTSDIR}/lang/p5-Scalar-List-Utils
X
XPERL_CONFIGURE=	yes
XMAN3=		Config::ApacheFormat.3
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} < 500600
XIGNORE=		needs at least perl 5.6 to run
X.endif
X
X.include <bsd.port.post.mk>
END-of-/usr/ports/devel/p5-Config-ApacheFormat/Makefile
echo x - /usr/ports/devel/p5-Config-ApacheFormat/distinfo
sed 's/^X//' >/usr/ports/devel/p5-Config-ApacheFormat/distinfo << 'END-of-/usr/ports/devel/p5-Config-ApacheFormat/distinfo'
XMD5 (Config-ApacheFormat-1.2.tar.gz) = 3fea1c5a44f2b73a44cef830dbacce5e
XSHA256 (Config-ApacheFormat-1.2.tar.gz) = a213fa8a7f230f7edb91b9169164935cd5f5d712d5c0ed083a46cd38663bf26d
XSIZE (Config-ApacheFormat-1.2.tar.gz) = 56817
END-of-/usr/ports/devel/p5-Config-ApacheFormat/distinfo
echo x - /usr/ports/devel/p5-Config-ApacheFormat/pkg-descr
sed 's/^X//' >/usr/ports/devel/p5-Config-ApacheFormat/pkg-descr << 'END-of-/usr/ports/devel/p5-Config-ApacheFormat/pkg-descr'
XThis module is designed to parse a configuration file in the same syntax
Xused by the Apache web server (see http://httpd.apache.org for
Xdetails). This allows you to build applications which can be easily
Xmanaged by experienced Apache admins. Also, by using this module,
Xyou'll benefit from the support for nested blocks with built-in
Xparameter inheritance. This can greatly reduce the amount or repeated
Xinformation in your configuration files.
X
XA good reference to the Apache configuration file format can be found
Xhere:
Xhttp://httpd.apache.org/docs-2.0/configuring.html
X
XAuthors: Sam Tregar <sam@tregar.com>, Nathan Wiger <nate@wiger.org> 
XWWW: http://search.cpan.org/~samtregar/Config-ApacheFormat-1.2/
END-of-/usr/ports/devel/p5-Config-ApacheFormat/pkg-descr
echo x - /usr/ports/devel/p5-Config-ApacheFormat/pkg-plist
sed 's/^X//' >/usr/ports/devel/p5-Config-ApacheFormat/pkg-plist << 'END-of-/usr/ports/devel/p5-Config-ApacheFormat/pkg-plist'
X%%SITE_PERL%%/Config/ApacheFormat.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Config/ApacheFormat/.packlist
X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Config/ApacheFormat
X@dirrmtry %%SITE_PERL%%/Config
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Config
END-of-/usr/ports/devel/p5-Config-ApacheFormat/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:



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