You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2009/07/01 23:34:33 UTC

svn commit: r790388 - in /spamassassin/trunk/build: announcements/3.3.0-alpha1.txt update_devel_rules update_stable

Author: jm
Date: Wed Jul  1 21:34:32 2009
New Revision: 790388

URL: http://svn.apache.org/viewvc?rev=790388&view=rev
Log:
update to build scripts for 3.3.0-alpha1 tarballs; add first draft of a 3.3.0-alpha1 announcement

Added:
    spamassassin/trunk/build/announcements/3.3.0-alpha1.txt
Modified:
    spamassassin/trunk/build/update_devel_rules
    spamassassin/trunk/build/update_stable

Added: spamassassin/trunk/build/announcements/3.3.0-alpha1.txt
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/announcements/3.3.0-alpha1.txt?rev=790388&view=auto
==============================================================================
--- spamassassin/trunk/build/announcements/3.3.0-alpha1.txt (added)
+++ spamassassin/trunk/build/announcements/3.3.0-alpha1.txt Wed Jul  1 21:34:32 2009
@@ -0,0 +1,43 @@
+To: users, dev, announce
+Subject: ANNOUNCE: Apache SpamAssassin 3.3.0-alpha1 available
+
+Apache SpamAssassin 3.3.0-alpha1 is now available for testing.
+
+Downloads are available from:
+  http://people.apache.org/~jm/devel/
+
+md5sum of archive files:
+
+  04141392e1f20ea4a91bb63937351c65  Mail-SpamAssassin-3.3.0-alpha1.tar.bz2
+  1532b02384c37b4fb40ff1244bca3ec5  Mail-SpamAssassin-3.3.0-alpha1.tar.gz
+  c2d80477b20b571b591eae11993dcf03  Mail-SpamAssassin-3.3.0-alpha1.zip
+  3cb55fc1bd84bc93013638f9f8fa88c0  Mail-SpamAssassin-rules-3.3.0-alpha1.tgz
+
+sha1sum of archive files:
+
+  f8b5236c0ef1de82699b4bf8e29cd3e0f0b18bfd  Mail-SpamAssassin-3.3.0-alpha1.tar.bz2
+  de65e1d5f29b954b2c60d58f10a6dc710a8a3629  Mail-SpamAssassin-3.3.0-alpha1.tar.gz
+  cc0c7531f666e48e1593054cfa2bb70336ca2f13  Mail-SpamAssassin-3.3.0-alpha1.zip
+  83b0559399a1849063cfcf209be9d23eab1f8267  Mail-SpamAssassin-rules-3.3.0-alpha1.tgz
+
+
+The release files also have a .asc accompanying them.  The file serves
+as an external GPG signature for the given release file.  The signing
+key is available via the wwwkeys.pgp.net key server, as well as
+http://spamassassin.apache.org/released/GPG-SIGNING-KEY
+
+The key information is:
+
+pub 1024D/265FA05B 2003-06-09 SpamAssassin Signing Key <re...@spamassassin.org>
+    Key fingerprint = 26C9 00A4 6DD4 0CD5 AD24  F6D7 DEE0 1987 265F A05B
+
+See the INSTALL and UPGRADE files in the distribution for important
+installation notes.
+
+Summary of major changes since 3.2.6
+------------------------------------
+
+Changes to the core code:
+
+[TODO: write changes list]
+

Modified: spamassassin/trunk/build/update_devel_rules
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/update_devel_rules?rev=790388&r1=790387&r2=790388&view=diff
==============================================================================
--- spamassassin/trunk/build/update_devel_rules (original)
+++ spamassassin/trunk/build/update_devel_rules Wed Jul  1 21:34:32 2009
@@ -2,7 +2,8 @@
 
 umask 002
 
-tmpdir=`pwd`/tmp/rulesdir.$$
+srcdir=`pwd`
+tmpdir=$srcdir/tmp/rulesdir.$$
 rm -rf $tmpdir; mkdir -p $tmpdir         || exit $?
 
 
@@ -43,13 +44,13 @@
   # Use this to include plugin .pm files:
   # tar cvf - *.cf *.pm                  || exit $?
 
-  # or this, to ban code from the updates:
+  # or this, to ban code from the rules:
   tar cvf - [0-9]*.cf                    || exit $?
 
-) | gzip -9 > $tmpdir/update.tgz         || exit $?
+) | gzip -9 > $tmpdir/rules.tgz         || exit $?
 
 # ensure non-empty
-[ -s $tmpdir/update.tgz ] || exit 3
+[ -s $tmpdir/rules.tgz ] || exit 3
 
 linttmp=$tmpdir/lintdir
 rm -rf $linttmp
@@ -57,7 +58,7 @@
 (
   cd $linttmp
   # check validity of tarball; also extract
-  gunzip -cd < $tmpdir/update.tgz | tar xf - || exit $?
+  gunzip -cd < $tmpdir/rules.tgz | tar xf - || exit $?
 )
 
 sitetmp=$tmpdir/sitetmp
@@ -72,19 +73,23 @@
                 || exit $?
 
 # sign and get sums
-rm -f $tmpdir/update.*.asc
+rm -f $tmpdir/rules.*.asc
 if [ -d $HOME/sabuildtools/sasigningkey ]; then
   $HOME/sabuildtools/bin/gpg --homedir $HOME/sabuildtools/sasigningkey \
-        -bsa $tmpdir/update.tgz                  || exit $?
+        -bsa $tmpdir/rules.tgz                  || exit $?
 fi
 
-$PERL build/md5sum.pl $tmpdir/update.tgz > $tmpdir/update.tgz.md5    || exit $?
-$PERL build/sha1sum.pl $tmpdir/update.tgz > $tmpdir/update.tgz.sha1  || exit $?
+(
+  cd $tmpdir
+  ln rules.tgz $DISTVNAME.tgz
+  $PERL $srcdir/build/md5sum.pl $DISTVNAME.tgz > rules.tgz.md5    || exit $?
+  $PERL $srcdir/build/sha1sum.pl $DISTVNAME.tgz > rules.tgz.sha1  || exit $?
+)
 
 for ext in tgz tgz.md5 tgz.sha1 tgz.asc ; do
   rm -f $RELDIR/$DISTVNAME.$ext
-  if [ -f $tmpdir/update.$ext ] ; then
-    mv $tmpdir/update.$ext $RELDIR/$DISTVNAME.$ext
+  if [ -f $tmpdir/rules.$ext ] ; then
+    mv $tmpdir/rules.$ext $RELDIR/$DISTVNAME.$ext
     ls -l $RELDIR/$DISTVNAME.$ext
   fi
 done

Modified: spamassassin/trunk/build/update_stable
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/update_stable?rev=790388&r1=790387&r2=790388&view=diff
==============================================================================
--- spamassassin/trunk/build/update_stable (original)
+++ spamassassin/trunk/build/update_stable Wed Jul  1 21:34:32 2009
@@ -4,7 +4,7 @@
 # A whole bunch of variables are defined in that file!
 . build/update_devel
 
-# build/mkrpm
+MAINDISTVNAME=$DISTVNAME
 
 rm -rf $WEBDIR/doc
 tar cf - --exclude=CVS --exclude='.#*' doc | ( cd $WEBDIR ; tar xf - )
@@ -14,9 +14,13 @@
 set +x
 echo
 
-echo "  md5sum of archive files:"
+echo "md5sum of archive files:"
+echo
+cat $RELDIR/$MAINDISTVNAME.*.md5 | sed -e 's/^/  /'
 cat $RELDIR/$DISTVNAME.*.md5 | sed -e 's/^/  /'
 echo
-echo "  sha1sum of archive files:"
+echo "sha1sum of archive files:"
+echo
+cat $RELDIR/$MAINDISTVNAME.*.sha1 | sed -e 's/^/  /'
 cat $RELDIR/$DISTVNAME.*.sha1 | sed -e 's/^/  /'