Commit 7a6bff03 authored by Russ Allbery's avatar Russ Allbery
Browse files

Imported Upstream version 1.0.8

parent 150679a2
PortSystem 1.0
name log4shib
version 1.0.7
version 1.0.8
categories sysutils shibboleth devel
maintainers snc scantor
description configurable logging for C++, fork of log4cpp
......
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for log4shib 1.0.7.
# Generated by GNU Autoconf 2.69 for log4shib 1.0.8.
#
#
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
......@@ -587,8 +587,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='log4shib'
PACKAGE_TARNAME='log4shib'
PACKAGE_VERSION='1.0.7'
PACKAGE_STRING='log4shib 1.0.7'
PACKAGE_VERSION='1.0.8'
PACKAGE_STRING='log4shib 1.0.8'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''
 
......@@ -1338,7 +1338,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures log4shib 1.0.7 to adapt to many kinds of systems.
\`configure' configures log4shib 1.0.8 to adapt to many kinds of systems.
 
Usage: $0 [OPTION]... [VAR=VALUE]...
 
......@@ -1408,7 +1408,7 @@ fi
 
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of log4shib 1.0.7:";;
short | recursive ) echo "Configuration of log4shib 1.0.8:";;
esac
cat <<\_ACEOF
 
......@@ -1520,7 +1520,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
log4shib configure 1.0.7
log4shib configure 1.0.8
generated by GNU Autoconf 2.69
 
Copyright (C) 2012 Free Software Foundation, Inc.
......@@ -2052,7 +2052,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
 
It was created by log4shib $as_me 1.0.7, which was
It was created by log4shib $as_me 1.0.8, which was
generated by GNU Autoconf 2.69. Invocation command line was
 
$ $0 $@
......@@ -2412,7 +2412,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
# ? :+1 : ? == just some internal changes, nothing breaks but might work
# better
# CURRENT : REVISION : AGE
LT_VERSION=1:7:0
LT_VERSION=1:8:0
 
 
 
......@@ -2898,7 +2898,7 @@ fi
 
# Define the identity of the package.
PACKAGE='log4shib'
VERSION='1.0.7'
VERSION='1.0.8'
 
 
cat >>confdefs.h <<_ACEOF
......@@ -17066,7 +17066,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by log4shib $as_me 1.0.7, which was
This file was extended by log4shib $as_me 1.0.8, which was
generated by GNU Autoconf 2.69. Invocation command line was
 
CONFIG_FILES = $CONFIG_FILES
......@@ -17132,7 +17132,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
log4shib config.status 1.0.7
log4shib config.status 1.0.8
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
 
......
AC_INIT(log4shib, 1.0.7)
AC_INIT(log4shib, 1.0.8)
# autoconf 2.50 or higher to rebuild aclocal.m4, because the
# AC_CREATE_PREFIX_CONFIG_H macro needs the AS_DIRNAME macro.
......@@ -11,7 +11,7 @@ AC_PREREQ(2.50)
# ? :+1 : ? == just some internal changes, nothing breaks but might work
# better
# CURRENT : REVISION : AGE
LT_VERSION=1:7:0
LT_VERSION=1:8:0
AC_SUBST(LT_VERSION)
......
......@@ -62,7 +62,7 @@ typedef u_long in_addr_t;
/* Version number of package */
#ifndef LOG4SHIB_VERSION
#define LOG4SHIB_VERSION "1.0.6"
#define LOG4SHIB_VERSION "1.0.8"
#endif
/* define if the compiler implements namespaces */
......
Name: log4shib
Version: 1.0.7
Version: 1.0.8
Release: 1
Summary: Log for C++, Shibboleth Edition
License: LGPL
Group: Development/Libraries
Vendor: Shibboleth Consortium
URL: http://shibboleth.net/downloads/log4shib/1.0.7
URL: http://shibboleth.net/downloads/log4shib/1.0.8
Source: %name-%version.tar.gz
BuildRoot: %_tmppath/%name-%version-root
BuildRequires: gcc-c++
......
......@@ -10,8 +10,8 @@
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,7,0
PRODUCTVERSION 1,0,7,0
FILEVERSION 1,0,8,0
PRODUCTVERSION 1,0,8,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
......@@ -30,7 +30,7 @@ BEGIN
VALUE "CompanyName", "Internet2\0"
VALUE "ContributingAuthors", "Cedric Le Goater, Marc Welz, others. See documentation for complete list\0"
VALUE "FileDescription", "Log library for C++ DLL\0"
VALUE "FileVersion", "1.0.7\0"
VALUE "FileVersion", "1.0.8\0"
VALUE "InternalName", "log4shib\0"
VALUE "LegalCopyright", "Copyright 2000-2013 the Log4cpp Project, others\0"
VALUE "LegalTrademarks", "\0"
......@@ -41,7 +41,7 @@ BEGIN
#endif
VALUE "PrivateBuild", "\0"
VALUE "ProductName", "Log library for C++\0"
VALUE "ProductVersion", "1.0.7\0"
VALUE "ProductVersion", "1.0.8\0"
VALUE "SpecialBuild", "\0"
END
END
......
......@@ -10,8 +10,8 @@
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,4,0
PRODUCTVERSION 1,0,4,0
FILEVERSION 1,0,8,0
PRODUCTVERSION 1,0,8,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
......@@ -30,9 +30,9 @@ BEGIN
VALUE "CompanyName", "Internet2\0"
VALUE "ContributingAuthors", "Cedric Le Goater, Marc Welz, others. See documentation for complete list\0"
VALUE "FileDescription", "Log library for C++ DLL\0"
VALUE "FileVersion", "1.0.4\0"
VALUE "FileVersion", "1.0.8\0"
VALUE "InternalName", "log4shib\0"
VALUE "LegalCopyright", "Copyright 2000-2002 the Log4cpp Project, others\0"
VALUE "LegalCopyright", "Copyright 2000-2013 the Log4cpp Project, others\0"
VALUE "LegalTrademarks", "\0"
#ifdef _DEBUG
VALUE "OriginalFilename", "log4shib1_0D.dll\0"
......@@ -41,7 +41,7 @@ BEGIN
#endif
VALUE "PrivateBuild", "\0"
VALUE "ProductName", "Log library for C++\0"
VALUE "ProductVersion", "1.0.4\0"
VALUE "ProductVersion", "1.0.8\0"
VALUE "SpecialBuild", "\0"
END
END
......
......@@ -10,8 +10,8 @@
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,4,0
PRODUCTVERSION 1,0,4,0
FILEVERSION 1,0,8,0
PRODUCTVERSION 1,0,8,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
......@@ -30,9 +30,9 @@ BEGIN
VALUE "CompanyName", "Internet2\0"
VALUE "ContributingAuthors", "Cedric Le Goater, Marc Welz, others. See documentation for complete list\0"
VALUE "FileDescription", "Log library for C++ DLL\0"
VALUE "FileVersion", "1.0.4\0"
VALUE "FileVersion", "1.0.8\0"
VALUE "InternalName", "log4shib\0"
VALUE "LegalCopyright", "Copyright 2000-2002 the Log4cpp Project, others\0"
VALUE "LegalCopyright", "Copyright 2000-2013 the Log4cpp Project, others\0"
VALUE "LegalTrademarks", "\0"
#ifdef _DEBUG
VALUE "OriginalFilename", "log4shib1_0D.dll\0"
......@@ -41,7 +41,7 @@ BEGIN
#endif
VALUE "PrivateBuild", "\0"
VALUE "ProductName", "Log library for C++\0"
VALUE "ProductVersion", "1.0.4\0"
VALUE "ProductVersion", "1.0.8\0"
VALUE "SpecialBuild", "\0"
END
END
......
......@@ -10,8 +10,8 @@
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,4,0
PRODUCTVERSION 1,0,4,0
FILEVERSION 1,0,8,0
PRODUCTVERSION 1,0,8,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
......@@ -30,9 +30,9 @@ BEGIN
VALUE "CompanyName", "Internet2\0"
VALUE "ContributingAuthors", "Cedric Le Goater, Marc Welz, others. See documentation for complete list\0"
VALUE "FileDescription", "Log library for C++ DLL\0"
VALUE "FileVersion", "1.0.4\0"
VALUE "FileVersion", "1.0.8\0"
VALUE "InternalName", "log4shib\0"
VALUE "LegalCopyright", "Copyright 2000-2002 the Log4cpp Project, others\0"
VALUE "LegalCopyright", "Copyright 2000-2013 the Log4cpp Project, others\0"
VALUE "LegalTrademarks", "\0"
#ifdef _DEBUG
VALUE "OriginalFilename", "log4shib1_0D.dll\0"
......@@ -41,7 +41,7 @@ BEGIN
#endif
VALUE "PrivateBuild", "\0"
VALUE "ProductName", "Log library for C++\0"
VALUE "ProductVersion", "1.0.4\0"
VALUE "ProductVersion", "1.0.8\0"
VALUE "SpecialBuild", "\0"
END
END
......
......@@ -2,13 +2,15 @@
#if defined(LOG4SHIB_HAVE_THREADING) && defined(LOG4SHIB_USE_PTHREADS)
#include <sstream>
namespace log4shib {
namespace threading {
std::string getThreadId() {
char buffer[16];
::sprintf(buffer, "%ld", pthread_self());
return std::string(buffer);
std::ostringstream os;
os << pthread_self();
return os.str();
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment