[openssl-commits] [openssl] OpenSSL_1_0_1-stable update

Richard Levitte levitte at openssl.org
Mon Dec 7 15:25:22 UTC 2015


The branch OpenSSL_1_0_1-stable has been updated
       via  641365436e363550486f74a3fe723b281c9ff81c (commit)
       via  1e8a87295e4e7f753cff47f9728487b74c4b932b (commit)
       via  3b92a6fe4f2a8f260c166fc330b3f1e85f31b351 (commit)
      from  d82626caec9cb3f8da346125434f17eb180d4ef1 (commit)


- Log -----------------------------------------------------------------
commit 641365436e363550486f74a3fe723b281c9ff81c
Author: Richard Levitte <levitte at openssl.org>
Date:   Mon Dec 7 15:56:27 2015 +0100

    Do not add symlinks in the source release
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    (cherry picked from commit 451a5bdf0386d7acf091c3e3b39107e5ed8be25d)

commit 1e8a87295e4e7f753cff47f9728487b74c4b932b
Author: Richard Levitte <levitte at openssl.org>
Date:   Mon Dec 7 15:47:43 2015 +0100

    In travis, build from a "source release" rather than from the build tree
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    (cherry picked from commit 475fc3d8729190fd12b4ff23d6ec488439fb78f9)

commit 3b92a6fe4f2a8f260c166fc330b3f1e85f31b351
Author: Richard Levitte <levitte at openssl.org>
Date:   Mon Dec 7 15:45:50 2015 +0100

    Small changes to creating dists
    
    Make TARFILE include ../ instead of having that hard coded all over the place.
    When transforming file names in TAR_COMMAND, use $(NAME) instead of openssl-$(VERSION)
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    (cherry picked from commit 4a544810f08539f1549eea9be36bd878c67c8e26)

-----------------------------------------------------------------------

Summary of changes:
 .travis.yml  |  6 ++++++
 Makefile.org | 34 +++++++++++++++-------------------
 2 files changed, 21 insertions(+), 19 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 397ac1d..288a3f1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -32,6 +32,9 @@ matrix:
           env: CONFIG_OPTS="-d --strict-warnings"
 
 before_script:
+    - make -f Makefile.org TARFILE=_srcdist.tar NAME=_srcdist dist
+    - tar -xvzf _srcdist.tar.gz
+    - cd _srcdist
     - if [ "$CC" == i686-w64-mingw32-gcc ]; then
           export CROSS_COMPILE=${CC%%gcc}; unset CC;
           ./Configure mingw $CONFIG_OPTS;
@@ -41,10 +44,13 @@ before_script:
       else
           ./config $CONFIG_OPTS;
       fi
+    - cd ..
 
 script:
+    - cd _srcdist
     - make
     - if [ -z "$CROSS_COMPILE" ]; then make test; fi
+    - cd ..
 
 notifications:
     recipient:
diff --git a/Makefile.org b/Makefile.org
index aa8776e..7e7728f 100644
--- a/Makefile.org
+++ b/Makefile.org
@@ -180,7 +180,6 @@ GENERAL=        Makefile
 BASENAME=       openssl
 NAME=           $(BASENAME)-$(VERSION)
 TARFILE=        $(NAME).tar
-WTARFILE=       $(NAME)-win.tar
 EXHEADER=       e_os2.h
 HEADER=         e_os.h
 
@@ -499,38 +498,35 @@ TABLE: Configure
 # would occur. Therefore the list of files is temporarily stored into a file
 # and read directly, requiring GNU-Tar. Call "make TAR=gtar dist" if the normal
 # tar does not support the --files-from option.
-TAR_COMMAND=$(TAR) $(TARFLAGS) --files-from ../$(TARFILE).list \
+TAR_COMMAND=$(TAR) $(TARFLAGS) --files-from $(TARFILE).list \
 	                       --owner openssl:0 --group openssl:0 \
-			       --transform 's|^|openssl-$(VERSION)/|' \
+			       --transform 's|^|$(NAME)/|' \
 			       -cvf -
 
-../$(TARFILE).list:
+$(TARFILE).list:
 	find * \! -name STATUS \! -name TABLE \! -name '*.o' \! -name '*.a' \
 	       \! -name '*.so' \! -name '*.so.*'  \! -name 'openssl' \
-	       \! -name '*test' \! -name '.#*' \! -name '*~' \
-	    | sort > ../$(TARFILE).list
+	       \! -name '*test' \! -name '.#*' \! -name '*~' \!	-xtype l \
+	    | sort > $(TARFILE).list
 
-tar: ../$(TARFILE).list
+tar: $(TARFILE).list
 	find . -type d -print | xargs chmod 755
 	find . -type f -print | xargs chmod a+r
 	find . -type f -perm -0100 -print | xargs chmod a+x
-	$(TAR_COMMAND) | gzip --best >../$(TARFILE).gz
-	rm -f ../$(TARFILE).list
-	ls -l ../$(TARFILE).gz
+	$(TAR_COMMAND) | gzip --best > $(TARFILE).gz
+	rm -f $(TARFILE).list
+	ls -l $(TARFILE).gz
 
-tar-snap: ../$(TARFILE).list
-	$(TAR_COMMAND) > ../$(TARFILE)
-	rm -f ../$(TARFILE).list
-	ls -l ../$(TARFILE)
+tar-snap: $(TARFILE).list
+	$(TAR_COMMAND) > $(TARFILE)
+	rm -f $(TARFILE).list
+	ls -l $(TARFILE)
 
 dist:   
 	$(PERL) Configure dist
-	@$(MAKE) dist_pem_h
 	@$(MAKE) SDIRS='$(SDIRS)' clean
-	@$(MAKE) TAR='$(TAR)' TARFLAGS='$(TARFLAGS)' tar
-
-dist_pem_h:
-	(cd crypto/pem; $(MAKE) -e $(BUILDENV) pem.h; $(MAKE) clean)
+	@$(MAKE) TAR='$(TAR)' TARFLAGS='$(TARFLAGS)' \
+	         TARFILE='$(TARFILE)' NAME='$(NAME)' tar
 
 install: all install_docs install_sw
 


More information about the openssl-commits mailing list