Re: [ptxdist] [PATCH 2/2] logrotate: version bump 3.9.1 -> 3.17.0

2020-10-27 Thread Roland Hieber
On Thu, Oct 22, 2020 at 10:43:40AM +0200, Alexander Dahl wrote:
> Build of the old version fails with recent OSELAS toolchain 2020.08.x,
> error log in the end.  Runtime tested on at91 based target.
> 
> Noteworthy changes from upstream ChangeLog affecting this package
> (collected from multiple versions):
> 
>   - Upstream moved to GitHub: .
>   - Legacy Makefile renamed to Makefile.legacy, will be removed eventually.
>   - Allow to change default state path at build time (via the
> --with-state-file-path option of the configure script).
>   - Import systemd service and timer for logrotate from openSUSE.
>   - Avoid using local implementation of strndup() and asprintf() if these
> functions are available at build time.
>   - Fix parsing of 'su' directive to accept usernames starting with numeric
> symbols.
>   - Make sure that 64-bit file offsets are used on 32-bit systems.
>   - Errors in config files are no longer treated as fatal errors. (#81)
>   - `configure --with-default-mail-command` specifies default mail command. 
> (#100)
>   - build fixes related to `-Werror` (#119) and `-Werror=format=` (#108)
>   - `confgure --enable-werror` now controls use of the -Werror flag (#123)
>   - fix compilation with gcc-10, which defaults to `-fno-common` (#288)
>   - lock state file to prevent parallel execution of logrotate (#295, #297)
> 
> And of course lots of other bugfixes and improvements.
> 
> The download URL was changed to the official upstream source on GitHub,
> while at it, switched to .xz compressed tarballs.
> 
> The license hash changed, because upstream replaced the document with a
> recent version from GNU for 3.12.0.
> 
> The license identifier was clearified by upstream to GPLv2+ in
> logrotate.spec.in for 3.11.0.
> 
> The whole patch series can be dropped for the following reasons:
> 
> - '0001-deb-config-h.patch': Debian patch introduced with 878707bd943a
>   ("logrotate: version bump to 3.9.1"), those options are set through
>   ./configure in prepare stage now for backwards compatibility
> - '0002-datehack.patch': upstream included this as bdbfea38a154
>   ("Support system dates back to the year 1970") for 3.9.2
> - '0003-cpp-crossbuild.patch': related to legacy makefile based build
> - '0004-chown-484762.patch': Debian patch, they dropped it in recent
>   versions
> - '0005-configure-add-check-for-large-file-support.patch': similar patch
>   ceb2653c08b5 ("configure.ac: make sure that 64-bit file offsets are
>   used") added by upstream for 3.11.0
> 
> Build error log with gcc-10:
> 
>   -
>   target: logrotate.compile
>   -
> 
>   make: Entering directory 
> '/home/adahl/Work/bsp/tt/ncl/platform-ncl/build-target/logrotate-3.9.1'
>   Making all in test
>   make[1]: Entering directory 
> '/home/adahl/Work/bsp/tt/ncl/platform-ncl/build-target/logrotate-3.9.1/test'
>   make[1]: Nothing to be done for 'all'.
>   make[1]: Leaving directory 
> '/home/adahl/Work/bsp/tt/ncl/platform-ncl/build-target/logrotate-3.9.1/test'
>   make[1]: Entering directory 
> '/home/adahl/Work/bsp/tt/ncl/platform-ncl/build-target/logrotate-3.9.1'
> CC   logrotate.o
> CC   config.o
> CC   log.o
> CC   basenames.o
>   config.c: In function 'strndup':
>   config.c:87:10: warning: 'nonnull' argument 's' compared to NULL 
> [-Wnonnull-compare]
>   logrotate.c: In function 'postrotateSingleLog':
>   logrotate.c:1786:5: warning: this 'if' clause does not guard... 
> [-Wmisleading-indentation]
>   logrotate.c:1789:2: note: ...this statement, but the latter is misleadingly 
> indented as if it were guarded by the 'if'
>   logrotate.c: In function 'prerotateSingleLog':
>   logrotate.c:1225:2: warning: 'strncat' specified bound depends on the 
> length of the source argument [-Wstringop-overflow=]
>   logrotate.c:1226:3: note: length computed here
> CCLD logrotate
>   
> /opt/OSELAS.Toolchain-2020.08.0/arm-v5te-linux-gnueabi/gcc-10.2.1-glibc-2.32-binutils-2.35-kernel-5.8-sanitized/lib/gcc/arm-v5te-linux-gnueabi/10.2.1/../../../../arm-v5te-linux-gnueabi/bin/ld:
>  config.o:platform-ncl/build-target/logrotate-3.9.1/logrotate.h:77: multiple 
> definition of `logs'; 
> logrotate.o:platform-ncl/build-target/logrotate-3.9.1/logrotate.h:77: first 
> defined here
>   collect2: error: ld returned 1 exit status
>   make[1]: *** [Makefile:402: logrotate] Error 1
>   make[1]: Leaving directory 
> '/home/adahl/Work/bsp/tt/ncl/platform-ncl/build-target/logrotate-3.9.1'
>   make: *** [Makefile:442: all-recursive] Error 1
>   make: Leaving directory 
> '/home/adahl/Work/bsp/tt/ncl/platform-ncl/build-target/logrotate-3.9.1'
>   make: *** 
> [/usr/local/lib/ptxdist-2020.10.0/rules/post/ptxd_make_world_compile.make:20: 
> /home/adahl/Work/bsp/tt/ncl/platform-ncl/state/logrotate.compile] Error 2
> 
> Cc: Marc Kleine-Budde 
> Signed-off-by: Alexander Dahl 

Whoa, commendable log message, very informative! :)


Re: [ptxdist] [PATCH] ca-certificates: version bump 2016.08.08 -> 2019.09.16

2020-10-27 Thread Roland Hieber
On Wed, Oct 21, 2020 at 06:48:41AM +, Denis Osterland-Heim wrote:
> Use tag name instead of hash, because it is easier human readable.
> 
> Signed-off-by: Denis Osterland-Heim 
> ---
> Hi,
> 
> I wanna test if it is better when I use base64.

Unfortunately it doesn't :( Try sending it as an attachment.

 - Roland

> 
> Regards, Denis
> 
>  rules/ca-certificates.make | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/rules/ca-certificates.make b/rules/ca-certificates.make
> index bec34fcab..4b0f653cd 100644
> --- a/rules/ca-certificates.make
> +++ b/rules/ca-certificates.make
> @@ -14,10 +14,10 @@ PACKAGES-$(PTXCONF_CA_CERTIFICATES) += ca-certificates
>  #
>  # Paths and names
>  #
> -CA_CERTIFICATES_VERSION:= 2016.08.08
> +CA_CERTIFICATES_VERSION:= 2020.09.16
>  # The commit hash of the default branch. Update this in sync with the date 
> above.
> -CA_CERTIFICATES_HASH:= 79f079284141
> -CA_CERTIFICATES_MD5:= 4be3172ed2528ade3574cfbe35eec421
> +CA_CERTIFICATES_HASH:= FIREFOX_81_0_RELEASE
> +CA_CERTIFICATES_MD5:= a1d60533280caaf36ac6881012fe8978
>  CA_CERTIFICATES:= ca-certificates-$(CA_CERTIFICATES_VERSION)
>  CA_CERTIFICATES_SUFFIX:= txt
>  CA_CERTIFICATES_URL:= 
> https://hg.mozilla.org/releases/mozilla-release/raw-file/$(CA_CERTIFICATES_HASH)/security/nss/lib/ckfw/builtins/certdata.$(CA_CERTIFICATES_SUFFIX)
> --
> 2.28.0
> 
> Diehl Connectivity Solutions GmbH
> Geschäftsführung: Horst Leonberger
> Sitz der Gesellschaft: Nürnberg - Registergericht: Amtsgericht
> Nürnberg: HRB 32315
> 
> 
> 
> Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mail 
> enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
> Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise erhalten 
> haben. Bitte loeschen Sie in diesem Fall die Nachricht.
> Jede unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung 
> und/oder Publikation dieser E-Mail ist strengstens untersagt.
> 
> - Informationen zum Datenschutz, insbesondere zu Ihren Rechten, erhalten Sie 
> unter:
> 
> https://www.diehl.com/group/de/transparenz-und-informationspflichten/
> 
> The contents of the above mentioned e-mail is not legally binding. This 
> e-mail contains confidential and/or legally protected information. Please 
> inform us if you have received this e-mail by
> mistake and delete it in such a case. Each unauthorized reproduction, 
> disclosure, alteration, distribution and/or publication of this e-mail is 
> strictly prohibited.
> 
> - For general information on data protection and your respective rights 
> please visit:
> 
> https://www.diehl.com/group/en/transparency-and-information-obligations/
> 
> 
> 
> ___
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to 
> ptxdist-requ...@pengutronix.de
> 

-- 
Roland Hieber, Pengutronix e.K.  | r.hie...@pengutronix.de |
Steuerwalder Str. 21 | https://www.pengutronix.de/ |
31137 Hildesheim, Germany| Phone: +49-5121-206917-0|
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917- |

___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


[ptxdist] [PATCH] ptxdist: let newpackage use qt5 by default

2020-10-27 Thread Marian Cichy
when using 'ptxdist newpackage src-qmake-prog, ptxdist
generates rule-files that uses qt4 build-tools. Since
qt4 is quite obsolete, lets switch to qt5 as default.

Signed-off-by: Marian Cichy 
---
 rules/templates/template-src-qmake-prog-in   | 2 +-
 rules/templates/template-src-qmake-prog-make | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/rules/templates/template-src-qmake-prog-in 
b/rules/templates/template-src-qmake-prog-in
index 914b6816c..a20378948 100644
--- a/rules/templates/template-src-qmake-prog-in
+++ b/rules/templates/template-src-qmake-prog-in
@@ -3,6 +3,6 @@
 config @PACKAGE@
bool
prompt "@package@"
-   select QT4
+   select QT5
help
  FIXME
diff --git a/rules/templates/template-src-qmake-prog-make 
b/rules/templates/template-src-qmake-prog-make
index 142a1d039..dd2dbfb31 100644
--- a/rules/templates/template-src-qmake-prog-make
+++ b/rules/templates/template-src-qmake-prog-make
@@ -38,6 +38,7 @@ PACKAGES-$(PTXCONF_@PACKAGE@) += @package@
 #
 # qmake
 #
+@PACKAGE@_PATH := PATH=$(PTXDIST_SYSROOT_CROSS)/bin/qt5:$(CROSS_PATH)
 @PACKAGE@_CONF_TOOL:= qmake
 @PACKAGE@_CONF_OPT := $(CROSS_QMAKE_OPT) PREFIX=/usr
 
-- 
2.20.1


___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de