]>
Commit | Line | Data |
---|---|---|
3379d8d0 | 1 | # TODO: initscript |
dbaea499 | 2 | Summary: Bjorb - secure TCP relay software |
3379d8d0 | 3 | Name: bjorb |
4 | Version: 0.5.5p1 | |
5 | Release: 0.1 | |
dbaea499 | 6 | License: see COPYRIGHT, modified is not distributable |
3379d8d0 | 7 | Group: Networking/Daemons |
8 | Source0: http://people.FreeBSD.org/~foxfair/distfiles/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: abea77967a1a0fd2dcd1b407d652b3bf | |
10 | # http://www.freebsd.org/cgi/cvsweb.cgi/ports/security/bjorb/files/ | |
11 | Patch0: %{name}-fbsd_patches.patch | |
12 | Patch1: %{name}-Makefile.in.patch | |
13 | Patch2: %{name}-sysconfdir.patch | |
14 | URL: http://www.hitachi-ms.co.jp/bjorb/ | |
15 | BuildRequires: libstdc++-devel | |
16 | BuildRequires: openssl-devel | |
17 | BuildRequires: openssl-tools | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | Bjorb is secure TCP relay software. Bjorb provides you, secure | |
22 | end-to-end connection over insecure network such as Internet. | |
23 | Features: | |
24 | 1. Encrypt/decrypt any "static port" TCP connection with SSL. | |
25 | 2. Restrcit access by IP address. | |
26 | 3. Server side certification. | |
27 | 4. Client side certification. | |
28 | ||
29 | %define _sysconfdir /etc/%{name} | |
30 | ||
31 | %prep | |
32 | %setup -q | |
33 | %patch0 -p1 | |
34 | %patch1 -p1 | |
35 | %patch2 -p1 | |
36 | ||
37 | %build | |
38 | cd src | |
39 | %{__autoconf} | |
40 | %configure2_13 | |
41 | %{__make} | |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | cd src | |
46 | %{__make} install \ | |
47 | DESTDIR=$RPM_BUILD_ROOT | |
48 | mv -f $RPM_BUILD_ROOT%{_sysconfdir}/{bjorb.conf.sample,bjorb.conf} | |
49 | ||
50 | %clean | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %files | |
54 | %defattr(644,root,root,755) | |
55 | %doc ChangeLog COPYRIGHT README doc/sample/bjorb.conf.doc doc/sample/bjorb.conf.sample | |
56 | %lang(ja) %doc ChangeLog.jp COPYRIGHT.jp README.jp doc/features.jp doc/bjorb.conf.5.jp.txt | |
57 | %attr(755,root,root) %{_sbindir}/* | |
58 | %dir %{_sysconfdir} | |
59 | %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/%{name}.conf |