diff options
author | lioux <lioux@FreeBSD.org> | 2001-04-25 06:48:23 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2001-04-25 06:48:23 +0800 |
commit | 26621784c64614a255cf03c340815775f1db5149 (patch) | |
tree | 7eebbe98fa859ec39952be478da8c22a7c8f1ef7 /net/rp-pppoe | |
parent | 6fcd4ae2c9414b69b299893b32393aff085a5af6 (diff) | |
download | freebsd-ports-gnome-26621784c64614a255cf03c340815775f1db5149.tar.gz freebsd-ports-gnome-26621784c64614a255cf03c340815775f1db5149.tar.zst freebsd-ports-gnome-26621784c64614a255cf03c340815775f1db5149.zip |
Add a missing file to PLIST. Be more graceful when removing files.
Submitted by: bento (sort of)
Diffstat (limited to 'net/rp-pppoe')
-rw-r--r-- | net/rp-pppoe/pkg-message | 25 | ||||
-rw-r--r-- | net/rp-pppoe/pkg-plist | 4 |
2 files changed, 2 insertions, 27 deletions
diff --git a/net/rp-pppoe/pkg-message b/net/rp-pppoe/pkg-message deleted file mode 100644 index e8f66d3a4a31..000000000000 --- a/net/rp-pppoe/pkg-message +++ /dev/null @@ -1,25 +0,0 @@ -Understand for C and C++ can't be used without a license code. - -You need a limited time period license to run the product in -evaluation mode. One can be obtained in the www site. - -A permanent license can be purchased there, too. - -The Understand_c program will try to write a license file under -/usr/local/share/understand_c/license when you register it. - -Registration instructions: - -1) Make sure that the user running Understand_c when entering the -registration code has proper permissions to create files under -/usr/local/share/understand_c/license when your register it. -Understand_c will try to create a file under this directory to save -the registration information. This applies for both evaluation and -permanent licenses. - -2) Verify that the files created under -/usr/local/share/understand_c/license are accessible by all users -who will be using Understand_c. Usually ''chmod -R a=r+X -/usr/local/share/understand_c/license'' will do. - -http://www.scitools.com/ diff --git a/net/rp-pppoe/pkg-plist b/net/rp-pppoe/pkg-plist index e44553a22478..4889e0bca755 100644 --- a/net/rp-pppoe/pkg-plist +++ b/net/rp-pppoe/pkg-plist @@ -17,6 +17,6 @@ etc/ppp/firewall-masq.sample etc/ppp/firewall-standalone.sample etc/ppp/pap-secrets.sample etc/ppp/pppoe-server-options.sample +@unexec cmp -s %D/etc/ppp/pppoe.conf.sample %D/etc/ppp/pppoe.conf && rm %D/etc/ppp/pppoe.conf etc/ppp/pppoe.conf.sample -@unexec rmdir %D/etc/ppp 2>/dev/null || true -@unexec echo "If you are permanently removing pppoe, you should also ``rm -Rf ${PKG_PREFIX}/etc/ppp'' removing any configuration and password files left." | /usr/bin/fmt +@unexec rmdir %D/etc/ppp 2>/dev/null || echo "If you are permanently removing pppoe, you should also ``rm -Rf ${PKG_PREFIX}/etc/ppp'' removing any configuration and password files left." | /usr/bin/fmt |