Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
:
tools
>
pam_ihosts
> pam_ihosts.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File pam_ihosts.spec of Package pam_ihosts
Name: pam_ihosts Version: 1.3.1 Release: 1 Summary: PAM Module which checks IP or MAC address License: GPL Url: https://github.com/ColumPaget/pam_ihosts Group: System Source0: %{name}-%{version}.tar.gz Patch0: pam_ihosts-Makefile.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: pam-devel %description This is a PAM (Pluggable Authentication Modules) that only allows login from certain hosts, either based on mac-address, ip-address, or thei r region looked as up in internet registrar stats files. pam_ihosts is not an authentication module, it's an account module.This means that it comes into play only after a user has already authenticated, and provides extra checks as to whether an authenticated user should be alow ed to log in. This allows fine-grained control of which hosts a user is allowed to login from, with external logins being controlled by regi on and ip, and internal networks being controlled by mac-address or ip, the former allowing control even in DHCP environments. As of version 1.2 both IP4 and IP6 are supported. %prep %setup -n %{name}-%{version} %patch0 %build ./configure --prefix=/usr --exec-prefix=/ --libdir=/%{_lib} --datadir=/var --localstatedir=/usr/share %__make %install %__make DESTDIR=%{buildroot} install %files %defattr(-,root,root) %doc README.md /%{_lib}/security/pam_ihosts.so %{_datadir}/man/man8/pam_ihosts.8* %changelog