SRCEXPR pointing to wrong SVN URL on CentOS 6.x

Sysadmin Team <[email protected]> Fri, 7 Oct 2016 23:46:20 +0000 (UTC)
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <[email protected]>
Hello! 

We are having an issue with /usr/sbin/update-smart-drivedb with package: 



# rpm -qf /usr/sbin/update-smart-drivedb 
smartmontools-5.43-1.el6.x86_64 




CentOS 6.7 x86_64 




It appears that the SRCEXPR points to the wrong URL, for example: 




SRCEXPR='http://smartmontools.svn.sourceforge.net/viewvc/smartmontools/$location/smartmontools/drivedb.h?revision=HEAD' 






This should be: 




SRCEXPR='https://sourceforge.net/p/smartmontools/code/HEAD/tree/$location/smartmontools/drivedb.h?format=raw'; 






~ curl -I "http://smartmontools.svn.sourceforge.net/viewvc/smartmontools/trunk/smartmontools/drivedb.h?revision=HEAD" 
HTTP/1.1 302 Found 
Server: nginx 
Date: Fri, 07 Oct 2016 23:45:43 GMT 
Content-Type: text/html; charset=iso-8859-1 
Connection: keep-alive 
Location: http://sourceforge.net/p/smartmontools/code/ 






☁ ~ curl -I "https://sourceforge.net/p/smartmontools/code/HEAD/tree/trunk/smartmontools/drivedb.h?format=raw" 
HTTP/1.1 200 OK 
Server: nginx 
Date: Fri, 07 Oct 2016 23:45:57 GMT 
Content-Type: text/x-chdr; charset=utf-8 
Connection: close 
Pragma: no-cache 
Cache-Control: no-cache 
Content-Disposition: attachment;filename="drivedb.h" 
X-Content-Type-Options: nosniff 
X-Frame-Options: SAMEORIGIN 









Just notifying the list of this issue, so it can be corrected in the next update.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

_______________________________________________
Smartmontools-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartmontools-support