Accepting request 135907 from home:jluce2:branches:security
Ufw stands for Uncomplicated Firewall, and is program for managing a netfilter firewall. It provides a command line interface and aims to be uncomplicated and easy to use. OBS-URL: https://build.opensuse.org/request/show/135907 OBS-URL: https://build.opensuse.org/package/show/security/ufw?expand=0&rev=5
This commit is contained in:
parent
3d606807ea
commit
d46b141a77
37
ufw.spec
37
ufw.spec
@ -1,18 +1,36 @@
|
||||
#
|
||||
# spec file for package ufw
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: ufw
|
||||
Version: 0.33
|
||||
Release: 0
|
||||
Summary: Uncomplicated Firewall
|
||||
Group: Productivity/Networking/Security
|
||||
License: GPL-3.0
|
||||
URL: http://launchpad.net/%{name}
|
||||
Group: Productivity/Networking/Security
|
||||
Url: http://launchpad.net/%{name}
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
Source1: ufw-init
|
||||
Source2: ufw.service
|
||||
Source1: ufw-init
|
||||
Source2: ufw.service
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: iptables
|
||||
BuildRequires: python-base >= 2.7
|
||||
BuildRequires: iptables
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: systemd
|
||||
|
||||
#Requires:
|
||||
@ -31,8 +49,6 @@ manipulating the firewall.
|
||||
%build
|
||||
#python setup.py build
|
||||
|
||||
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
python setup.py install --prefix=/usr \
|
||||
@ -50,6 +66,7 @@ mkdir -p $RPM_BUILD_ROOT/etc/systemd/
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/systemd/system/
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/systemd/system/multi-user.target.wants
|
||||
ln -s /lib/systemd/system/ufw.service $RPM_BUILD_ROOT/etc/systemd/system/multi-user.target.wants/ufw.service
|
||||
|
||||
%post
|
||||
insserv /etc/init.d/ufw
|
||||
|
||||
@ -118,8 +135,4 @@ insserv /etc/init.d/ufw
|
||||
%lang(ja) /usr/share/ufw/messages/ja.mo
|
||||
%lang(ur) /usr/share/ufw/messages/ur.mo
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user