diff options
author | miwi <miwi@FreeBSD.org> | 2009-02-13 05:31:40 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2009-02-13 05:31:40 +0800 |
commit | 53ff68245055dafc03ab858a0d6683740030b3a9 (patch) | |
tree | d1459f4d6a81b9ec5f262772d1f9847ba954c049 /www | |
parent | b17d694219baacaa930df98125c11e01d5ec0bd1 (diff) | |
download | freebsd-ports-gnome-53ff68245055dafc03ab858a0d6683740030b3a9.tar.gz freebsd-ports-gnome-53ff68245055dafc03ab858a0d6683740030b3a9.tar.zst freebsd-ports-gnome-53ff68245055dafc03ab858a0d6683740030b3a9.zip |
- Unbreal after jail MFC
PR: 131512
Submitted by: "Bjoern A. Zeeb" <bzeeb+freebsdports@zabbadoz.net>
Diffstat (limited to 'www')
-rw-r--r-- | www/mod_jail/files/patch-mod_jail.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/www/mod_jail/files/patch-mod_jail.c b/www/mod_jail/files/patch-mod_jail.c index bd81ad910cde..786b1e153f7f 100644 --- a/www/mod_jail/files/patch-mod_jail.c +++ b/www/mod_jail/files/patch-mod_jail.c @@ -4,7 +4,7 @@ p_jail_cfg_t cfg = (p_jail_cfg_t) ap_pcalloc(p, sizeof(jail_cfg_t)); cfg->jail_scrlevel = 3; /* good default value */ -+#if __FreeBSD_version < 800056 ++#if ((__FreeBSD_version >= 800000 && __FreeBSD_version < 800056) || __FreeBSD_version < 701103) cfg->jail.version = 0; +#else + cfg->jail.version = JAIL_API_VERSION; @@ -16,7 +16,7 @@ if (!inet_aton(arg, &in)) { return "could not make sense of jail ip address"; } -+#if __FreeBSD_version < 800056 ++#if ((__FreeBSD_version >= 800000 && __FreeBSD_version < 800056) || __FreeBSD_version < 701103) cfg->jail.ip_number = ntohl(in.s_addr); +#else + cfg->jail.ip4s = 1; @@ -30,7 +30,7 @@ return NULL; } cfg->jail_scrlevel = 3; /* good default value */ -+#if __FreeBSD_version < 800056 ++#if ((__FreeBSD_version >= 800000 && __FreeBSD_version < 800056) || __FreeBSD_version < 701103) cfg->jail.version = 0; +#else + cfg->jail.version = JAIL_API_VERSION; @@ -42,7 +42,7 @@ if (!inet_aton(arg, &in)) { return "could not make sense of jail ip address"; } -+#if __FreeBSD_version < 800056 ++#if ((__FreeBSD_version >= 800000 && __FreeBSD_version < 800056) || __FreeBSD_version < 701103) cfg->jail.ip_number = ntohl(in.s_addr); +#else + cfg->jail.ip4s = 1; |