Update mldonkey openssh openssl ntfs-3g nfs and hdparm

Change samba default config
Some fixes for mpfire


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@998 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
maniacikarus
2007-10-25 08:51:31 +00:00
parent 256575b315
commit 3d1f6a3556
15 changed files with 83 additions and 61 deletions

6
config/mpfire/mpd.db Normal file
View File

@@ -0,0 +1,6 @@
info_begin
mpd_version: 0.13.0
fs_charset: UTF-8
info_end
songList begin
songList end

View File

@@ -3,7 +3,7 @@ var/ipfire/addon-lang
#var/ipfire/alcatelusb
var/ipfire/auth
#var/ipfire/auth/users
var/ipfire/backup
#var/ipfire/backup
var/ipfire/ca
var/ipfire/certs
#var/ipfire/certs/index.txt

View File

@@ -1,37 +1,37 @@
# global.settings by IPFire Project
[global]
netbios name = ipfire
server string = Samba
workgroup = homeip.net
keep alive = 30
os level = 33
fstype = NTFS
kernel oplocks = false
map to guest = false
smb ports = 445 139
unix charset = CP850
security = user
encrypt passwords = yes
guest account = samba
unix password sync = false
null passwords = yes
bind interfaces only = true
interfaces = eth0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 SO_KEEPALIVE
username level = 1
wins support = true
log file = /var/log/samba/samba-log.%m
lock directory = /var/lock/samba
pid directory = /var/run/
log level = 3 passdb:5 auth:5 winbind:2
preferred master = false
domain master = false
local master = false
# global.settings by IPFire Project
[global]
netbios name = ipfire
server string = Samba
workgroup = homeip.net
keep alive = 30
os level = 33
fstype = NTFS
kernel oplocks = false
map to guest = false
smb ports = 445 139
unix charset = CP850
security = user
encrypt passwords = yes
guest account = samba
unix password sync = false
null passwords = yes
bind interfaces only = true
interfaces = green0 127.0.0.1
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 SO_KEEPALIVE
username level = 1
wins support = true
log file = /var/log/samba/samba-log.%m
lock directory = /var/lock/samba
pid directory = /var/run/
log level = 3 passdb:5 auth:5 winbind:2
preferred master = false
domain master = false
local master = false

View File

@@ -97,7 +97,7 @@
* guardian-ipfire
* gzip-1.3.5
* hddtemp-0.3-beta14
* hdparm-6.6
* hdparm-7.7
* htop-0.6.2
* httpd-2.2.2
* hwdata
@@ -163,7 +163,7 @@
* misc-progs
* mkinitcpio-0.5.9
* mktemp-1.5
* mldonkey-2.9.1
* mldonkey-2.9.2
* module-init-tools-3.2.2
* mpc-0.12.1
* mpd-0.13.0
@@ -179,17 +179,17 @@
* ncurses-5.5
* net-tools-1.60
* newt-0.51.6
* nfs-utils-1.0.8
* nfs-utils-1.1.1
* nmap-4.03
* noip_updater_v1.6
* ntfs-3g-1.810
* ntfs-3g-1.1004
* ntp-4.2.2
* ocaml-3.09.2
* oinkmaster-2.0
* openldap-2.3.20
* openmailadmin-1.0.0
* openssh-4.3p2
* openssl-0.9.8d
* openssh-4.7p1
* openssl-0.9.8g
* openswan-2.4.9
* openvpn-2.0.9
* pam_mysql-0.7RC1

View File

@@ -24,7 +24,7 @@
include Config
VER = 6.6
VER = 7.7
THISAPP = hdparm-$(VER)
DL_FILE = $(THISAPP).tar.gz
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_MD5 = ecea69f775396e4ab6112dcf9066239f
$(DL_FILE)_MD5 = 0d96f03155fe5c119ca338a51ad1eaa7
install : $(TARGET)

View File

@@ -24,7 +24,7 @@
include Config
VER = 2.9.1
VER = 2.9.2
THISAPP = mldonkey-$(VER)
DL_FILE = $(THISAPP).tar.bz2
@@ -44,7 +44,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_MD5 = 0f8882bd0bf343b0565e21e59b252b16
$(DL_FILE)_MD5 = d7b92ae3e8782a3c4adeb0e7870c07dc
install : $(TARGET)

