#------------------------------------------------------------------------------ # Copyright (c) 2001-2020 The Eisfair Team, team(at)eisfair(dot)org # # Creation: 2006-11-14 jed # Last Update: $Id$ # # !!! this is not a script but an step-by-step howto !!! #------------------------------------------------------------------------------ exit 1 # - needs the following environment to build: - gcc v3.3.4 - user 'uucp' with group 'uucp'. # - needs the following library packages to be build: - # - needs the following packages to be build: + base 2.8.2 ### RPM build info ### RPM package source: https://download.opensuse.org/repositories/openSUSE:/Leap:/42.3/standard/src/uucp-1.07-1.1.src.rpm # if the RPM build process is used instead of the manual build process, # the following package can be ignored and aren't required for this # package: # - lockdev-dev # # RPM build command: # rpmbuild -ba --rmsource ./SPECS/uucp.spec ### manual build info ### ### download Taylor UUCP v1.07 wget ftp://ftp.gnu.org/pub/gnu/uucp/uucp-1.07.tar.gz ### apply changes to policy.h file ### run configure ./configure --prefix=/usr --with-newconfigdir=/etc/uucp --with-oldconfigdir=/etc/uucp ### run make make ### install files make install ### strip bin-binaries for FNAME in /usr/bin/uux /usr/bin/uucp /usr/bin/uustat \ /usr/bin/uuname /usr/bin/uulog /usr/bin/uupick /usr/bin/cu /usr/bin/uuto do strip -s $FNAME done ### create archive file # rm -f ../uucp_bin.tgz # tar cvzf ../uucp_bin.tgz /usr/bin/uux /usr/bin/uucp /usr/bin/uustat \ # /usr/bin/uuname /usr/bin/uulog /usr/bin/uupick /usr/bin/cu /usr/bin/uuto ### change ownership # for f in uux uucp uustat uuname cu # do # chown uucp /usr/bin/${f} # chmod 4555 /usr/bin/${f} # done ### strip sbin-binaries for FNAME in /usr/sbin/uucico /usr/sbin/uuxqt /usr/sbin/uuchk \ /usr/sbin/uuconv /usr/sbin/uusched do strip -s $FNAME done ### create archive file # rm -f ../uucp_sbin.tgz # tar cvzf ../uucp_sbin.tgz /usr/sbin/uucico /usr/sbin/uuxqt \ # /usr/sbin/uuchk /usr/sbin/uuconv /usr/sbin/uusched ### change ownership # for f in uucico uuxqt # do # chown uucp /usr/sbin/${f} # chmod 4555 /usr/sbin/${f} # done ### create archive file # rm -f ../uucp_info.tgz # tar cvzf ../uucp_info.tgz jed_conf policy.h* /usr/info/uucp.info \ # /usr/info/uucp.info-1 /usr/info/uucp.info-2 /usr/info/uucp.info-3 \ # /usr/info/uucp.info-4 /usr/info/uucp.info-5 /usr/info/uucp.info-6 \ # /usr/info/uucp.info-7 /usr/info/uucp.info-8 ### create archive file # rm -f ../uucp_sample.tgz # tar cvzf ../uucp_sample.tgz sample