new upstream release

This commit is contained in:
Nikos Mavrogiannopoulos 2014-05-26 13:06:37 +02:00
parent 87ad88173a
commit 100c73194f
4 changed files with 51 additions and 8 deletions

2
.gitignore vendored
View File

@ -6,3 +6,5 @@
/ocserv-0.3.3.tar.xz /ocserv-0.3.3.tar.xz
/ocserv-0.3.4.tar.xz /ocserv-0.3.4.tar.xz
/ocserv-0.3.5.tar.xz /ocserv-0.3.5.tar.xz
/ocserv-0.8.0pre0.tar.xz
/ocserv-0.8.0pre0.tar.xz.sig

View File

@ -5,6 +5,10 @@
#auth = "plain[./sample.passwd]" #auth = "plain[./sample.passwd]"
auth = "pam" auth = "pam"
# The gid-min option is used by auto-select-group option, in order to
# select the minimum group ID.
#auth = "pam[gid-min=1000]"
# The plain option requires specifying a password file which contains # The plain option requires specifying a password file which contains
# entries of the following format. # entries of the following format.
# "username:groupname:encoded-password" # "username:groupname:encoded-password"
@ -128,7 +132,7 @@ auth-timeout = 40
# Once a client is authenticated he's provided a cookie with # Once a client is authenticated he's provided a cookie with
# which he can reconnect. This option sets the maximum lifetime # which he can reconnect. This option sets the maximum lifetime
# of that cookie. # of that cookie.
cookie-validity = 86400 cookie-validity = 10800
# ReKey time (in seconds) # ReKey time (in seconds)
# ocserv will ask the client to refresh keys periodically once # ocserv will ask the client to refresh keys periodically once
@ -156,10 +160,13 @@ rekey-method = ssl
# UTMP # UTMP
use-utmp = true use-utmp = true
# D-BUS usage. If disabled occtl tool cannot be used. If enabled # Whether to enable support for the occtl tool (i.e., either through D-BUS,
# then ocserv must have access to register org.infradead.ocserv # or via a unix socket).
# D-BUS service. See doc/dbus/org.infradead.ocserv.conf use-occtl = true
use-dbus = true
# socket file used for IPC with occtl. You only need to set that,
# if you use more than a single servers.
#occtl-socket-file = /var/run/occtl.socket
# PID file. It can be overriden in the command line. # PID file. It can be overriden in the command line.
#pid-file = /var/run/ocserv.pid #pid-file = /var/run/ocserv.pid
@ -194,6 +201,10 @@ run-as-group = ocserv
# The name of the tun device # The name of the tun device
device = vpns device = vpns
# Whether the generated IPs will be predictable, i.e., IP stays the
# same for the same user when possible.
predictable-ips = true
# The default domain to be advertised # The default domain to be advertised
default-domain = example.com default-domain = example.com
@ -258,6 +269,29 @@ route = 192.168.1.0/255.255.255.0
#config-per-user = /etc/ocserv/config-per-user/ #config-per-user = /etc/ocserv/config-per-user/
#config-per-group = /etc/ocserv/config-per-group/ #config-per-group = /etc/ocserv/config-per-group/
# When config-per-xxx is specified and there is no group or user that
# matches, then utilize the following configuration.
#default-user-config = /etc/ocserv/defaults/user.conf
#default-group-config = /etc/ocserv/defaults/group.conf
# Groups that a client is allowed to select from.
# A client may belong in multiple groups, and in certain use-cases
# it is needed to switch between them. For these cases the client can
# select prior to authentication. Add multiple entries for multiple groups.
#select-group = group1
#select-group = group2[My group 2]
#select-group = tost[The tost group]
# The name of the group that if selected it would allow to use
# the assigned by default group.
default-select-group = DEFAULT
# Instead of specifying manually all the allowed groups, you may instruct
# ocserv to scan all available groups and include the full list. That
# option is only functional on plain authentication.
auto-select-group = true
# The system command to use to setup a route. %R will be replaced with the # The system command to use to setup a route. %R will be replaced with the
# route/mask and %D with the (tun) device. # route/mask and %D with the (tun) device.
# #

View File

@ -1,5 +1,5 @@
Name: ocserv Name: ocserv
Version: 0.3.5 Version: 0.8.0pre0
Release: 1%{?dist} Release: 1%{?dist}
Summary: OpenConnect SSL VPN server Summary: OpenConnect SSL VPN server
@ -13,6 +13,7 @@ Source2: ocserv.service
Source3: ocserv-pamd.conf Source3: ocserv-pamd.conf
Source4: PACKAGE-LICENSING Source4: PACKAGE-LICENSING
Source5: org.infradead.ocserv.conf Source5: org.infradead.ocserv.conf
Source6: ftp://ftp.infradead.org/pub/ocserv/%{name}-%{version}.tar.xz.sig
# Taken from upstream: # Taken from upstream:
# http://git.infradead.org/ocserv.git/commitdiff/7d70006a2dbddf783213f1856374bacc74217e09 # http://git.infradead.org/ocserv.git/commitdiff/7d70006a2dbddf783213f1856374bacc74217e09
@ -26,13 +27,15 @@ BuildRequires: autogen-libopts-devel
BuildRequires: protobuf-c-devel BuildRequires: protobuf-c-devel
BuildRequires: libnl3-devel BuildRequires: libnl3-devel
BuildRequires: readline-devel BuildRequires: readline-devel
BuildRequires: dbus-devel
BuildRequires: autogen BuildRequires: autogen
BuildRequires: pcllib-devel BuildRequires: pcllib-devel
BuildRequires: http-parser-devel BuildRequires: http-parser-devel
BuildRequires: tcp_wrappers-devel BuildRequires: tcp_wrappers-devel
BuildRequires: automake, autoconf BuildRequires: automake, autoconf
# we don't build with dbus support
#BuildRequires: dbus-devel
Requires: gnutls-utils Requires: gnutls-utils
Requires: iproute Requires: iproute
Requires: pam Requires: pam
@ -158,6 +161,9 @@ rm -rf %{buildroot}
%{_localstatedir}/lib/ocserv/profile.xml %{_localstatedir}/lib/ocserv/profile.xml
%changelog %changelog
* Mon May 26 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 0.8.0pre0-1
- New upstream release
* Fri May 09 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 0.3.5-1 * Fri May 09 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 0.3.5-1
- New upstream release - New upstream release

View File

@ -1 +1,2 @@
7ba8ebe4eba08b6e1c9dabbc78da16e5 ocserv-0.3.5.tar.xz de476b85be78be000f33c912a076657a ocserv-0.8.0pre0.tar.xz
0f2c49c121883cd189f28126d8ff718f ocserv-0.8.0pre0.tar.xz.sig