mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-23 17:32:57 +02:00
Hinzugefügt:
* Midnight Commander 4.6.1 (GLIB/PKG-CONFIG) Geändert: * OpenLDAP * PWLib - Compilier-Optionen * make-packages - Funktionen erweitert git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@96 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
0
src/paks/mc/CONFFILES
Normal file
0
src/paks/mc/CONFFILES
Normal file
158
src/paks/mc/ROOTFILES
Normal file
158
src/paks/mc/ROOTFILES
Normal file
@@ -0,0 +1,158 @@
|
||||
usr/bin/mc
|
||||
usr/bin/mcc
|
||||
usr/bin/mcedit
|
||||
usr/bin/mcmfmt
|
||||
usr/bin/mcview
|
||||
usr/lib/mc
|
||||
usr/lib/mc/cons.saver
|
||||
#usr/share/locale/az/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/be/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/bg/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/ca/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/cs/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/da/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/de/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/el/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/es/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/eu/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/fi/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/fr/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/hu/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/it/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/ja/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/ko/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/lt/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/lv/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/mn/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/nl/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/no/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/pl/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/pt/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/pt_BR/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/ro/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/ru/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/sk/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/sl/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/sr/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/sv/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/ta/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/tr/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/uk/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/wa/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/zh_CN/LC_MESSAGES/mc.mo
|
||||
#usr/share/locale/zh_TW/LC_MESSAGES/mc.mo
|
||||
#usr/share/man/es/man1/mc.1
|
||||
#usr/share/man/hu/man1/mc.1
|
||||
#usr/share/man/it/man1/mc.1
|
||||
#usr/share/man/man1/mc.1
|
||||
#usr/share/man/man1/mcedit.1
|
||||
#usr/share/man/man1/mcview.1
|
||||
#usr/share/man/pl/man1/mc.1
|
||||
#usr/share/man/ru/man1
|
||||
#usr/share/man/ru/man1/mc.1
|
||||
#usr/share/man/sr
|
||||
#usr/share/man/sr/man1
|
||||
#usr/share/man/sr/man1/mc.1
|
||||
#usr/share/man/sr/man8
|
||||
usr/share/mc
|
||||
#usr/share/mc/bin
|
||||
#usr/share/mc/bin/mc-wrapper.csh
|
||||
#usr/share/mc/bin/mc-wrapper.sh
|
||||
#usr/share/mc/bin/mc.csh
|
||||
#usr/share/mc/bin/mc.sh
|
||||
#usr/share/mc/cedit.menu
|
||||
#usr/share/mc/edit.indent.rc
|
||||
#usr/share/mc/edit.spell.rc
|
||||
#usr/share/mc/extfs
|
||||
#usr/share/mc/extfs/README
|
||||
#usr/share/mc/extfs/a
|
||||
#usr/share/mc/extfs/apt
|
||||
#usr/share/mc/extfs/audio
|
||||
#usr/share/mc/extfs/bpp
|
||||
#usr/share/mc/extfs/deb
|
||||
#usr/share/mc/extfs/deba
|
||||
#usr/share/mc/extfs/debd
|
||||
#usr/share/mc/extfs/dpkg
|
||||
#usr/share/mc/extfs/extfs.ini
|
||||
#usr/share/mc/extfs/hp48
|
||||
#usr/share/mc/extfs/iso9660
|
||||
#usr/share/mc/extfs/lslR
|
||||
#usr/share/mc/extfs/mailfs
|
||||
#usr/share/mc/extfs/patchfs
|
||||
#usr/share/mc/extfs/rpm
|
||||
#usr/share/mc/extfs/rpms
|
||||
#usr/share/mc/extfs/sfs.ini
|
||||
#usr/share/mc/extfs/trpm
|
||||
#usr/share/mc/extfs/uar
|
||||
#usr/share/mc/extfs/uarj
|
||||
#usr/share/mc/extfs/uha
|
||||
#usr/share/mc/extfs/ulha
|
||||
#usr/share/mc/extfs/urar
|
||||
#usr/share/mc/extfs/uzip
|
||||
#usr/share/mc/extfs/uzoo
|
||||
#usr/share/mc/mc.ext
|
||||
#usr/share/mc/mc.hint
|
||||
#usr/share/mc/mc.hint.cs
|
||||
#usr/share/mc/mc.hint.es
|
||||
#usr/share/mc/mc.hint.hu
|
||||
#usr/share/mc/mc.hint.it
|
||||
#usr/share/mc/mc.hint.nl
|
||||
#usr/share/mc/mc.hint.pl
|
||||
#usr/share/mc/mc.hint.ru
|
||||
#usr/share/mc/mc.hint.sr
|
||||
#usr/share/mc/mc.hint.uk
|
||||
#usr/share/mc/mc.hint.zh
|
||||
#usr/share/mc/mc.hlp
|
||||
#usr/share/mc/mc.hlp.es
|
||||
#usr/share/mc/mc.hlp.hu
|
||||
#usr/share/mc/mc.hlp.it
|
||||
#usr/share/mc/mc.hlp.pl
|
||||
#usr/share/mc/mc.hlp.ru
|
||||
#usr/share/mc/mc.hlp.sr
|
||||
#usr/share/mc/mc.lib
|
||||
#usr/share/mc/mc.menu
|
||||
#usr/share/mc/mc.menu.sr
|
||||
#usr/share/mc/syntax
|
||||
#usr/share/mc/syntax/Syntax
|
||||
#usr/share/mc/syntax/ada95.syntax
|
||||
#usr/share/mc/syntax/aspx.syntax
|
||||
#usr/share/mc/syntax/assembler.syntax
|
||||
#usr/share/mc/syntax/c.syntax
|
||||
#usr/share/mc/syntax/changelog.syntax
|
||||
#usr/share/mc/syntax/cs.syntax
|
||||
#usr/share/mc/syntax/diff.syntax
|
||||
#usr/share/mc/syntax/dos.syntax
|
||||
#usr/share/mc/syntax/eiffel.syntax
|
||||
#usr/share/mc/syntax/fortran.syntax
|
||||
#usr/share/mc/syntax/html.syntax
|
||||
#usr/share/mc/syntax/idl.syntax
|
||||
#usr/share/mc/syntax/java.syntax
|
||||
#usr/share/mc/syntax/js.syntax
|
||||
#usr/share/mc/syntax/latex.syntax
|
||||
#usr/share/mc/syntax/lisp.syntax
|
||||
#usr/share/mc/syntax/lsm.syntax
|
||||
#usr/share/mc/syntax/lua.syntax
|
||||
#usr/share/mc/syntax/m4.syntax
|
||||
#usr/share/mc/syntax/mail.syntax
|
||||
#usr/share/mc/syntax/makefile.syntax
|
||||
#usr/share/mc/syntax/ml.syntax
|
||||
#usr/share/mc/syntax/nroff.syntax
|
||||
#usr/share/mc/syntax/octave.syntax
|
||||
#usr/share/mc/syntax/pascal.syntax
|
||||
#usr/share/mc/syntax/perl.syntax
|
||||
#usr/share/mc/syntax/php.syntax
|
||||
#usr/share/mc/syntax/po.syntax
|
||||
#usr/share/mc/syntax/povray.syntax
|
||||
#usr/share/mc/syntax/python.syntax
|
||||
#usr/share/mc/syntax/ruby.syntax
|
||||
#usr/share/mc/syntax/sh.syntax
|
||||
#usr/share/mc/syntax/slang.syntax
|
||||
#usr/share/mc/syntax/smalltalk.syntax
|
||||
#usr/share/mc/syntax/spec.syntax
|
||||
#usr/share/mc/syntax/sql.syntax
|
||||
#usr/share/mc/syntax/swig.syntax
|
||||
#usr/share/mc/syntax/syntax.syntax
|
||||
#usr/share/mc/syntax/tcl.syntax
|
||||
#usr/share/mc/syntax/texinfo.syntax
|
||||
#usr/share/mc/syntax/unknown.syntax
|
||||
#usr/share/mc/syntax/xml.syntax
|
||||
4
src/paks/mc/install.sh
Normal file
4
src/paks/mc/install.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
tar xfz files.tgz -C /
|
||||
|
||||
0
src/paks/mc/uninstall.sh
Normal file
0
src/paks/mc/uninstall.sh
Normal file
@@ -3,7 +3,7 @@
|
||||
## ##
|
||||
## Make packages ##
|
||||
## ##
|
||||
## (c) www.ipfire.org - GPL ##
|
||||
## (c) www.ipfire.org - GPL v2 ##
|
||||
## ##
|
||||
########################################################
|
||||
echo "`date -u '+%b %e %T'`: Packing $1" | tee -a $LOGFILE
|
||||
@@ -13,13 +13,16 @@ cd / && mkdir -p /paks/$1
|
||||
#
|
||||
cp -f /usr/src/src/paks/$1/{,un}install.sh /paks/$1
|
||||
chmod 755 /paks/$1/{,un}install.sh
|
||||
tar cfz /paks/$1/files.tgz --files=/usr/src/src/paks/$1/ROOTFILES --exclude='#*'
|
||||
tar cfz /paks/$1/conf.tgz --files=/usr/src/src/paks/$1/CONFFILES --exclude='#*'
|
||||
cd /paks/$1 && tar cfz ../$2.tar.gz files.tgz conf.tgz install.sh uninstall.sh && cd ..
|
||||
|
||||
tar cvfz /paks/$1/files.tgz --files=/usr/src/src/paks/$1/ROOTFILES --exclude='#*'
|
||||
|
||||
tar cvfz /paks/$1/conf.tgz --files=/usr/src/src/paks/$1/CONFFILES --exclude='#*'
|
||||
cd /paks/$1 && tar cvfz ../$2.tar.gz files.tgz conf.tgz install.sh uninstall.sh && cd ..
|
||||
|
||||
md5sum $2.tar.gz >> $2.tar.gz.md5
|
||||
|
||||
## Clean up!
|
||||
#
|
||||
rm -rf /paks/$1
|
||||
rm -rf /paks
|
||||
|
||||
exit 0
|
||||
@@ -1,45 +1,45 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $Id: setreservedports,v 1.1.2.3 2005/09/07 21:38:50 eoberlander Exp $
|
||||
# Change https server port only at this time,
|
||||
# it will be integrate in web interface later
|
||||
# suggested port for https interface could be 5445
|
||||
|
||||
SSH=222
|
||||
|
||||
if [ $# -lt 1 ]; then
|
||||
echo "Give an https port number, recommended value is non-assigned port 5445"
|
||||
else
|
||||
if [ "$1" -lt "445" -o "$1" -gt "65535" ]; then
|
||||
echo "support only a port value from 445 to 65535"
|
||||
echo "recommended value is non-assigned port 5445"
|
||||
else
|
||||
HTTPS=$1
|
||||
/bin/sed -i -e "s+# TCP 67,68,81.*$+# TCP 67,68,81,$SSH,$HTTPS+" \
|
||||
-e "s+my @tcp_reserved = (81.*$+my @tcp_reserved = (81,$SSH,$HTTPS);+" \
|
||||
/home/httpd/cgi-bin/portfw.cgi
|
||||
|
||||
# only the second Listen only has {3,5} digits if the first is 81
|
||||
/bin/sed -i -e "+s+Listen [0-9]\{3,5\}$+Listen $HTTPS+" \
|
||||
-e "s+<VirtualHost _default_.*$+<VirtualHost _default_:$HTTPS>+" \
|
||||
/etc/httpd/conf/httpd.conf
|
||||
|
||||
/bin/sed -i -e "s+:[0-9]\{3,5\}/\$ENV{'PATH_INFO'}+:$HTTPS/\$ENV{'PATH_INFO'}+" \
|
||||
/var/ipcop/header.pl
|
||||
|
||||
/bin/sed -i -e "s+acl IPFire_https port.*$+acl IPCop_https port $HTTPS+" \
|
||||
/var/ipcop/proxy/acl
|
||||
/bin/chown nobody:nobody /var/ipcop/proxy/acl
|
||||
|
||||
/bin/sed -i -e "s+acl IPFire_https port.*$+acl IPCop_https port $HTTPS+" \
|
||||
/var/ipcop/proxy/squid.conf
|
||||
/bin/chown nobody:nobody /var/ipcop/proxy/squid.conf
|
||||
|
||||
# restart everything impacted
|
||||
/bin/killall httpd
|
||||
sleep 2
|
||||
/usr/sbin/httpd
|
||||
/usr/local/bin/restartsquid
|
||||
/usr/bin/logger -s -p local0.info "$0 :https port shift to $HTTPS"
|
||||
fi
|
||||
fi
|
||||
#!/bin/sh
|
||||
#
|
||||
# $Id: setreservedports,v 1.1.2.3 2005/09/07 21:38:50 eoberlander Exp $
|
||||
# Change https server port only at this time,
|
||||
# it will be integrate in web interface later
|
||||
# suggested port for https interface could be 5445
|
||||
|
||||
SSH=222
|
||||
|
||||
if [ $# -lt 1 ]; then
|
||||
echo "Give an https port number, recommended value is non-assigned port 5445"
|
||||
else
|
||||
if [ "$1" -lt "444" -o "$1" -gt "65535" ]; then
|
||||
echo "support only a port value from 445 to 65535"
|
||||
echo "recommended value is non-assigned port 5445"
|
||||
else
|
||||
HTTPS=$1
|
||||
/bin/sed -i -e "s+# TCP 67,68,81.*$+# TCP 67,68,81,$SSH,$HTTPS+" \
|
||||
-e "s+my @tcp_reserved = (81.*$+my @tcp_reserved = (81,$SSH,$HTTPS);+" \
|
||||
/home/httpd/cgi-bin/portfw.cgi
|
||||
|
||||
# only the second Listen only has {3,5} digits if the first is 81
|
||||
/bin/sed -i -e "+s+Listen [0-9]\{3,5\}$+Listen $HTTPS+" \
|
||||
-e "s+<VirtualHost _default_.*$+<VirtualHost _default_:$HTTPS>+" \
|
||||
/etc/httpd/conf/httpd.conf
|
||||
|
||||
/bin/sed -i -e "s+:[0-9]\{3,5\}/\$ENV{'PATH_INFO'}+:$HTTPS/\$ENV{'PATH_INFO'}+" \
|
||||
/var/ipcop/header.pl
|
||||
|
||||
/bin/sed -i -e "s+acl IPFire_https port.*$+acl IPCop_https port $HTTPS+" \
|
||||
/var/ipcop/proxy/acl
|
||||
/bin/chown nobody:nobody /var/ipcop/proxy/acl
|
||||
|
||||
/bin/sed -i -e "s+acl IPFire_https port.*$+acl IPCop_https port $HTTPS+" \
|
||||
/var/ipcop/proxy/squid.conf
|
||||
/bin/chown nobody:nobody /var/ipcop/proxy/squid.conf
|
||||
|
||||
# restart everything impacted
|
||||
/bin/killall httpd
|
||||
sleep 2
|
||||
/usr/sbin/httpd
|
||||
/usr/local/bin/restartsquid
|
||||
/usr/bin/logger -s -p local0.info "$0 :https port shift to $HTTPS"
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user