Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE
drac
drac.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File drac.spec of Package drac
# # spec file for package drac # # Copyright (c) 2013 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: drac BuildRequires: db-devel Url: http://mail.cc.umanitoba.ca/drac/index.html Summary: Dynamic Relay Authorization Control License: BSD-3-Clause Group: Productivity/Networking/Email/Utilities Version: 1.12 Release: 0 Source: drac-%{version}.tar.gz Patch: drac.dif PreReq: %insserv_prereq %fillup_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build # --------------------------------------------------------------------------- %prep %setup -qn drac %patch -p 1 # --------------------------------------------------------------------------- %build make OPTFLAGS="$RPM_OPT_FLAGS -fPIC" CC="%__cc" # --------------------------------------------------------------------------- %install mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8 mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man3 mkdir -p $RPM_BUILD_ROOT/sbin mkdir -p $RPM_BUILD_ROOT/%{_libdir} mkdir -p $RPM_BUILD_ROOT/usr/sbin mkdir -p $RPM_BUILD_ROOT/etc/init.d make install EBIN=$RPM_BUILD_ROOT/usr/sbin/rpc.dracd make install-man MAN=$RPM_BUILD_ROOT/%{_mandir}/man install -m 644 libdrac.a $RPM_BUILD_ROOT/%{_libdir}/libdrac.a install -m 755 rc.dracd $RPM_BUILD_ROOT/etc/init.d/dracd ln -sf ../etc/init.d/dracd $RPM_BUILD_ROOT/sbin/rcdracd mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates install -m 644 sysconfig.dracd $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.dracd %post %{fillup_and_insserv -yn dracd} %preun %stop_on_removal dracd %postun %restart_on_update dracd %insserv_cleanup %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc %{_mandir}/man?/*.gz %doc COPYRIGHT Changes INSTALL PORTING README dracd.allow-sample %attr(755,bin,bin) /usr/sbin/rpc.dracd %{_libdir}/libdrac.a /etc/init.d/dracd /sbin/rcdracd /var/adm/fillup-templates/sysconfig.dracd %description DRAC is a daemon that dynamically updates a relay authorization map for sendmail. It provides a way to allow legitimate users to relay mail through an SMTP server, while still preventing others from using it as a spam relay. User's IP addresses are added to the map immediately after they have authenticated to the POP or IMAP server. Authors: -------- Gary Mills <mills@cc.umanitoba.ca> %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor