From 67b97e55d95a26cfbc551c7f87fc233fb00bb7e2 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 18 Nov 2009 20:02:37 +0100 Subject: [PATCH] Replace compiled .html with .wml source from the db.d.o cvs repository --- html/.cvsignore | 12 + html/.wmlrc | 10 + html/CVS/Entries | 18 + html/CVS/Repository | 1 + html/CVS/Root | 1 + html/Makefile | 34 ++ html/README | 14 + html/doc-direct.html | 133 -------- html/doc-direct.wml | 79 +++++ html/doc-general.html | 112 ------- html/doc-general.wml | 56 ++++ html/doc-hosts.html | 91 ----- html/doc-hosts.wml | 36 ++ html/{doc-mail.html => doc-mail.wml} | 132 +++----- html/domains.tab | 254 ++++++++++++++ html/forward.html | 118 ------- html/forward.wml | 65 ++++ html/hostinfo.html | 80 ----- html/hostinfo.wml | 29 ++ html/login.html | 85 ----- html/login.wml | 22 ++ html/password.html | 96 ------ html/password.wml | 36 ++ html/searchform.html | 351 -------------------- html/searchform.wml | 57 ++++ html/searchhelp.html | 78 ----- html/searchhelp.wml | 17 + html/searchresults.html | 108 ------ html/searchresults.wml | 49 +++ html/template/CVS/Entries | 9 + html/template/CVS/Repository | 1 + html/template/CVS/Root | 1 + html/template/basic.wml | 15 + html/template/common_tags.wml | 40 +++ html/template/common_translation.wml | 77 +++++ html/template/ctime.wml | 311 +++++++++++++++++ html/template/db.d.o.wml | 22 ++ html/template/debian/CVS/Entries | 1 + html/template/debian/CVS/Repository | 1 + html/template/debian/CVS/Root | 1 + html/template/footer.wml | 70 ++++ html/template/header.wml | 26 ++ html/template/navbar.wml | 44 +++ html/update.html | 480 --------------------------- html/update.wml | 217 ++++++++++++ 45 files changed, 1668 insertions(+), 1822 deletions(-) create mode 100644 html/.cvsignore create mode 100644 html/.wmlrc create mode 100644 html/CVS/Entries create mode 100644 html/CVS/Repository create mode 100644 html/CVS/Root create mode 100644 html/Makefile create mode 100644 html/README delete mode 100644 html/doc-direct.html create mode 100644 html/doc-direct.wml delete mode 100644 html/doc-general.html create mode 100644 html/doc-general.wml delete mode 100644 html/doc-hosts.html create mode 100644 html/doc-hosts.wml rename html/{doc-mail.html => doc-mail.wml} (65%) create mode 100644 html/domains.tab delete mode 100644 html/forward.html create mode 100644 html/forward.wml delete mode 100644 html/hostinfo.html create mode 100644 html/hostinfo.wml delete mode 100644 html/login.html create mode 100644 html/login.wml delete mode 100644 html/password.html create mode 100644 html/password.wml delete mode 100644 html/searchform.html create mode 100644 html/searchform.wml delete mode 100644 html/searchhelp.html create mode 100644 html/searchhelp.wml delete mode 100644 html/searchresults.html create mode 100644 html/searchresults.wml create mode 100644 html/template/CVS/Entries create mode 100644 html/template/CVS/Repository create mode 100644 html/template/CVS/Root create mode 100644 html/template/basic.wml create mode 100644 html/template/common_tags.wml create mode 100644 html/template/common_translation.wml create mode 100644 html/template/ctime.wml create mode 100644 html/template/db.d.o.wml create mode 100644 html/template/debian/CVS/Entries create mode 100644 html/template/debian/CVS/Repository create mode 100644 html/template/debian/CVS/Root create mode 100644 html/template/footer.wml create mode 100644 html/template/header.wml create mode 100644 html/template/navbar.wml delete mode 100644 html/update.html create mode 100644 html/update.wml diff --git a/html/.cvsignore b/html/.cvsignore new file mode 100644 index 0000000..2cde767 --- /dev/null +++ b/html/.cvsignore @@ -0,0 +1,12 @@ +doc-direct.html +doc-general.html +doc-hosts.html +doc-mail.html +forward.html +hostinfo.html +login.html +password.html +searchform.html +searchhelp.html +searchresults.html +update.html diff --git a/html/.wmlrc b/html/.wmlrc new file mode 100644 index 0000000..2320f93 --- /dev/null +++ b/html/.wmlrc @@ -0,0 +1,10 @@ +-D WML_SRC_REALNAME="Debian Webmaster" +-D WML_SRC_USERNAME=webmaster +-D WML_GEN_HOSTNAME=debian.org +-D CUR_ISO_LANG="en" +-I template +-D SEARCH="http://search.debian.org/" +-D INTRO="http://www.debian.org/intro" +-D DISTRIB="http://www.debian.org/distrib" +-D HOME="http://www.debian.org" +-D PICS="http://www.debian.org/Pics" diff --git a/html/CVS/Entries b/html/CVS/Entries new file mode 100644 index 0000000..436c87e --- /dev/null +++ b/html/CVS/Entries @@ -0,0 +1,18 @@ +/.wmlrc/1.4/Wed Sep 4 15:03:45 2002// +/Makefile/1.4/Thu Nov 18 15:54:10 2004// +/README/1.1/Tue Feb 1 16:48:57 2005// +/doc-direct.wml/1.5/Thu Jan 27 15:46:55 2005// +/doc-general.wml/1.8/Thu Jan 27 15:46:56 2005// +/doc-hosts.wml/1.1/Tue Feb 1 16:44:43 2005// +/domains.tab/1.2/Thu Nov 18 15:57:43 2004// +/forward.wml/1.10/Mon May 9 15:47:43 2005// +/login.wml/1.7/Thu Jan 27 16:06:15 2005// +/password.wml/1.6/Wed May 14 21:09:45 2008// +/searchhelp.wml/1.3/Mon Jan 10 03:32:13 2005// +D/template//// +/.cvsignore/1.1/Thu Jul 17 09:02:54 2008// +/hostinfo.wml/1.6/Thu Jul 17 09:02:34 2008// +/searchform.wml/1.11/Wed Sep 17 00:16:00 2008// +/searchresults.wml/1.11/Wed Sep 17 00:03:12 2008// +/doc-mail.wml/1.20/Sat Sep 19 17:34:38 2009// +/update.wml/1.20/Sat Sep 19 17:38:10 2009// diff --git a/html/CVS/Repository b/html/CVS/Repository new file mode 100644 index 0000000..35d8245 --- /dev/null +++ b/html/CVS/Repository @@ -0,0 +1 @@ +db.debian.org diff --git a/html/CVS/Root b/html/CVS/Root new file mode 100644 index 0000000..575730d --- /dev/null +++ b/html/CVS/Root @@ -0,0 +1 @@ +cvs.debian.org:/cvs/webwml diff --git a/html/Makefile b/html/Makefile new file mode 100644 index 0000000..b90ace8 --- /dev/null +++ b/html/Makefile @@ -0,0 +1,34 @@ +# special Makefile +# requires a checkout of webwml/template/debian from the webwml tree! + +TEMPLDIR := ../../webwml/english/template/debian +DEBTEMPLATES := $(wildcard $(TEMPLDIR)/*.wml) \ + $(wildcard template/*.wml) \ + .wmlrc +TARGETDIR := /var/www/userdir-ldap + +WMLFILES := $(wildcard *.wml) +HTMLFILES := $(subst .wml,.html,$(WMLFILES)) +DESTHTMLFILES := $(patsubst %.wml,$(TARGETDIR)/%.html,$(WMLFILES)) +OTHERFILES := $(wildcard *.cgi) $(wildcard *.cfg) $(wildcard *.tab) +DESTOTHERFILES := $(patsubst %,$(TARGETDIR)/%,$(OTHERFILES)) + +WML_DEFS := + +all: $(HTMLFILES) + +%.html: %.wml $(DEBTEMPLATES) + wml $(WML_DEFS) $< -o UNDEFuEN:$@ + +install: $(DESTHTMLFILES) $(DESTOTHERFILES) + +$(DESTHTMLFILES) $(DESTOTHERFILES): $(TARGETDIR)/%: % + @test -d $(TARGETDIR) || mkdir -p $(TARGETDIR) + install -m 644 -p $(@F) $(TARGETDIR) + +clean: + rm -f $(HTMLFILES) + +update.html :: domains.tab + +.SUFFIXES: diff --git a/html/README b/html/README new file mode 100644 index 0000000..51b1e9f --- /dev/null +++ b/html/README @@ -0,0 +1,14 @@ +Important note for people editing these files. + +Do not change the ~foo~ texts, since they will be filled by the CGI +programs used on db.debian.org. + + +Only existing files will be updated. New files will be ignored on +db.debian.org. If you think that you need to create a new file talk +to Joey (or debian-admin) first, otherwise the new file won't end up +on . + + +Content negotiation is not available on db.debian.org currently, hence +only English web pages are available. diff --git a/html/doc-direct.html b/html/doc-direct.html deleted file mode 100644 index 0cb712c..0000000 --- a/html/doc-direct.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - Debian Project -- Direct LDAP Access - - - - - - - - - -
- - Debian Project -
- - - - - - - - - - - -
- - -About Debian -News -Getting Debian -Support -Developers' Corner -Site map -Search - - -
- - - -
- -