View File

@@ -59,10 +59,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
-mkdir -p /var/ipfire/mpfire/{bin,db}
touch /var/ipfire/mpfire/{settings,playlist.m3u}
touch /var/ipfire/mpfire/db/mpd.db
install -v -m 755 $(DIR_SRC)/config/mpfire/mpfire.pl /var/ipfire/mpfire/bin
install -v -m 664 $(DIR_SRC)/config/mpfire/mpd.conf /var/ipfire/mpfire/
install -v -m 644 $(DIR_SRC)/config/mpfire/webradio /var/ipfire/mpfire/
install -v -m 644 $(DIR_SRC)/config/mpfire/mpd.db /var/ipfire/mpfire/db/mpd.db
chown root.nobody /var/ipfire/mpfire/{mpd.conf,playlist.m3u}
chown nobody.nobody /var/ipfire/mpfire/{settings,webradio}
chown root.nobody /var/ipfire/mpfire/db/mpd.db

View File

@@ -24,7 +24,7 @@
include Config
VER = 1.0.8
VER = 1.1.1
THISAPP = nfs-utils-$(VER)
DL_FILE = $(THISAPP).tar.gz
@@ -42,7 +42,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_MD5 = 74fc2dd04b40c9d619ca41d3787ef8db
$(DL_FILE)_MD5 = 407785488241f9db67b1874e3f36370e
install : $(TARGET)

View File

@@ -24,7 +24,7 @@
include Config
VER = 1.810
VER = 1.1004
THISAPP = ntfs-3g-$(VER)
DL_FILE = $(THISAPP).tgz
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_MD5 = b2f15ff23994d0680287e93eee93a483
$(DL_FILE)_MD5 = 7630c7dc2879078df06ceff680cc04f5
install : $(TARGET)

View File

@@ -24,7 +24,7 @@
include Config
VER = 4.3p2
VER = 4.7p1
THISAPP = openssh-$(VER)
DL_FILE = $(THISAPP).tar.gz
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_MD5 = 7e9880ac20a9b9db0d3fea30a9ff3d46
$(DL_FILE)_MD5 = 50a800fd2c6def9e9a53068837e87b91
install : $(TARGET)

View File

@@ -24,7 +24,7 @@
include Config
VER = 0.9.8d
VER = 0.9.8g
THISAPP = openssl-$(VER)
DL_FILE = $(THISAPP).tar.gz
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_MD5 = 8ed1853538e1d05a1f5ada61ebf8bffa
$(DL_FILE)_MD5 = acf70a16359bf3658bdfb74bda1c4419
install : $(TARGET)

View File

@@ -1,6 +1,8 @@
#!/bin/bash
. /opt/pakfire/lib/functions.sh
stop_service ${NAME}
make_backup ${NAME}
extract_files
restore_backup ${NAME}
start_service --delay 60 --background ${NAME}

View File

@@ -9,4 +9,5 @@ ln -svf /etc/init.d/mpd /etc/rc.d/rc6.d/K35mpd
ln -svf /var/ipfire/mpfire/mpd.conf /etc/mpd.conf
touch /var/log/mpd.error.log
touch /var/log/mpd.log
restore_backup mpfire
restore_backup ${NAME}
start_service --delay 60 --background ${NAME}

View File

@@ -1,4 +1,14 @@
#!/bin/bash
. /opt/pakfire/lib/functions.sh
make_backup mpfire
stop_service ${NAME}
make_backup ${NAME}
rm /etc/rc.d/rc3.d/S65mpd
rm /etc/rc.d/rc0.d/K35mpd
rm /etc/rc.d/rc6.d/K35mpd
rm /etc/init.d/mpd
rm /var/ipfire/mpfire/mpd.conf
rm /etc/mpd.conf
rm /var/log/mpd.error.log
rm /var/log/mpd.log

View File

@@ -1,5 +1,8 @@
#!/bin/bash
. /opt/pakfire/lib/functions.sh
make_backup mpfire
restore_backup mpfire
stop_service ${NAME}
make_backup ${NAME}
extract_files
restore_backup ${NAME}
start_service --delay 60 --background ${NAME}