source: projects/specs/trunk/d/dracd/dracd-vl.spec @ 9177

Revision 9177, 4.9 KB checked in by inagaki, 9 years ago (diff)

2014-12-21 Ryoichi INAGAKI <ryo1@…>

  • MySQL-ruby, dockmanager, dracd, rxvt-unicode: rebuilt
  • docky, tomboy: added patch
  • gdl: changed Group
  • gdlmm: updated


Line 
1Summary: Dynamic relay authorization control
2Summary(ja): 動的なメール中継認証デーモン
3Name: dracd
4Version: 1.12
5Release: 4%{?_dist_release}
6
7License: Other
8Group: System Environment/Daemons
9URL: http://mail.cc.umanitoba.ca/drac/
10
11Source0: drac.tar.Z
12Source1: dracd-init.d.source
13Source2: dracd-rc.d.source
14Source3: dracd.allow-sample
15Source4: README.vine-drac
16Patch0: drac-Makefile-1.12.patch
17
18BuildRoot: %{_tmppath}/%{name}-%{version}-root
19BuildRequires: libdb-devel
20Requires(post): chkconfig portmap
21Requires(preun): chkconfig portmap
22
23Packager: iwamoto
24Vendor: Project Vine
25Distribution: Vine Linux
26
27%description
28DRAC is a daemon that dynamically updates a relay authorization map
29for sendmail. It provides a way to allow legitimate users to relay
30mail through an SMTP server, while still preventing others from using
31it as a spam relay. User's IP addresses are added to the map
32immediately after they have authenticated to the POP or IMAP
33server. By default, map entries expire after 30 minutes, but can be
34renewed by additional authentication. Periodically checking mail on a
35POP server is sufficient to do this. The POP and SMTP servers can be
36on different hosts.
37
38%prep
39%setup -q -c -n drac-1.12
40%patch0 -p0
41cp %{SOURCE4} ./README.vine
42
43%build
44make OPTFLAGS="$RPM_OPT_FLAGS -fPIC"
45
46%install
47install -d $RPM_BUILD_ROOT%{_sbindir}
48install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
49install -d $RPM_BUILD_ROOT/etc/mail
50install -d $RPM_BUILD_ROOT%{_libdir}
51install -d $RPM_BUILD_ROOT%{_mandir}/man3
52install -d $RPM_BUILD_ROOT%{_mandir}/man8
53install -m755 rpc.dracd $RPM_BUILD_ROOT%{_sbindir}
54install -m644 dracauth.3 $RPM_BUILD_ROOT%{_mandir}/man3/
55install -m644 rpc.dracd.1m $RPM_BUILD_ROOT%{_mandir}/man8/rpc.dracd.8
56install -m755 %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/dracd
57install -m755 %{SOURCE2} $RPM_BUILD_ROOT%{_sbindir}/rc.dracd
58install -m644 %{SOURCE3} $RPM_BUILD_ROOT/etc/mail/dracd.allow
59install -m644 libdrac.a $RPM_BUILD_ROOT%{_libdir}
60install -m755 testing $RPM_BUILD_ROOT%{_sbindir}/testdrac
61
62%post
63/sbin/chkconfig --add dracd
64
65%preun
66if [ $1 = 0 ] ; then
67    /sbin/chkconfig --del dracd
68fi
69
70%clean
71rm -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
86* Thu Dec 18 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.12-4
87- built with libdb 5.3.28
88
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
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
Note: See TracBrowser for help on using the repository browser.