svn commit: r301239 - head/net/xrdp
Steve Wills
swills at FreeBSD.org
Fri Jul 20 20:00:44 UTC 2012
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 at 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
+ at unexec if cmp -s %D/etc/xrdp/rsakeys.ini.sample %D/etc/xrdp/rsakeys.ini; then rm -f %D/etc/xrdp/rsakeys.ini; fi
+ at unexec if cmp -s %D/etc/xrdp/sesman.ini.sample %D/etc/xrdp/sesman.ini; then rm -f %D/etc/xrdp/sesman.ini; fi
+ at unexec if cmp -s %D/etc/xrdp/startwm.sh.sample %D/etc/xrdp/startwm.sh; then rm -f %D/etc/xrdp/startwm.sh; fi
+ at 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
+ at exec [ -f %D/etc/xrdp/rsakeys.ini ] || cp -p %D/etc/xrdp/rsakeys.ini.sample %D/etc/xrdp/rsakeys.ini
+ at exec [ -f %D/etc/xrdp/sesman.ini ] || cp -p %D/etc/xrdp/sesman.ini.sample %D/etc/xrdp/sesman.ini
+ at exec [ -f %D/etc/xrdp/startwm.sh ] || cp -p %D/etc/xrdp/startwm.sh.sample %D/etc/xrdp/startwm.sh
+ at 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
More information about the svn-ports-all
mailing list