blob: fa94d75f25ae03f6557e7f7969f18342f32cfba8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# New ports collection makefile for: apache mod_frontpage
# Date created: 2001/07/24
# Whom: mb@imp.ch
#
# $FreeBSD$
PORTNAME= mod_frontpage
PORTVERSION= 1.6
CATEGORIES= www
MASTER_SITES= http://people.freebsd.org/~mbr/distfiles/
MAINTAINER= mbr@FreeBSD.org
FORBIDDEN= "Buffer overflows in fpexec, exploitable locally. A fix is in work"
AP_PORT?= apache13
BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/${AP_PORT}
RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/${AP_PORT}
.include <bsd.port.pre.mk>
PKGMESSAGE= pkg-message
INSTALL_FILE= ${INSTALL} -c -m 555 -o bin -g bin
PKG_PREFIX= ${PREFIX}
APXS= ${LOCALBASE}/sbin/apxs
.if exists(${APXS})
APXS_WORKS!= ${APXS} -q TARGET 2>/dev/null || ${ECHO} no
.endif
.if exists(${APXS}) && ${APXS_WORKS} != no
AP_TARGET!= ${APXS} -q TARGET
AP_SYSCONF!= ${APXS} -q SYSCONFDIR
AP_INCLUDE!= ${APXS} -q INCLUDEDIR
AP_LIBEXEC!= ${APXS} -q LIBEXECDIR
.else
AP_TARGET?= httpd
AP_SYSCONF?= ${PREFIX}/etc/apache
AP_INCLUDE?= ${PREFIX}/include/apache
AP_LIBEXEC?= ${PREFIX}/libexec/apache
.endif
PERL_CONFIGURE= yes
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
|