Commits

Marius Schamschula authored 096a57e43bb
apache: mark as obsolete
No tags

www/apache/Portfile

Modified
1 -PortSystem 1.0
1 +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2 2
3 -name apache
4 -version 1.3.41
5 -revision 1
6 -categories www
7 -license Apache-2
8 -platforms darwin freebsd
9 -maintainers ryandesign openmaintainer
10 -use_parallel_build yes
11 -description The extremely popular Apache http server
12 -long_description \
13 - Apache is an HTTP server designed as a plug-in replacement for \
14 - the NCSA server version 1.3 (or 1.4). It fixes numerous bugs in \
15 - the NCSA server and includes many frequently requested new \
16 - features, and has an API which allows it to be extended to meet \
17 - users' needs more easily.
18 -homepage http://httpd.apache.org/
19 -master_sites http://archive.apache.org/dist/httpd/ \
20 - apache:httpd
3 +PortSystem 1.0
4 +replaced_by apache2
5 +PortGroup obsolete 1.0
21 6
22 -distname ${name}_${version}
23 -checksums md5 f7f00b635243f03a787ca9f4d4c85651 \
24 - sha1 3bbd4c4bc648e6ad5b696bb83420533f4d23daf8 \
25 - rmd160 74786c65c143af123f1d13e9d93dd5ff07e9a201
7 +name apache
8 +version 1.3.41
9 +revision 2
10 +categories www
26 11
27 -# Both apache and apache2 want to install dbmmanage.1 and other manpages.
28 -conflicts apache2
29 -
30 -
31 -platform darwin {
32 - if { ![variant_isset apache_layout] } {
33 - configure.args-append --with-layout=FreeBSD --logfiledir=${prefix}/var/log/httpd --runtimedir=${prefix}/var/run
34 - }
35 -
36 - patchfiles patch-src_Configure-remove-flat_namespace.diff \
37 - patch-src_support_htdigest_htpasswd_logresolve.c-remove-rename-static-getline-functions.diff
38 - configure.cflags-append -std=c89
39 -}
40 -
41 -variant apache_layout {
42 - destroot.violate_mtree yes
43 - configure.pre_args --prefix=${prefix}/apache
44 - configure.args-append --with-layout=Apache --logfiledir=${prefix}/apache/var/log/httpd --runtimedir=${prefix}/apache/var/run
45 -}
46 -
47 -configure.env LD_SHLIB=${configure.cc}
48 -
49 -configure.pre_args --prefix=${prefix} --datadir=${prefix}/var/www/data --cgidir=${prefix}/var/www/cgi-bin --iconsdir=${prefix}/var/www/icons --mandir=${prefix}/share/man
50 -
51 -configure.args --server-uid=www \
52 - --server-gid=www \
53 - --enable-module=most \
54 - --enable-shared=max \
55 - --disable-rule=expat
56 -
57 -configure.universal_args-delete --disable-dependency-tracking
58 -
59 -destroot.args root=${destroot}
60 -
61 -startupitem.create yes
62 -if { [variant_isset apache_layout] } {
63 - startupitem.init \
64 - "CTL=${prefix}/apache/bin/apachectl\nPID=${prefix}/apache/run/httpd.pid"
65 -} else {
66 - startupitem.init \
67 - "CTL=${prefix}/sbin/apachectl\nPID=${prefix}/var/run/httpd.pid"
68 -}
69 -startupitem.start \
70 -"\[ -x \${CTL} \] && \${CTL} start >/dev/null"
71 -startupitem.stop \
72 -"\[ -r \${PID} \] && \${CTL} stop >/dev/null"
73 -startupitem.restart \
74 -"\[ -x \${CTL} \] && \${CTL} restart >/dev/null"
75 -
76 -post-destroot {
77 - if { [variant_isset apache_layout] } {
78 - xinstall -m 755 -d ${destroot}${prefix}/apache/log \
79 - ${destroot}${prefix}/apache/run
80 - destroot.keepdirs ${destroot}${prefix}/apache/log \
81 - ${destroot}${prefix}/apache/run
82 - } else {
83 - xinstall -m 755 -d ${destroot}${prefix}/var/log/httpd \
84 - ${destroot}${prefix}/var/run
85 - destroot.keepdirs ${destroot}${prefix}/var/log/httpd \
86 - ${destroot}${prefix}/var/run
87 - }
88 -}
89 -
90 -notes "
91 -Apache 1 is obsolete. Please update to Apache 2 (the apache2 port).\
92 -For information on how to update your web server configuration, please see\
93 -http://httpd.apache.org/docs/2.0/upgrading.html
94 -"
95 -
96 -livecheck.type regex
97 -livecheck.url ${homepage}
98 -livecheck.regex {Apache (1\.\d+(?:\.\d+)*) Released}
12 +# Remove after October 7, 2018

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut