Skip to content

yp-tools: Update version from 2.12 to 4.2.3 #2099

Merged
merged 1 commit into from
Apr 22, 2021
Merged

yp-tools: Update version from 2.12 to 4.2.3 #2099

merged 1 commit into from
Apr 22, 2021

Conversation

donald
Copy link
Collaborator

@donald donald commented Apr 22, 2021

Version 2.12 no longer compiles because of the removal of rpc code from
glibc. This has been addressed in later releases.

Use release from https://github.com/thkukuk/yp-tools which is referenced
from http://www.linux-nis.org/.

The autogen.sh provided with the package is not prepared for a separate
source tree, so use build_in_sourcedir.

bees autogen receipt doesn't call configure after autogen.sh. Overwrite
bee_configure to do so,

The patch from yp-tools-2.12.1.bee to let ypppasswd skip the check of
the old password if shadow passwords are enabled, is no longer required
as equivalent code has been integrated into 4.2.3.

Build to revision -1, because a revision -0 already exists as a unmerged
bee package.

Overall the changtes from mTEMPLATE are:

3c3
< # BEE_VERSION NAME-1.0-0
---
> # BEE_VERSION yp-tools-4.2.3-1
5c5
< # more info: https://foo.bar.com
---
> # more info: http://www.linux-nis.org/
7c7
< SRCURL[0]="https://SERVER/PATH/NAME.${PKGVERSION}.tar.gz"
---
> SRCURL[0]="https://github.com/thkukuk/yp-tools/archive/refs/tags/v${PKGVERSION}.tar.gz"
11c11
< # build_in_sourcedir
---
> build_in_sourcedir
23,25c23,26
< #mee_configure() {
< #    bee_configure
< #}
---
> mee_configure() {
>     start_cmd ${S}/autogen.sh ${DEFCONFIG} "$@"
>     start_cmd ${S}/configure ${DEFCONFIG} "$@"
> }

Fixes #2085

@donald
Copy link
Collaborator Author

donald commented Apr 22, 2021

Tested on dose

Copy link
Collaborator

@pmenzel pmenzel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revision 0 is from March 2020:

$ ls -l --full-time /src/mariux/beeroot/bee-files/yp-tools-4.2.3-0.bee
-rw-r--r-- 1 root root 646 2020-03-09 12:44:00.007533370 +0100 /src/mariux/beeroot/bee-files/yp-tools-4.2.3-0.bee

yp-tools.be0 Outdated Show resolved Hide resolved
Version 2.12 no longer compiles because of the removal of rpc code from
glibc. This has been addressed in later releases.

Use release from https://github.com/thkukuk/yp-tools which is referenced
from http://www.linux-nis.org/.

The autogen.sh provided with the package is not prepared for a separate
source tree, so use `build_in_sourcedir`.

bees autogen receipt doesn't call configure after autogen.sh. Overwrite
bee_configure to do so,

The patch from yp-tools-2.12.1.bee to let ypppasswd skip the check of
the old password if shadow passwords are enabled, is no longer required
as equivalent code has been integrated into 4.2.3.

Build to revision -1, because a revision -0 already exists as a unmerged
bee package.

Overall the changtes from mTEMPLATE are:

3c3
< # BEE_VERSION NAME-1.0-0
---
> # BEE_VERSION yp-tools-4.2.3-1
5c5
< # more info: https://foo.bar.com
---
> # more info: http://www.linux-nis.org/
7c7
< SRCURL[0]="https://SERVER/PATH/NAME.${PKGVERSION}.tar.gz"
---
> SRCURL[0]="https://github.com/thkukuk/yp-tools/archive/refs/tags/v${PKGVERSION}.tar.gz"
11c11
< # build_in_sourcedir
---
> build_in_sourcedir
23,25c23,26
< #mee_configure() {
< #    bee_configure
< #}
---
> mee_configure() {
>     start_cmd ${S}/autogen.sh ${DEFCONFIG} "$@"
>     start_cmd ${S}/configure ${DEFCONFIG} "$@"
> }
@donald donald merged commit f92f360 into master Apr 22, 2021
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

yp-tools-2.12 will not build with glibc-2.33
2 participants