Opened 14 years ago

Closed 14 years ago

#5261 closed defect (fixed)

UPDATE: revision to phpmyadmin port

Reported by: joe@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

improvements to Portfile syntax

Attachments (2)

phpmyadmin.diff (3.8 KB) - added by joe@… 14 years ago.
phpmyadmin portfile
phpmyadmin.2.diff (3.5 KB) - added by joe@… 14 years ago.
phpmyadmin 2.6.4-pl1 patch

Download all attachments as: .zip

Change History (10)

Changed 14 years ago by joe@…

Attachment: phpmyadmin.diff added

phpmyadmin portfile

comment:1 Changed 14 years ago by mww@…

Owner: changed from joe@… to mww@…

could we agree on that www-files get installed in $prefix/www and not somewhere else? (regardless which http-server is used); this of course is a "bug" of the current port already, but perhaps we can get that one fixed alongside this update?

comment:2 Changed 14 years ago by mww@…

Summary: revision to phpmyadmin portUPDATE: revision to phpmyadmin port

comment:3 Changed 14 years ago by joe@…

(In reply to comment #2)

could we agree on that www-files get installed in $prefix/www and not somewhere else? (regardless

which

http-server is used); this of course is a "bug" of the current port already, but perhaps we can get that one fixed alongside

this

update?

Okay, so regardless of whether the variant is +apache2 or +apache_layout, the prefix should be $prefix/www? I'm just a little unclear on this point, but I'd love to make this change so that we have some consistency.

comment:4 Changed 14 years ago by mww@…

(In reply to comment #3)

Okay, so regardless of whether the variant is +apache2 or +apache_layout, the prefix should be $prefix/www? I'm just a little unclear on this point, but I'd love to make this change so that we have some consistency.

yes - www-files go to $prefix/www.

  1. webservers can be easily configured to serve any directory
  2. with a phletora of webservers available, we can't create a variant for each of them

Also keep in mind that variants are problematic as the number of combinations grows exponentially; creating packages for ports with >2 variants is very hard already.

comment:5 Changed 14 years ago by joe@…

yes - www-files go to $prefix/www.

  1. webservers can be easily configured to serve any directory
  2. with a phletora of webservers available, we can't create a variant for each of them

Also keep in mind that variants are problematic as the number of combinations grows exponentially; creating packages for ports with >2 variants is very hard already.

Agreed...

The use of Apple's Apache distro requires sym-links, it seems like there are just too many webserver docpaths to be concerned with, like you said. Sym-linking almost seems inevitable.

Shouldn't the apache_layout variant just be scrapped then? AFAIK, at least for the phpmyadmin port, it doesn't so anything except specify a new docpath. Am I missing something?

comment:6 Changed 14 years ago by mww@…

(In reply to comment #5)

... The use of Apple's Apache distro requires sym-links, it seems like there are just too many webserver docpaths to be concerned with, like you said. Sym-linking almost seems inevitable.

that or just globally serving $prefix/www

Shouldn't the apache_layout variant just be scrapped then? AFAIK, at least for the phpmyadmin port,

it

doesn't so anything except specify a new docpath. Am I missing something?

no, I'm with you: lets scrap that one here!

Changed 14 years ago by joe@…

Attachment: phpmyadmin.2.diff added

phpmyadmin 2.6.4-pl1 patch

comment:7 Changed 14 years ago by joe@…

attachments.isobsolete: 01

comment:8 Changed 14 years ago by mww@…

Resolution: fixed
Status: newclosed

commited!

Note: See TracTickets for help on using tickets.