2211f Apache HTTP Server 2.4, where art thou? - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Porting New Software

Porting New Software Having trouble or general questions about porting software to FreeBSD? Ask here.

Reply
 
Thread Tools Display Modes
  #1  
Old September 2nd, 2012, 02:04
fggggg13432ew fggggg13432ew is offline
Junior Member
 
Join Date: Sep 2012
Posts: 6
Thanks: 0
Thanked 2 Times in 1 Post
Default Apache HTTP Server 2.4, where art thou?

2012-04-17 <-- Apache 2.4 Apache HTTP Server was released as "stable" by the Apache foundation.
2012-04-20 <-- It should've been available for FreeBSD in the ports tree.
2012-09-02 <-- Today, almost FIVE MONTHS later, it is still not in the FreeBSD ports tree.

I have been waiting, hoping, checking and pulling my hair daily for all these days. I've asked people, searched for any signs of life, subscribed to the mailing list, but nobody seems to care.

It's a surreal experience. I would do it myself if I could, but I don't have the expertise. This is not laziness or whining. I simply have a set of skills different from this, and thus this is not "my task" in this world.

Could somebody offer any hope for me? Is anyone working on this at all? Why does it take so incredibly long? 2.4 has massive improvements. And no, I'm not going to switch to nginx or anything else, and compiling source code is not an option.

I'm going crazy over this.
Reply With Quote
  #2  
Old September 2nd, 2012, 03:15
swills swills is offline
Junior Member
 
Join Date: Nov 2008
Posts: 58
Thanks: 3
Thanked 2 Times in 2 Posts
Default

Have you considered working on it and sending in a patch? We're well aware, but it is a volunteer project after all. Volunteer!
Reply With Quote
  #3  
Old September 2nd, 2012, 03:25
fggggg13432ew fggggg13432ew is offline
Junior Member
 
Join Date: Sep 2012
Posts: 6
Thanks: 0
Thanked 2 Times in 1 Post
Default

Quote:
Originally Posted by swills View Post
Have you considered working on it and sending in a patch? We're well aware, but it is a volunteer project after all. Volunteer!
I don't know how to respond to this since I already addressed it in the first post.
Reply With Quote
The Following 2 Users Say Thank You to fggggg13432ew For This Useful Post:
EasyTarget (September 6th, 2012), knarf (September 4th, 2012)
  #4  
Old September 2nd, 2012, 03:39
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,718
Thanks: 432
Thanked 1,759 Times in 1,457 Posts
Default

You can wait for someone else to do it, do it yourself, or possibly even pay someone to do it. With the help of the existing port, the Porter's Handbook, and somewhat less than five months of time, it's possible to put together a preliminary port.

Are there specific problems the new version fixes, or new features that are needed?
Reply With Quote
  #5  
Old September 2nd, 2012, 05:14
fggggg13432ew fggggg13432ew is offline
Junior Member
 
Join Date: Sep 2012
Posts: 6
Thanks: 0
Thanked 2 Times in 1 Post
Default

Quote:
Originally Posted by wblock@ View Post
Are there specific problems the new version fixes, or new features that are needed?
Huge performance improvements, mostly. To compete with earlier mentioned competitors. Now it's really behind on FreeBSD.
Reply With Quote
  #6  
Old September 2nd, 2012, 12:32
SirDice's Avatar
SirDice SirDice is online now
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,725
Thanks: 47
Thanked 2,023 Times in 1,862 Posts
Default

I'm guessing the imminent release of 9.1 has put things on hold for a while. The ports tree is usually quite static around the time of a release.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #7  
Old September 2nd, 2012, 12:43
fggggg13432ew fggggg13432ew is offline
Junior Member
 
Join Date: Sep 2012
Posts: 6
Thanks: 0
Thanked 2 Times in 1 Post
Default

Quote:
Originally Posted by SirDice View Post
I'm guessing the imminent release of 9.1 has put things on hold for a while. The ports tree is usually quite static around the time of a release.
It used to be 8.3 or something that blocked it... now it's yet another release... sigh.
Reply With Quote
  #8  
Old September 2nd, 2012, 13:05
kpa kpa is online now
Giant Locked
 
Join Date: Jul 2010
Location: People's Technocratic Republic of Finland
Posts: 2,014
Thanks: 44
Thanked 467 Times in 397 Posts
Default

Unless someone has made a promise they are going to port apache 2.4 to FreeBSD there's no one in the world who has a responsibility to do so. The ports for FreeBSD are almost 100% volunteer based project. Step up yourself and start hacking
Reply With Quote
  #9  
Old September 2nd, 2012, 13:30
fggggg13432ew fggggg13432ew is offline
Junior Member
 
Join Date: Sep 2012
Posts: 6
Thanks: 0
Thanked 2 Times in 1 Post
Default

Quote:
Originally Posted by kpa View Post
Unless someone has made a promise they are going to port apache 2.4 to FreeBSD there's no one in the world who has a responsibility to do so. The ports for FreeBSD are almost 100% volunteer based project. Step up yourself and start hacking
For the billionth time: I don't have the necessary skills.

And of course nobody is FORCED literally to do it. It should not be something that anyone needs to be forced or talked into. It should be NATURAL. Also, one might really wonder why there isn't some official "fallback maintenance team" for super important ports such as this one.
Reply With Quote
  #10  
Old September 2nd, 2012, 13:52
kpa kpa is online now
Giant Locked
 
Join Date: Jul 2010
Location: People's Technocratic Republic of Finland
Posts: 2,014
Thanks: 44
Thanked 467 Times in 397 Posts
Default

In that case, keep asking. The freebsd-ports and freebsd-apache mailing lists should have at least some people that are capable and willing to do the porting. It's a matter of asking in a way that convinces those people that it's worth doing, just saying that it has to be done gets nowhere.
Reply With Quote
  #11  
Old September 2nd, 2012, 15:20
adamk adamk is online now
Senior Member
 
Join Date: Nov 2008
Posts: 1,605
Thanks: 6
Thanked 262 Times in 243 Posts
Default

Quote:
Originally Posted by fggggg13432ew View Post
For the billionth time: I don't have the necessary skills.

And of course nobody is FORCED literally to do it. It should not be something that anyone needs to be forced or talked into. It should be NATURAL. Also, one might really wonder why there isn't some official "fallback maintenance team" for super important ports such as this one.
So who would decide what's a super important port? Personally, I could care less about apache 2.4.


Adam
Reply With Quote
  #12  
Old September 2nd, 2012, 21:00
baot baot is offline
Junior Member
 
Join Date: Dec 2011
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Are you the same guy that comes in ##FreeBSD every other day, demanding someone updates it?
Reply With Quote
  #13  
Old September 3rd, 2012, 00:48
fggggg13432ew fggggg13432ew is offline
Junior Member
 
Join Date: Sep 2012
Posts: 6
Thanks: 0
Thanked 2 Times in 1 Post
Default

Quote:
Originally Posted by adamk View Post
Personally, I could care less about apache 2.4.
So you do care, then?
Reply With Quote
  #14  
Old September 3rd, 2012, 01:59
adamk adamk is online now
Senior Member
 
Join Date: Nov 2008
Posts: 1,605
Thanks: 6
Thanked 262 Times in 243 Posts
Default

While I'm quite sure you realize I meant to say that I couldn't care less about apache 2.4, I would point out that saying I do care less about it doesn't actually mean I care about it in any significant manner

For what it's worth, I'd rather see Xorg updated

Adam
Reply With Quote
  #15  
Old September 4th, 2012, 08:00
SirDice's Avatar
SirDice SirDice is online now
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,725
Thanks: 47
Thanked 2,023 Times in 1,862 Posts
Default

There's nothing wrong with Apache 2.2 and I doubt there will be many people that actually require the improved performance of 2.4. Sure, there will be people that will greatly benefit from it, but I think the vast majority of the current Apache users wouldn't notice any difference.

Sometimes you just have to be a little patient.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #16  
Old September 4th, 2012, 09:19
mix_room mix_room is offline
Member
 
Join Date: Aug 2009
Posts: 499
Thanks: 9
Thanked 39 Times in 36 Posts
Default

