Source: khronos-opengl-man4
Version: 1.0~svn31251-1
Severity: minor
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps

Dear Maintainer,

I've noticed that the get-orig-source target is implemented in a way
that's susceptible to bitrot: the 'svn export' command it uses could
retrieve a different source tree in a year than it does today, due to
passing an implicit peg revision of "HEAD" (which is mutable).

The following patch fixes the issue:

[[[
Index: debian/get-orig-source
===================================================================
--- debian/get-orig-source      (revision 6506)
+++ debian/get-orig-source      (working copy)
@@ -20,7 +20,7 @@ fi
 FOLDER=${PACKAGE}-${VERSION}
 
 
URL=https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/docs/man4/ 
-svn export --quiet --revision ${REVISION} ${URL} ${FOLDER}
+svn export --quiet ${URL}@${REVISION} ${FOLDER}
 
 # we will re-generate them anyway:
 rm ${FOLDER}/xhtml/*.xml
]]]

The reference documentation is
<http://svnbook.red-bean.com/en/1.8/svn.advanced.pegrevs.html#svn.advanced.pegrevs.algorithm>.

Cheers,

Daniel

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to