Changed build to include bzip2 and proxy support

This commit is contained in:
Deon George 2020-05-23 23:26:36 +10:00
parent bf063ebd20
commit 73da763371

View File

@ -1,4 +1,4 @@
From 35ab6878d015fef19a76107ecf115348a1049262 Mon Sep 17 00:00:00 2001 From ffa6fac2416ea6c1c6d07eb169f5fa55fedd8b9f Mon Sep 17 00:00:00 2001
From: root <root@b25ae4c8d32b> From: root <root@b25ae4c8d32b>
Date: Fri, 22 May 2020 13:42:49 +0000 Date: Fri, 22 May 2020 13:42:49 +0000
Subject: [PATCH] Fixes for debian build Subject: [PATCH] Fixes for debian build
@ -66,7 +66,7 @@ index 6ebdfb9..1f54202 100644
Depends: ${shlibs:Depends}, perl (>= 5.8.8), adduser Depends: ${shlibs:Depends}, perl (>= 5.8.8), adduser
Description: Binkd - the binkp daemon for FTN communications. Description: Binkd - the binkp daemon for FTN communications.
diff --git a/debian/rules b/debian/rules diff --git a/debian/rules b/debian/rules
index ef3648e..b9ecddc 100755 index ef3648e..62d393c 100755
--- a/debian/rules --- a/debian/rules
+++ b/debian/rules +++ b/debian/rules
@@ -3,16 +3,18 @@ @@ -3,16 +3,18 @@
@ -93,7 +93,7 @@ index ef3648e..b9ecddc 100755
+PATCHLEVEL=`sed -n "/\#define PATCHLEVEL/s/.*\ \([0-9]\+\).*$$/\1/p" Config.h` +PATCHLEVEL=`sed -n "/\#define PATCHLEVEL/s/.*\ \([0-9]\+\).*$$/\1/p" Config.h`
+VERSION=$(MAJOR).$(MINOR)$(SUFFIX)-$(PATCHLEVEL) +VERSION=$(MAJOR).$(MINOR)$(SUFFIX)-$(PATCHLEVEL)
+PREFIX=$(CURDIR)/debian/binkd +PREFIX=$(CURDIR)/debian/binkd
+CONFIGURE_OPTIONS += --with-zlib --with-https --with-ntlm --with-bwlim --with-perl --sysconfdir=$(PREFIX)/etc/binkd --prefix=$(PREFIX) --mandir=$(PREFIX)/usr/share/man +CONFIGURE_OPTIONS += --with-proxy --with-zlib --with-https --with-bzip2 --with-bwlim --with-perl --with-af-force --sysconfdir=$(PREFIX)/etc/binkd --prefix=$(PREFIX) --mandir=$(PREFIX)/usr/share/man
# These are used for cross-compiling and for saving the configure script # These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already) # from having to guess our platform (since we know it already)
@ -107,5 +107,5 @@ index ef3648e..b9ecddc 100755
# Build architecture-independent files here. # Build architecture-independent files here.
binary-indep: build install binary-indep: build install
-- --
2.20.1 2.16.6