# $Id: dm-vers.spec,v 1.28 2001/01/08 20:32:50 elafo Exp $ %define version 3.9 %define build 28 %define release_txt DM version %{version} [Build %{build}] Summary: NetWinder DM ARM Linux setup Name: dm-arm Version: %{version} Release: %{build} Copyright: GPL Group: System Environment/Base ExclusiveArch: armv4l BuildRoot: /var/tmp/dm-root %description NetWinder DM ARM Linux requires configuration after RPMS are installed, since we don't use a standard Red Hat installation program (which would do these changes for us). %changelog * Mon Jan 08 2001 Eric LaForest - x86 sync, release 27 * Wed Dec 06 2000 Eric LaForest - security updates, release 27 * Tue Dec 05 2000 Rod m. Stewart - disable the following services by default: autofs atalk httpd lpd - disable the following from /etc/inetd.conf by default: login, telnet, talk, ntalk, shell, finger - do not put sendmail in daemon mode. It will only handle local mail. * Fri Nov 24 2000 Eric LaForest - release 26 (missed #25) * Tue Nov 21 2000 Eric LaForest - release 24, many upgrades and new packages. * Wed Nov 15 2000 Eric LaForest - placed tabs for indentation, fixing some breakage with heredocs. release 23 * Sat Nov 11 2000 Rod m. Stewart - disable squid and sshd at boot if installed * Fri Nov 10 2000 Eric LaForest - Oops...some stuff got lost in retiring dm-devel. added here. * Wed Nov 08 2000 Eric LaForest - release 20 and 21 to go with base new binutils * Sun Nov 05 2000 Eric LaForest - build 19 cleanup of stuff that goes in base, almost nothing left. * Fri Oct 13 2000 Eric LaForest - perm fix for /dev/ttyS* (Build 18 to be) * Fri Sep 29 2000 Eric LaForest - Build 17 (new perl and setup) * Tue Sep 05 2000 Eric LaForest - Build 16 (new dhcp and final beta) * Fri Sep 01 2000 Eric LaForest - Build 15 after fixes. * Fri Aug 25 2000 Eric LaForest - 3.9-14 (after a zillion upgrades) * Wed Aug 09 2000 Eric LaForest - version 3.9-13 * Wed Aug 02 2000 Eric LaForest - Initial update to approx. RH 6.2 (build 12) Version 3.9-12 (11 went nowhere) * Mon May 08 2000 Rod m. Stewart - Correction: IPX is protocal family 4, whereas appletalk is 5 * Tue Apr 25 2000 Rod m. Stewart - move sound module config to to kudzu package - fix fan_ctrl handling - new version 3.9-10 * Wed Mar 22 2000 Rod m. Stewart - new version 3.9-9 * Sun Mar 19 2000 Rod m. Stewart - new version 3.9-8 * Fri Mar 03 2000 Rod m. Stewart - new version 3.9-7 * Tue Feb 15 2000 Rod m. Stewart - pre release stuff for DM 4.0 preperations * Wed Apr 14 1999 Andrew E. Mileski - merged netwinder-release and *.kludges into this mess %install # # Clean up, just in case # rm -rf %{buildroot} %post # # /etc/.pwd.lock will not go away :( # rm -rf /etc/.pwd.lock # # egcs # if [ -e /usr/bin/gcc ] ; then if [ ! -e /usr/bin/egcs ] ; then ln -fs /usr/bin/gcc /usr/bin/egcs fi fi # # strip # only make the change if strip.real does not already exists. # # NOTE: make sure those are TABs, not spaces, due to <<-'EOF' # if [ -e /usr/bin/strip ] ; then if [ ! /usr/bin/strip.real ] ; then mv -f /usr/bin/strip /usr/bin/strip.real cat > /usr/bin/strip <<-'EOF' #! /bin/sh /usr/bin/strip.real $* exit 0 EOF chmod 755 /usr/bin/strip fi fi # # Disable MySQL at boot (not configured yet) # if [ -e /etc/rc.d/init.d/mysql ] ; then chkconfig mysql off fi # # Disable Squid at boot # if [ -e /etc/rc.d/init.d/squid ] ; then chkconfig squid off fi # # Disable SSHd at boot (should not be enabled until hostname is set) # if [ -e /etc/rc.d/init.d/sshd ] ; then chkconfig sshd off fi # # Disable autofs at boot # if [ -e /etc/rc.d/init.d/autofs ] ; then chkconfig autofs off fi # # Disable atalk at boot # if [ -e /etc/rc.d/init.d/atalk ] ; then chkconfig atalk off fi # # Disable httpd at boot # if [ -e /etc/rc.d/init.d/httpd ] ; then chkconfig httpd off fi # # Disable lpd at boot # if [ -e /etc/rc.d/init.d/lpd ] ; then chkconfig lpd off fi # # xdm (our X is old - it is started from inittab) # if [ -e /etc/rc.d/init.d/xdm ] ; then chkconfig --del xdm && rm -f /etc/rc.d/init.d/xdm fi # Some things we do not want to run by default from inetd sed -e 's|^shell|#shell|' \ -e 's|^login|#login|' \ -e 's|^telnet|#telnet|' \ -e 's|^talk|#talk|' \ -e 's|^ntalk|#ntalk|' \ -e 's|^finger|#finger|' /etc/inetd.conf > /etc/inetd.conf- mv -f /etc/inetd.conf- /etc/inetd.conf # # Take sendmail out of daemon mode. This way it only listens for # local mail. # if [ -e /etc/sysconfig/sendmail ] ; then sed -e 's|DAEMON=yes|DAEMON=no|' /etc/sysconfig/sendmail \ > /etc/sysconfig/sendmail- mv -f /etc/sysconfig/sendmail- /etc/sysconfig/sendmail fi # # /etc/redhat-release # #mkdir -p %{buildroot}/etc cd /etc cat > redhat-release <