免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1759 | 回复: 4
打印 上一主题 下一主题

[OpenBSD] OB安装squid不支持--enable-arp-acl?? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-05-23 16:39 |只看该作者 |倒序浏览
环境ob3.8
源码安装squid
./configure --enable-arp-acl时 有警告:WARNING: ARP ACL support probably won't work on i386-unknown-openbsd3.8
日 难道真要换fb?

论坛徽章:
0
2 [报告]
发表于 2006-05-23 17:11 |只看该作者
用port安装有问题么?

论坛徽章:
0
3 [报告]
发表于 2006-05-23 17:12 |只看该作者
老大 ports要另外添加参数吗? 我看了下 makefile
$OpenBSD: Makefile,v 1.73 2005/05/25 02:27:13 brad Exp $

COMMENT=        "WWW and FTP proxy cache and accelerator"

DISTNAME=       squid-2.5.STABLE10
CATEGORIES=     www
MASTER_SITES=   ${HOMEPAGE}Versions/v2/2.5/
DIST_SUBDIR=    squid

HOMEPAGE=       http://www.squid-cache.org/

MAINTAINER=     Brad Smith <brad@openbsd.org>

# GPL
PERMIT_PACKAGE_CDROM=   Yes
PERMIT_PACKAGE_FTP=     Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP=   Yes
WANTLIB=                c crypto m ssl

SQUIDDIR?=      /var/squid
SUBST_VARS=     SQUIDDIR

FLAVORS=        transparent snmp
FLAVOR?=

.include <bsd.own.mk>

USE_GCC3?= No

# optimization workaround for gcc 2.95
.if ${USE_GCC3:L} == "no"
PATCH_LIST=     patch-* gcc-*
.endif

SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= autoconf
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/cfgaux
CONFIGURE_ARGS+=--datadir="${PREFIX}/share/squid" \
                --enable-auth="basic digest" \
                --enable-basic-auth-helpers="NCSA YP" \
                --enable-digest-auth-helpers="password" \
                --enable-external-acl-helpers="ip_user unix_group" \
                --enable-removal-policies="lru heap" \
                --enable-ssl \
                --enable-storeio="ufs diskd" \
                --localstatedir="${SQUIDDIR}"

.if ${FLAVOR:L:Mtransparent}
CONFIGURE_ARGS+=--enable-pf-transparent
.endif

.if${FLAVOR:L:Msnmp}
CONFIGURE_ARGS+=--enable-snmp
.endif

post-install:
        @chown -R ${SHAREOWN}{SHAREGRP} ${PREFIX}/share/examples/squid
        @find ${PREFIX}/share/examples/squid/errors \
                -name '*.orig' -print0 | xargs -0 rm -f

.include <bsd.port.mk>

好像没有 --enable-arp-acl这个选项欧

[ 本帖最后由 像把刀子 于 2006-5-23 17:14 编辑 ]

论坛徽章:
0
4 [报告]
发表于 2006-05-23 19:51 |只看该作者
openbsd=安全至上

论坛徽章:
0
5 [报告]
发表于 2006-05-24 08:27 |只看该作者
ports安装好后在/usr/local/share/examples/squid 里的squid.conf看到
The arp ACL requires the special configure option --enable-arp-acl.
#         # Furthermore, the arp ACL code is not portable to all operating systems.
#         # It works on Linux, Solaris, FreeBSD and some other *BSD variants

显然 freebsd已经支持这个功能了,最初只有linux和solaris支持,当然对于多个网络这个功能也是没用的,
我只能换fb了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP