summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@mandriva.org>2007-09-11 12:42:38 +0000
committerGuillaume Rousse <guillomovitch@mandriva.org>2007-09-11 12:42:38 +0000
commit6a4b8cabeac3cfcb50f25425f947f7005ef51a67 (patch)
tree2317cd47c441b0f5478c4b5eb4952a60a3198a1e
parent0238aa4c39dac018d0a385cccba526756383c53b (diff)
downloadsetup-6a4b8cabeac3cfcb50f25425f947f7005ef51a67.tar
setup-6a4b8cabeac3cfcb50f25425f947f7005ef51a67.tar.gz
setup-6a4b8cabeac3cfcb50f25425f947f7005ef51a67.tar.bz2
setup-6a4b8cabeac3cfcb50f25425f947f7005ef51a67.tar.xz
setup-6a4b8cabeac3cfcb50f25425f947f7005ef51a67.zip
version 2.7.9
-rw-r--r--trunk/Makefile59
-rw-r--r--trunk/NEWS19
-rw-r--r--trunk/bashrc39
-rw-r--r--trunk/csh.cshrc36
-rw-r--r--trunk/csh.login34
-rw-r--r--trunk/filesystems7
-rw-r--r--trunk/fstab1
-rw-r--r--trunk/host.conf2
-rw-r--r--trunk/hosts1
-rw-r--r--trunk/hosts.allow6
-rw-r--r--trunk/hosts.deny9
-rw-r--r--trunk/inputrc88
-rw-r--r--trunk/man/Makefile13
-rw-r--r--trunk/man/cs/run-parts.878
-rw-r--r--trunk/man/et/run-parts.882
-rw-r--r--trunk/man/eu/run-parts.882
-rw-r--r--trunk/man/fr/run-parts.878
-rw-r--r--trunk/man/it/run-parts.882
-rw-r--r--trunk/man/nl/run-parts.883
-rw-r--r--trunk/man/uk/run-parts.887
-rw-r--r--trunk/motd0
-rw-r--r--trunk/passgrp/Makefile9
-rw-r--r--trunk/passgrp/group26
-rw-r--r--trunk/passgrp/passwd14
-rw-r--r--trunk/printcap8
-rw-r--r--trunk/profile36
-rwxr-xr-xtrunk/profile.d/xhost.csh11
-rwxr-xr-xtrunk/profile.d/xhost.sh9
-rw-r--r--trunk/protocols148
-rw-r--r--trunk/resolv.conf8
-rw-r--r--trunk/securetty12
-rw-r--r--trunk/services595
-rw-r--r--trunk/shells2
-rw-r--r--trunk/utils/Makefile13
-rw-r--r--trunk/utils/run-parts.881
-rw-r--r--trunk/utils/run-parts.c425
36 files changed, 2283 insertions, 0 deletions
diff --git a/trunk/Makefile b/trunk/Makefile
new file mode 100644
index 0000000..4d3b2c9
--- /dev/null
+++ b/trunk/Makefile
@@ -0,0 +1,59 @@
+PACKAGE = setup
+VERSION = 2.7.9
+SVNPATH = svn+ssh://svn.mandriva.com/svn/soft/$(PACKAGE)
+
+LIST = csh.cshrc csh.login host.conf hosts.allow hosts.deny inputrc \
+ motd printcap profile.d protocols securetty services shells profile \
+ filesystems fstab resolv.conf hosts
+
+subdir = passgrp utils man
+
+FILES = $(subdir) $(LIST) Makefile ChangeLog
+
+all:
+ @for dir in $(subdir);do \
+ make -C $$dir all ;\
+ done
+
+clean:
+ @for dir in $(subdir);do \
+ make -C $$dir clean ;\
+ done
+ rm -f *~ \#*\#
+
+install:
+ @for dir in $(subdir); do \
+ make -C $$dir install DESTDIR=$(DESTDIR);\
+ done
+ install -d -m 755 $(DESTDIR)/etc/
+ install -d -m 755 $(DESTDIR)/var/log/
+ for i in $(LIST); do \
+ cp -avf $$i $(DESTDIR)/etc/$$i; \
+ done
+ chmod 0600 $(DESTDIR)/etc/securetty
+ echo -n '' > $(DESTDIR)/var/log/lastlog
+ echo -n '' > $(DESTDIR)/etc/mtab
+
+# rules to build a local distribution
+
+localdist: cleandist dir localcopy tar
+
+cleandist: clean
+ rm -rf $(PACKAGE)-$(VERSION) $(PACKAGE)-$(VERSION).tar.bz2
+
+dir:
+ mkdir $(PACKAGE)-$(VERSION)
+
+localcopy:
+ tar c --exclude=.svn $(FILES) | tar x -C $(PACKAGE)-$(VERSION)
+
+tar:
+ tar cvjf $(PACKAGE)-$(VERSION).tar.bz2 $(PACKAGE)-$(VERSION)
+ rm -rf $(PACKAGE)-$(VERSION)
+
+# rules to build a public distribution
+
+dist: cleandist dir localcopy tar svntag
+
+svntag:
+ svn cp -m 'version $(VERSION)' $(SVNPATH)/trunk $(SVNPATH)/tags/v$(VERSION)
diff --git a/trunk/NEWS b/trunk/NEWS
new file mode 100644
index 0000000..924c32c
--- /dev/null
+++ b/trunk/NEWS
@@ -0,0 +1,19 @@
+2007-08-11 Guillaume Rousse <guillomovitch@mandriva.org> 2.7.9
+
+ * add iprop service
+
+2007-03-09 Guillaume Rousse <guillomovitch@mandriva.org> 2.7.8
+
+ * drop exports file, it belong to nfs-utils
+
+2007-03-07 Guillaume Rousse <guillomovitch@mandriva.org> 2.7.7
+
+ * drop anything related to update-passwd, as it is not used in the
+ package
+
+2007-03-07 Guillaume Rousse <guillomovitch@mandriva.org> 2.7.6
+
+ * remove ulimited-related directives from profile (cd bug #29157)
+ * remove deprecated /usr/X11R6/bin location from PATH in profile
+ * Makefiles cleanup
+ * switch to a manual Changelog
diff --git a/trunk/bashrc b/trunk/bashrc
new file mode 100644
index 0000000..9c50462
--- /dev/null
+++ b/trunk/bashrc
@@ -0,0 +1,39 @@
+# /etc/bashrc
+
+# System wide functions and aliases
+# Environment stuff goes in /etc/profile
+
+# by default, we want this to get set.
+# Even for non-interactive, non-login shells.
+if [ "`id -gn`" = "`id -un`" -a `id -u` -gt 99 ]; then
+ umask 002
+else
+ umask 022
+fi
+
+# are we an interactive shell?
+if [ "$PS1" ]; then
+ case $TERM in
+ xterm*)
+ PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
+ ;;
+ *)
+ ;;
+ esac
+ [ "$PS1" = "\\s-\\v\\\$ " ] && PS1="[\u@\h \W]\\$ "
+
+ if [ -z "$loginsh" ]; then # We're not a login shell
+ # Not all scripts in profile.d are compatible with other shells
+ # TODO: make the scripts compatible or check the running shell by
+ # themselves.
+ if [ -n "${BASH_VERSION}${KSH_VERSION}${ZSH_VERSION}" ]; then
+ for i in /etc/profile.d/*.sh; do
+ if [ -x $i ]; then
+ . $i
+ fi
+ done
+ fi
+ fi
+fi
+
+unset loginsh
diff --git a/trunk/csh.cshrc b/trunk/csh.cshrc
new file mode 100644
index 0000000..6010599
--- /dev/null
+++ b/trunk/csh.cshrc
@@ -0,0 +1,36 @@
+# /etc/cshrc
+#
+# csh configuration for all shell invocations. Currently, a prompt.
+
+# (pixel) tcsh doesn't handle directory in the PATH being non-readable
+# in security high, /usr/bin is 751, aka non-readable
+# using unhash fixes the pb
+if (! -r /usr/bin) then
+ unhash
+endif
+
+if ( $uid == 0 ) limit coredumpsize 1000000
+
+if ($?prompt) then
+ if ($?tcsh) then
+ set prompt='[%n@%m %c]$ '
+ else
+ set prompt=\[`id -nu`@`hostname -s`\]\$\
+ endif
+endif
+
+test -d /etc/profile.d
+if ($status == 0) then
+ set nonomatch
+ foreach i ( /etc/profile.d/*.csh )
+ test -r $i
+ if ($status == 0) then
+ if ( $shlvl == 1 ) then
+ $shell -f $i && source $i || echo "/etc/csh.cshrc: error in $i"
+ else
+ source $i
+ endif
+ endif
+ end
+ unset i nonomatch
+endif
diff --git a/trunk/csh.login b/trunk/csh.login
new file mode 100644
index 0000000..564c232
--- /dev/null
+++ b/trunk/csh.login
@@ -0,0 +1,34 @@
+# /etc/csh.login
+
+# System wide environment and startup programs for csh users
+
+
+if ( ! $?PATH ) then
+ setenv PATH "/bin:/usr/bin:/usr/local/bin"
+endif
+
+# (pixel) tcsh doesn't handle directory in the PATH being non-readable
+# in security high, /usr/bin is 751, aka non-readable
+# using unhash *after modifying PATH* fixes the pb
+if (! -r /usr/bin) then
+ unhash
+endif
+
+limit coredumpsize unlimited
+
+if ( $user == $group && $uid > 14 ) then
+ umask 022
+else
+ umask 002
+endif
+
+setenv HOSTNAME `/bin/hostname`
+set history=1000
+
+if ( -f $HOME/.inputrc ) then
+ setenv INPUTRC /etc/inputrc
+endif
+
+if ( $?tcsh ) then
+ bindkey "^[[3~" delete-char
+endif
diff --git a/trunk/filesystems b/trunk/filesystems
new file mode 100644
index 0000000..102c8cd
--- /dev/null
+++ b/trunk/filesystems
@@ -0,0 +1,7 @@
+ext2
+nodev proc
+nodev devpts
+iso9660
+reiserfs
+vfat
+hpfs
diff --git a/trunk/fstab b/trunk/fstab
new file mode 100644
index 0000000..32d8e09
--- /dev/null
+++ b/trunk/fstab
@@ -0,0 +1 @@
+none /proc proc defaults 0 0
diff --git a/trunk/host.conf b/trunk/host.conf
new file mode 100644
index 0000000..1a8c1e1
--- /dev/null
+++ b/trunk/host.conf
@@ -0,0 +1,2 @@
+order hosts,bind
+multi on
diff --git a/trunk/hosts b/trunk/hosts
new file mode 100644
index 0000000..cbd8a7f
--- /dev/null
+++ b/trunk/hosts
@@ -0,0 +1 @@
+127.0.0.1 localhost
diff --git a/trunk/hosts.allow b/trunk/hosts.allow
new file mode 100644
index 0000000..4e42f07
--- /dev/null
+++ b/trunk/hosts.allow
@@ -0,0 +1,6 @@
+#
+# hosts.allow This file describes the names of the hosts which are
+# allowed to use the local INET services, as decided
+# by the '/usr/sbin/tcpd' server.
+#
+
diff --git a/trunk/hosts.deny b/trunk/hosts.deny
new file mode 100644
index 0000000..ef32afc
--- /dev/null
+++ b/trunk/hosts.deny
@@ -0,0 +1,9 @@
+#
+# hosts.deny This file describes the names of the hosts which are
+# *not* allowed to use the local INET services, as decided
+# by the '/usr/sbin/tcpd' server.
+#
+# The portmap line is redundant, but it is left to remind you that
+# the new secure portmap uses hosts.deny and hosts.allow. In particular
+# you should know that NFS uses portmap!
+
diff --git a/trunk/inputrc b/trunk/inputrc
new file mode 100644
index 0000000..97bf96b
--- /dev/null
+++ b/trunk/inputrc
@@ -0,0 +1,88 @@
+## Mandriva Linux Configuration
+# (c) Mandriva 1999-2005
+# Chmouel Boudjnah, Pablo Saratxaga <pablo@mandriva.com>
+# $Id: inputrc 105875 2005-12-07 06:56:46Z flepied $
+
+
+# Show all if ambigious.
+set show-all-if-ambiguous on
+
+# 8Bits supports.
+set meta-flag on
+set convert-meta off
+set input-meta on
+set output-meta on
+
+# bash completions does not use more
+set page-completions off
+
+# definition of keys in vi mode if vi mode is set at login result
+# in totally messed up command line... so it safer to activate it
+# only for emacs mode; until the bug is fixed (in libreadline?)
+$if mode=emacs
+
+# Keyboard configuration
+"[2~": yank # Insert
+"[3~":delete-char # Suppr
+
+"[1~": beginning-of-line # Home
+"[4~": end-of-line # End
+
+# typing the beginning of a previous command then
+# PgUp/PgDw cycles trough history only for matching entries
+"[5~": history-search-backward # Previous
+"[6~": history-search-forward # Next
+
+# those two are for rxvt
+"\e[7~":beginning-of-line
+"\e[8~":end-of-line
+
+# on some xterm
+"\e[H": beginning-of-line
+"\e[F": end-of-line
+
+# on nxterms
+"\e[\C-@": beginning-of-line
+"\e[e": end-of-line
+
+$if term=xterm
+#
+# Application keypad and cursor of xterm
+# with NumLock ON
+#
+# Operators
+"\eOo": "/"
+"\eOj": "*"
+"\eOm": "-"
+"\eOk": "+"
+"\eOl": "+"
+"\eOM": accept-line
+
+# Colon and dot
+# "\eOl": ","
+"\eOn": "."
+
+# Numbers
+"\eOp": "0"
+"\eOq": "1"
+"\eOr": "2"
+"\eOs": "3"
+"\eOt": "4"
+"\eOu": "5"
+"\eOv": "6"
+"\eOw": "7"
+"\eOx": "8"
+"\eOy": "9"
+$endif
+
+#
+# Application keypad and cursor of xterm
+#
+"\eOD": backward-char
+"\eOC": forward-char
+"\eOA": previous-history
+"\eOB": next-history
+"\eOE": re-read-init-file
+
+# emacs mode
+$endif
diff --git a/trunk/man/Makefile b/trunk/man/Makefile
new file mode 100644
index 0000000..47c356f
--- /dev/null
+++ b/trunk/man/Makefile
@@ -0,0 +1,13 @@
+subdir = cs et eu fr it nl uk
+mandir = /usr/share/man
+
+all:
+
+clean:
+
+install:
+ @for dir in $(subdir); do \
+ install -d $(DESTDIR)$(mandir)/$$dir/man8; \
+ install -m 644 $$dir/*.8 $(DESTDIR)$(mandir)/$$dir/man8; \
+ done
+
diff --git a/trunk/man/cs/run-parts.8 b/trunk/man/cs/run-parts.8
new file mode 100644
index 0000000..a6cba7a
--- /dev/null
+++ b/trunk/man/cs/run-parts.8
@@ -0,0 +1,78 @@
+.\" Hey, Emacs! This is an -*- nroff -*- source file.
+.\" Build-from-directory and this manpage are Copyright 1994 by Ian Jackson.
+.\" Changes to this manpage are Copyright 1996 by Jeff Noxon.
+.\" More
+.\"
+.\" This is free software; see the GNU General Public Licence version 2
+.\" or later for copying conditions. There is NO warranty.
+.TH RUN\-PARTS 8 "5. Červen 1996" "Debian Linux"
+.SH NÁZEV
+run\-parts \- spustí skripty nebo programy z adresáře
+.SH SYNAPSE
+.B run\-parts
+[\-\-test] [\-\-verbose] [\-\-report] [\-\-umask=umask] [\-\-arg=argument] [\-\-help] [\-\-version] adresář
+.SH POPIS
+.PP
+.B run\-parts
+spustí několik skriptů nebo programů, které se nacházejí v jednom adresáři
+.IR adresář .
+Názvy souborů by se měly skládat pouze z velkých a malých písmen, číslic, podtržítka
+a pomlček. Podadresáře
+.I adresáře
+a soubory s jinými názvy budou tiše ignorovány.
+
+Skripty musí dodržovat konvenci
+.B #!/bin/interpretername ,
+jinak nebudou spuštěny. Skripty nebudou automaticky spuštěny příkazem
+.B /bin/sh.
+
+Nalezené soubory budou spuštěny v lexikálním pořadí svých názvů.
+.SS VOLBY
+.TP
+.B \-\-test
+vypíše názvy skriptů, které by byly spuštěny, ale tyto skripty nespustí
+.TP
+.B \-\-verbose
+vypíše před jejich spuštěním název každého skriptu na standardní chybový výstup.
+.TP
+.B \-\-report
+podobná volbě
+.BR \-\-verbose ,
+pouze s tím rozdílem, že vypíše pouze názvy skriptů, které vyprodukovaly nějaký výstup. Název skriptu je vypsán na standardní výstup nebo na standardní chybový výstup, záleží na skriptu, na který výstup vyprodukuje výstup první.
+.B
+.TP
+.BI \-\-umask= umask
+Nastaví masku umask na
+.I umask
+před spuštěním skriptu. Maska
+.I umask
+by měla být zadána v osmičkovém tvaru. Výchozí hodnota masky umask je nastavena na 022.
+.TP
+.BI \-\-arg= argument
+Předá skriptům
+.I argument .
+Použijte
+.B --arg
+pro každý parametr, který chcete předat.
+.TP
+.B "\-\-"
+Znamená ukončení voleb. Každý název souboru uvedený po znacích
+.B "\-\-"
+nebude pokládán za volbu, i pokud by začínal pomlčkami.
+.TP
+.B \-\-help
+Zobrazí informace nápovědy a ukončí se.
+.TP
+.B \-\-version
+Zobrazí verzi a informace o autorských právech a ukončí se.
+
+.SH COPYRIGHT
+Copyright (C) 1994 Ian Jackson.
+Copyright (C) 1996 Jeff Noxon.
+Copyright (C) 1996, 1997, 1998 Guy Maor
+
+.B run\-parts
+je volně šiřitelný software; viz licence GNU General Public Licence verze 2 nebo
+pozdější s podmínkami pro kopírování. Je dodáván bez
+.I jakýchkoli
+záruk.
diff --git a/trunk/man/et/run-parts.8 b/trunk/man/et/run-parts.8
new file mode 100644
index 0000000..91bb8ea
--- /dev/null
+++ b/trunk/man/et/run-parts.8
@@ -0,0 +1,82 @@
+.\" Hei, Emacs! See on -*- nroff -*- lähtetekstifail.
+.\" Build-from-directory ja selle manuaalilehekülje autoriõigus: 1994, Ian Jackson.
+.\" Manuaalilehekülgede muudatuste autoriõigus: 1996, Jeff Noxon.
+.\" Rohkem
+.\"
+.\" See on vaba tarkvara, kopeerimistingimuste kohta vaadake GNU Üldist Avalikku Litsentsi, versioon 2 või hilisem. Sellega ei kaasne MINGIT garantiid.
+.TH "RUN\-PARTS" "8" "5. juuni 1996" "Debian Linux" ""
+.SH "NIMI"
+run\-parts \- käivitab skripte või rakendusi kataloogis
+.SH "KOKKUVÕTE"
+.B run\-parts
+[\-\-test] [\-\-verbose] [\-\-report] [\-\-umask=umask] [\-\-arg=argument] [\-\-help] [\-\-version] kataloog
+.SH "KIRJELDUS"
+.PP
+.B run\-parts
+käivitab rea skripte või rakendusi, mis leiduvad konkreetses kataloogis
+.I R kataloog .
+Failinimed peavad koosnema täielikult suur\- ja väiketähtedest, numbritest, alakriipsudest ja poolituskriipsudest.
+.I Kataloogi alamkatalooge ja muude märkidega faile vaikimisi eiratakse.
+
+Skriptid peavad käivitamiseks järgima
+.B #!/bin/interpretername
+reegleid. Neid ei käivitata automaatselt
+.B /bin/sh
+abil.
+
+Leitud failid käivitatakse failinimede tähestikulises järjekorras.
+.SS VÕTMED
+.TP
+.B \-\-test
+näitab skriptide nimesid, mida käivitatakse, kuid ei käivita neid.
+.TP
+.B \-\-verbose
+näitab enne käivitamist iga skripti nime ja edasi selgitusi.
+.TP
+.B \-\-report
+üsna samasugune, nagu
+.BR \-\-verbose ,
+kuid näitab ainult skriptide nime, mis tekitavad väljundi. Script's name is printed to whichever of stdout or stderr the script first produces output on.
+.B
+.TP
+.BI \-\-umask= umask
+Määrab umaski väärtuseks
+.I umask
+enne skriptide käivitamist.
+.I umask
+peab olema määratud kaheksandikarvuna. Vaike\-umask on 022.
+.TP
+.BI \-\-arg= argument
+Läkitab
+.I argumendi
+skriptidele. Kasuta võtit
+.B \-\-arg
+kord iga argumendi kohta, mida soovid läkitada.
+.TP
+.B "\-\-"
+Määrab, et sellega lõpevad võtmed. Ühtegi failinime pärast võtit
+.B "\-\-"
+ei tõlgendata võtmena isegi siis, kui see algab võtmekriipsuga.
+.TP
+.B \-\-help
+Näitab infot kasutamise kohta ja väljub.
+.TP
+.B \-\-version
+Näitab versiooni ja autoriõigust ning väljub.
+
+.SH "AUTORIÕIGUS"
+Copyright (C) 1994 Ian Jackson.
+Copyright (C) 1996 Jeff Noxon.
+Copyright (C) 1996,1997,1998 Guy Maor
+
+.B run\-parts
+on vaba tarkvara; kopeerimistingimusi vaadake GNU Üldisest Avalikust Litsentsist, versioon 2 või hilisem. Sellega ei kaasne
+.I mingit
+garantiid.
+.br
+
+
+.br
+Tõlge eesti keelde 2002: Marek Laane
+.br
+bald@online.ee
diff --git a/trunk/man/eu/run-parts.8 b/trunk/man/eu/run-parts.8
new file mode 100644
index 0000000..79b6334
--- /dev/null
+++ b/trunk/man/eu/run-parts.8
@@ -0,0 +1,82 @@
+.\" Kaixo Emacs! Honako hau -*- nroff -*- iturburu-fitxategia da.
+.\" Sorrera-direktorioak eta eskuliburuko orri honek Ian Jackson-en 1994 Copyright-a dute.
+.\" Eskuliburuko orri honetako aldaketek Jeff Noxon-en 1996 Copyright-a dute.
+.\" Besterik
+.\"
+.\" Software librea da; kopiatzeko baldintzak GNU Lizentzia Publiko Orokorraren
+.\" 2. bertsioan edo berriago batean ikusi. Ez du INOLAKO bermerik.
+.TH RUN\-PARTS 8 "1996ko ekainak 5" "Debian Linux"
+.SH IZENA
+run\-parts \- direktorio bateko programak eta script-ak exekutatzen ditu
+.SH LABURPENA
+.B run\-parts
+[\-\-test] [\-\-verbose] [\-\-report] [\-\-umask=umask] [\-\-arg=argument] [\-\-help] [\-\-version] direktorioa
+.SH AZALPENA
+.PP
+.B run\-parts-ek
+.IR direktorio
+bakun batean aurkitutako programa edo script batzuk exekutatzen ditu.
+Fitxategi-izenek letra maiuskulak eta minuskulak,
+digituak, azpimarrak eta marratxoak baino ezin dituzte izan. Bestelako izenak
+dituzten .I direktorioko
+azpidirektorioei eta fitxategiei ezikusi egingo zaie isilpean.
+
+Script-ek
+.B #!/bin/interpretername
+hitzarmena bete behar dute exekutatuak izango badira. .B /bin/sh-ek
+ez ditu automatikoki
+exekutatuko.
+
+Aurkitutako fitxategiak fitxategi-izenen hurrenkera lexikalean exekutatuko dira.
+.SS AUKERAK
+.TP
+.B \-\-test
+exekutatuko diren script-en izenak inprimatzen ditu, baina ez ditu
+exekutatuko.
+.TP
+.B \-\-verbose
+script bakoitzaren izena errore estandarrean inprimatzen du exekutatu aurretik.
+.TP
+.B \-\-report
+.BR \-\-verbose-ren
+antzekoa da,
+baina irteera sortzen duten script-en izenak bakarrik inprimatzen ditu. Script-a non agertzen den lehenago, irteera estandarrean edo errore estandarrean, hortxe inprimatuko da script-aren izen hori.
+.B
+.TP
+.BI \-\-umask= umask
+umask
+.I umask-en
+ezartzen du script-ak exekutatu aurretik.
+.I umask
+zortzitarretan zehaztu behar da. Lehenespen gisa, umask 022 izaten da.
+.TP
+.BI \-\-arg= argument
+.I argumentua
+script-etara
+pasatzen du. .B --arg
+behin erabili
+pasatu nahi duzun argumentu bakoitzeko.
+.TP
+.B "\-\-"
+Aukeren amaiera dela zehazten du. .B "\-\-"ren
+ondoko edozein fitxategi-izen
+ez da aukera moduan interpretatua izango, nahiz eta marratxo batez
+hasi.
+.TP
+.B \-\-help
+Erabiltzeko informazioa bistaratu eta irten egingo da.
+.TP
+.B \-\-version
+Bertsioa eta copyright-a bistaratu eta irten egingo da.
+
+.SH COPYRIGHTa
+Copyright (C) 1994 Ian Jackson.
+Copyright (C) 1996 Jeff Noxon.
+Copyright (C) 1996,1997,1998 Guy Maor
+
+.B run\-parts
+software librea da; kopiatzeko baldintzak GNU Lizentzia Publiko Orokorraren
+2. bertsioan edo berriago batean ikusi. Ez du
+.I inolako
+bermerik.
+
diff --git a/trunk/man/fr/run-parts.8 b/trunk/man/fr/run-parts.8
new file mode 100644
index 0000000..23f63bf
--- /dev/null
+++ b/trunk/man/fr/run-parts.8
@@ -0,0 +1,78 @@
+.\" Hey, Emacs! This is an -*- nroff -*- source file.
+.\" Build-from-directory and this manpage are Copyright 1994 by Ian Jackson.
+.\" Changes to this manpage are Copyright 1996 by Jeff Noxon.
+.\" More
+.\"
+.\" This is free software; see the GNU General Public Licence version 2
+.\" or later for copying conditions. There is NO warranty.
+.TH RUN\-PARTS 8 "5 June 1996" "Debian Linux"
+.SH NAME
+run\-parts \- lance des scripts ou programmes dans un répertoire
+.SH SYNOPSIS
+.B run\-parts
+[\-\-test] [\-\-verbose] [\-\-report] [\-\-umask=umask] [\-\-arg=argument] [\-\-help] [\-\-version] directory
+.SH DESCRIPTION
+.PP
+.B run\-parts
+lance un nombre de scripts ou programmes trouvés dans un seul répertoire
+.IR directory .
+Les noms de fichier doivent être constitués uniquement de caractères majuscules
+et minuscules, chiffres, soulignés, et tirets. Les sous-répertoires de
+.I directory
+et les fichiers avec d'autres noms seront ignorés silencieusement.
+
+Les scripts doivent suivre la convention
+.B #!/bin/interpretername
+afin d'être exécutés. Ils ne seront pas automatiquement lancés par
+.B /bin/sh.
+
+Les fichiers trouvés seront lancés dans l'ordre alphabétique des noms de fichiers.
+.SS OPTIONS
+.TP
+.B \-\-test
+affiche les noms des scripts à lancer, mais ne les lance pas.
+.TP
+.B \-\-verbose
+affiche le nom de chaque script vers la sortie d'erreur avant son lancement.
+.TP
+.B \-\-report
+similaire à
+.BR \-\-verbose ,
+mais n'affiche que le nom des scripts qui produisent une sortie. Le nom du script est affiché sur la sortie stdout ou stderr, selon la destination de la première écriture du script.
+.B
+.TP
+.BI \-\-umask= umask
+Donne à umask la valeur
+.I umask
+avant de lancer les scripts.
+.I umask
+doit être spécifié en octal. Par défaut, umask prend la valeur 022.
+.TP
+.BI \-\-arg= argument
+Passe
+.I argument
+aux scripts. Utilisez
+.B --arg
+pour chaque argument que vous voulez passer.
+.TP
+.B "\-\-"
+Spécifie que c'est la fin des options. Tout fichier après
+.B "\-\-"
+ne sera pas interprété comme une option même s'il commence par un tiret.
+.TP
+.B \-\-help
+Affiche la syntaxe et quitte.
+.TP
+.B \-\-version
+Affiche la version, le copyright, et quitte.
+
+.SH COPYRIGHT
+Copyright (C) 1994 Ian Jackson.
+Copyright (C) 1996 Jeff Noxon.
+Copyright (C) 1996,1997,1998 Guy Maor
+
+.B run\-parts
+is free software; see the GNU General Public Licence version 2 or
+later for copying conditions. There is
+.I no
+warranty.
diff --git a/trunk/man/it/run-parts.8 b/trunk/man/it/run-parts.8
new file mode 100644
index 0000000..79ccf7f
--- /dev/null
+++ b/trunk/man/it/run-parts.8
@@ -0,0 +1,82 @@
+.\" Hey, Emacs! This is an -*- nroff -*- source file.
+.\" Build-from-directory and this manpage are Copyright 1994 by Ian Jackson.
+.\" Changes to this manpage are Copyright 1996 by Jeff Noxon.
+.\" More
+.\"
+.\" This is free software; see the GNU General Public Licence version 2
+.\" or later for copying conditions. There is NO warranty.
+.TH RUN\-PARTS 8 "5 giugno 1996" "Debian Linux"
+.SH NOME
+run\-parts \- esegue script o programmi in una directory
+.SH SINTASSI
+.B run\-parts
+[\-\-test] [\-\-verbose] [\-\-report] [\-\-umask=umask] [\-\-arg=argument] [\-\-help] [\-\-version] directory
+.SH DESCRIZIONE
+.PP
+.B run\-parts
+esegue un gruppo di script o programmi che si trova in una singola directory
+.IR directory .
+I nomi dei file devono contenere solo lettere maiuscole e minuscole,
+numeri, sottolineature e trattini. Sottodirectory di
+.I directory
+e file con altri nomi saranno ignorati senza avvisare.
+
+Gli script devono seguire la convenzione
+.B #!/bin/nomeinterprete
+per essere eseguiti. Non saranno eseguiti automaticamente da
+.B /bin/sh.
+
+I file trovati saranno eseguiti nell'ordine lessicale dei nomi dei file.
+.SS OPZIONI
+.TP
+.B \-\-test
+stampa i nomi degli script che andrebbero in esecuzione, ma senza mandarli in esecuzione realmente.
+.TP
+.B \-\-verbose
+stampa il nome di ciascuno script sullo stderr prima di eseguirlo.
+.TP
+.B \-\-report
+simile a
+.BR \-\-verbose ,
+ma stampa solo il nome dello script che produce output. Il nome dello script viene stampato su stdout o stderr a seconda su quale dei due per primo lo script produce output.
+.B
+.TP
+.BI \-\-umask= umask
+Imposta l'umask a
+.I umask
+prima di mandare in esecuzione gli script.
+.I umask
+dovrebbe essere specificata in ottale. L'umask è pre-impostata a 022.
+.TP
+.BI \-\-arg= argomento
+Passa
+.I argomento
+agli script. Usa
+.B --arg
+una volta per ciascun argomento che vuoi passare.
+.TP
+.B "\-\-"
+Specifica che questa è la fine delle opzioni. Qualsiasi nome di file dopo
+.B "\-\-"
+non sarà interpretato come opzione anche se comincia con un trattino.
+.TP
+.B \-\-help
+Visualizza informazioni sull'uso ed esce.
+.TP
+.B \-\-version
+Visualizza la versione e il copyright ed esce.
+
+.SH COPYRIGHT
+Copyright (C) 1994 Ian Jackson.
+Copyright (C) 1996 Jeff Noxon.
+Copyright (C) 1996,1997,1998 Guy Maor
+
+.B run\-parts
+è un software libero; vedi la versione 2 della GNU General Public Licence
+(o una successiva) per le condizioni di redistribuzione.
+.I Non
+ci sono garanzie.
+
+.SH TRADUTTORE
+Salvatore Di Petro
+salvuz@despammed.com
diff --git a/trunk/man/nl/run-parts.8 b/trunk/man/nl/run-parts.8
new file mode 100644
index 0000000..26ba4fe
--- /dev/null
+++ b/trunk/man/nl/run-parts.8
@@ -0,0 +1,83 @@
+.\" Hey, Emacs! This is an -*- nroff -*- source file.
+.\" Build-from-directory and this manpage are Copyright 1994 by Ian Jackson.
+.\" Changes to this manpage are Copyright 1996 by Jeff Noxon.
+.\" More
+.\"
+.\" This is free software; see the GNU General Public Licence version 2
+.\" or later for copying conditions. There is NO warranty.
+.TH RUN\-PARTS 8 "5 June 1996" "Debian Linux"
+.SH NAAM
+run\-parts \- voert scripts of programma's uit in een directory
+.SH SYNOPSIS
+.B run\-parts
+[\-\-test] [\-\-verbose] [\-\-report] [\-\-umask=umask] [\-\-arg=parameter] [\-\-help] [\-\-version] directory
+.SH BESCHRIJVING
+.PP
+.B run\-parts
+voert een aantal scripts of programma's uit die zich in één directory
+.IR directory
+bevinden.
+Bestandsnamen mogen uitsluitend bestaan uit hoofdletters, kleine letters, cijfers,
+onderstrepingstekens (_) en liggende streepjes (-). Subdirectory's van
+.I directory
+en bestanden met andere namen worden stilzwijgend genegeerd.
+
+Scripts moeten zich houden aan de conventie
+.B #!/bin/interpretername
+om uitgevoerd te kunnen worden. Ze worden niet automatisch uitgevoerd door
+.B /bin/sh.
+
+De aangetroffen bestanden worden uitgevoerd in alfabetische volgorde van de bestandsnamen.
+.SS OPTIES
+.TP
+.B \-\-test
+Toont de namen van de scripts die uitgevoerd zouden worden, echter zonder ze daadwerkelijk
+uit te voeren.
+.TP
+.B \-\-verbose
+Stuurt de naam van ieder script naar stderr alvorens het uit te voeren.
+.TP
+.B \-\-report
+Vergelijkbaar met
+.BR \-\-verbose ,
+Toont echter alleen de namen van scripts die uitvoer produceren. De naam van het script
+wordt weergegeven via stdout of stderr, afhankelijk van waar de eerste uitvoer van het
+script naartoe wordt gestuurd.
+.B
+.TP
+.BI \-\-umask= umask
+Stelt de umask in op
+.I umask
+alvorens de scripts uit te voeren.
+.I umask
+moet hierbij in octale notatie worden opgegeven. Het umask is standaard ingesteld op 022.
+.TP
+.BI \-\-arg= parameter
+Geef
+.I parameter
+door aan de scripts. Gebruik telkens één optie
+.B --arg
+per parameter die u wilt doorgeven.
+.TP
+.B "\-\-"
+Geeft het einde van de serie opties aan. Tekst na
+.B "\-\-"
+zal niet als optie worden geïnterpreteerd, ook niet wanneer deze begint met een
+liggend streepje (-).
+.TP
+.B \-\-help
+Toont beknopte gebruiksinformatie.
+.TP
+.B \-\-version
+Toont versie- en copyright-informatie.
+
+.SH COPYRIGHT
+Copyright (C) 1994 Ian Jackson.
+Copyright (C) 1996 Jeff Noxon.
+Copyright (C) 1996,1997,1998 Guy Maor
+
+.B run\-parts
+is vrije software; zie de GNU General Public Licence versie 2 of
+later voor de kopieervoorwaarden. Er worden
+.I geen
+garanties gegeven.
diff --git a/trunk/man/uk/run-parts.8 b/trunk/man/uk/run-parts.8
new file mode 100644
index 0000000..da30998
--- /dev/null
+++ b/trunk/man/uk/run-parts.8
@@ -0,0 +1,87 @@
+.\" Hey, Emacs! This is an -*- nroff -*- source file.
+.\" Build-from-directory and this manpage are Copyright 1994 by Ian Jackson.
+.\" Changes to this manpage are Copyright 1996 by Jeff Noxon.
+.\" More
+.\"
+.\" This is free software; see the GNU General Public Licence version 2
+.\" or later for copying conditions. There is NO warranty.
+.TH RUN\-PARTS 8 "5 June 1996" "Debian Linux"
+.SH НАЗВА
+run\-parts \- виконати скрипти чи програми в заданому каталозі
+.SH ВИКОРИСТАННЯ
+.B run\-parts
+[\-\-test] [\-\-verbose] [\-\-report] [\-\-umask=umask] [\-\-arg=argument] [\-\-help] [\-\-version] directory
+.SH ОПИС
+.PP
+.B run\-parts
+виконує скрипти чи програми знайдені в певному каталозі
+.IR directory .
+Назви файлів повинні складатись з великих чи малих літер, цифр
+підкреслень чи дефісів. Підкаталоги каталога
+.I directory
+і файли з назвами, які не відповідають цьому правилу мовчки ігноруються.
+
+Скрипти повинні відповідати угоді на формат першого рядка
+.B #!/bin/interpretername
+для того, щоб вони виконувались. Скрипти не будуть автоматично
+виконуватись в
+.B /bin/sh.
+
+Знайдені файли виконуються в порядку алфавітного сортування назв файлів.
+.SS OPTIONS
+.TP
+.B \-\-test
+друкує назви скриптів, які б мали виконуватись, але не виконує їх.
+.TP
+.B \-\-verbose
+друкує назву кожного скрипту на stderr перш, ніж виконувати.
+.TP
+.B \-\-report
+подібно
+.BR \-\-verbose ,
+але тільки друкує назви скриптів, які щось друкують на екран. Назва
+скрипту друкується, якщо скрипт друкує що-небудь або на stdout, або на
+stderr.
+.B
+.TP
+.BI \-\-umask= шаблон
+Встановлює umask рівну
+.I шаблон
+перш, ніж виконувати скрипти.
+.I шаблон
+повинен задаватись у вісімковому форматі. Маска встановлюється в 022,
+якщо не вказано інакше.
+.TP
+.BI \-\-arg= аргумент
+Передає
+.I аргумент
+скриптам. Для кожного окремого аргументу, які Вам потрібно передати
+скриптам, вживайте окремий параметр
+.B --arg
+.TP
+.B "\-\-"
+Вказує на те, що це кінець всіх параметрів. Будь яка назва файла, що
+йде після
+.B "\-\-"
+не буде вважатись параметром, навіть якщо назва починається з дефіса.
+.TP
+.B \-\-help
+Друкує на екран підказку про використання і закінчує роботу.
+.TP
+.B \-\-version
+Друкує на екран інформацію про версію і авторські права і закінчує роботу.
+
+.SH АВТОРСЬКІ ПРАВА
+Copyright (C) 1994 Ian Jackson.
+Copyright (C) 1996 Jeff Noxon.
+Copyright (C) 1996,1997,1998 Guy Maor
+
+.B run\-parts
+це вільне програмне забезпечення; див. Загальну Публічну Ліцензію GNU
+(GPL) версії 2 чи пізнішою щодо умов розповсюдження. Гарантія
+.I не
+надається.
+.SH
+ПЕРЕКЛАД
+.br
+Дмитро Ковальов, <kov@tokyo.emai.ne.jp>
diff --git a/trunk/motd b/trunk/motd
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/trunk/motd
diff --git a/trunk/passgrp/Makefile b/trunk/passgrp/Makefile
new file mode 100644
index 0000000..5138027
--- /dev/null
+++ b/trunk/passgrp/Makefile
@@ -0,0 +1,9 @@
+mandir = /usr/share/man
+
+all:
+
+clean:
+
+install:
+ install -D -m 644 group $(DESTDIR)/etc/group
+ install -D -m 644 passwd $(DESTDIR)/etc/passwd
diff --git a/trunk/passgrp/group b/trunk/passgrp/group
new file mode 100644
index 0000000..e0ac217
--- /dev/null
+++ b/trunk/passgrp/group
@@ -0,0 +1,26 @@
+root::0:
+bin::1:
+daemon::2:
+sys::3:
+adm::4:
+tty::5:
+disk::6:
+lp::7:
+mem::8:
+kmem::9:
+wheel::10:
+mail::12:
+news::13:
+uucp::14:
+man::15:
+floppy::19:
+games::20:
+tape::21:
+cdrom::22:
+utmp::24:
+usb::43:
+cdwriter::80:
+audio::81:
+video::82:
+users::100:
+nogroup::65534:
diff --git a/trunk/passgrp/passwd b/trunk/passgrp/passwd
new file mode 100644
index 0000000..def6408
--- /dev/null
+++ b/trunk/passgrp/passwd
@@ -0,0 +1,14 @@
+root::0:0:root:/root:/bin/bash
+bin:*:1:1:bin:/bin:/bin/sh
+daemon:*:2:2:daemon:/sbin:/bin/sh
+adm:*:3:4:adm:/var/adm:/bin/sh
+lp:*:4:7:lp:/var/spool/lpd:/bin/sh
+sync:*:5:0:sync:/sbin:/bin/sync
+shutdown:*:6:0:shutdown:/sbin:/sbin/shutdown
+halt:*:7:0:halt:/sbin:/sbin/halt
+mail:*:8:12:mail:/var/spool/mail:/bin/sh
+news:*:9:13:news:/var/spool/news:/bin/sh
+uucp:*:10:14:uucp:/var/spool/uucp:/bin/sh
+operator:*:11:0:operator:/var:/bin/sh
+games:*:12:100:games:/usr/games:/bin/sh
+nobody:*:65534:65534:Nobody:/:/bin/sh
diff --git a/trunk/printcap b/trunk/printcap
new file mode 100644
index 0000000..d48c342
--- /dev/null
+++ b/trunk/printcap
@@ -0,0 +1,8 @@
+# /etc/printcap
+#
+# Please don't edit this file directly unless you know what you are doing!
+# Be warned that the control-panel printtool requires a very strict format!
+# Look at the printcap(5) man page for more info.
+#
+# This file can be edited with the printtool in the control-panel.
+
diff --git a/trunk/profile b/trunk/profile
new file mode 100644
index 0000000..dd4af62
--- /dev/null
+++ b/trunk/profile
@@ -0,0 +1,36 @@
+# /etc/profile -*- Mode: shell-script -*-
+# (c) MandrakeSoft, Chmouel Boudjnah <chmouel@mandrakesoft.com>
+
+loginsh=1
+
+if [ "$UID" -ge 500 ] && ! echo ${PATH} |grep -q /usr/games ; then
+ PATH=$PATH:/usr/games
+fi
+
+umask 022
+
+USER=`id -un`
+LOGNAME=$USER
+MAIL="/var/spool/mail/$USER"
+HISTCONTROL=ignoredups
+HOSTNAME=`/bin/hostname`
+HISTSIZE=1000
+
+if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then
+ INPUTRC=/etc/inputrc
+fi
+
+# some old programs still use it (eg: "man"), and it is also
+# required for level1 compliance for LI18NUX2000
+NLSPATH=/usr/share/locale/%l/%N
+
+export PATH PS1 USER LOGNAME MAIL HOSTNAME INPUTRC NLSPATH
+export HISTCONTROL HISTSIZE
+
+for i in /etc/profile.d/*.sh ; do
+ if [ -r $i ]; then
+ . $i
+ fi
+done
+
+unset i
diff --git a/trunk/profile.d/xhost.csh b/trunk/profile.d/xhost.csh
new file mode 100755
index 0000000..948e617
--- /dev/null
+++ b/trunk/profile.d/xhost.csh
@@ -0,0 +1,11 @@
+# Export Xauthority for users not for root.
+
+if ($?DISPLAY) then
+ if (! $?SSH_TTY) then
+ if ( `id -u` >= 14 ) then
+ if (! $?XAUTHORITY) then
+ setenv XAUTHORITY $HOME/.Xauthority
+ endif
+ endif
+ endif
+endif
diff --git a/trunk/profile.d/xhost.sh b/trunk/profile.d/xhost.sh
new file mode 100755
index 0000000..04bb7ee
--- /dev/null
+++ b/trunk/profile.d/xhost.sh
@@ -0,0 +1,9 @@
+# Export Xauthority for users not for root.
+
+if [ ! -z "$DISPLAY" -a -z "$SSH_TTY" ];then
+ if [ "`id -u`" -gt 14 ];then
+ if [ -z $XAUTHORITY ];then
+ export XAUTHORITY=$HOME/.Xauthority
+ fi
+ fi
+fi
diff --git a/trunk/protocols b/trunk/protocols
new file mode 100644
index 0000000..12272c4
--- /dev/null
+++ b/trunk/protocols
@@ -0,0 +1,148 @@
+# /etc/protocols:
+# $Id: protocols 105621 2001-05-02 17:10:04Z chmouel $
+#
+# Internet (IP) protocols
+#
+# from: @(#)protocols 5.1 (Berkeley) 4/17/89
+#
+# Updated for NetBSD based on RFC 1340, Assigned Numbers (July 1992).
+#
+# See also http://www.isi.edu/in-notes/iana/assignments/protocol-numbers
+
+ip 0 IP # internet protocol, pseudo protocol number
+#hopopt 0 HOPOPT # hop-by-hop options for ipv6
+icmp 1 ICMP # internet control message protocol
+igmp 2 IGMP # internet group management protocol
+ggp 3 GGP # gateway-gateway protocol
+ipencap 4 IP-ENCAP # IP encapsulated in IP (officially ``IP'')
+st 5 ST # ST datagram mode
+tcp 6 TCP # transmission control protocol
+cbt 7 CBT # CBT, Tony Ballardie <A.Ballardie@cs.ucl.ac.uk>
+egp 8 EGP # exterior gateway protocol
+igp 9 IGP # any private interior gateway (Cisco: for IGRP)
+bbn-rcc 10 BBN-RCC-MON # BBN RCC Monitoring
+nvp 11 NVP-II # Network Voice Protocol
+pup 12 PUP # PARC universal packet protocol
+argus 13 ARGUS # ARGUS
+emcon 14 EMCON # EMCON
+xnet 15 XNET # Cross Net Debugger
+chaos 16 CHAOS # Chaos
+udp 17 UDP # user datagram protocol
+mux 18 MUX # Multiplexing protocol
+dcn 19 DCN-MEAS # DCN Measurement Subsystems
+hmp 20 HMP # host monitoring protocol
+prm 21 PRM # packet radio measurement protocol
+xns-idp 22 XNS-IDP # Xerox NS IDP
+trunk-1 23 TRUNK-1 # Trunk-1
+trunk-2 24 TRUNK-2 # Trunk-2
+leaf-1 25 LEAF-1 # Leaf-1
+leaf-2 26 LEAF-2 # Leaf-2
+rdp 27 RDP # "reliable datagram" protocol
+irtp 28 IRTP # Internet Reliable Transaction Protocol
+iso-tp4 29 ISO-TP4 # ISO Transport Protocol Class 4
+netblt 30 NETBLT # Bulk Data Transfer Protocol
+mfe-nsp 31 MFE-NSP # MFE Network Services Protocol
+merit-inp 32 MERIT-INP # MERIT Internodal Protocol
+sep 33 SEP # Sequential Exchange Protocol
+3pc 34 3PC # Third Party Connect Protocol
+idpr 35 IDPR # Inter-Domain Policy Routing Protocol
+xtp 36 XTP # Xpress Tranfer Protocol
+ddp 37 DDP # Datagram Delivery Protocol
+idpr-cmtp 38 IDPR-CMTP # IDPR Control Message Transport Proto
+tp++ 39 TP++ # TP++ Transport Protocol
+il 40 IL # IL Transport Protocol
+ipv6 41 IPv6 # IPv6
+sdrp 42 SDRP # Source Demand Routing Protocol
+ipv6-route 43 IPv6-Route # Routing Header for IPv6
+ipv6-frag 44 IPv6-Frag # Fragment Header for IPv6
+idrp 45 IDRP # Inter-Domain Routing Protocol
+rsvp 46 RSVP # Resource ReSerVation Protocol
+gre 47 GRE # Generic Routing Encapsulation
+mhrp 48 MHRP # Mobile Host Routing Protocol
+bna 49 BNA # BNA
+ipv6-crypt 50 IPv6-Crypt # Encryption Header for IPv6
+ipv6-auth 51 IPv6-Auth # Authentication Header for IPv6
+i-nlsp 52 I-NLSP # Integrated Net Layer Security TUBA
+swipe 53 SWIPE # IP with Encryption
+narp 54 NARP # NBMA Address Resolution Protocol
+mobile 55 MOBILE # IP Mobility
+tlsp 56 TLSP # Transport Layer Security Protocol
+skip 57 SKIP # SKIP
+ipv6-icmp 58 IPv6-ICMP # ICMP for IPv6
+ipv6-nonxt 59 IPv6-NoNxt # No Next Header for IPv6
+ipv6-opts 60 IPv6-Opts # Destination Options for IPv6
+# 61 # any host internal protocol
+cftp 62 CFTP # CFTP
+# 63 # any local network
+sat-expak 64 SAT-EXPAK # SATNET and Backroom EXPAK
+kryptolan 65 KRYPTOLAN # Kryptolan
+rvd 66 RVD # MIT Remote Virtual Disk Protocol
+ippc 67 IPPC # Internet Pluribus Packet Core
+# 68 # any distributed file system
+sat-mon 69 SAT-MON # SATNET Monitoring
+visa 70 VISA # VISA Protocol
+ipcv 71 IPCV # Internet Packet Core Utility
+cpnx 72 CPNX # Computer Protocol Network Executive
+cphb 73 CPHB # Computer Protocol Heart Beat
+wsn 74 WSN # Wang Span Network
+pvp 75 PVP # Packet Video Protocol
+br-sat-mon 76 BR-SAT-MON # Backroom SATNET Monitoring
+sun-nd 77 SUN-ND # SUN ND PROTOCOL-Temporary
+wb-mon 78 WB-MON # WIDEBAND Monitoring
+wb-expak 79 WB-EXPAK # WIDEBAND EXPAK
+iso-ip 80 ISO-IP # ISO Internet Protocol
+vmtp 81 VMTP # Versatile Message Transport
+secure-vmtp 82 SECURE-VMTP # SECURE-VMTP
+vines 83 VINES # VINES
+ttp 84 TTP # TTP
+nsfnet-igp 85 NSFNET-IGP # NSFNET-IGP
+dgp 86 DGP # Dissimilar Gateway Protocol
+tcf 87 TCF # TCF
+eigrp 88 EIGRP # Enhanced Interior Routing Protocol (Cisco)
+ospf 89 OSPFIGP # Open Shortest Path First IGP
+sprite-rpc 90 Sprite-RPC # Sprite RPC Protocol
+larp 91 LARP # Locus Address Resolution Protocol
+mtp 92 MTP # Multicast Transport Protocol
+ax.25 93 AX.25 # AX.25 Frames
+ipip 94 IPIP # Yet Another IP encapsulation
+micp 95 MICP # Mobile Internetworking Control Pro.
+scc-sp 96 SCC-SP # Semaphore Communications Sec. Pro.
+etherip 97 ETHERIP # Ethernet-within-IP Encapsulation
+encap 98 ENCAP # Yet Another IP encapsulation
+# 99 # any private encryption scheme
+gmtp 100 GMTP # GMTP
+ifmp 101 IFMP # Ipsilon Flow Management Protocol
+pnni 102 PNNI # PNNI over IP
+pim 103 PIM # Protocol Independent Multicast
+aris 104 ARIS # ARIS
+scps 105 SCPS # SCPS
+qnx 106 QNX # QNX
+a/n 107 A/N # Active Networks
+ipcomp 108 IPComp # IP Payload Compression Protocol
+snp 109 SNP # Sitara Networks Protocol
+compaq-peer 110 Compaq-Peer # Compaq Peer Protocol
+ipx-in-ip 111 IPX-in-IP # IPX in IP
+vrrp 112 VRRP # Virtual Router Redundancy Protocol
+pgm 113 PGM # PGM Reliable Transport Protocol
+# 114 # any 0-hop protocol
+l2tp 115 L2TP # Layer Two Tunneling Protocol
+ddx 116 DDX # D-II Data Exchange
+iatp 117 IATP # Interactive Agent Transfer Protocol
+st 118 ST # Schedule Transfer
+srp 119 SRP # SpectraLink Radio Protocol
+uti 120 UTI # UTI
+smp 121 SMP # Simple Message Protocol
+sm 122 SM # SM
+ptp 123 PTP # Performance Transparency Protocol
+isis 124 ISIS # ISIS over IPv4
+fire 125 FIRE
+crtp 126 CRTP # Combat Radio Transport Protocol
+crdup 127 CRUDP # Combat Radio User Datagram
+sscopmce 128 SSCOPMCE
+iplt 129 IPLT
+sps 130 SPS # Secure Packet Shield
+pipe 131 PIPE # Private IP Encapsulation within IP
+sctp 132 SCTP # Stream Control Transmission Protocol
+fc 133 FC # Fibre Channel
+# 134-254 # Unassigned
+# 255 # Reserved
diff --git a/trunk/resolv.conf b/trunk/resolv.conf
new file mode 100644
index 0000000..71b6996
--- /dev/null
+++ b/trunk/resolv.conf
@@ -0,0 +1,8 @@
+# $Id: resolv.conf 105891 2006-06-02 23:25:57Z othauvin $
+# Basic resolv.conf
+
+# search domain
+
+# nameserver 127.0.0.1
+# nameserver 127.0.0.1
+# nameserver 127.0.0.1
diff --git a/trunk/securetty b/trunk/securetty
new file mode 100644
index 0000000..b232848
--- /dev/null
+++ b/trunk/securetty
@@ -0,0 +1,12 @@
+tty1
+tty2
+tty3
+tty4
+tty5
+tty6
+vc/1
+vc/2
+vc/3
+vc/4
+vc/5
+vc/6
diff --git a/trunk/services b/trunk/services
new file mode 100644
index 0000000..fedbf40
--- /dev/null
+++ b/trunk/services
@@ -0,0 +1,595 @@
+# /etc/services:
+# $Id: services 105871 2005-12-07 06:53:01Z flepied $
+#
+# Network services, Internet style
+#
+# Note that it is presently the policy of IANA to assign a single well-known
+# port number for both TCP and UDP; hence, most entries here have two entries
+# even if the protocol doesn't support UDP operations.
+# Updated from RFC 1700, ``Assigned Numbers'' (October 1994). Not all ports
+# are included, only the more common ones.
+#
+# The latest IANA port assignments can be gotten from
+# http://www.iana.org/assignments/port-numbers
+# The Well Known Ports are those from 0 through 1023.
+# The Registered Ports are those from 1024 through 49151
+# The Dynamic and/or Private Ports are those from 49152 through 65535
+#
+# Each line describes one service, and is of the form:
+#
+# service-name port/protocol [aliases ...] [# comment]
+
+tcpmux 1/tcp # TCP port service multiplexer
+tcpmux 1/udp # TCP port service multiplexer
+rje 5/tcp # Remote Job Entry
+rje 5/udp # Remote Job Entry
+echo 7/tcp
+echo 7/udp
+discard 9/tcp sink null
+discard 9/udp sink null
+systat 11/tcp users
+systat 11/udp users
+daytime 13/tcp
+daytime 13/udp
+qotd 17/tcp quote
+qotd 17/udp quote
+msp 18/tcp # message send protocol
+msp 18/udp # message send protocol
+chargen 19/tcp ttytst source
+chargen 19/udp ttytst source
+ftp-data 20/tcp
+ftp-data 20/udp
+# 21 is registered to ftp, but also used by fsp
+ftp 21/tcp
+ftp 21/udp fsp fspd
+ssh 22/tcp # SSH Remote Login Protocol
+ssh 22/udp # SSH Remote Login Protocol
+telnet 23/tcp
+telnet 23/udp
+# 24 - private mail system
+lmtp 24/tcp # LMTP Mail Delivery
+lmtp 24/udp # LMTP Mail Delivery
+smtp 25/tcp mail
+smtp 25/udp mail
+time 37/tcp timserver
+time 37/udp timserver
+rlp 39/tcp resource # resource location
+rlp 39/udp resource # resource location
+nameserver 42/tcp name # IEN 116
+nameserver 42/udp name # IEN 116
+nicname 43/tcp whois
+nicname 43/udp whois
+tacacs 49/tcp # Login Host Protocol (TACACS)
+tacacs 49/udp # Login Host Protocol (TACACS)
+re-mail-ck 50/tcp # Remote Mail Checking Protocol
+re-mail-ck 50/udp # Remote Mail Checking Protocol
+domain 53/tcp # name-domain server
+domain 53/udp
+whois++ 63/tcp
+whois++ 63/udp
+bootps 67/tcp # BOOTP server
+bootps 67/udp
+bootpc 68/tcp dhcpc # BOOTP client
+bootpc 68/udp dhcpc
+tftp 69/tcp
+tftp 69/udp
+gopher 70/tcp # Internet Gopher
+gopher 70/udp
+netrjs-1 71/tcp # Remote Job Service
+netrjs-1 71/udp # Remote Job Service
+netrjs-2 72/tcp # Remote Job Service
+netrjs-2 72/udp # Remote Job Service
+netrjs-3 73/tcp # Remote Job Service
+netrjs-3 73/udp # Remote Job Service
+netrjs-4 74/tcp # Remote Job Service
+netrjs-4 74/udp # Remote Job Service
+finger 79/tcp
+finger 79/udp
+http 80/tcp www www-http # WorldWideWeb HTTP
+http 80/udp www www-http # HyperText Transfer Protocol
+kerberos 88/tcp kerberos5 krb5 # Kerberos v5
+kerberos 88/udp kerberos5 krb5 # Kerberos v5
+supdup 95/tcp
+supdup 95/udp
+hostname 101/tcp hostnames # usually from sri-nic
+hostname 101/udp hostnames # usually from sri-nic
+iso-tsap 102/tcp tsap # part of ISODE.
+csnet-ns 105/tcp cso # also used by CSO name server
+csnet-ns 105/udp cso
+# unfortunately the poppassd (Eudora) uses a port which has already
+# been assigned to a different service. We list the poppassd as an
+# alias here. This should work for programs asking for this service.
+# (due to a bug in inetd the 3com-tsmux line is disabled)
+#3com-tsmux 106/tcp poppassd
+#3com-tsmux 106/udp poppassd
+rtelnet 107/tcp # Remote Telnet
+rtelnet 107/udp
+pop2 109/tcp pop-2 postoffice # POP version 2
+pop2 109/udp pop-2
+pop3 110/tcp pop-3 # POP version 3
+pop3 110/udp pop-3
+sunrpc 111/tcp portmapper # RPC 4.0 portmapper TCP
+sunrpc 111/udp portmapper # RPC 4.0 portmapper UDP
+auth 113/tcp authentication tap ident
+auth 113/udp authentication tap ident
+sftp 115/tcp
+sftp 115/udp
+uucp-path 117/tcp
+uucp-path 117/udp
+nntp 119/tcp readnews untp # USENET News Transfer Protocol
+nntp 119/udp readnews untp # USENET News Transfer Protocol
+ntp 123/tcp
+ntp 123/udp # Network Time Protocol
+netbios-ns 137/tcp # NETBIOS Name Service
+netbios-ns 137/udp
+netbios-dgm 138/tcp # NETBIOS Datagram Service
+netbios-dgm 138/udp
+netbios-ssn 139/tcp # NETBIOS session service
+netbios-ssn 139/udp
+imap 143/tcp imap2 # Interim Mail Access Proto v2
+imap 143/udp imap2
+snmp 161/tcp # Simple Net Mgmt Proto
+snmp 161/udp # Simple Net Mgmt Proto
+snmptrap 162/udp snmp-trap # Traps for SNMP
+cmip-man 163/tcp # ISO mgmt over IP (CMOT)
+cmip-man 163/udp
+cmip-agent 164/tcp
+cmip-agent 164/udp
+mailq 174/tcp # MAILQ
+mailq 174/udp # MAILQ
+xdmcp 177/tcp # X Display Mgr. Control Proto
+xdmcp 177/udp
+nextstep 178/tcp NeXTStep NextStep # NeXTStep window
+nextstep 178/udp NeXTStep NextStep # server
+bgp 179/tcp # Border Gateway Proto.
+bgp 179/udp
+prospero 191/tcp # Cliff Neuman's Prospero
+prospero 191/udp
+irc 194/tcp # Internet Relay Chat
+irc 194/udp
+smux 199/tcp # SNMP Unix Multiplexer
+smux 199/udp
+at-rtmp 201/tcp # AppleTalk routing
+at-rtmp 201/udp
+at-nbp 202/tcp # AppleTalk name binding
+at-nbp 202/udp
+at-echo 204/tcp # AppleTalk echo
+at-echo 204/udp
+at-zis 206/tcp # AppleTalk zone information
+at-zis 206/udp
+qmtp 209/tcp # Quick Mail Transfer Protocol
+qmtp 209/udp # Quick Mail Transfer Protocol
+z39.50 210/tcp z3950 wais # NISO Z39.50 database
+z39.50 210/udp z3950 wais
+ipx 213/tcp # IPX
+ipx 213/udp
+imap3 220/tcp # Interactive Mail Access
+imap3 220/udp # Protocol v3
+link 245/tcp ttylink
+link 245/udp ttylink
+fatserv 347/tcp # Fatmen Server
+fatserv 347/udp # Fatmen Server
+rsvp_tunnel 363/tcp
+rsvp_tunnel 363/udp
+odmr 366/tcp # odmr required by fetchmail
+odmr 366/udp # odmr required by fetchmail
+rpc2portmap 369/tcp
+rpc2portmap 369/udp # Coda portmapper
+codaauth2 370/tcp
+codaauth2 370/udp # Coda authentication server
+ulistproc 372/tcp ulistserv # UNIX Listserv
+ulistproc 372/udp ulistserv
+ldap 389/tcp
+ldap 389/udp
+svrloc 427/tcp # Server Location Protocl
+svrloc 427/udp # Server Location Protocl
+mobileip-agent 434/tcp
+mobileip-agent 434/udp
+mobilip-mn 435/tcp
+mobilip-mn 435/udp
+https 443/tcp # MCom
+https 443/udp # MCom
+snpp 444/tcp # Simple Network Paging Protocol
+snpp 444/udp # Simple Network Paging Protocol
+microsoft-ds 445/tcp
+microsoft-ds 445/udp
+kpasswd 464/tcp kpwd # Kerberos "passwd"
+kpasswd 464/udp kpwd # Kerberos "passwd"
+photuris 468/tcp
+photuris 468/udp
+saft 487/tcp # Simple Asynchronous File Transfer
+saft 487/udp # Simple Asynchronous File Transfer
+gss-http 488/tcp
+gss-http 488/udp
+pim-rp-disc 496/tcp
+pim-rp-disc 496/udp
+isakmp 500/tcp
+isakmp 500/udp
+gdomap 538/tcp # GNUstep distributed objects
+gdomap 538/udp # GNUstep distributed objects
+iiop 535/tcp
+iiop 535/udp
+dhcpv6-client 546/tcp
+dhcpv6-client 546/udp
+dhcpv6-server 547/tcp
+dhcpv6-server 547/udp
+rtsp 554/tcp # Real Time Stream Control Protocol
+rtsp 554/udp # Real Time Stream Control Protocol
+nntps 563/tcp # NNTP over SSL
+nntps 563/udp # NNTP over SSL
+whoami 565/tcp
+whoami 565/udp
+submission 587/tcp msa # mail message submission
+submission 587/udp msa # mail message submission
+npmp-local 610/tcp dqs313_qmaster # npmp-local / DQS
+npmp-local 610/udp dqs313_qmaster # npmp-local / DQS
+npmp-gui 611/tcp dqs313_execd # npmp-gui / DQS
+npmp-gui 611/udp dqs313_execd # npmp-gui / DQS
+hmmp-ind 612/tcp dqs313_intercell # HMMP Indication / DQS
+hmmp-ind 612/udp dqs313_intercell # HMMP Indication / DQS
+ipp 631/tcp # Internet Printing Protocol
+ipp 631/udp # Internet Printing Protocol
+ldaps 636/tcp # LDAP over SSL
+ldaps 636/udp # LDAP over SSL
+acap 674/tcp
+acap 674/udp
+ha-cluster 694/tcp # Heartbeat HA-cluster
+ha-cluster 694/udp # Heartbeat HA-cluster
+kerberos-adm 749/tcp # Kerberos `kadmin' (v5)
+kerberos-iv 750/udp kerberos4 kerberos-sec kdc
+kerberos-iv 750/tcp kerberos4 kerberos-sec kdc
+webster 765/tcp # Network dictionary
+webster 765/udp
+phonebook 767/tcp # Network phonebook
+phonebook 767/udp
+rsync 873/tcp # rsync
+rsync 873/udp # rsync
+telnets 992/tcp
+telnets 992/udp
+imaps 993/tcp # IMAP over SSL
+imaps 993/udp # IMAP over SSL
+ircs 994/tcp
+ircs 994/udp
+pop3s 995/tcp # POP-3 over SSL
+pop3s 995/udp # POP-3 over SSL
+
+#
+# UNIX specific services
+#
+exec 512/tcp
+biff 512/udp comsat
+login 513/tcp
+who 513/udp whod
+shell 514/tcp cmd # no passwords used
+syslog 514/udp
+printer 515/tcp spooler # line printer spooler
+printer 515/udp spooler # line printer spooler
+talk 517/udp
+ntalk 518/udp
+utime 519/tcp unixtime
+utime 519/udp unixtime
+efs 520/tcp
+router 520/udp route routed # RIP
+ripng 521/tcp
+ripng 521/udp
+timed 525/tcp timeserver
+timed 525/udp timeserver
+tempo 526/tcp newdate
+courier 530/tcp rpc
+conference 531/tcp chat
+netnews 532/tcp
+netwall 533/udp # -for emergency broadcasts
+uucp 540/tcp uucpd # uucp daemon
+klogin 543/tcp # Kerberized `rlogin' (v5)
+kshell 544/tcp krcmd # Kerberized `rsh' (v5)
+afpovertcp 548/tcp # AFP over TCP
+afpovertcp 548/udp # AFP over TCP
+remotefs 556/tcp rfs_server rfs # Brunhoff remote filesystem
+
+#
+# From ``PORT NUMBERS'':
+#
+#>REGISTERED PORT NUMBERS
+#>
+#>The Registered Ports are listed by the IANA and on most systems can be
+#>used by ordinary user processes or programs executed by ordinary
+#>users.
+#>
+#>Ports are used in the TCP [RFC793] to name the ends of logical
+#>connections which carry long term conversations. For the purpose of
+#>providing services to unknown callers, a service contact port is
+#>defined. This list specifies the port used by the server process as
+#>its contact port.
+#>
+#>The IANA registers uses of these ports as a convienence to the
+#>community.
+#
+# http://www.iana.org/assignments/port-numbers
+
+socks 1080/tcp # socks proxy server
+socks 1080/udp # socks proxy server
+mysql-cluster 1186/tcp # MySQL Cluster Manager
+mysql-cluster 1186/udp # MySQL Cluster Manager
+# Port 1236 is registered as `bvcontrol', but is also used by the
+# Gracilis Packeten remote config server. The official name is listed as
+# the primary name, with the unregistered name as an alias.
+bvcontrol 1236/tcp rmtcfg # Daniel J. Walsh, Gracilis Packeten remote config server
+bvcontrol 1236/udp # Daniel J. Walsh
+h323hostcallsc 1300/tcp # H323 Host Call Secure
+h323hostcallsc 1300/udp # H323 Host Call Secure
+ms-sql-s 1433/tcp # Microsoft-SQL-Server
+ms-sql-s 1433/udp # Microsoft-SQL-Server
+ms-sql-m 1434/tcp # Microsoft-SQL-Monitor
+ms-sql-m 1434/udp # Microsoft-SQL-Monitor
+ica 1494/tcp # Citrix ICA Client
+ica 1494/udp # Citrix ICA Client
+wins 1512/tcp # Microsoft's Windows Internet Name Service
+wins 1512/udp # Microsoft's Windows Internet Name Service
+ingreslock 1524/tcp
+ingreslock 1524/udp
+prospero-np 1525/tcp # Prospero non-privileged
+prospero-np 1525/udp
+datametrics 1645/tcp old-radius # datametrics / old radius entry
+datametrics 1645/udp old-radius # datametrics / old radius entry
+sa-msg-port 1646/tcp old-radacct # sa-msg-port / old radacct entry
+sa-msg-port 1646/udp old-radacct # sa-msg-port / old radacct entry
+kermit 1649/tcp
+kermit 1649/udp
+l2tp 1701/tcp l2f
+l2tp 1701/udp l2f
+h323gatedisc 1718/tcp
+h323gatedisc 1718/udp
+h323gatestat 1719/tcp
+h323gatestat 1719/udp
+h323hostcall 1720/tcp
+h323hostcall 1720/udp
+tftp-mcast 1758/tcp
+tftp-mcast 1758/udp
+mtftp 1759/udp
+hello 1789/tcp
+hello 1789/udp
+radius 1812/tcp # Radius
+radius 1812/udp # Radius
+radius-acct 1813/tcp radacct # Radius Accounting
+radius-acct 1813/udp radacct # Radius Accounting
+mtp 1911/tcp #
+mtp 1911/udp #
+hsrp 1985/tcp # Cisco Hot Standby Router Protocol
+hsrp 1985/udp # Cisco Hot Standby Router Protocol
+licensedaemon 1986/tcp
+licensedaemon 1986/udp
+gdp-port 1997/tcp # Cisco Gateway Discovery Protocol
+gdp-port 1997/udp # Cisco Gateway Discovery Protocol
+sieve 2000/tcp # Sieve Mail Filter Daemon
+sieve 2000/udp # Sieve Mail Filter Daemon
+nfs 2049/tcp nfsd
+nfs 2049/udp nfsd
+zephyr-srv 2102/tcp # Zephyr server
+zephyr-srv 2102/udp # Zephyr server
+zephyr-clt 2103/tcp # Zephyr serv-hm connection
+zephyr-clt 2103/udp # Zephyr serv-hm connection
+zephyr-hm 2104/tcp # Zephyr hostmanager
+zephyr-hm 2104/udp # Zephyr hostmanager
+mysql-im 2273/tcp # MySQL Instance Manager
+mysql-im 2273/udp # MySQL Instance Manager
+cvspserver 2401/tcp # CVS client/server operations
+cvspserver 2401/udp # CVS client/server operations
+venus 2430/tcp # codacon port
+venus 2430/udp # Venus callback/wbc interface
+venus-se 2431/tcp # tcp side effects
+venus-se 2431/udp # udp sftp side effect
+codasrv 2432/tcp # not used
+codasrv 2432/udp # server port
+codasrv-se 2433/tcp # tcp side effects
+codasrv-se 2433/udp # udp sftp side effectQ
+
+# Ports numbered 2600 through 2606 are used by the zebra package without
+# being registred. The primary names are the registered names, and the
+# unregistered names used by zebra are listed as aliases.
+hpstgmgr 2600/tcp zebrasrv # HPSTGMGR
+hpstgmgr 2600/udp # HPSTGMGR
+discp-client 2601/tcp zebra # discp client
+discp-client 2601/udp # discp client
+discp-server 2602/tcp ripd # discp server
+discp-server 2602/udp # discp server
+servicemeter 2603/tcp ripngd # Service Meter
+servicemeter 2603/udp # Service Meter
+nsc-ccs 2604/tcp ospfd # NSC CCS
+nsc-ccs 2604/udp # NSC CCS
+nsc-posa 2605/tcp bgpd # NSC POSA
+nsc-posa 2605/udp # NSC POSA
+netmon 2606/tcp ospf6d # Dell Netmon
+netmon 2606/udp # Dell Netmon
+dict 2628/tcp # RFC 2229
+dict 2628/udp # RFC 2229
+corbaloc 2809/tcp # CORBA naming service locator
+icpv2 3130/tcp # Internet Cache Protocol V2 (Squid)
+icpv2 3130/udp # Internet Cache Protocol V2 (Squid)
+mysql 3306/tcp # MySQL
+mysql 3306/udp # MySQL
+trnsprntproxy 3346/tcp # Trnsprnt Proxy
+trnsprntproxy 3346/udp # Trnsprnt Proxy
+nut 3493/tcp # Network UPS Tools
+pxe 4011/udp # PXE server
+fud 4201/udp # Cyrus IMAP FUD Daemon
+rwhois 4321/tcp # Remote Who Is
+rwhois 4321/udp # Remote Who Is
+krb524 4444/tcp # Kerberos 5 to 4 ticket xlator
+krb524 4444/udp # Kerberos 5 to 4 ticket xlator
+iax 4569/tcp # Inter-Asterisk eXchange
+iax 4569/udp # Inter-Asterisk eXchange
+rfe 5002/tcp # Radio Free Ethernet
+rfe 5002/udp # Actually uses UDP only
+cfengine 5308/tcp # CFengine
+cfengine 5308/udp # CFengine
+cvsup 5999/tcp CVSup # CVSup file transfer/John Polstra/FreeBSD
+cvsup 5999/udp CVSup # CVSup file transfer/John Polstra/FreeBSD
+x11 6000/tcp X # the X Window System
+sane 6566/tcp # SANE Control Port
+afs3-fileserver 7000/tcp # file server itself
+afs3-fileserver 7000/udp # file server itself
+afs3-callback 7001/tcp # callbacks to cache managers
+afs3-callback 7001/udp # callbacks to cache managers
+afs3-prserver 7002/tcp # users & groups database
+afs3-prserver 7002/udp # users & groups database
+afs3-vlserver 7003/tcp # volume location database
+afs3-vlserver 7003/udp # volume location database
+afs3-kaserver 7004/tcp # AFS/Kerberos authentication service
+afs3-kaserver 7004/udp # AFS/Kerberos authentication service
+afs3-volser 7005/tcp # volume managment server
+afs3-volser 7005/udp # volume managment server
+afs3-errors 7006/tcp # error interpretation service
+afs3-errors 7006/udp # error interpretation service
+afs3-bos 7007/tcp # basic overseer process
+afs3-bos 7007/udp # basic overseer process
+afs3-update 7008/tcp # server-to-server updater
+afs3-update 7008/udp # server-to-server updater
+afs3-rmtsys 7009/tcp # remote cache manager service
+afs3-rmtsys 7009/udp # remote cache manager service
+privoxy 8118/tcp # privoxy junk proxy
+sd 9876/tcp # Session Director
+sd 9876/udp # Session Director
+amanda 10080/tcp # amanda backup services
+amanda 10080/udp # amanda backup services
+pgpkeyserver 11371/tcp # PGP/GPG public keyserver
+pgpkeyserver 11371/udp # PGP/GPG public keyserver
+h323callsigalt 11720/tcp # H323 Call Signal Alternate
+h323callsigalt 11720/udp # H323 Call Signal Alternate
+
+bprd 13720/tcp # BPRD (VERITAS NetBackup)
+bprd 13720/udp # BPRD (VERITAS NetBackup)
+bpdbm 13721/tcp # BPDBM (VERITAS NetBackup)
+bpdbm 13721/udp # BPDBM (VERITAS NetBackup)
+bpjava-msvc 13722/tcp # BP Java MSVC Protocol
+bpjava-msvc 13722/udp # BP Java MSVC Protocol
+vnetd 13724/tcp # Veritas Network Utility
+vnetd 13724/udp # Veritas Network Utility
+bpcd 13782/tcp # VERITAS NetBackup
+bpcd 13782/udp # VERITAS NetBackup
+vopied 13783/tcp # VOPIED Protocol
+vopied 13783/udp # VOPIED Protocol
+
+# This port is registered as wnn6, but also used under the unregistered name
+# "wnn4" by the FreeWnn package.
+wnn6 22273/tcp wnn4
+wnn6 22273/udp wnn4
+
+quake 26000/tcp
+quake 26000/udp
+wnn6-ds 26208/tcp
+wnn6-ds 26208/udp
+traceroute 33434/tcp
+traceroute 33434/udp
+
+#
+# Datagram Delivery Protocol services
+#
+rtmp 1/ddp # Routing Table Maintenance Protocol
+nbp 2/ddp # Name Binding Protocol
+echo 4/ddp # AppleTalk Echo Protocol
+zip 6/ddp # Zone Information Protocol
+
+#
+# Kerberos (Project Athena/MIT) services
+# Note that these are for Kerberos v4, and are unregistered/unofficial. Sites
+# running v4 should uncomment these and comment out the v5 entries above.
+#
+kerberos_master 751/udp # Kerberos authentication
+kerberos_master 751/tcp # Kerberos authentication
+passwd_server 752/udp # Kerberos passwd server
+krbupdate 760/tcp kreg # Kerberos registration
+kpop 1109/tcp # Pop with Kerberos
+knetd 2053/tcp # Kerberos de-multiplexor
+
+#
+# Kerberos 5 services, also not registered with IANA
+#
+krb5_prop 754/tcp # Kerberos slave propagation
+eklogin 2105/tcp # Kerberos encrypted rlogin
+
+#
+# Unregistered but necessary(?) (for NetBSD) services
+#
+supfilesrv 871/tcp # SUP server
+supfiledbg 1127/tcp # SUP debugging
+
+#
+# Unregistered but useful/necessary other services
+#
+netstat 15/tcp # (was once asssigned, no more)
+linuxconf 98/tcp # Linuxconf HTML access
+poppassd 106/tcp # Eudora
+poppassd 106/udp # Eudora
+smtps 465/tcp # SMTP over SSL (TLS)
+gii 616/tcp # gated interactive interface
+omirr 808/tcp omirrd # online mirror
+omirr 808/udp omirrd # online mirror
+swat 901/tcp # Samba Web Administration Tool
+rndc 953/tcp # rndc control sockets (BIND 9)
+rndc 953/udp # rndc control sockets (BIND 9)
+skkserv 1178/tcp # SKK Japanese input method
+rmtcfg 1236/tcp # Gracilis Packeten remote config server
+xtel 1313/tcp # french minitel
+support 1529/tcp prmsd gnatsd # GNATS, cygnus bug tracker
+cfinger 2003/tcp # GNU Finger
+iprop 2121/tcp # Heimdal
+ninstall 2150/tcp # ninstall service
+ninstall 2150/udp # ninstall service
+afbackup 2988/tcp # Afbackup system
+afbackup 2988/udp # Afbackup system
+squid 3128/tcp # squid web proxy
+prsvp 3455/tcp # RSVP Port
+prsvp 3455/udp # RSVP Port
+distcc 3632/tcp # distcc
+svn 3690/tcp # Subversion
+svn 3690/udp # Subversion
+postgres 5432/tcp # POSTGRES
+postgres 5432/udp # POSTGRES
+fax 4557/tcp # FAX transmission service (old)
+hylafax 4559/tcp # HylaFAX client-server protocol (new)
+xmmp 5222/tcp # Jabber, plaintext
+xmmps 5223/tcp # Jabber, SSL
+xmpps2s 5269/tcp # Jabber Server-to-Server
+sgi-dgl 5232/tcp # SGI Distributed Graphics
+sgi-dgl 5232/udp
+noclog 5354/tcp # noclogd with TCP (nocol)
+noclog 5354/udp # noclogd with UDP (nocol)
+hostmon 5355/tcp # hostmon uses TCP (nocol)
+hostmon 5355/udp # hostmon uses TCP (nocol)
+canna 5680/tcp
+x11-ssh-offset 6010/tcp # SSH X11 forwarding offset
+ircd 6667/tcp # Internet Relay Chat
+ircd 6667/udp # Internet Relay Chat
+torrent 6881/tcp # bittorrent
+xfs 7100/tcp # X font server
+tircproxy 7666/tcp # Tircproxy
+http-alt 8008/tcp
+http-alt 8008/udp
+webcache 8080/tcp # WWW caching service
+webcache 8080/udp # WWW caching service
+tproxy 8081/tcp # Transparent Proxy
+tproxy 8081/udp # Transparent Proxy
+jetdirect 9100/tcp laserjet hplj #
+mandelspawn 9359/udp mandelbrot # network mandelbrot
+kamanda 10081/tcp # amanda backup services (Kerberos)
+kamanda 10081/udp # amanda backup services (Kerberos)
+amandaidx 10082/tcp # amanda backup services
+amidxtape 10083/tcp # amanda backup services
+isdnlog 20011/tcp # isdn logging system
+isdnlog 20011/udp # isdn logging system
+vboxd 20012/tcp # voice box system
+vboxd 20012/udp # voice box system
+wnn4_Kr 22305/tcp # used by the kWnn package
+wnn4_Cn 22289/tcp # used by the cWnn package
+wnn4_Tw 22321/tcp # used by the tWnn package
+binkp 24554/tcp # Binkley
+binkp 24554/udp # Binkley
+asp 27374/tcp # Address Search Protocol
+asp 27374/udp # Address Search Protocol
+tfido 60177/tcp # Ifmail
+tfido 60177/udp # Ifmail
+fido 60179/tcp # Ifmail
+fido 60179/udp # Ifmail
+
+# Local services
+
diff --git a/trunk/shells b/trunk/shells
new file mode 100644
index 0000000..de0249b
--- /dev/null
+++ b/trunk/shells
@@ -0,0 +1,2 @@
+/bin/sh
+/bin/bash
diff --git a/trunk/utils/Makefile b/trunk/utils/Makefile
new file mode 100644
index 0000000..f8ee2c3
--- /dev/null
+++ b/trunk/utils/Makefile
@@ -0,0 +1,13 @@
+mandir = /usr/share/man
+
+all: run-parts
+
+run-parts: run-parts.c
+ $(CC) $(CFLAGS) -o $@ $<
+
+clean:
+ rm -f run-parts *.o *~
+
+install: all
+ install -D -m 644 run-parts.8 $(DESTDIR)/$(mandir)/man8/run-parts.8
+ install -D -m 755 run-parts $(DESTDIR)/usr/bin/run-parts
diff --git a/trunk/utils/run-parts.8 b/trunk/utils/run-parts.8
new file mode 100644
index 0000000..f10be22
--- /dev/null
+++ b/trunk/utils/run-parts.8
@@ -0,0 +1,81 @@
+.\" Hey, Emacs! This is an -*- nroff -*- source file.
+.\" Build-from-directory and this manpage are Copyright 1994 by Ian Jackson.
+.\" Changes to this manpage are Copyright 1996 by Jeff Noxon.
+.\" More
+.\"
+.\" This is free software; see the GNU General Public Licence version 2
+.\" or later for copying conditions. There is NO warranty.
+.TH RUN\-PARTS 8 "5 June 1996" "Debian Linux"
+.SH NAME
+run\-parts \- run scripts or programs in a directory
+.SH SYNOPSIS
+.B run\-parts
+[\-\-test] [\-\-verbose] [\-\-report] [\-\-umask=umask] [\-\-arg=argument] [\-\-help] [\-\-version] directory
+.SH DESCRIPTION
+.PP
+.B run\-parts
+runs a number of scripts or programs found in a single directory
+.IR directory .
+Filenames should consist entirely of upper and
+lower case letters, digits, underscores, and hyphens. Subdirectories of
+.I directory
+and files with other names will be silently ignored.
+
+Scripts must follow the
+.B #!/bin/interpretername
+convention in order to be executed. They will not automatically be
+executed by
+.B /bin/sh.
+
+The files found will be run in the lexical sort order of the filenames.
+.SS OPTIONS
+.TP
+.B \-\-test
+print the names of the scripts which would be run, but don't actually run
+them.
+.TP
+.B \-\-verbose
+print the name of each script to stderr before running.
+.TP
+.B \-\-report
+similiar to
+.BR \-\-verbose ,
+but only prints the name of scripts which produce output. The script's name is printed to whichever of stdout or stderr the script first produces output on.
+.B
+.TP
+.BI \-\-umask= umask
+Sets the umask to
+.I umask
+before running the scripts.
+.I umask
+should be specified in octal. By default the umask is set to 022.
+.TP
+.BI \-\-arg= argument
+Pass
+.I argument
+to the scripts. Use
+.B --arg
+once for each argument you want passed.
+.TP
+.B "\-\-"
+Specifies that this is the end of the options. Any filename after
+.B "\-\-"
+will be not be interpreted as an option even if it starts with a
+hyphen.
+.TP
+.B \-\-help
+Display usage information and exit.
+.TP
+.B \-\-version
+Display version and copyright and exit.
+
+.SH COPYRIGHT
+Copyright (C) 1994 Ian Jackson.
+Copyright (C) 1996 Jeff Noxon.
+Copyright (C) 1996,1997,1998 Guy Maor
+
+.B run\-parts
+is free software; see the GNU General Public Licence version 2 or
+later for copying conditions. There is
+.I no
+warranty.
diff --git a/trunk/utils/run-parts.c b/trunk/utils/run-parts.c
new file mode 100644
index 0000000..5f29a9f
--- /dev/null
+++ b/trunk/utils/run-parts.c
@@ -0,0 +1,425 @@
+/* run-parts: run a bunch of scripts in a directory
+ *
+ * Debian run-parts program
+ * Copyright (C) 1996 Jeff Noxon <jeff@router.patch.net>,
+ * Copyright (C) 1996-1999 Guy Maor <maor@debian.org>
+ *
+ * This is free software; see the GNU General Public License version 2
+ * or later for copying conditions. There is NO warranty.
+ *
+ * Based on run-parts.pl version 0.2, Copyright (C) 1994 Ian Jackson.
+ *
+ */
+
+#include <stdio.h>
+#include <stdarg.h>
+#include <stdlib.h>
+#include <sys/types.h>
+#include <sys/wait.h>
+#include <dirent.h>
+#include <sys/stat.h>
+#include <unistd.h>
+#include <fcntl.h>
+#include <getopt.h>
+#include <string.h>
+#include <errno.h>
+#include <ctype.h>
+#include <signal.h>
+#include <sys/time.h>
+
+#define VERSION "1.15"
+
+int test_mode = 0;
+int verbose_mode = 0;
+int report_mode = 0;
+int exitstatus = 0;
+
+int argcount = 0, argsize = 0;
+char **args = 0;
+
+void error (char *format,...)
+{
+ va_list ap;
+
+ fprintf (stderr, "run-parts: ");
+
+ va_start (ap, format);
+ vfprintf (stderr, format, ap);
+ va_end (ap);
+
+ fprintf (stderr, "\n");
+}
+
+
+static void version (void)
+{
+ fprintf (stderr, "Mandriva Linux run-parts program, version " VERSION "\n"
+ "Copyright (C) 1994 Ian Jackson, Copyright (C) 1996 Jeff Noxon.\n"
+ "Copyright (C) 1996,1997,1998,1999 Guy Maor\n"
+ "This is free software; see the GNU General Public License version 2\n"
+ "or later for copying conditions. There is NO warranty.\n"
+ );
+ exit (0);
+}
+
+
+static void usage (void)
+{
+ fprintf (stderr, "Usage: run-parts [OPTION]... DIRECTORY\n"
+ " --test print script names which would run, but don't run them.\n"
+ " --verbose print script names before running them.\n"
+ " --report print script names if they produce output.\n"
+ " --umask=UMASK sets umask to UMASK (octal), default is 022.\n"
+ " --arg=ARGUMENT pass ARGUMENT to scripts, use once for each argument.\n"
+ " --version output version information and exit.\n"
+ " --help display this help and exit.\n"
+ );
+ exit(0);
+}
+
+
+/* The octal conversion in libc is not foolproof; it will take the 8 and 9
+ * digits under some circumstances. We'll just have to live with it.
+ */
+static void set_umask (void)
+{
+ int mask, result;
+
+ result = sscanf (optarg, "%o", &mask);
+ if ((result != 1) || (mask > 07777) || (mask < 0)) {
+ error ("bad umask value");
+ exit (1);
+ }
+
+ umask (mask);
+}
+
+/* Add an argument to the commands that we will call. Called once for
+ every argument. */
+void add_argument (char *newarg)
+{
+ if (argcount+1 >= argsize) {
+ argsize = argsize ? argsize*2 : 4;
+ args = realloc(args, argsize * (sizeof(char*)));
+ if (!args) {
+ error("failed to reallocate memory for arguments: %s", strerror(errno));
+ exit(1);
+ }
+ }
+ args[argcount++] = newarg;
+ args[argcount] = 0;
+}
+
+/* True or false? Is this a valid filename (upper/lower alpha, digits,
+ * underscores, and hyphens only?)
+ */
+int valid_name (const struct dirent *d)
+{
+ char *c = d->d_name;
+ int filenamelen;
+
+ filenamelen=strlen(c);
+ if( (strncmp(".rpmsave",&(c[filenamelen-8]),9)==0)
+ || (strncmp(".rpmorig",&(c[filenamelen-8]),9)==0)
+ || (strncmp(".rpmnew",&(c[filenamelen-7]),8)==0) )
+ return 0;
+
+ while (*c) {
+ if (!isalnum(*c) && *c!='_' && *c!='-' && *c!='.')
+ return 0;
+ ++c;
+ }
+ return 1;
+}
+
+
+void set_fl (int fd, int flags)
+{
+ int val;
+ if ((val = fcntl(fd, F_GETFL, 0)) < 0) {
+ error("fcntl F_GETFL: %s", strerror(errno));
+ exit(1);
+ }
+ val |= flags;
+ if (fcntl(fd, F_SETFL, val) < 0) {
+ error("fcntl F_SETFL: %s", strerror(errno));
+ exit(1);
+ }
+}
+
+
+/* We have to abort the select() call in run_part when we receive a
+ * SIGCHLD signal. We can't simply ignore it, so we do nothing.
+ */
+void catch_sigchld(int sig) {
+}
+
+
+/* Execute a file */
+void run_part (char *progname)
+{
+ int result;
+ int pid;
+ int pout[2], perr[2];
+
+ if (report_mode && (pipe(pout) || pipe(perr))) {
+ error("pipe: %s", strerror(errno));
+ exit(1);
+ }
+ if ((pid=fork()) < 0) {
+ error("failed to fork: %s", strerror(errno));
+ exit(1);
+ }
+ else if (!pid) {
+ if (report_mode) {
+ if (dup2(pout[1], STDOUT_FILENO) == -1 ||
+ dup2(perr[1], STDERR_FILENO) == -1) {
+ error("dup2: %s", strerror(errno));
+ exit(1);
+ }
+ close(pout[0]);
+ close(perr[0]);
+ close(pout[1]);
+ close(perr[1]);
+ }
+ args[0] = progname;
+ execv (progname, args);
+ /* Try with sh */
+ if (verbose_mode) fprintf(stderr, "run-parts: executing %s with /bin/sh\n", progname);
+ execl("/bin/sh", "/bin/sh", "-c", progname, args, (char *)0);
+ error ("failed to exec %s: %s", progname, strerror (errno));
+ exit (1);
+ }
+
+ if (report_mode) {
+ fd_set set;
+ int max, r, w, printflag, errno_select;
+ ssize_t c;
+ char buf[4096];
+ struct timeval zerotime, *timeout;
+ struct sigaction sa, sold;
+
+ close(pout[1]);
+ close(perr[1]);
+ set_fl(pout[0], O_NONBLOCK);
+ set_fl(perr[0], O_NONBLOCK);
+ max = pout[0] > perr[0] ? pout[0]+1 : perr[0]+1;
+ printflag = 0;
+ zerotime.tv_usec = 0;
+ zerotime.tv_sec = 0;
+ timeout = NULL;
+ sigaction(SIGCHLD, NULL, &sa);
+ sa.sa_handler = catch_sigchld;
+
+ for (;;) {
+ FD_ZERO(&set);
+ if (pout[0] >= 0) FD_SET(pout[0], &set);
+ if (perr[0] >= 0) FD_SET(perr[0], &set);
+
+ /* select() call may be interrupted by SIGCHLD */
+ sigaction(SIGCHLD, &sa, &sold);
+ r = select(max, &set, 0, 0, timeout);
+ errno_select = errno;
+ sigaction(SIGCHLD, &sold, NULL);
+
+ if (r > 0) {
+ if (pout[0] >= 0 && FD_ISSET(pout[0], &set)) {
+ c = read(pout[0], buf, sizeof(buf));
+ if (c > 0) {
+ if (!printflag) {
+ printf("%s:\n", progname);
+ fflush(stdout);
+ printflag = 1;
+ }
+ write(STDOUT_FILENO, buf, c);
+ }
+ else if (c == 0) {
+ close(pout[0]);
+ pout[0] = -1;
+ }
+ }
+ if (perr[0] >= 0 && FD_ISSET(perr[0], &set)) {
+ c = read(perr[0], buf, sizeof(buf));
+ if (c > 0) {
+ if (!printflag) {
+ fprintf(stderr, "%s:\n", progname);
+ fflush(stderr);
+ printflag = 1;
+ }
+ write(STDERR_FILENO, buf, c);
+ }
+ else if (c == 0) {
+ close(perr[0]);
+ perr[0] = -1;
+ }
+ }
+ }
+ else if (r < 0) {
+ /* select() was interrupted so check if we got a SIGCHLD
+ * probably from our child (check this later).
+ */
+ if (errno_select != EINTR) {
+ error("select: %s", strerror(errno_select));
+ exit(1);
+ }
+ }
+ else if (timeout == NULL) { /* should never happen */
+ error("internal error: select() returned 0 !");
+ exit(1);
+ }
+ if (timeout == NULL) {
+ w = waitpid(pid, &result, WNOHANG);
+ if (w > 0) {
+ /* Our child has died so prepare to flush the pipes */
+ timeout = &zerotime;
+ }
+ }
+ else {
+ if (pout[0]) close(pout[0]);
+ if (perr[0]) close(perr[0]);
+ break;
+ }
+ }
+ }
+ else {
+ waitpid(pid, &result, 0);
+ }
+
+ if (WIFEXITED (result) && WEXITSTATUS(result)) {
+ error ("%s exited with return code %d", progname, WEXITSTATUS(result));
+ exitstatus = 1;
+ }
+ else if (WIFSIGNALED (result)) {
+ error ("%s exited because of uncaught signal %d", progname,
+ WTERMSIG(result));
+ exitstatus = 1;
+ }
+}
+
+
+/* Find the parts to run & call run_part() */
+void run_parts (char *dirname)
+{
+ struct dirent **namelist;
+ char *filename;
+ size_t filename_length, dirname_length;
+ int entries, i, result;
+ struct stat st;
+
+ /* dirname + "/" */
+ dirname_length = strlen(dirname) + 1;
+ /* dirname + "/" + ".." + "\0" (This will save one realloc.) */
+ filename_length = dirname_length + 2 + 1;
+ if (! (filename = malloc(filename_length))) {
+ error ("failed to allocate memory for path: %s", strerror(errno));
+ exit (1);
+ }
+ strcpy (filename, dirname);
+ strcat (filename, "/");
+
+ /* scandir() isn't POSIX, but it makes things easy. */
+ entries = scandir (dirname, &namelist, valid_name, alphasort);
+ if (entries < 0) {
+ error ("failed to open directory %s: %s", dirname, strerror (errno));
+ exit (1);
+ }
+
+ for (i = 0; i < entries; i++) {
+ if (filename_length < dirname_length + strlen(namelist[i]->d_name) + 1) {
+ filename_length = dirname_length + strlen(namelist[i]->d_name) + 1;
+ if (!(filename = realloc(filename, filename_length))) {
+ error ("failed to reallocate memory for path: %s", strerror(errno));
+ exit (1);
+ }
+ }
+ strcpy (filename + dirname_length, namelist[i]->d_name);
+
+ strcpy (filename, dirname);
+ strcat (filename, "/");
+ strcat (filename, namelist[i]->d_name);
+
+ result = stat (filename, &st);
+ if (result < 0) {
+ error ("failed to stat component %s: %s", filename,
+ strerror (errno));
+ exit (1);
+ }
+ if (S_ISREG(st.st_mode) && !access (filename, X_OK)) {
+ if (test_mode)
+ printf ("run-parts would run %s\n", filename);
+ else {
+ if (verbose_mode)
+ fprintf(stderr, "run-parts: executing %s\n", filename);
+ run_part (filename);
+ }
+ }
+ else if (!S_ISDIR(st.st_mode)) {
+ printf ("run-parts: component %s is not an executable plain file\n",
+ filename);
+ exitstatus = 1;
+ }
+
+ free (namelist[i]);
+ }
+ free (namelist);
+ free (filename);
+}
+
+/* Process options */
+int main (int argc, char *argv[])
+{
+ umask (022);
+ add_argument(0);
+
+ for (;;) {
+ int c;
+ int option_index = 0;
+
+ static struct option long_options[] = {
+ {"test", 0, &test_mode, 1},
+ {"verbose", 0, &verbose_mode, 1},
+ {"report", 0, &report_mode, 1},
+ {"umask", 1, 0, 'u'},
+ {"arg", 1, 0, 'a'},
+ {"help", 0, 0, 'h'},
+ {"version", 0, 0, 'v'},
+ {0, 0, 0, 0}
+ };
+
+ opterr = 0;
+ c = getopt_long (argc, argv, "", long_options, &option_index);
+ if (c == EOF)
+ break;
+ switch (c) {
+ case 0:
+ break;
+ case 'u':
+ set_umask ();
+ break;
+ case 'a':
+ add_argument (optarg);
+ break;
+ case 'h':
+ usage();
+ break;
+ case 'v':
+ version ();
+ break;
+ default:
+ error("unrecognized option `%s'", argv[optind-1]);
+ fprintf(stderr, "Try `run-parts --help' for more information.\n");
+ exit (1);
+ }
+ }
+
+ /* We require exactly one argument: the directory name */
+ if (optind != (argc - 1)) {
+ error("missing operand");
+ fprintf(stderr, "Try run-parts --help' for more information.\n");
+ exit (1);
+ }
+
+ run_parts (argv[optind]);
+
+ return exitstatus;
+}