Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Aug 2014 12:26:43 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r366504 - head/sysutils/backuppc
Message-ID:  <201408291226.s7TCQhYY024839@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Fri Aug 29 12:26:42 2014
New Revision: 366504
URL: http://svnweb.freebsd.org/changeset/ports/366504
QAT: https://qat.redports.org/buildarchive/r366504/

Log:
  sysutils/backuppc: revert a couple of changes
  
  - Main doc html is used by the application
  - sample files are actually templates for the configuration script
  
  PR:		193059
  Submitted by:	maintainer

Modified:
  head/sysutils/backuppc/Makefile
  head/sysutils/backuppc/pkg-plist

Modified: head/sysutils/backuppc/Makefile
==============================================================================
--- head/sysutils/backuppc/Makefile	Fri Aug 29 12:14:57 2014	(r366503)
+++ head/sysutils/backuppc/Makefile	Fri Aug 29 12:26:42 2014	(r366504)
@@ -3,7 +3,7 @@
 
 PORTNAME=	backuppc
 PORTVERSION=	3.3.0
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	sysutils
 MASTER_SITES=	SF
 MASTER_SITE_SUBDIR=	${PORTNAME}/${PORTNAME}/${PORTVERSION}
@@ -127,6 +127,8 @@ do-install:
 		${WRKSRC}/doc/BackupPC.pod ${WRKSRC}/${PORTNAME}.1
 	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
 	cd ${WRKSRC} && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+	${RM} ${STAGEDIR}${ETCDIR}/config.pl
+	${RM} ${STAGEDIR}${ETCDIR}/hosts
 	${CP} ${WRKSRC}/conf/config.pl ${STAGEDIR}${ETCDIR}/config.pl.sample
 	${CP} ${WRKSRC}/conf/hosts ${STAGEDIR}${ETCDIR}/hosts.sample
 	${CP} ${WRKDIR}/update.sh ${STAGEDIR}${ETCDIR}/update.sh

Modified: head/sysutils/backuppc/pkg-plist
==============================================================================
--- head/sysutils/backuppc/pkg-plist	Fri Aug 29 12:14:57 2014	(r366503)
+++ head/sysutils/backuppc/pkg-plist	Fri Aug 29 12:26:42 2014	(r366504)
@@ -76,7 +76,9 @@ lib/BackupPC/Zip/FileMember.pm
 lib/Net/FTP/AutoReconnect.pm
 lib/Net/FTP/RetrHandle.pm
 man/man1/backuppc.1.gz
-%%PORTDOCS%%%%DOCSDIR%%/BackupPC.html
+@comment Main html doc should be unconditionally installed.
+@comment CGI uses the BackupPC.html as a documentation page.
+%%DOCSDIR%%/BackupPC.html
 %%PORTDOCS%%%%DOCSDIR%%/BackupPC.pod
 %%WWWDIR%%/0000000.gif
 %%WWWDIR%%/0000011.gif
@@ -156,10 +158,12 @@ man/man1/backuppc.1.gz
 @owner backuppc
 @group backuppc
 @dirrmtry %%ETCDIR%%
+@comment .sample files actually are templates for the configuration script
+@comment and should not be installed as working configuration files.
 @mode 0640
-@sample %%ETCDIR%%/config.pl.sample
+%%ETCDIR%%/config.pl.sample
 @mode 0644
-@sample %%ETCDIR%%/hosts.sample
+%%ETCDIR%%/hosts.sample
 @owner
 @group
 @mode 0544



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