diff --git a/etc/autodist/config b/etc/autodist/config
index 6ecf24b..7bc01ff 100644
--- a/etc/autodist/config
+++ b/etc/autodist/config
@@ -9,6 +9,14 @@ GNOME_VER=3.4
#WEBBUILD_EMAIL=
#WEBBUILD_SECRET=
WEBBUILD_STATEDIR=/var/webbuild
+WEBBUILD_REPOSITORIES=(devel devel-games devel-kernel devel-kde4 devel-xorg devel-gnome devel-makedist \
+ devel-java devel-misc devel-autodist devel-future devel-past \
+ milestone1 milestone1-updates milestone1-games milestone1-1.1 milestone1-makedist \
+ milestone2 milestone2-games milestone2-updates milestone2-kernel milestone2-kde4 \
+ milestone2-xorg milestone2-makedist milestone2-java \
+ devel-contrib devel-silvan devel-stefano devel-aleph0 devel-skiver devel-fabiog devel-gil \
+ devel-distservers devel-the_packagizers devel-ercolinux \
+ devel-contrib-java devel-michiamophil milestone1-java milestone1-contrib)
AUTOBUILD_MAXNUM=200
AUTOBUILD_DATEFROM=20060601
AUTOBUILD_SKIP_DAYS=28
diff --git a/webbuild/webbuild-cgi b/webbuild/webbuild-cgi
index 412c828..ef80fa2 100755
--- a/webbuild/webbuild-cgi
+++ b/webbuild/webbuild-cgi
@@ -606,7 +606,7 @@ if [ ! "${AUTOPORT_UPDATE[$ENVIRONMENT]}" -o "$MAINTAINERMODE" = "true" ]; then
fi
echo -n "&REQUEST=changerepository\");>"
echo -n ""
- for f in `$SUDO_WRAPPER 0 local "$USER" "" "/usr/sbin/openmamba-repository list"`; do
+ for f in `repository_list`; do
repname=`basename $f`
[ "$repname" = "$REPOSITORY" ] && SELECTED="selected=selected" || SELECTED=
if [ "$MAINTAINERMODE" = "true" -a ! "$USER_ALLREPOSITORIES" ]; then
@@ -1009,7 +1009,7 @@ if [ "$MAINTAINERMODE" != "true" ]; then
echo -n "
Send to:"
echo -n "