summaryrefslogtreecommitdiff
path: root/net/rp-pppoe
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-04-24 22:48:23 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-04-24 22:48:23 +0000
commit829bb017574f82758d8a9b696621420d7cfd9740 (patch)
tree3c6990d8feae48ac308c93a2447b4d8ae3badbc4 /net/rp-pppoe
parentAdd support for native ACLs under -current and bump PORTREVISION (diff)
Add a missing file to PLIST. Be more graceful when removing files.
Submitted by: bento (sort of)
Notes
Notes: svn path=/head/; revision=41880
Diffstat (limited to 'net/rp-pppoe')
-rw-r--r--net/rp-pppoe/pkg-message25
-rw-r--r--net/rp-pppoe/pkg-plist4
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