1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
Commit Graph

227 Commits

Author SHA1 Message Date
Doug Barton
0175383f0a Fix a few "bad example" problems in the rc.d scripts that have been
propogated by copy and paste.

1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).

No PORTREVISION bumps because all of these changes are noops.
2009-07-15 16:56:10 +00:00
Ed Schouten
936c46861d Be sure to remove -std= from apxs.
My change to apache13, to build it with -std=gnu89 also caused this
compiler flag to be exposed through the apxs utility. This caused some
Apache modules to fail to build.

Reported by:	pav, miwi
2009-06-08 09:27:33 +00:00
Ed Schouten
cda8d5ee4c Build Apache 13 with -std=gnu89. It doesn't build with ISO C99 inline.
I should also change all the other ports, but I'm leaving that like it
is right now. This port will at least make it easier to build 200 more
ports on pointyhat.

Approved by:	pgollucci
2009-06-04 19:47:22 +00:00
Philip M. Gollucci
fe0178de48 - Mark SAFE apache@ ports MAKE_JOBS_SAFE=yes 2009-05-17 07:24:35 +00:00
Ion-Mihai Tetcu
a7b0737f07 Spell NOPORTDOCS correctly and use %%PORTDOCS%% amcro instead of NODOCS.
Approved by:	maintainer on IRC
2009-05-12 13:49:09 +00:00
Philip M. Gollucci
581f26a718 Add note tp pkg-message informing users of FAQ:
your hostname must be resolvable via at least
  1 mechanism configured in /etc/nsswitch.conf
  or depending on the modules you hae loaded
  apache might not be able to start.

PRs:            ports/131563, ports/131564, ports/131565
Submitted by:   Glen Barber <glen.j.barber@gmail.com>
Discussed with: me
2009-04-10 06:39:46 +00:00
Philip M. Gollucci
879e2c8e4c Pass MAINTAINER to apache@
Approved by:    ache (prev maintainer)
2009-01-14 04:46:30 +00:00
Philip M. Gollucci
7103f91d7e Revert some of the previous commit. Applogies.
I only meant to do clement@ and ports@ ones
2009-01-09 14:20:18 +00:00
Philip M. Gollucci
6ded56a341 - Re-assign www/apache* ports to apache@
- Previous MATAINERs please welcome yourself to the apache@ team.

Approved by: portmgr (pav, flz), secteam (simon), clement
2009-01-09 14:13:05 +00:00
Andrey A. Chernov
d1ee96f817 Don't check value for WITH_/WITHOUT_ vars, especially for "yes"
Just relay on they are set.

PR:             127464
2008-09-23 12:34:37 +00:00
Andrey A. Chernov
637efd3cf4 Add default php5 instructions to make easy php5+apache config
PR:     124274
Submitted by: Till Klampaeckel <till@php.net> (partially)
2008-07-19 15:32:23 +00:00
Andrey A. Chernov
dd84ed0301 Upgrade to 1.3.41 2008-01-21 03:39:57 +00:00
Andrey A. Chernov
78d54b62e0 Honor NOPORTDOC
PR:             117126
Submitted by:   "Philip M. Gollucci" <pgollucci@p6m7g8.com>
2007-10-19 06:57:30 +00:00
Andrey A. Chernov
6570a0437b Use better pattern for caudium12 in CONFLICTS
PR:     117126 (part of)
Submitted by:   "Philip M. Gollucci" <pgollucci@p6m7g8.com>
2007-10-13 18:39:52 +00:00
Andrey A. Chernov
2e3f5ecdfa Stop linking data and cgi-bin to -dist ones by default, it affects packages
badly when they installed in batch (they write into -dist dirs).
Try to create empty data and cgi-bin instead.
2007-10-01 05:53:05 +00:00
Andrey A. Chernov
0da62a9b46 Use new style of startup script install
Use dirrmtry when remove some directories
Respect DOCSDIR in pkg-plist
(with small mod from me)

PR:             116776
Submitted by:   Alexander Logvinov <ports@logvinov.com>
2007-10-01 04:00:08 +00:00
Andrey A. Chernov
4a2e8ee32b Upgrade to 1.3.39 2007-09-08 01:25:14 +00:00
Andrey A. Chernov
750690cdb9 Remove CONFLICTS with updated thttpd 2007-06-14 23:31:27 +00:00
Andrey A. Chernov
ba32102818 Fix build when custom LC_ALL is set
PR:     96703
2007-05-31 11:08:46 +00:00
Andrey A. Chernov
0e4c93de36 Fix objformat problem 2007-04-04 15:09:44 +00:00
Andrey A. Chernov
a89c1b1bd6 Replace
# REQUIRE: DAEMON
# BEFORE: LOGIN
with
# REQUIRE: LOGIN cleanvar
(mysql-first problem)

