ports/115476: [NEW PORT] devel/cvs-syncmail: CVS syncmail script

Greg Larkin glarkin at sourcehosting.net
Mon Aug 13 20:50:01 UTC 2007


>Number:         115476
>Category:       ports
>Synopsis:       [NEW PORT] devel/cvs-syncmail: CVS syncmail script
>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:   Mon Aug 13 20:50:00 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Greg Larkin
>Release:        FreeBSD 6.1-SECURITY i386
>Organization:
SourceHosting.net, LLC
>Environment:
System: FreeBSD ports.entropy.prv 6.1-SECURITY FreeBSD 6.1-SECURITY #0: Thu Apr 26 14:24:01 UTC 2007
>Description:
Syncmail is a CVS notification tool which can provide a diff for
every change to a CVS repository, mailed to specified email
addresses. This tool is useful for large communities to monitor
activity, and is used for Python and many other active projects.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- cvs-syncmail-2.1.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:
#
#	cvs-syncmail
#	cvs-syncmail/Makefile
#	cvs-syncmail/distinfo
#	cvs-syncmail/pkg-descr
#	cvs-syncmail/files
#	cvs-syncmail/files/syncmail.diff
#
echo c - cvs-syncmail
mkdir -p cvs-syncmail > /dev/null 2>&1
echo x - cvs-syncmail/Makefile
sed 's/^X//' >cvs-syncmail/Makefile << 'END-of-cvs-syncmail/Makefile'
X# New ports collection makefile for:	cvs-syncmail
X# Date created:			13 August 2007
X# Whom:				Greg Larkin (glarkin at sourcehosting.net)
X#
X# $FreeBSD$
X#
X
XPORTNAME=	cvs-syncmail
XPORTVERSION=	2.1
XCATEGORIES=	devel
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTNAME=	syncmail
XEXTRACT_SUFX=
X
XMAINTAINER=	glarkin at sourcehosting.net
XCOMMENT=	CVS syncmail script
X
X# Set this flag to automatically use the CVSNT binary when
X# generating diffs instead of the system CVS
X.if defined(WITH_CVSNT)
XRUN_DEPENDS=	${LOCALBASE}/bin/cvsnt:${PORTSDIR}/devel/cvsnt
X
Xpatch-cvs-path:
X	@${REINPLACE_CMD} -e "s|/usr/bin/cvs|${LOCALBASE}/bin/cvsnt|" \
X		${WRKSRC}/${DISTNAME}
X.else
Xpatch-cvs-path:
X.endif
X
XUSE_PYTHON=	2.0+
XNO_BUILD=	yes
XNO_WRKSUBDIR=	yes
XPLIST_FILES=	bin/${DISTNAME}
XEXTRA_PATCHES+=	${FILESDIR}/syncmail.diff
X
Xdo-extract:
X	@${MKDIR} ${WRKSRC}
X	@${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}
X
Xpost-patch: patch-cvs-path
X	@${REINPLACE_CMD} -e "s|/usr/bin/python|${PYTHON_CMD}|" \
X		${WRKSRC}/${DISTNAME}
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/${DISTNAME}
X
X.include <bsd.port.mk>
END-of-cvs-syncmail/Makefile
echo x - cvs-syncmail/distinfo
sed 's/^X//' >cvs-syncmail/distinfo << 'END-of-cvs-syncmail/distinfo'
XMD5 (syncmail) = 103292e14c12a7cf2ac5d75e6681546f
XSHA256 (syncmail) = f86a6cc92420a3dcdfbdea05874974fd2af6c178afac96ad84e3a91844811f3a
XSIZE (syncmail) = 13734
END-of-cvs-syncmail/distinfo
echo x - cvs-syncmail/pkg-descr
sed 's/^X//' >cvs-syncmail/pkg-descr << 'END-of-cvs-syncmail/pkg-descr'
XSyncmail is a CVS notification tool which can provide a diff for
Xevery change to a CVS repository, mailed to specified email
Xaddresses. This tool is useful for large communities to monitor
Xactivity, and is used for Python and many other active projects.
END-of-cvs-syncmail/pkg-descr
echo c - cvs-syncmail/files
mkdir -p cvs-syncmail/files > /dev/null 2>&1
echo x - cvs-syncmail/files/syncmail.diff
sed 's/^X//' >cvs-syncmail/files/syncmail.diff << 'END-of-cvs-syncmail/files/syncmail.diff'
X--- syncmail.orig	Mon Aug 13 16:09:17 2007
X+++ syncmail	Mon Aug 13 16:09:23 2007
X@@ -159,7 +159,7 @@
X             if os.path.exists(file):
X                 fp = open(file)
X             else:
X-                update_cmd = "cvs -fn update -r %s -p %s" % (newrev, filestr)
X+                update_cmd = "/usr/bin/cvs -fn update -r %s -p %s" % (newrev, filestr)
X                 fp = os.popen(update_cmd)
X             lines = fp.readlines()
X             fp.close()
END-of-cvs-syncmail/files/syncmail.diff
exit
--- cvs-syncmail-2.1.shar ends here ---

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



More information about the freebsd-ports-bugs mailing list