I use Gallery2 and although I install that by hand I use apt to install all it's prerequisites, in sarge I'd run (removing the -s when I'm happy) apt-get install -s -V apache php4 mysql-server-4.1 netpbm ffmpeg dcraw jhead zip unzip php4-mysql php4-gd imagemagick
and I'm updating that command for etch so now I'll run
apt-get install -s -V apache php5 mysql-server-5.0 netpbm ffmpeg dcraw jhead zip unzip php5-mysql php5-gd imagemagick libapache-mod-php5 (I like apache 1) but I saw in the dependencies x11-common which is being pulled in by libx11-6 which on etch is depended upon by php5-gd & imagemagick, since this is a headless machine I wasn't planning on installing any X stuff at all.

At first I thought they'd just be some font libraries or something useful that it didn't make sense to replicate but on reading up the package descriptions

x11-common contains the filesystem infrastructure required for further installation of the X Window System in any configuration; it does not provide a full installation of clients, servers, libraries, and utilities required to run the X Window System.

libx11-6: This package provides the main client interface to the X Window System, and is otherwise known as 'Xlib'. It provides a complete API for the basic functions of the window system.

It appears I'm getting rather more X than I bargained for, I had a look at Sarge and php4-gd and ffmpeg both depend on libx11-6 (though interestingly imagemagick not) so you still got xfree86-common but I didn't spot it last time round.

Why do these programs depend on Xlib, is that a problem, is there anything I can do about it, or should I just shut up and get on with it?

I'm just curious as I'm thinking about trying to retire my dedicated web server and run it on my firewall (yes I know but I've got 3 soon to be 4 PCs on 24/7 in my house and it madness, I probably won't go through with it anyway but I'd like to know how and why) so I'm doing a bit of a security audit.

Thanks


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to