[521] | 1 | Summary: Dynamic relay authorization control |
---|
[9177] | 2 | Summary(ja): 動的なメール中継認証デーモン |
---|
[521] | 3 | Name: dracd |
---|
| 4 | Version: 1.12 |
---|
[9177] | 5 | Release: 4%{?_dist_release} |
---|
| 6 | |
---|
[521] | 7 | License: Other |
---|
| 8 | Group: System Environment/Daemons |
---|
[9177] | 9 | URL: http://mail.cc.umanitoba.ca/drac/ |
---|
| 10 | |
---|
[521] | 11 | Source0: drac.tar.Z |
---|
| 12 | Source1: dracd-init.d.source |
---|
| 13 | Source2: dracd-rc.d.source |
---|
| 14 | Source3: dracd.allow-sample |
---|
| 15 | Source4: README.vine-drac |
---|
| 16 | Patch0: drac-Makefile-1.12.patch |
---|
[9177] | 17 | |
---|
[521] | 18 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[9177] | 19 | BuildRequires: libdb-devel |
---|
| 20 | Requires(post): chkconfig portmap |
---|
| 21 | Requires(preun): chkconfig portmap |
---|
[521] | 22 | |
---|
[3531] | 23 | Packager: iwamoto |
---|
| 24 | Vendor: Project Vine |
---|
| 25 | Distribution: Vine Linux |
---|
| 26 | |
---|
[521] | 27 | %description |
---|
| 28 | DRAC is a daemon that dynamically updates a relay authorization map |
---|
| 29 | for sendmail. It provides a way to allow legitimate users to relay |
---|
| 30 | mail through an SMTP server, while still preventing others from using |
---|
| 31 | it as a spam relay. User's IP addresses are added to the map |
---|
| 32 | immediately after they have authenticated to the POP or IMAP |
---|
| 33 | server. By default, map entries expire after 30 minutes, but can be |
---|
| 34 | renewed by additional authentication. Periodically checking mail on a |
---|
| 35 | POP server is sufficient to do this. The POP and SMTP servers can be |
---|
| 36 | on different hosts. |
---|
| 37 | |
---|
| 38 | %prep |
---|
| 39 | %setup -q -c -n drac-1.12 |
---|
| 40 | %patch0 -p0 |
---|
| 41 | cp %{SOURCE4} ./README.vine |
---|
| 42 | |
---|
| 43 | %build |
---|
| 44 | make OPTFLAGS="$RPM_OPT_FLAGS -fPIC" |
---|
| 45 | |
---|
| 46 | %install |
---|
| 47 | install -d $RPM_BUILD_ROOT%{_sbindir} |
---|
| 48 | install -d $RPM_BUILD_ROOT/etc/rc.d/init.d |
---|
| 49 | install -d $RPM_BUILD_ROOT/etc/mail |
---|
| 50 | install -d $RPM_BUILD_ROOT%{_libdir} |
---|
| 51 | install -d $RPM_BUILD_ROOT%{_mandir}/man3 |
---|
| 52 | install -d $RPM_BUILD_ROOT%{_mandir}/man8 |
---|
| 53 | install -m755 rpc.dracd $RPM_BUILD_ROOT%{_sbindir} |
---|
| 54 | install -m644 dracauth.3 $RPM_BUILD_ROOT%{_mandir}/man3/ |
---|
| 55 | install -m644 rpc.dracd.1m $RPM_BUILD_ROOT%{_mandir}/man8/rpc.dracd.8 |
---|
| 56 | install -m755 %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/dracd |
---|
| 57 | install -m755 %{SOURCE2} $RPM_BUILD_ROOT%{_sbindir}/rc.dracd |
---|
| 58 | install -m644 %{SOURCE3} $RPM_BUILD_ROOT/etc/mail/dracd.allow |
---|
| 59 | install -m644 libdrac.a $RPM_BUILD_ROOT%{_libdir} |
---|
| 60 | install -m755 testing $RPM_BUILD_ROOT%{_sbindir}/testdrac |
---|
| 61 | |
---|
| 62 | %post |
---|
| 63 | /sbin/chkconfig --add dracd |
---|
| 64 | |
---|
| 65 | %preun |
---|
| 66 | if [ $1 = 0 ] ; then |
---|
| 67 | /sbin/chkconfig --del dracd |
---|
| 68 | fi |
---|
| 69 | |
---|
| 70 | %clean |
---|
| 71 | rm -rf $RPM_BUILD_ROOT |
---|
| 72 | |
---|
| 73 | %files |
---|
| 74 | %defattr(-,root,root) |
---|
| 75 | %doc COPYRIGHT Changes INSTALL PORTING README* |
---|
| 76 | %{_sbindir}/rpc.dracd |
---|
| 77 | %{_sbindir}/rc.dracd |
---|
| 78 | %{_sbindir}/testdrac |
---|
| 79 | %{_libdir}/libdrac.a |
---|
| 80 | %{_mandir}/man3/dracauth.3* |
---|
| 81 | %{_mandir}/man8/rpc.dracd.8* |
---|
| 82 | %config /etc/rc.d/init.d/dracd |
---|
| 83 | %config(noreplace) /etc/mail/dracd.allow |
---|
| 84 | |
---|
| 85 | %changelog |
---|
[9177] | 86 | * Thu Dec 18 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.12-4 |
---|
| 87 | - built with libdb 5.3.28 |
---|
| 88 | |
---|
[3531] | 89 | * Sun Apr 17 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> - 1.12-3 |
---|
| 90 | - rebuilt with rel++ |
---|
| 91 | - add vendor/distri tags |
---|
| 92 | - use hoge(pre) tags instead of hogepre tags |
---|
| 93 | |
---|
[521] | 94 | * Tue Jul 7 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> - 1.12-2 |
---|
| 95 | - README.vine-drac in UTF-8 |
---|
| 96 | |
---|
| 97 | * Sat Jun 21 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.12-1 |
---|
| 98 | - rebuilt against db4-4.6.21 |
---|
| 99 | - new versioning policy |
---|
| 100 | |
---|
| 101 | * Tue Nov 20 2007 NAKAMURA Kenta <kenta@vinelinux.org> 1.12-0vl6 |
---|
| 102 | - use RPM_OPT_FLAGS and -fPIC |
---|
| 103 | |
---|
| 104 | * Thu May 10 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.12-0vl5 |
---|
| 105 | - rebuild with db4-4.3 |
---|
| 106 | |
---|
| 107 | * Thu Jul 13 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.12-0vl4 |
---|
| 108 | - changed Group to System Environment/Daemons |
---|
| 109 | |
---|
| 110 | * Sun Nov 7 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.12-0vl3 |
---|
| 111 | - rebuilt with db4-4.2.52 |
---|
| 112 | |
---|
| 113 | * Mon Sep 6 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.12-0vl2 |
---|
| 114 | - fix typo on README.vine |
---|
| 115 | |
---|
| 116 | * Sat Aug 23 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.12-0vl1 |
---|
| 117 | - source upgrade |
---|
| 118 | - update Patch0 |
---|
| 119 | |
---|
| 120 | * Fri Aug 22 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.11-0vl6 |
---|
| 121 | - update SOURCE4 |
---|
| 122 | - use License tag |
---|
| 123 | |
---|
| 124 | * Fri Aug 22 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.11-0vl5 |
---|
| 125 | - BuildPrereq: db4-devel and Requires: db4 |
---|
| 126 | |
---|
| 127 | * Fri Aug 23 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.11-0vl4 |
---|
| 128 | - add README.vine (SOURCE4) |
---|
| 129 | |
---|
| 130 | * Fri Jun 21 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 1.11-0vl3 |
---|
| 131 | - build for Vine Linux 2.5 |
---|
| 132 | - add BuildPrereq: db3-devel and Requires: db3 |
---|
| 133 | |
---|
| 134 | * Tue May 28 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 1.11-0vl2 |
---|
| 135 | - clean up spec |
---|
| 136 | |
---|
| 137 | * Thu Mar 15 2001 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> |
---|
| 138 | - 1.11-0vl1 |
---|
| 139 | |
---|
| 140 | * Thu Dec 14 2000 Kenneth Porter <shiva@well.com> |
---|
| 141 | - Add testing program to package, renamed to testdrac |
---|
| 142 | |
---|
| 143 | * Thu Nov 2 2000 Kenneth Porter <shiva@well.com> |
---|
| 144 | - Move rc.dracd out of /etc |
---|
| 145 | - Mark remaining /etc files (init file) as config |
---|
| 146 | - Return a value from init script |
---|
| 147 | - Add status to init script |
---|
| 148 | |
---|
| 149 | * Mon Oct 30 2000 Kenneth Porter <shiva@well.com> |
---|
| 150 | - Add Requires: portmap |
---|
| 151 | - Make dracd.allow a config file |
---|
| 152 | - Compressed man pages on newer RPM systems |
---|
| 153 | |
---|
| 154 | * Sat Jul 1 2000 Kenneth Porter <shiva@well.com> |
---|
| 155 | - Fix install for non-root packager |
---|
| 156 | - Remove bogus address from default client allow file. |
---|
| 157 | - Add chkconfig invocation to automatically install startup links. |
---|
| 158 | - Move libdrac.a to /usr/lib. No need for a directory of its own. |
---|
| 159 | |
---|
| 160 | * Tue Oct 26 1999 Mike McHenry <mmchen@minn.net> |
---|
| 161 | - First RPM build |
---|