Direct LDAP Access

-

Since the -compromise, -the information available to non-developers via the LDAP interface has been -limited a great deal. However, as always, the full database is accessible from -any .debian.org machine. If you wish relatively unfettered access to the LDAP -database, connect to it from a .debian.org machine, such as gluck.debian.org -(which is recommended for general shell usage anyhow). -

-

-The LDAP utilities package (ldap-utils) provides an utility called ldapsearch that can be used -to execute direct queries to the database. This is done by supplying -the following arguments to ldapsearch: -x -H -ldap://db.debian.org -b dc=debian,dc=org. Alternatively, the --H and -b options can be put in -one's ~/.ldaprc, in the following form: -

-[ dbharris@gluck: ~/ ]$ cat ~/.ldaprc
-HOST db.debian.org
-BASE dc=debian,dc=org
-
-

--x tells ldapsearch to use "simple" (non-SASL, non-Kerberos) -authentication. There appears to be no ~/.ldaprc option which does the same as --x. With these parameters specified, we're ready to begin -searching. Here's an example: -

-[ dbharris@gluck: ~/ ]$ ldapsearch -x uid=dbharris keyfingerprint
-<snip>
-dn: uid=dbharris,ou=users,dc=debian,dc=org
-keyFingerPrint: CC53F12435C07BC258FE7A3C157DDFD959DDCB9F
-<snip>
-
-

-The first non-option argument (uid=dbharris in this case) is -the query to perform, and the rest of the arguments are the attributes to -return. If you only specify the query, but don't provide any attributes to -return, all readable attributes are returned. While the example was quite -simple, complex queries can be performed as well: -

-[ dbharris@gluck: ~/ ]$ ldapsearch -x -H ldap://db.debian.org -b dc=debian,dc=org '(&(!(loginshell=/bin/bash))(uid=*))' loginshell
-
-

-That query shows users that do not use bash as their shell. Some other -interesting queries are:

- -

RFC 2254 -has more information about the filter expressions.

-

Other LDAP Browsers

-

-The GQ package has a graphical LDAP browser that can browse the debian.org -tree. It is somewhat ungainly with the large number of entries in our -directory, but it does work nonetheless. Configuration is similar, use the -preferences dialog to add a new host with the information given above. -

-Netscape has a browser for their mailer, but I have never been able to get -it to work, please email if you have any luck. -

-To my knowledge there are no interfaces for popular mailers like mutt and -gnus. Such an interface would allow using the directory as an enhanced address -book. -


-Back to the Debian Project homepage. -
- -You can contact us at -admin@db.debian.org. - -

-

-Last Modified: Fri, Jan 28 19:13:06 UTC 2005 -
- Copyright © 1997-2005 - SPI; See license terms
- Debian is a registered trademark of Software in the Public Interest, Inc. -

- - diff --git a/html/doc-direct.wml b/html/doc-direct.wml new file mode 100644 index 0000000..7f0dcbe --- /dev/null +++ b/html/doc-direct.wml @@ -0,0 +1,79 @@ +#use wml::db.d.o title="Direct LDAP Access" + +

Since the +compromise, +the information available to non-developers via the LDAP interface has been +limited a great deal. However, as always, the full database is accessible from +any .debian.org machine. If you wish relatively unfettered access to the LDAP +database, connect to it from a .debian.org machine, such as gluck.debian.org +(which is recommended for general shell usage anyhow). +

+ +

+The LDAP utilities package (\ +ldap-utils) provides an utility called ldapsearch that can be used +to execute direct queries to the database. This is done by supplying +the following arguments to ldapsearch: -x -H +ldap://db.debian.org -b dc=debian,dc=org. Alternatively, the +-H and -b options can be put in +one's ~/.ldaprc, in the following form: +

+[ dbharris@gluck: ~/ ]$ cat ~/.ldaprc
+HOST db.debian.org
+BASE dc=debian,dc=org
+
+ +

+-x tells ldapsearch to use "simple" (non-SASL, non-Kerberos) +authentication. There appears to be no ~/.ldaprc option which does the same as +-x. With these parameters specified, we're ready to begin +searching. Here's an example: +

+[ dbharris@gluck: ~/ ]$ ldapsearch -x uid=dbharris keyfingerprint
+<snip>
+# dbharris, users, debian, org
+dn: uid=dbharris,ou=users,dc=debian,dc=org
+keyFingerPrint: CC53F12435C07BC258FE7A3C157DDFD959DDCB9F
+<snip>
+
+ +

+The first non-option argument (uid=dbharris in this case) is +the query to perform, and the rest of the arguments are the attributes to +return. If you only specify the query, but don't provide any attributes to +return, all readable attributes are returned. While the example was quite +simple, complex queries can be performed as well: +

+[ dbharris@gluck: ~/ ]$ ldapsearch -x -H ldap://db.debian.org -b dc=debian,dc=org '(&(!(loginshell=/bin/bash))(uid=*))' loginshell
+
+ +

+That query shows users that do not use bash as their shell. Some other +interesting queries are:

+ + +

RFC 2254 +has more information about the filter expressions.

+ + +

Other LDAP Browsers

+

+The GQ package has a graphical LDAP browser that can browse the debian.org +tree. It is somewhat ungainly with the large number of entries in our +directory, but it does work nonetheless. Configuration is similar, use the +preferences dialog to add a new host with the information given above. +

+Netscape has a browser for their mailer, but I have never been able to get +it to work, please email if you have any luck. +

+To my knowledge there are no interfaces for popular mailers like mutt and +gnus. Such an interface would allow using the directory as an enhanced address +book. diff --git a/html/doc-general.html b/html/doc-general.html deleted file mode 100644 index 3b1b618..0000000 --- a/html/doc-general.html +++ /dev/null @@ -1,112 +0,0 @@ - - - - - Debian Project -- General LDAP Documentation - - - - - - - - - -
- - Debian Project -
- - - - - - - - - - - -
- - -About Debian -News -Getting Debian -Support -Developers' Corner -Site map -Search - - -
- - - -
- -

General LDAP Documentation

-

-debian.org uses a single LDAP driven directory for account management across -all the project run machines. This directory -also provides services for leaving vacation notices, updating -xplanet coordinates, -email forwarding, ssh authentication keys and other information. -

-Note: the 'passwd' program and 'chfn' do not work with LDAP information. -Please use the web page or email gateway for the time being. All machines -running OpenSSH are using replicated SSH RSA authentication keys. -

Security and Privacy

-

-Three levels of information security are provided by the database. The first -is completely public information that anyone can see either by issuing an -LDAP query or by visiting the web site. The next level is -developer-only information that requires the search to be -performed from a .debian.org machine (see this -tutorial on how to use ldapsearch from a .debian.org machine for a -direct connection to the LDAP daemon) or from the web interface after -one has authenticated themselves as a Debian Developer. The final level is -admin-only or user-only information; this -information can only be viewed by the user or an administrator. -

-developer-only information includes precise location information -[postalcode, postal address, lat/long] telephone numbers, and the vacation -message. -

-Admin-only/user-only information includes email forwarding, -ssh keys and -the encrypted password. Note that email forwarding is necessarily publicly -viewable from accounts on the actual machines. -

-Entries in the directory are keyed to the developers PGP key, whoever has that -key can make any change to the directory through the mail interface. -

Access

-

-The directory has several means to access it: -

-

-Lost or forgotten password instructions -


-Back to the Debian Project homepage. -
- -You can contact us at -admin@db.debian.org. - -

-

-Last Modified: Fri, Jan 28 19:13:06 UTC 2005 -
- Copyright © 1997-2005 - SPI; See license terms
- Debian is a registered trademark of Software in the Public Interest, Inc. -

- - diff --git a/html/doc-general.wml b/html/doc-general.wml new file mode 100644 index 0000000..ed90b74 --- /dev/null +++ b/html/doc-general.wml @@ -0,0 +1,56 @@ +#use wml::db.d.o title="General LDAP Documentation" + +

+debian.org uses a single LDAP driven directory for account management across +all the project run machines. This directory +also provides services for leaving vacation notices, updating +xplanet coordinates, +email forwarding, ssh authentication keys and other information. + +

+Note: the 'passwd' program and 'chfn' do not work with LDAP information. +Please use the web page or email gateway for the time being. All machines +running OpenSSH are using replicated SSH RSA authentication keys. + +

Security and Privacy

+

+Three levels of information security are provided by the database. The first +is completely public information that anyone can see either by issuing an +LDAP query or by visiting the web site. The next level is +developer-only information that requires the search to be +performed from a .debian.org machine (see this +tutorial on how to use ldapsearch from a .debian.org machine for a +direct connection to the LDAP daemon) or from the web interface after +one has authenticated themselves as a Debian Developer. The final level is +admin-only or user-only information; this +information can only be viewed by the user or an administrator. + +

+developer-only information includes precise location information +[postalcode, postal address, lat/long] telephone numbers, and the vacation +message. + +

+Admin-only/user-only information includes email forwarding, +ssh keys and +the encrypted password. Note that email forwarding is necessarily publicly +viewable from accounts on the actual machines. + +

+Entries in the directory are keyed to the developers PGP key, whoever has that +key can make any change to the directory through the mail interface. + +

Access

+

+The directory has several means to access it: +

+ +

+Lost or forgotten password instructions diff --git a/html/doc-hosts.html b/html/doc-hosts.html deleted file mode 100644 index 327b918..0000000 --- a/html/doc-hosts.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - Debian Project -- debian.org Developer Machines - - - - - - - - - -
- - Debian Project -
- - - - - - - - - - - -
- - -About Debian -News -Getting Debian -Support -Developers' Corner -Site map -Search - - -
- - - -
- -

debian.org Developer Machines

-

SSH Host Keys

-

The SSH host keys for the machines in the debian.org domains are -stored in the Debian LDAP database. The key and its fingerprint will -be displayed when details for a machine are -displayed.

-

On machines in the debian.org which are updated from the LDAP -database /etc/ssh/ssh_known_hosts contains the keys for -all hosts in this domain. This helps for easier log in into such a -machine. This is also be available in the chroot environments.

-

Developers should add StrictHostKeyChecking yes to -their ~/.ssh/config file so that they only connect to -trusted hosts. With the file mentioned above, nearly all hosts in the -debian.org domain will be trusted automatically.

-

Developers can also execute ud-host -f or -ud-host -f -h host on a machine in the debian.org domain -in order to display all host fingerprints or only the fingerprints of -a particular host in order to compare it with the output of -ssh on an external host.

-

Exception for Alioth

-

An exception has been made for the Alioth system since not only -Debian developers have an account on this machine. As a result, this -machine (or machines in case there are more of one serving as Alioth -hosts) is generally not trusted. Hence no passwords (i.e. no shadow -file(s)) will be exported to it and their SSH keys are not added to -the LDAP system.

-

Debian Host Naming Scheme

-
-Back to the Debian Project homepage. -
- -You can contact us at -admin@db.debian.org. - -

-

-Last Modified: Tue, Feb 1 16:44:43 UTC 2005 -
- Copyright © 1997-2005 - SPI; See license terms
- Debian is a registered trademark of Software in the Public Interest, Inc. -

- - diff --git a/html/doc-hosts.wml b/html/doc-hosts.wml new file mode 100644 index 0000000..39c59d1 --- /dev/null +++ b/html/doc-hosts.wml @@ -0,0 +1,36 @@ +#use wml::db.d.o title="debian.org Developer Machines" + +

SSH Host Keys

+ +

The SSH host keys for the machines in the debian.org domains are +stored in the Debian LDAP database. The key and its fingerprint will +be displayed when details for a machine are +displayed.

+ +

On machines in the debian.org which are updated from the LDAP +database /etc/ssh/ssh_known_hosts contains the keys for +all hosts in this domain. This helps for easier log in into such a +machine. This is also be available in the chroot environments.

+ +

Developers should add StrictHostKeyChecking yes to +their ~/.ssh/config file so that they only connect to +trusted hosts. With the file mentioned above, nearly all hosts in the +debian.org domain will be trusted automatically.

+ +

Developers can also execute ud-host -f or +ud-host -f -h host on a machine in the debian.org domain +in order to display all host fingerprints or only the fingerprints of +a particular host in order to compare it with the output of +ssh on an external host.

+ +

Exception for Alioth

+ +

An exception has been made for the Alioth system since not only +Debian developers have an account on this machine. As a result, this +machine (or machines in case there are more of one serving as Alioth +hosts) is generally not trusted. Hence no passwords (i.e. no shadow +file(s)) will be exported to it and their SSH keys are not added to +the LDAP system.

+ + +

Debian Host Naming Scheme

diff --git a/html/doc-mail.html b/html/doc-mail.wml similarity index 65% rename from html/doc-mail.html rename to html/doc-mail.wml index edd1bbd..1544ad1 100644 --- a/html/doc-mail.html +++ b/html/doc-mail.wml @@ -1,51 +1,5 @@ - - - - - Debian Project -- LDAP Gateway - - - - - - - - - -
- - Debian Project -
- - - - - - - - - - - -
- - -About Debian -News -Getting Debian -Support -Developers' Corner -Site map -Search - - -
- - - -
- -

LDAP Gateway

+#use wml::db.d.o title="LDAP Gateway" +

The LDAP directory has a PGP secured mail gateway that allows users to safely and conveniently effect changes to their entries. It @@ -53,49 +7,55 @@ makes use of PGP signed input messages to positively identify the user and to confirm the validity of the request. Furthermore it implements a replay cache that prevents the gateway from accepting the same message more than once. +

There are three functions logically split into 3 separate email addresses that are implemented by the gateway: ping, new password and changes. The function to act on is the first argument to the program. +

Error handling is currently done by generating a bounce message and passing -descriptive error text to the mailer. This can generate a somewhat hard to +descriptive error text to the mailer. This can generate a somewhat hard to read error message, but it does have all the relevant information. +

Ping

The ping command simply returns the users public record. It is useful for testing the gateway and for the requester to get a basic dump of their record. In future this address might 'freshen' the record to indicate the user is alive. Any PGP signed message will produce a reply. +

New Password

-If a user looses their password they can request that a new one be generated -for them. This is done by sending the phrase "Please change my Debian -password" to chpasswd@db.debian.org. The phrase is required to prevent the +If a user looses their password they can request that a new one be generated +for them. This is done by sending the phrase "Please change my Debian +password" to chpasswd@db.debian.org. The phrase is required to prevent the daemon from triggering on arbitrary signed email. The best way to invoke this -feature is with +feature is with
echo "Please change my Debian password" | gpg --clearsign | mail chpasswd@db.debian.org
After validating the request the daemon will generate a new random password, set it in the directory and respond with an encrypted message containing the new password. The password can be changed using one of the other interface methods. +

Changes

-An address (changes@db.debian.org) is provided for making almost arbitrary -changes to the contents of the record. The daemon parses its input line by -line and acts on each line in a command oriented manner. Anything, except for -passwords, can be changed using this mechanism. Note however that because -this is a mail gateway it does stringent checking on its input. The other -tools allow fields to be set to virtually anything, the gateway requires +An address (changes@db.debian.org) is provided for making almost arbitrary +changes to the contents of the record. The daemon parses its input line by +line and acts on each line in a command oriented manner. Anything, except for +passwords, can be changed using this mechanism. Note however that because +this is a mail gateway it does stringent checking on its input. The other +tools allow fields to be set to virtually anything, the gateway requires specific field formats to be met. + + After processing the requests the daemon will generate a report which contains -each input command and the action taken. If there are any parsing errors +each input command and the action taken. If there are any parsing errors processing stops immediately, but valid changes up to that point are -processed. +processed. +

Notes

In this document PGP refers to any message or key that GnuPG is able to generate or parse, specifically it includes both PGP2.x and OpenPGP -(aka GnuPG) keys. +(aka GnuPG) keys.

Due to the replay cache the clock on the computer that generates the signatures has to be accurate to at least one day. If it is off by several @@ -186,20 +155,3 @@ If the mail you're sending to the mail robot is too long for your MTA and gets split please use a different mail origin or pass the mail to the MTA on a debian.org machine, e.g. gluck:

cat .ssh/id_rsa.pub | gpg --clearsign | ssh gluck mail changes@db.debian.org
-
-Back to the Debian Project homepage. -
- -You can contact us at -admin@db.debian.org. - -

-

-Last Modified: Tue, Jun 2 12:31:58 UTC 2009 -
- Copyright © 1997-2009 - SPI; See license terms
- Debian is a registered trademark of Software in the Public Interest, Inc. -

- - diff --git a/html/domains.tab b/html/domains.tab new file mode 100644 index 0000000..882992a --- /dev/null +++ b/html/domains.tab @@ -0,0 +1,254 @@ +ad Andorra +ae United Arab Emirates +af Afghanistan +ag Antigua and Barbuda +ai Anguilla +al Albania +am Armenia +an Netherlands Antilles +ao Angola +aq Antarctica +ar Argentina +arpa Old style Arpanet +as American Samoa +at Austria +au Australia +aw Aruba +az Azerbaidjan +ba Bosnia-Herzegovina +bb Barbados +bd Bangladesh +be Belgium +bf Burkina Faso +bg Bulgaria +bh Bahrain +bi Burundi +bj Benin +bm Bermuda +bn Brunei Darussalam +bo Bolivia +br Brazil +bs Bahamas +bt Bhutan +bv Bouvet Island +bw Botswana +by Belarus +bz Belize +ca Canada +cc Cocos (Keeling) Islands +cd Democratic Republic of Congo +cf Central African Republic +cg Congo +ch Switzerland +ci Ivory Coast (Cote d'Ivoire) +ck Cook Islands +cl Chile +cm Cameroon +cn China +co Colombia +com Commercial +cr Costa Rica +cs Czech Republic and Slovakia +cu Cuba +cv Cape Verde +cx Christmas Island +cy Cyprus +cz Czech Republic +de Germany +dj Djibouti +dk Denmark +dm Dominica +do Dominican Republic +dz Algeria +ec Ecuador +edu USA Educational +ee Estonia +eg Egypt +eh Western Sahara +er Eritrea +es Spain +et Ethiopia +fi Finland +fj Fiji +fk Falkland Islands +fm Micronesia +fo Faroe Islands +fr France +fx France (European Territory) +ga Gabon +gd Grenada +ge Georgia +gf French Guyana +gg Guernsey +gh Ghana +gi Gibraltar +gl Greenland +gm Gambia +gn Guinea +gov USA Government +gp Guadeloupe (French) +gq Equatorial Guinea +gr Greece +gs S. Georgia & S. Sandwich Isls. +gt Guatemala +gu Guam (USA) +gw Guinea Bissau +gy Guyana +hk Hong Kong +hm Heard and McDonald Islands +hn Honduras +hr Croatia +ht Haiti +hu Hungary +id Indonesia +ie Ireland +il Israel +im Isle of Man +in India +int International +io British Indian Ocean Territory +iq Iraq +ir Iran +is Iceland +it Italy +je Jersey +jm Jamaica +jo Jordan +jp Japan +ke Kenya +kg Kyrgyzstan +kh Cambodia +ki Kiribati +km Comoros +kn Saint Kitts & Nevis Anguilla +kp North Korea +kr South Korea +kw Kuwait +ky Cayman Islands +kz Kazakhstan +la Laos +lb Lebanon +lc Saint Lucia +li Liechtenstein +lk Sri Lanka +lr Liberia +ls Lesotho +lt Lithuania +lu Luxembourg +lv Latvia +ly Libya +ma Morocco +mc Monaco +md Moldavia +mg Madagascar +mh Marshall Islands +mil USA Military +mk Macedonia +ml Mali +mm Myanmar +mn Mongolia +mo Macau +mp Northern Mariana Islands +mq Martinique (French) +mr Mauritania +ms Montserrat +mt Malta +mu Mauritius +mv Maldives +mw Malawi +mx Mexico +my Malaysia +mz Mozambique +na Namibia +nato NATO +nc New Caledonia (French) +ne Niger +net Network +nf Norfolk Island +ng Nigeria +ni Nicaragua +nl Netherlands +no Norway +np Nepal +nr Nauru +nu Niue +nz New Zealand +om Oman +org Non-Profit Making Organisations +pa Panama +pe Peru +pf Polynesia (French) +pg Papua New Guinea +ph Philippines +pk Pakistan +pl Poland +pm Saint Pierre and Miquelon +pn Pitcairn Island +pr Puerto Rico +pt Portugal +pw Palau +py Paraguay +qa Qatar +re Reunion (French) +ro Romania +ru Russia +rw Rwanda +sa Saudi Arabia +sb Solomon Islands +sc Seychelles +sd Sudan +se Sweden +sg Singapore +sh Saint Helena +si Slovenia +sj Svalbard and Jan Mayen Islands +sk Slovak Republic +sl Sierra Leone +sm San Marino +sn Senegal +so Somalia +sr Suriname +st Saint Tome and Principe +su Former USSR +sv El Salvador +sy Syria +sz Swaziland +tc Turks and Caicos Islands +td Chad +tf French Southern Territories +tg Togo +th Thailand +tj Tadjikistan +tk Tokelau +tm Turkmenistan +tn Tunisia +to Tonga +tp East Timor +tr Turkey +tt Trinidad and Tobago +tv Tuvalu +tw Taiwan +tz Tanzania +ua Ukraine +ug Uganda +uk United Kingdom +um USA Minor Outlying Islands +us United States +uy Uruguay +uz Uzbekistan +va Vatican City State +vc Saint Vincent & Grenadines +ve Venezuela +vg Virgin Islands (British) +vi Virgin Islands (USA) +vn Vietnam +vu Vanuatu +wf Wallis and Futuna Islands +ws Samoa +ye Yemen +yt Mayotte +yu Yugoslavia +za South Africa +zr Democratic Republic of the Congo +zm Zambia +zw Zimbabwe diff --git a/html/forward.html b/html/forward.html deleted file mode 100644 index 17d49ca..0000000 --- a/html/forward.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - - Debian Project -- Email Forwarding - - - - - - - - - -
- - Debian Project -
- - - - - - - - - - - -
- - -About Debian -News -Getting Debian -Support -Developers' Corner -Site map -Search - - -
- - - -
- -

Email Forwarding

-

-Emails to @debian.org addresses now go through a LDAP distributed email system. -This system uses the forwarding field in the LDAP directory to route mail -without passing it through a users .forward file on a single host. -Multiple machines participate in the forwarding to provide redundancy. -

-Each forwarders inspects the LDAP database -to see if foo@debian.org has forwarding set to an address, if so the envelope -to address is rewritten and the message redirected to the new address. -Otherwise the message is relayed to master.debian.org for processing by the -users .forward files. If email forwarding is setup then .forward files are -NOT considered. Extension addresses (foo-lists) are always routed -directly to master for processing. -

-All machines also use the forwarding attribute as a default destination for -email. If the user has a home directory and no .forward file the mail is -forwarded rather than delivered to /var/spool/mail. This makes sure cron -reports, bug responses and other unexpected emails are not misplaced. -

-If you set the forwarding address to be a specific Debian machine and do -not create a forward file then that machine will spool the mail to -/var/spool/mail instead of creating a mail loop. -

-The email forwarding can be easily reconfigured using GnuPG: -

-echo "emailforward: foo@bar.com" | gpg --clearsign | mail change@db.debian.org
-
-or by visiting db.debian.org -

-You can test the email routing by using the command /usr/sbin/exim -bt -foo@debian.org -

procmail

-If you use procmail for your main mailbox, PLEASE, erase your .forward -file and put a .procmailrc in its place instead. This feature has been -supported on debian.org machines for a good while now, and will continue to be -supported. .procmailrc files won't be synchronised to all hosts in -the LDAP directory. -

-The correct way to invoke procmail for extension addresses is "|/usr/bin/procmail [options]" -Ignore the IFS=".." stuff in the procmail man page. -

MailBox formats

-Email can be saved to mailboxes or maildirs by using the correct lines in a -.forward file: -

-Mailbox format files "/debian/home/foo/Mbox" -
Maildir format files "/debian/home/foo/MDir/" -

-To deliver to /var/spool/mail/foo use a construct like '|/usr/bin/procmail --m /dev/null'. Putting the mailbox path will not work. You must use -absolute paths for mailboxes, qmail-like ./ paths are not supported by -Exim. -

-Also, 'Exim Filter' files are deliberately turned off. -


-Back to the Debian Project homepage. -
- -You can contact us at -admin@db.debian.org. - -

-

-Last Modified: Mon, May 9 18:13:06 UTC 2005 -
- Copyright © 1997-2005 - SPI; See license terms
- Debian is a registered trademark of Software in the Public Interest, Inc. -

- - diff --git a/html/forward.wml b/html/forward.wml new file mode 100644 index 0000000..b0bc436 --- /dev/null +++ b/html/forward.wml @@ -0,0 +1,65 @@ +#use wml::db.d.o title="Email Forwarding" + +

+Emails to @debian.org addresses now go through a LDAP distributed email system. +This system uses the forwarding field in the LDAP directory to route mail +without passing it through a users .forward file on a single host. +Multiple machines participate in the forwarding to provide redundancy. + +

+Each forwarders inspects the LDAP database +to see if foo@debian.org has forwarding set to an address, if so the envelope +to address is rewritten and the message redirected to the new address. +Otherwise the message is relayed to master.debian.org for processing by the +users .forward files. If email forwarding is setup then .forward files are +NOT considered. Extension addresses (foo-lists) are always routed +directly to master for processing. + +

+All machines also use the forwarding attribute as a default destination for +email. If the user has a home directory and no .forward file the mail is +forwarded rather than delivered to /var/spool/mail. This makes sure cron +reports, bug responses and other unexpected emails are not misplaced. + +

+If you set the forwarding address to be a specific Debian machine and do +not create a forward file then that machine will spool the mail to +/var/spool/mail instead of creating a mail loop. + +

+The email forwarding can be easily reconfigured using GnuPG: +

+echo "emailforward: foo@bar.com" | gpg --clearsign | mail change@db.debian.org
+
+or by visiting db.debian.org + +

+You can test the email routing by using the command /usr/sbin/exim -bt +foo@debian.org + +

procmail

+If you use procmail for your main mailbox, PLEASE, erase your .forward +file and put a .procmailrc in its place instead. This feature has been +supported on debian.org machines for a good while now, and will continue to be +supported. .procmailrc files won't be synchronised to all hosts in +the LDAP directory. + +

+The correct way to invoke procmail for extension addresses is "|/usr/bin/procmail [options]" +Ignore the IFS=".." stuff in the procmail man page. + +

MailBox formats

+Email can be saved to mailboxes or maildirs by using the correct lines in a +.forward file: +

+Mailbox format files "/debian/home/foo/Mbox" +
Maildir format files "/debian/home/foo/MDir/" + +

+To deliver to /var/spool/mail/foo use a construct like '|/usr/bin/procmail +-m /dev/null'. Putting the mailbox path will not work. You must use +absolute paths for mailboxes, qmail-like ./ paths are not supported by +Exim. + +

+Also, 'Exim Filter' files are deliberately turned off. diff --git a/html/hostinfo.html b/html/hostinfo.html deleted file mode 100644 index e725d0f..0000000 --- a/html/hostinfo.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - - Debian Project -- debian.org Developer Machines - - - - - - - - - -
- - Debian Project -
- - - - - - - - - - - -
- - -About Debian -News -Getting Debian -Support -Developers' Corner -Site map -Search - - -
- - - -
- -

debian.org Developer Machines

-Lookup:
-
- - -
-
-~hostdetails~ -
-

-Debian Host Naming Scheme   SSH Keys
-Not all Debian hardware is maintained by the Debian System Administrators. For a (partial) list of systems controlled by others please see the non-DSA-HW wiki page. -

-
-Back to the Debian Project homepage. -
- -You can contact us at -admin@db.debian.org. - -

-

-Last Modified: Thu, Jul 17 09:04:14 UTC 2008 -
- Copyright © 1997-2008 - SPI; See license terms
- Debian is a registered trademark of Software in the Public Interest, Inc. -

- - diff --git a/html/hostinfo.wml b/html/hostinfo.wml new file mode 100644 index 0000000..f815f9e --- /dev/null +++ b/html/hostinfo.wml @@ -0,0 +1,29 @@ +#use wml::db.d.o title="debian.org Developer Machines" + +# +# +# +# +#
+Lookup:
+
+ + +
+#
+# 
+
+~hostdetails~ +
+#
+ +

+Debian Host Naming Scheme\ +   \ +SSH Keys\ +
+Not all Debian hardware is maintained by the Debian System Administrators. For a (partial) list of systems controlled by others please see the non-DSA-HW wiki page. +

diff --git a/html/login.html b/html/login.html deleted file mode 100644 index ae2af24..0000000 --- a/html/login.html +++ /dev/null @@ -1,85 +0,0 @@ - - - - - Debian Project -- debian.org Developers LDAP Login - - - - - - - - - -
- - Debian Project -
- - - - - - - - - - - -
- - -About Debian -News -Getting Debian -Support -Developers' Corner -Site map -Search - - -
- - - -
- -

debian.org Developers LDAP Login

-

-
- - - - - -
Authentication Required


If you are not a developer, please return to the main search page, otherwise, enter your Debian user ID and password below
-You can also access the pages securely
login:@debian.org
Password:
-    - -
-
-
-
-
-

Debian development machines -
Lost or forgotten password instructions -

-
-
-Back to the Debian Project homepage. -
- -You can contact us at -admin@db.debian.org. - -

-

-Last Modified: Fri, Jan 28 19:13:06 UTC 2005 -
- Copyright © 1997-2005 - SPI; See license terms
- Debian is a registered trademark of Software in the Public Interest, Inc. -

- - diff --git a/html/login.wml b/html/login.wml new file mode 100644 index 0000000..acd5294 --- /dev/null +++ b/html/login.wml @@ -0,0 +1,22 @@ +#use wml::db.d.o title="debian.org Developers LDAP Login" + +

+
+ + + + + +
Authentication Required


If you are not a developer, please return to the main search page, otherwise, enter your Debian user ID and password below
+You can also access the pages securely
login:@debian.org
Password:
+    + +
+
+
+
+
+

Debian development machines +
Lost or forgotten password instructions +

+
diff --git a/html/password.html b/html/password.html deleted file mode 100644 index 2361766..0000000 --- a/html/password.html +++ /dev/null @@ -1,96 +0,0 @@ - - - - - Debian Project -- Lost or Forgotten password - - - - - - - - - -
- - Debian Project -
- - - - - - - - - - - -
- - -About Debian -News -Getting Debian -Support -Developers' Corner -Site map -Search - - -
- - - -
- -

Lost or Forgotten password

-

-If you have lost or forgotten your LDAP password (and by extension, your -machine login password) you can have it reset by sending a PGP signed -message to the mail gateway: -

-echo "Please change my Debian password" | gpg --clearsign | mail chpasswd@db.debian.org
-or
-echo "Please change my Debian password" | pgp -fast | mail chpasswd@db.debian.org
-
-The daemon will then respond with a new randomized password encrypted -with your key. You can then use the -SSL Web pages to change your -password to something you can remember. You cannot set a new password via the -mail gateway. -

-Alternatively, you can do without a password and use PGP to manipulate your -LDAP information through the mail gateway and use -SSH RSA Authentication to access the servers. To setup OpenSSH for RSA you -need to first generate a private RSA key using ssh-keygen and select -a good passphrase for it. Then send the public portion of the key to the LDAP -directory: -

-gpg --clearsign < ~/.ssh/id_rsa.pub | mail change@db.debian.org
-
-

NB: Only version 2 RSA keys are accepted. Version 1 RSA -keys (i.e. identity.pub files) will not work.

-

-You can then use this key to authenticate to the machines. Using ssh-agent -(automatically run by Debian's X configuration) you can use ssh-add to 'cache' -your passphrase once. -

-
-Back to the Debian Project homepage. -
- -You can contact us at -admin@db.debian.org. - -

-

-Last Modified: Thu, May 15 18:13:05 UTC 2008 -
- Copyright © 1997-2008 - SPI; See license terms
- Debian is a registered trademark of Software in the Public Interest, Inc. -

- - diff --git a/html/password.wml b/html/password.wml new file mode 100644 index 0000000..7ef2a72 --- /dev/null +++ b/html/password.wml @@ -0,0 +1,36 @@ +#use wml::db.d.o title="Lost or Forgotten password" + +

+If you have lost or forgotten your LDAP password (and by extension, your +machine login password) you can have it reset by sending a PGP signed +message to the mail gateway: +

+echo "Please change my Debian password" | gpg --clearsign | mail chpasswd@db.debian.org
+or
+echo "Please change my Debian password" | pgp -fast | mail chpasswd@db.debian.org
+
+The daemon will then respond with a new randomized password encrypted +with your key. You can then use the +SSL Web pages to change your +password to something you can remember. You cannot set a new password via the +mail gateway. + +

+Alternatively, you can do without a password and use PGP to manipulate your +LDAP information through the mail gateway and use +SSH RSA Authentication to access the servers. To setup OpenSSH for RSA you +need to first generate a private RSA key using ssh-keygen and select +a good passphrase for it. Then send the public portion of the key to the LDAP +directory: +

+gpg --clearsign < ~/.ssh/id_rsa.pub | mail change@db.debian.org
+
+ +

NB: Only version 2 RSA keys are accepted. Version 1 RSA +keys (i.e. identity.pub files) will not work.

+ +

+You can then use this key to authenticate to the machines. Using ssh-agent +(automatically run by Debian's X configuration) you can use ssh-add to 'cache' +your passphrase once. +

diff --git a/html/searchform.html b/html/searchform.html deleted file mode 100644 index 601f394..0000000 --- a/html/searchform.html +++ /dev/null @@ -1,351 +0,0 @@ - - - - - Debian Project -- debian.org Developers LDAP Search - - - - - - - - - -
- - Debian Project -
- - - - - - - - - - - -
- - -About Debian -News -Getting Debian -Support -Developers' Corner -Site map -Search - - -
- - - -
- -

debian.org Developers LDAP Search

-

-
- - - - - - - - - - - -
Debian Developers Database Search -
(any field can be left blank....)
-Help on searching
First name: -Fuzzy search
Last name: -Fuzzy search
login: -Fuzzy search
IRC nickname: -Fuzzy search
PGP/GPG fingerprint: -Fuzzy search
country: - -
On vacation
- -
-

Debian developers can login -to update their settings, or logout if they are -logged in.

-
-
-
-
-

Debian development machines -
Documentation -
Lost or forgotten password instructions -
Debian.org Email Forwarding -
SPI Certification Authority -

-
-
-Back to the Debian Project homepage. -
- -You can contact us at -admin@db.debian.org. - -

-

-Last Modified: Wed, Sep 17 22:54:07 UTC 2008 -
- Copyright © 1997-2008 - SPI; See license terms
- Debian is a registered trademark of Software in the Public Interest, Inc. -

- - diff --git a/html/searchform.wml b/html/searchform.wml new file mode 100644 index 0000000..5a4e00a --- /dev/null +++ b/html/searchform.wml @@ -0,0 +1,57 @@ +#use wml::db.d.o title="debian.org Developers LDAP Search" + +

+
+ + + + + + + + + + + +
Debian Developers Database Search +
(any field can be left blank....)
+Help on searching
First name: +Fuzzy search
Last name: +Fuzzy search
login: +Fuzzy search
IRC nickname: +Fuzzy search
PGP/GPG fingerprint: +Fuzzy search
country: + +
On vacation
+ +
+

Debian developers can login +to update their settings, or logout if they are +logged in.

+
+
+
+
+

Debian development machines +
Documentation +
Lost or forgotten password instructions +
Debian.org Email Forwarding +
SPI Certification Authority +

+
diff --git a/html/searchhelp.html b/html/searchhelp.html deleted file mode 100644 index 6aac71a..0000000 --- a/html/searchhelp.html +++ /dev/null @@ -1,78 +0,0 @@ - - - - - Debian Project -- debian.org Developers Online Database - - - - - - - - - -
- - Debian Project -
- - - - - - - - - - - -
- - -About Debian -News -Getting Debian -Support -Developers' Corner -Site map -Search - - -
- - - -
- -

debian.org Developers Online Database

-
- -
-

To look up information about Debian developers, enter your search criteria -in the form. Results are returned which match all of the search criteria. -Wildcards may be used. For example, entering *de* in the last name -field will return all developers whose surname contains the substring -de. Matches are case-insensitive, and all searching criteria that -are left empty will be ignored. Selecting the "fuzzy search" option will turn -on approximate searching.

-

The "On vacation" field will return all developers who have left a vacation -message.

-
-
-Back to the Debian Project homepage. -
- -You can contact us at -admin@db.debian.org. - -

-

-Last Modified: Mon, Jan 10 03:47:20 UTC 2005 -
- Copyright © 1997-2005 - SPI; See license terms
- Debian is a registered trademark of Software in the Public Interest, Inc. -

- - diff --git a/html/searchhelp.wml b/html/searchhelp.wml new file mode 100644 index 0000000..8d4eb68 --- /dev/null +++ b/html/searchhelp.wml @@ -0,0 +1,17 @@ +#use wml::db.d.o title="debian.org Developers Online Database" + +
+ +
+

To look up information about Debian developers, enter your search criteria +in the form. Results are returned which match all of the search criteria. +Wildcards may be used. For example, entering *de* in the last name +field will return all developers whose surname contains the substring +de. Matches are case-insensitive, and all searching criteria that +are left empty will be ignored. Selecting the "fuzzy search" option will turn +on approximate searching.

+ +

The "On vacation" field will return all developers who have left a vacation +message.

+ +
diff --git a/html/searchresults.html b/html/searchresults.html deleted file mode 100644 index 09caa2a..0000000 --- a/html/searchresults.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - Debian Project -- debian.org Developers LDAP Search Results - - - - - - - - - -
- - Debian Project -
- - - - - - - - - - - -
- - -About Debian -News -Getting Debian -Support -Developers' Corner -Site map -Search - - -
- - - -
- -

debian.org Developers LDAP Search Results

- - -

-Logout | ?> -Login | ?> -Search again



-

Number of entries matched: ~count~

-
- - - - - -
-

-

-Logout | ?> -Login | ?> -Search -again

-

-
-Back to the Debian Project homepage. -
- -You can contact us at -admin@db.debian.org. - -

-

-Last Modified: Wed, Sep 17 22:54:08 UTC 2008 -
- Copyright © 1997-2008 - SPI; See license terms
- Debian is a registered trademark of Software in the Public Interest, Inc. -

- - diff --git a/html/searchresults.wml b/html/searchresults.wml new file mode 100644 index 0000000..b539de7 --- /dev/null +++ b/html/searchresults.wml @@ -0,0 +1,49 @@ +#use wml::db.d.o title="debian.org Developers LDAP Search Results" + + + +

+ +Logout | ?> +Login | ?> +Search again



+

Number of entries matched: ~count~

+
+ + + + + + + +
+

+

+Logout | ?> +Login | ?> +Search +again

+

+ diff --git a/html/template/CVS/Entries b/html/template/CVS/Entries new file mode 100644 index 0000000..e0e6878 --- /dev/null +++ b/html/template/CVS/Entries @@ -0,0 +1,9 @@ +/basic.wml/1.1/Thu Nov 18 15:19:55 2004// +/common_tags.wml/1.1/Thu Nov 18 15:19:55 2004// +/common_translation.wml/1.1/Thu Nov 18 15:19:55 2004// +/ctime.wml/1.1/Thu Nov 18 15:19:55 2004// +/db.d.o.wml/1.2/Thu Nov 18 15:19:55 2004// +/footer.wml/1.1/Thu Nov 18 15:19:55 2004// +/header.wml/1.2/Thu Nov 18 15:26:06 2004// +/navbar.wml/1.1/Thu Nov 18 15:19:55 2004// +D/debian//// diff --git a/html/template/CVS/Repository b/html/template/CVS/Repository new file mode 100644 index 0000000..2e6d869 --- /dev/null +++ b/html/template/CVS/Repository @@ -0,0 +1 @@ +db.debian.org/template diff --git a/html/template/CVS/Root b/html/template/CVS/Root new file mode 100644 index 0000000..575730d --- /dev/null +++ b/html/template/CVS/Root @@ -0,0 +1 @@ +cvs.debian.org:/cvs/webwml diff --git a/html/template/basic.wml b/html/template/basic.wml new file mode 100644 index 0000000..d076fc9 --- /dev/null +++ b/html/template/basic.wml @@ -0,0 +1,15 @@ +#use wml::std::tags +#use wml::std::box + +#use wml::common_translation +#use wml::common_tags + +#use wml::header + +#use wml::navbar + +{#body#} + +#use wml::footer NOCOMMENTS="$(NOCOMMENTS)" NOCOPYRIGHT="$(NOCOPYRIGHT)" + +{#body#: diff --git a/html/template/common_tags.wml b/html/template/common_tags.wml new file mode 100644 index 0000000..b21ea3b --- /dev/null +++ b/html/template/common_tags.wml @@ -0,0 +1,40 @@ +
+ +%0 + + +%0 + + +# Support for i18n with gettext +> + # mp4h >= 1.3.0 + + + />" /> + + + + + + + + + + + + />> + # mp4h < 1.3.0, intl:gettext is not available + # is defined in order not to break nm.d.o. + %body + + + +# Slices go away, and a bug in slice < 1.3.9 is revealed. +# This empty ZH slice prevents breakage for Chinese pages. + + +# Add to make msgids unique + diff --git a/html/template/common_translation.wml b/html/template/common_translation.wml new file mode 100644 index 0000000..fc4bfcf --- /dev/null +++ b/html/template/common_translation.wml @@ -0,0 +1,77 @@ +#use wml::common_tags + + + Yes + + + No + + + Debian Project + + + Debian GNU/Linux is a free distribution of the GNU/Linux operating system. It is maintained and updated through the work of many users who volunteer their time and effort. + + + debian, GNU, linux, unix, open source, free, DFSG + + + Back to the Debian Project homepage. + + + Home + + + About + + + About Debian + + + Contact Us + + + Donations + + + Events + + + News + + + Distribution + + + Support + + + Developers' Corner + + + Documentation + + + Security Information + + + Search + + + none + + + Go + + + worldwide + + + Site map + + + Miscellaneous + + + Getting Debian + diff --git a/html/template/ctime.wml b/html/template/ctime.wml new file mode 100644 index 0000000..a5c6950 --- /dev/null +++ b/html/template/ctime.wml @@ -0,0 +1,311 @@ +#use wml::std::tags +#use wml::common_tags + + + + +use Time::Local; + +@dow = ( +# List of weekday names (used in modification dates) + 'Sun', + 'Mon', + 'Tue', + 'Wed', + 'Thu', + 'Fri', + 'Sat' +); + +@moy = ( +# List of month names (used in modification dates, and may be used in news +# listings) + 'Jan', + 'Feb', + 'Mar', + 'Apr', + 'May', + 'Jun', + 'Jul', + 'Aug', + 'Sep', + 'Oct', + 'Nov', + 'Dec' +); + +@longmoy = ( +# List of long month names (may be used in "spoken" dates and date ranges). + 'January', + 'February', + 'March', + 'April', +# The tag is to distinguish short and long forms of May. +# Do not put it in msgstr. + 'May', + 'June', + 'July', + 'August', + 'September', + 'October', + 'November', + 'December' +); + +# $dateform: Date format (sprintf) for modification dates. +# Available variables are: $mday = day-of-month, $monnr = month number, +# $mon = month string (from @moy), $year = year number. +# Percent signs are escaped because they are special during pass 2, +# replace all % by [%] +$dateform = 'q{[%]s, [%]s [%]2d [%]02d:[%]02d:[%]02d [%]s [%]04d}, $wday, $mon, $mday, $hour, $min, $sec, q{UTC}, 1900+$year'; +$dateform =~ s/\[%\]/%/g; + +# $newsdateform: Date format (sprintf) for news items. +# Available variables are: $mday = day-of-month, $mon = month number, +# $mon_str = month string (from @moy), $year = year number. +# Percent signs are escaped because they are special during pass 2, +# replace all % by [%] +$newsdateform = 'q{[%]02d [%]s [%]04d}, $mday, $mon_str, $year'; +$newsdateform =~ s/\[%\]/%/g; + +# $spokendateform: Date format (sprintf) for "spoken" dates +# (such as the current release date). +# Any special cases (such as the st/nd/rd/th suffixes in English) are +# handled in the spokendate subroutine below. +# Available variables are: $mday = day-of-month, $mon = month number, +# $mon_str = month string (from @longmoy), $year = year number. +# Percent signs are escaped because they are special during pass 2, +# replace all % by [%] +$spokendateform = 'q{[%]02d [%]s [%]d}, $mday, $mon_str, $year'; +$spokendateform =~ s/\[%\]/%/g; + +# $spokendateform_noyear: Date format (sprintf) for "spoken" dates +# (such as the current release date), without the year. +# Any special cases (such as the st/nd/rd/th suffixes in English) are +# handled in the spokendate subroutine below. +# Available variables are: $mday = day-of-month, $mon = month number, +# $mon_str = month string (from @longmoy). +# Percent signs are escaped because they are special during pass 2, +# replace all % by [%] +$spokendateform_noyear = 'q{[%]d [%]s}, $mday, $mon_str'; +$spokendateform_noyear =~ s/\[%\]/%/g; + +# $rangeform_samemonth: Date format (sprintf) for date ranges +# (used mainly for events pages), for ranges within the same month. +# Any special cases (such as the st/nd/rd/th suffixes in English) are +# handled in the spokendate subroutine below. +# Available variables are: $sday = start day-of-month, $eday = end +# day-of-month, $smon = month number, $smon_str = month string (from @longmoy) +# Percent signs are escaped because they are special during pass 2, +# replace all % by [%] +$rangeform_samemonth = 'q{[%]d-[%]d [%]s}, $sday, $eday, $smon_str'; +$rangeform_samemonth =~ s/\[%\]/%/g; + +# $rangeform_severalmonths: Date format (sprintf) for date ranges +# (used mainly for events pages), for ranges spanning the end of a month. +# Any special cases (such as the st/nd/rd/th suffixes in English) are +# handled in the spokendate subroutine below. +# Available variables are: $sday = start day-of-month, $eday, end +# day-of-month, $smon = start month number, $emon = end month number, +# $smon_str = start month string (from @longmoy), $emon_str = end month string +# Percent signs are escaped because they are special during pass 2, +# replace all % by [%] +$rangeform_severalmonths = 'q{[%]d [%]s-[%]d [%]s}, $sday, $smon_str, $eday, $emon_str'; +$rangeform_severalmonths =~ s/\[%\]/%/g; + + +# This function creates a last modification time stamp for the web pages. +sub webwml_ctime { + my ($time, $sec, $min, $hour, $mday, $monnr, $year, $wday, $yday, $isdst, $mon); + # The last modification time of inputfile in ISO dd-mm-yyyy hh:mm:ss format. + if (defined $(GEN_TIME)) { + $WML_GEN_ISOTIME =~ /(\d+)-(..)-(\d+) (..):(..):(..)/; + if ($1 <= 31) { # for WML 1.x + $time = timelocal($6, $5, $4, $1, $2-1, $3); + } else { # for WML 2.x + $time = timelocal($6, $5, $4, $3, $2-1, $1); + } + # $lday=$1; $lmon=$2; $lyear=$3; $lhr=$4; $lmin=$5; $lsec=$6; + # if ($lyear > 19000) { $lyear = 1900+($lyear-19000); } + # $time = timelocal($lsec, $lmin, $lhr, $lday, $lmon-1, $lyear); + } + else { + $WML_SRC_ISOTIME =~ /(\d+)-(..)-(\d+) (..):(..):(..)/; + if ($1 <= 31) { # for WML 1.x + $time = timelocal($6, $5, $4, $1, $2-1, $3); + } else { # for WML 2.x + $time = timelocal($6, $5, $4, $3, $2-1, $1); + } + # $lday=$1; $lmon=$2; $lyear=$3; $lhr=$4; $lmin=$5; $lsec=$6; + # if ($lyear > 19000) { $lyear = 1900+($lyear-19000); } + # $time = timelocal($lsec, $lmin, $lhr, $lday, $lmon-1, $lyear); + } + ($sec, $min, $hour, $mday, $monnr, $year, $wday, $yday, $isdst) = gmtime($time); + $wday = $dow[$wday]; + $mon = $moy[$monnr]; + return eval("sprintf($dateform)"); +} + +# This function creates a terse date string for use in news articles. +# Input: A date in ISO format (YYYY-MM-DD). +sub newsdate { + my ($year, $mon, $mday) = split /-/, $_[0]; + # Make sure the date is in the YYYY-MM-DD format + return $_[0] unless $mday; + return $_[0] if ($year < 1900); + + # Expand month number to string + $mon_str = $moy[$mon - 1]; + + # Return translated date + return eval("sprintf($newsdateform)"); +} + +# Utility function for spokendate and daterange: Return the correct order +# suffix for a date in English (i.e 24 => "th"). +sub englishsuffix { + my $mday = shift; + + return 'st' if $mday % 10 == 1 && $mday != 11; + return 'nd' if $mday % 10 == 2 && $mday != 12; + return 'rd' if $mday % 10 == 3 && $mday != 13; + return 'th'; +} + +# Utility function for spokendate and daterange: Contract "de " followed by +# a vowel into "d'" for Catalan +sub contractcatalan { + my $str = shift; + $str =~ s/\bde ([aáàeéèiïíoóòuúü])/d'$1/g; + return $str; +} + +# This function creates a "spoken" date string for use in text, for example +# the date of the previous release. +# Input: A date in ISO format (YYYY-MM-DD). +sub spokendate { + my ($year, $mon, $mday) = split /-/, $_[0]; + my $appday; + # Make sure the date is in the YYYY-MM-DD format + return $_[0] unless $mday; + return $_[0] if ($year < 1900); + + # Expand month string + $mon_str = $longmoy[$mon - 1]; + + # Return translated date + if ($CUR_ISO_LANG eq "en") + { + # Special handling of English: suffix the date with "st", "nd", "rd" + # or "th", according to the numeric date. + + return sprintf("%s %d%s, %d", $mon_str, $mday, &englishsuffix($mday), $year); + } + elsif ($CUR_ISO_LANG eq "ca") + { + # Special handling of Catalan: "de " followed by a vowel should be + # contracted to "d'" in the spoken date form + + my $date = sprintf("%d de %s de %d", $mday, $mon_str, $year); + return &contractcatalan($date); + } + # Add any other special cases here as elsif cases + else + { + # Return translated date, + return eval("sprintf($spokendateform)"); + } +} + +# This function creates a "spoken" date string for use in text, without the +# year. +# Input: A date in ISO format (YYYY-MM-DD). +sub spokendate_noyear { + my (undef, $mon, $mday) = split /-/, $_[0]; + my $appday; + + # Expand month string + $mon_str = $longmoy[$mon - 1]; + + # Return translated date + if ($CUR_ISO_LANG eq "en") + { + # Special handling of English: suffix the date with "st", "nd", "rd" + # or "th", according to the numeric date. + + return sprintf("%s %d%s", $mon_str, $mday, &englishsuffix($mday)); + } + elsif ($CUR_ISO_LANG eq "ca") + { + # Special handling of Catalan: "de " followed by a vowel should be + # contracted to "d'" in the spoken date form + + my $date = sprintf("%d de %s", $mday, $mon_str); + return &contractcatalan($date); + } + # Add any other special cases here as elsif cases + else + { + # Return translated date, + return eval("sprintf($spokendateform_noyear)"); + } +} + +# This function creates a string describing a date range for use in text, +# mainly used in the events pages. There are three string forms: One for +# one-day ranges, one for ranges inside one month, and one for ranges +# covering two months. The year(s) are not used by this function. +# Input: Two dates in ISO format (YYYY-MM-DD). +sub daterange { + my (undef, $smon, $sday) = split /-/, $_[0]; # Start date + my (undef, $emon, $eday) = split /-/, $_[1]; # End date + + my $samemonth = $smon == $emon; + + if ($samemonth && $sday == $eday) + { + return spokendate_noyear($_[0]); # Single day + } + + # Expand month strings + $smon_str = $longmoy[$smon - 1]; + $emon_str = $longmoy[$emon - 1]; + + # Return translated date range + if ($CUR_ISO_LANG eq "en") + { + # Special handling of English: suffix the date with "st", "nd", "rd" + # or "th", according to the numeric date. + + return sprintf("%s %d%s - %d%s", $smon_str, + $sday, &englishsuffix($sday), + $eday, &englishsuffix($eday)) + if $samemonth; + + return sprintf("%s %d%s - %s %d%s", $smon_str, + $sday, &englishsuffix($sday), $emon_str, + $eday, &englishsuffix($eday)) + } + elsif ($CUR_ISO_LANG eq "ca") + { + # Special handling of Catalan: "de " followed by a vowel should be + # contracted to "d'" in the spoken date form + + my $str; + $str = sprintf("%d-%d de %s", $sday, $eday, $smon_str) + if $samemonth; + $str = sprintf("%d de %s-%d de %s", $sday, $smon_str, $eday, $emon_str) + if !$samemonth; + + return &contractcatalan($str); + } + # Add any other special cases here as elsif cases + else + { + # Return translated range, + return $samemonth ? + eval("sprintf($rangeform_samemonth)") : + eval("sprintf($rangeform_severalmonths)"); + } +} + diff --git a/html/template/db.d.o.wml b/html/template/db.d.o.wml new file mode 100644 index 0000000..b745322 --- /dev/null +++ b/html/template/db.d.o.wml @@ -0,0 +1,22 @@ +#use wml::basic NOMIRRORS=true NOCOMMENTS=true + +$(title) +"/> + +{#mainbody#} + + + +"/> + + + + +You can contact us at +admin@db.debian.org. + + +

+{#mainbody#: diff --git a/html/template/debian/CVS/Entries b/html/template/debian/CVS/Entries new file mode 100644 index 0000000..1784810 --- /dev/null +++ b/html/template/debian/CVS/Entries @@ -0,0 +1 @@ +D diff --git a/html/template/debian/CVS/Repository b/html/template/debian/CVS/Repository new file mode 100644 index 0000000..9272372 --- /dev/null +++ b/html/template/debian/CVS/Repository @@ -0,0 +1 @@ +db.debian.org/template/debian diff --git a/html/template/debian/CVS/Root b/html/template/debian/CVS/Root new file mode 100644 index 0000000..575730d --- /dev/null +++ b/html/template/debian/CVS/Root @@ -0,0 +1 @@ +cvs.debian.org:/cvs/webwml diff --git a/html/template/footer.wml b/html/template/footer.wml new file mode 100644 index 0000000..462f6da --- /dev/null +++ b/html/template/footer.wml @@ -0,0 +1,70 @@ +#use wml::ctime +#use wml::common_tags + + + To report a problem with the web site, e-mail debian-www@lists.debian.org. For other contact information, see the Debian contact page. + + + Last Modified + + + Copyright + + + See license terms + + + Debian is a registered trademark of Software in the Public Interest, Inc. + + +# Do NOT translate anything below this line. If you feel something needs +# to be modified, first write to debian-www list. + + + +$file = $WML_SRC_DIRNAME."/".$WML_SRC_FILENAME; +if ($file =~ m,/(\d{4})/,) { + $first = $1; +} else { + $first = "1997"; +} + +# the below code taken from ctime.wml:webwml_ctime +if (defined $(GEN_TIME)) { + $timevar = $WML_GEN_ISOTIME; +} else { + $timevar = $WML_SRC_ISOTIME; +} +$timevar =~ /^(\d+)-(..)-(\d+)/; +if ($1 <= 31) { # for WML 1.x + $second = $3; +} else { # for WML 2.x + $second = $1; +} + +# warn "$first $second\n"; + +if ($first eq $second) { + print $first; +} else { + print $first."-".$second; +} + + + +> +

+ +

+: <:= webwml_ctime () :> +> +
+ © SPI;
+ +
+

+ +{#post_footer#} + +:} + diff --git a/html/template/header.wml b/html/template/header.wml new file mode 100644 index 0000000..a31a0af --- /dev/null +++ b/html/template/header.wml @@ -0,0 +1,26 @@ +#use wml::common_translation + +" + "" +/> +# not using [AR: dir="RTL":] because apparently the whole page was flipped +# and this wasn't desirable for them + +{: + + + $(BARETITLE:*Debian Project -- )$(title) + + + + + + + + + + +{#style#} + + diff --git a/html/template/navbar.wml b/html/template/navbar.wml new file mode 100644 index 0000000..5ce1e56 --- /dev/null +++ b/html/template/navbar.wml @@ -0,0 +1,44 @@ +#use wml::common_translation + + + + + +
+ + <debianproject/> +
+ + + + + + + + + + + + +
+ + +<aboutdebian/> +<news/> + "$(CUR_ISO_LANG)" "en" />\ +.gif" align="middle" border="0" hspace="4" vspace="7" alt="" /> +<support/> +<develcorner/> + "$(CUR_ISO_LANG)" "en" />\ +.gif" align="middle" border="0" hspace="4" vspace="7" alt="" /> +<search/> + + +
+ + + +
+ diff --git a/html/update.html b/html/update.html deleted file mode 100644 index 4334cb4..0000000 --- a/html/update.html +++ /dev/null @@ -1,480 +0,0 @@ - - - - - Debian Project -- debian.org Developers LDAP Maintainance - - - - - - - - - -
- - Debian Project -
- - - - - - - - - - - -
- - -About Debian -News -Getting Debian -Support -Developers' Corner -Site map -Search - - -
- - - -
- -

debian.org Developers LDAP Maintainance

-

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Debian Developers Database Maintanence
- login:~uid~@debian.org -
- Name:~cn~ ~mn~ ~sn~ -
- Gender: - -
- Date of Birth (YYYYMMDD): - -
- Change password:
(re-enter to verify) -
-
- -
- Street address: - - -
- City/State: - - -
- Country: - - -
- Postal code: - - -
- Latitude / Longitude:
- (format: +-DDDMMSS; + is north/east) -
- / - -
- Phone: - - -
- FAX:
-
- -
- ICQ UIN: - - -
- Jabber ID: - - -
- VoIP: - - -
- BATV Token: - - -
- Preferred shell: - - -
- email forwarded to: - - -
- debian-private subscript addr: - - -
- IRC nickname: - - -
- Web page: - - -
- Vacation message:
- (Note: if this is set, you will be shown to
- be on vacation)
-
- -
- Greylisting:
-
- -
- Sender Verification by Callout:
-
- -
- Mail Content Inspection Action: - -
- Default Mail Handling:
- (If this option is set, several default anti-spam setings will - be applied to the mail handling for your account) -
- -
- Mail Disable Message:
- (Note: if this is set, ALL email to your account will be - bounced at SMTP accept time with this string) -
- -
- sudo passwords:
- - - -
hostsstatuspassworddelete
- -
- new sudo password:
- - - - -
host:
password:
confirm:
-
-         - -
-
- Return to search page
- Logout! -
-
-Back to the Debian Project homepage. -
- -You can contact us at -admin@db.debian.org. - -

-

-Last Modified: Sun, Oct 19 22:54:05 UTC 2008 -
- Copyright © 1997-2008 - SPI; See license terms
- Debian is a registered trademark of Software in the Public Interest, Inc. -

- - diff --git a/html/update.wml b/html/update.wml new file mode 100644 index 0000000..7feecb4 --- /dev/null +++ b/html/update.wml @@ -0,0 +1,217 @@ +#use wml::db.d.o title="debian.org Developers LDAP Maintainance" + +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Debian Developers Database Maintanence
+ login:~uid~@debian.org +
+ Name:~cn~ ~mn~ ~sn~ +
+ Gender: + +
+ Date of Birth (YYYYMMDD): + +
+ Change password:
(re-enter to verify) +
+
+ +
+ Street address: + + +
+ City/State: + + +
+ Country: + + +
+ Postal code: + + +
+ Latitude / Longitude:
+ (format: +-DDDMMSS; + is north/east) +
+ / + +
+ Phone: + + +
+ FAX:
+
+ +
+ ICQ UIN: + + +
+ Jabber ID: + + +
+ VoIP: + + +
+ BATV Token: + + +
+ Preferred shell: + + +
+ email forwarded to: + + +
+ debian-private subscript addr: + + +
+ IRC nickname: + + +
+ Web page: + + +
+ Vacation message:
+ (Note: if this is set, you will be shown to
+ be on vacation)
+
+ +
+ Greylisting:
+
+ +
+ Sender Verification by Callout:
+
+ +
+ Mail Content Inspection Action:
+
+ +
+ Default Mail Handling:
+ (If this option is set, several default anti-spam setings will + be applied to the mail handling for your account) +
+ +
+ Mail Disable Message:
+ (Note: if this is set, ALL email to your account will be + bounced at SMTP accept time with this string) +
+ +
+ sudo passwords:
+ + + +
hostsstatuspassworddelete
+ +
+ + new sudo password:
+ + + + +
host:
password:
confirm:
+
+         + +
+
+ Return to search page
+ Logout! +
-- 2.20.1