Sync to current status before releasing

This commit is contained in:
Silvan Calarco 2014-05-22 18:20:42 +02:00
parent 34796d0b38
commit 5df925c70b
11 changed files with 151 additions and 33 deletions

View File

@ -5,7 +5,7 @@
# #
# Released under the terms of the GNU GPL release 3 license # Released under the terms of the GNU GPL release 3 license
# #
VERSION=0.9.7 VERSION=0.9.8
me=(${0##*/} $VERSION "Sat Aug 20 2010") me=(${0##*/} $VERSION "Sat Aug 20 2010")
exec 3>`readlink /proc/self/fd/0` exec 3>`readlink /proc/self/fd/0`

View File

@ -80,7 +80,7 @@ else
for i in `seq 0 ${#AUTOPORT_ARCH[*]}`; do for i in `seq 0 ${#AUTOPORT_ARCH[*]}`; do
if [ "$SHOWLOG" = "monitor" ]; then if [ "$SHOWLOG" = "monitor" ]; then
echo "<h2>Build hosts monitor</h2>" echo "<h2>Build hosts monitor</h2>"
icecream-monitor localhost listcs | \ icecream-monitor $ICECREAM_MONITOR_HOST listcs | \
while read line; do while read line; do
[ "${line:0:8}" = "200 done" ] && printon= [ "${line:0:8}" = "200 done" ] && printon=
if [ "$printon" ]; then if [ "$printon" ]; then

View File

@ -181,8 +181,9 @@ parse_arch_linux() {
while read line; do while read line; do
line=`echo $line | sed "s|.*href=\"\([^\"]*\)\">.*|\1|"` line=`echo $line | sed "s|.*href=\"\([^\"]*\)\">.*|\1|"`
pkg=`echo $line | sed "s|\(.*\)-[^-]*-[^-]*-[^-]*|\1|"` pkg=`echo $line | sed "s|\(.*\)-[^-]*-[^-]*-[^-]*|\1|"`
ver=`echo $line | sed "s|.*-\([^-]*\)-[^-]*-[^-]*|\1|"` ver=`echo $line | sed "s|.*-\([^-]*\)-[^-]*-[^-]*|\1|;s|.*%3a||"`
alias=`grep "^$pkg " $ALIASES_DB` alias=`grep "^$pkg " $ALIASES_DB`
[ "$alias" ] || alias=`grep "^lib$pkg " $ALIASES_DB` [ "$alias" ] || alias=`grep "^lib$pkg " $ALIASES_DB`
[ "$alias" ] && pkgalias=${alias/* /} || pkgalias=$pkg [ "$alias" ] && pkgalias=${alias/* /} || pkgalias=$pkg
line=`grep -i "^$pkgalias:" $buildstmp || grep -i "^lib$pkgalias:" $buildstmp || grep -i " $pkgalias[^-_A-Za-z0-9]" $buildstmp` line=`grep -i "^$pkgalias:" $buildstmp || grep -i "^lib$pkgalias:" $buildstmp || grep -i " $pkgalias[^-_A-Za-z0-9]" $buildstmp`

View File

@ -4,7 +4,8 @@
# #
# Released under the terms of the GNU GPL release 3 license # Released under the terms of the GNU GPL release 3 license
# #
VERSION=0.9.7 VERSION=0.9.8
BASE_ARCH=i586 BASE_ARCH=i586
BASE_REPOSITORY=devel BASE_REPOSITORY=devel
PORT_REPOSITORY=devel PORT_REPOSITORY=devel
@ -244,7 +245,7 @@ fetch_repfiles() {
BUILD_ARCH=`uname -i` BUILD_ARCH=`uname -i`
case $BUILD_ARCH in case $BUILD_ARCH in
i386|i486|i686) BUILD_ARCH=i586 ;; i386|i486|i686) BUILD_ARCH=i586; BASE_ARCH=x86_64 ;;
arm*) BUILD_ARCH=arm ;; arm*) BUILD_ARCH=arm ;;
esac esac

View File

@ -8,14 +8,7 @@ SEND_SERVER=devel-autodist
#WEBBUILD_EMAIL= #WEBBUILD_EMAIL=
#WEBBUILD_SECRET= #WEBBUILD_SECRET=
WEBBUILD_STATEDIR=/var/webbuild WEBBUILD_STATEDIR=/var/webbuild
WEBBUILD_REPOSITORIES=(devel devel-games devel-kernel devel-kde4 devel-xorg devel-gnome devel-makedist \ WEBBUILD_DISTROQUERY_URL="http://www.openmamba.org/cgi-bin/distroquery"
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_MAXNUM=200
AUTOBUILD_DATEFROM=20060601 AUTOBUILD_DATEFROM=20060601
AUTOBUILD_SKIP_DAYS=28 AUTOBUILD_SKIP_DAYS=28

View File

@ -83,6 +83,102 @@ kdesdk,kdetoys,kdebindings,kdewebdev,kdeedu,kdeartwork,kde-i18n
) )
kde4=( kde4=(
kdelibs,kdepimlibs,oxygen-icons,nepomuk-core,kde-runtime,kactivities,kde-wallpapers,kde-baseapps,\
nepomuk-widgets,kdepim,kdepim-runtime,libkdcraw,libkexiv2,kdeartwork,marble,\
kdeplasma-addons,kde-l10n,blinken,libkipi,gwenview,libkdeedu,analitza,cantor,kalgebra,kalzium,kamera,\
kanagram,kate,kbruch,kcolorchooser,kdegraphics-strigi-analyzer,kgamma,kgeography,khangman,kig,kiten,\
klettres,kmplot,kolourpaint,konsole,kruler,ksnapshot,kstars,libksane,\
okular,smokegen,smokeqt,smokekde,svgpart,rocs,kwordquiz,kturtle,ktouch,qtruby,korundum,\
kross-interpreters,PyKDE4,perl-Qt4,perl-KDE,kdegraphics-thumbnailers,ksaneplugin,parley,step,\
ark,filelight,kcalc,kcharselect,kdf,kfloppy,kgpg,kremotecontrol,ktimer,sweeper,\
jovie,kmousetool,kmouth,qyoto,kimono,kaccessible,kdegraphics-mobipocket,\
libkcddb,libkcompactdisc,audiocd-kio,kscd,dragon,kmix,juk,print-manager,kdewebdev,\
kde-base-artwork,ffmpegthumbs,kmag,mplayerthumbs,superkaramba,\
libkdegames,bomber,bovo,granatier,kajongg,kapman,knavalbattle,katomic,kblackbox,kblocks,\
ksnakeduel,kbounce,kbreakout,kdiamond,kfourinline,kgoldrunner,kigo,killbots,kiriki,kjumpingcube,\
klickety,klines,libkmahjongg,kmahjongg,kmines,knetwalk,kolf,kollision,konquest,kpat,kshisen,\
kreversi,kspaceduel,ksquares,ksirk,ktuberling,kubrick,lskat,palapeli,ksudoku,pairs,picmi,\
amor,kteatime,ktux,kcron,ksystemlog,kuser,kdenetwork-filesharing,zeroconf-ioslave,kget,kopete,kppp,\
krdc,krfb,kdenetwork-strigi-analyzers,kdesdk-thumbnailers,cervisia,kcachegrind,kdesdk-kioslaves,\
libkomparediff2,kompare,lokalize,okteta,dolphin-plugins,umbrello,kapptemplate,kde-dev-scripts,\
kde-dev-utils,poxml,kdesdk-strigi-analyzers,kwalletmanager,baloo,kfilemetadata
%build_and_install,%continue_on_error
1,1
)
kde4123=(
kdelibs,kdepimlibs,oxygen-icons,nepomuk-core,kde-runtime,kactivities,kde-wallpapers,kde-baseapps,\
nepomuk-widgets,kdepim,kdepim-runtime,libkdcraw,libkexiv2,kdeartwork,marble,\
kdeplasma-addons,kde-l10n,blinken,libkipi,gwenview,libkdeedu,analitza,cantor,kalgebra,kalzium,kamera,\
kanagram,kate,kbruch,kcolorchooser,kdegraphics-strigi-analyzer,kgamma,kgeography,khangman,kig,kiten,\
klettres,kmplot,kolourpaint,konsole,kruler,ksnapshot,kstars,libksane,\
okular,smokegen,smokeqt,smokekde,svgpart,rocs,kwordquiz,kturtle,ktouch,qtruby,korundum,\
kross-interpreters,PyKDE4,perl-Qt4,perl-KDE,kdegraphics-thumbnailers,ksaneplugin,parley,step,\
ark,filelight,kcalc,kcharselect,kdf,kfloppy,kgpg,kremotecontrol,ktimer,sweeper,\
jovie,kmousetool,kmouth,qyoto,kimono,kaccessible,kdegraphics-mobipocket,\
libkcddb,libkcompactdisc,audiocd-kio,kscd,dragon,kmix,juk,print-manager,kdewebdev,\
kde-base-artwork,ffmpegthumbs,kmag,mplayerthumbs,superkaramba,\
libkdegames,bomber,bovo,granatier,kajongg,kapman,knavalbattle,katomic,kblackbox,kblocks,\
ksnakeduel,kbounce,kbreakout,kdiamond,kfourinline,kgoldrunner,kigo,killbots,kiriki,kjumpingcube,\
klickety,klines,libkmahjongg,kmahjongg,kmines,knetwalk,kolf,kollision,konquest,kpat,kshisen,\
kreversi,kspaceduel,ksquares,ksirk,ktuberling,kubrick,lskat,palapeli,ksudoku,pairs,picmi,\
amor,kteatime,ktux,kcron,ksystemlog,kuser,kdenetwork-filesharing,kdnssd,kget,kopete,kppp,\
krdc,krfb,kdenetwork-strigi-analyzers,kdesdk-thumbnailers,cervisia,kcachegrind,kdesdk-kioslaves,\
libkomparediff2,kompare,lokalize,okteta,dolphin-plugins,umbrello,kapptemplate,kde-dev-scripts,\
kde-dev-utils,poxml,kdesdk-strigi-analyzers
%build_and_install,%continue_on_error
1,1
)
# kwalletmanager
kde4122=(
kdelibs,kdepimlibs,oxygen-icons,nepomuk-core,kde-runtime,kactivities,kde-wallpapers,kde-baseapps,\
nepomuk-widgets,kdepim,kdepim-runtime,libkdcraw,libkexiv2,kdeartwork,marble,\
kdeplasma-addons,kde-l10n,blinken,libkipi,gwenview,libkdeedu,analitza,cantor,kalgebra,kalzium,kamera,\
kanagram,kate,kbruch,kcolorchooser,kdegraphics-strigi-analyzer,kgamma,kgeography,khangman,kig,kiten,\
klettres,kmplot,kolourpaint,konsole,kruler,ksnapshot,kstars,libksane,\
okular,smokegen,smokeqt,smokekde,svgpart,rocs,kwordquiz,kturtle,ktouch,qtruby,korundum,\
kross-interpreters,PyKDE4,perl-Qt4,perl-KDE,kdegraphics-thumbnailers,ksaneplugin,parley,step,\
ark,filelight,kcalc,kcharselect,kdf,kfloppy,kgpg,kremotecontrol,ktimer,kwallet,sweeper,\
jovie,kmousetool,kmouth,qyoto,kimono,kaccessible,kdegraphics-mobipocket,\
libkcddb,libkcompactdisc,audiocd-kio,kscd,dragon,kmix,juk,print-manager,kdewebdev,\
kde-base-artwork,ffmpegthumbs,kmag,mplayerthumbs,superkaramba,\
libkdegames,bomber,bovo,granatier,kajongg,kapman,knavalbattle,katomic,kblackbox,kblocks,\
ksnakeduel,kbounce,kbreakout,kdiamond,kfourinline,kgoldrunner,kigo,killbots,kiriki,kjumpingcube,\
klickety,klines,libkmahjongg,kmahjongg,kmines,knetwalk,kolf,kollision,konquest,kpat,kshisen,\
kreversi,kspaceduel,ksquares,ksirk,ktuberling,kubrick,lskat,palapeli,ksudoku,pairs,picmi,\
amor,kteatime,ktux,kcron,ksystemlog,kuser,kdenetwork-filesharing,kdnssd,kget,kopete,kppp,\
krdc,krfb,kdenetwork-strigi-analyzers,kdesdk-thumbnailers,cervisia,kcachegrind,kdesdk-kioslaves,\
libkomparediff2,kompare,lokalize,okteta,dolphin-plugins,umbrello,kapptemplate,kde-dev-scripts,\
kde-dev-utils,poxml,kdesdk-strigi-analyzers
%build_and_install,%continue_on_error
1,1
)
kde411=(
kdelibs,kdepimlibs,oxygen-icons,nepomuk-core,kde-runtime,kactivities,kde-workspace,kde-wallpapers,kde-baseapps,\
nepomuk-widgets,kdepim,kdepim-runtime,libkdcraw,libkexiv2,kdeartwork,marble,\
kdeplasma-addons,kde-l10n,blinken,libkipi,gwenview,libkdeedu,analitza,cantor,kalgebra,kalzium,kamera,\
kanagram,kate,kbruch,kcolorchooser,kdegraphics-strigi-analyzer,kgamma,kgeography,khangman,kig,kiten,\
klettres,kmplot,kolourpaint,konsole,kruler,ksnapshot,kstars,libksane,\
okular,smokegen,smokeqt,smokekde,svgpart,rocs,kwordquiz,kturtle,ktouch,qtruby,korundum,\
kross-interpreters,PyKDE4,perl-Qt4,perl-KDE,kdegraphics-thumbnailers,ksaneplugin,parley,step,\
ark,filelight,kcalc,kcharselect,kdf,kfloppy,kgpg,kremotecontrol,ktimer,kwallet,sweeper,\
jovie,kmousetool,kmouth,qyoto,kimono,kaccessible,kdegraphics-mobipocket,\
libkcddb,libkcompactdisc,audiocd-kio,kscd,dragon,kmix,juk,print-manager,kdewebdev,\
kde-base-artwork,ffmpegthumbs,kmag,mplayerthumbs,superkaramba,\
libkdegames,bomber,bovo,granatier,kajongg,kapman,knavalbattle,katomic,kblackbox,kblocks,\
ksnakeduel,kbounce,kbreakout,kdiamond,kfourinline,kgoldrunner,kigo,killbots,kiriki,kjumpingcube,\
klickety,klines,libkmahjongg,kmahjongg,kmines,knetwalk,kolf,kollision,konquest,kpat,kshisen,\
kreversi,kspaceduel,ksquares,ksirk,ktuberling,kubrick,lskat,palapeli,ksudoku,pairs,picmi,\
amor,kteatime,ktux,kcron,ksystemlog,kuser,kdenetwork-filesharing,kdnssd,kget,kopete,kppp,\
krdc,krfb,kdenetwork-strigi-analyzers,kdesdk-thumbnailers,cervisia,kcachegrind,kdesdk-kioslaves,\
kompare,lokalize,okteta,dolphin-plugins,umbrello,kapptemplate,kde-dev-scripts,kde-dev-utils,poxml
%build_and_install,%continue_on_error
1,1
)
kde410=(
kdelibs,kdepimlibs,oxygen-icons,nepomuk-core,kde-runtime,kactivities,kde-workspace,kde-wallpapers,kde-baseapps,\ kdelibs,kdepimlibs,oxygen-icons,nepomuk-core,kde-runtime,kactivities,kde-workspace,kde-wallpapers,kde-baseapps,\
nepomuk-widgets,kdepim4,kdepim-runtime,kdeadmin,kdenetwork,kdetoys,kdesdk,libkdcraw,libkexiv2,kdeartwork,marble,\ nepomuk-widgets,kdepim4,kdepim-runtime,kdeadmin,kdenetwork,kdetoys,kdesdk,libkdcraw,libkexiv2,kdeartwork,marble,\
kdeplasma-addons,kde-l10n,blinken,libkipi,gwenview,libkdeedu,analitza,cantor,kalgebra,kalzium,kamera,\ kdeplasma-addons,kde-l10n,blinken,libkipi,gwenview,libkdeedu,analitza,cantor,kalgebra,kalzium,kamera,\
@ -101,7 +197,6 @@ kreversi,kspaceduel,ksquares,ksirk,ktuberling,kubrick,lskat,palapeli,ksudoku,pai
%build_and_install,%continue_on_error %build_and_install,%continue_on_error
1,1 1,1
) )
# kdegames
xfce4=( xfce4=(
libxfce4util,libxfce4ui,xfce4-appfinder,xfce4-dev-tools,xfce4-panel,xfce4-session,xfce4-settings,xfconf,xfdesktop,xfwm4 libxfce4util,libxfce4ui,xfce4-appfinder,xfce4-dev-tools,xfce4-panel,xfce4-session,xfce4-settings,xfconf,xfdesktop,xfwm4
@ -128,11 +223,11 @@ netbeans-platform,netbeans
1 1
) )
firefox=( #firefox=(
xulrunner,firefox #xulrunner,firefox
%build_and_install #%build_and_install
1 #1
) #)
xfce=( xfce=(
libxfce4util,xfconf,libxfcegui4,libxfce4ui,xfce-utils,xfce4-appfinder,xfce4-panel,xfce4-session,xfdesktop,xfwm4 libxfce4util,xfconf,libxfcegui4,libxfce4ui,xfce-utils,xfce4-appfinder,xfce4-panel,xfce4-session,xfdesktop,xfwm4
@ -147,6 +242,12 @@ libSimGear,FlightGear
1 1
) )
mythtv=(
mythtv,mythplugins
%build_and_install
1
)
valknut=( valknut=(
libdc,valknut libdc,valknut
%build_and_install %build_and_install

View File

@ -67,9 +67,9 @@ cross_target_cpu,_target_platform,disable_java
i586,i586-openmamba-linux-gnu,- i586,i586-openmamba-linux-gnu,-
arm,arm-openmamba-linux-gnueabi,1 arm,arm-openmamba-linux-gnueabi,1
x86_64,x86_64-openmamba-linux-gnu,1 x86_64,x86_64-openmamba-linux-gnu,1
ppc,ppc-openmamba-linux-gnu,1
avr,avr,1 avr,avr,1
) )
#ppc,ppc-openmamba-linux-gnu,1
# #
# XTC 6 # XTC 6

View File

@ -42,3 +42,4 @@ python27
beecrypt beecrypt
ncurses ncurses
tcltk85 tcltk85
java-openjdk

View File

@ -30,3 +30,12 @@ beecrypt
gtk-doc gtk-doc
tzdata tzdata
db60 db60
ImageMagick
java-openjdk
java-gcj-compat
apache-log4j
java-icu4j4
mpg123
libgphoto
nfs-utils
git

View File

@ -2,8 +2,17 @@
# autoport global configuration # autoport global configuration
# #
local_ftp=/var/ftp/pub/openmamba/ local_ftp=/var/ftp/pub/openmamba/
#AUTOBUILDS_STATUS_URL="http://www.openmamba.org/distribution/autobuilds.html"
#AUTOPORT_ENABLE=1 #AUTOPORT_ENABLE=1
#AUTOPORT_CGI_HOST=(http://localhost/cgi-bin/autodist http://arm-sdk/cgi-bin/autodist) #AUTOPORT_CGI_HOST=(http://localhost/cgi-bin/autodist http://192.168.0.100/cgi-bin/autodist)
AUTOPORT_DEVEL_IMPORT_REPOSITORIES="devel-makedist devel devel-games devel-autodist devel-gnome \
devel-kde4 devel-xorg devel-kernel devel-misc devel-java devel-future devel-past devel-contrib devel-contrib-java"
AUTOPORT_DEVEL_RELEASE_REPOSITORIES="milestone2-makedist milestone2-kernel milestone2-kernel-next"
AUTOPORT_MILESTONE2_IMPORT_REPOSITORIES="milestone2-makedist milestone2-updates milestone2-kernel \
milestone2-kde4 milestone2-xorg milestone2-kernel-next milestone2"
#AUTOPORT_ARCH[0]=x86_64 #AUTOPORT_ARCH[0]=x86_64
#AUTOPORT_DISABLE[0]= #AUTOPORT_DISABLE[0]=
@ -13,6 +22,8 @@ local_ftp=/var/ftp/pub/openmamba/
#AUTOPORT_CROSS[0]= #AUTOPORT_CROSS[0]=
#AUTOPORT_NATIVE[0]= #AUTOPORT_NATIVE[0]=
#AUTOPORT_REPOSITORIES[0]="devel-makedist" #AUTOPORT_REPOSITORIES[0]="devel-makedist"
#AUTOPORT_BASE_REPOSITORY[0]="devel-makedist"
#AUTOPORT_IMPORT_REPOSITORIES[0]="$AUTOPORT_DEVEL_IMPORT_REPOSITORIES"
#AUTOPORT_ARCH[1]=i586 #AUTOPORT_ARCH[1]=i586
#AUTOPORT_DISABLE[1]= #AUTOPORT_DISABLE[1]=
@ -21,5 +32,7 @@ local_ftp=/var/ftp/pub/openmamba/
#AUTOPORT_CHROOT_ICECREAM[1]=1 #AUTOPORT_CHROOT_ICECREAM[1]=1
#AUTOPORT_CROSS[1]= #AUTOPORT_CROSS[1]=
#AUTOPORT_NATIVE[1]= #AUTOPORT_NATIVE[1]=
#AUTOPORT_BASE_REPOSITORY[0]="devel-autodist"
#AUTOPORT_REPOSITORIES[1]="milestone2-makedist" #AUTOPORT_REPOSITORIES[1]="milestone2-makedist"
AUTOPORT_CGI_HOST=(http://localhost/cgi-bin/autodist http://192.168.0.100/cgi-bin/autodist) #AUTOPORT_BASE_REPOSITORY[0]="milestone2-makedist"
#AUTOPORT_IMPORT_REPOSITORIES[0]="$AUTOPORT_DEVEL_IMPORT_REPOSITORIES"

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# #
# webbuild cgi script # webbuild cgi script
# Copyright (c) 2012-2013 by Silvan Calarco <silvan.calarco@mambasoft.it> # Copyright (c) 2012-2014 by Silvan Calarco <silvan.calarco@mambasoft.it>
# #
. /usr/share/autodist/webbuild-functions . /usr/share/autodist/webbuild-functions
. /usr/share/autodist/webbuild-functions-private . /usr/share/autodist/webbuild-functions-private
@ -461,7 +461,7 @@ if [ "$REQUEST" = "repsearch" ]; then
echo -n "<output><![CDATA[" echo -n "<output><![CDATA["
echo -n "<hr><b>Search results for \"$REPSEARCHTEXT\":</b><div align=left class=output id=outputtop style=\"font-family:serif;color:black;background-color:#E0F2D0;\">" echo -n "<hr><b>Search results for \"$REPSEARCHTEXT\":</b><div align=left class=output id=outputtop style=\"font-family:serif;color:black;background-color:#E0F2D0;\">"
# echo -n "<pre><!-- SCROLL -->" # echo -n "<pre><!-- SCROLL -->"
curl -s "http://test.openmamba.org/cgi-bin/distroquery?query=$REPSEARCHTEXT&search_milestone2=true&search_devel=true\ curl -s "${WEBBUILD_DISTROQUERY_URL}?query=$REPSEARCHTEXT&search_milestone2=true&search_devel=true\
&search_i586=true&search_x86_64=true&search_arm=true&search_sources=true&query_compact=true&replyplain=true" &search_i586=true&search_x86_64=true&search_arm=true&search_sources=true&query_compact=true&replyplain=true"
# $SUDO_WRAPPER 0 local "$USER" "" "openmamba-repository search -i ${REPSEARCHTEXT/-/\-}" | \ # $SUDO_WRAPPER 0 local "$USER" "" "openmamba-repository search -i ${REPSEARCHTEXT/-/\-}" | \
# parse_search_output ${AUTOPORT_ARCH[$ENVIRONMENT]} # parse_search_output ${AUTOPORT_ARCH[$ENVIRONMENT]}
@ -886,16 +886,14 @@ if [ "$MAINTAINERMODE" = "true" -o ! "${AUTOPORT_UPDATE[$ENVIRONMENT]}" ]; then
SRPMBUTTONDISABLED="disabled=disabled" SRPMBUTTONDISABLED="disabled=disabled"
if [ -e $local_ftp/$REPOSITORY ]; then if [ -e $local_ftp/$REPOSITORY ]; then
if [ $local_ftp/$REPOSITORY/SRPMS.base -nt $WEBBUILD_STATEDIR/cache/repository-src-$REPOSITORY ]; then if [ $local_ftp/$REPOSITORY/SRPMS.base -nt $WEBBUILD_STATEDIR/cache/repository-src-$REPOSITORY ]; then
ls $local_ftp/$REPOSITORY/SRPMS.base/*.src.rpm | sort -f > $WEBBUILD_STATEDIR/cache/repository-src-$REPOSITORY ls $local_ftp/$REPOSITORY/SRPMS.base/ | grep ".src.rpm$" | sort -f > $WEBBUILD_STATEDIR/cache/repository-src-$REPOSITORY
fi fi
else else
curl $REPS_BASE_URL/$REPOSITORY/SRPMS.base/ | grep .src.rpm | \ curl $REPS_BASE_URL/$REPOSITORY/SRPMS.base/ | grep .src.rpm | \
sed "s|.*\.src\.rpm\">\(.*\)</a>.*|\1|" | sort -f > $WEBBUILD_STATEDIR/cache/repository-src-$REPOSITORY sed "s|.*\.src\.rpm\">\(.*\)</a>.*|\1|" | sort -f > $WEBBUILD_STATEDIR/cache/repository-src-$REPOSITORY
fi fi
while read f; do while read f; do
# [ -r $f ] || continue pkgname=${f%.src.rpm}
pkgname=`basename $f`
pkgname=${pkgname%.src.rpm}
pkgrel=${pkgname/*-} pkgrel=${pkgname/*-}
pkgname=${pkgname%-$pkgrel} pkgname=${pkgname%-$pkgrel}
pkgver=${pkgname/*-} pkgver=${pkgname/*-}
@ -2108,10 +2106,11 @@ if [ "$MAINTAINERMODE" = "true" ]; then
# echo "<option value=\"\">-- Select a SRPM package --</option>" # echo "<option value=\"\">-- Select a SRPM package --</option>"
echo -n "<label><input type=checkbox name=pkgsselectallcheckbox value=\"\" onclick=checkAllBoxes('packagescheckbox',this.checked);>select/unselect all</label>" echo -n "<label><input type=checkbox name=pkgsselectallcheckbox value=\"\" onclick=checkAllBoxes('packagescheckbox',this.checked);>select/unselect all</label>"
echo -n "<div class=multiselect>" echo -n "<div class=multiselect>"
ls $local_ftp/$REPOSITORY/SRPMS.base/*.src.rpm | sort -f | while read f; do if [ $local_ftp/$REPOSITORY/SRPMS.base -nt $WEBBUILD_STATEDIR/cache/repository-src-$REPOSITORY ]; then
[ -r $f ] || continue ls $local_ftp/$REPOSITORY/SRPMS.base/ | grep ".src.rpm$" | sort -f > $WEBBUILD_STATEDIR/cache/repository-src-$REPOSITORY
pkgname=`basename $f` fi
pkgname=${pkgname/.src.rpm} while read f; do
pkgname=${f/.src.rpm}
pkgrel=${pkgname/*-} pkgrel=${pkgname/*-}
pkgname=${pkgname/-$pkgrel} pkgname=${pkgname/-$pkgrel}
pkgver=${pkgname/*-} pkgver=${pkgname/*-}
@ -2123,7 +2122,7 @@ if [ "$MAINTAINERMODE" = "true" ]; then
SELECTED= SELECTED=
fi fi
echo -n "<label><input type=checkbox name=packagescheckbox value=\"$pkgname\" $SELECTED>${pkgname} ${pkgver}-${pkgrel}</label>" echo -n "<label><input type=checkbox name=packagescheckbox value=\"$pkgname\" $SELECTED>${pkgname} ${pkgver}-${pkgrel}</label>"
done done < $WEBBUILD_STATEDIR/cache/repository-src-$REPOSITORY
echo -n "</div>" echo -n "</div>"
echo -n "Origin: <b>$REPOSITORY</b>" echo -n "Origin: <b>$REPOSITORY</b>"
# repository sync # repository sync