mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
474f5cd212
- Pass maintainership to submitter PR: 127781 Submitted by: Dennis Herrmann <adox@mcx2.org>
20 lines
745 B
Plaintext
20 lines
745 B
Plaintext
@unexec %D/etc/rc.d/0W-httpd stop
|
|
bin/convert-geoip
|
|
bin/convert-ranges
|
|
bin/update-countries.sh
|
|
etc/0W-httpd/countries
|
|
etc/0W-httpd/countries.ips
|
|
etc/0W-httpd/countries.rus
|
|
@unexec if cmp -s %D/etc/0W-httpd/httpd.conf.sample %D/etc/0W-httpd/httpd.conf; then rm -f %D/etc/0W-httpd/httpd.conf; fi
|
|
etc/0W-httpd/httpd.conf.sample
|
|
@exec if [ ! -f %D/etc/0W-httpd/httpd.conf ] ; then cp -p %D/%F %B/httpd.conf; fi
|
|
@exec install -d -o %%WWWOWN%% -g %%WWWGRP%% %D/0W-httpd/pids
|
|
@exec install -d -o %%WWWOWN%% -g %%WWWGRP%% %D/0W-httpd/data
|
|
@exec install -d -o %%WWWOWN%% -g %%WWWGRP%% %D/0W-httpd/logs
|
|
sbin/0W-httpd
|
|
@unexec rm -fr %D/0W-httpd/logs > /dev/null 2>&1 || true
|
|
@dirrmtry etc/0W-httpd
|
|
@dirrm 0W-httpd/pids
|
|
@dirrm 0W-httpd/data
|
|
@dirrm 0W-httpd
|