Browse Source

Link normalization in libs3

Source commit: 9b2f4b956d884686fe46f1605cbe6876a4b67966
Martin Prikryl 7 years ago
parent
commit
72278b5013

+ 1 - 1
libs/libs3/COPYING

@@ -1,7 +1,7 @@
                    GNU LESSER GENERAL PUBLIC LICENSE
                    GNU LESSER GENERAL PUBLIC LICENSE
                        Version 3, 29 June 2007
                        Version 3, 29 June 2007
 
 
- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Copyright (C) 2007 Free Software Foundation, Inc. <https://www.fsf.org/>
  Everyone is permitted to copy and distribute verbatim copies
  Everyone is permitted to copy and distribute verbatim copies
  of this license document, but changing it is not allowed.
  of this license document, but changing it is not allowed.
 
 

+ 1 - 1
libs/libs3/GNUmakefile

@@ -19,7 +19,7 @@
 #
 #
 # You should have received a copy of the GNU Lesser General Public License
 # You should have received a copy of the GNU Lesser General Public License
 # version 3 along with libs3, in a file named COPYING.  If not, see
 # version 3 along with libs3, in a file named COPYING.  If not, see
-# <http://www.gnu.org/licenses/>.
+# <https://www.gnu.org/licenses/>.
 
 
 # I tried to use the autoconf/automake/autolocal/etc (i.e. autohell) tools
 # I tried to use the autoconf/automake/autolocal/etc (i.e. autohell) tools
 # but I just couldn't stomach them.  Since this is a Makefile for POSIX
 # but I just couldn't stomach them.  Since this is a Makefile for POSIX

+ 1 - 1
libs/libs3/GNUmakefile.mingw

@@ -19,7 +19,7 @@
 #
 #
 # You should have received a copy of the GNU Lesser General Public License
 # You should have received a copy of the GNU Lesser General Public License
 # version 3 along with libs3, in a file named COPYING.  If not, see
 # version 3 along with libs3, in a file named COPYING.  If not, see
-# <http://www.gnu.org/licenses/>.
+# <https://www.gnu.org/licenses/>.
 
 
 # I tried to use the autoconf/automake/autolocal/etc (i.e. autohell) tools
 # I tried to use the autoconf/automake/autolocal/etc (i.e. autohell) tools
 # but I just couldn't stomach them.  Since this is a Makefile for POSIX
 # but I just couldn't stomach them.  Since this is a Makefile for POSIX

+ 0 - 309
libs/libs3/GNUmakefile.osx

@@ -1,309 +0,0 @@
-# GNUmakefile.osx
-#
-# Copyright 2008 Bryan Ischo <[email protected]>
-#
-# This file is part of libs3.
-#
-# libs3 is free software: you can redistribute it and/or modify it under the
-# terms of the GNU Lesser General Public License as published by the Free
-# Software Foundation, version 3 of the License.
-#
-# In addition, as a special exception, the copyright holders give
-# permission to link the code of this library and its programs with the
-# OpenSSL library, and distribute linked combinations including the two.
-#
-# libs3 is distributed in the hope that it will be useful, but WITHOUT ANY
-# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
-# details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# version 3 along with libs3, in a file named COPYING.  If not, see
-# <http://www.gnu.org/licenses/>.
-
-# I tried to use the autoconf/automake/autolocal/etc (i.e. autohell) tools
-# but I just couldn't stomach them.  Since this is a Makefile for POSIX
-# systems, I will simply do away with autohell completely and use a GNU
-# Makefile.  GNU make ought to be available pretty much everywhere, so I
-# don't see this being a significant issue for portability.
-
-# All commands assume a GNU compiler.  For systems which do not use a GNU
-# compiler, write scripts with the same names as these commands, and taking
-# the same arguments, and translate the arguments and commands into the
-# appropriate non-POSIX ones as needed.  libs3 assumes a GNU toolchain as
-# the most portable way to build software possible.  Non-POSIX, non-GNU
-# systems can do the work of supporting this build infrastructure.
-
-
-# --------------------------------------------------------------------------
-# Set libs3 version number, unless it is already set.
-
-LIBS3_VER_MAJOR ?= 4
-LIBS3_VER_MINOR ?= 1
-LIBS3_VER := $(LIBS3_VER_MAJOR).$(LIBS3_VER_MINOR)
-
-
-# -----------------------------------------------------------------------------
-# Determine verbosity.  VERBOSE_SHOW should be prepended to every command which
-# should only be displayed if VERBOSE is set.  QUIET_ECHO may be used to
-# echo text only if VERBOSE is not set.  Typically, a VERBOSE_SHOW command will
-# be paired with a QUIET_ECHO command, to provide a command which is displayed
-# in VERBOSE mode, along with text which is displayed in non-VERBOSE mode to
-# describe the command.
-#
-# No matter what VERBOSE is defined to, it ends up as true if it's defined.
-# This will be weird if you defined VERBOSE=false in the environment, and we
-# switch it to true here; but the meaning of VERBOSE is, "if it's defined to
-# any value, then verbosity is turned on".  So don't define VERBOSE if you
-# don't want verbosity in the build process.
-# -----------------------------------------------------------------------------
-
-ifdef VERBOSE
-        VERBOSE = true
-        VERBOSE_ECHO = @ echo
-        VERBOSE_SHOW =
-        QUIET_ECHO = @ echo > /dev/null
-else
-        VERBOSE = false
-        VERBOSE_ECHO = @ echo > /dev/null
-        VERBOSE_SHOW = @
-        QUIET_ECHO = @ echo
-endif
-
-
-# --------------------------------------------------------------------------
-# BUILD directory
-ifndef BUILD
-    ifdef DEBUG
-        BUILD := build-debug
-    else
-        BUILD := build
-    endif
-endif
-
-
-# --------------------------------------------------------------------------
-# DESTDIR directory
-ifndef DESTDIR
-    DESTDIR := /usr
-endif
-
-
-# --------------------------------------------------------------------------
-# Acquire configuration information for libraries that libs3 depends upon
-
-ifndef CURL_LIBS
-    CURL_LIBS := $(shell curl-config --libs)
-endif
-
-ifndef CURL_CFLAGS
-    CURL_CFLAGS := $(shell curl-config --cflags)
-endif
-
-ifndef LIBXML2_LIBS
-    LIBXML2_LIBS := $(shell xml2-config --libs)
-    # Work around missing libsystem_symptoms.dylib in Xcode 8; see
-    # http://stackoverflow.com/questions/39536144/libsystem-symptoms-dylib-missing-in-xcode-8
-    LIBXML2_LIBS := $(filter-out -L$(shell xcrun --show-sdk-path)/usr/lib, $(LIBXML2_LIBS))
-endif
-
-ifndef LIBXML2_CFLAGS
-    LIBXML2_CFLAGS := $(shell xml2-config --cflags)
-endif
-
-
-# --------------------------------------------------------------------------
-# These CFLAGS assume a GNU compiler.  For other compilers, write a script
-# which converts these arguments into their equivalent for that particular
-# compiler.
-
-ifndef CFLAGS
-    ifdef DEBUG
-        CFLAGS := -g
-    else
-        CFLAGS := -O3
-    endif
-endif
-
-# --------------------------------------------------------------------------
-# -Werror breaks the build on the macOS Sierra rendering build unusable 
-# so we use -Wunused-parameter flag instead that will only issue a warning
-# with the newest clang compiler
-
-CFLAGS += -Wall -Wunused-parameter -Wshadow -Wextra -Iinc \
-          $(CURL_CFLAGS) $(LIBXML2_CFLAGS) \
-          -DLIBS3_VER_MAJOR=\"$(LIBS3_VER_MAJOR)\" \
-          -DLIBS3_VER_MINOR=\"$(LIBS3_VER_MINOR)\" \
-          -DLIBS3_VER=\"$(LIBS3_VER)\" \
-          -D__STRICT_ANSI__ \
-          -D_ISOC99_SOURCE \
-          -fno-common
-
-LDFLAGS = $(CURL_LIBS) $(LIBXML2_LIBS) -lpthread
-
-
-# --------------------------------------------------------------------------
-# Default targets are everything
-
-.PHONY: all
-all: exported test
-
-
-# --------------------------------------------------------------------------
-# Exported targets are the library and driver program
-
-.PHONY: exported
-exported: libs3 s3 headers
-
-
-# --------------------------------------------------------------------------
-# Install target
-
-.PHONY: install
-install: exported
-	$(QUIET_ECHO) $(DESTDIR)/bin/s3: Installing executable
-	$(VERBOSE_SHOW) install -ps -m u+rwx,go+rx $(BUILD)/bin/s3 \
-                    $(DESTDIR)/bin/s3
-	$(QUIET_ECHO) \
-        $(DESTDIR)/lib/libs3.$(LIBS3_VER).dylib: Installing dynamic library
-	$(VERBOSE_SHOW) install -p -m u+rw,go+r \
-                    $(BUILD)/lib/libs3.$(LIBS3_VER_MAJOR).dylib \
-                    $(DESTDIR)/lib/libs3.$(LIBS3_VER).dylib
-	$(QUIET_ECHO) \
-        $(DESTDIR)/lib/libs3.$(LIBS3_VER_MAJOR).dylib: Linking dynamic library
-	$(VERBOSE_SHOW) ln -sf libs3.$(LIBS3_VER).dylib \
-                    $(DESTDIR)/lib/libs3.$(LIBS3_VER_MAJOR).dylib
-	$(QUIET_ECHO) $(DESTDIR)/lib/libs3.dylib: Linking dynamic library
-	$(VERBOSE_SHOW) ln -sf libs3.$(LIBS3_VER_MAJOR).dylib \
-                    $(DESTDIR)/lib/libs3.dylib
-	$(QUIET_ECHO) $(DESTDIR)/lib/libs3.a: Installing static library
-	$(VERBOSE_SHOW) install -p -m u+rw,go+r $(BUILD)/lib/libs3.a \
-                    $(DESTDIR)/lib/libs3.a
-	$(QUIET_ECHO) $(DESTDIR)/include/libs3.h: Installing header
-	$(VERBOSE_SHOW) install -p -m u+rw,go+r $(BUILD)/include/libs3.h \
-                    $(DESTDIR)/include/libs3.h
-
-
-# --------------------------------------------------------------------------
-# Uninstall target
-
-.PHONY: uninstall
-uninstall:
-	$(QUIET_ECHO) Installed files: Uninstalling
-	$(VERBOSE_SHOW) \
-        rm -f $(DESTDIR)/bin/s3 \
-              $(DESTDIR)/lib/libs3.dylib \
-              $(DESTDIR)/lib/libs3.$(LIBS3_VER_MAJOR).dylib \
-              $(DESTDIR)/lib/libs3.$(LIBS3_VER).dylib \
-              $(DESTDIR)/lib/libs3.a \
-              $(DESTDIR)/include/libs3.h
-
-
-# --------------------------------------------------------------------------
-# Compile target patterns
-
-$(BUILD)/obj/%.o: src/%.c
-	$(QUIET_ECHO) $@: Compiling object
-	@ mkdir -p $(dir $(BUILD)/dep/$<)
-	@ gcc $(CFLAGS) -M -MG -MQ $@ -DCOMPILINGDEPENDENCIES \
-        -o $(BUILD)/dep/$(<:%.c=%.d) -c $<
-	@ mkdir -p $(dir $@)
-	$(VERBOSE_SHOW) gcc $(CFLAGS) -o $@ -c $<
-
-$(BUILD)/obj/%.do: src/%.c
-	$(QUIET_ECHO) $@: Compiling dynamic object
-	@ mkdir -p $(dir $(BUILD)/dep/$<)
-	@ gcc $(CFLAGS) -M -MG -MQ $@ -DCOMPILINGDEPENDENCIES \
-        -o $(BUILD)/dep/$(<:%.c=%.dd) -c $<
-	@ mkdir -p $(dir $@)
-	$(VERBOSE_SHOW) gcc $(CFLAGS) -fpic -fPIC -o $@ -c $<
-
-
-# --------------------------------------------------------------------------
-# libs3 library targets
-
-LIBS3_SHARED = $(BUILD)/lib/libs3.$(LIBS3_VER_MAJOR).dylib
-LIBS3_STATIC = $(BUILD)/lib/libs3.a
-
-.PHONY: libs3
-libs3: $(LIBS3_SHARED) $(LIBS3_SHARED_MAJOR) $(BUILD)/lib/libs3.a
-
-LIBS3_SOURCES := src/bucket.c src/bucket_metadata.c src/error_parser.c src/general.c \
-                 src/object.c src/request.c src/request_context.c \
-                 src/response_headers_handler.c src/service_access_logging.c \
-                 src/service.c src/simplexml.c src/util.c src/multipart.c
-
-$(LIBS3_SHARED): $(LIBS3_SOURCES:src/%.c=$(BUILD)/obj/%.do)
-	$(QUIET_ECHO) $@: Building shared library
-	@ mkdir -p $(dir $@)
-	$(VERBOSE_SHOW) gcc -dynamiclib -install_name \
-        libs3.$(LIBS3_VER_MAJOR).dylib \
-        -compatibility_version $(LIBS3_VER_MAJOR) \
-        -current_version $(LIBS3_VER) -o $@ $^ $(LDFLAGS)
-
-$(LIBS3_STATIC): $(LIBS3_SOURCES:src/%.c=$(BUILD)/obj/%.o)
-	$(QUIET_ECHO) $@: Building static library
-	@ mkdir -p $(dir $@)
-	$(VERBOSE_SHOW) $(AR) cr $@ $^
-
-
-# --------------------------------------------------------------------------
-# Driver program targets
-
-.PHONY: s3
-s3: $(BUILD)/bin/s3
-
-$(BUILD)/bin/s3: $(BUILD)/obj/s3.o $(LIBS3_SHARED)
-	$(QUIET_ECHO) $@: Building executable
-	@ mkdir -p $(dir $@)
-	$(VERBOSE_SHOW) gcc -o $@ $^ $(LDFLAGS)
-
-
-# --------------------------------------------------------------------------
-# libs3 header targets
-
-.PHONY: headers
-headers: $(BUILD)/include/libs3.h
-
-$(BUILD)/include/libs3.h: inc/libs3.h
-	$(QUIET_ECHO) $@: Linking header
-	@ mkdir -p $(dir $@)
-	$(VERBOSE_SHOW) ln -sf $(abspath $<) $@
-
-
-# --------------------------------------------------------------------------
-# Test targets
-
-.PHONY: test
-test: $(BUILD)/bin/testsimplexml
-
-$(BUILD)/bin/testsimplexml: $(BUILD)/obj/testsimplexml.o $(LIBS3_STATIC)
-	$(QUIET_ECHO) $@: Building executable
-	@ mkdir -p $(dir $@)
-	$(VERBOSE_SHOW) gcc -o $@ $^ $(LIBXML2_LIBS)
-
-# --------------------------------------------------------------------------
-# Clean target
-
-.PHONY: clean
-clean:
-	$(QUIET_ECHO) $(BUILD): Cleaning
-	$(VERBOSE_SHOW) rm -rf $(BUILD)
-
-
-# --------------------------------------------------------------------------
-# Clean dependencies target
-
-.PHONY: cleandeps
-cleandeps:
-	$(QUIET_ECHO) $(BUILD)/dep: Cleaning dependencies
-	$(VERBOSE_SHOW) rm -rf $(BUILD)/dep
-
-
-# --------------------------------------------------------------------------
-# Dependencies
-
-ALL_SOURCES := $(LIBS3_SOURCES) s3.c testsimplexml.c
-
-$(foreach i, $(ALL_SOURCES), $(eval -include $(BUILD)/dep/src/$(i:%.c=%.d)))
-$(foreach i, $(ALL_SOURCES), $(eval -include $(BUILD)/dep/src/$(i:%.c=%.dd)))

