Skip to content
Newer
Older
100644 212 lines (165 sloc) 6.09 KB
a0b813c Reworked how man pages are generated. Now, man pages in the client an…
Damien Stuart authored
1 %define _prefix /usr
2 %define _bindir /usr/bin
3 %define _sbindir /usr/sbin
4 %define _includedir /usr/include
2a67766 Added fwknop.spec for rpm builds. Removed the server post install hoo…
Damien Stuart authored
5 %ifarch x86_64
6 %define _libdir /usr/lib64
7 %else
8 %define _libdir /usr/lib
9 %endif
a0b813c Reworked how man pages are generated. Now, man pages in the client an…
Damien Stuart authored
10 %define _sysconfdir /etc
e333cba @Coacher server: remove extra '/run' subdir from paths
Coacher authored
11 %define _localstatedir /var/run
a0b813c Reworked how man pages are generated. Now, man pages in the client an…
Damien Stuart authored
12 %define _infodir /usr/share/info
13 %define _mandir /usr/share/man
2a67766 Added fwknop.spec for rpm builds. Removed the server post install hoo…
Damien Stuart authored
14
15 Name: fwknop
fb65fbe @mrash bump version to 2.6.8
authored
16 Version: 2.6.8
f499e30 @damienstuart Tweaks to fix issues with building the lib and client under Windows. …
damienstuart authored
17 Epoch: 1
2a67766 Added fwknop.spec for rpm builds. Removed the server post install hoo…
Damien Stuart authored
18 Release: 1%{?dist}
bdc3751 @mrash bump version to 2.6.6
authored
19 Summary: Firewall Knock Operator client. An implementation of Single Packet Authorization.
2a67766 Added fwknop.spec for rpm builds. Removed the server post install hoo…
Damien Stuart authored
20
21 Group: Applications/Internet
22 License: GPL
23 URL: http://www.cipherdyne.org/fwknop/
24 Source0: fwknop-%{version}.tar.gz
25 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
26
5befed6 @mrash removed gdbm/gdbm-devel dependencies for the RPM, bumped libfko to 2.…
authored
27 BuildRequires: gpg, gpgme-devel, libpcap-devel, iptables
e2925c1 @mrash [libfko] bump version to 2.0.4 to account for fko_set_username() cras…
authored
28 Requires: libfko >= 2.0.4, iptables
2a67766 Added fwknop.spec for rpm builds. Removed the server post install hoo…
Damien Stuart authored
29
30
31 %package -n libfko
e2925c1 @mrash [libfko] bump version to 2.0.4 to account for fko_set_username() cras…
authored
32 Version: 2.0.4
32ae2be @mrash updated RPM Release tag to 1
authored
33 Release: 1
2a67766 Added fwknop.spec for rpm builds. Removed the server post install hoo…
Damien Stuart authored
34 Summary: The fwknop library
35 Group: Development/Libraries
9c2cd26 Fixed issue with spaces in in access.conf comma-separated values. Fix…
Damien Stuart authored
36 Requires: gpg, gpgme
2a67766 Added fwknop.spec for rpm builds. Removed the server post install hoo…
Damien Stuart authored
37
38 %package -n libfko-devel
e2925c1 @mrash [libfko] bump version to 2.0.4 to account for fko_set_username() cras…
authored
39 Version: 2.0.4
32ae2be @mrash updated RPM Release tag to 1
authored
40 Release: 1
2a67766 Added fwknop.spec for rpm builds. Removed the server post install hoo…
Damien Stuart authored
41 Summary: The fwknop library header and API docs
42 Group: Development/Libraries
e2925c1 @mrash [libfko] bump version to 2.0.4 to account for fko_set_username() cras…
authored
43 Requires: libfko >= 2.0.4
2a67766 Added fwknop.spec for rpm builds. Removed the server post install hoo…
Damien Stuart authored
44
45 %package server
bdc3751 @mrash bump version to 2.6.6
authored
46 Summary: The Firewall Knock Operator server. An implementation of Single Packet Authorization.
2a67766 Added fwknop.spec for rpm builds. Removed the server post install hoo…
Damien Stuart authored
47 Group: System Environment/Daemons
e2925c1 @mrash [libfko] bump version to 2.0.4 to account for fko_set_username() cras…
authored
48 Requires: libfko => 2.0.4, libpcap, iptables
2a67766 Added fwknop.spec for rpm builds. Removed the server post install hoo…
Damien Stuart authored
49
50
51 %description
9d2a4c2 Fixed autoconf config so libfko and fwknop client are not linked with…
Damien Stuart authored
52 Fwknop implements an authorization scheme known as Single Packet Authorization
bdc3751 @mrash bump version to 2.6.6
authored
53 (SPA) for Linux systems running firewalld or iptables. This mechanism requires
25d252c @g-reno more changes for firewalld
g-reno authored
54 only a single encrypted and non-replayed packet to communicate various pieces of
55 information including desired access through a firewalld or iptables policy. The
56 main application of this program is to use firewalld or iptables in a default-drop
57 stance to protect services such as SSH with an additional layer of security in order
9d2a4c2 Fixed autoconf config so libfko and fwknop client are not linked with…
Damien Stuart authored
58 to make the exploitation of vulnerabilities (both 0-day and unpatched code)
59 much more difficult.
2a67766 Added fwknop.spec for rpm builds. Removed the server post install hoo…
Damien Stuart authored
60
61 %description -n libfko
9d2a4c2 Fixed autoconf config so libfko and fwknop client are not linked with…
Damien Stuart authored
62 The Firewall Knock Operator library, libfko, provides the Single Packet
35abc34 @mrash minor typo fix: fwkop -> fwknop
authored
63 Authorization implementation and API for the other fwknop components.
2a67766 Added fwknop.spec for rpm builds. Removed the server post install hoo…
Damien Stuart authored
64
65 %description -n libfko-devel
66 This is the libfko development header and API documentation.
67
68 %description server
9d2a4c2 Fixed autoconf config so libfko and fwknop client are not linked with…
Damien Stuart authored
69 The Firewall Knock Operator server component for the FireWall Knock Operator,
70 and is responsible for monitoring Single Packet Authorization (SPA) packets
71 that are generated by fwknop clients, modifying a firewall or acl policy to
72 allow the desired access after decrypting a valid SPA packet, and removing
73 access after a configurable timeout.
2a67766 Added fwknop.spec for rpm builds. Removed the server post install hoo…
Damien Stuart authored
74
75 %prep
76 %setup -q
77
78
79 %build
80 ./configure \
81 --prefix=%{_prefix} \
82 --sysconfdir=%{_sysconfdir} \
83 --localstatedir=%{_localstatedir} \
84 --libdir=%{_libdir} \
85 --with-gpgme
86
87 make %{?_smp_mflags}
88
89 %install
90 rm -rf $RPM_BUILD_ROOT
91 make install DESTDIR=$RPM_BUILD_ROOT
ce6fe8c Tweaks to the fwknop.spec file
Damien Stuart authored
92 install -D ./extras/fwknop.init.redhat ${RPM_BUILD_ROOT}/etc/rc.d/init.d/fwknopd
781218e Bumped version to rc3 (even though we may go straight to release) and…
Damien Stuart authored
93 # Just in case...
e07ccdd @damienstuart Added the cmd_opts.h file to server and client's Makefile.am so they …
damienstuart authored
94 [ -d "${RPM_BUILD_ROOT}/usr/share/info" ] \
225e364 Additional docs and classes added to the fko python module. Minor twe…
Damien Stuart authored
95 || mkdir -p ${RPM_BUILD_ROOT}/usr/share/info
e07ccdd @damienstuart Added the cmd_opts.h file to server and client's Makefile.am so they …
damienstuart authored
96 [ -f "${RPM_BUILD_ROOT}/usr/share/info/dir" ] \
97 || touch ${RPM_BUILD_ROOT}/usr/share/info/dir
2a67766 Added fwknop.spec for rpm builds. Removed the server post install hoo…
Damien Stuart authored
98
99 %clean
100 rm -rf $RPM_BUILD_ROOT
101
9d2a4c2 Fixed autoconf config so libfko and fwknop client are not linked with…
Damien Stuart authored
102 %post -n libfko-devel
2a67766 Added fwknop.spec for rpm builds. Removed the server post install hoo…
Damien Stuart authored
103 /sbin/ldconfig
9d2a4c2 Fixed autoconf config so libfko and fwknop client are not linked with…
Damien Stuart authored
104 /sbin/install-info %{_infodir}/libfko.info* %{_infodir}/dir
2a67766 Added fwknop.spec for rpm builds. Removed the server post install hoo…
Damien Stuart authored
105
ce6fe8c Tweaks to the fwknop.spec file
Damien Stuart authored
106 %post -n fwknop-server
107 /sbin/chkconfig --add fwknopd
108 /sbin/chkconfig fwknopd off
109
110 %preun -n fwknop-server
111 /sbin/chkconfig --del fwknopd
112
9d2a4c2 Fixed autoconf config so libfko and fwknop client are not linked with…
Damien Stuart authored
113 %preun -n libfko-devel
2a67766 Added fwknop.spec for rpm builds. Removed the server post install hoo…
Damien Stuart authored
114 if [ "$1" = 0 ]; then
9d2a4c2 Fixed autoconf config so libfko and fwknop client are not linked with…
Damien Stuart authored
115 /sbin/install-info --delete %{_infodir}/libfko.info* %{_infodir}/dir
2a67766 Added fwknop.spec for rpm builds. Removed the server post install hoo…
Damien Stuart authored
116 fi
117
ce6fe8c Tweaks to the fwknop.spec file
Damien Stuart authored
118 %postun -n libfko
2a67766 Added fwknop.spec for rpm builds. Removed the server post install hoo…
Damien Stuart authored
119 /sbin/ldconfig
120
121 %files
122 %defattr(-,root,root,-)
123 %attr(0755,root,root) %{_bindir}/fwknop
9d2a4c2 Fixed autoconf config so libfko and fwknop client are not linked with…
Damien Stuart authored
124 %attr(0644,root,root) %{_mandir}/man8/fwknop.8*
2a67766 Added fwknop.spec for rpm builds. Removed the server post install hoo…
Damien Stuart authored
125 %exclude %{_infodir}/dir
126
127 %files -n libfko
128 %defattr(-,root,root,-)
129 %attr(0644,root,root) %{_libdir}/libfko.*
130
131 %files -n libfko-devel
132 %defattr(-,root,root,-)
133 %attr(0644,root,root) %{_includedir}/fko.h
134 %attr(0644,root,root) %{_infodir}/libfko.info*
135
136 %files server
137 %defattr(-,root,root,-)
138 %attr(0755,root,root) %{_sbindir}/fwknopd
ce6fe8c Tweaks to the fwknop.spec file
Damien Stuart authored
139 %attr(0755,root,root) /etc/rc.d/init.d/fwknopd
9d2a4c2 Fixed autoconf config so libfko and fwknop client are not linked with…
Damien Stuart authored
140 %attr(0644,root,root) %{_mandir}/man8/fwknopd.8*
2a67766 Added fwknop.spec for rpm builds. Removed the server post install hoo…
Damien Stuart authored
141 %config(noreplace) %attr(0600,root,root) %{_sysconfdir}/fwknop/fwknopd.conf
142 %config(noreplace) %attr(0600,root,root) %{_sysconfdir}/fwknop/access.conf
143
144 %changelog
fb65fbe @mrash bump version to 2.6.8
authored
145 * Wed Dec 23 2015 <mbr@cipherdyne.org> - 2.6.8
146 - fwknop-2.6.8 release.
e2925c1 @mrash [libfko] bump version to 2.0.4 to account for fko_set_username() cras…
authored
147 - Bumped libfko version to 2.0.4 to account for fko_set_username() crash
148 fixed in 21149faf.
fb65fbe @mrash bump version to 2.6.8
authored
149
88c82af @mrash rpm 2.6.7 release note
authored
150 * Mon Aug 24 2015 <mbr@cipherdyne.org> - 2.6.7
151 - fwknop-2.6.7 release.
152
707c59d @mrash minor 2.6.6 release date update
authored
153 * Tue Apr 23 2015 <mbr@cipherdyne.org> - 2.6.6
bdc3751 @mrash bump version to 2.6.6
authored
154 - fwknop-2.6.6 release.
155
7f1da8e @mrash bumped version to 2.6.5
authored
156 * Tue Dec 16 2014 <mbr@cipherdyne.org> - 2.6.5
157 - fwknop-2.6.5 release.
158
9860aeb @mrash minor date update for the 2.6.4 release
authored
159 * Sun Nov 16 2014 <mbr@cipherdyne.org> - 2.6.4
3826bb5 @mrash ChangeLog updates, bump version to 2.6.4
authored
160 - fwknop-2.6.4 release.
161
03000dd @mrash bumped version to 2.6.3 in preparation for release
authored
162 * Mon Jul 28 2014 <mbr@cipherdyne.org> - 2.6.3
5befed6 @mrash removed gdbm/gdbm-devel dependencies for the RPM, bumped libfko to 2.…
authored
163 - Removed gdbm and gdbm-devel dependencies since these are only
164 needed if a user compiles fwknopd with the --disable-file-cache
165 argument to the 'configure' script, and the RPM's are not built
166 with this.
167 - Bumped libfko and libfko-devel version to 2.0.3.
03000dd @mrash bumped version to 2.6.3 in preparation for release
authored
168 - fwknop-2.6.3 release.
169
d996c45 @mrash minor 2.6.2 release date change
authored
170 * Mon Apr 28 2014 <mbr@cipherdyne.org> - 2.6.2
7442002 @mrash [libfko] bumped version to 2.0.2
authored
171 - Bumped libfko and libfko-devel version to 2.0.2.
30f30a9 @mrash bumped version to 2.6.2
authored
172 - fwknop-2.6.2 release.
173
2cafdad @mrash bump version to 2.6.1
authored
174 * Sat Apr 12 2014 <mbr@cipherdyne.org> - 2.6.1
175 - fwknop-2.6.1 release.
176
177290c @mrash updated fwknop.spec file release note for 2.6.0
authored
177 * Sun Jan 12 2014 <mbr@cipherdyne.org> - 2.6.0
178 - Bumped libfko and libfko-devel version to 2.0.1.
179 - fwknop-2.6.0 release.
180
22836d9 @mrash updated version and release date for 2.5.1
authored
181 * Thu Jul 25 2013 <mbr@cipherdyne.org> - 2.5.1
182 - fwknop-2.5.1 release.
183
7359ace @mrash set libfko version to 2.0.0 for the RPM per Damien's recommendation
authored
184 * Fri Jul 19 2013 <mbr@cipherdyne.org> - 2.0.4-1
185 - Bumped libfko and libfko-devel version to 2.0.0.
186 - fwknop-2.5 release (HMAC authenticated encryption support).
187
c9f5e49 @mrash bumped libfko and libfko-devel to 1.0.0
authored
188 * Sun Dec 9 2012 <mbr@cipherdyne.org> - 2.0.4-1
189 - Bumped libfko and libfko-devel version to 1.0.0.
190 - fwknop-2.0.4 release.
191
e3c4c04 @damienstuart Changes to address header references, platform support, error message…
damienstuart authored
192 * Sat Dec 1 2012 <dstuart@dstuart.org> - 2.0.4-1
193 - Removed uneeded include files (which had been added to address an issue that
194 has since been fixed).
195
517f447 @mrash bumped version to 2.0.4
authored
196 * Thu Nov 15 2012 <mbr@cipherdyne.org>
197 - fwknop-2.0.4 release.
198
daa692c @tomyuk Added missing include files
tomyuk authored
199 * Sat Nov 3 2012 Tomoyuki Kano <tomo@appletz.jp> - 1:2.0.3-1
200 - Added missing include files.
201
8cfa222 Fixed some misplaced dependencies in the fwknop.spec file.
Damien Stuart authored
202 * Thu Jul 15 2010 Damien Stuart <dstuart@dstuart.org>
203 - Fixed some misplaced depenencies (moved gpgpme from server to libfko).
204
9d2a4c2 Fixed autoconf config so libfko and fwknop client are not linked with…
Damien Stuart authored
205 * Wed Jul 7 2010 Damien Stuart <dstuart@dstuart.org>
206 - Made the post and preun steps specific to libfko-devel.
8cfa222 Fixed some misplaced dependencies in the fwknop.spec file.
Damien Stuart authored
207
a80b392 Fixed another oops in the spec file.
Damien Stuart authored
208 * Tue Jul 6 2010 Damien Stuart <dstuart@dstuart.org>
209 - Initial RPMification.
2a67766 Added fwknop.spec for rpm builds. Removed the server post install hoo…
Damien Stuart authored
210
8cfa222 Fixed some misplaced dependencies in the fwknop.spec file.
Damien Stuart authored
211 ###EOF###
Something went wrong with that request. Please try again.