summaryrefslogtreecommitdiff
path: root/eclass/qmail.eclass
AgeCommit message (Collapse)Author
2023-04-04qmail.eclass: Patch make-makelib.sh only if it is presentPetr Vaněk
Some packages use qmail_set_cc function but they don't contain make-makelib.sh script. However, recent addition of || die to the sed patching this file is newly triggering build failure. This commit addresses the problem by checking if the script is available. Closes: https://bugs.gentoo.org/902009 Closes: https://bugs.gentoo.org/902019 Fixes: fd4e88c55e34 ("qmail.eclass: remove EAPI 6") Closes: https://github.com/gentoo/gentoo/pull/30456 Closes: https://github.com/gentoo/gentoo/pull/30205 Signed-off-by: Petr Vaněk <arkamar@atlas.cz> Signed-off-by: Florian Schmaus <flow@gentoo.org>
2023-03-26qmail.eclass: fix spellingSam James
Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
2023-03-17qmail.eclass: remove EAPI 6David Seifert
Signed-off-by: David Seifert <soap@gentoo.org>
2022-12-31mail-mta/n[eo]tqmail: drop ucspi-ssl dependency for pop3sRolf Eike Beer
Bug: https://bugs.gentoo.org/889216 Bug: https://bugs.gentoo.org/889218 Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Signed-off-by: Sam James <sam@gentoo.org>
2022-12-31Revert "qmail.eclass: remove remnants of USE=pop3"Rolf Eike Beer
This reverts commit 3a2f8ddaec09ebc439453016bb669627bf8a6d6d. Bug: https://bugs.gentoo.org/889216 Bug: https://bugs.gentoo.org/889218 Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Signed-off-by: Sam James <sam@gentoo.org>
2022-12-31qmail.eclass: remove remnants of USE=pop3Sam James
Fixes: 24dcd3918e1ac751ff9c8d868509ea1fd6390f78 Fixes: bbc98bfdcbeb0d54f0a389eb7c92f1ffd64af7c6 Closes: https://bugs.gentoo.org/889218 Closes: https://bugs.gentoo.org/889216 Signed-off-by: Sam James <sam@gentoo.org>
2022-12-27qmail.eclass: remove useless || die on emakeDavid Seifert
Signed-off-by: David Seifert <soap@gentoo.org>
2022-05-21qmail.eclass: remove usage of egrepRolf Eike Beer
This does not use extended regular expressions in any way. While at it change the way these matches are done: it's irrelevant if the entire expression is in the file, if there is any rule for the given IP address then do not add the new expression. Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
2022-05-21qmail.eclass: drop obsolete install hooksRolf Eike Beer
The last user went away with mail-mta/qmail-ldap. Closes: https://bugs.gentoo.org/843716 Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
2022-03-28qmail.eclass: Use UID 0 instead of rootUlrich Müller
Bug: https://bugs.gentoo.org/595908 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
2021-08-17qmail.eclass: retire qmail_tcprules_fixup()Rolf Eike Beer
This has been in all ebuilds since the move of the portage tree to git, so everyone should have already moved the files. Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Closes: https://github.com/gentoo/gentoo/pull/21999 Signed-off-by: Sam James <sam@gentoo.org>
2021-08-17qmail.eclass: remove needless keepdirsRolf Eike Beer
Adding an extra keep file in the intermediate /var/qmail is never necessary, and the binary directory is filled by the installation anyway. Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Signed-off-by: Sam James <sam@gentoo.org>
2021-08-17qmail.eclass: simplify is_prime()Rolf Eike Beer
The previous algorithm would scan for all primes for a given number, which takes needlessly long. Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Signed-off-by: Sam James <sam@gentoo.org>
2021-08-17qmail.eclass: remove magic to query root groupRolf Eike Beer
The default owner is root:root anyway, so just make sure other settings do not leak outside from the places where it is actually used. Use more appropiate install helpers at several places. This also fixes qmail_supervise_install_one() when called from outside of qmail_src_install(). Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Signed-off-by: Sam James <sam@gentoo.org>
2021-08-17qmail.eclass: support EAPI 8Rolf Eike Beer
Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Signed-off-by: Sam James <sam@gentoo.org>
2021-06-21qmail.eclass: fix @SUPPORTED_EAPIS eclassdocSam James
Signed-off-by: Sam James <sam@gentoo.org>
2021-06-20qmail.eclass: [QA] add EAPI guardSam James
Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org>
2021-03-25qmail.eclass: assign to DakonSam James
Signed-off-by: Sam James <sam@gentoo.org>
2020-06-25qmail.eclass: clean up and make it work with upcoming notqmail changesRolf Eike Beer
The split in the install functions was needed for packages like miniqmail, that only installed a subset of the functions. It has meanwhile been removed from tree. In turn notqmail is going to drop some obsolete programs from the installation. Most documentation files also have been renamed to *.md. Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2020-02-11*/*: Bump copyright on files touched this yearMichał Górny
Update the copyright notice on all files that were touched since January 1st but did not have the notice updated. Signed-off-by: Michał Górny <mgorny@gentoo.org>
2020-01-17qmail.eclass: fix bad variable referenceRolf Eike Beer
This only worked by accident as it called from a loop with that variable. Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2019-11-12qmail.eclass: hide qmail-pop3 behind a use flagRolf Eike Beer
Other solutions offer much more features and better security, so do not install this by default. Keep it for the moment for those who explicitely want it. Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Closes: https://github.com/gentoo/gentoo/pull/13551 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2019-10-11qmail eclass: drop now unused reference to user eclassRolf Eike Beer
Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2019-10-01qmail.eclass: do not install SYSDEPSRolf Eike Beer
This is the list of platform specific headers, and only used in an instruction to report success to the author. Since the headers are not installed this list can go away, too. Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2019-10-01qmail.eclass: update documentation to installRolf Eike Beer
-TODO are development notes, and are e.g. removed in notqmail entirely -the SENDMAIL file has been renamed to SENDMAIL.md in notqmail Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Closes: https://github.com/gentoo/gentoo/pull/13074 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2019-09-21eclass/qmail: drop qmail_create_usersRolf Eike Beer
All ebuilds that were calling this depend on acct-users now. Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Closes: https://github.com/gentoo/gentoo/pull/12898 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2019-09-21eclass/qmail: drop qmail_create_groupsRolf Eike Beer
All ebuilds that were calling this directly or indirectly depend on acct-group now. Closes: https://bugs.gentoo.org/533184 Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2019-09-16qmail.eclass: minor @USAGE fixBen Kohler
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
2019-08-18qmail.eclass: honor toolchain settings for ar and ranlibRolf Eike Beer
Closes: https://bugs.gentoo.org/471436 Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Closes: https://github.com/gentoo/gentoo/pull/12631 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2019-08-16qmail.eclass: do not install man templates to section 8Rolf Eike Beer
The files named *.9 are actually only templates for the real manpages, some of them _not_ in section 8 at all. Those are properly gerated and installed anyway, so just leave these alone as they were never meant to be installed. Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Closes: https://github.com/gentoo/gentoo/pull/12632 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2017-02-28Drop $Id$ per council decision in bug #611234.Robin H. Johnson
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2015-09-25eclass: gentoo.org has https per defaultJustin Lecher
Signed-off-by: Justin Lecher <jlec@gentoo.org>
2015-08-08proj/gentoo: Initial commitRobin H. Johnson
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed