Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 May 2014 12:14:01 +0000 (UTC)
From:      Ganael LAPLANCHE <martymac@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r354746 - in head: ftp/lftp net/ldapscripts
Message-ID:  <201405211214.s4LCE1UZ083028@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: martymac
Date: Wed May 21 12:14:01 2014
New Revision: 354746
URL: http://svnweb.freebsd.org/changeset/ports/354746
QAT: https://qat.redports.org/buildarchive/r354746/

Log:
  Use @sample for my ports

Modified:
  head/ftp/lftp/pkg-plist
  head/net/ldapscripts/pkg-plist

Modified: head/ftp/lftp/pkg-plist
==============================================================================
--- head/ftp/lftp/pkg-plist	Wed May 21 11:59:07 2014	(r354745)
+++ head/ftp/lftp/pkg-plist	Wed May 21 12:14:01 2014	(r354746)
@@ -1,8 +1,6 @@
 bin/lftp
 bin/lftpget
-@unexec if cmp -s %D/etc/lftp.conf %D/etc/lftp.conf.sample; then rm -f %D/etc/lftp.conf; fi
-etc/lftp.conf.sample
-@exec if [ ! -f %D/etc/lftp.conf ]; then cp %B/%f %D/etc/lftp.conf; fi
+@sample etc/lftp.conf.sample
 lib/liblftp-jobs.a
 lib/liblftp-tasks.a
 %%DATADIR%%/convert-mozilla-cookies

Modified: head/net/ldapscripts/pkg-plist
==============================================================================
--- head/net/ldapscripts/pkg-plist	Wed May 21 11:59:07 2014	(r354745)
+++ head/net/ldapscripts/pkg-plist	Wed May 21 12:14:01 2014	(r354746)
@@ -1,9 +1,5 @@
-@unexec if cmp -s %D/%%ETCDIR%%/ldapscripts.conf %D/%%ETCDIR%%/ldapscripts.conf.sample; then rm -f %D/%%ETCDIR%%/ldapscripts.conf; fi
-%%ETCDIR%%/ldapscripts.conf.sample
-@exec if [ ! -f %D/%%ETCDIR%%/ldapscripts.conf ] ; then cp -p %D/%F %B/ldapscripts.conf; fi
-@unexec if cmp -s %D/%%ETCDIR%%/ldapscripts.passwd %D/%%ETCDIR%%/ldapscripts.passwd.sample; then rm -f %D/%%ETCDIR%%/ldapscripts.passwd; fi
-%%ETCDIR%%/ldapscripts.passwd.sample
-@exec if [ ! -f %D/%%ETCDIR%%/ldapscripts.passwd ] ; then cp -p %D/%F %B/ldapscripts.passwd; fi
+@sample %%ETCDIR%%/ldapscripts.conf.sample
+@sample %%ETCDIR%%/ldapscripts.passwd.sample
 %%ETCDIR%%/ldapaddgroup.template.sample
 %%ETCDIR%%/ldapadduser.template.sample
 %%ETCDIR%%/ldapaddmachine.template.sample



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