updated ircddb servers and Makefile

ki4klf
ac2ie 12 years ago
parent 4b4c4667e3
commit 3c66938027

@ -56,11 +56,9 @@ the changes will be available.
If you plan on using DTMFS, you can also edit proc_g2_ircddb_dtmfs.sh to add new dtmfs If you plan on using DTMFS, you can also edit proc_g2_ircddb_dtmfs.sh to add new dtmfs
commands. commands.
Then install your system, g2_ircddb, g2_link and either dvap_rptr or dvrptr. Start by Then install your system. you have two choices, either dvap_rptr or dvrptr by typing
typing "sudo make installg2". This will install g2_ircddb and g2_link and all the "sudo make installdvap" or "sudo make installdvrptr", respectively. Finally, if you
files they require. Then intstall either dvap_rptr or dvrptr by typing "sudo make want/need DTMFS, type "sudo make installdtmfs".
installdvap" or "sudo make installdvrptr", respectively. Finally, if you want/need
DTMFS, type "sudo make installdtmfs".
This will install the service scripts and symbolic links in /etc/init.d and everything This will install the service scripts and symbolic links in /etc/init.d and everything
else in /usr/local. The executables will be in /usr/local/bin and the *.cfg files and else in /usr/local. The executables will be in /usr/local/bin and the *.cfg files and
@ -75,9 +73,9 @@ manually with the "service" command. (See the man page for service.)
You can clean up the build directory of intermediate *.o files with "make clean" or, you You can clean up the build directory of intermediate *.o files with "make clean" or, you
can remove the intermediate *.o files and binary executables with "make realclean". can remove the intermediate *.o files and binary executables with "make realclean".
If you want to uninstall everything return to the build directory and type If you want to uninstall everything return to the build directory and type either "sudo
"sudo make uninstallg2" and either "sudo make unistalldvap" or "sudo make make unistalldvap" or "sudo make uninstalldvrptr" and possibly "sudo make uninstalldtmfs".
uninstalldvrptr" and possibly "sudo make uninstalldtmfs". This will shutdown the and This will shutdown the and remove the service scripts and links and remove most everything
remove the service scripts and links and remove most everything from /usr/local. from /usr/local.
Tom Early, ac2ie@arrl.net Tom Early, ac2ie@arrl.net