While you say that you don't have the necessary skills, you don't say that you are unwilling to learn them. I am pretty certain that if you take the www/apache22 port as a basis, read the change-logs from apache2.2 to apache2.4 and apply them as necessary you will at least get partial results. Then you can share your work with other people, and you will see that someone will be willing to help you with the remaining portions.

It is always a lot easier, and also a lot more fun, to help people who have tried to do things themselves first. Not only are you then teaching them something, but they also have a much greater appreciation for the amount of work that goes into doing something.

Just give it a shot. Worst case - it doesn't work. For me it seems that the default instruction on http://httpd.apache.org/docs/2.4/install.html work quite well for FreeBSD, ie it builds without obvious errors. This means that you are already quite close to having a working port.
Reply With Quote
  #17  
Old September 12th, 2012, 01:25
shitson's Avatar
shitson shitson is offline
Member
 
Join Date: Aug 2010
Location: Australia, Wollongong
Posts: 180
Thanks: 11
Thanked 32 Times in 26 Posts
Default

Quote:
Originally Posted by fggggg13432ew View Post
2012-04-17 <-- Apache 2.4 Apache HTTP Server was released as "stable" by the Apache foundation.
2012-04-20 <-- It should've been available for FreeBSD in the ports tree.
2012-09-02 <-- Today, almost FIVE MONTHS later, it is still not in the FreeBSD ports tree.

I have been waiting, hoping, checking and pulling my hair daily for all these days. I've asked people, searched for any signs of life, subscribed to the mailing list, but nobody seems to care.

It's a surreal experience. I would do it myself if I could, but I don't have the expertise. This is not laziness or whining. I simply have a set of skills different from this, and thus this is not "my task" in this world.

Could somebody offer any hope for me? Is anyone working on this at all? Why does it take so incredibly long? 2.4 has massive improvements. And no, I'm not going to switch to nginx or anything else, and compiling source code is not an option.

I'm going crazy over this.
I'm sure at one time in their lives everyone who has ever done anything, didn't have the experience they have now or needed at the time. 5 months is a long time to sit on your hands.
__________________
"Virtually everything worth doing has a learning curve associated with it", anomie.
Reply With Quote
  #18  
Old September 18th, 2012, 19:56
D4rkSilver D4rkSilver is offline
Junior Member
 
Join Date: Oct 2010
Posts: 57
Thanks: 1
Thanked 4 Times in 4 Posts
Default

You might not have the skill to port it right now but nothing prevents you from learning.

Also this is a user based forum so if you want help with updating a port I would recommend asking on the mailing lists.

Peoples are generally nice there... When you know how to politely ask and not demand something.
Reply With Quote
  #19  
Old September 19th, 2012, 14:28
NewGuy NewGuy is offline
Member
 
Join Date: Nov 2009
Posts: 101
Thanks: 3
Thanked 6 Times in 5 Posts
Default

If the original poster needs Apache updated so badly that they are "going crazy" over it, then they should either learn how to port or offer a bounty for it. Expecting volunteers to make a minor update a priority just smacks of entitlement.
Reply With Quote
  #20  
Old September 20th, 2012, 02:31
AlexJ AlexJ is offline
Member
 
Join Date: Jul 2010
Posts: 127
Thanks: 9
Thanked 36 Times in 32 Posts
Default

@NewGuy
Do you really think that http://httpd.apache.org/docs/2.4/new_features_2_4.html is a "minor update" ?

