From adee48d94e3bcec2b2ff2dc618373cc569964b9a Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Wed, 12 May 2021 12:58:21 +0200 Subject: [PATCH 1/5] cyrus-sasl: Convert to versionless bee file --- cyrus-sasl-2.1.25_p3-1.bee => cyrus-sasl.be0 | 2 ++ 1 file changed, 2 insertions(+) rename cyrus-sasl-2.1.25_p3-1.bee => cyrus-sasl.be0 (94%) diff --git a/cyrus-sasl-2.1.25_p3-1.bee b/cyrus-sasl.be0 similarity index 94% rename from cyrus-sasl-2.1.25_p3-1.bee rename to cyrus-sasl.be0 index af1b0e75d..cb8353066 100755 --- a/cyrus-sasl-2.1.25_p3-1.bee +++ b/cyrus-sasl.be0 @@ -1,5 +1,7 @@ #!/usr/bin/env beesh +# BEE_VERSION cyrus-sasl-2.1.25_p3-1 + SRCURL[0]="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-${PKGVERSION}.tar.gz" PATCHURL[0]="/src/mariux/download/cyrus-sasl-2.1.25-0001-add-NIS-shadow-support.patch" From ef14e4ce6f0841d4765d7c1e467b9bdaf9eb008f Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Wed, 12 May 2021 13:00:13 +0200 Subject: [PATCH 2/5] cyrus-sasl: Update source URL --- cyrus-sasl.be0 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cyrus-sasl.be0 b/cyrus-sasl.be0 index cb8353066..341719854 100755 --- a/cyrus-sasl.be0 +++ b/cyrus-sasl.be0 @@ -2,7 +2,7 @@ # BEE_VERSION cyrus-sasl-2.1.25_p3-1 -SRCURL[0]="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-${PKGVERSION}.tar.gz" +SRCURL[0]="https://github.com/cyrusimap/cyrus-sasl/releases/download/cyrus-sasl-${PKGVERSION}/cyrus-sasl-${PKGVERSION}.tar.gz" PATCHURL[0]="/src/mariux/download/cyrus-sasl-2.1.25-0001-add-NIS-shadow-support.patch" PATCHURL[1]="/src/mariux/download/cyrus-sasl-2.1.25-0002-add-systemd-unit-and-tmpfilesd-config.patch" From 45ef43764caa51dbfb75e22123fe54ca225d9a73 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Wed, 12 May 2021 13:00:40 +0200 Subject: [PATCH 3/5] cyrus-sasl: Update version from 2.1.25_p3 to 2.1.27 --- cyrus-sasl.be0 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cyrus-sasl.be0 b/cyrus-sasl.be0 index 341719854..77ca9e707 100755 --- a/cyrus-sasl.be0 +++ b/cyrus-sasl.be0 @@ -1,6 +1,6 @@ #!/usr/bin/env beesh -# BEE_VERSION cyrus-sasl-2.1.25_p3-1 +# BEE_VERSION cyrus-sasl-2.1.27-0 SRCURL[0]="https://github.com/cyrusimap/cyrus-sasl/releases/download/cyrus-sasl-${PKGVERSION}/cyrus-sasl-${PKGVERSION}.tar.gz" From 91a7468404439843f0373bb9e6c67bd805a91c3c Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Wed, 12 May 2021 13:25:06 +0200 Subject: [PATCH 4/5] cycus-sasl: Update NIS patch --- cyrus-sasl.be0 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cyrus-sasl.be0 b/cyrus-sasl.be0 index 77ca9e707..2d8f0e136 100755 --- a/cyrus-sasl.be0 +++ b/cyrus-sasl.be0 @@ -4,7 +4,7 @@ SRCURL[0]="https://github.com/cyrusimap/cyrus-sasl/releases/download/cyrus-sasl-${PKGVERSION}/cyrus-sasl-${PKGVERSION}.tar.gz" -PATCHURL[0]="/src/mariux/download/cyrus-sasl-2.1.25-0001-add-NIS-shadow-support.patch" +PATCHURL[0]="/src/mariux/patches/cyrus-sasl-Add-shadow-support.patch" PATCHURL[1]="/src/mariux/download/cyrus-sasl-2.1.25-0002-add-systemd-unit-and-tmpfilesd-config.patch" _SYSTEMDSYSTEMDDIR=/etc/systemd/system From a1638772193d7873818762a452dd13ffde6364c3 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Wed, 12 May 2021 14:26:20 +0200 Subject: [PATCH 5/5] cyrus-sasl_compat: Add version 1.0 --- cyrus-sasl_compat.be0 | 88 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100755 cyrus-sasl_compat.be0 diff --git a/cyrus-sasl_compat.be0 b/cyrus-sasl_compat.be0 new file mode 100755 index 000000000..db2fee386 --- /dev/null +++ b/cyrus-sasl_compat.be0 @@ -0,0 +1,88 @@ +#!/usr/bin/env beesh + +# BEE_VERSION cyrus-sasl_compat-1.0-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]="" + +############################################################################### +## 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 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. + +# sourcesubdir_append src + + +############################################################################### +## 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_patch() { +# bee_patch "${@}" +#} + +#mee_configure() { +# bee_configure +#} + +#mee_build() { +# bee_build +#} + +mee_install() { + cd ${D} + tar xpf /src/mariux/beeroot/packages/cyrus-sasl-2.1.25_p3-1.x86_64.bee.tar.bz2 \ + /usr/lib/libsasl2.so.2.0.25 \ + /usr/lib/libsasl2.so.2 +} +## by default this may be 'make install DESTDIR="${D}"' + +############################################################################### +## +## 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/ +##