Add mldonkey backup include
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 30 Nov 2008 18:20:11 +0000 (19:20 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 30 Nov 2008 18:20:11 +0000 (19:20 +0100)
update nagios rootfile

config/backup/includes/mldonkey [new file with mode: 0644]
config/rootfiles/packages/mldonkey
config/rootfiles/packages/nagios
doc/packages-list.txt
lfs/mldonkey
src/paks/mldonkey/uninstall.sh

diff --git a/config/backup/includes/mldonkey b/config/backup/includes/mldonkey
new file mode 100644 (file)
index 0000000..a6dfee8
--- /dev/null
@@ -0,0 +1 @@
+/opt/mldonkey/.mldonkey/
index d04864198da02b01b71a2e9334ede59562fa14c0..2df3ee0f018eef60351c4a488c7193be0b843b80 100644 (file)
@@ -1,3 +1,4 @@
+var/ipfire/backup/addons/includes/mldonkey
 etc/init.d/mldonkey
 #opt/mldonkey
 opt/mldonkey/.mldonkey
index ef0ccc2366df7baffb118d0f075fb12571339fcb..453db35d86bd705d5168d87192efd942dec02fbc 100644 (file)
@@ -1,6 +1,86 @@
+#etc/nagios
+etc/nagios/cgi.cfg
+etc/nagios/nagios.cfg
+#etc/nagios/objects
+etc/nagios/objects/commands.cfg
+etc/nagios/objects/contacts.cfg
+etc/nagios/objects/localhost.cfg
+etc/nagios/objects/printer.cfg
+etc/nagios/objects/switch.cfg
+etc/nagios/objects/templates.cfg
+etc/nagios/objects/timeperiods.cfg
+etc/nagios/objects/windows.cfg
+etc/nagios/resource.cfg
+etc/rc.d/init.d/nagios
 usr/bin/nagios
 usr/bin/nagiostats
 usr/bin/p1.pl
+usr/lib/nagios
+#usr/lib/nagios/check_apt
+#usr/lib/nagios/check_breeze
+#usr/lib/nagios/check_by_ssh
+#usr/lib/nagios/check_clamd
+#usr/lib/nagios/check_cluster
+#usr/lib/nagios/check_dhcp
+#usr/lib/nagios/check_dig
+#usr/lib/nagios/check_disk
+#usr/lib/nagios/check_disk_smb
+#usr/lib/nagios/check_dns
+#usr/lib/nagios/check_dummy
+#usr/lib/nagios/check_file_age
+#usr/lib/nagios/check_flexlm
+#usr/lib/nagios/check_ftp
+#usr/lib/nagios/check_http
+#usr/lib/nagios/check_icmp
+#usr/lib/nagios/check_ide_smart
+#usr/lib/nagios/check_ifoperstatus
+#usr/lib/nagios/check_ifstatus
+#usr/lib/nagios/check_imap
+#usr/lib/nagios/check_ircd
+#usr/lib/nagios/check_jabber
+#usr/lib/nagios/check_ldap
+#usr/lib/nagios/check_ldaps
+#usr/lib/nagios/check_load
+#usr/lib/nagios/check_log
+#usr/lib/nagios/check_mailq
+#usr/lib/nagios/check_mrtg
+#usr/lib/nagios/check_mrtgtraf
+#usr/lib/nagios/check_mysql
+#usr/lib/nagios/check_mysql_query
+#usr/lib/nagios/check_nagios
+#usr/lib/nagios/check_nntp
+#usr/lib/nagios/check_nntps
+#usr/lib/nagios/check_nt
+#usr/lib/nagios/check_ntp
+#usr/lib/nagios/check_ntp_peer
+#usr/lib/nagios/check_ntp_time
+#usr/lib/nagios/check_nwstat
+#usr/lib/nagios/check_oracle
+#usr/lib/nagios/check_overcr
+#usr/lib/nagios/check_ping
+#usr/lib/nagios/check_pop
+#usr/lib/nagios/check_procs
+#usr/lib/nagios/check_real
+#usr/lib/nagios/check_rpc
+#usr/lib/nagios/check_sensors
+#usr/lib/nagios/check_simap
+#usr/lib/nagios/check_smtp
+#usr/lib/nagios/check_spop
+#usr/lib/nagios/check_ssh
+#usr/lib/nagios/check_ssmtp
+#usr/lib/nagios/check_swap
+#usr/lib/nagios/check_tcp
+#usr/lib/nagios/check_time
+#usr/lib/nagios/check_udp
+#usr/lib/nagios/check_ups
+#usr/lib/nagios/check_users
+#usr/lib/nagios/check_wave
+#usr/lib/nagios/negate
+#usr/lib/nagios/urlize
+#usr/lib/nagios/utils.pm
+#usr/lib/nagios/utils.sh
+usr/share/locale/de/LC_MESSAGES/nagios-plugins.mo
+#usr/share/locale/fr/LC_MESSAGES/nagios-plugins.mo
 usr/share/nagios
 #usr/share/nagios/cgi-bin
 #usr/share/nagios/cgi-bin/avail.cgi
@@ -17,9 +97,9 @@ usr/share/nagios
 #usr/share/nagios/cgi-bin/statuswml.cgi
 #usr/share/nagios/cgi-bin/statuswrl.cgi
 #usr/share/nagios/cgi-bin/summary.cgi
-#usr/share/nagios/cgi-bin/tac.cgi#
+#usr/share/nagios/cgi-bin/tac.cgi
 #usr/share/nagios/cgi-bin/trends.cgi
-usr/share/nagios/contexthelp
+#usr/share/nagios/contexthelp
 #usr/share/nagios/contexthelp/A1.html
 #usr/share/nagios/contexthelp/A2.html
 #usr/share/nagios/contexthelp/A3.html
@@ -83,7 +163,7 @@ usr/share/nagios/contexthelp
 #usr/share/nagios/contexthelp/N5.html
 #usr/share/nagios/contexthelp/N6.html
 #usr/share/nagios/contexthelp/N7.html
-usr/share/nagios/docs
+#usr/share/nagios/docs
 #usr/share/nagios/docs/about.html
 #usr/share/nagios/docs/activechecks.html
 #usr/share/nagios/docs/adaptive.html
@@ -93,6 +173,7 @@ usr/share/nagios/docs
 #usr/share/nagios/docs/cgiauth.html
 #usr/share/nagios/docs/cgiincludes.html
 #usr/share/nagios/docs/cgis.html
+#usr/share/nagios/docs/cgisecurity.html
 #usr/share/nagios/docs/checkscheduling.html
 #usr/share/nagios/docs/clusters.html
 #usr/share/nagios/docs/config.html
@@ -337,9 +418,6 @@ usr/share/nagios/images
 usr/share/nagios/index.html
 usr/share/nagios/main.html
 usr/share/nagios/media
-#usr/share/nagios/media/critical.wav
-#usr/share/nagios/media/hostdown.wav
-#usr/share/nagios/media/warning.wav
 #usr/share/nagios/robots.txt
 #usr/share/nagios/side.html
 usr/share/nagios/ssi
@@ -362,4 +440,5 @@ usr/share/nagios/stylesheets
 #usr/share/nagios/stylesheets/tac.css
 #usr/share/nagios/stylesheets/trends.css
 var/archives
+var/rw
 var/spool/checkresults
index 25678aca7cd357d1917c35c557b4baa89673df05..b944821d124e841f2658de423b2b681050e0d8f5 100644 (file)
 * mtd-CVS-20070507
 * mtools-3.9.10
 * mysql-5.0.24a
-* nagios-3.0
+* nagios-3.0.5
 * nano-1.2.5
 * nasm-0.98.39
 * ncftp-3.2.1-src
index 868a6aa617a48c71256569b45344efe48b7c30bb..cef5de45ab351dfff2e5f585729f5d4242212a95 100644 (file)
@@ -89,5 +89,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        -mkdir -p /var/log/mldonkey/{incoming,temp}
        -mkdir -p /var/log/mldonkey/incoming/{directories,files}
        chown -Rv mldonkey.mldonkey /var/log/mldonkey/{incoming,temp}
+       install -v -m 644 $(DIR_SRC)/config/backup/includes/mldonkey \
+                        /var/ipfire/backup/addons/includes/mldonkey
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)
index 5a2936a00ebac25c1b58f4d2db716e7a518c0cab..fc183a3d5d137242eeed7bff57806b2cd25db2b6 100644 (file)
@@ -23,5 +23,9 @@
 #
 . /opt/pakfire/lib/functions.sh
 /etc/init.d/mldonkey stop
+if [ ! -e /var/ipfire/backup/addons/includes/mldonkey ]; then
+    echo /opt/mldonkey/.mldonkey > /var/ipfire/backup/addons/includes/mldonkey
+fi
+make_backup ${NAME}
 remove_files
 rm -rf /etc/rc.d/rc*.d/*mldonkey