forked from metachord/netlink-hs
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathnetlink.cabal
144 lines (132 loc) · 4.04 KB
/
netlink.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
Name: netlink
Version: 1.1.2.0
Synopsis: Netlink communication for Haskell
Description: Library to comminicate with Linux kernel via Netlink
Homepage: https://github.com/Ongy/netlink-hs
License: BSD3
License-file: LICENSE
Author: David Anderson
Maintainer: Markus Ongyerth <[email protected]>
Copyright: Google Inc. 2010
Stability: Alpha
Category: System
Build-type: Simple
Cabal-version: >=1.10
Source-repository head
type: git
location: https://github.com/Ongy/netlink-hs
Flag Generators
description: Build the generator scripts for constants
default: False
manual: True
executable list-links
hs-source-dirs: Examples
main-is: ListLinks.hs
build-depends: base >=4.6 && <5,
netlink
default-language: Haskell2010
ghc-options: -Wall
executable list-addrs
hs-source-dirs: Examples
main-is: ListAddrs.hs
build-depends: base >=4.6 && <5,
netlink
default-language: Haskell2010
ghc-options: -Wall
executable dump_nl80211
hs-source-dirs: Utils
main-is: DumpNL80211.hs
build-depends: base >=4.6 && <5,
netlink
default-language: Haskell2010
ghc-options: -Wall
executable genlinfo
hs-source-dirs: Utils
main-is: GenlInfo.hs
build-depends: base >=4.6 && <5,
netlink
default-language: Haskell2010
ghc-options: -Wall
executable dump_rtnetlink
hs-source-dirs: Utils
main-is: DumpRTNL.hs
build-depends: base >=4.6 && <5,
netlink
default-language: Haskell2010
ghc-options: -Wall
executable Generate
if flag(Generators)
Buildable: True
else
Buildable: False
hs-source-dirs: Scripts
main-is: Generate.hs
other-modules: Helpers
default-language: Haskell2010
ghc-options: -Wall
if flag(Generators)
build-depends: base >=4.6 && <5,
language-c <0.7,
containers,
process,
regex-pcre
executable GenerateGenl
if flag(Generators)
Buildable: True
else
Buildable: False
hs-source-dirs: Scripts
main-is: GenerateGenl.hs
other-modules: Helpers
default-language: Haskell2010
ghc-options: -Wall
if flag(Generators)
build-depends: base >=4.6 && <5,
language-c <0.7,
containers,
process,
regex-pcre
executable GenerateNL80211
if flag(Generators)
Buildable: True
else
Buildable: False
hs-source-dirs: Scripts
main-is: GenerateNL80211.hs
other-modules: Helpers
default-language: Haskell2010
ghc-options: -Wall
if flag(Generators)
build-depends: base >=4.6 && <5,
language-c <0.7,
containers,
process,
regex-pcre
Library
Exposed-modules: System.Linux.Netlink
System.Linux.Netlink.Simple
System.Linux.Netlink.Constants
System.Linux.Netlink.Route
System.Linux.Netlink.Route.LinkStat
System.Linux.Netlink.Helpers
System.Linux.Netlink.GeNetlink
System.Linux.Netlink.GeNetlink.Constants
System.Linux.Netlink.GeNetlink.Control
System.Linux.Netlink.GeNetlink.NL80211
System.Linux.Netlink.GeNetlink.NL80211.Constants
System.Linux.Netlink.GeNetlink.NL80211.StaInfo
System.Linux.Netlink.GeNetlink.NL80211.WifiEI
Other-modules: System.Linux.Netlink.C
default-language: Haskell2010
Build-tools: hsc2hs
Build-depends: base >=4 && <5,
bytestring >=0.9,
cereal >=0.3,
containers >=0.3,
monad-loops >=0.3,
unix >=2.4,
pretty-hex
Ghc-options: -Wall -fwarn-tabs
if impl(ghc < 7.10)
default-extensions: OverlappingInstances
--Ghc-prof-options: -auto-all