* [ptxdist] [PATCH] radvd: bump version to 2.13
2016-06-14 22:21 [ptxdist] [PATCH] dbus: version bump to 1.10.8 Clemens Gruber
@ 2016-06-14 22:21 ` Clemens Gruber
2016-06-14 22:21 ` [ptxdist] [PATCH] sqlite: version bump and improved build options Clemens Gruber
` (2 subsequent siblings)
3 siblings, 0 replies; 10+ messages in thread
From: Clemens Gruber @ 2016-06-14 22:21 UTC (permalink / raw)
To: ptxdist; +Cc: Clemens Gruber
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
---
rules/radvd.make | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/rules/radvd.make b/rules/radvd.make
index cce7ff3..4393835 100644
--- a/rules/radvd.make
+++ b/rules/radvd.make
@@ -16,10 +16,10 @@ PACKAGES-$(PTXCONF_RADVD) += radvd
#
# Paths and names
#
-RADVD_VERSION := 2.11
+RADVD_VERSION := 2.13
RADVD := radvd-$(RADVD_VERSION)
RADVD_SUFFIX := tar.xz
-RADVD_MD5 := 3a73cf1bc37d7844cafc5004c00f9291
+RADVD_MD5 := 43bd31c0fbc680fbb43a85d694c15f73
RADVD_URL := http://www.litech.org/radvd/dist/$(RADVD).$(RADVD_SUFFIX)
RADVD_DIR := $(BUILDDIR)/$(RADVD)
RADVD_SOURCE := $(SRCDIR)/$(RADVD).$(RADVD_SUFFIX)
--
2.8.3
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 10+ messages in thread
* [ptxdist] [PATCH] sqlite: version bump and improved build options
2016-06-14 22:21 [ptxdist] [PATCH] dbus: version bump to 1.10.8 Clemens Gruber
2016-06-14 22:21 ` [ptxdist] [PATCH] radvd: bump version to 2.13 Clemens Gruber
@ 2016-06-14 22:21 ` Clemens Gruber
2016-06-15 5:08 ` Michael Olbrich
2016-06-14 22:21 ` [ptxdist] [PATCH] util-linux-ng: add zramctl option Clemens Gruber
2016-06-14 22:21 ` [ptxdist] [PATCH] util-linux-ng: enable systemd flag if systemd is used Clemens Gruber
3 siblings, 1 reply; 10+ messages in thread
From: Clemens Gruber @ 2016-06-14 22:21 UTC (permalink / raw)
To: ptxdist; +Cc: Clemens Gruber
- Bump the version to 3.13.0: http://sqlite.org/releaselog/3_13_0.html
- Using FTS4 also enables FTS3, they share most of their code and FTS4
is recommended for new applications. (Better query performance)
- Include the JSON1 functions
- The lookaside memory allocator should not be disabled, it is the
default allocator since 3.6.1 and is much quicker. 50KB per database
connection are used for the memory pool but this can be changed at
runtime, if a smaller memory footprint is required.
- SECURE_DELETE should not be the default, those who need it can always
enable it at runtime with the secure_delete pragma. That build option
only controls the default value.
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
---
rules/sqlite.make | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/rules/sqlite.make b/rules/sqlite.make
index 582437c..79b040c 100644
--- a/rules/sqlite.make
+++ b/rules/sqlite.make
@@ -5,6 +5,7 @@
# 2009 by Erwin Rol <erwin@erwinrol.com>
# 2010, 2012 by Marc Kleine-Budde <mkl@pengutronix.de>
# 2011 by Markus Rathgeb <rathgeb.markus@googlemail.com>
+# 2016 by Clemens Gruber <clemens.gruber@pqgruber.com>
#
# See CREDITS for details about who has contributed to this project.
#
@@ -20,11 +21,11 @@ PACKAGES-$(PTXCONF_SQLITE) += sqlite
#
# Paths and names
#
-SQLITE_VERSION := 3090200
-SQLITE_MD5 := bc4eb5b3fc5cfcb6e059794306cac1ca
+SQLITE_VERSION := 3130000
+SQLITE_MD5 := 4e83f39fa2ffb610ac5ecd36865da6a2
SQLITE := sqlite-autoconf-$(SQLITE_VERSION)
SQLITE_SUFFIX := tar.gz
-SQLITE_URL := http://www.sqlite.org/2015/$(SQLITE).$(SQLITE_SUFFIX)
+SQLITE_URL := http://www.sqlite.org/2016/$(SQLITE).$(SQLITE_SUFFIX)
SQLITE_SOURCE := $(SRCDIR)/$(SQLITE).$(SQLITE_SUFFIX)
SQLITE_DIR := $(BUILDDIR)/$(SQLITE)
SQLITE_LICENSE := public_domain
@@ -37,11 +38,10 @@ SQLITE_CONF_ENV := \
$(CROSS_ENV) \
CPPFLAGS=" \
-DSQLITE_ENABLE_COLUMN_METADATA \
- -DSQLITE_ENABLE_FTS3 \
+ -DSQLITE_ENABLE_FTS4 \
+ -DSQLITE_ENABLE_JSON1 \
-DSQLITE_ENABLE_RTREE=1 \
-DSQLITE_ENABLE_UNLOCK_NOTIFY \
- -DSQLITE_OMIT_LOOKASIDE=1 \
- -DSQLITE_SECURE_DELETE \
-DSQLITE_SOUNDEX=1 \
"
--
2.8.3
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [ptxdist] [PATCH] sqlite: version bump and improved build options
2016-06-14 22:21 ` [ptxdist] [PATCH] sqlite: version bump and improved build options Clemens Gruber
@ 2016-06-15 5:08 ` Michael Olbrich
2016-06-15 6:46 ` Marc Kleine-Budde
0 siblings, 1 reply; 10+ messages in thread
From: Michael Olbrich @ 2016-06-15 5:08 UTC (permalink / raw)
To: ptxdist; +Cc: Marc Kleine-Budde
On Wed, Jun 15, 2016 at 12:21:19AM +0200, Clemens Gruber wrote:
> - Bump the version to 3.13.0: http://sqlite.org/releaselog/3_13_0.html
> - Using FTS4 also enables FTS3, they share most of their code and FTS4
> is recommended for new applications. (Better query performance)
> - Include the JSON1 functions
> - The lookaside memory allocator should not be disabled, it is the
> default allocator since 3.6.1 and is much quicker. 50KB per database
> connection are used for the memory pool but this can be changed at
> runtime, if a smaller memory footprint is required.
> - SECURE_DELETE should not be the default, those who need it can always
> enable it at runtime with the secure_delete pragma. That build option
> only controls the default value.
Marc, you introduced these options. Can you comment?
Michael
>
> Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
> ---
> rules/sqlite.make | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/rules/sqlite.make b/rules/sqlite.make
> index 582437c..79b040c 100644
> --- a/rules/sqlite.make
> +++ b/rules/sqlite.make
> @@ -5,6 +5,7 @@
> # 2009 by Erwin Rol <erwin@erwinrol.com>
> # 2010, 2012 by Marc Kleine-Budde <mkl@pengutronix.de>
> # 2011 by Markus Rathgeb <rathgeb.markus@googlemail.com>
> +# 2016 by Clemens Gruber <clemens.gruber@pqgruber.com>
> #
> # See CREDITS for details about who has contributed to this project.
> #
> @@ -20,11 +21,11 @@ PACKAGES-$(PTXCONF_SQLITE) += sqlite
> #
> # Paths and names
> #
> -SQLITE_VERSION := 3090200
> -SQLITE_MD5 := bc4eb5b3fc5cfcb6e059794306cac1ca
> +SQLITE_VERSION := 3130000
> +SQLITE_MD5 := 4e83f39fa2ffb610ac5ecd36865da6a2
> SQLITE := sqlite-autoconf-$(SQLITE_VERSION)
> SQLITE_SUFFIX := tar.gz
> -SQLITE_URL := http://www.sqlite.org/2015/$(SQLITE).$(SQLITE_SUFFIX)
> +SQLITE_URL := http://www.sqlite.org/2016/$(SQLITE).$(SQLITE_SUFFIX)
> SQLITE_SOURCE := $(SRCDIR)/$(SQLITE).$(SQLITE_SUFFIX)
> SQLITE_DIR := $(BUILDDIR)/$(SQLITE)
> SQLITE_LICENSE := public_domain
> @@ -37,11 +38,10 @@ SQLITE_CONF_ENV := \
> $(CROSS_ENV) \
> CPPFLAGS=" \
> -DSQLITE_ENABLE_COLUMN_METADATA \
> - -DSQLITE_ENABLE_FTS3 \
> + -DSQLITE_ENABLE_FTS4 \
> + -DSQLITE_ENABLE_JSON1 \
> -DSQLITE_ENABLE_RTREE=1 \
> -DSQLITE_ENABLE_UNLOCK_NOTIFY \
> - -DSQLITE_OMIT_LOOKASIDE=1 \
> - -DSQLITE_SECURE_DELETE \
> -DSQLITE_SOUNDEX=1 \
> "
>
> --
> 2.8.3
>
>
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [ptxdist] [PATCH] sqlite: version bump and improved build options
2016-06-15 5:08 ` Michael Olbrich
@ 2016-06-15 6:46 ` Marc Kleine-Budde
2016-06-15 17:46 ` Clemens Gruber
0 siblings, 1 reply; 10+ messages in thread
From: Marc Kleine-Budde @ 2016-06-15 6:46 UTC (permalink / raw)
To: ptxdist
[-- Attachment #1.1.1: Type: text/plain, Size: 1242 bytes --]
On 06/15/2016 07:08 AM, Michael Olbrich wrote:
> On Wed, Jun 15, 2016 at 12:21:19AM +0200, Clemens Gruber wrote:
>> - Bump the version to 3.13.0: http://sqlite.org/releaselog/3_13_0.html
>> - Using FTS4 also enables FTS3, they share most of their code and FTS4
>> is recommended for new applications. (Better query performance)
>> - Include the JSON1 functions
>> - The lookaside memory allocator should not be disabled, it is the
>> default allocator since 3.6.1 and is much quicker. 50KB per database
>> connection are used for the memory pool but this can be changed at
>> runtime, if a smaller memory footprint is required.
>> - SECURE_DELETE should not be the default, those who need it can always
>> enable it at runtime with the secure_delete pragma. That build option
>> only controls the default value.
>
> Marc, you introduced these options. Can you comment?
Sorry, I don't remember why I switched on these options.
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 455 bytes --]
[-- Attachment #2: Type: text/plain, Size: 91 bytes --]
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [ptxdist] [PATCH] sqlite: version bump and improved build options
2016-06-15 6:46 ` Marc Kleine-Budde
@ 2016-06-15 17:46 ` Clemens Gruber
0 siblings, 0 replies; 10+ messages in thread
From: Clemens Gruber @ 2016-06-15 17:46 UTC (permalink / raw)
To: ptxdist
On Wed, Jun 15, 2016 at 08:46:37AM +0200, Marc Kleine-Budde wrote:
> On 06/15/2016 07:08 AM, Michael Olbrich wrote:
> > On Wed, Jun 15, 2016 at 12:21:19AM +0200, Clemens Gruber wrote:
> >> - Bump the version to 3.13.0: http://sqlite.org/releaselog/3_13_0.html
> >> - Using FTS4 also enables FTS3, they share most of their code and FTS4
> >> is recommended for new applications. (Better query performance)
> >> - Include the JSON1 functions
> >> - The lookaside memory allocator should not be disabled, it is the
> >> default allocator since 3.6.1 and is much quicker. 50KB per database
> >> connection are used for the memory pool but this can be changed at
> >> runtime, if a smaller memory footprint is required.
> >> - SECURE_DELETE should not be the default, those who need it can always
> >> enable it at runtime with the secure_delete pragma. That build option
> >> only controls the default value.
> >
> > Marc, you introduced these options. Can you comment?
>
> Sorry, I don't remember why I switched on these options.
Maybe it was a usecase with extremely low memory footprint and security
critical data stored in the database?
Or the lookaside allocator was deemed too new and not stable enough back
then.
Today, I see no reason to disable the lookaside allocator. It causes
less latency and is only a little heavier on memory. Also if the slots
are full or for larger allocations, SQLite falls back to malloc anyway.
Secure delete has a significant performance penalty. Users can always
opt-in with PRAGMA secure_delete = 1; if they need to zero out deleted
content.
Also, due to the limited number of erase cycles on flash storage, I
would rather encrypt the data than zero it out. (SQLCipher extension!)
Then I'd only have to throw away the key.
Clemens
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 10+ messages in thread
* [ptxdist] [PATCH] util-linux-ng: add zramctl option
2016-06-14 22:21 [ptxdist] [PATCH] dbus: version bump to 1.10.8 Clemens Gruber
2016-06-14 22:21 ` [ptxdist] [PATCH] radvd: bump version to 2.13 Clemens Gruber
2016-06-14 22:21 ` [ptxdist] [PATCH] sqlite: version bump and improved build options Clemens Gruber
@ 2016-06-14 22:21 ` Clemens Gruber
2016-06-14 22:21 ` [ptxdist] [PATCH] util-linux-ng: enable systemd flag if systemd is used Clemens Gruber
3 siblings, 0 replies; 10+ messages in thread
From: Clemens Gruber @ 2016-06-14 22:21 UTC (permalink / raw)
To: ptxdist; +Cc: Clemens Gruber
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
---
rules/util-linux-ng.in | 6 ++++++
rules/util-linux-ng.make | 4 ++++
2 files changed, 10 insertions(+)
diff --git a/rules/util-linux-ng.in b/rules/util-linux-ng.in
index f2dc95a..3a33583 100644
--- a/rules/util-linux-ng.in
+++ b/rules/util-linux-ng.in
@@ -370,4 +370,10 @@ config UTIL_LINUX_NG_FINDFS
comment "BusyBox' findfs is selected!"
depends on BUSYBOX_FINDFS
+config UTIL_LINUX_NG_ZRAMCTL
+ bool
+ prompt "zramctl"
+ help
+ The zramctl program is a tool to set up and control zram devices.
+
endif
diff --git a/rules/util-linux-ng.make b/rules/util-linux-ng.make
index 08fe4f9..aee052d 100644
--- a/rules/util-linux-ng.make
+++ b/rules/util-linux-ng.make
@@ -115,6 +115,7 @@ UTIL_LINUX_NG_CONF_OPT := \
--$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_SCHEDUTILS)-schedutils \
--disable-wall \
--disable-write \
+ --$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_ZRAMCTL)-zramctl \
--disable-bash-completion \
--disable-pylibmount \
--disable-pg-bell \
@@ -268,6 +269,9 @@ endif
ifdef PTXCONF_UTIL_LINUX_NG_FINDFS
@$(call install_copy, util-linux-ng, 0, 0, 0755, -, /sbin/findfs)
endif
+ifdef PTXCONF_UTIL_LINUX_NG_ZRAMCTL
+ @$(call install_copy, util-linux-ng, 0, 0, 0755, -, /sbin/zramctl)
+endif
@$(call install_finish, util-linux-ng)
--
2.8.3
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 10+ messages in thread
* [ptxdist] [PATCH] util-linux-ng: enable systemd flag if systemd is used
2016-06-14 22:21 [ptxdist] [PATCH] dbus: version bump to 1.10.8 Clemens Gruber
` (2 preceding siblings ...)
2016-06-14 22:21 ` [ptxdist] [PATCH] util-linux-ng: add zramctl option Clemens Gruber
@ 2016-06-14 22:21 ` Clemens Gruber
2016-06-15 5:10 ` Michael Olbrich
3 siblings, 1 reply; 10+ messages in thread
From: Clemens Gruber @ 2016-06-14 22:21 UTC (permalink / raw)
To: ptxdist; +Cc: Clemens Gruber
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
---
rules/util-linux-ng.in | 4 ++++
rules/util-linux-ng.make | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/rules/util-linux-ng.in b/rules/util-linux-ng.in
index b0d5e1f..3a33583 100644
--- a/rules/util-linux-ng.in
+++ b/rules/util-linux-ng.in
@@ -29,6 +29,10 @@ config UTIL_LINUX_NG_LIBFDISK
config UTIL_LINUX_NG_USES_NCURSES
bool
+config UTIL_LINUX_NG_USES_SYSTEMD
+ bool
+ default INITMETHOD_SYSTEMD
+
config UTIL_LINUX_NG_PARTX_TOOLS
select UTIL_LINUX_NG_LIBBLKID
select UTIL_LINUX_NG_LIBSMARTCOLS
diff --git a/rules/util-linux-ng.make b/rules/util-linux-ng.make
index 33798fa..aee052d 100644
--- a/rules/util-linux-ng.make
+++ b/rules/util-linux-ng.make
@@ -138,7 +138,7 @@ UTIL_LINUX_NG_CONF_OPT := \
--without-utempter \
--without-libz \
--without-user \
- --without-systemd \
+ --$(call ptx/wwo, PTXCONF_UTIL_LINUX_NG_USES_SYSTEMD)-systemd \
--with-systemdsystemunitdir=/lib/systemd/system \
--without-smack \
--without-python
--
2.8.3
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [ptxdist] [PATCH] util-linux-ng: enable systemd flag if systemd is used
2016-06-14 22:21 ` [ptxdist] [PATCH] util-linux-ng: enable systemd flag if systemd is used Clemens Gruber
@ 2016-06-15 5:10 ` Michael Olbrich
2016-06-15 18:09 ` Clemens Gruber
0 siblings, 1 reply; 10+ messages in thread
From: Michael Olbrich @ 2016-06-15 5:10 UTC (permalink / raw)
To: ptxdist
On Wed, Jun 15, 2016 at 12:21:21AM +0200, Clemens Gruber wrote:
> Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
This is broken. --with-systemd requires libsystemd and systemd requires
libmount. That's a cyclic dependency.
Do you need any specific feature here?
Michael
> ---
> rules/util-linux-ng.in | 4 ++++
> rules/util-linux-ng.make | 2 +-
> 2 files changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/rules/util-linux-ng.in b/rules/util-linux-ng.in
> index b0d5e1f..3a33583 100644
> --- a/rules/util-linux-ng.in
> +++ b/rules/util-linux-ng.in
> @@ -29,6 +29,10 @@ config UTIL_LINUX_NG_LIBFDISK
> config UTIL_LINUX_NG_USES_NCURSES
> bool
>
> +config UTIL_LINUX_NG_USES_SYSTEMD
> + bool
> + default INITMETHOD_SYSTEMD
> +
> config UTIL_LINUX_NG_PARTX_TOOLS
> select UTIL_LINUX_NG_LIBBLKID
> select UTIL_LINUX_NG_LIBSMARTCOLS
> diff --git a/rules/util-linux-ng.make b/rules/util-linux-ng.make
> index 33798fa..aee052d 100644
> --- a/rules/util-linux-ng.make
> +++ b/rules/util-linux-ng.make
> @@ -138,7 +138,7 @@ UTIL_LINUX_NG_CONF_OPT := \
> --without-utempter \
> --without-libz \
> --without-user \
> - --without-systemd \
> + --$(call ptx/wwo, PTXCONF_UTIL_LINUX_NG_USES_SYSTEMD)-systemd \
> --with-systemdsystemunitdir=/lib/systemd/system \
> --without-smack \
> --without-python
> --
> 2.8.3
>
>
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [ptxdist] [PATCH] util-linux-ng: enable systemd flag if systemd is used
2016-06-15 5:10 ` Michael Olbrich
@ 2016-06-15 18:09 ` Clemens Gruber
0 siblings, 0 replies; 10+ messages in thread
From: Clemens Gruber @ 2016-06-15 18:09 UTC (permalink / raw)
To: ptxdist
On Wed, Jun 15, 2016 at 07:10:25AM +0200, Michael Olbrich wrote:
> On Wed, Jun 15, 2016 at 12:21:21AM +0200, Clemens Gruber wrote:
> > Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
>
> This is broken. --with-systemd requires libsystemd and systemd requires
> libmount. That's a cyclic dependency.
Oh, I missed that because systemd was already built on my machine.
>
> Do you need any specific feature here?
No, not really, just the fstrim.service and the logger command..
I manually added the fstrim.service to my projectroot. And journald
should pick up the output of logger even if util-linux-ng was not
compiled --with-systemd.
So, probably not worth it to do some kind of dual-stage build just for
that option.
Thanks,
Clemens
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 10+ messages in thread