source: projects/specs/trunk/m/mailx/mailx-vl.spec @ 12346

Revision 12346, 7.6 KB checked in by tomop, 4 years ago (diff)

updated 14 packages

ca-certificates-2020.2.40-1

dmidecode-3.2-1

dnsmasq-2.80-2

golang-1.14.1-1

gthumb-3.8.3-1

haveged-1.9.8-1

iw-5.4-1

liblockfile-1.14-6

libnl3-3.5.0-1

libvisio-0.1.7-2

mailx-8.1.2.20180807-1

strace-5.5-1

tzdata-2019c-1

zlib-1.2.11-2

RevLine 
[12346]1Summary:        The /bin/mail program, which is used to send mail via shell scripts.
2Summary(ja):    シェルスクリプトからメールを送る /bin/mail プログラム
3Name:           mailx
4Version:        8.1.2.20180807
5Release:        1%{?_dist_release}
6License:        BSD
7Group:          Applications/Internet
8Source:         http://deb.debian.org/debian/pool/main/b/bsd-mailx/bsd-mailx_8.1.2-0.20180807cvs.orig.tar.xz
9Patch0:         00-Makefiles.patch
10Patch1:         01-Fix-includes.patch
11Patch2:         02-Base-fixes-1.patch
12Patch3:         03-Base-fixes-2.patch
13Patch4:         04-Add-custom-header.patch
14Patch5:         05-Mailx-fixes.patch
15Patch6:         06-Use-lockf-instead-of-flock.patch
16Patch7:         07-Initialize-head-struct.patch
17Patch8:         08-Use-liblockfile-library.patch
18Patch9:         09-Saved-mbox-message.patch
19Patch10:        10-Reply-To-header.patch
20Patch11:        11-Showname-option.patch
21Patch12:        12-REPLYTO-can-be-set-in-.mailrc-too.patch
22Patch13:        13-Mailx-concatenates-messages.patch
23Patch14:        14-Truncate-mailbox-instead-of-deleting-it.patch
24Patch15:        15-No-space-left-in-tmp.patch
25Patch16:        16-Stdin-not-a-tty.patch
26Patch18:        18-Wait-for-sendmail.patch
27Patch19:        19-Fix-compilation-on-Hurd.patch
28Patch20:        20-Don-t-delete-temporary-file.patch
29Patch21:        21-Use-wordexpr-instead-of-echo.patch
30Patch22:        22-Replace-newlines-with-spaces.patch
31Patch24:        24-False-cant-send-email-errors.patch
32Patch25:        25-Fix-confusing-error.patch
33Patch26:        26-Add-missing-include.patch
34Patch27:        27-Use-FOPEN_MAX.patch
35Patch28:        28-Fix-gcc-warning.patch
36Patch29:        29-Document-two-dashes-separator.patch
37Patch30:        30-Add-missing-includes.patch
38Patch31:        31-Do-not-call-pledge.patch
39Patch32:        32-Fix-FTBFS-on-Hurd.patch
40Patch33:        33-Add-MIME-headers.patch
41Patch34:        34-Fix-strnvis.patch
42Patch35:        35-Fix-new-warnings-and-error.patch
[521]43
[12346]44BuildRoot:      %{_tmppath}/%{name}-%{version}-root
[521]45
[12346]46BuildRequires:  libbsd-devel
47BuildRequires:  liblockfile-devel
48
[8067]49Vendor: Project Vine
50Distribution: Vine Linux
[521]51
52%description
53The mailx package installs the /bin/mail program, which is used to
54send quick email messages (i.e., without opening up a full-featured
55mail user agent). Mail is often used in shell scripts.
56
57You should install mailx because of its quick email sending ability,
58which is especially useful if you're planning on writing any shell
59scripts.
60
61%description -l ja
62mailx パッケージは /bin/mail プログラムをインストールします.
63/bin/mail は,多機能のメールクライアントを起動すること無く迅速に
64メールを送信するのに使われます./bin/mail はシェルスクリプトから
65よく使われています.
66
67メール送信が関係するシェルスクリプト作成を検討しているのならば,
68迅速なメール送信機能を備えた mailx パッケージを是非インストールして下さい.
69
70
71%prep
[12346]72%setup -q -n bsd-mailx-8.1.2-0.20180807cvs.orig
73%autopatch -p1
[521]74
75%build
[12346]76make CFLAGS="%{optflags} -D_GNU_SOURCE -DDEBIAN"
[521]77
78
79%install
[12346]80rm -rf %{buildroot}
81mkdir -p %{buildroot}/{bin,etc}
82mkdir -p %{buildroot}%{_bindir}
83mkdir -p %{buildroot}%{_datadir}/bsd-mailx
84mkdir -p %{buildroot}%{_mandir}/man1
[521]85
[12346]86make DESTDIR=%{buildroot} bindir=%{_bindir} mandir=%{_mandir} install
[521]87
[12346]88( cd %{buildroot}
89  mv -f .%{_bindir}/bsd-mailx ./bin/mail
[521]90  chmod g-s ./bin/mail
91  ln -sf ../../bin/mail .%{_bindir}/Mail
92  ln -sf mail.1 .%{_mandir}/man1/Mail.1
[12346]93  mv -f .%{_mandir}/man1/bsd-mailx.1 .%{_mandir}/man1/mail.1
[521]94)
95
96
97%clean
[12346]98rm -rf %{buildroot}
[521]99
100%files
101%defattr(-,root,root)
102%attr(755,root,mail)    /bin/mail
103%{_bindir}/Mail
[12346]104%{_datadir}/bsd-mailx
[521]105%config(noreplace) /etc/mail.rc
106%{_mandir}/man1/mail.1*
107%{_mandir}/man1/Mail.1*
108
109
110%changelog
[12346]111* Sat Mar 21 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.1.2.20180807cvs-1
112- updated to 8.1.2.20180807cvs.
113- dropped Source1.
114- dropped all patches.
115- imported patches from debian.
116
[8067]117* Sat Dec 28 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 8.1.1-37
118- rebuild with VineSeed environment
119
[3526]120* Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 8.1.1-36
121- rebuilt with rpm-4.8.1-3
122
[521]123* Sun Oct 18 2009 Shu KONNO <owa@bg.wakwak.com> 8.1.1-35
124- applied vine5 updates
125        * Wed Sep 09 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 8.1.1-35
126        - use %%{_prefix}/lib to build on x86_64
127
128* Tue Sep  8 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 8.1.1-34
129- man files in the wrong location - fixed.
130
131* Tue Aug  5 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 8.1.1-33
132- applied new versioning policy
133- spec in UTF-8
134
135* Sat Sep 23 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 8.1.1-32vl2
136- rebuild to add gpg sign
137
138* Fri Mar 26 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 8.1.1-32vl1
139- rebuilt with new toolchains
140- s/Copyright/License/
141- added Patch9--Patch15 from Fedora 8.1.1-32
142  * Fri Aug 01 2003 Florian La Roche <Florian.LaRoche@redhat.de>
143  - fix include file order #101251
144  * Thu Aug 24 2000 Nalin Dahyabhai <nalin@redhat.com>
145  - clean up flock() usage -- LOCK_EX shouldn't work on read-only descriptors
146  * Mon Aug 21 2000 Nalin Dahyabhai <nalin@redhat.com>
147  - patch to use fcntl() for locking instead of flock() (#15779)
148  - patch to ignore ~/.mailrc if it's owned by anyone other than the owner of
149    this process
150  - clean up flock() emulation semantics
151  * Thu Aug 17 2000 Jeff Johnson <jbj@redhat.com>
152  - summaries from specspo.
153  * Fri Aug 11 2000 Jeff Johnson <jbj@redhat.com>
154  - time to use sigsetjmp/siglongjmp (#14010).
155  - avoid indexing on NOSTR valued pointer (#15728).
156  - ignore MAIL enviromment variable when invoked with -u (#10074).
157- mailx-fio.patch dropped because it was merged Patch8
158
159* Mon Jun 11 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
160- 8.1.1-16vl2
161- rebuilt for VineSeed, as well as adding Japanese summary/description
162- define %%{_mandir} on the top of this spec file :-P
163
164* Mon Sep 18 2000 Jun Nishii <jun@vinelinux.org>
165- added fio-patch to fix bug for `mail -f`
166
167* Mon Aug  7 2000 Nalin Dahyabhai <nalin@redhat.com>
168- disable security-prone variables-inherited-from-environment behavior
169- inherit only SHELL, DEAD, PAGER, LISTER, EDITOR, VISUAL, MBOX from environment
170- document the environment variables that are used
171
172* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
173- automatic rebuild
174
175* Wed Jun 21 2000 Preston Brown <pbrown@redhat.com>
176- noreplace mail.rc
177
178* Sun Jun 18 2000 Jeff Johnson <jbj@redhat.com>
179- FHS packaging.
180
181* Sun May  7 2000 Bill Nottingham <notting@redhat.com>
182- fix explosions on ia64
183
184* Thu Feb 03 2000 Elliot Lee <sopwith@redhat.com>
185- Fix bug #8451
186- Fix bug #8100
187
188* Tue Aug 31 1999 Bill Nottingham <notting@redhat.com>
189- fix pathnames
190- take out makefile install crud
191
192* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
193- auto rebuild in the new build environment (release 8)
194
195* Thu Aug 27 1998 Alan Cox <alan@redhat.com>
196- Synchronized with the Debian people (more small edge case cures)
197
198* Tue Aug  4 1998 Jeff Johnson <jbj@redhat.com>
199- build root
200
201* Wed Jun 24 1998 Alan Cox <alan@redhat.com>
202- Switched dotlocking off. This fits the Red Hat model of not having setgid
203  mail agents and fixes the "lock" problem reported.
204
205* Mon Jun 22 1998 Alan Cox <alan@redhat.com>
206- Buffer overrun patches. These dont bite us when we don't run mailx setgid
207  but do want to be in as mailx needs to be setgid
208
209* Fri Jun 12 1998 Alan Cox <alan@redhat.com>
210- Moved from 5.5 to the OpenBSD 8.1 release plus Debian patches
211
212* Tue May 05 1998 Prospector System <bugs@redhat.com>
213- translations modified for de, fr, tr
214
215* Tue Oct 21 1997 Donnie Barnes <djb@redhat.com>
216- spec file cleanups
217
218* Thu Jun 12 1997 Erik Troan <ewt@redhat.com>
219- built against glibc
Note: See TracBrowser for help on using the repository browser.