+ 1 - 1
libs/libs3/LICENSE

@@ -15,4 +15,4 @@ details.
 
 
 You should have received a copy of the GNU Lesser General Public License
 You should have received a copy of the GNU Lesser General Public License
 version 3 along with libs3, in a file named COPYING.  If not, see
 version 3 along with libs3, in a file named COPYING.  If not, see
-<http://www.gnu.org/licenses/>.
+<https://www.gnu.org/licenses/>.

+ 1 - 1
libs/libs3/debian/control.dev

@@ -8,7 +8,7 @@ Maintainer: Bryan Ischo <[email protected]>
 Homepage: https://github.com/bji/libs3
 Homepage: https://github.com/bji/libs3
 Description: C Development Library for Amazon S3 Access
 Description: C Development Library for Amazon S3 Access
  This library provides an API for using Amazon's S3 service (see
  This library provides an API for using Amazon's S3 service (see
- http://s3.amazonaws.com).  Its design goals are:
+ https://s3.amazonaws.com/).  Its design goals are:
  .
  .
   - To provide a simple and straightforward API for accessing all of S3's
   - To provide a simple and straightforward API for accessing all of S3's
     functionality
     functionality

+ 1 - 1
libs/libs3/inc/error_parser.h

@@ -20,7 +20,7 @@
  *
  *
  * You should have received a copy of the GNU Lesser General Public License
  * You should have received a copy of the GNU Lesser General Public License
  * version 3 along with libs3, in a file named COPYING.  If not, see
  * version 3 along with libs3, in a file named COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
