Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jan 1995 23:03:10 +0100 (MET)
From:      Ollivier Robert <roberto@blaise.ibp.fr>
To:        freebsd-hackers@FreeBSD.org (FreeBSD Hackers' list)
Subject:   Patch ab for wu-archive ftp installs manpages as executables...
Message-ID:  <199501182203.XAA10706@keltia.frmug.fr.net>

next in thread | raw e-mail | index | archive | help
The Makefile patch in  patch-ab shows  755  as mode for manpages...  Here a
remplacement for patch-ab to fix that :

We should probably try to compress /usr/local/man manpages...

ports/net/wu-ftpd/patches/patch-ab
------------------------------------------------------------
*** Makefile.orig	Fri Apr  1 21:03:58 1994
--- Makefile	Tue Oct 18 18:45:08 1994
***************
*** 1,25 ****
! BINDIR=		/usr/local/bin
! ETCDIR=		/usr/local/etc
! MANDIR=		/usr/local/man
  MANEXT=		8
  
  all:
  	@ echo 'Use the "build" command (shell script) to make ftpd.'
  	@ echo 'You can say "build help" for details on how it works.'
  
  install: bin/ftpd bin/ftpcount bin/ftpshut
  	-mv -f ${ETCDIR}/ftpd ${ETCDIR}/ftpd-old
  	@echo Installing binaries.
! 	install -o bin -g bin -m 755 bin/ftpd ${ETCDIR}/ftpd
! 	install -o bin -g bin -m 755 bin/ftpshut ${BINDIR}/ftpshut
! 	install -o bin -g bin -m 755 bin/ftpcount ${BINDIR}/ftpcount
! 	install -o bin -g bin -m 755 bin/ftpwho ${BINDIR}/ftpwho
  	@echo Installing manpages.
! 	install -o bin -g bin -m 755 doc/ftpd.8 ${MANDIR}/man8/ftpd.8
! 	install -o bin -g bin -m 755 doc/ftpcount.1 ${MANDIR}/man1/ftpcount.1
! 	install -o bin -g bin -m 755 doc/ftpwho.1 ${MANDIR}/man1/ftpwho.1
! 	install -o bin -g bin -m 755 doc/ftpshut.8 ${MANDIR}/man8/ftpshut.8
! 	install -o bin -g bin -m 755 doc/ftpaccess.5 ${MANDIR}/man5/ftpaccess.5
! 	install -o bin -g bin -m 755 doc/ftphosts.5 ${MANDIR}/man5/ftphosts.5
! 	install -o bin -g bin -m 755 doc/ftpconversions.5 ${MANDIR}/man5/ftpconversions.5
! 	install -o bin -g bin -m 755 doc/xferlog.5 ${MANDIR}/man5/xferlog.5
--- 1,26 ----
! BINDIR=		${PREFIX}/bin
! ETCDIR=		${PREFIX}/etc
! MANDIR=		${PREFIX}/man
  MANEXT=		8
  
  all:
+ 	/bin/sh build fb2
  	@ echo 'Use the "build" command (shell script) to make ftpd.'
  	@ echo 'You can say "build help" for details on how it works.'
  
  install: bin/ftpd bin/ftpcount bin/ftpshut
  	-mv -f ${ETCDIR}/ftpd ${ETCDIR}/ftpd-old
  	@echo Installing binaries.
! 	install -c -o bin -g bin -m 644 bin/ftpd ${ETCDIR}/ftpd
! 	install -c -o bin -g bin -m 644 bin/ftpshut ${BINDIR}/ftpshut
! 	install -c -o bin -g bin -m 644 bin/ftpcount ${BINDIR}/ftpcount
! 	install -c -o bin -g bin -m 644 bin/ftpwho ${BINDIR}/ftpwho
  	@echo Installing manpages.
! 	install -c -o bin -g bin -m 644 doc/ftpd.8 ${MANDIR}/man8/ftpd.8
! 	install -c -o bin -g bin -m 644 doc/ftpcount.1 ${MANDIR}/man1/ftpcount.1
! 	install -c -o bin -g bin -m 644 doc/ftpwho.1 ${MANDIR}/man1/ftpwho.1
! 	install -c -o bin -g bin -m 644 doc/ftpshut.8 ${MANDIR}/man8/ftpshut.8
! 	install -c -o bin -g bin -m 644 doc/ftpaccess.5 ${MANDIR}/man5/ftpaccess.5
! 	install -c -o bin -g bin -m 644 doc/ftphosts.5 ${MANDIR}/man5/ftphosts.5
! 	install -c -o bin -g bin -m 644 doc/ftpconversions.5 ${MANDIR}/man5/ftpconversions.5
! 	install -c -o bin -g bin -m 644 doc/xferlog.5 ${MANDIR}/man5/xferlog.5
------------------------------------------------------------

-- 
Ollivier ROBERT    -=- The daemon is FREE! -=-    roberto@keltia.frmug.fr.net
      FreeBSD keltia 2.1.0-Development #9: Tue Jan 17 21:12:14 MET 1995



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199501182203.XAA10706>