Changeset 199
Legend:
- Unmodified
- Added
- Removed
-
trunk/DNSDB.pm
r198 r199 22 22 use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); 23 23 24 $VERSION = 0.1; 24 $VERSION = 0.1; ##VERSION## 25 25 @ISA = qw(Exporter); 26 26 @EXPORT_OK = qw( -
trunk/Makefile
r170 r199 29 29 30 30 MANIFEST = \ 31 INSTALL COPYING TODO Makefile dnsadmin.spec new-dns.sql dns.sql dns.cgi DNSDB.pm \ 31 INSTALL COPYING TODO Makefile new-dns.sql dns.sql dns.cgi dns-rpc.cgi DNSDB.pm \ 32 vega-import.pl \ 32 33 \ 33 34 index.shtml \ … … 51 52 images templates 52 53 53 IMAGES = images/logo.png 54 IMAGES = \ 55 images/trash2.png images/fwd.png images/ffwd.png images/frev.png \ 56 images/rev.png images/DESC.png images/ASC.png 54 57 55 58 SCRIPTS = \ 56 cgi-bin/extras/db2rwhois.pl cgi-bin/combineblocks.pl cgi-bin/access-pwd-update.pl \ 57 cgi-bin/newnode.cgi cgi-bin/freespace.pl cgi-bin/admin.cgi \ 58 cgi-bin/main.cgi cgi-bin/newcity.cgi cgi-bin/allocate.pl \ 59 cgi-bin/search.cgi cgi-bin/consistency-check.pl 59 dns.cgi dns-rpc.cgi vega-import.pl 60 60 61 61 MODULES = DNSDB.pm 62 62 63 CONFIGMODULES = cgi-bin/MyIPDB.pm cgi-bin/CustIDCK.pm63 #CONFIGMODULES = MyDNSDB.pm 64 64 65 65 all: … … 70 70 $(INSTALL_DATA) -D $$i $(DESTDIR)${libdir}/dnsdb/$$i ; \ 71 71 done 72 # munge in necessary 'use lib ...' bits so scripts can find My IPDB.pm...72 # munge in necessary 'use lib ...' bits so scripts can find MyDNSDB.pm... 73 73 @for i in $(SCRIPTS) $(MODULES); do \ 74 74 $(INSTALL_SCRIPT) -D $$i $(DESTDIR)${libdir}/dnsdb/$$i ; \ … … 79 79 $(INSTALL_DATA) $$i $(DESTDIR)${sysconfdir}/dnsdb/ ; \ 80 80 done 81 # # and now munge My IPDB.pm so it can find the core library82 # perl -pi -e 's|##uselib##|use lib "${libdir}/dnsdb";|;' $(DESTDIR)${sysconfdir}/ ipdb/MyIPDB.pm81 # # and now munge MyDNSDB.pm so it can find the core library 82 # perl -pi -e 's|##uselib##|use lib "${libdir}/dnsdb";|;' $(DESTDIR)${sysconfdir}/dnsdb/MyDNSDB.pm 83 83 84 84 #clean: … … 92 92 #/usr/bin/perl -p -e 's/#VERSION#/$(VERSION)/;s/#RELEASE#/$(RELEASE)/;s/#BETA#//g' < $(PKGNAME).spec > $(PKGNAME)-$(VERSION)/$(PKGNAME).spec 93 93 /usr/bin/perl -p -e 's/#VERSION#/$(VERSION)/;s/#RELEASE#/$(RELEASE)/;s/#BETA#//g' < INSTALL > $(PKGNAME)-$(VERSION)/INSTALL 94 perl -pi -e 's/[\d.]+;\s*##VERSION##/$(VERSION);/;' $(PKGNAME)-$(VERSION)/ cgi-bin/IPDB.pm94 perl -pi -e 's/[\d.]+;\s*##VERSION##/$(VERSION);/;' $(PKGNAME)-$(VERSION)/DNSDB.pm 95 95 tar cf $(PKGNAME)-$(VERSION).tar $(PKGNAME)-$(VERSION) 96 96 gzip -v -f -9 $(PKGNAME)-$(VERSION).tar -
trunk/vega-import.pl
r194 r199 24 24 if ($ARGV[0] && $ARGV[0] !~ /^(add|replace)$/) { 25 25 die "Usage: vega-import.pl [add|replace]\n". 26 " add Import VegaDNS data as a subgroup of the default root group \n".26 " add Import VegaDNS data as a subgroup of the default root group (default)\n". 27 27 " replace Wipe all existing data and import VegaDNS data into the root group\n"; 28 28 }
Note:
See TracChangeset
for help on using the changeset viewer.