ports/88372: New port: sysutils/BackupPC High performance network backup solution

vaidab vaidab at phenix.rootshell.be
Tue Nov 1 19:50:16 UTC 2005


>Number:         88372
>Category:       ports
>Synopsis:       New port: sysutils/BackupPC High performance network
>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:   Tue Nov 01 19:50:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Vaida Bogdan
>Release:        FreeBSD 5.4-RELEASE-p8 i386
>Organization:
>Environment:
System: FreeBSD angelique.ro 5.4-RELEASE-p8 FreeBSD 5.4-RELEASE-p8 #22: 
Thu Oct 20 09:37:06 UTC 2005 
root at angelique.ro:/usr/obj/usr/src/sys/ANGELIQUE i386

>Description:

BackupPC is a high-performance, enterprise-grade backup system
for backing up Linux, WinXX PCs, and laptops to a server's disk.
Features include clever pooling of identical files, no client-side
software, and a powerful Apache/CGI user interface.

WWW: http://backuppc.sourceforge.net/info.html

>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:
#
#	BackupPC
#	BackupPC/Makefile
#	BackupPC/pkg-plist
#	BackupPC/pkg-message
#	BackupPC/pkg-descr
#	BackupPC/distinfo
#
echo c - BackupPC
mkdir -p BackupPC > /dev/null 2>&1
echo x - BackupPC/Makefile
sed 's/^X//' >BackupPC/Makefile << 'END-of-BackupPC/Makefile'
X# New ports collection makefile for:	BackupPC
X# Date created:		1 Oct 2005
X# Whom:			Vaida Bogdan <vaida.bogdan at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	BackupPC
XPORTVERSION=	2.1.2
XCATEGORIES=	sysutils
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	backuppc
X
XMAINTAINER=	vaida.bogdan at gmail.com
XCOMMENT=	High performance network backup solution
X
XUSE_PERL5=	yes
XNO_BUILD=	yes
XPKGMESSAGE=     ${files}/pkg-message
XNO_INSTALL_MANPAGES= yes
XPORTDOCS=	BackupPC.html BackupPC.pod ChangeLog LICENSE README
XSED_SCRIPT=     -e 's|%%PREFIX%%|${PREFIX}|g'
X
XRUN_DEPENDS=	${PORTSDIR}/net/samba ${PORTSDIR}/archivers/par2cmdline \
X		${PORTSDIR}/net/rsync ${PORTSDIR}/lang/perl5
X
X.include <bsd.port.pre.mk>
X
Xdo-install:
X.ifndef(BATCH)
X	cd ${WRKSRC} && perl configure.pl --data-dir /var/BackupPC \
X	--install-dir ${PREFIX}/BackupPC --bin-path rsync=/usr/local/bin/rsync \
X	--bin-path tar=/usr/bin/tar --bin-path gzip=/usr/bin/gzip \
X	--bin-path nmblookup=/usr/local/bin/nmblookup \
X	--bin-path par2=/usr/local/bin/par2 \
X	--bin-path smbclient=/usr/local/bin/smbclient 
X.else
X	cd ${WRKSRC} && perl configure.pl --data-dir /var/BackupPC \
X	--install-dir ${PREFIX}/BackupPC --bin-path rsync=/usr/local/bin/rsync \
X        --bin-path tar=/usr/bin/tar --bin-path gzip=/usr/bin/gzip \
X        --bin-path nmblookup=/usr/local/bin/nmblookup \
X	--bin-path par2=/usr/local/bin/par2 \
X        --bin-path smbclient=/usr/local/bin/smbclient \
X	--config-path /usr/local/BackupPC/data/conf/config.pl --batch 
X	# should I use this or ${WRKSRC}/conf/config.pl ?
X.endif
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	@${CP} ${WRKSRC}/doc/BackupPC.html ${WRKSRC}/doc/BackupPC.pod ${WRKSRC}/
X	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
X.endif
X	@${SED} ${SED_SCRIPT} ${.CURDIR}/pkg-message > ${PKGMESSAGE}
X.ifndef(BATCH)
X	@${ECHO}
X	@${CAT} ${PKGMESSAGE}
X	@${ECHO}
X.endif
X
X.include <bsd.port.post.mk>
END-of-BackupPC/Makefile
echo x - BackupPC/pkg-plist
sed 's/^X//' >BackupPC/pkg-plist << 'END-of-BackupPC/pkg-plist'
X at unexec /bin/rm -rf %D/BackupPC  || echo "If you are permanently removing this port, you should do a ``rm -rf /var/BackupPC`` to remove any configuration files left." | fmt
END-of-BackupPC/pkg-plist
echo x - BackupPC/pkg-message
sed 's/^X//' >BackupPC/pkg-message << 'END-of-BackupPC/pkg-message'
X==========================================================================
X
XBinary installed in %%PREFIX%%/BackupPC/bin
XData files installed in /var/BackupPC
X
X==========================================================================
END-of-BackupPC/pkg-message
echo x - BackupPC/pkg-descr
sed 's/^X//' >BackupPC/pkg-descr << 'END-of-BackupPC/pkg-descr'
XBackupPC is a high-performance, enterprise-grade backup system 
Xfor backing up Linux, WinXX PCs, and laptops to a server's disk. 
XFeatures include clever pooling of identical files, no client-side 
Xsoftware, and a powerful Apache/CGI user interface.
X
XWWW: http://backuppc.sourceforge.net/info.html
X
X- Vaida Bogdan
Xvaida.bogdan at gmail.com
END-of-BackupPC/pkg-descr
echo x - BackupPC/distinfo
sed 's/^X//' >BackupPC/distinfo << 'END-of-BackupPC/distinfo'
XMD5 (BackupPC-2.1.2.tar.gz) = 72fc0f09084f44c42ba5d22451cfe29b
XSIZE (BackupPC-2.1.2.tar.gz) = 354599
END-of-BackupPC/distinfo
exit

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



More information about the freebsd-ports-bugs mailing list