+openrocket (15.03.2) unstable; urgency=medium
+
+ * rework code to fetch from new upstream home on github, closes: #760961
+
+ -- Bdale Garbee <bdale@gag.com> Sat, 28 Jul 2018 10:29:19 +0800
+
openrocket (15.03.1) unstable; urgency=low
* add unzip dependency
Standards-Version: 3.9.6
Homepage: http://openrocket.sourceforge.net/
Vcs-Git: git://git.gag.com/debian/openrocket
-Vcs-Browser: http://git.gag.com/?p=debian/openrocket
+Vcs-Browser: https://git.gag.com/?p=debian/openrocket
Package: openrocket
Architecture: all
}
get_download_url() {
- url=`wget -qO - http://openrocket.sourceforge.net | grep https | grep download | awk -F\" '{ print $4 }'`
+ url=`wget --no-check-certificate -qO - https://openrocket.info | grep https | grep download | awk '{ print $5 }' | grep https | sed -e 's/href=\"//g' -e 's/\"//g'`
}
get_upstream_version() {
get_download_url
- upstream=`echo $url | awk -F/ '{ print $8 }'`
+ upstream=`echo $url | awk -F/ '{ print $8 }' | sed -e 's/release-//g'`
}
case "$ACTION" in
rm -f $targetdir/*.jar
[ "$verbose" != "yes" ] || echo "moving download to $targetdir ..."
- mv -f download $targetdir/OpenRocket-$upstream.jar
+ mv -f OpenRocket-$upstream.jar $targetdir/OpenRocket-$upstream.jar
[ "$verbose" != "yes" ] || ( get_installed_version && echo "create /usr/bin/openrocket wrapper" )