From 11671b55bde014fd56f4e825e45dd8936fee8fa6 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Wed, 20 Dec 2017 08:44:08 +0100 Subject: [PATCH 1/4] accountsservice: Convert to versionless bee file --- accountsservice-0.6.13-0.bee => accountsservice.be0 | 2 ++ 1 file changed, 2 insertions(+) rename accountsservice-0.6.13-0.bee => accountsservice.be0 (90%) diff --git a/accountsservice-0.6.13-0.bee b/accountsservice.be0 similarity index 90% rename from accountsservice-0.6.13-0.bee rename to accountsservice.be0 index 8a41bced2..21c36cefa 100755 --- a/accountsservice-0.6.13-0.bee +++ b/accountsservice.be0 @@ -1,5 +1,7 @@ #!/bin/env beesh +# BEE_VERSION accountsservice-0.6.13-0 + SRCURL[0]="http://www.freedesktop.org/software/accountsservice/accountsservice-${PKGVERSION}.tar.xz" PATCHURL[0]="" From 76cadc575594faef0fb2cbe0acbe72d6a7ddf9b2 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Wed, 20 Dec 2017 08:45:43 +0100 Subject: [PATCH 2/4] accountsservice: Use current bee file template --- accountsservice.be0 | 90 +++++++++++++++++++++++++++++++++++---------- 1 file changed, 70 insertions(+), 20 deletions(-) diff --git a/accountsservice.be0 b/accountsservice.be0 index 21c36cefa..dbcb3ae73 100755 --- a/accountsservice.be0 +++ b/accountsservice.be0 @@ -1,35 +1,85 @@ -#!/bin/env beesh +#!/usr/bin/env beesh # BEE_VERSION accountsservice-0.6.13-0 +## this file was created by bee init and should be executed to build a +## bee-package. (Additional hints are located at the end of this file.) + +############################################################################### +## The source URL(s) define the location of the sources that will be +## downloaded. Version variables may be used to simplify reuse of this bee-file. + SRCURL[0]="http://www.freedesktop.org/software/accountsservice/accountsservice-${PKGVERSION}.tar.xz" -PATCHURL[0]="" +############################################################################### +## Add URLs/pathes to patch files to the PATCHURL array. +## The sources will be patched in the order of the array. + +# PATCHURL+=() + +############################################################################### +## Add filename patterns to the EXCLUDE array of files that should not +## be added to you package but may be present in the image directory. + +# EXCLUDE+=() + +############################################################################### +## Uncomment the next statement, if the software may not be able to be built +## outside the source directory and needs to be built inside the source +## directory. + +# build_in_sourcedir -# BEE_CONFIGURE=compat +############################################################################### +## bee cannot detect buildtypes specified in subdirectories. +## Sometimes packages "hide" the real sources in a subdirectory named +## 'src' or 'cmake' or .. +## use 'sourcesubdir_append' to specify this directory if known. -# EXCLUDE="" +# sourcesubdir_append src -build_in_sourcedir +############################################################################### +## Change the default (auto-detected) steps to +## extract, patch, configure/setup, build and install the software. +## Make sure the mee_install function does install everything to the +## image directory "${D}" +#mee_extract() { +# bee_extract "${@}" +#} -mee_extract() { - bee_extract ${@} -} +#mee_patch() { +# bee_patch "${@}" +#} -mee_patch() { - bee_patch ${@} -} +#mee_configure() { +# bee_configure +#} -mee_configure() { - bee_configure -} +#mee_build() { +# bee_build +#} -mee_build() { - bee_build -} +#mee_install() { +# bee_install +#} +## by default this may be 'make install DESTDIR="${D}"' -mee_install() { - bee_install -} +############################################################################### +## +## Additional hints: +## +## The name of this bee-file should follow the following naming convention: +## pkgname-pkgversion-pkgrevision.bee +## +## You may remove all comments as long as SRCURL[0] is set. +## +## Everything in this file will be executed in a bash environment. +## +## Build the package by executing +## './pkg-version-N.bee' or +## 'beesh ./pkg-version-N.bee' +## +## see http://beezinga.org/ +## From 895ec63ad46e7a3471a5d7623e7fba8854da26a6 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Wed, 20 Dec 2017 08:56:08 +0100 Subject: [PATCH 3/4] accountsservice: Add patch to disable user preload This is a mitigation to a yet unresolved nic problem with OptiPlex 990 workstations. If we have a local passwd, the accountsservice daemon will query shadow.byname over udp for each account. Because of the network problem, we sometimes loose packets and run into rpc timeouts, which are not properly handled and prevent gdm to display the login window. Avoid this mess by disabling the loading of user information. We don't need it, because we don't present a list of users to pick from anyway. -- --- accountsservice.be0 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accountsservice.be0 b/accountsservice.be0 index dbcb3ae73..63405f382 100755 --- a/accountsservice.be0 +++ b/accountsservice.be0 @@ -15,7 +15,7 @@ SRCURL[0]="http://www.freedesktop.org/software/accountsservice/accountsservice-$ ## Add URLs/pathes to patch files to the PATCHURL array. ## The sources will be patched in the order of the array. -# PATCHURL+=() +PATCHURL+=(/src/mariux/patches/accountsservice-disable-userload.patch) ############################################################################### ## Add filename patterns to the EXCLUDE array of files that should not From d5ab620e15acdec5508bc9f5899055c413936316 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Wed, 20 Dec 2017 08:57:42 +0100 Subject: [PATCH 4/4] accountsservice: Increment revision --- accountsservice.be0 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accountsservice.be0 b/accountsservice.be0 index 63405f382..6815509c8 100755 --- a/accountsservice.be0 +++ b/accountsservice.be0 @@ -1,6 +1,6 @@ #!/usr/bin/env beesh -# BEE_VERSION accountsservice-0.6.13-0 +# BEE_VERSION accountsservice-0.6.13-1 ## this file was created by bee init and should be executed to build a ## bee-package. (Additional hints are located at the end of this file.)