- Removed SSH server.
- Switched to sendmail.
- Restored ubuntu-docs.
- Fixed references to local server name.
1 parent e03d0c0 commit c00dd4a56bdbe4aa2130000b3cda967f1d268365
nstanger authored on 10 Jul 2007
Showing 1 changed file
View
15
OARiNZ/DIY/LiveCD/Makefile.chroot
APTGET=/usr/bin/apt-get -q
APTGET_REM=$(APTGET) remove --purge --assume-yes
APTGET_INS=$(APTGET) install --assume-yes
DPKG=/usr/bin/dpkg
SED=/bin/sed -i -e
 
 
# Packages to be removed using apt-get. Note that some additional
# dependent packages will be automatically removed as well.
REM_MISC=diveintopython ubuntu-docs gaim gaim-data \
REM_MISC=diveintopython gaim gaim-data \
screensaver-default-images sound-juicer totem-gstreamer \
totem-mozilla totem rhythmbox linux-headers-2.6.17-10 \
linux-headers-2.6.17-10-generic linux-headers-generic \
xsane-common example-content
# dependent packages as well.
ADD_EPRINTS=apache2 mysql-server perl libapache2-mod-perl2 \
libunicode-string-perl libdbi-perl libdbd-mysql-perl \
libxml-parser-perl wget tar gzip unzip poppler-utils wv lynx \
tetex-bin imagemagick adduser findutils exim4
tetex-bin imagemagick adduser findutils sendmail
 
ADD_WEBMIN=bash perl libnet-ssleay-perl openssl libauthen-pam-perl \
libpam-runtime libio-pty-perl libmd5-perl
 
ADD_ECONFIG=perl libxml-dom-perl libppi-perl libstring-random-perl \
libexpect-perl libunicode-string-perl libhtml-parser-perl \
libmail-rfc822-address-perl libjson-perl
 
ADD_MISC=openssh-server
ADD_MISC=#openssh-server
 
 
# Local packages to be installed using dpkg.
DEB_EPRINTS=$(APT_CACHE)/eprints_3.0-0ubuntu2_all.deb
@#$(APTGET) update
$(APTGET_INS) $(ADD_EPRINTS)
$(APTGET_INS) $(ADD_WEBMIN)
$(APTGET_INS) $(ADD_ECONFIG)
$(APTGET_INS) $(ADD_MISC)
# $(APTGET_INS) $(ADD_MISC)
 
 
dpkg-add:
@echo
@echo
@echo "=== Cleaning up."
$(APTGET) clean
$(APTGET) autoclean
/bin/sed -i -e 's/NO_START=1/NO_START=0/' /etc/default/apache2
$(SED) 's/NO_START=1/NO_START=0/' /etc/default/apache2
$(SED) 's/root@ou075136/root@localhost/' /etc/mail/submit.cf \
/etc/cron.d/sendmail