source: projects/specs/branches/6/d/dracd/dracd-vl.spec @ 3531

Revision 3531, 4.8 KB checked in by iwamoto, 13 years ago (diff)

dracd: rebuilt with current vineseed environment

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