summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/postfix
Commit message (Collapse)AuthorAgeFilesLines
* postfix: fix rootfs file differenceJinfeng Wang6 days2-0/+32
| | | | | | | | Rootfs file differs with the same project configure, add preliminary setting to avoid this. Signed-off-by: Jinfeng Wang <jinfeng.wang.cn@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-openembedded/all: adapt to UNPACKDIR changesAlexander Kanavin13 days1-1/+1
| | | | | | | | | | | | | Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: use gnu17 for nowMartin Jansa2025-04-261-0/+4
| | | | | | | | * as recommended by postfix author in: https://marc.info/?l=postfix-users&m=173542420611213 Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Fix variable assignment whitespaceRichard Purdie2025-03-201-1/+1
| | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: upgrade 3.8.9 -> 3.10.1Yi Zhao2025-02-257-57/+62
| | | | | | | | | | | ChangeLog: https://www.postfix.org/announcements/postfix-3.10.0.html https://www.postfix.org/announcements/postfix-3.10.1.html Refresh local patches. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: upgrade 3.8.6 -> 3.8.9Yi Zhao2025-02-251-1/+1
| | | | | | | | ChangeLog: http://ftp.porcupine.org/mirrors/postfix-release/official/postfix-3.8.9.HISTORY Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Start WORKDIR -> UNPACKDIR transitionKhem Raj2024-05-231-6/+6
| | | | | | | Replace references of WORKDIR with UNPACKDIR where it makes sense to do so in preparation for changing the default value of UNPACKDIR. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: switch SRC_URI to httpRandy MacLeod2024-04-091-1/+1
| | | | | | | Switch the SRC_URI to http since the postfix site does not yet use https. Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: upgrade 3.8.5 -> 3.8.6Yi Zhao2024-03-081-1/+1
| | | | | | | | ChangeLog: https://www.postfix.org/announcements/postfix-3.8.6.html Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: upgrade 3.7.3 -> 3.8.5Yi Zhao2024-03-013-53/+18
| | | | | | | | | | | | | | | | | ChangeLog: https://www.postfix.org/announcements/postfix-3.8.0.html https://www.postfix.org/announcements/postfix-3.8.1.html https://www.postfix.org/announcements/postfix-3.8.2.html https://www.postfix.org/announcements/postfix-3.8.3.html https://www.postfix.org/announcements/postfix-3.8.4.html https://www.postfix.org/announcements/postfix-3.8.5.html * Drop 0006-makedefs-Account-for-linux-6.x-version.patch as the issue has been fixed upstream. * Merge inc file into single recipe Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: remove 2nd Upstream-StatusMartin Jansa2023-06-221-2/+0
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* *.patch: add Upstream-Status to all patchesMartin Jansa2023-06-213-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is new patch-status QA check in oe-core: https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a This is temporary work around just to hide _many_ warnings from optional patch-status (if you add it to WARN_QA). This just added Upstream-Status: Pending everywhere without actually investigating what's the proper status. This is just to hide current QA warnings and to catch new .patch files being added without Upstream-Status, but the number of Pending patches is now terrible: 5 (26%) meta-xfce 6 (50%) meta-perl 15 (42%) meta-webserver 21 (36%) meta-gnome 25 (57%) meta-filesystems 26 (43%) meta-initramfs 45 (45%) meta-python 47 (55%) meta-multimedia 312 (63%) meta-networking 756 (61%) meta-oe Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: fix malformed Upstream-StatusMartin Jansa2023-06-212-2/+2
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: fix multilib conflict of sample-main.cfKai Kang2022-12-051-1/+1
| | | | | | | | | | | | | It fails to install postfix and lib32-postfix at same time: | Error: Transaction test error: | file /etc/postfix/sample-main.cf conflicts between attempted installs of lib32-postfix-cfg-3.7.3-r0.i586 and postfix-cfg-3.7.3-r0.core2_64 Rename sample-main.cf with ${MLPREFIX}. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: Upgrade to 3.7.3Khem Raj2022-10-193-17/+53
| | | | | | Fix build on systems with linux 6.x Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: upgrade 3.6.4 -> 3.6.5Yi Zhao2022-03-243-107/+2
| | | | | | | | | | | | | | | | ChangeLog: https://www.postfix.org/announcements/postfix-3.6.5.html * Drop 0006-correct-signature-of-closefrom-API.patch as the issue has been fixed upstream. * Update main.cf to eliminate startup warning: postfix: Postfix is running with backwards-compatible default settings postfix: See http://www.postfix.org/COMPATIBILITY_README.html for details postfix: To disable backwards compatibility use "postconf compatibility_level=3.6" and "postfix reload" Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: upgrade 3.6.3 -> 3.6.4Yi Zhao2022-01-1812-88/+90
| | | | | | | Refresh patches. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: upgrade 3.6.2 -> 3.6.3Yi Zhao2021-12-211-1/+1
| | | | | | | | Release Notes: http://www.postfix.org/announcements/postfix-3.6.3.html Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: Add missing dependency on m4Khem Raj2021-09-241-1/+1
| | | | | | | Fixes | extract_cfg.sh: line 42: m4: command not found Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: Inherit pkgconfigKhem Raj2021-09-241-1/+1
| | | | | | It was part of default dependencies before Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-20/+20
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* postfix: upgrade 3.6.1 -> 3.6.2Yi Zhao2021-07-271-2/+2
| | | | | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: Upgrade to 3.6.1Khem Raj2021-07-162-1/+103
| | | | | | | | | Fix build with glibc 2.34+ Details of this release [1] [1] http://cdn.postfix.johnriley.me/mirrors/postfix-release/official/postfix-3.6.1.RELEASE_NOTES Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: Upgrade 3.4.10 -> 3.4.12Adrian Bunk2020-05-213-40/+2
| | | | | | | | Remove patch applied upstream. Manual -fcommon is no longer necessary. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: Upgrade to 3.4.10 and compile with -fcommonKhem Raj2020-05-162-4/+2
| | | | | | Ensures it can build with gcc10 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: split ${PN}-bin from ${PN} to solve recursive dependencyYi Zhao2020-04-171-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | The commit 89d86b96f80d8a136d38113baf69d8ccad5a5ff6 which tries to fix the installation issue for ostree introduces a recursive dependency issue. When installing the postfix package on target via online repository, the postinst function for postfix-cfg package needs newaliases but this command is from postfix package which causes an error: Configuring postfix-cfg. /var/lib/opkg/info/postfix-cfg.postinst: line 9: newaliases: not found pkg_run_script: package "postfix-cfg" postinst script returned status 127. Split a new package postfix-bin from postfix and make it as the runtime dependency for postfix-cfg. Set USERADD_PACKAGES to ${PN}-bin to avoid image do_rootfs warnings when installing postfix via IMAGE_INSTALL: [log_check] warning: group postdrop does not exist - using root [log_check] warning: user postfix does not exist - using root Set ALTERNATIVE to ${PN}-bin to make sure the newaliases symbolic link is installed before installing postfix-cfg. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: upgrade 3.4.7 -> 3.4.8Wang Mingyu2020-04-081-2/+2
| | | | | Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: upgrade 3.4.5 -> 3.4.7Zheng Ruoqin2019-10-281-2/+2
| | | | | Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix.inc: make deterministic buildHongxu Jia2019-10-251-19/+6
| | | | | | | | | | | | | This postinst can fail depending on host setup, which makes non-deterministic build on different host. Use postinst ontarget to always fail at do_rootfs and rerun at target first boot. In this situation, remove postfix-native from PACKAGE_WRITE_DEPS Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: split /etc from ${PN} to ${PN}-cfg for ostreeHongxu Jia2019-10-251-2/+5
| | | | | | | | | | | | | | | | | | | In postinst of ${PN}, call newaliases on etc may fail at do_rootfs due to host setup. If fail, the postinst will rerun at target first boot which cause update-alternatives in postinst rerun. For ostree system, /usr is readonly, /etc is writable, the update-alternatives will be failed when run on target since it needs write files in /usr. Split the postinst into two packages can fix the problem: * update-alternatives runs at do_rootfs * newaliases runs at do_rootfs or first boot, it needs write files in /etc when run at first boot, while /etc is writable for ostree. For non-ostree, everything will be OK as normal Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: Fix build failures with glibc 2.30Khem Raj2019-07-303-15/+51
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: use alternatives to manage /usr/lib/sendmailQi.Chen@windriver.com2019-07-151-6/+5
| | | | | | | | There are several packages which all provide /usr/lib/sendmail when lsb is enabled. So use alternative to manage it. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: Upgrade 3.4.1 -> 3.4.5Adrian Bunk2019-05-092-30/+2
| | | | | | | Remove patch for issue fixed upstream. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: Upgrade to 3.4.1 releaseKhem Raj2019-03-072-3/+30
| | | | | | Fix build with kernel >= 5.x Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: add -lnsl and -lresolv to SYSLIBS by defaultYi Zhao2018-10-123-18/+59
| | | | | | | | | | | | When building native package, the do_compile function tries to check libnsl.so and libresolv.so on host machine and add -lnsl and -lresolv to SYSLIBS if they exist. But finally it will link the libnsl.so from ${STAGING_LIBDIR_NATIVE}. Actually there is no need to check them since the libnsl2 is specified in DEPENDS and libresolv.so is from c libarary. So add -lnsl and -lresolv to SYSLIBS directly. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: update to 3.3.1Randy MacLeod2018-10-093-37/+11
| | | | | | | | | | | The patch: 0001-Check-for-glibc-before-setting-CANT_USE_SEND_RECV_MS.patch has ben integrated upstream. update the upstream check regex Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: fix pkg_postinst_${PN}Mingli Yu2018-09-141-3/+3
| | | | | | | | | | | | | | | | | "exit 0" will break the postinst logic below the line "exit 0" such as: === update-alternatives --install /usr/sbin/sendmail sendmail /usr/sbin/sendmail.postfix 120 update-alternatives --install /usr/bin/mailq mailq /usr/bin/mailq.postfix 120 update-alternatives --install /usr/bin/newaliases newaliases /usr/bin/newaliases.postfix 120 === It's enough to call "$INTERCEPT_DIR/postinst_intercept delay_to_first_boot ${PKG} mlprefix=${MLPREFIX}" , so remove it to guarantee the postinstall logic is correct Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: add sendmail to ALTERNATIVE_${PN}Mingli Yu2018-09-051-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are several packages provide ${sbindir}/sendmail and should add sendmail to ALTERNATIVE_${PN} to make it work well. And the sendmail is removed from ALTERNATIVE_${PN} in below commit: === commit 7b500488115c67d657312135b48027a1c26e0955 Author: Lei Maohui <leimaohui@cn.fujitsu.com> Date: Fri Aug 17 18:19:53 2018 -0700 postfix,esmtp: Fix confilct error in do_rootfs Error: Transaction check error: file /usr/bin/mailq conflicts between attempted installs of esmtp-1.2-r0.x86_64 and postfix-3.2.2-r0.x86_64 file /usr/bin/newaliases conflicts between attempted installs of esmtp-1.2-r0.x86_64 and postfix-3.2.2-r0.x86_64 Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> === Add it back to make sendmail works normally before adding it back: # mime-construct --to root --subject mail-20826 --encoding 7bit --string mail_content sendmail: account default not found: no configuration file available Error closing sendmail: non-zero exit (78) at /usr/bin/mime-construct line 572. # echo $? 78 After adding it back: # mime-construct --to root --subject mail-20826 --encoding 7bit --string mail_content # echo $? 0 Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix,esmtp: Fix confilct error in do_rootfsLei Maohui2018-08-191-3/+4
| | | | | | | | | Error: Transaction check error: file /usr/bin/mailq conflicts between attempted installs of esmtp-1.2-r0.x86_64 and postfix-3.2.2-r0.x86_64 file /usr/bin/newaliases conflicts between attempted installs of esmtp-1.2-r0.x86_64 and postfix-3.2.2-r0.x86_64 Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: upgrade 3.2.2 -> 3.2.6Yi Zhao2018-07-042-4/+6
| | | | | | | | | | License-Update: The postfix is distributed with a dual license since 3.2.5: IBM Public License 1.0 and Eclipse Public License 2.0. Recipients can choose to take the software under the license of their choice. Those who are more comfortable with the IPL can continue with that license. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: Remove useless file makedeps.out of postfixchangqing.li@windriver.com2018-06-051-6/+2
| | | | | | | | file /etc/postfix/makedeps.out is useless, remove it. makedeps.out is intermediate file that documents how Postfix was built for your machine. Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* postfix: Depend on external libnslKhem Raj2018-05-171-3/+1
| | | | | | | Glibc has dropped libnsl Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* postfix: remove host references from makedefs.outSlater, Joseph2018-05-171-0/+1
| | | | | | | Several -I definitions contain the value of ${STAGING_DIR_TARGET} which should be removed to reference directories on the target. Signed-off-by: Joe Slater <joe.slater@windriver.com>
* postfix: adapt pkg_postinst to postinst_interceptSlater, Joseph2018-04-061-5/+10
| | | | | | | | | Request delay to first boot if newaliases fails on host. Check for linuxstdbase before we might fail. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* postfix: fix generating aliases db filesYi Zhao2018-02-053-11/+10
| | | | | | | | | | | | | | When generating aliases db files, the newaliases tries to chdir /var/spool/postfix on the host. It would cause a failure if the host doesn't install postfix: newaliases: fatal: chdir /var/spool/postfix: No such file or directory Move this step from do_install to pkg_postinst to make sure newaliases and postmap run during the image creation. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* postfix: drop NATIVE_INSTALL_WORKSArmin Kuster2018-01-081-2/+0
| | | | | | | | | | | This variable hasn't been used in a very long time, so there's no need to be setting it here. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Hand applied Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* postfix: virtual/db isn't used by core, change to dbRoss Burton2018-01-081-2/+2
| | | | | | Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* postfix: fix send mail failure and eliminate warningYi Zhao2018-01-083-26/+22
| | | | | | | | | | | | | | | | | | | * Update main.cf for postfix 3.x to eliminate startup warning * Set daemon_directory from ${libexecdir} to ${libexecdir}/postfix * Using absolute path for newaliases and postmap to generate the correct db file in pkg_postinst * Remove duplicate SRC_URI lines in postfix_3.2.2.bb (LOCAL REV: NOT UPSTREAM) -- will sent to oe-devel later Signed-off-by: Yi Zhao <yi.zhao@windriver.com> * Move use of newaliases and postmap on host to install phase because absolute path might not exist at rootfs build time. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* postfix: Fix build with security flags and clangKhem Raj2017-09-125-1/+115
| | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* postfix: Upgrade to 3.2.2Khem Raj2017-09-122-3/+3
| | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>