@Original_topic_starter
Take a look at /usr/ports/www/apache22/files, there is a lot of important patches related to FreeBSD only that need to be applied to the new branch and to be make sure it works well before publish it. This is a new branch and old patches need to be review very carefully before applying it. Beside of that, take a look here http://httpd.apache.org/docs/2.4/upgrading.html. Nobody want make experiments on users and ruin own business by teaching people(who tend to follow popular things(copy/paste from howto) and not really willing to learn anything new).
There is some work on this branch, but until it proves itself as the production quality it wouldn't be published. Until it happened, you can just download source code and compile it.
http://httpd.apache.org/docs/2.4/install.html provide pretty straightforward instructions how to do it
(
You can avoid to install lynx by replacing downloading command to fetch. Well, all you need to do it is:
Code:
cd /path/to/directory/where/source/code/will/be/downloded 
fetch http://www.reverse.net/pub/apache//httpd/httpd-2.4.3.tar.gz
tar xvf ./httpd-2.4.3.tar.gz
cd ./httpd-2.4.3
mkdir -p -m 755 /usr/local/www/apache24    # directory where you want to keep compiled apache24 to avoid mess up with port's apache
./configure --prefix=/usr/local/www/apache24
make
make install # it will be installed to /usr/local/www/apache24
ee /usr/local/www/apache24/conf/httpd.conf 
/usr/local/www/apache24/bin/apachectl -k start
).
As it already was stated here, at least on 8.3 you will be successful on this process.
So you can get up and running apache24 in less then 20 minutes.
It would be helpful if you will report any issues while using apache24.
Reply With Quote
  #21  
Old September 20th, 2012, 13:00
NewGuy NewGuy is offline
Member
 
Join Date: Nov 2009
Posts: 101
Thanks: 3
Thanked 6 Times in 5 Posts
Default Apache

Quote:
Originally Posted by AlexJ View Post
@NewGuy
Do you really think that http://httpd.apache.org/docs/2.4/new_features_2_4.html is a "minor update" ?
Yes, that's why I wrote it. Honestly, what kind of question is that?
Reply With Quote
  #22  
Old September 20th, 2012, 14:21
AlexJ AlexJ is offline
Member
 
Join Date: Jul 2010
Posts: 127
Thanks: 9
Thanked 36 Times in 32 Posts
Default

Quote:
Originally Posted by NewGuy View Post
Yes, that's why I wrote it. Honestly, what kind of question is that?
NO, I just thought that having access to generic expressions is a big step forward that can't be called as a "minor upgrade". It's a long awaited feature for those who need create conditional configurations. Just in case if you didn't see it yet :http://httpd.apache.org/docs/2.4/expr.html

Try to create apache's configuration where you need to restrict access by business hours, IP/netmask. In apache22 it is a real PITA. The only tools - regex to compare with "-ipmatch" binary operator in 2.4

Human readable expressions like
Code:
<If "%{HTTP_HOST} == 'example.com'">
    Redirect permanent / http://www.example.com
</If>
to compare with

Code:
RewriteCond %{HTTP_HOST} ^example.com$ [NC]
RewriteRule ^(\/)?$ http://www.example.com [R=301,L]
(Well, of course it questionable. For those who use it for a long time it would be preferable second solution, but our developers was really happy with first solution)

Ability to use Lua for configuration and business logic IMHO also is a huge step forward. It would be much easy to create Lua script instead of writing own module.

Ability to restrict allowed commands in .htaccess by AllowOverrideList

Finally, it is now possible to Define variables in the HTTPD configuration.

There's a lot of new, long awaiting features, so I was curious when you call this as "minor upgrade".
Well, we all have different tasks, so dragon in my eyes is a fly in yours, so please do not take it as offense or sarcasm.
Reply With Quote
  #23  
Old September 21st, 2012, 10:24
mix_room mix_room is offline
Member
 
Join Date: Aug 2009
Posts: 499
Thanks: 9
Thanked 39 Times in 36 Posts
Default

Have you actually tried the official release. Seeing as it compiles fine for both me and AlexJ that should be a starting point for you.

Once you have compiled it, package it into a port, and ask people to test it for you. If you do this you will be pushing your progress along a whole lot faster than by asking people to do the work for you.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] jailed http server Beeblebrox Networking 5 April 16th, 2012 17:24
tcp/ip window size capped to 65k on http(apache) chrcol Networking 0 November 29th, 2010 13:57
Apache or php problem (i think) (http.core dump) billgates Web & Network Services 6 November 17th, 2010 12:38
Slow server access via http://127.0.0.1 dejamuse Networking 7 April 8th, 2009 23:06
Enable HTTP-Compression on http server of this forum zuborg Feedback 1 January 27th, 2009 18:53


All times are GMT +1. The time now is 13:29.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0