Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Sep 2005 23:33:53 +0200 (CEST)
From:      Emanuel Haupt <ehaupt@critical.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/86231: new port: devel/cvsspam - Sends diffs when a change is committed to your CVS repository 
Message-ID:  <200509162133.j8GLXr01016346@beaver.critical.ch>
Resent-Message-ID: <200509162140.j8GLeAub078248@freefall.freebsd.org>

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

>Number:         86231
>Category:       ports
>Synopsis:       new port: devel/cvsspam - Sends diffs when a change is committed to your CVS repository
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 16 21:40:09 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Emanuel Haupt
>Release:        FreeBSD 5.4-RELEASE-p6 i386
>Organization:
>Environment:
System: FreeBSD beaver.critical.ch 5.4-RELEASE-p6 FreeBSD 5.4-RELEASE-p6 #0: Wed Jul 27 20:19:15 CEST 2005 root@beaver.critical.ch:/usr/obj/usr/src/RELENG_5_4/src/sys/BEAVER i386


	
>Description:
new port: devel/cvsspam - Sends diffs when a change is committed to your CVS repository

CVSspam emails you diffs when a change is committed to your CVS repository.
These HTML mails hyperlink to further details and use styling to emphasise
information structure.

>How-To-Repeat:
	
>Fix:

	



--- cvsspam.shar begins here ---
# 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:
#
#	cvsspam
#	cvsspam/Makefile
#	cvsspam/pkg-descr
#	cvsspam/distinfo
#	cvsspam/pkg-plist
#
echo c - cvsspam
mkdir -p cvsspam > /dev/null 2>&1
echo x - cvsspam/Makefile
sed 's/^X//' >cvsspam/Makefile << 'END-of-cvsspam/Makefile'
X# New ports collection makefile for:	cvsspam
X# Date created:				16 Sep 2005
X# Whom:					Emanuel Haupt <ehaupt@critical.ch>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	cvsspam
XPORTVERSION=	0.2.12
XCATEGORIES=	devel
XMASTER_SITES=	http://www.badgers-in-foil.co.uk/projects/cvsspam/releases/
X
XMAINTAINER=	ehaupt@critical.ch
XCOMMENT=	Sends diffs when a change is committed to your CVS repository
X
XUSE_RUBY=	yes
XNO_BUILD=	yes
XUSE_REINPLACE=	yes
X
XPORTDOCS=	COPYING CREDITS TODO cvsspam-doc.html cvsspam-doc.pdf
X
Xpost-patch:
X.for f in collect_diffs.rb cvsspam.rb record_lastdir.rb
X	@${REINPLACE_CMD} -e 's|/usr/bin/ruby|${RUBY}|' \
X		${WRKSRC}/${f}
X.endfor
X	@${REINPLACE_CMD} -E 's|/etc/cvsspam/(cvsspam\.conf)|${PREFIX}/etc/\1|' \
X		${WRKSRC}/collect_diffs.rb
X
Xdo-install:
X	${MKDIR} ${PREFIX}/libexec/${PORTNAME}
X.for f in collect_diffs.rb cvsspam.rb record_lastdir.rb
X	${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/libexec/${PORTNAME}
X.endfor
X	${INSTALL_DATA} ${WRKSRC}/cvsspam.conf ${PREFIX}/etc/cvsspam.conf.default
X.if !exists(${PREFIX}/etc/cvsspam.conf)
X	${INSTALL_DATA} ${WRKSRC}/cvsspam.conf ${PREFIX}/etc/cvsspam.conf
X.endif
X
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X.for f in ${PORTDOCS}
X	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-cvsspam/Makefile
echo x - cvsspam/pkg-descr
sed 's/^X//' >cvsspam/pkg-descr << 'END-of-cvsspam/pkg-descr'
XCVSspam emails you diffs when a change is committed to your CVS repository.
XThese HTML mails hyperlink to further details and use styling to emphasise
Xinformation structure.
X
XWWW: http://www.badgers-in-foil.co.uk/projects/cvsspam/
X
X- ehaupt
Xehaupt@critical.ch
END-of-cvsspam/pkg-descr
echo x - cvsspam/distinfo
sed 's/^X//' >cvsspam/distinfo << 'END-of-cvsspam/distinfo'
XMD5 (cvsspam-0.2.12.tar.gz) = 0afa4fbaf1c9edb27385e46337f80f4b
XSIZE (cvsspam-0.2.12.tar.gz) = 83714
END-of-cvsspam/distinfo
echo x - cvsspam/pkg-plist
sed 's/^X//' >cvsspam/pkg-plist << 'END-of-cvsspam/pkg-plist'
X@unexec if cmp -s %D/etc/cvsspam.conf %D/etc/cvsspam.conf.default; then rm -f %D/etc/cvsspam.conf; fi
Xetc/cvsspam.conf.default
X@exec [ -f %B/cvsspam.conf ] || cp %B/%f %B/cvsspam.conf
Xlibexec/cvsspam/collect_diffs.rb
Xlibexec/cvsspam/cvsspam.rb
Xlibexec/cvsspam/record_lastdir.rb
X@dirrm libexec/cvsspam
END-of-cvsspam/pkg-plist
exit
--- cvsspam.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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