Date: Fri, 20 Jul 2012 20:00:43 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r301239 - head/net/xrdp Message-ID: <201207202000.q6KK0h9Z031659@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Fri Jul 20 20:00:43 2012 New Revision: 301239 URL: http://svn.freebsd.org/changeset/ports/301239 Log: - Remove config files if unmodified PR: ports/170017 Submitted by: Koichiro IWAO <meta+ports@vmeta.jp> Modified: head/net/xrdp/Makefile (contents, props changed) head/net/xrdp/pkg-plist (contents, props changed) Modified: head/net/xrdp/Makefile ============================================================================== --- head/net/xrdp/Makefile Fri Jul 20 19:58:16 2012 (r301238) +++ head/net/xrdp/Makefile Fri Jul 20 20:00:43 2012 (r301239) @@ -7,6 +7,7 @@ PORTNAME= xrdp PORTVERSION= 0.6.0.20110117 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://www.club.kyutech.ac.jp/~meta/distfiles/ \ http://key2.jp/~meta/distfiles/ Modified: head/net/xrdp/pkg-plist ============================================================================== --- head/net/xrdp/pkg-plist Fri Jul 20 19:58:16 2012 (r301238) +++ head/net/xrdp/pkg-plist Fri Jul 20 20:00:43 2012 (r301239) @@ -14,10 +14,18 @@ etc/xrdp/km-041d.ini %%JP106%%etc/xrdp/km-e0200411.ini %%JP106%%etc/xrdp/km-e0010411.ini %%JP106%%etc/xrdp/km-e0210411.ini +@unexec if cmp -s %D/etc/xrdp/rsakeys.ini.sample %D/etc/xrdp/rsakeys.ini; then rm -f %D/etc/xrdp/rsakeys.ini; fi +@unexec if cmp -s %D/etc/xrdp/sesman.ini.sample %D/etc/xrdp/sesman.ini; then rm -f %D/etc/xrdp/sesman.ini; fi +@unexec if cmp -s %D/etc/xrdp/startwm.sh.sample %D/etc/xrdp/startwm.sh; then rm -f %D/etc/xrdp/startwm.sh; fi +@unexec if cmp -s %D/etc/xrdp/xrdp.ini.sample %D/etc/xrdp/xrdp.ini; then rm -f %D/etc/xrdp/xrdp.ini; fi etc/xrdp/rsakeys.ini.sample etc/xrdp/sesman.ini.sample etc/xrdp/startwm.sh.sample etc/xrdp/xrdp.ini.sample +@exec [ -f %D/etc/xrdp/rsakeys.ini ] || cp -p %D/etc/xrdp/rsakeys.ini.sample %D/etc/xrdp/rsakeys.ini +@exec [ -f %D/etc/xrdp/sesman.ini ] || cp -p %D/etc/xrdp/sesman.ini.sample %D/etc/xrdp/sesman.ini +@exec [ -f %D/etc/xrdp/startwm.sh ] || cp -p %D/etc/xrdp/startwm.sh.sample %D/etc/xrdp/startwm.sh +@exec [ -f %D/etc/xrdp/xrdp.ini ] || cp -p %D/etc/xrdp/xrdp.ini.sample %D/etc/xrdp/xrdp.ini etc/xrdp/xrdp.sh lib/xrdp/libcommon.a lib/xrdp/libcommon.la
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207202000.q6KK0h9Z031659>