From owner-freebsd-questions@freebsd.org Fri Oct 12 15:46:04 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 38F4110C21E3 for ; Fri, 12 Oct 2018 15:46:04 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 986478921C for ; Fri, 12 Oct 2018 15:46:03 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.195.36.236]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPA (Nemesis) id 1MMp08-1fuQis0you-00Iome; Fri, 12 Oct 2018 17:45:54 +0200 Received: from r56.edvax.de ([92.195.36.236]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPA (Nemesis) id 1MMp08-1fuQis0you-00Iome; Fri, 12 Oct 2018 17:45:54 +0200 Date: Fri, 12 Oct 2018 17:45:53 +0200 From: Polytropon To: mayuresh@kathe.in Cc: freebsd-questions@freebsd.org Subject: Re: freebsd packages going the debian way! Message-Id: <20181012174553.ef4e8faf.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:Je7mrgysVEl7h4BrWOsWO0cbGGEncUsAfeL4hv6WnIy1D6z0u5p CUPZQ0OxAruF63Hk/wLVBlT0SojK4UtCa0fE1coDsjcr5q1rrC0KxrPSvpTmVGHFRy6akLt FZlvp/zSQIpoL8xhshnYNlwbEkGIVYQqXnmDsKep9eV8JqxdjrxrQmiGlot9P+m4W2eMOf1 4HViGNeXHuVljWVxvXWSw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V01:K0:qTrUdFeDpNE=:KiqK5h7x677bMFsKR8Xryb pbKBPA3zs5Heew83yGYiGZ1vmjrBUges/ki0AWH0ETYo+xwEfwl7zghM3R7VNa4k44yf4Hyq1 tC6TfG949StkOIZ1dh5rY0wM8MYejvbYp/hTiZ6uJ7HT1GUUEGV3TOyf6wsZhr+Goxs3c62M+ eHntA6Vfh5rsyRCIUtZSbgrnjHS8Ps93c26FUSF6UyPx6Cx0heFkKYhz/NCsKBA/8L8AmSHUS Yu2/ENTWlwOA7beQe7QKSjwBI0ubcvAJELIk3UDq30x0CjI8iHLSUZQQl+7oTh1abznJg8HXK tY8uXaI04sr9dchXqjGlHIxoFqr7Bm/0zhoFp2jAeinth5CwbJwCOzX+IFnHB3qGptnUwnHLE c09C5CZ6A281n9SiAR5pIhsr5WRqkvY9tHrosyY/G8WRbz0rDU9+Pd9RwdUshs6/XZzUA/koo +nQZKbbzdis3CeFamLnKqJNfX2mYpEZyoYegSZNzvKuWXYw1orLSW2I57G9HkxC8Nsnb4LwNw +5uqiAapPGQiruRKMZYH5qkUKassVhsQ4CII5lBFeJkZteSFWOnKrOD8d7t2c9BYZ6f5MG/UP F9x9IEo83Mthi8JM86tgmX36B/6+43xQr1c+1wVv0VFTFu0OeEDzgIl4bh5M2zaip+6cI7IUG fjqFZdi9nTVK6Jfo3tWGr3rtYU6h3HfSihaSxBQvsZDACI9RdqNF3YiOgPWpsQqARFWlGcQt5 8Kv119pmasUG5R1i X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Oct 2018 15:46:04 -0000 On Fri, 12 Oct 2018 13:42:37 +0000, Mayuresh Kathe wrote: > i have been tinkering around with mailing system options under freebsd > and have found most of the options are dependent on entire unnecessary > bloated external components. > eg.; > - fetchmail depends on python, why? I think because of the fetchmailconf X11 tool, that one actually requires Python - fetchmail itself doesn't. So in this case, you are much better _not_ using the package (where the default building options don't fit your needs or expectations), and go with "make configure", select only the stuff that you _actually_ want, and then run "make install". > - nmh depends on curl and libhttp, why? Seems to be something new. Older versions didn't need it. > - getmail depends on python + python config suite, why? It surely is a core dependency here. > somehow, freebsd packages seem to be going the debian way, why? Ask those who set the default build options for the packages. This is what lets the list of dependencies grow. It's worth noting that most software today is developed on Linux, and _for_ Linux primarily. The software ported to FreeBSD, i. e., what you find in the ports collection, adds FreeBSD-specific patches, but still heavily depends on a typical Linux build system, like configure, GNU make, and "build suites" which in turn can depend on Python to format the error messages. ;-) > i am willing to abandon "nmh" and be happy with mailx, but how do i get > my remote emails onto my local system without having to install a > bloated > fetchmail package which depends on an entire python programming system? As I said, build fetchmail yourself instead of using the package. Check if there is a "-no-x11" or "-without-gui" package (I doubt it, but that was pretty standard decades ago, like for CVS and gs). There simply is no "one size fits all" package for everything and everyone. But allow me to mention pine / alpine again. It's very versatile and still low on dependencies. Maybe you like it better than mail/mailx? However, when I did use it, I couldn't stand the editor and used other (external) editors, usually joe or mcedit. :-) > btw, the stock sendmail seems nicely minimalistic, good to know. And with the ports system, you can build that version. However, building software from ports with different options than the official packages can (and probably will) cause additional work for you: Either you use "pkg unlock" and "pkg lock" around upgrading your system with "pkg", or you consider using Poudriere (I'm never sure I got the spelling right). But if fetchmail is your only "nonstandard port", using the lock/unlock mechanism is probably okay. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...