aboutsummaryrefslogtreecommitdiffstats
path: root/mail/youbin/files
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>1999-09-09 16:37:41 +0800
committermax <max@FreeBSD.org>1999-09-09 16:37:41 +0800
commit4861cfe0b9da0a9e61f6d52bcf6592c61f599717 (patch)
treed4fa8566ba687ba40871068e56bf5561d7a247a7 /mail/youbin/files
parent09bc4366cc7931c9f2d630ec965eab39b295cb81 (diff)
downloadfreebsd-ports-gnome-4861cfe0b9da0a9e61f6d52bcf6592c61f599717.tar.gz
freebsd-ports-gnome-4861cfe0b9da0a9e61f6d52bcf6592c61f599717.tar.zst
freebsd-ports-gnome-4861cfe0b9da0a9e61f6d52bcf6592c61f599717.zip
Instead of marking this port FORBIDDEN, show a security warning and ask
if the user wants to proceed (unless BATCH is set) at pre-fetch and pre-install. Make the same query at pkg_add time. While I'm at it, - Move the URI to DESCR from Makefile. - Replace a few = with ?= - Instead of using echo in Makefile to create the sample startup script, use a template.
Diffstat (limited to 'mail/youbin/files')
-rw-r--r--mail/youbin/files/youbind.sh.sample10
1 files changed, 10 insertions, 0 deletions
diff --git a/mail/youbin/files/youbind.sh.sample b/mail/youbin/files/youbind.sh.sample
new file mode 100644
index 000000000000..19f19a39c06d
--- /dev/null
+++ b/mail/youbin/files/youbind.sh.sample
@@ -0,0 +1,10 @@
+#!/bin/sh
+#
+# CAUTION:
+# Youbin has potentail security problem.
+# If this program is used on your system, great care must be taken
+# to avoid any security problem.
+#
+if [ -x @PREFIX@/sbin/youbind ]; then
+ @PREFIX@/sbin/youbind ; echo -n ' youbind'
+fi