]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Merge branch 'next'
authorArne Fitzenreiter <arne_f@ipfire.org>
Sat, 5 Sep 2009 10:38:32 +0000 (12:38 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 5 Sep 2009 10:38:32 +0000 (12:38 +0200)
16 files changed:
config/netsnmpd/snmpd.conf [moved from config/net-snmp/snmpd.conf with 100% similarity]
config/rootfiles/common/initscripts
config/rootfiles/oldcore/30/filelists/files
config/rootfiles/oldcore/30/update.sh
config/rootfiles/packages/cacti
config/rootfiles/packages/joe [new file with mode: 0644]
config/rootfiles/packages/netsnmpd [moved from config/rootfiles/packages/net-snmp with 99% similarity]
doc/packages-list.txt
html/cgi-bin/chpasswd.cgi
html/cgi-bin/urlfilter.cgi
lfs/cacti
lfs/joe [new file with mode: 0644]
lfs/netsnmpd [moved from lfs/net-snmp with 90% similarity]
lfs/sox
make.sh
src/initscripts/init.d/netsnmpd [moved from src/initscripts/init.d/net-snmp with 100% similarity]

index 8520c72c445b067ad5b1741299b8b55c5c2bf3be..b788bdc5074c1d645cc8214b3332e574bbda162f 100644 (file)
@@ -191,4 +191,4 @@ etc/rc.d/rc6.d/K85tmpfs
 #etc/rc.d/rc0.d/K01miau
 #etc/rc.d/rc3.d/S99miau
 #etc/rc.d/rc6.d/K01miau
-#etc/rc.d/init.d/net-snmp
+#etc/rc.d/init.d/netsnmpd
index 917733ff955dd8ffc3ed2e87f4586937999a4f35..164b33fce4efcac0e504f28f219ca808bbdd48c4 100644 (file)
@@ -1,3 +1,4 @@
+etc/system-release
 lib/modules/2.6.27.25-ipfire/kernel/drivers/net/e1000e/e1000e.ko
 lib/modules/2.6.27.25-ipfire/kernel/drivers/net/usb/hso.ko
 lib/modules/2.6.27.25-ipfire/kernel/drivers/usb/serial/option.ko
@@ -13,3 +14,6 @@ srv/web/ipfire/html/themes/maniac/include/style.css
 opt/pakfire/pakfire
 usr/bin/curl
 etc/ppp/ip-up
+usr/sbin/grub-install
+lib/initcpio/install/virtio
+etc/mkinitcpio.conf
index c7eebf948c2d986a78e072bf600c555c548ac437..9029b14230b95e9056fee09e80cbefc68ee89bb1 100644 (file)
@@ -67,3 +67,4 @@ fi
 if [ ! -s "/opt/pakfire/db/uuid" ]; then
        rm -f /opt/pakfire/db/uuid
 fi
+cp /etc/mkinitcpio.conf /etc/mkinitcpio.conf.org
index ba88316b5805d4b4fd54da8275ca474e628ce02e..1935c5aaf04a1dde190d50e5551fc01d953494cc 100644 (file)
@@ -18,6 +18,7 @@ usr/share/cacti/cli/add_perms.php
 usr/share/cacti/cli/add_tree.php
 usr/share/cacti/cli/copy_user.php
 usr/share/cacti/cli/host_update_template.php
+usr/share/cacti/cli/import_template.php
 usr/share/cacti/cli/poller_data_sources_reapply_names.php
 usr/share/cacti/cli/poller_graphs_reapply_names.php
 usr/share/cacti/cli/poller_output_empty.php
@@ -35,10 +36,7 @@ usr/share/cacti/data_templates.php
 #usr/share/cacti/docs
 #usr/share/cacti/docs/CHANGELOG
 #usr/share/cacti/docs/CONTRIB
-#usr/share/cacti/docs/INSTALL
 #usr/share/cacti/docs/README
-#usr/share/cacti/docs/REQUIREMENTS
-#usr/share/cacti/docs/UPGRADE
 #usr/share/cacti/docs/html
 #usr/share/cacti/docs/html/LICENSE.html
 #usr/share/cacti/docs/html/advanced_topics.html
@@ -115,7 +113,6 @@ usr/share/cacti/data_templates.php
 #usr/share/cacti/docs/html/install_windows.html
 #usr/share/cacti/docs/html/installation.html
 #usr/share/cacti/docs/html/making_scripts_work_with_cacti.html
-#usr/share/cacti/docs/html/manual.css
 #usr/share/cacti/docs/html/migration_php_scripts_to_script_server.html
 #usr/share/cacti/docs/html/new_graphs.html
 #usr/share/cacti/docs/html/operating_principles.html
@@ -143,8 +140,8 @@ usr/share/cacti/data_templates.php
 #usr/share/cacti/docs/html/variables.html
 #usr/share/cacti/docs/pdf
 #usr/share/cacti/docs/pdf/README
-#usr/share/cacti/docs/text
-#usr/share/cacti/docs/text/manual.txt
+#usr/share/cacti/docs/txt
+#usr/share/cacti/docs/txt/manual.txt
 usr/share/cacti/gprint_presets.php
 usr/share/cacti/graph.php
 usr/share/cacti/graph_image.php
@@ -296,24 +293,25 @@ usr/share/cacti/include/treeview/ua.js
 usr/share/cacti/include/zoom.js
 usr/share/cacti/index.php
 #usr/share/cacti/install
-#usr/share/cacti/install/0_8_1_to_0_8_2.php
-#usr/share/cacti/install/0_8_2_to_0_8_2a.php
-#usr/share/cacti/install/0_8_2a_to_0_8_3.php
-#usr/share/cacti/install/0_8_3_to_0_8_4.php
-#usr/share/cacti/install/0_8_4_to_0_8_5.php
-#usr/share/cacti/install/0_8_5a_to_0_8_6.php
-#usr/share/cacti/install/0_8_6_to_0_8_6a.php
-#usr/share/cacti/install/0_8_6c_to_0_8_6d.php
-#usr/share/cacti/install/0_8_6d_to_0_8_6e.php
-#usr/share/cacti/install/0_8_6f_to_0_8_6g.php
-#usr/share/cacti/install/0_8_6g_to_0_8_6h.php
-#usr/share/cacti/install/0_8_6h_to_0_8_6i.php
-#usr/share/cacti/install/0_8_6j_to_0_8_7.php
-#usr/share/cacti/install/0_8_7_to_0_8_7a.php
-#usr/share/cacti/install/0_8_7a_to_0_8_7b.php
-#usr/share/cacti/install/0_8_7b_to_0_8_7c.php
-#usr/share/cacti/install/0_8_7c_to_0_8_7d.php
-#usr/share/cacti/install/0_8_to_0_8_1.php
+usr/share/cacti/install/0_8_1_to_0_8_2.php
+usr/share/cacti/install/0_8_2_to_0_8_2a.php
+usr/share/cacti/install/0_8_2a_to_0_8_3.php
+usr/share/cacti/install/0_8_3_to_0_8_4.php
+usr/share/cacti/install/0_8_4_to_0_8_5.php
+usr/share/cacti/install/0_8_5a_to_0_8_6.php
+usr/share/cacti/install/0_8_6_to_0_8_6a.php
+usr/share/cacti/install/0_8_6c_to_0_8_6d.php
+usr/share/cacti/install/0_8_6d_to_0_8_6e.php
+usr/share/cacti/install/0_8_6f_to_0_8_6g.php
+usr/share/cacti/install/0_8_6g_to_0_8_6h.php
+usr/share/cacti/install/0_8_6h_to_0_8_6i.php
+usr/share/cacti/install/0_8_6j_to_0_8_7.php
+usr/share/cacti/install/0_8_7_to_0_8_7a.php
+usr/share/cacti/install/0_8_7a_to_0_8_7b.php
+usr/share/cacti/install/0_8_7b_to_0_8_7c.php
+usr/share/cacti/install/0_8_7c_to_0_8_7d.php
+usr/share/cacti/install/0_8_7d_to_0_8_7e.php
+usr/share/cacti/install/0_8_to_0_8_1.php
 usr/share/cacti/install/index.php
 usr/share/cacti/install/install_finish.gif
 usr/share/cacti/install/install_next.gif
@@ -497,6 +495,7 @@ usr/share/cacti/utilities.php
 #var/cacti
 #var/cacti/log
 var/cacti/log/.htaccess
+var/cacti/log/.placeholder
 var/cacti/log/cacti.log
 #var/cacti/rra
 var/cacti/rra/.placeholder
diff --git a/config/rootfiles/packages/joe b/config/rootfiles/packages/joe
new file mode 100644 (file)
index 0000000..ec0e0e2
--- /dev/null
@@ -0,0 +1,71 @@
+usr/bin/joe
+usr/bin/rjoe
+usr/share/doc/joe
+usr/share/doc/joe/LIST
+usr/share/doc/joe/README
+usr/share/doc/joe/HINTS
+usr/share/doc/joe/ChangeLog
+usr/share/doc/joe/HACKING
+usr/share/doc/joe/NEWS
+usr/share/man/man1/joe.1
+usr/share/man/ru/man1/joe.1
+usr/share/joe
+usr/share/joe/lang
+usr/share/joe/lang/ru.po
+usr/share/joe/lang/de.po
+usr/share/joe/lang/fr.po
+usr/share/joe/lang/uk.po
+usr/share/joe/syntax
+usr/share/joe/syntax/c.jsf
+usr/share/joe/syntax/perl.jsf
+usr/share/joe/syntax/verilog.jsf
+usr/share/joe/syntax/conf.jsf
+usr/share/joe/syntax/python.jsf
+usr/share/joe/syntax/php.jsf
+usr/share/joe/syntax/sh.jsf
+usr/share/joe/syntax/mail.jsf
+usr/share/joe/syntax/pascal.jsf
+usr/share/joe/syntax/html.jsf
+usr/share/joe/syntax/vhdl.jsf
+usr/share/joe/syntax/fortran.jsf
+usr/share/joe/syntax/java.jsf
+usr/share/joe/syntax/xml.jsf
+usr/share/joe/syntax/tcl.jsf
+usr/share/joe/syntax/lisp.jsf
+usr/share/joe/syntax/csh.jsf
+usr/share/joe/syntax/mason.jsf
+usr/share/joe/syntax/diff.jsf
+usr/share/joe/syntax/asm.jsf
+usr/share/joe/syntax/tex.jsf
+usr/share/joe/syntax/css.jsf
+usr/share/joe/syntax/ocaml.jsf
+usr/share/joe/syntax/4gl.jsf
+usr/share/joe/syntax/sml.jsf
+usr/share/joe/syntax/sql.jsf
+usr/share/joe/syntax/awk.jsf
+usr/share/joe/syntax/cobol.jsf
+usr/share/joe/syntax/sed.jsf
+usr/share/joe/syntax/ps.jsf
+usr/share/joe/syntax/ada.jsf
+usr/share/joe/syntax/troff.jsf
+usr/share/joe/syntax/haskell.jsf
+usr/share/joe/syntax/rexx.jsf
+usr/share/joe/syntax/skill.jsf
+usr/share/joe/syntax/lua.jsf
+usr/share/joe/syntax/ruby.jsf
+usr/share/joe/syntax/m4.jsf
+usr/share/joe/syntax/joerc.jsf
+usr/share/joe/syntax/spec.jsf
+usr/share/joe/syntax/matlab.jsf
+usr/share/joe/syntax/jsf.jsf
+usr/share/joe/syntax/jsf_check.jsf
+usr/share/joe/charmaps
+usr/share/joe/charmaps/klingon
+usr/etc/joe
+usr/etc/joe/joerc
+usr/etc/joe/jicerc.ru
+usr/etc/joe/jmacsrc
+usr/etc/joe/jstarrc
+usr/etc/joe/rjoerc
+usr/etc/joe/jpicorc
+usr/etc/joe/ftyperc
similarity index 99%
rename from config/rootfiles/packages/net-snmp
rename to config/rootfiles/packages/netsnmpd
index e518e5c1470c83e5a6fdd98fa382b16a46cbd21f..461c679cfa5b01d85b360e812e6de12122e6ca65 100644 (file)
@@ -1,6 +1,6 @@
-etc/rc.d/rc0.d/K02net-snmp
-etc/rc.d/rc3.d/S65net-snmp
-etc/rc.d/rc6.d/K02net-snmp
+etc/rc.d/rc0.d/K02netsnmpd
+etc/rc.d/rc3.d/S65netsnmpd
+etc/rc.d/rc6.d/K02netsnmpd
 etc/snmpd.conf
 usr/bin/encode_keychange
 usr/bin/fixproc
@@ -586,4 +586,4 @@ usr/share/snmp/snmpconf-data/snmptrapd-data/logging
 usr/share/snmp/snmpconf-data/snmptrapd-data/runtime
 usr/share/snmp/snmpconf-data/snmptrapd-data/snmpconf-config
 usr/share/snmp/snmpconf-data/snmptrapd-data/traphandle
-etc/init.d/net-snmp
+etc/init.d/netsnmpd
index fc383fe59d88254c724b383075eee1c5f709191d..fab524669ee5c6d55d8f9254f3039f7cec49abff 100644 (file)
@@ -59,7 +59,7 @@
 * busybox-1.2.2
 * bwm-ng-0.6
 * bzip2-1.0.5
-* cacti-0.8.7d
+* cacti-0.8.7e
 * calamaris-2.59
 * capi4k-utils-2005-07-18
 * ccache-2.4
 * iputils-ss020927
 * iw-0.9.15
 * java-1.6.0_12-for-ipfire
+* joe-3.7
 * jpegsrc.v6b
 * kbd-1.12
 * klibc-1.5.14
index 5e000f07e50ab1d342e9aa2412ef430abf340dd4..e9799f07137c241c360126d65612105a0d2d42ea 100644 (file)
@@ -103,7 +103,7 @@ if ($cgiparams{'SUBMIT'} eq $tr{'advproxy chgwebpwd change password'})
                $errormessage = $tr{'advproxy errmsg password incorrect'};
                goto ERROR;
        }
