Debian bug report logs - #1308 ncftp problems Package: ncftp ; Reported by: jdassen@WI.LeidenUniv.NL (J.H.M.Dassen); 59 days old . ----------------------------------------------------------------------- Message received at debian-bugs: From WI.LeidenUniv.NL!jdassen Sat Sep 2 05:26:14 1995 Return-Path: Received: from pixar.com by mongo.pixar.com with smtp (Smail3.1.28.1 #15) id m0soreG-000EFjC; Sat, 2 Sep 95 05:26 PDT Received: from mailhost.WI.LeidenUniv.NL (zeus.wi.leidenuniv.nl) by pixar.com with SMTP id AA23077 (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Sat, 2 Sep 1995 05:25:55 -0700 Received: from ind156b.wi.leidenuniv.nl (jdassen@ind156b [132.229.128.206]) by mailhost.WI.LeidenUniv.NL (8.6.10a/FHM-1.20-M) with ESMTP id OAA16840 Sat, 2 Sep 1995 14:24:37 +0200 (MET) From: jdassen@WI.LeidenUniv.NL (J.H.M.Dassen) Organization: Leiden University, Dept. of Mathematics & Computer Science, The Netherlands Received: from (jdassen@localhost) by ind156b.wi.leidenuniv.nl (8.6.9/FHM-1.03-S) id MAA14999 Sat, 2 Sep 1995 12:24:37 GMT (MET) Message-Id: <199509021224.MAA14999@ind156b.wi.leidenuniv.nl> Subject: ncftp problems To: debian-bugs@pixar.com, tedhajek@boombox.micro.umn.edu Date: Sat, 2 Sep 1995 14:24:36 +0200 (MDT) Return-Receipt-To: jdassen@WI.LeidenUniv.NL X-Home-Page: X-Mailer: ELM [version 2.4 PL24 (modified)] Content-Type: text Content-Length: 1492 Package: ncftp Version: 2.1.0-1 I've found some small problems with the ncftp source package: 1. 'debian.rules' should be executable (by everybody). 2. ncftp only builds if extracted in /usr/local/src 3. the package is compiled '-g' and not stripped. Solutions: 1. chmod a+x debian.rules 2. determine SOURCE_PARENT using the shell. [patch below] 3. explicitly "make" with the correct flags. [patch below] -- cut me -- diff -u -r ncftp-2.1.0-orig/debian.rules ncftp-2.1.0/debian.rules --- ncftp-2.1.0-orig/debian.rules Fri Aug 25 03:01:48 1995 +++ ncftp-2.1.0/debian.rules Fri Sep 1 21:29:22 1995 @@ -29,17 +29,21 @@ SOURCE_TAR = ncftp-$(VERSION)-$(REVISION).tar SOURCE_DIFF = ncftp-$(VERSION)-$(REVISION).diff -SOURCE_PARENT = /usr/local/src +SHELL = /bin/sh +SOURCE_PARENT = $(shell cd .. ; pwd) SOURCE_DIR = ncftp-$(SOURCE_DIR_SUFFIX) FAKE_ROOT = $(SOURCE_PARENT)/$(SOURCE_DIR)/debian-tmp +CFLAGS=-O2 +LDFLAGS=-s + build: # make sure that we're in the correct directory $(checkdir) # run the configure script ./configure --prefix=$(FAKE_ROOT)/usr - make + make "CFLAGS=$(CFLAGS)" "LDFLAGS=$(LDFLAGS)" # touch a file indicating that the build is complete touch build -- ouch -- Regards, Ray -- LEADERSHIP A form of self-preservation exhibited by people with auto- destructive imaginations in order to ensure that when it comes to the crunch it'll be someone else's bones which go crack and not their own. - The Hipcrime Vocab by Chad C. Mulligan ----------------------------------------------------------------------- Acknowledgement sent to jdassen@WI.LeidenUniv.NL (J.H.M.Dassen) : New bug report received and forwarded. Full text available. ----------------------------------------------------------------------- Report forwarded to debian-devel@pixar.com : Bug#1308 ; Package ncftp . Full text available. ----------------------------------------------------------------------- Ian Jackson / iwj10@thor.cam.ac.uk , with the debian-bugs tracking mechanism This page last modified 07:43:01 GMT Wed 01 Nov