Skip to content

Commit

Permalink
Replace all http://libusb.info/ with https
Browse files Browse the repository at this point in the history
The libusb.info website, like most sites these days, auto-redirects to
the https version anyway.

Also replaced a couple of other http links to https, after verifying
that they autoredirect to https.

Note this changes the "describe" field in the version info returned by
libusb_get_version(). This field is only there for ABI compatibility and
contains the website URL.

Closes libusb#1407
  • Loading branch information
seanm authored and tormodvolden committed Jan 19, 2024
1 parent 9a4ec8b commit 5e4b389
Show file tree
Hide file tree
Showing 14 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .private/wbs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ o Additional information:
http://windows.libusb.info/#Driver_Installation
- The MinGW and MS generated DLLs are fully interchangeable, provided that you
use the import libs provided or generate one from the .def also provided.
- If you find any issue, please visit http://libusb.info/ and check the
- If you find any issue, please visit https://libusb.info/ and check the
Support section
4 changes: 2 additions & 2 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
For the latest libusb news, please refer to the ChangeLog file, or visit:
http://libusb.info
For the latest libusb news, please refer to the ChangeLog file, or visit:
https://libusb.info
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ be ported to other operating systems. Please see the [PORTING](PORTING)
file for more information.

libusb homepage:
http://libusb.info/
https://libusb.info/

Developers will wish to consult the API documentation:
http://api.libusb.info
Expand Down
2 changes: 1 addition & 1 deletion Xcode/common.xcconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// libusb Xcode configuration file
// Copyright © 2012 Pete Batard <[email protected]>
// For more information, please visit: <http://libusb.info>
// For more information, please visit: <https://libusb.info>
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
Expand Down
2 changes: 1 addition & 1 deletion Xcode/debug.xcconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// libusb Xcode configuration file
// Copyright © 2012 Pete Batard <[email protected]>
// For more information, please visit: <http://libusb.info>
// For more information, please visit: <https://libusb.info>
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
Expand Down
2 changes: 1 addition & 1 deletion Xcode/libusb.xcconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// libusb Xcode configuration file
// Copyright © 2012 Pete Batard <[email protected]>
// For more information, please visit: <http://libusb.info>
// For more information, please visit: <https://libusb.info>
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
Expand Down
2 changes: 1 addition & 1 deletion Xcode/libusb_debug.xcconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// libusb Xcode configuration file
// Copyright © 2012 Pete Batard <[email protected]>
// For more information, please visit: <http://libusb.info>
// For more information, please visit: <https://libusb.info>
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
Expand Down
2 changes: 1 addition & 1 deletion Xcode/libusb_release.xcconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// libusb Xcode configuration file
// Copyright © 2012 Pete Batard <[email protected]>
// For more information, please visit: <http://libusb.info>
// For more information, please visit: <https://libusb.info>
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
Expand Down
2 changes: 1 addition & 1 deletion Xcode/release.xcconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// libusb Xcode configuration file
// Copyright © 2012 Pete Batard <[email protected]>
// For more information, please visit: <http://libusb.info>
// For more information, please visit: <https://libusb.info>
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ LU_DEFINE_VERSION_ATOM([LIBUSB_MICRO])
LU_DEFINE_VERSION_RC_ATOM([LIBUSB_RC])

AC_PREREQ([2.69])
AC_INIT([libusb-1.0], [LIBUSB_MAJOR[.]LIBUSB_MINOR[.]LIBUSB_MICRO[]LIBUSB_RC], [[email protected]], [libusb-1.0], [http://libusb.info])
AC_INIT([libusb-1.0], [LIBUSB_MAJOR[.]LIBUSB_MINOR[.]LIBUSB_MICRO[]LIBUSB_RC], [[email protected]], [libusb-1.0], [https://libusb.info])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_SRCDIR([libusb/core.c])
AC_CONFIG_MACRO_DIR([m4])
Expand Down
6 changes: 3 additions & 3 deletions libusb/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

static const struct libusb_version libusb_version_internal =
{ LIBUSB_MAJOR, LIBUSB_MINOR, LIBUSB_MICRO, LIBUSB_NANO,
LIBUSB_RC, "http://libusb.info" };
LIBUSB_RC, "https://libusb.info" };
static struct timespec timestamp_origin;
#if defined(ENABLE_LOGGING) && !defined(USE_SYSTEM_LOGGING_FACILITY)
static libusb_log_cb log_handler;
Expand All @@ -60,12 +60,12 @@ struct list_head active_contexts_list;
*
* libusb is an open source library that allows you to communicate with USB
* devices from user space. For more info, see the
* <a href="http://libusb.info">libusb homepage</a>.
* <a href="https://libusb.info">libusb homepage</a>.
*
* This documentation is aimed at application developers wishing to
* communicate with USB peripherals from their own software. After reviewing
* this documentation, feedback and questions can be sent to the
* <a href="http://mailing-list.libusb.info">libusb-devel mailing list</a>.
* <a href="https://mailing-list.libusb.info">libusb-devel mailing list</a>.
*
* This documentation assumes knowledge of how to operate USB devices from
* a software standpoint (descriptors, configurations, interfaces, endpoints,
Expand Down
2 changes: 1 addition & 1 deletion libusb/libusb.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Copyright © 2012 Pete Batard <[email protected]>
* Copyright © 2012-2023 Nathan Hjelm <[email protected]>
* Copyright © 2014-2020 Chris Dickens <[email protected]>
* For more information, please visit: http://libusb.info
* For more information, please visit: https://libusb.info
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
2 changes: 1 addition & 1 deletion libusb/strerror.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* <li> Download the latest \c strerror.c from:<br>
* https://raw.github.com/libusb/libusb/master/libusb/strerror.c </li>
* <li> Open the file in an UTF-8 capable editor </li>
* <li> Add the 2 letter <a href="http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes">ISO 639-1</a>
* <li> Add the 2 letter <a href="https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes">ISO 639-1</a>
* code for your locale at the end of \c usbi_locale_supported[]<br>
* Eg. for Chinese, you would add "zh" so that:
* \code... usbi_locale_supported[] = { "en", "nl", "fr" };\endcode
Expand Down
2 changes: 1 addition & 1 deletion libusb/version_nano.h
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define LIBUSB_NANO 11868
#define LIBUSB_NANO 11869

0 comments on commit 5e4b389

Please sign in to comment.