Revision 6824
Added by Aaron Marcuse-Kubitza almost 12 years ago
Makefile | ||
---|---|---|
127 | 127 |
|
128 | 128 |
##### PostgreSQL |
129 | 129 |
|
130 |
define editPhppgadmin |
|
131 |
sudo patch /etc/phppgadmin/config.inc.php lib/phpPgAdmin.config.inc.php.diff |
|
132 |
sudo cp -n /usr/share/phppgadmin/login.php /usr/share/phppgadmin/login.php.old |
|
133 |
sudo patch /usr/share/phppgadmin/login.php lib/phpPgAdmin.login.php.diff |
|
134 |
endef |
|
135 |
|
|
130 | 136 |
editPhppgadminApacheConf = echo $$'1\n,s/deny from all/allow from all/\nwq'|\ |
131 | 137 |
sudo ed --loose-exit-status --verbose /etc/phppgadmin/apache.conf |
132 | 138 |
|
... | ... | |
205 | 211 |
-sudo apt-get --yes install libpq-dev |
206 | 212 |
-sudo apt-get --yes install postgresql-$(pgVersion)-postgis |
207 | 213 |
-sudo apt-get --yes install phppgadmin |
214 |
$(editPhppgadmin) |
|
208 | 215 |
$(editPhppgadminApacheConf) |
209 | 216 |
$(editApacheConfForPhppgadmin) |
210 | 217 |
$(if $(nonApacheOnPort80),$(editApachePortsConf)) |
Also available in: Unified diff
root Makefile: PostgreSQL: phpPgAdmin: Edit config file to allow passwordless logins. Edit login page to fill in public_ as the default username and add a message to leave the password blank for that user.