+ * <https://www.gnu.org/licenses/>.
  *
  *
  ************************************************************************** **/
  ************************************************************************** **/
 
 

+ 2 - 2
libs/libs3/inc/libs3.h

@@ -20,7 +20,7 @@
  *
  *
  * You should have received a copy of the GNU Lesser General Public License
  * You should have received a copy of the GNU Lesser General Public License
  * version 3 along with libs3, in a file named COPYING.  If not, see
  * version 3 along with libs3, in a file named COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
+ * <https://www.gnu.org/licenses/>.
  *
  *
  ************************************************************************** **/
  ************************************************************************** **/
 
 
@@ -49,7 +49,7 @@ extern "C" {
  * --------
  * --------
  *
  *
  * This library provides an API for using Amazon's S3 service (see
  * This library provides an API for using Amazon's S3 service (see
- * http://s3.amazonaws.com).  Its design goals are:
+ * https://s3.amazonaws.com/).  Its design goals are:
  *
  *
  * - To provide a simple and straightforward API for accessing all of S3's
  * - To provide a simple and straightforward API for accessing all of S3's
  *   functionality
  *   functionality

+ 1 - 1
libs/libs3/inc/mingw/pthread.h

@@ -20,7 +20,7 @@
  *
  *
  * You should have received a copy of the GNU Lesser General Public License
  * You should have received a copy of the GNU Lesser General Public License
  * version 3 along with libs3, in a file named COPYING.  If not, see
  * version 3 along with libs3, in a file named COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
+ * <https://www.gnu.org/licenses/>.
  *
  *
  ************************************************************************** **/
  ************************************************************************** **/
 
 

+ 1 - 1
libs/libs3/inc/mingw/sys/select.h

@@ -20,7 +20,7 @@
  *
  *
  * You should have received a copy of the GNU Lesser General Public License
  * You should have received a copy of the GNU Lesser General Public License
  * version 3 along with libs3, in a file named COPYING.  If not, see
  * version 3 along with libs3, in a file named COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
+ * <https://www.gnu.org/licenses/>.
  *
  *
  ************************************************************************** **/
  ************************************************************************** **/
 
 

+ 1 - 1
libs/libs3/inc/mingw/sys/utsname.h

@@ -20,7 +20,7 @@
  *
  *
  * You should have received a copy of the GNU Lesser General Public License
  * You should have received a copy of the GNU Lesser General Public License
  * version 3 along with libs3, in a file named COPYING.  If not, see
  * version 3 along with libs3, in a file named COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
+ * <https://www.gnu.org/licenses/>.
  *
  *
  ************************************************************************** **/
  ************************************************************************** **/
 
 

+ 1 - 1
libs/libs3/inc/request.h

@@ -20,7 +20,7 @@
  *
  *
  * You should have received a copy of the GNU Lesser General Public License
  * You should have received a copy of the GNU Lesser General Public License
  * version 3 along with libs3, in a file named COPYING.  If not, see
  * version 3 along with libs3, in a file named COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
+ * <https://www.gnu.org/licenses/>.
  *
  *
  ************************************************************************** **/
  ************************************************************************** **/
 
 

+ 1 - 1
libs/libs3/inc/request_context.h

@@ -20,7 +20,7 @@
  *
  *
  * You should have received a copy of the GNU Lesser General Public License
  * You should have received a copy of the GNU Lesser General Public License
  * version 3 along with libs3, in a file named COPYING.  If not, see
  * version 3 along with libs3, in a file named COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
+ * <https://www.gnu.org/licenses/>.
  *
  *
  ************************************************************************** **/
  ************************************************************************** **/
 
 

+ 1 - 1
libs/libs3/inc/response_headers_handler.h

@@ -20,7 +20,7 @@
  *
  *
  * You should have received a copy of the GNU Lesser General Public License
  * You should have received a copy of the GNU Lesser General Public License
  * version 3 along with libs3, in a file named COPYING.  If not, see
  * version 3 along with libs3, in a file named COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
+ * <https://www.gnu.org/licenses/>.
  *
  *
  ************************************************************************** **/
  ************************************************************************** **/
 
 

+ 1 - 1
libs/libs3/inc/simplexml.h

@@ -20,7 +20,7 @@
  *
  *
  * You should have received a copy of the GNU Lesser General Public License
  * You should have received a copy of the GNU Lesser General Public License
  * version 3 along with libs3, in a file named COPYING.  If not, see
  * version 3 along with libs3, in a file named COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
+ * <https://www.gnu.org/licenses/>.
  *
  *
  ************************************************************************** **/
  ************************************************************************** **/
 
 

+ 1 - 1
libs/libs3/inc/string_buffer.h

@@ -20,7 +20,7 @@
  *
  *
  * You should have received a copy of the GNU Lesser General Public License
  * You should have received a copy of the GNU Lesser General Public License
  * version 3 along with libs3, in a file named COPYING.  If not, see
  * version 3 along with libs3, in a file named COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
+ * <https://www.gnu.org/licenses/>.
  *
  *
  ************************************************************************** **/
  ************************************************************************** **/
 
 

+ 1 - 1
libs/libs3/inc/util.h

@@ -20,7 +20,7 @@
  *
  *
  * You should have received a copy of the GNU Lesser General Public License
  * You should have received a copy of the GNU Lesser General Public License
  * version 3 along with libs3, in a file named COPYING.  If not, see
  * version 3 along with libs3, in a file named COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
+ * <https://www.gnu.org/licenses/>.
  *
  *
  ************************************************************************** **/
  ************************************************************************** **/
 
 

+ 0 - 81
libs/libs3/libs3.spec

@@ -1,81 +0,0 @@
-Summary: C Library and Tools for Amazon S3 Access
-Name: libs3
-Version: trunk
-Release: 1
-License: LGPL
-Group: Networking/Utilities
-URL: http://sourceforge.net/projects/reallibs3
-Source0: libs3-trunk.tar.gz
-Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
-# Want to include curl dependencies, but older Fedora Core uses curl-devel,
-# and newer Fedora Core uses libcurl-devel ... have to figure out how to
-# handle this problem, but for now, just don't check for any curl libraries
-# Buildrequires: curl-devel
-Buildrequires: libxml2-devel
-Buildrequires: openssl-devel
-Buildrequires: make
-# Requires: libcurl
-Requires: libxml2
-Requires: openssl
-
-%define debug_package %{nil}
-
-%description
-This package includes the libs3 shared object library, needed to run
-applications compiled against libs3, and additionally contains the s3
-utility for accessing Amazon S3.
-
-%package devel
-Summary: Headers and documentation for libs3
-Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
-
-%description devel
-This library provides an API for using Amazon's S3 service (see
-http://s3.amazonaws.com).  Its design goals are:
-
- - To provide a simple and straightforward API for accessing all of S3's
-   functionality
- - To not require the developer using libs3 to need to know anything about:
-     - HTTP
-     - XML
-     - SSL
-   In other words, this API is meant to stand on its own, without requiring
-   any implicit knowledge of how S3 services are accessed using HTTP
-   protocols.
- - To be usable from multithreaded code
- - To be usable by code which wants to process multiple S3 requests
-   simultaneously from a single thread
- - To be usable in the simple, straightforward way using sequentialized
-   blocking requests
-
-
-%prep
-%setup -q
-
-%build
-BUILD=$RPM_BUILD_ROOT/build make exported
-
-%install
-BUILD=$RPM_BUILD_ROOT/build DESTDIR=$RPM_BUILD_ROOT/usr make install
-rm -rf $RPM_BUILD_ROOT/build
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%files
-%defattr(-,root,root,-)
-/usr/bin/s3
-/usr/lib/libs3.so*
-
-%files devel
-%defattr(-,root,root,-)
-/usr/include/libs3.h
-/usr/lib/libs3.a
-
-%changelog
-* Sat Aug 09 2008  <bryan@ischo,com> Bryan Ischo
-- Split into regular and devel packages.
-
-* Tue Aug 05 2008  <bryan@ischo,com> Bryan Ischo
-- Initial build.

+ 1 - 1
libs/libs3/src/bucket.c

@@ -20,7 +20,7 @@
  *
  *
  * You should have received a copy of the GNU Lesser General Public License
  * You should have received a copy of the GNU Lesser General Public License
  * version 3 along with libs3, in a file named COPYING.  If not, see
  * version 3 along with libs3, in a file named COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
+ * <https://www.gnu.org/licenses/>.
  *
  *
  ************************************************************************** **/
  ************************************************************************** **/
 
 

+ 1 - 1
libs/libs3/src/bucket_metadata.c

@@ -20,7 +20,7 @@
  *
  *
  * You should have received a copy of the GNU Lesser General Public License
  * You should have received a copy of the GNU Lesser General Public License
  * version 3 along with libs3, in a file named COPYING.  If not, see
  * version 3 along with libs3, in a file named COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
+ * <https://www.gnu.org/licenses/>.
  *
  *
  ************************************************************************** **/
  ************************************************************************** **/
 
 

+ 1 - 1
libs/libs3/src/error_parser.c

@@ -20,7 +20,7 @@
  *
  *
  * You should have received a copy of the GNU Lesser General Public License
  * You should have received a copy of the GNU Lesser General Public License
  * version 3 along with libs3, in a file named COPYING.  If not, see
  * version 3 along with libs3, in a file named COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
+ * <https://www.gnu.org/licenses/>.
  *
  *
  ************************************************************************** **/
  ************************************************************************** **/
 
 

+ 1 - 1
libs/libs3/src/general.c

@@ -20,7 +20,7 @@
  *
  *
  * You should have received a copy of the GNU Lesser General Public License
  * You should have received a copy of the GNU Lesser General Public License
  * version 3 along with libs3, in a file named COPYING.  If not, see
  * version 3 along with libs3, in a file named COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
+ * <https://www.gnu.org/licenses/>.
  *
  *
  ************************************************************************** **/
  ************************************************************************** **/
 
 

+ 3 - 3
libs/libs3/src/mingw_functions.c

@@ -20,7 +20,7 @@
  *
  *
  * You should have received a copy of the GNU Lesser General Public License
  * You should have received a copy of the GNU Lesser General Public License
  * version 3 along with libs3, in a file named COPYING.  If not, see
  * version 3 along with libs3, in a file named COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
+ * <https://www.gnu.org/licenses/>.
  *
  *
  ************************************************************************** **/
  ************************************************************************** **/
 
 
@@ -125,10 +125,10 @@ int uname(struct utsname *u)
  *
  *
  *   from comp.lang.c  9/14/2007
  *   from comp.lang.c  9/14/2007
  *
  *
- *      http://groups.google.com/group/comp.lang.c/msg/2ab1ecbb86646684
+ *      https://groups.google.com/d/msg/comp.lang.c/akY2fEnquSU/hGZkhrvssSoJ
  *
  *
  *     (Declaration that it's public domain):
  *     (Declaration that it's public domain):
- *      http://groups.google.com/group/comp.lang.c/msg/7c7b39328fefab9c
+ *      https://groups.google.com/d/msg/comp.lang.c/akY2fEnquSU/hGZkhrvssSoJ
  */
  */
 
 
 char* strtok_r(
 char* strtok_r(

+ 1 - 1
libs/libs3/src/mingw_s3_functions.c

@@ -20,7 +20,7 @@
  *
  *
  * You should have received a copy of the GNU Lesser General Public License
  * You should have received a copy of the GNU Lesser General Public License
  * version 3 along with libs3, in a file named COPYING.  If not, see
  * version 3 along with libs3, in a file named COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
+ * <https://www.gnu.org/licenses/>.
  *
  *
  ************************************************************************** **/
  ************************************************************************** **/
 
 

+ 1 - 1
libs/libs3/src/multipart.c

@@ -20,7 +20,7 @@
  *
  *
  * You should have received a copy of the GNU Lesser General Public License
  * You should have received a copy of the GNU Lesser General Public License
  * version 3 along with libs3, in a file named COPYING.  If not, see
  * version 3 along with libs3, in a file named COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
+ * <https://www.gnu.org/licenses/>.
  *
  *
  ************************************************************************** **/
  ************************************************************************** **/
 
 

+ 1 - 1
libs/libs3/src/object.c

@@ -20,7 +20,7 @@
  *
  *
  * You should have received a copy of the GNU Lesser General Public License
  * You should have received a copy of the GNU Lesser General Public License
  * version 3 along with libs3, in a file named COPYING.  If not, see
  * version 3 along with libs3, in a file named COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
+ * <https://www.gnu.org/licenses/>.
  *
  *
  ************************************************************************** **/
  ************************************************************************** **/
 
 

+ 1 - 1
libs/libs3/src/request.c

@@ -20,7 +20,7 @@
  *
  *
  * You should have received a copy of the GNU Lesser General Public License
  * You should have received a copy of the GNU Lesser General Public License
  * version 3 along with libs3, in a file named COPYING.  If not, see
  * version 3 along with libs3, in a file named COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
+ * <https://www.gnu.org/licenses/>.
  *
  *
  ************************************************************************** **/
  ************************************************************************** **/
 
 

+ 1 - 1
libs/libs3/src/request_context.c

@@ -20,7 +20,7 @@
  *
  *
  * You should have received a copy of the GNU Lesser General Public License
  * You should have received a copy of the GNU Lesser General Public License
  * version 3 along with libs3, in a file named COPYING.  If not, see
  * version 3 along with libs3, in a file named COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
+ * <https://www.gnu.org/licenses/>.
  *
  *
  ************************************************************************** **/
  ************************************************************************** **/
 
 

+ 1 - 1
libs/libs3/src/response_headers_handler.c

@@ -20,7 +20,7 @@
  *
  *
  * You should have received a copy of the GNU Lesser General Public License
  * You should have received a copy of the GNU Lesser General Public License
  * version 3 along with libs3, in a file named COPYING.  If not, see
  * version 3 along with libs3, in a file named COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
+ * <https://www.gnu.org/licenses/>.
  *
  *
  ************************************************************************** **/
  ************************************************************************** **/
 
 

+ 1 - 1
libs/libs3/src/s3.c

@@ -20,7 +20,7 @@
  *
  *
  * You should have received a copy of the GNU Lesser General Public License
  * You should have received a copy of the GNU Lesser General Public License
  * version 3 along with libs3, in a file named COPYING.  If not, see
  * version 3 along with libs3, in a file named COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
+ * <https://www.gnu.org/licenses/>.
  *
  *
  ************************************************************************** **/
  ************************************************************************** **/
 
 

+ 1 - 1
libs/libs3/src/service.c

@@ -20,7 +20,7 @@
  *
  *
  * You should have received a copy of the GNU Lesser General Public License
  * You should have received a copy of the GNU Lesser General Public License
  * version 3 along with libs3, in a file named COPYING.  If not, see
  * version 3 along with libs3, in a file named COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
+ * <https://www.gnu.org/licenses/>.
  *
  *
  ************************************************************************** **/
  ************************************************************************** **/
 
 

+ 1 - 1
libs/libs3/src/service_access_logging.c

@@ -20,7 +20,7 @@
  *
  *
  * You should have received a copy of the GNU Lesser General Public License
  * You should have received a copy of the GNU Lesser General Public License
  * version 3 along with libs3, in a file named COPYING.  If not, see
  * version 3 along with libs3, in a file named COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
+ * <https://www.gnu.org/licenses/>.
  *
  *
  ************************************************************************** **/
  ************************************************************************** **/
 
 

+ 1 - 1
libs/libs3/src/simplexml.c

@@ -20,7 +20,7 @@
  *
  *
  * You should have received a copy of the GNU Lesser General Public License
  * You should have received a copy of the GNU Lesser General Public License
  * version 3 along with libs3, in a file named COPYING.  If not, see
  * version 3 along with libs3, in a file named COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
+ * <https://www.gnu.org/licenses/>.
  *
  *
  ************************************************************************** **/
  ************************************************************************** **/
 
 

+ 1 - 1
libs/libs3/src/testsimplexml.c

@@ -20,7 +20,7 @@
  *
  *
  * You should have received a copy of the GNU Lesser General Public License
  * You should have received a copy of the GNU Lesser General Public License
  * version 3 along with libs3, in a file named COPYING.  If not, see
  * version 3 along with libs3, in a file named COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
+ * <https://www.gnu.org/licenses/>.
  *
  *
  ************************************************************************** **/
  ************************************************************************** **/
 
 

+ 1 - 1
libs/libs3/src/util.c

@@ -20,7 +20,7 @@
  *
  *
  * You should have received a copy of the GNU Lesser General Public License
  * You should have received a copy of the GNU Lesser General Public License
  * version 3 along with libs3, in a file named COPYING.  If not, see
  * version 3 along with libs3, in a file named COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
+ * <https://www.gnu.org/licenses/>.
  *
  *
  ************************************************************************** **/
  ************************************************************************** **/