Compare commits
2 Commits
master
...
rockdaboot
Author | SHA1 | Date |
---|---|---|
Tim Rühsen | c06e3a7b87 | |
Tim Rühsen | 57e8499c59 |
2
COPYING
2
COPYING
|
@ -1,4 +1,4 @@
|
||||||
Copyright (C) 2014-2022 Tim Rühsen
|
Copyright (C) 2014-2018 Tim Rühsen
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a
|
Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
copy of this software and associated documentation files (the "Software"),
|
copy of this software and associated documentation files (the "Software"),
|
||||||
|
|
2
LICENSE
2
LICENSE
|
@ -1,4 +1,4 @@
|
||||||
Copyright (C) 2014-2022 Tim Rühsen
|
Copyright (C) 2014-2015 Tim Rühsen
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a
|
Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
copy of this software and associated documentation files (the "Software"),
|
copy of this software and associated documentation files (the "Software"),
|
||||||
|
|
35
Makefile.os4
35
Makefile.os4
|
@ -1,35 +0,0 @@
|
||||||
|
|
||||||
USE_CLIB2=YES
|
|
||||||
ifeq ($(USE_CLIB2), YES)
|
|
||||||
LIBC=clib2
|
|
||||||
else
|
|
||||||
LIBC=newlib
|
|
||||||
endif
|
|
||||||
|
|
||||||
all: build
|
|
||||||
|
|
||||||
init:
|
|
||||||
# git submodule update --init
|
|
||||||
sh ./autogen.sh
|
|
||||||
autoreconf --install --force --symlink
|
|
||||||
|
|
||||||
build: init
|
|
||||||
CC="ppc-amigaos-gcc" CFLAGS="-mcrt=${LIBC} -fPIC" CXXFLAGS="-mcrt=${LIBC} -fPIC" LDFlags="-mcrt=${LIBC}" LIBS="-lpthread -athread=native" ./configure --host=ppc-amigaos --enable-shared=no --enable-builtin --disable-runtime && \
|
|
||||||
make -j$(shell nproc)
|
|
||||||
|
|
||||||
clean:
|
|
||||||
@make -f Makefile clean
|
|
||||||
@rm -rf autom4te.cache .deps
|
|
||||||
@rm config.log config.status configure libtool Makefile Makefile.in *.m4
|
|
||||||
|
|
||||||
release:
|
|
||||||
@mkdir -p release/local/common/include
|
|
||||||
@mkdir -p release/local/clib2/lib
|
|
||||||
# @mkdir -p release/local/newlib/lib
|
|
||||||
@make -f Makefile.os4 USE_CLIB2=YES
|
|
||||||
@cp ./src/.libs/libpsl.a ./src/.libs/libpsl.lai ./src/libpsl.la release/local/clib2/lib/
|
|
||||||
@cp ./include/libpsl.h release/local/common/include/
|
|
||||||
# @make -f Makefile.os4 clean
|
|
||||||
# @make -f Makefile.os4 USE_CLIB2=NO
|
|
||||||
# @cp ./src/.libs/libpsl.a ./src/.libs/libpsl.lai ./src/libpsl.la release/local/newlib/lib/
|
|
||||||
@lha -aeq libpsl.lha release/
|
|
15
NEWS
15
NEWS
|
@ -1,17 +1,4 @@
|
||||||
Copyright (C) 2014-2022 Tim Rühsen
|
Copyright (C) 2014-2020 Tim Rühsen
|
||||||
|
|
||||||
26.12.2022 Release V0.21.2
|
|
||||||
* Increased internal label size
|
|
||||||
* Meson build improvements (needs meson >= 0.60.0)
|
|
||||||
* Autoconf build improvements
|
|
||||||
* Add instructions on how to build from tarball
|
|
||||||
* Add WSAStartup() for Windows psl tool and tests
|
|
||||||
* Bump gettext version to 0.19.3
|
|
||||||
* Fix stack buffer overflow WRITE 1 in domain_to_punycode()
|
|
||||||
(Relevant only when built without any IDNA library.)
|
|
||||||
* Fix undefined behavior in library code
|
|
||||||
* Ensures that calls to fopen() and stat() can handle largefiles
|
|
||||||
* Several minor (non-functional) changes
|
|
||||||
|
|
||||||
18.07.2020 Release V0.21.1
|
18.07.2020 Release V0.21.1
|
||||||
* Fixing a test due to recent changes in upstream PSL
|
* Fixing a test due to recent changes in upstream PSL
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright(c) 2017-2022 Tim Ruehsen
|
* Copyright(c) 2017-2018 Tim Ruehsen
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
* copy of this software and associated documentation files (the "Software"),
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright(c) 2017-2022 Tim Ruehsen
|
* Copyright(c) 2017-2018 Tim Ruehsen
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
* copy of this software and associated documentation files (the "Software"),
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright(c) 2017-2022 Tim Ruehsen
|
* Copyright(c) 2017-2018 Tim Ruehsen
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
* copy of this software and associated documentation files (the "Software"),
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright(c) 2017-2022 Tim Ruehsen
|
* Copyright(c) 2017-2018 Tim Ruehsen
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
* copy of this software and associated documentation files (the "Software"),
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright(c) 2017-2022 Tim Ruehsen
|
* Copyright(c) 2017-2018 Tim Ruehsen
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
* copy of this software and associated documentation files (the "Software"),
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh -eu
|
#!/bin/sh -eu
|
||||||
#
|
#
|
||||||
# Copyright(c) 2017-2022 Tim Ruehsen
|
# Copyright(c) 2017-2018 Tim Ruehsen
|
||||||
#
|
#
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a
|
# Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
# copy of this software and associated documentation files (the "Software"),
|
# copy of this software and associated documentation files (the "Software"),
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
#
|
#
|
||||||
# Copyright(c) 2017-2022 Tim Ruehsen
|
# Copyright(c) 2017-2018 Tim Ruehsen
|
||||||
#
|
#
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a
|
# Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
# copy of this software and associated documentation files (the "Software"),
|
# copy of this software and associated documentation files (the "Software"),
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright(c) 2014-2022 Tim Ruehsen
|
* Copyright(c) 2014-2018 Tim Ruehsen
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
* copy of this software and associated documentation files (the "Software"),
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
8:4:3
|
8:3:3
|
||||||
|
|
14
meson.build
14
meson.build
|
@ -40,9 +40,17 @@ if ['libidn2', 'auto'].contains(enable_runtime)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if ['libicu', 'auto'].contains(enable_runtime)
|
if ['libicu', 'auto'].contains(enable_runtime)
|
||||||
libicu_dep = dependency('icu-uc', 'ICU',
|
libicu_dep = dependency('icu-uc', required : false)
|
||||||
components: 'uc',
|
if not libicu_dep.found() and cc.has_header('unicode/ustring.h')
|
||||||
required : false)
|
# MSVC: the debug configuration of ICU generated the libraries with d suffix
|
||||||
|
# we must handle this and search for the right library depending on the
|
||||||
|
# build type. Note debugoptimized is just a release build with .pdb files enabled
|
||||||
|
if cc.get_id() == 'msvc' and buildtype == 'debug'
|
||||||
|
libicu_dep = cc.find_library('icuucd', required : false)
|
||||||
|
else
|
||||||
|
libicu_dep = cc.find_library('icuuc', required : false)
|
||||||
|
endif
|
||||||
|
endif
|
||||||
if libicu_dep.found()
|
if libicu_dep.found()
|
||||||
if enable_runtime == 'auto'
|
if enable_runtime == 'auto'
|
||||||
enable_runtime = 'libicu'
|
enable_runtime = 'libicu'
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright(c) 2014-2022 Tim Ruehsen
|
* Copyright(c) 2014-2018 Tim Ruehsen
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
* copy of this software and associated documentation files (the "Software"),
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright(c) 2014-2022 Tim Ruehsen
|
* Copyright(c) 2014-2018 Tim Ruehsen
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
* copy of this software and associated documentation files (the "Software"),
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright(c) 2014-2022 Tim Ruehsen
|
* Copyright(c) 2014-2018 Tim Ruehsen
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
* copy of this software and associated documentation files (the "Software"),
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright(c) 2014-2022 Tim Ruehsen
|
* Copyright(c) 2014-2018 Tim Ruehsen
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
* copy of this software and associated documentation files (the "Software"),
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright(c) 2014-2022 Tim Ruehsen
|
* Copyright(c) 2014-2018 Tim Ruehsen
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
* copy of this software and associated documentation files (the "Software"),
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright(c) 2014-2022 Tim Ruehsen
|
* Copyright(c) 2014-2018 Tim Ruehsen
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
* copy of this software and associated documentation files (the "Software"),
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
|
|
15
tools/psl.c
15
tools/psl.c
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright(c) 2014-2022 Tim Ruehsen
|
* Copyright(c) 2014-2018 Tim Ruehsen
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
* copy of this software and associated documentation files (the "Software"),
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
|
@ -38,10 +38,6 @@
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
# include <winsock2.h> // WSAStartup, WSACleanup
|
# include <winsock2.h> // WSAStartup, WSACleanup
|
||||||
|
|
||||||
// Windows does not have localtime_r but has localtime_s, which is more or less
|
|
||||||
// the same except that the arguments are reversed
|
|
||||||
# define localtime_r(t_sec,t_now) localtime_s(t_now,t_sec)
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -92,12 +88,9 @@ static void init_windows(void) {
|
||||||
static const char *time2str(time_t t)
|
static const char *time2str(time_t t)
|
||||||
{
|
{
|
||||||
static char buf[64];
|
static char buf[64];
|
||||||
struct tm tm;
|
struct tm *tp = localtime(&t);
|
||||||
|
|
||||||
if (localtime_r(&t, &tm) != NULL)
|
strftime(buf, sizeof(buf), "%a, %d %b %Y %H:%M:%S %Z", tp);
|
||||||
strftime(buf, sizeof(buf), "%a, %d %b %Y %H:%M:%S %Z", &tm);
|
|
||||||
else
|
|
||||||
strcpy(buf, "--notime--");
|
|
||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -167,7 +160,7 @@ int main(int argc, const char *const *argv)
|
||||||
printf("psl %s (0x%06x)\n", PACKAGE_VERSION, psl_check_version_number(0));
|
printf("psl %s (0x%06x)\n", PACKAGE_VERSION, psl_check_version_number(0));
|
||||||
printf("libpsl %s\n", psl_get_version());
|
printf("libpsl %s\n", psl_get_version());
|
||||||
printf("\n");
|
printf("\n");
|
||||||
printf("Copyright (C) 2014-2022 Tim Ruehsen\n");
|
printf("Copyright (C) 2014-2018 Tim Ruehsen\n");
|
||||||
printf("License: MIT\n");
|
printf("License: MIT\n");
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
0.21.2
|
0.21.1
|
||||||
|
|
Loading…
Reference in New Issue