aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-11-18 20:39:22 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-11-23 14:16:49 +0300
commit7f5c98bfa147997d58a60186a84d12a3a602d28c (patch)
treea9f4a6f3f4ae3232843c0ec3e0ebdd6efe310c5e
parent816458fde97a41082796eb8d3323047cc4f87935 (diff)
downloadlibmicrohttpd-7f5c98bfa147997d58a60186a84d12a3a602d28c.tar.gz
libmicrohttpd-7f5c98bfa147997d58a60186a84d12a3a602d28c.zip
Gettext staff moved to 'po' directory. Main 'configure' now do not check for
gettext and related staff.
-rw-r--r--ChangeLog5
-rw-r--r--Makefile.am78
-rwxr-xr-xbootstrap1
-rw-r--r--configure.ac10
-rw-r--r--po/ABOUT-NLS (renamed from ABOUT-NLS)0
-rw-r--r--po/Makefile.in.in53
-rw-r--r--po/POTFILES.in53
-rw-r--r--po/configure.ac.in17
-rw-r--r--po/libmicrohttpd.pot654
-rw-r--r--po/stamp-po1
-rw-r--r--src/include/microhttpd.h2
11 files changed, 147 insertions, 727 deletions
diff --git a/ChangeLog b/ChangeLog
index 7d3bdd40..e9684532 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
1Wed Nov 23 12:48:23 MSK 2016
2 Move all gettext-related staff to 'po' subdirectory.
3 Excluded gettext files generation from normal build.
4 Removed generated files from GIT. -EG
5
1Tue Nov 15 19:08:43 MSK 2016 6Tue Nov 15 19:08:43 MSK 2016
2 Fixed forwarding "upgraded" TLS connections for 7 Fixed forwarding "upgraded" TLS connections for
3 chunks sizes larger than buffer size. -EG 8 chunks sizes larger than buffer size. -EG
diff --git a/Makefile.am b/Makefile.am
index 1a47fba2..a8eaa2cd 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,8 @@
1# This Makefile.am is in the public domain 1# This Makefile.am is in the public domain
2ACLOCAL_AMFLAGS = -I m4 2ACLOCAL_AMFLAGS = -I m4
3SUBDIRS = contrib m4 src po . 3SUBDIRS = contrib m4 src .
4DIST_SUBDIRS = $(SUBDIRS) po
5EXTRA_PO_DIST = po/ABOUT-NLS $(top_srcdir)/po/configure.ac po/configure
4W32COMMON = w32/common/gen_dll_res.ps1 w32/common/microhttpd_dll_res_vc.rc.in w32/common/microhttpd_dll_res_vc.rc \ 6W32COMMON = w32/common/gen_dll_res.ps1 w32/common/microhttpd_dll_res_vc.rc.in w32/common/microhttpd_dll_res_vc.rc \
5 w32/common/MHD_config.h w32/common/vs_dirs.props w32/common/common-build-settings.vcxproj \ 7 w32/common/MHD_config.h w32/common/vs_dirs.props w32/common/common-build-settings.vcxproj \
6 w32/common/libmicrohttpd-build-settings.vcxproj w32/common/libmicrohttpd-files.vcxproj w32/common/libmicrohttpd-filters.vcxproj \ 8 w32/common/libmicrohttpd-build-settings.vcxproj w32/common/libmicrohttpd-files.vcxproj w32/common/libmicrohttpd-filters.vcxproj \
@@ -15,9 +17,9 @@ W32VS2015 = w32/VS2015/libmicrohttpd.vcxproj w32/VS2015/libmicrohttpd.vcxproj.fi
15 w32/VS2015/simplepost.vcxproj w32/VS2015/largepost.vcxproj \ 17 w32/VS2015/simplepost.vcxproj w32/VS2015/largepost.vcxproj \
16 w32/VS2015/libmicrohttpd.sln 18 w32/VS2015/libmicrohttpd.sln
17EXTRA_DIST = \ 19EXTRA_DIST = \
18 ABOUT-NLS \
19 acinclude.m4 \ 20 acinclude.m4 \
20 libmicrohttpd.pc.in \ 21 libmicrohttpd.pc.in \
22 $(EXTRA_PO_DIST) \
21 $(W32COMMON) $(W32VS2013) $(W32VS2015) 23 $(W32COMMON) $(W32VS2013) $(W32VS2015)
22 24
23pkgconfigdir = $(libdir)/pkgconfig 25pkgconfigdir = $(libdir)/pkgconfig
@@ -26,3 +28,75 @@ pkgconfig_DATA = libmicrohttpd.pc
26if BUILD_DOC 28if BUILD_DOC
27SUBDIRS += doc 29SUBDIRS += doc
28endif 30endif
31
32.PHONY: po-files update-po-files po-files-pre-distdir renew-po-configure.ac update-POTFILES.in
33
34# Do not override automake rule, only add prerequisite
35distdir@EMPTY_VAR@: po-files-pre-distdir
36
37# Do not override automake rule, only add prerequisite
38distclean-recursive@EMPTY_VAR@: po/Makefile
39
40srcdir_po = $(top_srcdir)/po
41
42# Test target: build main po file
43po-files: $(srcdir_po)/libmicrohttpd.pot
44
45# Test target: force update all po files
46update-po-files: po-files-pre-distdir Makefile
47 @$(am__cd) po && $(MAKE) $(AM_MAKEFLAGS) libmicrohttpd.pot-update
48
49# Update po-related files before make distdir
50po-files-pre-distdir: update-POTFILES.in renew-po-configure.ac
51 @$(MAKE) $(AM_MAKEFLAGS) po/Makefile
52
53# Clean in po directory only if po/Makefile was generated to avoid
54# useless generation of po/Makefile only for 'clean' target
55clean-local:
56 @ if test -f po/Makefile; then $(am__cd) po && $(MAKE) $(AM_MAKEFLAGS) clean || exit 1; fi;
57
58po/Makefile: $(srcdir_po)/Makefile.in.in $(srcdir_po)/Makevars $(srcdir_po)/POTFILES.in po/config.status
59 @$(am__cd) po && @SHELL@ ./config.status ./Makefile.in po-directories
60
61# Regenerate po/config.status if this Makefile is changed as configure parameters may be updated
62po/config.status: $(srcdir_po)/configure Makefile
63 @$(MKDIR_P) po && $(am__cd) po && echo "cd po && @SHELL@ ./configure @ac_configure_args@" && \
64 @SHELL@ $(abs_top_srcdir)/po/configure @ac_configure_args@ --srcdir=$(abs_top_srcdir)/po \
65 --disable-option-checking --no-create --no-recursion
66
67# Next rules actually create files in source tree, not in build tree, but those files should
68# stay in source tree and should be distributed in tarball, i.e. should not be created during
69# normal builds.
70$(srcdir_po)/libmicrohttpd.pot: po/Makefile
71 @$(am__cd) po && $(MAKE) $(AM_MAKEFLAGS) libmicrohttpd.pot
72
73# This target doesn't depend on po/configure.acT so po/configure.ac (and po/configure) will not be
74# forced to regenerate after each run of main configure.
75# If po/configure.ac is missing - it will be generated.
76$(srcdir_po)/configure.ac:
77 @$(MAKE) $(AM_MAKEFLAGS) renew-po-configure.ac
78
79# Update po/configure.ac only if po/configure.acT (generated by main configure) is different.
80# If po/configure.ac is unchanged then po/configure will not be regenerated
81renew-po-configure.ac:
82 @$(MAKE) $(AM_MAKEFLAGS) po/configure.acT && \
83 if ! test -f $(srcdir_po)/configure.ac || \
84 ! cmp -s po/configure.acT $(srcdir_po)/configure.ac ; then \
85 echo "cp po/configure.acT $(srcdir_po)/configure.ac" && \
86 cp po/configure.acT $(srcdir_po)/configure.ac || exit 1; \
87 fi
88
89$(srcdir_po)/configure: $(srcdir_po)/configure.ac
90 @$(am__cd) $(srcdir_po) && echo "Creating po/configure..." && \
91 echo "@ACLOCAL@" && @ACLOCAL@ && \
92 echo "@AUTOCONF@" && @AUTOCONF@
93
94# Generate po/POTFILES.in if po/POTFILES.in is missing
95$(srcdir_po)/POTFILES.in:
96 @$(MAKE) $(AM_MAKEFLAGS) update-POTFILES.in
97
98update-POTFILES.in:
99 @$(am__cd) $(srcdir_po) && echo @ECHO_N@ "Creating po/POTFILES.in... @ECHO_C@" && \
100 find '../src/include' ! -name 'include' -prune -name '*.h' ! -name 'mhd_options.h' > POTFILES.in && \
101 find '../src/microhttpd' ! -name 'microhttpd' -prune \( -name '*.h' -o -name '*.c' \) ! -name 'test_*' >> POTFILES.in && \
102 echo "@ECHO_T@done." || (rm -f POTFILES.in ; echo "@ECHO_T@failed." && false)
diff --git a/bootstrap b/bootstrap
index 41295bf6..0ce931c8 100755
--- a/bootstrap
+++ b/bootstrap
@@ -4,4 +4,3 @@ if ! test -n "$BASH_SOURCE" || ! workdir="${BASH_SOURCE[0]%/*}" || ! test -n "$w
4fi 4fi
5aclocal -I m4 --install 5aclocal -I m4 --install
6autoreconf -I m4 -f -i 6autoreconf -I m4 -f -i
7contrib/pogen.sh
diff --git a/configure.ac b/configure.ac
index 8cdb94b6..4da55816 100644
--- a/configure.ac
+++ b/configure.ac
@@ -34,10 +34,6 @@ AC_SUBST(LIB_VERSION_CURRENT)
34AC_SUBST(LIB_VERSION_REVISION) 34AC_SUBST(LIB_VERSION_REVISION)
35AC_SUBST(LIB_VERSION_AGE) 35AC_SUBST(LIB_VERSION_AGE)
36 36
37# check for gettext
38AM_GNU_GETTEXT([external])
39AM_GNU_GETTEXT_VERSION([0.19.8])
40
41AC_MSG_CHECKING([[whether z/OS special settings are required]]) 37AC_MSG_CHECKING([[whether z/OS special settings are required]])
42if test `uname -s` = "OS/390" 38if test `uname -s` = "OS/390"
43then 39then
@@ -1376,16 +1372,20 @@ AC_SUBST(CPPFLAGS)
1376AC_SUBST(LIBS) 1372AC_SUBST(LIBS)
1377AC_SUBST(LDFLAGS) 1373AC_SUBST(LDFLAGS)
1378 1374
1375# Used for 'po' directory staff
1376AC_SUBST([ac_configure_args])
1377AC_SUBST([EMPTY_VAR], [[]])
1378
1379AC_CONFIG_FILES([ 1379AC_CONFIG_FILES([
1380libmicrohttpd.pc 1380libmicrohttpd.pc
1381w32/common/microhttpd_dll_res_vc.rc 1381w32/common/microhttpd_dll_res_vc.rc
1382po/configure.acT:po/configure.ac.in
1382Makefile 1383Makefile
1383contrib/Makefile 1384contrib/Makefile
1384doc/Makefile 1385doc/Makefile
1385doc/doxygen/Makefile 1386doc/doxygen/Makefile
1386doc/examples/Makefile 1387doc/examples/Makefile
1387m4/Makefile 1388m4/Makefile
1388po/Makefile.in
1389src/Makefile 1389src/Makefile
1390src/include/Makefile 1390src/include/Makefile
1391src/microhttpd/Makefile 1391src/microhttpd/Makefile
diff --git a/ABOUT-NLS b/po/ABOUT-NLS
index 3cc82865..3cc82865 100644
--- a/ABOUT-NLS
+++ b/po/ABOUT-NLS
diff --git a/po/Makefile.in.in b/po/Makefile.in.in
index 38c293d2..4e5c700e 100644
--- a/po/Makefile.in.in
+++ b/po/Makefile.in.in
@@ -18,8 +18,12 @@ SHELL = /bin/sh
18@SET_MAKE@ 18@SET_MAKE@
19 19
20srcdir = @srcdir@ 20srcdir = @srcdir@
21top_srcdir = @top_srcdir@ 21# Modified to fit MHD needs
22VPATH = @srcdir@ 22top_po_srcdir = @top_srcdir@
23top_srcdir = @top_srcdir@/..
24top_po_builddir = $(top_builddir)/po
25# See '$(POTFILES):' rule
26VPATH = @srcdir@:@srcdir@/po
23 27
24prefix = @prefix@ 28prefix = @prefix@
25exec_prefix = @exec_prefix@ 29exec_prefix = @exec_prefix@
@@ -155,6 +159,7 @@ stamp-po: $(srcdir)/$(DOMAIN).pot
155# The determination of whether the package xyz is a GNU one is based on the 159# The determination of whether the package xyz is a GNU one is based on the
156# heuristic whether some file in the top level directory mentions "GNU xyz". 160# heuristic whether some file in the top level directory mentions "GNU xyz".
157# If GNU 'find' is available, we avoid grepping through monster files. 161# If GNU 'find' is available, we avoid grepping through monster files.
162# Modified to fit MHD needs
158$(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed 163$(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed
159 package_gnu="$(PACKAGE_GNU)"; \ 164 package_gnu="$(PACKAGE_GNU)"; \
160 test -n "$$package_gnu" || { \ 165 test -n "$$package_gnu" || { \
@@ -183,19 +188,19 @@ $(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed
183 fi; \ 188 fi; \
184 case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ 189 case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
185 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \ 190 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
186 $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ 191 $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_po_srcdir) \
187 --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ 192 --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
188 --files-from=$(srcdir)/POTFILES.in \ 193 --files-from=$(srcdir)/POTFILES.in \
189 --copyright-holder='$(COPYRIGHT_HOLDER)' \ 194 --copyright-holder='$(COPYRIGHT_HOLDER)' \
190 --msgid-bugs-address="$$msgid_bugs_address" \ 195 --msgid-bugs-address="$$msgid_bugs_address" \
191 ;; \ 196 ;; \
192 *) \ 197 *) \
193 $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ 198 $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_po_srcdir) \
194 --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ 199 --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
195 --files-from=$(srcdir)/POTFILES.in \ 200 --files-from=$(srcdir)/POTFILES.in \
196 --copyright-holder='$(COPYRIGHT_HOLDER)' \ 201 --copyright-holder='$(COPYRIGHT_HOLDER)' \
197 --package-name="$${package_prefix}@PACKAGE@" \ 202 --package-name="$${package_prefix}@PACKAGE@" \
198 --package-version='@VERSION@' \ 203 --package-version='$(VERSION)' \
199 --msgid-bugs-address="$$msgid_bugs_address" \ 204 --msgid-bugs-address="$$msgid_bugs_address" \
200 ;; \ 205 ;; \
201 esac 206 esac
@@ -373,24 +378,51 @@ check: all
373 378
374info dvi ps pdf html tags TAGS ctags CTAGS ID: 379info dvi ps pdf html tags TAGS ctags CTAGS ID:
375 380
381# Modified for MHD
376mostlyclean: 382mostlyclean:
377 rm -f remove-potcdate.sed 383 rm -f remove-potcdate.sed
378 rm -f stamp-poT 384 rm -f stamp-poT
379 rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po 385 rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
380 rm -fr *.o 386 rm -fr *.o
387 rm -fr po
381 388
382clean: mostlyclean 389clean: mostlyclean
383 390
391# Modified to fit MHD needs
384distclean: clean 392distclean: clean
385 rm -f Makefile Makefile.in POTFILES *.mo 393 rm -f Makefile Makefile.in POTFILES *.mo
394 rm -f config.status config.cache config.log configure.lineno config.status.lineno stamp-po
386 395
396# Modified to fit MHD needs
387maintainer-clean: distclean 397maintainer-clean: distclean
388 @echo "This command is intended for maintainers to use;" 398 @echo "This command is intended for maintainers to use;"
389 @echo "it deletes files that may require special tools to rebuild." 399 @echo "it deletes files that may require special tools to rebuild."
390 rm -f stamp-po $(GMOFILES) 400 rm -f $(GMOFILES)
391 401
392distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) 402distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
393dist distdir: 403
404# Added for MHD
405# If source path is in absolute form, POTFILES generated with correct path,
406# but if source path in relative form (forced by 'configure' for inplace builds)
407# then POTFILES is generated with extra '..' ('po-directories' in config.status
408# think that '.' is subdirectory and add additional '..' to path to source files)
409# This rule create additional 'po' subdirectory which is included in VPATH.
410$(POTFILES):
411 @ case "$(srcdir)" in \
412 /* ) : ;; \
413 * ) @mkdir_p@ po ;; \
414 esac
415
416# Modified to fit MHD needs
417mkdistdir:
418 @ $(mkdir_p) $(distdir)
419 @ case "$(srcdir)" in \
420 /* ) : ;; \
421 * ) @mkdir_p@ po ;; \
422 esac
423
424# Modified to fit MHD needs
425dist distdir: mkdistdir
394 test -z "$(DISTFILESDEPS)" || $(MAKE) $(DISTFILESDEPS) 426 test -z "$(DISTFILESDEPS)" || $(MAKE) $(DISTFILESDEPS)
395 @$(MAKE) dist2 427 @$(MAKE) dist2
396# This is a separate target because 'update-po' must be executed before. 428# This is a separate target because 'update-po' must be executed before.
@@ -472,9 +504,10 @@ update-gmo: Makefile $(GMOFILES)
472# because execution permission bits may not work on the current file system. 504# because execution permission bits may not work on the current file system.
473# Use @SHELL@, which is the shell determined by autoconf for the use by its 505# Use @SHELL@, which is the shell determined by autoconf for the use by its
474# scripts, not $(SHELL) which is hardwired to /bin/sh and may be deficient. 506# scripts, not $(SHELL) which is hardwired to /bin/sh and may be deficient.
475Makefile: Makefile.in.in Makevars $(top_builddir)/config.status @POMAKEFILEDEPS@ 507# Note: Fixed missging 'srcdir', Modified to fit MHD needs
476 cd $(top_builddir) \ 508Makefile: $(srcdir)/Makefile.in.in $(srcdir)/Makevars $(top_po_builddir)/config.status @POMAKEFILEDEPS@
477 && @SHELL@ ./config.status $(subdir)/$@.in po-directories 509 cd $(top_po_builddir) \
510 && @SHELL@ ./config.status ./$@.in po-directories
478 511
479force: 512force:
480 513
diff --git a/po/POTFILES.in b/po/POTFILES.in
deleted file mode 100644
index 1fda6ce6..00000000
--- a/po/POTFILES.in
+++ /dev/null
@@ -1,53 +0,0 @@
1src/examples/authorization_example.c
2src/examples/benchmark.c
3src/examples/benchmark_https.c
4src/examples/chunked_example.c
5src/examples/demo.c
6src/examples/demo_https.c
7src/examples/digest_auth_example.c
8src/examples/dual_stack_example.c
9src/examples/fileserver_example.c
10src/examples/fileserver_example_dirs.c
11src/examples/fileserver_example_external_select.c
12src/examples/https_fileserver_example.c
13src/examples/minimal_example.c
14src/examples/minimal_example_comet.c
15src/examples/post_example.c
16src/examples/querystring_example.c
17src/examples/refuse_post_example.c
18src/examples/timeout.c
19src/examples/upgrade_example.c
20src/microhttpd/base64.c
21src/microhttpd/basicauth.c
22src/microhttpd/connection.c
23src/microhttpd/connection_https.c
24src/microhttpd/daemon.c
25src/microhttpd/digestauth.c
26src/microhttpd/internal.c
27src/microhttpd/md5.c
28src/microhttpd/memorypool.c
29src/microhttpd/mhd_compat.c
30src/microhttpd/mhd_itc.c
31src/microhttpd/mhd_mono_clock.c
32src/microhttpd/mhd_sem.c
33src/microhttpd/mhd_sockets.c
34src/microhttpd/mhd_str.c
35src/microhttpd/mhd_threads.c
36src/microhttpd/postprocessor.c
37src/microhttpd/reason_phrase.c
38src/microhttpd/response.c
39src/microhttpd/sysfdsetsize.c
40src/microhttpd/tsearch.c
41src/testcurl/curl_version_check.c
42src/testcurl/https/tls_test_common.c
43src/testzzuf/socat.c
44src/include/mhd_options.h
45src/include/microhttpd.h
46src/microhttpd/connection.h
47src/microhttpd/internal.h
48src/microhttpd/mhd_compat.h
49src/microhttpd/mhd_itc.h
50src/microhttpd/mhd_locks.h
51src/microhttpd/mhd_sockets.h
52src/microhttpd/mhd_str.h
53src/microhttpd/mhd_threads.h
diff --git a/po/configure.ac.in b/po/configure.ac.in
new file mode 100644
index 00000000..c0b98669
--- /dev/null
+++ b/po/configure.ac.in
@@ -0,0 +1,17 @@
1# This configure.ac.in is in the public domain
2
3# Use versions from parent configure
4AC_INIT([@PACKAGE_NAME@], [@PACKAGE_VERSION@], [@PACKAGE_BUGREPORT@])
5
6AC_CONFIG_SRCDIR([Makevars])
7AC_CONFIG_MACRO_DIR([../m4])
8AC_CONFIG_AUX_DIR([..])
9AM_INIT_AUTOMAKE([silent-rules])
10
11AM_GNU_GETTEXT([external])
12
13# gettext expect that 'po' files will stay in subdirectory.
14# Form './Makefile.in' is accepted by gettext as subdirectory but caused some
15# troubles with in-place build (with relative path to source files). To workaround
16# this, some hack are used in Makefile.
17AC_OUTPUT([./Makefile.in])
diff --git a/po/libmicrohttpd.pot b/po/libmicrohttpd.pot
deleted file mode 100644
index 2af0c97f..00000000
--- a/po/libmicrohttpd.pot
+++ /dev/null
@@ -1,654 +0,0 @@
1# SOME DESCRIPTIVE TITLE.
2# Copyright (C) YEAR Christian Grothoff
3# This file is distributed under the same license as the GNU libmicrohttpd package.
4# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5#
6#, fuzzy
7msgid ""
8msgstr ""
9"Project-Id-Version: GNU libmicrohttpd 0.9.52\n"
10"Report-Msgid-Bugs-To: libmicrohttpd@gnu.org\n"
11"POT-Creation-Date: 2016-10-17 19:09+0200\n"
12"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14"Language-Team: LANGUAGE <LL@li.org>\n"
15"Language: \n"
16"MIME-Version: 1.0\n"
17"Content-Type: text/plain; charset=CHARSET\n"
18"Content-Transfer-Encoding: 8bit\n"
19
20#: src/microhttpd/basicauth.c:67
21msgid "Error decoding basic authentication\n"
22msgstr ""
23
24#: src/microhttpd/basicauth.c:77
25msgid "Basic authentication doesn't contain ':' separator\n"
26msgstr ""
27
28#: src/microhttpd/basicauth.c:95
29msgid "Failed to allocate memory for password\n"
30msgstr ""
31
32#: src/microhttpd/basicauth.c:158
33msgid "Failed to add Basic auth header\n"
34msgstr ""
35
36#: src/microhttpd/connection.c:528
37msgid ""
38"Failed to signal end of connection via inter-thread communication channel"
39msgstr ""
40
41#: src/microhttpd/connection.c:621
42msgid "Closing connection (application reported error generating data)\n"
43msgstr ""
44
45#: src/microhttpd/connection.c:667
46msgid "Closing connection (out of memory)\n"
47msgstr ""
48
49#: src/microhttpd/connection.c:711
50msgid "Closing connection (application error generating response)\n"
51msgstr ""
52
53#: src/microhttpd/connection.c:1233
54#, c-format
55msgid ""
56"Error processing request (HTTP response code is %u (`%s')). Closing "
57"connection.\n"
58msgstr ""
59
60#: src/microhttpd/connection.c:1250 src/microhttpd/connection.c:2859
61#: src/microhttpd/connection.c:2962
62msgid "Closing connection (failed to create response header)\n"
63msgstr ""
64
65#: src/microhttpd/connection.c:1274 src/microhttpd/connection.c:2329
66#: src/microhttpd/connection.c:2390 src/microhttpd/connection.c:2626
67#: src/microhttpd/connection_https.c:139
68#, c-format
69msgid "In function %s handling connection at state: %s\n"
70msgstr ""
71
72#: src/microhttpd/connection.c:1490
73msgid "Not enough memory in pool to allocate header record!\n"
74msgstr ""
75
76#: src/microhttpd/connection.c:1532
77msgid "Not enough memory in pool to parse cookies!\n"
78msgstr ""
79
80#: src/microhttpd/connection.c:1737 src/microhttpd/connection.c:1899
81msgid "Application reported internal error, closing connection.\n"
82msgstr ""
83
84#: src/microhttpd/connection.c:1789 src/microhttpd/connection.c:1844
85msgid ""
86"Received malformed HTTP request (bad chunked encoding). Closing connection.\n"
87msgstr ""
88
89#: src/microhttpd/connection.c:1907
90msgid "libmicrohttpd API violation"
91msgstr ""
92
93#: src/microhttpd/connection.c:1923
94msgid ""
95"WARNING: incomplete POST processing and connection not suspended will result "
96"in hung connection.\n"
97msgstr ""
98
99#: src/microhttpd/connection.c:2027
100#, c-format
101msgid "Sent response: `%.*s'\n"
102msgstr ""
103
104#: src/microhttpd/connection.c:2088
105msgid "Received malformed line (no colon). Closing connection.\n"
106msgstr ""
107
108#: src/microhttpd/connection.c:2224
109msgid "Received HTTP 1.1 request without `Host' header.\n"
110msgstr ""
111
112#: src/microhttpd/connection.c:2419 src/microhttpd/connection.c:2493
113#, c-format
114msgid "Failed to send data: %s\n"
115msgstr ""
116
117#: src/microhttpd/connection.c:2428
118#, c-format
119msgid "Sent 100 continue response: `%.*s'\n"
120msgstr ""
121
122#: src/microhttpd/connection.c:2468
123msgid "Data offset exceeds limit"
124msgstr ""
125
126#: src/microhttpd/connection.c:2478
127#, c-format
128msgid "Sent %d-byte DATA response: `%.*s'\n"
129msgstr ""
130
131#: src/microhttpd/connection.c:2544 src/microhttpd/daemon.c:5249
132msgid "Internal error\n"
133msgstr ""
134
135#: src/microhttpd/connection.c:3164 src/microhttpd/daemon.c:2078
136#: src/microhttpd/daemon.c:3417 src/microhttpd/daemon.c:3437
137#: src/microhttpd/daemon.c:4387 src/microhttpd/daemon.c:4405
138#: src/microhttpd/response.c:838 src/microhttpd/response.c:864
139#, c-format
140msgid "Call to epoll_ctl failed: %s\n"
141msgstr ""
142
143#: src/microhttpd/connection.c:3328
144msgid "Application used invalid status code for 'upgrade' response!\n"
145msgstr ""
146
147#: src/microhttpd/connection.c:3338
148msgid ""
149"Application attempted 'upgrade' without setting MHD_USE_SUSPEND_RESUME!\n"
150msgstr ""
151
152#: src/microhttpd/connection.c:3349
153msgid ""
154"Application attempted 'upgrade' HTTPS connection in epoll mode without "
155"setting MHD_USE_HTTPS_EPOLL_UPGRADE!\n"
156msgstr ""
157
158#: src/microhttpd/connection_https.c:70
159msgid "Error: received handshake message out of context\n"
160msgstr ""
161
162#: src/microhttpd/daemon.c:107
163#, c-format
164msgid "Fatal error in GNU libmicrohttpd %s:%u: %s\n"
165msgstr ""
166
167#: src/microhttpd/daemon.c:323
168msgid "Failed to add IP connection count node\n"
169msgstr ""
170
171#: src/microhttpd/daemon.c:381
172msgid "Failed to find previously-added IP address\n"
173msgstr ""
174
175#: src/microhttpd/daemon.c:387
176msgid "Previously-added IP address had counter of zero\n"
177msgstr ""
178
179#: src/microhttpd/daemon.c:553
180msgid ""
181"Failed to setup x509 certificate/key: pre 3.X.X version of GnuTLS does not "
182"support setting key password"
183msgstr ""
184
185#: src/microhttpd/daemon.c:603
186#, c-format
187msgid "Error: invalid credentials type %d specified.\n"
188msgstr ""
189
190#: src/microhttpd/daemon.c:849
191#, c-format
192msgid "Maximum socket in select set: %d\n"
193msgstr ""
194
195#: src/microhttpd/daemon.c:945 src/microhttpd/daemon.c:962
196#: src/microhttpd/daemon.c:2202 src/microhttpd/daemon.c:2576
197#: src/microhttpd/daemon.c:5142
198msgid "Failed to remove FD from epoll set\n"
199msgstr ""
200
201#: src/microhttpd/daemon.c:1185
202msgid "Error preparing select\n"
203msgstr ""
204
205#: src/microhttpd/daemon.c:1205 src/microhttpd/daemon.c:1426
206#, c-format
207msgid "Error during select (%d): `%s'\n"
208msgstr ""
209
210#: src/microhttpd/daemon.c:1255 src/microhttpd/daemon.c:1500
211#, c-format
212msgid "Error during poll: `%s'\n"
213msgstr ""
214
215#: src/microhttpd/daemon.c:1408
216msgid "Failed to add FD to fd_set\n"
217msgstr ""
218
219#: src/microhttpd/daemon.c:1546 src/microhttpd/response.c:664
220msgid "Processing thread terminating. Closing connection\n"
221msgstr ""
222
223#: src/microhttpd/daemon.c:1809 src/microhttpd/daemon.c:4906
224#, c-format
225msgid "Socket descriptor larger than FD_SETSIZE: %d > %d\n"
226msgstr ""
227
228#: src/microhttpd/daemon.c:1824 src/microhttpd/daemon.c:2496
229#, c-format
230msgid "Accepted connection on socket %d\n"
231msgstr ""
232
233#: src/microhttpd/daemon.c:1836
234msgid "Server reached connection limit. Closing inbound connection.\n"
235msgstr ""
236
237#: src/microhttpd/daemon.c:1854
238msgid "Connection rejected by application. Closing connection.\n"
239msgstr ""
240
241#: src/microhttpd/daemon.c:1902 src/microhttpd/daemon.c:1922
242#: src/microhttpd/daemon.c:3006
243#, c-format
244msgid "Error allocating memory: %s\n"
245msgstr ""
246
247#: src/microhttpd/daemon.c:1955
248#, c-format
249msgid "Failed to set nonblocking mode on connection socket: %s\n"
250msgstr ""
251
252#: src/microhttpd/daemon.c:1983
253#, c-format
254msgid "Failed to setup TLS credentials: unknown credential type %d\n"
255msgstr ""
256
257#: src/microhttpd/daemon.c:1992
258msgid "Unknown credential type"
259msgstr ""
260
261#: src/microhttpd/daemon.c:2058
262msgid "Failed to signal new connection via inter-thread communication channel."
263msgstr ""
264
265#: src/microhttpd/daemon.c:2164
266msgid "Cannot suspend connections without enabling MHD_USE_SUSPEND_RESUME!\n"
267msgstr ""
268
269#: src/microhttpd/daemon.c:2229
270msgid "Cannot resume connections without enabling MHD_USE_SUSPEND_RESUME!\n"
271msgstr ""
272
273#: src/microhttpd/daemon.c:2239
274msgid "Failed to signal resume via inter-thread communication channel."
275msgstr ""
276
277#: src/microhttpd/daemon.c:2366
278#, c-format
279msgid "Failed to set nonblocking mode on new client socket: %s\n"
280msgstr ""
281
282#: src/microhttpd/daemon.c:2374
283msgid "Failed to set noninheritable mode on new client socket.\n"
284msgstr ""
285
286#: src/microhttpd/daemon.c:2442
287#, c-format
288msgid "Error accepting connection: %s\n"
289msgstr ""
290
291#: src/microhttpd/daemon.c:2459
292msgid ""
293"Hit process or system resource limit at FIRST connection. This is really bad "
294"as there is no sane way to proceed. Will try busy waiting for system "
295"resources to become magically available.\n"
296msgstr ""
297
298#: src/microhttpd/daemon.c:2467
299#, c-format
300msgid ""
301"Hit process or system resource limit at %u connections, temporarily "
302"suspending accept(). Consider setting a lower MHD_OPTION_CONNECTION_LIMIT.\n"
303msgstr ""
304
305#: src/microhttpd/daemon.c:2479
306#, c-format
307msgid "Failed to set nonblocking mode on incoming connection socket: %s\n"
308msgstr ""
309
310#: src/microhttpd/daemon.c:2489
311msgid "Failed to set noninheritable mode on incoming connection socket.\n"
312msgstr ""
313
314#: src/microhttpd/daemon.c:2535 src/microhttpd/daemon.c:5213
315#: src/microhttpd/daemon.c:5228 src/microhttpd/daemon.c:5356
316#: src/microhttpd/daemon.c:5387
317msgid "Failed to join a thread\n"
318msgstr ""
319
320#: src/microhttpd/daemon.c:2627
321msgid "Illegal call to MHD_get_timeout\n"
322msgstr ""
323
324#: src/microhttpd/daemon.c:2845
325msgid "Could not obtain daemon fdsets"
326msgstr ""
327
328#: src/microhttpd/daemon.c:2861
329msgid "Could not add listen socket to fdset"
330msgstr ""
331
332#: src/microhttpd/daemon.c:2888
333msgid "Could not add control inter-thread communication channel FD to fdset"
334msgstr ""
335
336#: src/microhttpd/daemon.c:2945
337#, c-format
338msgid "select failed: %s\n"
339msgstr ""
340
341#: src/microhttpd/daemon.c:3103 src/microhttpd/daemon.c:3233
342#, c-format
343msgid "poll failed: %s\n"
344msgstr ""
345
346#: src/microhttpd/daemon.c:3322 src/microhttpd/daemon.c:3493
347#, c-format
348msgid "Call to epoll_wait failed: %s\n"
349msgstr ""
350
351#: src/microhttpd/daemon.c:3455 src/microhttpd/daemon.c:3853
352msgid "Failed to remove listen FD from epoll set\n"
353msgstr ""
354
355#: src/microhttpd/daemon.c:3861
356msgid "Failed to signal quiesce via inter-thread communication channel"
357msgstr ""
358
359#: src/microhttpd/daemon.c:3882
360msgid "failed to signal quiesce via inter-thread communication channel"
361msgstr ""
362
363#: src/microhttpd/daemon.c:4015
364#, c-format
365msgid "Specified thread pool size (%u) too big\n"
366msgstr ""
367
368#: src/microhttpd/daemon.c:4029 src/microhttpd/daemon.c:4040
369#: src/microhttpd/daemon.c:4051 src/microhttpd/daemon.c:4062
370#: src/microhttpd/daemon.c:4104
371#, c-format
372msgid "MHD HTTPS option %d passed to MHD but MHD_USE_TLS not set\n"
373msgstr ""
374
375#: src/microhttpd/daemon.c:4081
376msgid "Error initializing DH parameters\n"
377msgstr ""
378
379#: src/microhttpd/daemon.c:4093
380msgid "Bad Diffie-Hellman parameters format\n"
381msgstr ""
382
383#: src/microhttpd/daemon.c:4121
384#, c-format
385msgid "Setting priorities to `%s' failed: %s\n"
386msgstr ""
387
388#: src/microhttpd/daemon.c:4134
389msgid ""
390"MHD_OPTION_HTTPS_CERT_CALLBACK requires building MHD with GnuTLS >= 3.0\n"
391msgstr ""
392
393#: src/microhttpd/daemon.c:4303
394#, c-format
395msgid "MHD HTTPS option %d passed to MHD compiled without HTTPS support\n"
396msgstr ""
397
398#: src/microhttpd/daemon.c:4309
399#, c-format
400msgid "Invalid option %d! (Did you terminate the list with MHD_OPTION_END?)\n"
401msgstr ""
402
403#: src/microhttpd/daemon.c:4335
404#, c-format
405msgid "Call to epoll_create1 failed: %s\n"
406msgstr ""
407
408#: src/microhttpd/daemon.c:4345
409msgid "Failed to set noninheritable mode on epoll FD.\n"
410msgstr ""
411
412#: src/microhttpd/daemon.c:4530
413#, c-format
414msgid "Failed to create inter-thread communication channel: %s\n"
415msgstr ""
416
417#: src/microhttpd/daemon.c:4544
418msgid ""
419"file descriptor for inter-thread communication channel exceeds maximum "
420"value\n"
421msgstr ""
422
423#: src/microhttpd/daemon.c:4583
424msgid "Specified value for NC_SIZE too large\n"
425msgstr ""
426
427#: src/microhttpd/daemon.c:4597
428#, c-format
429msgid "Failed to allocate memory for nonce-nc map: %s\n"
430msgstr ""
431
432#: src/microhttpd/daemon.c:4613
433msgid "MHD failed to initialize nonce-nc mutex\n"
434msgstr ""
435
436#: src/microhttpd/daemon.c:4631
437msgid "MHD thread pooling only works with MHD_USE_SELECT_INTERNALLY\n"
438msgstr ""
439
440#: src/microhttpd/daemon.c:4641
441msgid ""
442"Combining MHD_USE_THREAD_PER_CONNECTION and MHD_USE_SUSPEND_RESUME is not "
443"supported.\n"
444msgstr ""
445
446#: src/microhttpd/daemon.c:4651
447msgid "Threaded operations are not supported on Symbian.\n"
448msgstr ""
449
450#: src/microhttpd/daemon.c:4665
451#, c-format
452msgid "Failed to create socket for listening: %s\n"
453msgstr ""
454
455#: src/microhttpd/daemon.c:4683 src/microhttpd/daemon.c:4727
456#: src/microhttpd/daemon.c:4759 src/microhttpd/daemon.c:4829
457#: src/microhttpd/daemon.c:4860
458#, c-format
459msgid "setsockopt failed: %s\n"
460msgstr ""
461
462#: src/microhttpd/daemon.c:4737
463msgid "Cannot allow listening address reuse: SO_REUSEPORT not defined\n"
464msgstr ""
465
466#: src/microhttpd/daemon.c:4767
467msgid ""
468"Cannot disallow listening address reuse: SO_EXCLUSIVEADDRUSE not defined\n"
469msgstr ""
470
471#: src/microhttpd/daemon.c:4840
472#, c-format
473msgid "Failed to bind to port %u: %s\n"
474msgstr ""
475
476#: src/microhttpd/daemon.c:4871
477#, c-format
478msgid "Failed to listen for connections: %s\n"
479msgstr ""
480
481#: src/microhttpd/daemon.c:4887
482#, c-format
483msgid "Failed to set nonblocking mode on listening socket: %s\n"
484msgstr ""
485
486#: src/microhttpd/daemon.c:4923
487msgid ""
488"Combining MHD_USE_THREAD_PER_CONNECTION and MHD_USE_EPOLL is not supported.\n"
489msgstr ""
490
491#: src/microhttpd/daemon.c:4935
492msgid "epoll is not supported on this platform by this build.\n"
493msgstr ""
494
495#: src/microhttpd/daemon.c:4945 src/microhttpd/daemon.c:4955
496msgid "MHD failed to initialize IP connection limit mutex\n"
497msgstr ""
498
499#: src/microhttpd/daemon.c:4970
500msgid "Failed to initialize TLS support\n"
501msgstr ""
502
503#: src/microhttpd/daemon.c:4992
504#, c-format
505msgid "Failed to create listen thread: %s\n"
506msgstr ""
507
508#: src/microhttpd/daemon.c:5041
509#, c-format
510msgid "Failed to create worker inter-thread communication channel: %s\n"
511msgstr ""
512
513#: src/microhttpd/daemon.c:5053
514msgid ""
515"File descriptor for worker inter-thread communication channel exceeds "
516"maximum value\n"
517msgstr ""
518
519#: src/microhttpd/daemon.c:5075
520msgid "MHD failed to initialize cleanup connection mutex\n"
521msgstr ""
522
523#: src/microhttpd/daemon.c:5089
524#, c-format
525msgid "Failed to create pool thread: %s\n"
526msgstr ""
527
528#: src/microhttpd/daemon.c:5190
529msgid "MHD_stop_daemon() called while we have suspended connections.\n"
530msgstr ""
531
532#: src/microhttpd/daemon.c:5198 src/microhttpd/daemon.c:5317
533msgid "Failed to signal shutdown via inter-thread communication channel"
534msgstr ""
535
536#: src/microhttpd/daemon.c:5257
537msgid ""
538"Failed to add inter-thread communication channel FD to epoll set to signal "
539"termination\n"
540msgstr ""
541
542#: src/microhttpd/daemon.c:5339
543msgid "MHD listen socket shutdown\n"
544msgstr ""
545
546#: src/microhttpd/daemon.c:5353
547msgid "Failed to signal shutdown via inter-thread communication channel."
548msgstr ""
549
550#: src/microhttpd/daemon.c:5725
551msgid "Failed to initialize winsock\n"
552msgstr ""
553
554#: src/microhttpd/daemon.c:5728
555msgid "Winsock version 2.2 is not available\n"
556msgstr ""
557
558#: src/microhttpd/daemon.c:5735 src/microhttpd/daemon.c:5739
559msgid "Failed to initialise multithreading in libgcrypt\n"
560msgstr ""
561
562#: src/microhttpd/daemon.c:5744
563msgid "libgcrypt is too old. MHD was compiled for libgcrypt 1.6.0 or newer\n"
564msgstr ""
565
566#: src/microhttpd/digestauth.c:443
567msgid ""
568"Stale nonce received. If this happens a lot, you should probably increase "
569"the size of the nonce array.\n"
570msgstr ""
571
572#: src/microhttpd/digestauth.c:630
573msgid "Failed to allocate memory for copy of URI arguments\n"
574msgstr ""
575
576#: src/microhttpd/digestauth.c:759
577msgid "Authentication failed, invalid timestamp format.\n"
578msgstr ""
579
580#: src/microhttpd/digestauth.c:820
581msgid "Authentication failed, invalid format.\n"
582msgstr ""
583
584#: src/microhttpd/digestauth.c:830
585msgid "Authentication failed, invalid nc format.\n"
586msgstr ""
587
588#: src/microhttpd/digestauth.c:856
589msgid "Failed to allocate memory for auth header processing\n"
590msgstr ""
591
592#: src/microhttpd/digestauth.c:896
593msgid "Authentication failed, URI does not match.\n"
594msgstr ""
595
596#: src/microhttpd/digestauth.c:916
597msgid "Authentication failed, arguments do not match.\n"
598msgstr ""
599
600#: src/microhttpd/digestauth.c:971
601msgid "Could not register nonce (is the nonce array size zero?).\n"
602msgstr ""
603
604#: src/microhttpd/digestauth.c:994
605msgid "Failed to allocate memory for auth response header\n"
606msgstr ""
607
608#: src/microhttpd/digestauth.c:1028
609msgid "Failed to add Digest auth header\n"
610msgstr ""
611
612#: src/microhttpd/response.c:721
613msgid ""
614"Invalid response for upgrade: application failed to set the 'Upgrade' "
615"header!\n"
616msgstr ""
617
618#: src/microhttpd/response.c:760
619#, c-format
620msgid "Failed to make loopback sockets non-blocking: %s\n"
621msgstr ""
622
623#: src/microhttpd/response.c:771
624#, c-format
625msgid "Socketpair descriptor larger than FD_SETSIZE: %d > %d\n"
626msgstr ""
627
628#: src/microhttpd/response.c:861
629msgid "Error cleaning up while handling epoll error"
630msgstr ""
631
632#: src/microhttpd/internal.h:74
633msgid "Failed to close FD.\n"
634msgstr ""
635
636#: src/microhttpd/mhd_itc.h:347
637msgid "Failed to destroy ITC.\n"
638msgstr ""
639
640#: src/microhttpd/mhd_locks.h:111
641msgid "Failed to destroy mutex.\n"
642msgstr ""
643
644#: src/microhttpd/mhd_locks.h:144
645msgid "Failed to lock mutex.\n"
646msgstr ""
647
648#: src/microhttpd/mhd_locks.h:170
649msgid "Failed to unlock mutex.\n"
650msgstr ""
651
652#: src/microhttpd/mhd_sockets.h:248
653msgid "Close socket failed.\n"
654msgstr ""
diff --git a/po/stamp-po b/po/stamp-po
deleted file mode 100644
index 9788f702..00000000
--- a/po/stamp-po
+++ /dev/null
@@ -1 +0,0 @@
1timestamp
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index d25ea8c2..b72173e8 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -126,7 +126,7 @@ typedef intptr_t ssize_t;
126 * Current version of the library. 126 * Current version of the library.
127 * 0x01093001 = 1.9.30-1. 127 * 0x01093001 = 1.9.30-1.
128 */ 128 */
129#define MHD_VERSION 0x00095210 129#define MHD_VERSION 0x00095211
130 130
131/** 131/**
132 * MHD-internal return code for "YES". 132 * MHD-internal return code for "YES".