From 0e8d2396050464da410b7c283368a3bea6cd510b Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Sat, 18 Jul 2026 22:32:46 +0200 Subject: [PATCH] Add Bongo ACME dependencies and SMTP test tools --- licenses/Xeams-EULA | 297 ++++++++++++++++++ mail-mta/bongo/Manifest | 2 +- mail-mta/bongo/bongo-9999.ebuild | 4 +- net-mail/xeams-devnullsmtp-bin/Manifest | 4 + .../xeams-devnullsmtp-bin/files/README.gentoo | 36 +++ net-mail/xeams-devnullsmtp-bin/metadata.xml | 20 ++ .../xeams-devnullsmtp-bin-20231024.ebuild | 46 +++ net-mail/xeams-email-sender-bin/Manifest | 4 + .../files/README.gentoo | 30 ++ net-mail/xeams-email-sender-bin/metadata.xml | 20 ++ .../xeams-email-sender-bin-20240916.ebuild | 41 +++ 11 files changed, 502 insertions(+), 2 deletions(-) create mode 100644 licenses/Xeams-EULA create mode 100644 net-mail/xeams-devnullsmtp-bin/Manifest create mode 100644 net-mail/xeams-devnullsmtp-bin/files/README.gentoo create mode 100644 net-mail/xeams-devnullsmtp-bin/metadata.xml create mode 100644 net-mail/xeams-devnullsmtp-bin/xeams-devnullsmtp-bin-20231024.ebuild create mode 100644 net-mail/xeams-email-sender-bin/Manifest create mode 100644 net-mail/xeams-email-sender-bin/files/README.gentoo create mode 100644 net-mail/xeams-email-sender-bin/metadata.xml create mode 100644 net-mail/xeams-email-sender-bin/xeams-email-sender-bin-20240916.ebuild diff --git a/licenses/Xeams-EULA b/licenses/Xeams-EULA new file mode 100644 index 0000000..03551af --- /dev/null +++ b/licenses/Xeams-EULA @@ -0,0 +1,297 @@ +End User License Agreement For Xeams + +PLEASE READ THIS AGREEMENT BEFORE DOWNLOADING THIS SOFTWARE PACKAGE. IF YOU +DOWNLOAD THIS SOFTWARE AND KEEP IT FOR MORE THAN THIRTY (30) DAYS, YOU ACCEPT +ALL THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO THESE +TERMS AND CONDITIONS, DO NOT DOWNLOAD OR USE THIS SOFTWARE. + +1. DEFINITION OF TERMS + +(a) Freeware: As the name implies, freeware is free of any obligation to the +end user. You can download the program and use it indefinitely at no charge. +You are also free to distribute it to anyone you want, provided the +distribution is an unmodified version of what you downloaded from our Web Site. + +(b) Shareware: This is built on the concept of "try it before you buy it." A +version of the software that is missing features or cannot be used more than a +certain number of times or days is distributed freely. + +2. GENERAL + +The Software downloaded from this site is owned by Synametrics Technologies +(formerly known as IndusSoft Technologies) and is protected by U.S. copyright +laws and other laws and by international treaties. + +3. LICENSE GRANTS + +Upon your acceptance of this Software License Agreement Synametrics grants you +a non-exclusive, non-transferable, limited license to install and use a copy of +the Software on your compatible computer, up to the Permitted Number of +computers. + +(a) Community Edition: Is free for home/personal environments. Message +filtering for spam can only be used for up to 5 users and cannot be used in a +commercial environment. This edition is not licensed for commercial use. + + • Ideal for Enthusiasts: Designed for home users, students, or small-scale + personal projects to experience robust email security without cost. + • Feature Availability: Includes core filtering capabilities such as Spam, + Virus, and Phish protection to keep personal inboxes clean. + • Community-Driven Support: Users of this edition are encouraged to utilize + our community forums for troubleshooting and sharing best practices. + + + +(b) Enterprise Edition: Is based on a yearly subscription, priced by the number +of users you have on your system. This can be used in a commercial environment. + + • Scalability for Business: Built to handle high-volume mail traffic for + organizations of any size, from small businesses to large enterprises. + • Compliance and Archiving: Offers advanced features for email archiving and + discovery, helping businesses meet legal and regulatory requirements. + • Priority Reliability: Includes access to the Subscription and Maintenance + Package (SMP), ensuring your system always has the latest security + definitions and performance updates. + + + +Other Restrictions: You may not loan, rent, lease, sublicense, distribute or +otherwise transfer all or any portion of the Software to third parties. You may +not copy the Software except as expressly set forth above, and any copies that +you are permitted to make pursuant to this Software License Agreement must +contain the same copyright, patent and other intellectual property markings +that appear on or in the Software. You may not modify, adapt or translate the +Software. You may not, directly or indirectly, encumber or suffer to exist any +lien or security interest on the Software; knowingly take any action that would +cause the Software to be placed in the public domain; or use the Software in +any computer environment not specified in this Software License Agreement. You +will comply with applicable law and Synametrics instructions regarding the use +of the Software. You agree to notify your employees and agents who may have +access to the Software of the restrictions contained in this Software License +Agreement and to ensure their compliance with these restrictions. You agree +that you are solely responsible for the accuracy and adequacy of the software +for your intended use and you will indemnify and HOLD harmless Synametrics from +any 3rd party suit to the extent based upon the accuracy and adequacy of the +software in your use. Without limitation, The Software is not intended for use +in the operation of nuclear facilities, aircraft navigation, communication +systems or air traffic control equipment, where the failure of the Software +could lead to death, personal injury or severe physical or environmental +damage. + +4. USER ASSOCIATIONS + +Users are typically defined by an email address. This could either be an actual +person or a role handled by multiple individuals. For example, +john.doe@yourCompany.com or sales@yourcompany.com + +Associated emails belonging to the same individual are allowed and are not +counted towards a user license. For example, John Doe could have multiple +associated addresses like john@yourcompany.com or doe.j@yourcompany.com. +Different variations of email address belonging to the same individual is not +considered extra user. + +Associating multiple individuals to the same email account is not allowed and +is a violation of Xeams licensing policy. The pricing model in Xeams is based +on number of individuals who get their messages filtered. For example, +Associating John's email, john.doe@yourCompany.com, with Bob's, +bob.smith@yourCompany.com, is considered a violation of our licensing +agreement. + +5. LIMITED TRANSFER RIGHTS + +Notwithstanding the foregoing, you may transfer all your rights to use the +Software to another person or legal entity provided that: (a) you also transfer +each of this Software License Agreement, the Software and all other software or +hardware bundled or pre-installed with the Software, including all copies, +updates and prior versions, and all copies of font software converted into +other formats, to such person or entity; (b) you retain no copies, including +backups and copies stored on a computer; (c) the receiving party secures a +personalized key code from Synametrics; and (d) the receiving party accepts the +terms and conditions of this Software License Agreement and any other terms and +conditions upon which you legally purchased a license to the Software. +Notwithstanding the foregoing, you may not transfer education, pre-release, or +not-for-resale copies of the Software. + +6. LIMITED WARRANTY AND LIMITATION OF LIABILITY + +(a) Limited Warranty and Customer Remedies. Synametrics warrants to the person +or entity that first purchases a license for use of the Software pursuant to +the terms of this Software License Agreement that (i) the Software will perform +substantially in accordance with any accompanying Documentation for a period of +ninety (90) days from the date of receipt, and (ii) any support services +provided by Synametrics shall be substantially as described in Section 6 of +this agreement. Some states and jurisdictions do not allow limitations on +duration of an implied warranty, so the above limitation may not apply to you. +To the extent allowed by applicable law, implied warranties on the Software, if +any, are limited to ninety (90) days. Synametrics and its supplier's entire +liability and your exclusive remedy shall be, at Synametrics option, either (i) +return of the price paid, if any, or (ii) repair or replacement of the Software +that does not meet Synametrics Limited Warranty and which is returned to +Synametrics with a copy of your receipt. This Limited Warranty is void if +failure of the Software has resulted from accident, abuse, misapplication, +abnormal use, Trojan horse, virus, or any other malicious external code. Any +replacement Software will be warranted for the remainder of the original +warranty period or thirty (30) days, whichever is longer. This limited warranty +does not apply to Evaluation and/or Pre-release Software. + +(b) No Other Warranties and Disclaimer. THE FOREGOING LIMITED WARRANTY AND +REMEDIES STATE THE SOLE AND EXCLUSIVE REMEDIES FOR SYNAMETRICS OR ITS SUPPLIER +BREACH OF WARRANTY. SYNAMETRICS AND ITS SUPPLIERS DO NOT AND CANNOT WARRANT THE +PERFORMANCE OR RESULTS YOU MAY OBTAIN BY USING THE SOFTWARE. EXCEPT FOR THE +FOREGOING LIMITED WARRANTY, AND FOR ANY WARRANTY, CONDITION, REPRESENTATION OR +TERM TO THE EXTENT WHICH THE SAME CANNOT OR MAY NOT BE EXCLUDED OR LIMITED BY +LAW APPLICABLE TO YOU IN YOUR JURISDICTION, SYNAMETRICS AND ITS SUPPLIERS MAKE +NO WARRANTIES, CONDITIONS, REPRESENTATIONS OR TERMS, EXPRESS OR IMPLIED, +WHETHER BY STATUTE, COMMON LAW, CUSTOM, USAGE OR OTHERWISE AS TO ANY OTHER +MATTERS. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, SYNAMETRICS AND ITS +SUPPLIERS DISCLAIM ALL OTHER WARRANTIES AND CONDITIONS, EITHER EXPRESS OR +IMPLIED, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE, SATISFACTORY QUALITY, INFORMATIONAL CONTENT +OR ACCURACY, QUIET ENJOYMENT, TITLE AND NON-INFRINGEMENT, WITH REGARD TO THE +SOFTWARE, AND THE PROVISION OF OR FAILURE TO PROVIDE SUPPORT SERVICES. THIS +LIMITED WARRANTY GIVES YOU SPECIFIC LEGAL RIGHTS. YOU MAY HAVE OTHERS, WHICH +VARY FROM STATE/JURISDICTION TO STATE/JURISDICTION. + +(c)Limitation Of Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW +EVEN IF A REMEDY FAILS ITS ESSENTIAL PURPOSE, IN NO EVENT SHALL Synametrics OR +ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL, DIRECT, INDIRECT OR +CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR +LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, +OR ANY OTHER PECUNIARY LOSS) ARISING OUT OF THE USE OF OR INABILITY TO USE THE +SOFTWARE OR THE PROVISION OF OR FAILURE TO PROVIDE SUPPORT SERVICES, EVEN IF +Synametrics HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. IN ANY CASE, +Synametrics ENTIRE LIABILITY UNDER ANY PROVISION OF THIS SOFTWARE LICENSE +AGREEMENT SHALL BE LIMITED TO THE AMOUNT ACTUALLY PAID BY YOU FOR THE SOFTWARE +PRODUCT. Because some states and jurisdictions do not allow the exclusion or +limitation of liability, the above limitation may not apply to you. In such +states and jurisdictions, Synametrics liability shall be limited to the +greatest extent permitted by law and the limitations or exclusions of +warranties and liability contained herein do not prejudice applicable statutory +consumer rights of person acquiring goods otherwise than in the course of +business. The disclaimer and limited liability above are fundamental to this +Software License Agreement between Synametrics and you. + +(d) Infringement Claims. Synametrics will indemnify and hold you harmless and +will defend or settle any claim, suit or proceeding brought against you by a +third party that is based upon a claim that the content contained in the +Software infringes a copyright or violates an intellectual or proprietary right +protected by United States or European Union law ("Claim"), but only to the +extent the Claim arises directly out of the use of the Software and subject to +the limitations set forth in Section 5 of this Agreement except as otherwise +expressly provided. You must notify Synametrics in writing of any Claim within +ten (10) business days after you first receive notice of the Claim, and you +shall provide to Synametrics at no cost with such assistance and cooperation as +Synametrics may reasonably request from time to time in connection with the +defense of the Claim. Synametrics shall have sole control over any Claim +(including, without limitation, the selection of counsel and the right to +settle on your behalf on any terms Synametrics deems desirable in the sole +exercise of its discretion). You may, at your sole cost, retain separate +counsel and participate in the defense or settlement negotiations. Synametrics +shall pay actual damages, costs, and attorney fees awarded against you (or +payable by you pursuant to a settlement agreement) in connection with a Claim +to the extent such direct damages and costs are not reimbursed to you by +insurance or a third party, to an aggregate maximum equal to the purchase price +of the Software. If the Software or its use becomes the subject of a Claim or +its use is enjoined, or if in the opinion of Synametrics legal counsel the +Software is likely to become the subject of a Claim, Synametrics shall attempt +to resolve the Claim by using commercially reasonable efforts to modify the +Software or obtain a license to continue using the Software. If in the opinion +of Synametrics legal counsel the Claim, the injunction or potential Claim +cannot be resolved through reasonable modification or licensing, Synametrics, +at its own election, may terminate this Software License Agreement without +penalty, and will refund to you on a pro rata basis any fees paid in advance by +you to Synametrics. THE FOREGOING CONSTITUTES SYNAMETRICS' SOLE AND EXCLUSIVE +LIABILITY FOR INTELLECTUAL PROPERTY INFRINGEMENT. This indemnity does not apply +to infringements that would not be such, except for customer-supplied elements. + +7. LICENSES AND SUBSCRIPTIONS + +Enterprise edition provides multiple License Packages for the version of +Software product edition that you have licensed. The Enterprise edition run as +a yearly subscription which must be renewed each year in order to maintain +usage. Support and free upgrades to the software are included in this yearly +subscription. Your rights with respect to the subscription and maintenance +package (SMP) as well as your upgrade eligibility depend on your decision to +purchase SMP. Technical support is provided via a Web-based support form and +via email. There is no guaranteed response time. + +(a) Synametrics, at its option and in its sole discretion on a case by case +basis, may decide to offer license releases to you as a courtesy, but these +releases will not include any new features in excess of the feature set at the +time of your purchase of the Software. + +(b) If you have purchased SMP, then solely for the duration of its delineated +Subscription Period, you are eligible to receive the version of the Software +edition that you have licensed and all maintenance releases and updates for +that edition that are released during your Subscription Period. For the +duration of SMP Subscription Period, you will also be eligible to receive +upgrades to the comparable edition of the next version of the Software that +succeeds the Software edition that you have licensed for applicable upgrades +released during your Subscription Period. The specific upgrade edition that you +are eligible to receive based on your Subscription Period is further detailed +in the SMP that you have purchased. Priority Technical Support is provided via +email, phone, and forums, and Synametrics will make commercially reasonable +efforts to respond via e-mail to all requests during Synametrics' business +hours (MO-FR, 9am EST 5pm EST, US holidays excluded) and to make reasonable +efforts to provide work-around to errors reported in the Software. + +During the Subscription Period you may also report any Software problem or +error to Synametrics. If Synametrics determines that a reported reproducible +material error in the Software exists and significantly impairs the usability +and utility of the Software, Synametrics agrees to use reasonable commercial +efforts to correct or provide a usable work-around solution in an upcoming +maintenance release or update, which is made available at certain times at +Synametrics' sole discretion. + +If Synametrics, in its discretion, requests written verification of an error or +malfunction discovered by you or requests supporting example files that exhibit +the Software problem, you shall promptly provide such verification or files, by +email, telecopy, or overnight mail, setting forth in reasonable detail the +respects in which the Software fails to perform. You shall use reasonable +efforts to cooperate in diagnosis or study of errors. Synametrics may include +error corrections in maintenance releases, updates, or new major releases of +the Software. Synametrics is not obligated to fix errors that are immaterial. +Immaterial errors are those that do not significantly impact use of the +Software. Whether or not you have purchased the Support & Maintenance Package, +technical support only covers issues or questions resulting directly out of the +operation of the Software and Synametrics will not provide you with generic +consultation, assistance, or advice under any circumstances. Updating Software +may require the updating of software not covered by this Software License +Agreement before installation. Updates of the operating system and application +software not specifically covered by this Software License Agreement are your +responsibility and will not be provided by Synametrics under this Software +License Agreement. Synametrics' obligations under this Section 6 are contingent +upon your proper use of the Software and your compliance with the terms and +conditions of this Software License Agreement at all times. Synametrics shall +be under no obligation to provide the above technical support if, in +Synametrics' opinion, the Software has failed due to the following conditions: +(i) damage caused by the relocation of the software to another location or CPU; +(ii) alterations, modifications or attempts to change the Software without +Synametrics' written approval; (iii) causes external to the Software, such as +natural disasters, the failure or fluctuation of electrical power, or computer +equipment failure; (iv) your failure to maintain the Software at Synametrics' +specified release level; or (v) use of the Software with other software without +Synametrics' prior written approval. It will be your sole responsibility to: +(i) comply with all Synametrics-specified operating and troubleshooting +procedures and then notify Synametrics immediately of Software malfunction and +provide Synametrics with complete information thereof; (ii) provide for the +security of your confidential information; (iii) establish and maintain backup +systems and procedures necessary to reconstruct lost or altered files, data or +programs. + +8. THIRD-PARTY LICENSES + +The following open-source components, provided by the Apache Foundation and +Bouncy Castle, are integrated into this software product: Apache Tomcat, Apache +Commons, Bouncy Castle FIPS provider. + +8a. Apache Foundation Components: The User's usage of Apache Foundation +components is governed by the respective licenses provided by the Apache +Foundation. By using the Company's software product(s), the User agrees to +comply with the terms and conditions set forth in the licenses of the Apache +Foundation components. + +8a. Bouncy Castle Components: The User's usage of Bouncy Castle components is +subject to the terms and conditions specified by Bouncy Castle. By utilizing +the Company's software product(s), the User acknowledges and agrees to adhere +to the terms delineated in the licenses of the Bouncy Castle components. diff --git a/mail-mta/bongo/Manifest b/mail-mta/bongo/Manifest index 9a2906b..098cea3 100644 --- a/mail-mta/bongo/Manifest +++ b/mail-mta/bongo/Manifest @@ -11,6 +11,6 @@ AUX bongo.init 524 BLAKE2B 832c5240553de08f2aa8ccb2cd4a1f517202357ef918f9331c1ef AUX mailer.conf 301 BLAKE2B 6c285d7a4acc2fd73990d112c95604dd1bd4ac28c9e296767f2521dc3b1b92c765a5972c51de46d70110aa723b395759289a587d0fd88d7a2aa1a8a9911be397 SHA512 ee02584838312730277150605206c6963035e958f7c2c3327d882cbadc343a21fd2fa2ddd9af43021cc6573f27080f2dd574c9aca6b294efa3d720966751cf47 DIST bongo-0.6.1.tar.gz 2488587 BLAKE2B fdb3596a751e8bc859796019f144b47b23e23e85c265b91d5b34c88da3171d23b90b313a202ecd53c9226490fbc0458d122af1520ef0e23f0b5fcc42fdfb9932 SHA512 27aadcc8cb45a5541c343b8c0871e35d1555f2170e68edebd9a13ccc9c5beeab4c32817c569950d4cf28f6f2f11dbe0a6d7d31172c15cef548c8ac471fe54aac EBUILD bongo-0.6.1.ebuild 2258 BLAKE2B 642e63ce229d0c14005fce1f50bbc85869e8226fb298531dfc728500f805aeab499862634ad0bd25d9497857ef498bdb33951fbad6fda69cadfbe1b220446972 SHA512 b736649b12389afc10c60e13677704fe73eb3fe4bd3070091aabd99e05088ecf1522c1d307c078ae4e92cb5069edb11a811294254b4d46d143fbed040c23a603 -EBUILD bongo-9999.ebuild 3829 BLAKE2B 6b76492131b6ddcfab8999414aa88f36c8a6fd3c95112fdd3ac2d7d10efae7fd7b71be64b22d6445145981d6a01ad0ec7ab59c484a7184b3b7ca530895689208 SHA512 b8e8b6ccf506d03c802d1969138327ae89fafb1dfc6b66b316864a7b092e820f7fb370c699b5bdc36fb583c2a0f06c2eaf404e8198ba4fe50464c2b88a03eb6e +EBUILD bongo-9999.ebuild 3891 BLAKE2B de62c881386b2dc44e14b94f48666047c9171312a54752beafa59f7dfa0ef9dd1e0fafa76f32e9934b74f6f2ce1ca1097a7456c6bffc4a95315eb023bbd2866f SHA512 2856373164a14cc0fac64c95ac626b1eb4f87e6aee7cef3ea332a2dd10f38516aee5bb4675f130ffc509946204e7aeb3b1b2043553e04bbe47ec6a5386e1b0ab MISC ChangeLog 1707 BLAKE2B 9668b8a388b560b09f0f49ee8c14e1d67690b0ae98fb5eafe257ee72f25b065c344284f40d5719b9c111e74d6ed578406447f0d15af0347f4e6472f50f361ba4 SHA512 9f1fd1ca681cc63b09dabd9cb285d1eb2b564cb79c3e2c1d0b18af8092040dd8bf67e37b69da8557ee5cf1b4bdabd64336951f1dc67e9c4ac97acb5790f312db MISC metadata.xml 818 BLAKE2B 956e4e155b231625b9e306587644ac9d0e29aa41a9e00ebe8d463fbb9a1baf1098ccb169816aedc0eb1c24484166a80df43d02cc7b7e16fb6356569ac6a83913 SHA512 27b9a939e45c151aca4ccad5c536bf369892ebff76ca99ab959c24a72f42c3de90085aa774cd27db02d72a77cde91bbce77db54cc6cdb7e86cc04f58f4bd8cf9 diff --git a/mail-mta/bongo/bongo-9999.ebuild b/mail-mta/bongo/bongo-9999.ebuild index f23c9eb..5995317 100644 --- a/mail-mta/bongo/bongo-9999.ebuild +++ b/mail-mta/bongo/bongo-9999.ebuild @@ -41,12 +41,14 @@ DEPEND=" mail-filter/opendmarc media-gfx/qrencode net-libs/gnutls:= + >=net-libs/ldns-1.8.0 net-libs/libpsl net-mail/mailutils net-misc/curl[ssl] net-nds/openldap sys-auth/oath-toolkit[-pam] $(python_gen_cond_dep ' + dev-python/dnspython[${PYTHON_USEDEP}] dev-python/nh3[${PYTHON_USEDEP}] dev-python/python-dateutil[${PYTHON_USEDEP}] dev-python/vobject[${PYTHON_USEDEP}] @@ -118,7 +120,7 @@ src_install() { pkg_postinst() { tmpfiles_process bongo.conf - local config_dir="${EROOT%/}/etc/bongo" + local config_dir="${EROOT}/etc/bongo" if [[ -e ${config_dir}/bongo-web.json || -e ${config_dir}/web || -e ${config_dir}/bongo.conf ]]; then ewarn "A pre-0.7 Bongo configuration was found." diff --git a/net-mail/xeams-devnullsmtp-bin/Manifest b/net-mail/xeams-devnullsmtp-bin/Manifest new file mode 100644 index 0000000..ec9d175 --- /dev/null +++ b/net-mail/xeams-devnullsmtp-bin/Manifest @@ -0,0 +1,4 @@ +AUX README.gentoo 1441 BLAKE2B b952b4c6b39ca91a00e89b5ba06b9102aa72d490916091a34b0e80e8b2d0b8743b23bbd076ddde79d8ce5c2ef7fec1741b73f571b7f17c31298c14f068480a53 SHA512 b34d1ed31a0b5a9008367ac1b291a9ec6d6a7953ca2b9603a51b505eef8eb121dc6276d9fe5a8f80c60beff0977bb2f0aa2e570a86383fd67f8aabf3ee5d1bd7 +DIST xeams-devnullsmtp-bin-20231024.zip 1374216 BLAKE2B 6fab80204dc707b13a2d68ed852ae5f083d3b9c8494124709ff91a380ba18b7a91df8fbca97bbf51682b44411e9e22374bb97e33718fe879c8a9804c910af000 SHA512 bce38da2bfdc0dac1f93512e1465e3450d72b0bbf24a98e0200d5680b62a6e28410ab3a7589bff035cd2ac8680a565da908e231b6589d8a4f2448cf0c665f32b +EBUILD xeams-devnullsmtp-bin-20231024.ebuild 1270 BLAKE2B 29478373098b533d9c4662df1c37c6802ee068a6c1672ab9780bcc8636abca8b7fc5a66f33efeb8ae56d3ce1c81a6919253754e531a88a86573feb6032920aa5 SHA512 92f303c42fceb7b5ff535988c7823b80697ce9d71dc790644d64e1ebc728f99c2728d898462cdd78018613f80c4f684981dd6db3e71beaeea6f84a5ea2ff55a3 +MISC metadata.xml 737 BLAKE2B 2850feac9cb6bc42d1c6d09236790a07bf17cac73f58baadafd6e350e138499b170c1a14dab161fa6fb8225cb37907f3b7592fed81d0641e876c3d8bb0442362 SHA512 765790acb95feda2deedc4973aa7218d835588c09e0ebb8f8a83b80aae289b6ade7239d652bcd9e3ca93e3fc609d95e062adc93a7965077cb3be027719b581e8 diff --git a/net-mail/xeams-devnullsmtp-bin/files/README.gentoo b/net-mail/xeams-devnullsmtp-bin/files/README.gentoo new file mode 100644 index 0000000..07cbc04 --- /dev/null +++ b/net-mail/xeams-devnullsmtp-bin/files/README.gentoo @@ -0,0 +1,36 @@ +Xeams DevNullSMTP on Gentoo +=========================== + +The xeams-devnullsmtp launcher always enables upstream's console mode and +forces Java into headless mode. A safe starting point for an isolated Bongo +test is: + + install -d /tmp/bongo-devnull-mail + xeams-devnullsmtp -p 2526 -d example.test \ + -s /tmp/bongo-devnull-mail -tr terminate@me.please + +The arguments are: + + -p PORT listen on PORT (upstream defaults to privileged port 25) + -d DOMAINS comma-separated accepted domains + -s DIRECTORY save accepted messages instead of discarding them + -tr ADDRESS terminate when a message uses ADDRESS as envelope sender + +DevNullSMTP intentionally behaves as an open relay when -d is omitted. It does +not provide an option to select a listen address, so use a firewall, network +namespace or container network to keep the test listener private. Never expose +it to an untrusted network. + +STARTTLS with a self-signed certificate is enabled by default. The additional +xeams-devnullsmtp-no-tls launcher disables STARTTLS for an explicit plaintext +test. A custom PKCS#12 certificate can be configured in: + + /etc/java-config-2/launcher.d/xeams-devnullsmtp-bin + +For example: + + gjl_java_args="-Djava.awt.headless=true -Ddevnull.cert.pwd=secret \ + -Ddevnull.cert.type=PKCS12 -Ddevnull.cert.file=/path/to/test-cert.p12" + +The tool embeds old third-party Java libraries. Run it only inside an isolated, +short-lived test environment. diff --git a/net-mail/xeams-devnullsmtp-bin/metadata.xml b/net-mail/xeams-devnullsmtp-bin/metadata.xml new file mode 100644 index 0000000..6bde0b6 --- /dev/null +++ b/net-mail/xeams-devnullsmtp-bin/metadata.xml @@ -0,0 +1,20 @@ + + + + + mario.fetka@gmail.com + Primary maintainer + + + mario.fetka+linamh@gmail.com + Geos One Linamh Project + + + DevNullSMTP is a standalone dummy SMTP server from Synametrics. It can + accept and optionally save test messages, restrict accepted recipient + domains, advertise STARTTLS, and run without a graphical environment. + + + https://www.xeams.com/DevNull.htm + + diff --git a/net-mail/xeams-devnullsmtp-bin/xeams-devnullsmtp-bin-20231024.ebuild b/net-mail/xeams-devnullsmtp-bin/xeams-devnullsmtp-bin-20231024.ebuild new file mode 100644 index 0000000..307692e --- /dev/null +++ b/net-mail/xeams-devnullsmtp-bin/xeams-devnullsmtp-bin-20231024.ebuild @@ -0,0 +1,46 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit java-pkg-2 + +DESCRIPTION="Console-capable dummy SMTP server for mail delivery tests" +HOMEPAGE="https://www.xeams.com/DevNull.htm" +SRC_URI="https://www.xeams.com/files/DevNullSmtp.zip -> ${P}.zip" +S="${WORKDIR}" + +LICENSE="Xeams-EULA Apache-2.0 BSD CDDL GPL-2-with-classpath-exception" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RESTRICT="bindist strip test" + +RDEPEND=">=virtual/jre-8:*" +BDEPEND="app-arch/unzip" + +src_compile() { + : +} + +src_install() { + java-pkg_newjar DevNullSmtp.jar DevNullSmtp.jar + java-pkg_dolauncher xeams-devnullsmtp \ + --jar DevNullSmtp.jar \ + --java_args "-Djava.awt.headless=true" \ + --pkg_args "-console" + java-pkg_dolauncher xeams-devnullsmtp-no-tls \ + --jar DevNullSmtp.jar \ + --java_args "-Djava.awt.headless=true -Ddevnull.disable.starttls=true" \ + --pkg_args "-console" + + dodoc ReadMe.txt "${FILESDIR}/README.gentoo" +} + +pkg_postinst() { + elog "Run an isolated console SMTP sink, for example:" + elog " xeams-devnullsmtp -p 2526 -d example.test -s /tmp/devnull-mail" + elog + ewarn "Without -d, DevNullSMTP intentionally accepts every recipient." + ewarn "It has no listen-address option; isolate it with a firewall or container." +} diff --git a/net-mail/xeams-email-sender-bin/Manifest b/net-mail/xeams-email-sender-bin/Manifest new file mode 100644 index 0000000..67f4716 --- /dev/null +++ b/net-mail/xeams-email-sender-bin/Manifest @@ -0,0 +1,4 @@ +AUX README.gentoo 1137 BLAKE2B 60b06b8f3b02e915594bae4cae1237abcdc1c71009b7571fa66db54ecf9cc14f48d52fa31b94656adaf9e9c114a779efd5e8889c42bd4ada3185da6aba3970e4 SHA512 dc11f834b1ca3912ec0fa33ca08c1b554c8d4f1efd77811e5b348db4f7a3d83b2928efb716b5ba1f0b5ba726e9bc0c8f3b9abfc8094573e979b3ace6572f8fd0 +DIST xeams-email-sender-bin-20240916.zip 1599790 BLAKE2B e9d4062f53d893d4ddfedefb59be87db45e1aa4f45b55ea149ed1ad8da14c1c5b27fe442aa086b276411bf302d373c173530005913826e9521dd9bf203d75967 SHA512 0129c6470f41c6a754ab980a43a18b4c1ffd6a30b6bb0473aeab0454754a7dc1be9c6b6aad7a8696d57fff82a8f2503baee082514c0f242ade9c1f823661e337 +EBUILD xeams-email-sender-bin-20240916.ebuild 962 BLAKE2B 9ee0b567a50dbda40a93488ae8c1527efc2ea6fac1a8c70fe97de8b57a3edcaacdda23ecdc0cd98abc945cb3804343a4011c9958c6ad201bd770b05c2c7105c5 SHA512 51108cd43e9aab5d69a31b2cb843263a12228e2007a329e9864874b59c1e17cea85cfa46c7452bb859f0b3550db40cd036d4b4bc2179725c8160c83992b7be90 +MISC metadata.xml 744 BLAKE2B a3f1501113923dd1554fad7b148a58994add5585cb533b6bf502bcd2fdd2162ed5f8632e57f25df4cd55a7872f5295e1d57d61aaea59302387a43408f3ffe0de SHA512 bce7fcab5bfd026f8fb0c2db7162f657811d65e6572df9a68aa802ccdbca9da89fdddf6cd5277915e00b6d637e882d135a924b0fec9a69b03d998f78321239ed diff --git a/net-mail/xeams-email-sender-bin/files/README.gentoo b/net-mail/xeams-email-sender-bin/files/README.gentoo new file mode 100644 index 0000000..5cbaa7c --- /dev/null +++ b/net-mail/xeams-email-sender-bin/files/README.gentoo @@ -0,0 +1,30 @@ +Xeams Email Sender on Gentoo +============================ + +The xeams-email-sender launcher always enables upstream's console mode and +forces Java into headless mode. Display the complete upstream argument list +with: + + xeams-email-sender -help + +For example, the following submits one message and prints the manual SMTP +conversation. Replace the address and port with the Bongo test instance: + + xeams-email-sender -srv 127.0.0.1:2525 \ + -sender sender@example.test -recipient recipient@example.test \ + -subject "Bongo SMTP test" -body "Test message" -useJM false + +Upstream enables STARTTLS by default. Pass -ssl false when a deliberately +plaintext test endpoint is being exercised. + +Some receiving servers require a particular FQDN in EHLO. Gentoo's Java +launcher can be configured system-wide in: + + /etc/java-config-2/launcher.d/xeams-email-sender-bin + +Use the following content, retaining the headless setting: + + gjl_java_args="-Djava.awt.headless=true -Dmail.smtp.localhost=mail.example.test" + +The tool embeds old third-party Java libraries. Use it only as a short-lived +diagnostic client, not as a permanent network service. diff --git a/net-mail/xeams-email-sender-bin/metadata.xml b/net-mail/xeams-email-sender-bin/metadata.xml new file mode 100644 index 0000000..abfe29f --- /dev/null +++ b/net-mail/xeams-email-sender-bin/metadata.xml @@ -0,0 +1,20 @@ + + + + + mario.fetka@gmail.com + Primary maintainer + + + mario.fetka+linamh@gmail.com + Geos One Linamh Project + + + Email Sender is a standalone SMTP diagnostic client from Synametrics. + It can submit a message, exercise authentication and STARTTLS, and print + the SMTP conversation and peer certificate information without a GUI. + + + https://www.xeams.com/email-sender.htm + + diff --git a/net-mail/xeams-email-sender-bin/xeams-email-sender-bin-20240916.ebuild b/net-mail/xeams-email-sender-bin/xeams-email-sender-bin-20240916.ebuild new file mode 100644 index 0000000..43697cb --- /dev/null +++ b/net-mail/xeams-email-sender-bin/xeams-email-sender-bin-20240916.ebuild @@ -0,0 +1,41 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit java-pkg-2 + +DESCRIPTION="Console-capable SMTP client and protocol diagnostic tool" +HOMEPAGE="https://www.xeams.com/email-sender.htm" +SRC_URI="https://www.xeams.com/files/EmailSender.zip -> ${P}.zip" +S="${WORKDIR}" + +LICENSE="Xeams-EULA Apache-2.0 BSD CDDL GPL-2-with-classpath-exception" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RESTRICT="bindist strip test" + +RDEPEND=">=virtual/jre-8:*" +BDEPEND="app-arch/unzip" + +src_compile() { + : +} + +src_install() { + java-pkg_newjar EmailSender.jar EmailSender.jar + java-pkg_dolauncher xeams-email-sender \ + --jar EmailSender.jar \ + --java_args "-Djava.awt.headless=true" \ + --pkg_args "-console" + + dodoc Readme.txt "${FILESDIR}/README.gentoo" +} + +pkg_postinst() { + elog "Run the console client with:" + elog " xeams-email-sender -help" + elog + elog "See README.gentoo for a Bongo SMTP test example and FQDN setup." +}