-       $returncode = system("/usr/bin/htpasswd -b $userdb $username $cgiparams{'NEW_PASSWORD_1'}");
+       $returncode = system("/usr/sbin/htpasswd -b $userdb $username $cgiparams{'NEW_PASSWORD_1'}");
        if ($returncode == 0)
        {
                $success = 1;
index af0964e10437b86f811ce11957a4262bbc53f199..f1862f1cf064f5ca27cfe1f1b57ba32ca5b66dbf 100644 (file)
@@ -2973,7 +2973,7 @@ sub writeconfigfile
        foreach $category (@categories) {
                $blacklist = $category;
                $category =~ s/\//_/g;
-               if ( $filtersettings{"FILTER_".uc($category)} ne "on" ){next;}
+               #if ( $filtersettings{"FILTER_".uc($category)} ne "on" ){next;}
                print FILE "dest $category {\n";
                if (-e "$dbdir/$blacklist/domains") {
                        print FILE "    domainlist     $blacklist\/domains\n";
index 0206059ca42ef42b7e7886d2417d61801c54eea3..4dda25eb5e74ca1b78f18c62199262e856ded6cf 100644 (file)
--- a/lfs/cacti
+++ b/lfs/cacti
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 0.8.7d
+VER        = 0.8.7e
 
 THISAPP    = cacti-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -32,9 +32,9 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = cacti
-PAK_VER    = 1
+PAK_VER    = 2
 
-DEPS       = "net-snmp mysql"
+DEPS       = "netsnmpd mysql"
 
 ###############################################################################
 # Top-level Rules
@@ -44,7 +44,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 0822068bfa547278e94d3143ef9279e0
+$(DL_FILE)_MD5 = 7563a58a57d2c6cc0da28cc341a30969
 
 install : $(TARGET)
 
@@ -85,11 +85,14 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        install -v -m 755 $(DIR_SRC)/config/cacti/cacti.cron /etc/fcron.cyclic/cacti.cron
        install -v -m 644 $(DIR_SRC)/config/backup/includes/cacti \
                         /var/ipfire/backup/addons/includes/cacti
-       mkdir /var/cacti && mkdir /var/cacti/rra && mkdir /var/cacti/log 
-       mv -vf /usr/share/cacti/log /var/cacti
-       mv -vf /usr/share/cacti/rra /var/cacti
+       mkdir -pv /var/cacti || true
+       mkdir -pv /var/cacti/rra || true                                    
+       mkdir -pv /var/cacti/log || true
+       mv -vf /usr/share/cacti/log/* /var/cacti/log/
+       mv -vf /usr/share/cacti/rra/* /var/cacti/rra
        ln -s /var/cacti/log /usr/share/cacti/log
        ln -s /var/cacti/rra /usr/share/cacti/rra
        chown -R nobody:nobody /var/cacti/rra /var/cacti/log
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)
+
diff --git a/lfs/joe b/lfs/joe
new file mode 100644 (file)
index 0000000..96b2156
--- /dev/null
+++ b/lfs/joe
@@ -0,0 +1,84 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+#                                                                             #
+# This program is free software: you can redistribute it and/or modify        #
+# it under the terms of the GNU General Public License as published by        #
+# the Free Software Foundation, either version 3 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# This program is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
+# GNU General Public License for more details.                                #
+#                                                                             #
+# You should have received a copy of the GNU General Public License           #
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+VER        = 3.7
+
+THISAPP    = joe-$(VER)
+DL_FILE    = $(THISAPP).tar.gz
+DL_FROM    = $(URL_IPFIRE)
+DIR_APP    = $(DIR_SRC)/$(THISAPP)
+TARGET     = $(DIR_INFO)/$(THISAPP)
+PROG       = joe
+PAK_VER    = 0
+
+DEPS       = ""
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5 = 66de1b073e869ba12abbfcde3885c577
+
+install : $(TARGET)
+
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+
+md5 : $(subst %,%_MD5,$(objects))
+
+dist: 
+       @$(PAK)
+
+###############################################################################
+# Downloading, checking, md5sum
+###############################################################################
+
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
+       @$(CHECK)
+
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
+       @$(LOAD)
+
+$(subst %,%_MD5,$(objects)) :
+       @$(MD5)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
+       @$(PREBUILD)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP) && ./configure --prefix=/usr
+       cd $(DIR_APP) && make $(MAKETUNING)
+       cd $(DIR_APP) && make install
+       @rm -rf $(DIR_APP)
+       @$(POSTBUILD)
similarity index 90%
rename from lfs/net-snmp
rename to lfs/netsnmpd
index c4d64bdfdcfc621dfdb4e9aebfcf3227fdf00d0c..66fd9df725cb99f5ea278fdc58f8ef2318eefb09 100644 (file)
@@ -31,8 +31,8 @@ DL_FILE    = $(THISAPP).tar.gz
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
-PROG      = net-snmp
-PAK_VER           = 1
+PROG      = netsnmpd
+PAK_VER           = 2
 DEPS       = ""
 
 ###############################################################################
@@ -87,11 +87,11 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
                                    --sysconfdir="/etc"
        cd $(DIR_APP) && make 
        cd $(DIR_APP) && make install
-       install -v -m644 $(DIR_SRC)/config/net-snmp/snmpd.conf /etc/snmpd.conf
-       install -v -m755 $(DIR_SRC)/src/initscripts/init.d/net-snmp /etc/init.d/net-snmp
-       ln -sf ../init.d/net-snmp /etc/rc.d/rc3.d/S65net-snmp
-       ln -sf ../init.d/net-snmp /etc/rc.d/rc0.d/K02net-snmp
-       ln -sf ../init.d/net-snmp /etc/rc.d/rc6.d/K02net-snmp
+       install -v -m644 $(DIR_SRC)/config/netsnmpd/snmpd.conf /etc/snmpd.conf
+       install -v -m755 $(DIR_SRC)/src/initscripts/init.d/netsnmpd /etc/init.d/netsnmpd
+       ln -sf ../init.d/netsnmpd /etc/rc.d/rc3.d/S65netsnmpd
+       ln -sf ../init.d/netsnmpd /etc/rc.d/rc0.d/K02netsnmpd
+       ln -sf ../init.d/netsnmpd /etc/rc.d/rc6.d/K02netsnmpd
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)
        
diff --git a/lfs/sox b/lfs/sox
index cad16e55f67113ae827dc6843ab4bd38375b69fb..378429d4d198ef082b0bf3db6310f4f257551fe7 100644 (file)
--- a/lfs/sox
+++ b/lfs/sox
@@ -34,7 +34,7 @@ TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = sox
 PAK_VER    = 1
 
-DEPS       = "libvorbis lame"
+DEPS       = "libvorbis"
 
 ###############################################################################
 # Top-level Rules
diff --git a/make.sh b/make.sh
index 7f68f293d461440e3dd4dcaea65f728f738c8080..cf085774c55e679fe06ae8284026d2cf0f853f34 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -612,7 +612,7 @@ buildipfire() {
 #  ipfiremake x11libs
 #  ipfiremake xen
   ipfiremake miau
-  ipfiremake net-snmp
+  ipfiremake netsnmpd
   ipfiremake perl-DBI
   ipfiremake perl-DBD-mysql
   ipfiremake lcr
@@ -622,6 +622,7 @@ buildipfire() {
   ipfiremake nagiosql
   ipfiremake iftop
   ipfiremake motion
+  ipfiremake joe
   echo Build on $HOSTNAME > $BASEDIR/build/var/ipfire/firebuild
   cat /proc/version >> $BASEDIR/build/var/ipfire/firebuild
   echo >> $BASEDIR/build/var/ipfire/firebuild