PR:             106429
2006-12-09 17:34:33 +00:00
Andrey A. Chernov
8452a04665 Use more rcNG compatible method for limits(1)
PR:             101746
2006-08-10 11:51:42 +00:00
Andrey A. Chernov
18e3766af4 Upgrade to 1.3.37 2006-07-28 23:49:23 +00:00
Andrey A. Chernov
81b6c855ff Security fix: off-by-one error in mod_rewrite
Submitted by:   simon
2006-07-27 15:28:20 +00:00
Andrey A. Chernov
2b0d249d26 Upgrade to 1.3.36 2006-05-17 23:33:45 +00:00
Andrey A. Chernov
978d1b7230 Upgrade to 1.3.35 2006-05-10 13:57:18 +00:00
Doug Barton
c49d1a3273 Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
2006-02-20 20:47:50 +00:00
Jun Kuriyama
a06ee65df0 Chase shlib bump of libexpat. 2006-01-30 23:20:05 +00:00
Kris Kennaway
91c12a4ef3 Quench pkg_delete warning 2006-01-26 04:39:20 +00:00
Edwin Groothuis
84b1517c16 SHA256ify
Approved by: krion@
2006-01-24 03:16:52 +00:00
Andrey A. Chernov
633043b817 CVE-2005-3352 2005-12-14 16:16:59 +00:00
Andrey A. Chernov
a742ba759e Back out rc transition, now all script executed in the subshell 2005-12-05 08:29:57 +00:00
Doug Barton
af23abeb08 Fix my suggested patch by making it PLIST_SUB+= 2005-12-03 07:57:44 +00:00
Andrey A. Chernov
aec3fbf780 Tune for new rc.d convention
Submitted by:   dougb
2005-12-03 03:37:22 +00:00
Edwin Groothuis
941a08ed00 big whitespace cleanup (see ports/65409)
Ache's ports whitespace cleanup

PR:		ports/65829
Submitted by:	trevor
Approved by:	ache
2005-11-25 03:17:11 +00:00
Andrey A. Chernov
0976ed79f6 Upgrade to 1.3.34 2005-10-18 19:20:28 +00:00
Andrey A. Chernov
a07d258eba Fix http request smuggling for proxy
Approved by:    portmgr (clement)
2005-08-11 12:34:43 +00:00
Clement Laforet
d2f4ba1b1e - don't create httpd.conf.bak
- remove httpd.conf.bak if exists

Approved by:	portmgr (krion, kris)
2005-02-11 20:43:04 +00:00
Andrey A. Chernov
4bc33325bc Change APACHE_PERF_TUNING default to more reasonable value
Submitted by:   Nikolas Britton <freebsd@nbritton.org>
2005-01-30 14:50:21 +00:00
Andrey A. Chernov
776ed58807 Fix few wrong deinstallation commands and obsoleted dirrm
Submitted by:   hrs
2004-11-06 22:41:07 +00:00
Andrey A. Chernov
97a621a081 Upgrade to 1.3.33 2004-10-29 09:06:04 +00:00
Andrey A. Chernov
76c93bb3fb Upgrade to 1.3.32 2004-10-25 14:19:55 +00:00
Andrey A. Chernov
e730d415d0 rc_flags not expanded yet at this point in startup script.
Change it to apache_flags directly.
2004-08-29 11:07:42 +00:00
Andrey A. Chernov
7d9e16aa73 Add @unexec parts to prev. commit 2004-08-22 16:58:31 +00:00
Andrey A. Chernov
fc850af782 Write-protect *-dist directories 2004-08-22 10:55:55 +00:00
Andrey A. Chernov
ea9c548604 Move 'limits' from start_precmd to start_cmd because with new localpkg
it affects all subsequent scripts.
2004-07-27 11:17:11 +00:00
Peter Pentchev
f554cfdb78 In the rc.d/localpkg New World Order, the apache.sh startup script may
be executed when the apache_enable and other config variables have
already been set, e.g. via /etc/rc.conf.  In that case, load_rc_config
will not do anything at all, and the "defaults" set in the script will
override the user's settings.  Fix this by honoring any previously-set
config variables.

Carte blanche by:	ache (maintainer)
2004-07-26 15:24:05 +00:00
Andrey A. Chernov
c43d638eb4 Fix connection problem with mod_dav and FP
http://issues.apache.org/bugzilla/show_bug.cgi?id=29237

PR:             67928
Submitted by:   Helge Oldach <apache13jun14@oldach.net>
2004-06-14 13:22:58 +00:00
Andrey A. Chernov
84a693f929 Fix mod_proxy overflow.
GG security advisory #69
2004-06-11 20:56:55 +00:00
Kris Kennaway
af18d6b419 Don't remove www/ now that it is created by the system. 2004-06-09 06:16:06 +00:00