- Fix apxs invocation on package install
- Properly clean up httpd.conf on package deinstall
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
|
||||
PORTNAME= mod_log_dbd
|
||||
PORTVERSION= 0.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= www databases
|
||||
MASTER_SITES= http://bfoz.net/projects/${PORTNAME}/release/
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@unexec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%%APACHEMODDIR%%/%%AP_MODULE%%
|
||||
%%APACHEMODDIR%%/%%AP_MODULE%%
|
||||
@exec %D/sbin/apxs -e -a -n %%AP_NAME%% %D/%F
|
||||
@exec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%%APACHEMODDIR%%/%%AP_MODULE%%
|
||||
@unexec /usr/bin/sed -i '' '/LoadModule %%AP_NAME%%_module/d' %D/%%APACHEETCDIR%%/httpd.conf
|
||||
@unexec echo "Don't forget to remove all mod_%%AP_NAME%% related directives in your httpd.conf"
|
||||
|
||||
Reference in New Issue
Block a user