Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/musl:master commit in: mail-client/mailx-support/files/, mail-client/mailx-support/
Date: Sat, 27 Jun 2015 01:50:06
Message-Id: 1435369913.b99863a347dd232d6414de2338ab935cbd610c71.blueness@gentoo
1 commit: b99863a347dd232d6414de2338ab935cbd610c71
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 27 01:51:53 2015 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 27 01:51:53 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=b99863a3
7
8 mail-client/mailx-support: in tree version works. Bug #552724.
9
10 mail-client/mailx-support/Manifest | 6 --
11 .../files/mailx-support-20030215-gentoo.patch | 66 ----------------------
12 .../mailx-support-20060102-add-sys_file_h.patch | 9 ---
13 .../mailx-support-20060102-respect-ldflags.patch | 18 ------
14 .../mailx-support-20060102-r99.ebuild | 39 -------------
15 mail-client/mailx-support/metadata.xml | 5 --
16 6 files changed, 143 deletions(-)
17
18 diff --git a/mail-client/mailx-support/Manifest b/mail-client/mailx-support/Manifest
19 deleted file mode 100644
20 index b4b8f8d..0000000
21 --- a/mail-client/mailx-support/Manifest
22 +++ /dev/null
23 @@ -1,6 +0,0 @@
24 -AUX mailx-support-20030215-gentoo.patch 1793 SHA256 3b9384318875c1f42b5435e40e4d822ec77ff799045ca776705afdb7c5c063cf SHA512 c45420ddf6719c1176f4fc006d7ac2060ff93283d1120baeed463e764ae08d82a2bf255822691858b516d44b9dc5eca9a141c0e3075061a7ed9e17104f775fa8 WHIRLPOOL ff4b41023daa06ebca808defc6228582c3fb0cabf0cfddaa91703e5b7738f13394b53440626324394096e50583fe11547d6f145bf89cd6f7915a8bde63400162
25 -AUX mailx-support-20060102-add-sys_file_h.patch 397 SHA256 2a9ffe62b22f86417c43ac66cd45f56790079f08c12e62b28328f179f05ff179 SHA512 d2906ca15610090ab93d0f839a0687b67556dccc0cd8dcfe1c5ae52d23c45e74d008376d57d84eaa4272a56f209628819a60108eebaf645cc1c3106ae5a954d6 WHIRLPOOL 03a6e51a09797ec714a4102ab3dd016043968b4f5abfa5c3948b6682bf8747e02625222731952064cfb1c4924d6528e5c9f55224d35c1b4f521dc5a69283fe8b
26 -AUX mailx-support-20060102-respect-ldflags.patch 537 SHA256 2c7b5c8d4031d836b0ffd38814ec4643cf2c7d330c4142c4fd9ce041b2711eb2 SHA512 cec6b2cf6a3f8b85ebdfcd3bdbbeac9ded468b7f34053ef6473aefd413292d9d7dc350782488481a3ae2db273ad9a7005193acc0e601c5556a2fdd49640dfe1f WHIRLPOOL db8794216190984dedf6eda06e20e321c02a472e5e897bb275c7b9a309ece8248fd285ee92cfcf9351bccfa3aa9fbc35196d221f0ab4bb2a87bb9231827760b0
27 -DIST mailx-support-20060102.tar.bz2 8822 SHA256 e962d12116a99ab72cc04304cc0f9b86dce2ab84c5028599e052c21930fc4d62 SHA512 a4bd84253fcb5a97119e75290dfda01004115c3eb5898bb792c75f7b01c7e48fa1189b9ec4ed195c404196893af8b9390062f2f258da68889b464b53aa0ecbc2 WHIRLPOOL b009fc0405a9610c9ac8cd66024dc237dbc5910f9a7e9b13440a167be8a1bc751d9ce2e318008ca83d6ad5c6d8cd32a1433bb1647ab1f271da5ffe334318331a
28 -EBUILD mailx-support-20060102-r99.ebuild 929 SHA256 323a8c60af2d31d1bfa5ba2101e4497f463e72a690d15ebd23272a7210f15f8e SHA512 2e36eddcc8ec952efc313571348e91e72c1e65d1ea0feb21488ed918261640a09d5943212f3ca56fd9f3a44ba164ebf2a7afe9ef36a4b4909c64226e69b176df WHIRLPOOL ca8506fe9e1569da73c8dc45f4dda3a9fde94ed5cc8f85c93d774bc3fe8166b1d70ac9d3be47fff63c643a5b0931cc4596af23bc568fdada0e770fee5ede9e67
29 -MISC metadata.xml 161 SHA256 4ebf9a8f60040bfb95f13790c1d146a49c69f791f9c421e02a5d96fd6fcb2b32 SHA512 77001eed8032a3b919c30d8dd9314951d3471528e770ef5ad840060e217037f5e1f0eb2cf4c5f90cb2d58e9598c8a38619a1301f890d6dd734900ab6273fb6ec WHIRLPOOL 0d251627fdbf63b5c090313d5bbf3e45acf630331742dc930a0136cc382b7720fe4099c64fd439fd31fe0eed48a4199d6e31692dbdedd34f803f9e2567d46975
30
31 diff --git a/mail-client/mailx-support/files/mailx-support-20030215-gentoo.patch b/mail-client/mailx-support/files/mailx-support-20030215-gentoo.patch
32 deleted file mode 100644
33 index 829b858..0000000
34 --- a/mail-client/mailx-support/files/mailx-support-20030215-gentoo.patch
35 +++ /dev/null
36 @@ -1,66 +0,0 @@
37 ---- - 2003-02-15 23:35:46.000000000 +0800
38 -+++ locking.c 2003-02-15 23:19:11.000000000 +0800
39 -@@ -45,6 +45,7 @@
40 - #include <stdarg.h>
41 - #include "pathnames.h"
42 - #include "mail.local.h"
43 -+#include "open_with_exlock.h"
44 -
45 - static char lpath[MAXPATHLEN];
46 -
47 -@@ -93,7 +94,7 @@
48 - }
49 - goto again;
50 - }
51 -- if ((lfd = open(lpath, O_CREAT|O_WRONLY|O_EXCL|O_EXLOCK,
52 -+ if ((lfd = open_with_exlock(lpath, O_CREAT|O_WRONLY|O_EXCL,
53 - S_IRUSR|S_IWUSR)) != -1)
54 - break;
55 - again:
56 -@@ -104,7 +105,7 @@
57 - return(-1);
58 - }
59 - if (tries > 9 &&
60 -- (lfd = open(lpath, O_WRONLY|O_EXLOCK, 0)) != -1) {
61 -+ (lfd = open_with_exlock(lpath, O_WRONLY, 0)) != -1) {
62 - if (fstat(lfd, &fsb) != -1 &&
63 - lstat(lpath, &sb) != -1) {
64 - if (fsb.st_dev == sb.st_dev &&
65 -@@ -169,3 +170,4 @@
66 - if (isfatal)
67 - exit(1);
68 - }
69 -+
70 ---- - 2003-02-15 23:37:13.000000000 +0800
71 -+++ mail.local.c 2003-02-15 23:20:50.000000000 +0800
72 -@@ -66,6 +66,7 @@
73 - #include <string.h>
74 - #include "pathnames.h"
75 - #include "mail.local.h"
76 -+#include "open_with_exlock.h"
77 -
78 - int
79 - main(int argc, char *argv[])
80 -@@ -218,7 +219,7 @@
81 - merr(NOTFATAL, "%s: %s", path, strerror(errno));
82 - goto bad;
83 - }
84 -- if ((mbfd = open(path, O_APPEND|O_CREAT|O_EXCL|O_WRONLY|O_EXLOCK,
85 -+ if ((mbfd = open_with_exlock(path, O_APPEND|O_CREAT|O_EXCL|O_WRONLY,
86 - S_IRUSR|S_IWUSR)) < 0) {
87 - if (errno == EEXIST) {
88 - /* file appeared since lstat */
89 -@@ -244,7 +245,7 @@
90 - merr(NOTFATAL, "%s: linked or special file", path);
91 - goto bad;
92 - }
93 -- if ((mbfd = open(path, O_APPEND|O_WRONLY|O_EXLOCK,
94 -+ if ((mbfd = open_with_exlock(path, O_APPEND|O_WRONLY,
95 - S_IRUSR|S_IWUSR)) < 0) {
96 - merr(NOTFATAL, "%s: %s", path, strerror(errno));
97 - goto bad;
98 -@@ -340,3 +341,4 @@
99 - {
100 - merr(FATAL, "usage: mail.local [-lL] [-f from] user ...");
101 - }
102 -+
103
104 diff --git a/mail-client/mailx-support/files/mailx-support-20060102-add-sys_file_h.patch b/mail-client/mailx-support/files/mailx-support-20060102-add-sys_file_h.patch
105 deleted file mode 100644
106 index b3b871b..0000000
107 --- a/mail-client/mailx-support/files/mailx-support-20060102-add-sys_file_h.patch
108 +++ /dev/null
109 @@ -1,9 +0,0 @@
110 -diff -Naur mailx-support-20060102.orig/open_with_exlock.c mailx-support-20060102/open_with_exlock.c
111 ---- mailx-support-20060102.orig/open_with_exlock.c 2003-06-09 19:01:08.000000000 +0000
112 -+++ mailx-support-20060102/open_with_exlock.c 2014-04-01 12:17:31.830213927 +0000
113 -@@ -1,4 +1,5 @@
114 - #include <fcntl.h>
115 -+#include <sys/file.h>
116 -
117 - int open_with_exlock(const char *path, int flags, mode_t mode)
118 - {
119
120 diff --git a/mail-client/mailx-support/files/mailx-support-20060102-respect-ldflags.patch b/mail-client/mailx-support/files/mailx-support-20060102-respect-ldflags.patch
121 deleted file mode 100644
122 index 42aa569..0000000
123 --- a/mail-client/mailx-support/files/mailx-support-20060102-respect-ldflags.patch
124 +++ /dev/null
125 @@ -1,18 +0,0 @@
126 -Index: mailx-support-20060102/Makefile
127 -===================================================================
128 ---- mailx-support-20060102.orig/Makefile
129 -+++ mailx-support-20060102/Makefile
130 -@@ -17,10 +17,10 @@ clean:
131 - ${RM} -f ${PRODUCTS} *.o
132 -
133 - mail.local: mail.local.o locking.o open_with_exlock.o
134 -- ${CC} ${CFLAGS} -o $@ $^
135 -+ ${CC} ${LDFLAGS} ${CFLAGS} -o $@ $^
136 -
137 - lockspool: lockspool.o locking.o open_with_exlock.o
138 -- ${CC} ${CFLAGS} -o $@ $^
139 -+ ${CC} ${LDFLAGS} ${BINDNOW_FLAGS} ${CFLAGS} -o $@ $^
140 -
141 - .c.o:
142 - ${CC} ${CFLAGS} -c -o $@ $^
143 -
144
145 diff --git a/mail-client/mailx-support/mailx-support-20060102-r99.ebuild b/mail-client/mailx-support/mailx-support-20060102-r99.ebuild
146 deleted file mode 100644
147 index 60eb5a3..0000000
148 --- a/mail-client/mailx-support/mailx-support-20060102-r99.ebuild
149 +++ /dev/null
150 @@ -1,39 +0,0 @@
151 -# Copyright 1999-2013 Gentoo Foundation
152 -# Distributed under the terms of the GNU General Public License v2
153 -# $Header: /var/cvsroot/gentoo-x86/mail-client/mailx-support/mailx-support-20060102-r1.ebuild,v 1.17 2013/02/17 20:46:43 zmedico Exp $
154 -
155 -inherit eutils toolchain-funcs
156 -
157 -DESCRIPTION="Provides lockspool utility"
158 -HOMEPAGE="http://www.openbsd.org/"
159 -SRC_URI="mirror://gentoo/${P}.tar.bz2"
160 -
161 -LICENSE="BSD"
162 -SLOT="0"
163 -KEYWORDS="amd64 arm ~mips ppc x86"
164 -IUSE=""
165 -
166 -RDEPEND=""
167 -DEPEND=""
168 -
169 -src_unpack() {
170 - unpack ${A}
171 - cd "${S}"
172 - epatch "${FILESDIR}"/${P}-respect-ldflags.patch
173 - epatch "${FILESDIR}"/${P}-add-sys_file_h.patch
174 -
175 - # This code should only be ran with Gentoo Prefix profiles
176 - if use prefix; then
177 - ebegin "Allowing unprivileged install"
178 - sed -i -e "s|-g 0 -o 0||g" Makefile
179 - eend $?
180 - fi
181 -}
182 -
183 -src_compile() {
184 - emake CC="$(tc-getCC)" BINDNOW_FLAGS="" || die "emake failed"
185 -}
186 -
187 -src_install() {
188 - einstall || die "einstall failed"
189 -}
190
191 diff --git a/mail-client/mailx-support/metadata.xml b/mail-client/mailx-support/metadata.xml
192 deleted file mode 100644
193 index 51f94e3..0000000
194 --- a/mail-client/mailx-support/metadata.xml
195 +++ /dev/null
196 @@ -1,5 +0,0 @@
197 -<?xml version="1.0" encoding="UTF-8"?>
198 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
199 -<pkgmetadata>
200 -<herd>net-mail</herd>
201 -</pkgmetadata>