1 |
commit: ae8f5c8f98197c162232e303bc6c8747cb2cbda4 |
2 |
Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Jul 10 20:20:38 2016 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 11 12:07:54 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae8f5c8f |
7 |
|
8 |
app-mobilephone/smstools: remove unused patches/files |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/1863 |
11 |
|
12 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
13 |
|
14 |
.../smstools/files/2.2.1-skip-dirlock.patch | 38 ---------------------- |
15 |
.../smstools/files/2.2.13-sendsms-chmod.patch | 9 ----- |
16 |
app-mobilephone/smstools/files/smsd.initd | 21 ------------ |
17 |
app-mobilephone/smstools/files/smsd.initd2 | 22 ------------- |
18 |
4 files changed, 90 deletions(-) |
19 |
|
20 |
diff --git a/app-mobilephone/smstools/files/2.2.1-skip-dirlock.patch b/app-mobilephone/smstools/files/2.2.1-skip-dirlock.patch |
21 |
deleted file mode 100644 |
22 |
index 64336ee..0000000 |
23 |
--- a/app-mobilephone/smstools/files/2.2.1-skip-dirlock.patch |
24 |
+++ /dev/null |
25 |
@@ -1,38 +0,0 @@ |
26 |
---- src/extras.c.orig 2006-06-15 10:45:59.000000000 +0100 |
27 |
-+++ src/extras.c 2006-06-15 10:45:39.000000000 +0100 |
28 |
-@@ -178,20 +178,21 @@ |
29 |
- stat(filename,&statbuf); |
30 |
- if (S_ISDIR(statbuf.st_mode)==0) /* Is this a directory? */ |
31 |
- { |
32 |
-- /* File found, check for lock file */ |
33 |
-- if (strstr(filename,".LOCK")==0) /* Is the file a lock file itself? */ |
34 |
-- if (!islocked(filename)) /* no, is there a lock file for this file? */ |
35 |
-- { |
36 |
-- /* check if the file grows at the moment (another program writes to it) */ |
37 |
-- int groesse1; |
38 |
-- int groesse2; |
39 |
-- groesse1=statbuf.st_size; |
40 |
-- sleep(1); |
41 |
-- stat(filename,&statbuf); |
42 |
-- groesse2=statbuf.st_size; |
43 |
-- if (groesse1==groesse2) |
44 |
-- found=1; |
45 |
-- } |
46 |
-+ /* File found, check for lock file and skip portage directory locks */ |
47 |
-+ if (strstr(filename,".keep")==0) /* Is it a portage directory lock? */ |
48 |
-+ if (strstr(filename,".LOCK")==0) /* Is the file a lock file itself? */ |
49 |
-+ if (!islocked(filename)) /* no, is there a lock file for this file? */ |
50 |
-+ { |
51 |
-+ /* check if the file grows at the moment (another program writes to it) */ |
52 |
-+ int groesse1; |
53 |
-+ int groesse2; |
54 |
-+ groesse1=statbuf.st_size; |
55 |
-+ sleep(1); |
56 |
-+ stat(filename,&statbuf); |
57 |
-+ groesse2=statbuf.st_size; |
58 |
-+ if (groesse1==groesse2) |
59 |
-+ found=1; |
60 |
-+ } |
61 |
- } |
62 |
- } |
63 |
- closedir(dirdata); |
64 |
|
65 |
diff --git a/app-mobilephone/smstools/files/2.2.13-sendsms-chmod.patch b/app-mobilephone/smstools/files/2.2.13-sendsms-chmod.patch |
66 |
deleted file mode 100644 |
67 |
index 716e316..0000000 |
68 |
--- a/app-mobilephone/smstools/files/2.2.13-sendsms-chmod.patch |
69 |
+++ /dev/null |
70 |
@@ -1,9 +0,0 @@ |
71 |
-diff -uNr smstools.ORIG/scripts/sendsms smstools/scripts/sendsms |
72 |
---- smstools.ORIG/scripts/sendsms 2006-12-02 15:26:09.000000000 +0000 |
73 |
-+++ smstools/scripts/sendsms 2006-12-02 15:26:52.000000000 +0000 |
74 |
-@@ -26,3 +26,5 @@ |
75 |
- echo "" >> $FILE |
76 |
- echo -n "$TEXT" >> $FILE |
77 |
- |
78 |
-+chmod 660 $FILE |
79 |
-+ |
80 |
|
81 |
diff --git a/app-mobilephone/smstools/files/smsd.initd b/app-mobilephone/smstools/files/smsd.initd |
82 |
deleted file mode 100644 |
83 |
index 31bb9f8..0000000 |
84 |
--- a/app-mobilephone/smstools/files/smsd.initd |
85 |
+++ /dev/null |
86 |
@@ -1,21 +0,0 @@ |
87 |
-#!/sbin/openrc-run |
88 |
-# Copyright 1999-2005 Gentoo Foundation |
89 |
-# Distributed under the terms of the GNU General Public License v2 |
90 |
-# $Id$ |
91 |
- |
92 |
-depend() { |
93 |
- need localmount |
94 |
-} |
95 |
- |
96 |
-start() { |
97 |
- ebegin "Starting smsd" |
98 |
- start-stop-daemon -b -m -p /var/run/smsd.pid -c smsd:sms --start --exec /usr/bin/smsd -- \ |
99 |
- -c /etc/smsd.conf |
100 |
- eend ${?} |
101 |
-} |
102 |
- |
103 |
-stop() { |
104 |
- ebegin "Stopping smsd" |
105 |
- start-stop-daemon --stop -p /var/run/smsd.pid |
106 |
- eend ${?} |
107 |
-} |
108 |
|
109 |
diff --git a/app-mobilephone/smstools/files/smsd.initd2 b/app-mobilephone/smstools/files/smsd.initd2 |
110 |
deleted file mode 100644 |
111 |
index c2c9d4c..0000000 |
112 |
--- a/app-mobilephone/smstools/files/smsd.initd2 |
113 |
+++ /dev/null |
114 |
@@ -1,22 +0,0 @@ |
115 |
-#!/sbin/openrc-run |
116 |
-# Copyright 1999-2011 Gentoo Foundation |
117 |
-# Distributed under the terms of the GNU General Public License v2 |
118 |
-# $Id$ |
119 |
- |
120 |
-depend() { |
121 |
- need localmount |
122 |
-} |
123 |
- |
124 |
-start() { |
125 |
- chown smsd:sms /var/log/smsd.log |
126 |
- ebegin "Starting smsd" |
127 |
- start-stop-daemon -b -u smsd:sms --start --exec /usr/bin/smsd -- \ |
128 |
- -c /etc/smsd.conf |
129 |
- eend ${?} |
130 |
-} |
131 |
- |
132 |
-stop() { |
133 |
- ebegin "Stopping smsd" |
134 |
- start-stop-daemon --stop -n smsd |
135 |
- eend ${?} |
136 |
-} |