aboutsummaryrefslogtreecommitdiff
path: root/security/openvpn20/files/pkg-req.in
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2007-12-31 12:35:17 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2007-12-31 12:35:17 +0000
commit18a56320c9602155ab8efec1503104da172eb882 (patch)
treee6c9bc10db8d29a4e76a24cac3a7ecc376035aec /security/openvpn20/files/pkg-req.in
parent07bcc4091010f79f8d929d6ce22e51c7e3743b3f (diff)
Notes
Diffstat (limited to 'security/openvpn20/files/pkg-req.in')
-rw-r--r--security/openvpn20/files/pkg-req.in29
1 files changed, 0 insertions, 29 deletions
diff --git a/security/openvpn20/files/pkg-req.in b/security/openvpn20/files/pkg-req.in
deleted file mode 100644
index 15c8242d8724..000000000000
--- a/security/openvpn20/files/pkg-req.in
+++ /dev/null
@@ -1,29 +0,0 @@
-set -e
-
-rcvers() {
- # determine if we have "old" or "new" (rcorder integration) scheme
- # for %%PREFIX%%/etc/rc.d/* files
- if test $1 -ge 700007 || test $1 -lt 700000 -a $1 -ge 600101 ; then
- echo 2
- else
- echo 1
- fi
-}
-
-if [ "$2" = INSTALL ] ; then
- # check if the base system is new enough for us,
- # which should only matter for package installs.
- buildrc=$(rcvers %%OSVERSION%%)
- execrc=$(rcvers $(sysctl -n kern.osreldate) )
- if test $buildrc -gt $execrc ; then
- cat <<EOF
-
-Error: this package, $1, was compiled for a newer FreeBSD
-====== version that uses different boot scripts.
- Therefore, the rc.d script WILL NOT WORK.
- Please update your ports tree and install security/openvpn from there.
-
-EOF
- exit 1
- fi
-fi