@ -87,7 +87,7 @@ clean :
realclean : realclean :
/bin/rm -f *.o $(PROGRAMS) g2link_test /bin/rm -f *.o $(PROGRAMS) g2link_test
installg2 : g2_ircddb g2_link installdvap : dvap_rptr g2_link g2_ircddb
######### g2_ircddb ######### ######### g2_ircddb #########
/bin/cp -f g2_ircddb $(BINDIR) /bin/cp -f g2_ircddb $(BINDIR)
/bin/cp -f g2_ircddb.cfg $(CFGDIR) /bin/cp -f g2_ircddb.cfg $(CFGDIR)
@ -103,8 +103,7 @@ installg2 : g2_ircddb g2_link
/bin/cp -f service.g2_link /etc/init.d/g2_link /bin/cp -f service.g2_link /etc/init.d/g2_link
/usr/sbin/update-rc.d g2_link defaults /usr/sbin/update-rc.d g2_link defaults
/usr/sbin/update-rc.d g2_link enable /usr/sbin/update-rc.d g2_link enable
######### dvap_rptr #########
installdvap : dvap_rptr
/bin/cp -f dvap_rptr $(BINDIR) /bin/cp -f dvap_rptr $(BINDIR)
/bin/cp -f dvap_rptr.sh $(BINDIR) /bin/cp -f dvap_rptr.sh $(BINDIR)
/bin/cp -f dvap_rptr.cfg $(CFGDIR) /bin/cp -f dvap_rptr.cfg $(CFGDIR)
@ -112,7 +111,23 @@ installdvap : dvap_rptr
/usr/sbin/update-rc.d dvap_rptr defaults /usr/sbin/update-rc.d dvap_rptr defaults
/usr/sbin/update-rc.d dvap_rptr enable /usr/sbin/update-rc.d dvap_rptr enable
installdvrptr : dvrptr installdvrptr : dvrptr g2_link g2_ircddb
######### g2_ircddb #########
/bin/cp -f g2_ircddb $(BINDIR)
/bin/cp -f g2_ircddb.cfg $(CFGDIR)
/bin/cp -f service.g2_ircddb /etc/init.d/g2_ircddb
/usr/sbin/update-rc.d g2_ircddb defaults
/usr/sbin/update-rc.d g2_ircddb enable
######### g2_link #########
/bin/cp -f g2_link $(BINDIR)
/bin/cp -f g2_link.cfg $(CFGDIR)
/bin/cp -f announce/*.dat $(CFGDIR)
/bin/cp -f gwys.txt $(CFGDIR)
/bin/cp -f exec_?.sh $(CFGDIR)
/bin/cp -f service.g2_link /etc/init.d/g2_link
/usr/sbin/update-rc.d g2_link defaults
/usr/sbin/update-rc.d g2_link enable
######### dvrptr ##########
/bin/cp -f dvrptr $(BINDIR) /bin/cp -f dvrptr $(BINDIR)
/bin/cp -f dvrptr.sh $(BINDIR) /bin/cp -f dvrptr.sh $(BINDIR)
/bin/cp -f dvrptr.cfg $(CFGDIR) /bin/cp -f dvrptr.cfg $(CFGDIR)
@ -134,7 +149,7 @@ uninstalldtmfs:
/bin/rm -f $(BINDIR)/proc_g2_ircddb_dtmfs.sh /bin/rm -f $(BINDIR)/proc_g2_ircddb_dtmfs.sh
/bin/rm -f $(BINDIR)/g2link_test /bin/rm -f $(BINDIR)/g2link_test
uninstallg2 : uninstalldvap :
######### g2_ircddb ######### ######### g2_ircddb #########
/usr/sbin/service g2_ircddb stop /usr/sbin/service g2_ircddb stop
/bin/rm -f /etc/init.d/g2_ircddb /bin/rm -f /etc/init.d/g2_ircddb
@ -157,8 +172,7 @@ uninstallg2 :
/bin/rm -f $(CFGDIR)/gwys.txt /bin/rm -f $(CFGDIR)/gwys.txt
/bin/rm -f $(CFGDIR)/exec_?.sh /bin/rm -f $(CFGDIR)/exec_?.sh
/bin/rm -f /var/log/g2_link.log /bin/rm -f /var/log/g2_link.log
######### dvap_rptr #########
uninstalldvap :
/usr/sbin/service dvap_rptr stop /usr/sbin/service dvap_rptr stop
/bin/rm -f /etc/init.d/dvap_rptr /bin/rm -f /etc/init.d/dvap_rptr
/usr/sbin/update-rc.d dvap_rptr remove /usr/sbin/update-rc.d dvap_rptr remove
@ -167,6 +181,29 @@ uninstalldvap :
/bin/rm -r $(CFGDIR)/dvap_rptr.cfg /bin/rm -r $(CFGDIR)/dvap_rptr.cfg
uninstalldvrptr: uninstalldvrptr:
######### g2_ircddb #########
/usr/sbin/service g2_ircddb stop
/bin/rm -f /etc/init.d/g2_ircddb
/usr/sbin/update-rc.d g2_ircddb remove
/bin/rm -f $(BINDIR)/g2_ircddb
/bin/rm -f $(CFGDIR)/g2_ircddb.cfg
######### g2_link #########
/usr/sbin/service g2_link stop
/bin/rm -f /etc/init.d/g2_link
/usr/sbin/update-rc.d g2_link remove
/bin/rm -f $(BINDIR)/g2_link
/bin/rm -f $(CFGDIR)/g2_link.cfg
/bin/rm -f $(CFGDIR)/already_linked.dat
/bin/rm -f $(CFGDIR)/already_unlinked.dat
/bin/rm -f $(CFGDIR)/failed_linked.dat
/bin/rm -f $(CFGDIR)/id.dat
/bin/rm -f $(CFGDIR)/linked.dat
/bin/rm -f $(CFGDIR)/unlinked.dat
/bin/rm -f $(CFGDIR)/RPT_STATUS.txt
/bin/rm -f $(CFGDIR)/gwys.txt
/bin/rm -f $(CFGDIR)/exec_?.sh
/bin/rm -f /var/log/g2_link.log
######### dvrptr ##########
/usr/sbin/service dvrptr stop /usr/sbin/service dvrptr stop
/bin/rm -f /etc/init.d/dvrptr /bin/rm -f /etc/init.d/dvrptr
/usr/sbin/update-rc.d dvrtpr remove /usr/sbin/update-rc.d dvrtpr remove

@ -169,12 +169,12 @@ IRC_DDB_HOST=
# For the German and EU # For the German and EU
# IRC_DDB_HOST=group1-irc.ircddb.net # IRC_DDB_HOST=group1-irc.ircddb.net
# For the US you can also chose the closest of: # For the US you can also chose the closest of:
# itsn-s1.no-ip.org is in Huntsville, AL # irc1.openquad.net is in Huntsville, AL
# stn570.dyndns.org is in Stroudsburg, PA # irc2.openquad.net is in Jackson, MS
# itsns3.no-ip.org is in Jackson, MS # irc3.openquad.net is in Spanaway, WA
# itsn-s4.no-ip.org is in Tucoma, WA # irc4.openquad.net in in Pilot Knob, MO
# k0atm.dyndns.org in in Pilot Knob, MO # irc5.openquad.net is in Queensland, Australia
# ozquadnet.sytes.net is in Queensland, Australia # irc6.openquad.net is in Chicago, IL
# The remote ircDDB port # The remote ircDDB port
IRC_DDB_PORT=9007 IRC_DDB_PORT=9007

Loading…
Cancel
Save

Powered by TurnKey Linux.