Contributed by grey on from the searching for more than new flavors dept.
I'm wondering if anyone has done work on putting together what I'll call (for lack of a better term) superports -- preconfigured collections of ports along with detailed configuration information. This would make it easier to install something like: postfix + tls + amavisd + spamassassin + razor + dcc.
I doubt the ports framework can handle all of the post-install configuration tasks that would need to be done, but it seems that we should be able to do better than a plethora of HOWTO articles that become out of date within weeks of having been written. Does anything like this exist (in other BSD's, even)? Is there any desire to see it?
(Comments are closed)
By m0rfich (68.104.14.15) on
from /usr/ports/misc/instant-server/Makefile:
RUN_DEPENDS= ${LOCALBASE}/sbin/postfix:${PORTSDIR}/mail/postfix \
${LOCALBASE}/sbin/cvsupd:${PORTSDIR}/net/cvsup \
${LOCALBASE}/sbin/dhcpd:${PORTSDIR}/net/isc-dhcp3-server \
${LOCALBASE}/sbin/smbd:${PORTSDIR}/net/samba \
${LOCALBASE}/sbin/traceroute:${PORTSDIR}/net/traceroute \
cnewsdo:${PORTSDIR}/news/cnews \
${LOCALBASE}/sbin/httpd:${PORTSDIR}/${APACHE_PORT} \
${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid
/usr/ports/misc/instant-workstation/Makefile:
RUN_DEPENDS= acroread:${PORTSDIR}/print/acroread5 \
bash:${PORTSDIR}/shells/bash2 \
cdrecord:${PORTSDIR}/sysutils/cdrtools \
dos2unix:${PORTSDIR}/converters/unix2dos \
emacs:${PORTSDIR}/editors/emacs20 \
fetchmail:${PORTSDIR}/mail/fetchmail \
grip:${PORTSDIR}/audio/grip \
gimp:${PORTSDIR}/graphics/gimp1 \
gv:${PORTSDIR}/print/gv \
gpg:${PORTSDIR}/security/gnupg \
ispell:${PORTSDIR}/textproc/ispell \
startkde:${PORTSDIR}/x11/kde3 \
mutt:${PORTSDIR}/mail/mutt \
mozilla:${PORTSDIR}/www/mozilla \
${LOCALBASE}/sbin/postfix:${PORTSDIR}/mail/postfix \
xtset:${PORTSDIR}/x11/xtset \
xmms:${PORTSDIR}/multimedia/xmms \
xv:${PORTSDIR}/graphics/xv
OpenBSD could implement it similarly.
I don't know how you could make a set of services or user programs
that would be useful to a sufficiently large group of people to
justify this though.
Comments
By Anonymous Coward (67.70.74.251) on
Comments
By Jonathan (217.86.145.132) on
So this is avaliable in all versions.
Comments
By Anonymous Coward (67.70.74.251) on
By Asenchi (68.77.101.238) asenchi@asenchi.com on www.asenchi.com`
By Bas Keur (213.84.93.41) bas.keur@dmrt.net on http://www.dmrt.net
For some kind of reason it handles it's DEPENDS much better with static packages. I might be missing something, please do enlighten me.
Comments
By JOS (84.27.70.72) on
Comments
By Bas Keur (213.84.93.41) bas.keur@dmrt.net on http://www.dmrt.net
The idea is ok, but it did not work for me :)
And besides, i feel like a 8 year old in toys'r'us when i cat the list dump. Who said the copy/paste generation will not enjoy the all mighty OpenBSD =]
Comments
By Anonymous Coward (68.224.187.79) on
By Anonymous Coward (204.209.209.129) on
By Marc Espie (62.212.102.210) on
By Anonymous Coward (69.197.92.181) on
Comments
By Bas Keur (213.84.93.41) bas.keur@dmrt.net on http://www.dmrt.net
I prefer chewing Coca plants.
Want some ?
> Stupid compiler flags slow things down as often as they speed things up
I suggest you send a mailto:gcc@gnu.org telling them how stupid they are.
(While your at it, tell them to keep the next release under the 10mb)
> And not enough to notice the difference anyways.
> You don't have to give up performance for security
Really ? Ever seen a Hummer outrun a Lamborghini Murcielago on the highway ? You pay a price for security, always. The art is to balance it to your needs. (Result: 25" rims offroad lambo with bullbar)
> performs just as well as netbsd and linux in my
> real world (apache, sendmail, postgresql) benchmarks
If your real world is a web blog writing in a 40mb
sql db sure. Mine is not.
Comments
By Ray (216.254.116.107) ray@cyth.net on
Unless you copy and pasted your compile lines incorrectly, you just proved your opposition’s point.
Comments
By Bas Keur (213.84.93.41) bas.keur@dmrt.net on http://www.dmrt.net
By Anonymous Coward (69.197.92.181) on
By Anonymous Coward (69.197.92.181) on
And what does a hummer have to do with security? You should try comparing a Lamborghini with seatbelts to one without seatbelts, and see what performance loss you have to trade for the security.
And I don't know what you are talking about with the blog comment, I said real world benchmarks. Do you understand the concept? Not seeing how fast looping 5 million times is, but seeing how many pages/sec you can serve. Try it yourself, compile apache with the exact same flags on netbsd, openbsd, freebsd and linux, then run http_load on them and see how they perform. The only difference you'll see if freebsd 5 is slower than the rest.
By Anonymous Coward (143.127.131.4) on
By RC (4.11.46.164) on
The abitity to select the dependencies.
Several GTK programs depend on GDK-PIXBUF, and (by default) GDK-PIXBUF depends on GNOME. So, to install a GTK-based image viewer, or something similar, you have to install pretty much ALL of GNOME.
In ports, I just set FLAVOR="no_gnome" then build GDK-PIXBUF, and I'm set.
This gets really crazy with the more complex packages like MPlayer. It has nearly a dozen different flavors, which will require you to, or not to have another set of dependencies install.
You'd need to have a binary package for each and every possible combination of dependencies.
By aht (80.58.4.235) on
I am not kidding, but Debian's .deb/dpkg/apt-get systems does exactly that; and more. It is far from perfect, but does that job flawlessly.
It handles dependencies, allow for installing pre-compiled packages or make-your-own packages, and have pre and post install facilities (and much more, I am sure everyone knows how it works).
What about porting (or re-writing) it to OpenBSD?
Comments
By Brad (216.138.200.42) brad at comstyle dot com on
Comments
By Anonymous Coward (68.224.187.79) on
Comments
By Anonymous Coward (212.238.188.197) on
By submicron (68.89.197.247) submicron@inherently-evil.net on
Comments
By Anonymous Coward (213.118.102.119) on
Comments
By Anonymous Coward (67.137.236.205) on
Comments
By krh (207.75.178.108) on
I like http://funroll-loops.org. It embodies the spirit of Gentoo.
Comments
By Nickus (213.146.107.225) on
By JIMMY (68.58.135.1) on
$ cat > /tmp/plist
mail/postfix/stable
mail/amavisd-new
mail/p5-Mail-SpamAssassin
mail/razor-agents
$ cd /usr/ports
$ SUBDIRLIST=/tmp/plist BIN_PACKAGES=Yes TRUST_PACKAGES=Yes BULK=Yes \
make install
By hubertf (217.84.18.56) hubertf@pkgsrc.org on www.feyrer.de
Right now pkgsrc only prints what changes need to be made: E.g. if you install the ap-php package, it will tell you what changes to make in httpd.conf. If you install php-gd, it will tell you what to change in php.init. This behaviour is standard in pkgsrc. Making "superports" (or meta-pkgs, as can be found in pkgsrc/meta-pkgs) do that work shouldn't be hard.
pkgsrc runs on NetBSD, FreeBSD, OpenBSD, Darwin, MacOS X and some others (Solaris, Linux, Interix/MS Windows, Irix). See http://www.pkgsrc.org/ for more information!
- Hubert
By r0sk (80.58.15.107) r0sk@userlinux.net on http://www.userlinux.net
By jose (82.108.34.130) on http://monkey.org/~jose/
personally i think they should be in-tree, despite the fact that many people differ on what they want on their workstation.