Opened 7 years ago

Closed 7 years ago

#39370 closed defect (fixed)

nginx installs two copies of each sample configuration file

Reported by: ryandesign (Ryan Schmidt) Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: cooljeanius (Eric Gallager)
Port: nginx

Description

Each sample configuration file is installed twice, once with the suffix ".default" and once with the suffix ".example":

$ port installed nginx
The following ports are currently installed:
  nginx @1.4.1_0+gzip_static+spdy+ssl+status+universal (active)
$ port contents nginx | grep /etc/ | xargs ls -l
-rw-r--r--  1 root  wheel   644 May  8 14:14 /opt/local/etc/LaunchDaemons/org.macports.nginx/org.macports.nginx.plist
-rw-r--r--  1 root  wheel  1034 May  8 14:14 /opt/local/etc/nginx/fastcgi.conf.default
-rw-r--r--  1 root  wheel  1034 May  8 14:14 /opt/local/etc/nginx/fastcgi.conf.example
-rw-r--r--  1 root  wheel   964 May  8 14:14 /opt/local/etc/nginx/fastcgi_params.default
-rw-r--r--  1 root  wheel   964 May  8 14:14 /opt/local/etc/nginx/fastcgi_params.example
-rw-r--r--  1 root  wheel  2837 May  8 14:14 /opt/local/etc/nginx/koi-utf
-rw-r--r--  1 root  wheel  2223 May  8 14:14 /opt/local/etc/nginx/koi-win
-rw-r--r--  1 root  wheel  3463 May  8 14:14 /opt/local/etc/nginx/mime.types.default
-rw-r--r--  1 root  wheel  3463 May  8 14:14 /opt/local/etc/nginx/mime.types.example
-rw-r--r--  1 root  wheel  2745 May  8 14:14 /opt/local/etc/nginx/nginx.conf.default
-rw-r--r--  1 root  wheel  2745 May  8 14:14 /opt/local/etc/nginx/nginx.conf.example
-rw-r--r--  1 root  wheel   596 May  8 14:14 /opt/local/etc/nginx/scgi_params.default
-rw-r--r--  1 root  wheel   596 May  8 14:14 /opt/local/etc/nginx/scgi_params.example
-rw-r--r--  1 root  wheel   623 May  8 14:14 /opt/local/etc/nginx/uwsgi_params.default
-rw-r--r--  1 root  wheel   623 May  8 14:14 /opt/local/etc/nginx/uwsgi_params.example
-rw-r--r--  1 root  wheel  3610 May  8 14:14 /opt/local/etc/nginx/win-utf

Change History (2)

comment:1 Changed 7 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:2 Changed 7 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.