mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-22 05:49:03 +01:00
"- no longer building signed source packages, only a singed md5sum file
- cleaner md5sum file, the old gave me a headache ;-)"
This commit is contained in:
parent
3f192310f1
commit
cee16708ff
@ -165,42 +165,57 @@ echo "done" >> $LOGFILE 2>&1
|
||||
|
||||
echo "Building tar.gz, tar.bz and zip archives finnished" >> $LOGFILE 2>&1
|
||||
|
||||
# we are no longer building extra signed source files, only a singed md5sum file
|
||||
#
|
||||
# echo "Create the md5sum file for tar.gz, tar.bz, zip ($MD5SUM)" >> $LOGFILE 2>&1
|
||||
# echo "Build signed source files" >> $LOGFILE 2>&1
|
||||
# echo "---------------------------------------" >> $LOGFILE 2>&1
|
||||
#
|
||||
# FILENAMES="eGroupWare"
|
||||
# for FILENAME in $EXTRAPACKAGES; do
|
||||
# FILENAMES="$FILENAMES eGroupWare-$FILENAME"
|
||||
# done
|
||||
#
|
||||
# echo "FILENAMES: $FILENAMES"
|
||||
#
|
||||
# for EXTENSION in -svn.tar.bz2 -svn.tar.gz -svn.zip .tar.bz2 .tar.gz .zip; do
|
||||
# for f in $FILENAMES; do
|
||||
# PACKAGENAME=$f-$VERSION.$PACKAGING$EXTENSION
|
||||
# echo "md5sum from file $PACKAGENAME is:" >> $MD5SUM
|
||||
# md5sum $SRCDIR/$PACKAGENAME | cut -f1 -d' ' >> $MD5SUM 2>&1
|
||||
# echo "---------------------------------------" >> $MD5SUM 2>&1
|
||||
# echo " " >> $MD5SUM 2>&1
|
||||
#
|
||||
# echo "Build signed source files" >> $LOGFILE 2>&1
|
||||
# rm -f $SRCDIR/$PACKAGENAME.gpg >> $LOGFILE 2>&1
|
||||
# gpg --local-user packager@egroupware.org -s $SRCDIR/$PACKAGENAME >> $LOGFILE 2>&1
|
||||
# done
|
||||
# done
|
||||
# echo "------------------------------------------" >> $LOGFILE 2>&1
|
||||
# echo "End Build md5sum of tar.gz, tar.bz, zip" >> $LOGFILE 2>&1
|
||||
# echo "End build of signed of tar.gz, tar.bz, zip" >> $LOGFILE 2>&1
|
||||
# echo "------------------------------------------" >> $LOGFILE 2>&1
|
||||
|
||||
echo "------------------------------------------" >> $LOGFILE 2>&1
|
||||
echo "Create the md5sum file for tar.gz, tar.bz, zip ($MD5SUM)" >> $LOGFILE 2>&1
|
||||
echo "Build signed source files" >> $LOGFILE 2>&1
|
||||
echo "---------------------------------------" >> $LOGFILE 2>&1
|
||||
|
||||
FILENAMES="eGroupWare"
|
||||
for FILENAME in $EXTRAPACKAGES; do
|
||||
FILENAMES="$FILENAMES eGroupWare-$FILENAME"
|
||||
done
|
||||
|
||||
echo "FILENAMES: $FILENAMES"
|
||||
|
||||
for EXTENSION in -svn.tar.bz2 -svn.tar.gz -svn.zip .tar.bz2 .tar.gz .zip; do
|
||||
for f in $FILENAMES; do
|
||||
PACKAGENAME=$f-$VERSION.$PACKAGING$EXTENSION
|
||||
echo "md5sum from file $PACKAGENAME is:" >> $MD5SUM
|
||||
md5sum $SRCDIR/$PACKAGENAME | cut -f1 -d' ' >> $MD5SUM 2>&1
|
||||
echo "---------------------------------------" >> $MD5SUM 2>&1
|
||||
echo " " >> $MD5SUM 2>&1
|
||||
|
||||
echo "Build signed source files" >> $LOGFILE 2>&1
|
||||
rm -f $SRCDIR/$PACKAGENAME.gpg >> $LOGFILE 2>&1
|
||||
gpg --local-user packager@egroupware.org -s $SRCDIR/$PACKAGENAME >> $LOGFILE 2>&1
|
||||
done
|
||||
done
|
||||
echo "------------------------------------------" >> $LOGFILE 2>&1
|
||||
echo "End Build md5sum of tar.gz, tar.bz, zip" >> $LOGFILE 2>&1
|
||||
echo "End build of signed of tar.gz, tar.bz, zip" >> $LOGFILE 2>&1
|
||||
echo "------------------------------------------" >> $LOGFILE 2>&1
|
||||
|
||||
echo "sign the md5sum file" >> $LOGFILE 2>&1
|
||||
rm -f $MD5SUM.asc >> $LOGFILE 2>&1
|
||||
# cleaner md5sum file, the old one gave me a headache ;-)
|
||||
cd $SRCDIR
|
||||
for f in eGroupWare-$VERSION.$PACKAGING.*
|
||||
do
|
||||
md5sum $f >> $MD5SUM 2>&1
|
||||
done
|
||||
|
||||
echo "sign the md5sum file" >> $LOGFILE 2>&1
|
||||
rm -f $MD5SUM.asc >> $LOGFILE 2>&1
|
||||
gpg --local-user packager@egroupware.org --clearsign $MD5SUM >> $LOGFILE 2>&1
|
||||
echo "---------------------------------------" >> $LOGFILE 2>&1
|
||||
|
||||
echo "delete the original md5sum file" >> $LOGFILE 2>&1
|
||||
rm -rf $MD5SUM >> $LOGFILE 2>&1
|
||||
echo "---------------------------------------" >> $LOGFILE 2>&1
|
||||
echo "delete the original md5sum file" >> $LOGFILE 2>&1
|
||||
rm -rf $MD5SUM >> $LOGFILE 2>&1
|
||||
|
||||
echo "Building of $PACKAGENAME $VERSION finnished" >> $LOGFILE 2>&1
|
||||
echo "------------------------------------------" >> $LOGFILE 2>&1
|
||||
echo "End Create md5sum of tar.gz, tar.bz, zip" >> $LOGFILE 2>&1
|
||||
echo "------------------------------------------" >> $LOGFILE 2>&1
|
||||
|
||||
echo "Building of $PACKAGENAME $VERSION finnished" >> $LOGFILE 2>&1
|
||||
|
Loading…
Reference in New Issue
Block a user