|
Revision 724, 1.7 kB
(checked in by anarcat, 3 years ago)
|
[project @ Big work on BIND interaction]
Big work on BIND interaction
Big work on BIND interaction :
- do_domaines.sh was mostly rewritten, and is now named update_domains.sh
- templates used to build automatic.conf and zone files are now in
/etc/bind/templates once installed
- automatic.conf and slaveip.conf are now generated in /var/alternc/bind
- zone fils are now generated in /var/alternc/bind/zones.
- Renames :
/etc/bind/domaines.template -> /etc/bind/templates/named.template
/etc/bind/master/domaines.template -> /etc/bind/templates/zone.template * Gone (unused) :
/etc/bind/master/mx.template
/etc/bind/master/slave.template
/etc/bind/master
- The Debian preinst script take cares of moving updating file locations
ONETIME_FILES was removed from alternc.install :
- postfix's header_checks and body_checks are copied only once by
alternc.install, and have been move from /etc/alternc/templates
(there was no macro expansion anyway)
- /var/alternc/bind/automatic.conf is now generated empty if it doesn't
exists
- /var/alternc/bind/slaveip.conf is now generated by alternc.install
calling the slave_dns script.
Other fixes in alternc.install :
- The tar used to check for installed files modifications now redirect
errors to /dev/null
- Reorganized to group small things together
Original author: lunar@anargeek.net
Date: 2005-09-06 18:57:06
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 |
|
|---|
| 25 |
|
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 |
CC?=cc |
|---|
| 29 |
CC+=$(CFLAGS) |
|---|
| 30 |
PROGS=mail_add mail_del quota_edit quota_get mem_add mem_del db_create |
|---|
| 31 |
SCRIPTS=quota_edit.sh quota_get.sh basedir_prot.sh sqlbackup.sh rawstat.daily quota_init quota_delete update_domains.sh slave_dns sendmail |
|---|
| 32 |
BIN=$(DESTDIR)/usr/lib/alternc/ |
|---|
| 33 |
|
|---|
| 34 |
all: $(PROGS) |
|---|
| 35 |
|
|---|
| 36 |
|
|---|
| 37 |
install: all |
|---|
| 38 |
chown root:www-data $(BIN) |
|---|
| 39 |
chmod 750 $(BIN) |
|---|
| 40 |
install -o root -g www-data -m4750 $(PROGS) du.pl $(BIN) |
|---|
| 41 |
install -o root -g www-data -m0750 $(SCRIPTS) $(BIN) |
|---|
| 42 |
|
|---|
| 43 |
clean: |
|---|
| 44 |
-rm -f *.o *~ |
|---|
| 45 |
-rm -f $(PROGS) |
|---|