Removed the NetworkBSD build flag
authorJoey Hess <joeyh@joeyh.name>
Tue, 22 Mar 2022 15:52:24 +0000 (11:52 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 22 Mar 2022 15:52:52 +0000 (11:52 -0400)
Debian stable and the i386ancient build both have a new enough network
to not need this flag any longer.

Sponsored-by: Svenne Krap on Patreon
CHANGELOG
git-annex.cabal
stack.yaml
standalone/linux/stack-i386ancient.yaml

index 8bc5aae986116237c3269e2af546ba85702a8a79..fa6b91a4178dd6491bb9d6381a6e749357d8f24c 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -37,6 +37,7 @@ git-annex (10.20220223) UNRELEASED; urgency=medium
   * test: Added --jobs option.
   * Removed vendored copy of http-client-restricted, and removed the
     HttpClientRestricted build flag that avoided that dependency.
+  * Removed the NetworkBSD build flag.
 
  -- Joey Hess <id@joeyh.name>  Wed, 23 Feb 2022 14:14:09 -0400
 
index 9d32ee349b4497ce4aea87b406756d1f1f169667..e3b6552ccd28eca32dc9ab8d4e090cf6580ad5ca 100644 (file)
@@ -284,10 +284,6 @@ Flag DebugLocks
 Flag Dbus
   Description: Enable dbus support
 
-Flag NetworkBSD
-  Description: Build with network-3.0 which split out network-bsd
-  Default: True
-
 Flag GitLfs
   Description: Build with git-lfs library (rather than vendored copy)
   Default: True
@@ -377,7 +373,9 @@ Executable git-annex
    tasty-rerun,
    ansi-terminal >= 0.9,
    aws (>= 0.20),
-   DAV (>= 1.0)
+   DAV (>= 1.0),
+   network (>= 3.0.0.0),
+   network-bsd
   CC-Options: -Wall
   GHC-Options: -Wall -fno-warn-tabs  -Wincomplete-uni-patterns
   Default-Language: Haskell2010
@@ -411,11 +409,6 @@ Executable git-annex
   else
     Build-Depends: unix (>= 2.7.2)
 
-  if flag(NetworkBSD)
-    Build-Depends: network-bsd, network (>= 3.0.0.0)
-  else
-    Build-Depends: network (< 3.0.0.0), network (>= 2.6.3.0)
-
   if flag(GitLfs)
     Build-Depends: git-lfs (>= 1.2.0)
     CPP-Options: -DWITH_GIT_LFS
index a37078e5ec2875465b77340ba1c6d473c0089c0a..9b067c82f72e35fb6ee8183f66714d7f8374db4a 100644 (file)
@@ -9,7 +9,6 @@ flags:
     dbus: false
     debuglocks: false
     benchmark: true
-    networkbsd: true
     gitlfs: true
 packages:
 - '.'
index e8f2acecb8abac539dc628186b1ed4f5a0da7ffe..3712ce6829e7fa95b5d47ecf5f0771dfece1cd82 100644 (file)
@@ -9,7 +9,6 @@ flags:
     dbus: false
     debuglocks: false
     benchmark: false
-    networkbsd: true
     gitlfs: true
 packages:
 - '.'