* [gentoo-commits] repo/gentoo:master commit in: app-mobilephone/smstools/files/
@ 2016-07-11 12:49 Patrice Clement
0 siblings, 0 replies; 2+ messages in thread
From: Patrice Clement @ 2016-07-11 12:49 UTC (permalink / raw
To: gentoo-commits
commit: ae8f5c8f98197c162232e303bc6c8747cb2cbda4
Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sun Jul 10 20:20:38 2016 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Mon Jul 11 12:07:54 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae8f5c8f
app-mobilephone/smstools: remove unused patches/files
Closes: https://github.com/gentoo/gentoo/pull/1863
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
.../smstools/files/2.2.1-skip-dirlock.patch | 38 ----------------------
.../smstools/files/2.2.13-sendsms-chmod.patch | 9 -----
app-mobilephone/smstools/files/smsd.initd | 21 ------------
app-mobilephone/smstools/files/smsd.initd2 | 22 -------------
4 files changed, 90 deletions(-)
diff --git a/app-mobilephone/smstools/files/2.2.1-skip-dirlock.patch b/app-mobilephone/smstools/files/2.2.1-skip-dirlock.patch
deleted file mode 100644
index 64336ee..0000000
--- a/app-mobilephone/smstools/files/2.2.1-skip-dirlock.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- src/extras.c.orig 2006-06-15 10:45:59.000000000 +0100
-+++ src/extras.c 2006-06-15 10:45:39.000000000 +0100
-@@ -178,20 +178,21 @@
- stat(filename,&statbuf);
- if (S_ISDIR(statbuf.st_mode)==0) /* Is this a directory? */
- {
-- /* File found, check for lock file */
-- if (strstr(filename,".LOCK")==0) /* Is the file a lock file itself? */
-- if (!islocked(filename)) /* no, is there a lock file for this file? */
-- {
-- /* check if the file grows at the moment (another program writes to it) */
-- int groesse1;
-- int groesse2;
-- groesse1=statbuf.st_size;
-- sleep(1);
-- stat(filename,&statbuf);
-- groesse2=statbuf.st_size;
-- if (groesse1==groesse2)
-- found=1;
-- }
-+ /* File found, check for lock file and skip portage directory locks */
-+ if (strstr(filename,".keep")==0) /* Is it a portage directory lock? */
-+ if (strstr(filename,".LOCK")==0) /* Is the file a lock file itself? */
-+ if (!islocked(filename)) /* no, is there a lock file for this file? */
-+ {
-+ /* check if the file grows at the moment (another program writes to it) */
-+ int groesse1;
-+ int groesse2;
-+ groesse1=statbuf.st_size;
-+ sleep(1);
-+ stat(filename,&statbuf);
-+ groesse2=statbuf.st_size;
-+ if (groesse1==groesse2)
-+ found=1;
-+ }
- }
- }
- closedir(dirdata);
diff --git a/app-mobilephone/smstools/files/2.2.13-sendsms-chmod.patch b/app-mobilephone/smstools/files/2.2.13-sendsms-chmod.patch
deleted file mode 100644
index 716e316..0000000
--- a/app-mobilephone/smstools/files/2.2.13-sendsms-chmod.patch
+++ /dev/null
@@ -1,9 +0,0 @@
-diff -uNr smstools.ORIG/scripts/sendsms smstools/scripts/sendsms
---- smstools.ORIG/scripts/sendsms 2006-12-02 15:26:09.000000000 +0000
-+++ smstools/scripts/sendsms 2006-12-02 15:26:52.000000000 +0000
-@@ -26,3 +26,5 @@
- echo "" >> $FILE
- echo -n "$TEXT" >> $FILE
-
-+chmod 660 $FILE
-+
diff --git a/app-mobilephone/smstools/files/smsd.initd b/app-mobilephone/smstools/files/smsd.initd
deleted file mode 100644
index 31bb9f8..0000000
--- a/app-mobilephone/smstools/files/smsd.initd
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-depend() {
- need localmount
-}
-
-start() {
- ebegin "Starting smsd"
- start-stop-daemon -b -m -p /var/run/smsd.pid -c smsd:sms --start --exec /usr/bin/smsd -- \
- -c /etc/smsd.conf
- eend ${?}
-}
-
-stop() {
- ebegin "Stopping smsd"
- start-stop-daemon --stop -p /var/run/smsd.pid
- eend ${?}
-}
diff --git a/app-mobilephone/smstools/files/smsd.initd2 b/app-mobilephone/smstools/files/smsd.initd2
deleted file mode 100644
index c2c9d4c..0000000
--- a/app-mobilephone/smstools/files/smsd.initd2
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-depend() {
- need localmount
-}
-
-start() {
- chown smsd:sms /var/log/smsd.log
- ebegin "Starting smsd"
- start-stop-daemon -b -u smsd:sms --start --exec /usr/bin/smsd -- \
- -c /etc/smsd.conf
- eend ${?}
-}
-
-stop() {
- ebegin "Stopping smsd"
- start-stop-daemon --stop -n smsd
- eend ${?}
-}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-mobilephone/smstools/files/
@ 2020-11-13 21:16 Aaron Bauman
0 siblings, 0 replies; 2+ messages in thread
From: Aaron Bauman @ 2020-11-13 21:16 UTC (permalink / raw
To: gentoo-commits
commit: 9ab5aa49e00fb66ceeadb1f9a0d1256e7d62e09d
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Fri Nov 6 15:26:02 2020 +0000
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Fri Nov 13 21:16:41 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ab5aa49
app-mobilephone/smstools: remove unused patches
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/18149
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
.../files/3.1.15-makefile-whitespace.patch | 11 --------
app-mobilephone/smstools/files/smsd.initd3 | 30 ----------------------
2 files changed, 41 deletions(-)
diff --git a/app-mobilephone/smstools/files/3.1.15-makefile-whitespace.patch b/app-mobilephone/smstools/files/3.1.15-makefile-whitespace.patch
deleted file mode 100644
index 70455bef6c5..00000000000
--- a/app-mobilephone/smstools/files/3.1.15-makefile-whitespace.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- smstools3/src/Makefile.old 2014-04-25 23:28:46.324045112 +1000
-+++ smstools3/src/Makefile 2014-04-25 23:33:26.453061496 +1000
-@@ -43,7 +43,7 @@
-
- ifneq (,$(findstring SOLARIS,$(CFLAGS)))
- ifeq (,$(findstring DISABLE_INET_SOCKET,$(CFLAGS)))
--override LFLAGS += -lsocket -lnsl
-+ override LFLAGS += -lsocket -lnsl
- endif
- endif
-
diff --git a/app-mobilephone/smstools/files/smsd.initd3 b/app-mobilephone/smstools/files/smsd.initd3
deleted file mode 100644
index ae53a7fc0e0..00000000000
--- a/app-mobilephone/smstools/files/smsd.initd3
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need localmount
-}
-
-start() {
- if ! [ -d /var/run/smsd ]; then
- ebegin "Creating /var/run/smsd for ${SVCNAME}"
- mkdir /var/run/smsd \
- && chown smsd:sms /var/run/smsd \
- && chmod 770 /var/run/smsd
- eend $?
- fi
-
- chown smsd:sms /var/log/smsd.log
- ebegin "Starting smsd"
- start-stop-daemon -b -u smsd:sms --start --exec /usr/bin/smsd -- \
- -c /etc/smsd.conf -p /var/run/smsd/smsd.pid \
- -i /var/run/smsd/smsd.working
- eend ${?}
-}
-
-stop() {
- ebegin "Stopping smsd"
- start-stop-daemon --stop -n smsd
- eend ${?}
-}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-11-13 21:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-11 12:49 [gentoo-commits] repo/gentoo:master commit in: app-mobilephone/smstools/files/ Patrice Clement
-- strict thread matches above, loose matches on Subject: below --
2020-11-13 21:16 Aaron Bauman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox