- Timestamp:
- 06/25/13 17:48:53 (12 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
r427 r528 46 46 INSTALL COPYING TODO Makefile dnsadmin.spec \ 47 47 \ 48 new-dns.sql dns.sql dns.cgi dns-rpc.cgi textrecs.cgi DNSDB.pm vega-import.pl export.pl \ 48 dns.sql dns-1.0-1.2.sql \ 49 \ 50 $(SCRIPTS) $(MODULES) \ 49 51 \ 50 52 index.shtml \ 51 53 \ 52 images/trash2.png images/fwd.png images/ffwd.png images/frev.png \ 53 images/rev.png images/DESC.png images/ASC.png images/tree_open.png images/tree_closed.png \ 54 $(IMAGES) \ 54 55 \ 55 templates/adddomain.tmpl templates/addgroup.tmpl templates/addrec.tmpl templates/adduser.tmpl \ 56 templates/axfr.tmpl templates/bulkchange.tmpl templates/bulkdomain.tmpl templates/dberr.tmpl \ 57 templates/deldom.tmpl templates/delgrp.tmpl templates/delloc.tmpl templates/delrec.tmpl \ 58 templates/delrevzone.tmpl templates/deluser.tmpl \ 59 templates/dns.css templates/dnsq.tmpl templates/domlist.tmpl templates/edgroup.tmpl \ 60 templates/editsoa.tmpl templates/footer.tmpl templates/fpnla.tmpl templates/grouptree.css \ 61 templates/grouptree-ie.css templates/grpman.tmpl templates/grptree.tmpl templates/header.tmpl \ 62 templates/lettsearch.tmpl templates/login.tmpl templates/log.tmpl templates/menu.tmpl \ 63 templates/newdomain.tmpl templates/newgrp.tmpl templates/permlist_enabled.tmpl templates/permlist.tmpl \ 64 templates/pgcount.tmpl templates/reclist.tmpl templates/record.tmpl templates/sbox.tmpl \ 65 templates/soadata.tmpl templates/template.tmpl templates/textrecs.tmpl templates/updatesoa.tmpl \ 66 templates/useradmin.tmpl templates/user.tmpl templates/whoisq.tmpl \ 56 $(TEMPLATES) \ 67 57 \ 68 58 dnsdb.conf … … 72 62 73 63 IMAGES = \ 74 images/trash2.png images/fwd.png images/ffwd.png images/frev.png \ 75 images/rev.png images/DESC.png images/ASC.png 64 images/ASC.png images/DESC.png \ 65 images/ffwd.png images/frev.png images/fwd.png images/rev.png \ 66 images/trash2.png \ 67 images/tree_closed.png images/tree_open.png 76 68 77 69 SCRIPTS = \ 78 dns.cgi dns-rpc.cgi textrecs.cgi vega-import.pl export.pl70 compact-recs.pl dns.cgi dns-rpc.cgi export.pl textrecs.cgi tiny-import.pl vega-import.pl 79 71 80 72 MODULES = DNSDB.pm 81 73 82 74 TEMPLATES = \ 83 templates/adddomain.tmpl templates/addgroup.tmpl templates/addrec.tmpl templates/add user.tmpl \84 templates/a xfr.tmpl templates/bulkchange.tmpl templates/bulkdomain.tmpl templates/dberr.tmpl \85 templates/ deldom.tmpl templates/delgrp.tmpl templates/delloc.tmpl templates/delrec.tmpl \86 templates/del revzone.tmpl templates/deluser.tmpl \75 templates/adddomain.tmpl templates/addgroup.tmpl templates/addrec.tmpl templates/addrevzone.tmpl \ 76 templates/adduser.tmpl templates/axfr.tmpl templates/badpage.tmpl templates/bulkchange.tmpl \ 77 templates/bulkdomain.tmpl templates/dberr.tmpl templates/deldom.tmpl templates/delgrp.tmpl \ 78 templates/delloc.tmpl templates/delrec.tmpl templates/delrevzone.tmpl templates/deluser.tmpl \ 87 79 templates/dns.css templates/dnsq.tmpl templates/domlist.tmpl templates/edgroup.tmpl \ 88 80 templates/editsoa.tmpl templates/footer.tmpl templates/fpnla.tmpl templates/grouptree.css \ 89 81 templates/grouptree-ie.css templates/grpman.tmpl templates/grptree.tmpl templates/header.tmpl \ 90 templates/lettsearch.tmpl templates/login.tmpl templates/log.tmpl templates/menu.tmpl \ 91 templates/newdomain.tmpl templates/newgrp.tmpl templates/permlist_enabled.tmpl templates/permlist.tmpl \ 92 templates/pgcount.tmpl templates/reclist.tmpl templates/record.tmpl templates/sbox.tmpl \ 93 templates/soadata.tmpl templates/template.tmpl templates/textrecs.tmpl templates/updatesoa.tmpl \ 94 templates/useradmin.tmpl templates/user.tmpl templates/whoisq.tmpl 82 templates/lettsearch.tmpl templates/location.tmpl templates/loclist.tmpl templates/login.tmpl \ 83 templates/log.tmpl templates/menu.tmpl templates/msgblock.tmpl templates/newdomain.tmpl \ 84 templates/newgrp.tmpl templates/newrevzone.tmpl templates/permlist.tmpl \ 85 templates/pgcount.tmpl templates/reclist.tmpl templates/record.tmpl templates/revzones.tmpl \ 86 templates/sbox.tmpl templates/soadata.tmpl templates/template.tmpl templates/textrecs.tmpl \ 87 templates/updatesoa.tmpl templates/useradmin.tmpl templates/user.tmpl templates/whoisq.tmpl 95 88 96 89 CONFIGFILES = dnsdb.conf … … 108 101 @for i in $(SCRIPTS) $(MODULES); do \ 109 102 $(INSTALL_SCRIPT) -D $$i $(DESTDIR)${datadir}/$(PKG_LEAF)/$$i ; \ 110 perl -pi -e 's|use lib '.'; ##uselib##|use lib "${datadir}/$(PKG_LEAF)/";|;' $(DESTDIR)${datadir}/$(PKG_LEAF)/$$i ; \ 111 perl -pi -e 's|use lib '.'; ##uselib##|use lib "${datadir}/$(PKG_LEAF)/";|;' $(DESTDIR)${datadir}/$(PKG_LEAF)/$$i ; \ 103 perl -pi -e "s|use lib '.';\s+##uselib##|use lib '${datadir}/$(PKG_LEAF)/';|;" $(DESTDIR)${datadir}/$(PKG_LEAF)/$$i ; \ 112 104 done 113 105 @$(INSTALL) -d $(DESTDIR)${sysconfdir}/$(CFG_LEAF)/ … … 120 112 $(INSTALL_DATA) $$i $(DESTDIR)${sysconfdir}/$(CFG_LEAF)/ ; \ 121 113 fi ; \ 122 perl -pi -e 's|"/etc/dnsdb "; ##CFG_LEAF##|"${sysconfdir}/$(CFG_LEAF)";|;' $(DESTDIR)${datadir}/$(PKG_LEAF)/DNSDB.pm ; \114 perl -pi -e 's|"/etc/dnsdb/dnsdb.conf",\s+##CFG_LEAF##|"${sysconfdir}/$(CFG_LEAF)/dnsdb.conf",|;' $(DESTDIR)${datadir}/$(PKG_LEAF)/DNSDB.pm ; \ 123 115 done 124 # # and now munge MyDNSDB.pm so it can find the core library125 # perl -pi -e 's|##uselib##|use lib "${libdir}/dnsdb";|;' $(DESTDIR)${sysconfdir}/dnsdb/MyDNSDB.pm126 116 127 117 #clean: -
trunk/compact-recs.pl
r491 r528 23 23 use warnings; 24 24 25 use lib '.'; 25 use lib '.'; ##uselib## 26 26 use DNSDB; 27 27 -
trunk/tiny-import.pl
r522 r528 26 26 use warnings; 27 27 28 use lib '.'; 28 use lib '.'; ##uselib## 29 29 use DNSDB; 30 30
Note:
See TracChangeset
for help on using the changeset viewer.