summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Silva <r3pek@gentoo.org>2005-10-18 22:28:04 +0000
committerCarlos Silva <r3pek@gentoo.org>2005-10-18 22:28:04 +0000
commitb166dd8da38a73574ec1c5e5250628d5b79e35f3 (patch)
treec3b6ec58e7d817cb478821745eb5469a55d9dd62 /app-mobilephone
parentfix the python with options (diff)
downloadgentoo-2-b166dd8da38a73574ec1c5e5250628d5b79e35f3.tar.gz
gentoo-2-b166dd8da38a73574ec1c5e5250628d5b79e35f3.tar.bz2
gentoo-2-b166dd8da38a73574ec1c5e5250628d5b79e35f3.zip
Initial commit. Closes bug #109195
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'app-mobilephone')
-rw-r--r--app-mobilephone/smsclient/ChangeLog14
-rw-r--r--app-mobilephone/smsclient/files/digest-smsclient-2.0.8y1
-rw-r--r--app-mobilephone/smsclient/files/smsclient-2.0.8y_client-makefile.patch15
-rw-r--r--app-mobilephone/smsclient/files/smsclient-2.0.8y_docs-makefile.patch13
-rw-r--r--app-mobilephone/smsclient/files/smsclient-2.0.8y_logfile-makefile.patch11
-rw-r--r--app-mobilephone/smsclient/files/smsclient-2.0.8y_sms-makefile.patch48
-rw-r--r--app-mobilephone/smsclient/metadata.xml5
-rw-r--r--app-mobilephone/smsclient/smsclient-2.0.8y.ebuild45
8 files changed, 152 insertions, 0 deletions
diff --git a/app-mobilephone/smsclient/ChangeLog b/app-mobilephone/smsclient/ChangeLog
new file mode 100644
index 000000000000..03fbe4ee0c19
--- /dev/null
+++ b/app-mobilephone/smsclient/ChangeLog
@@ -0,0 +1,14 @@
+# ChangeLog for app-mobilephone/smsclient
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/smsclient/ChangeLog,v 1.1 2005/10/18 22:28:04 r3pek Exp $
+
+*smsclient-2.0.8y (18 Oct 2005)
+
+ 18 Oct 2005; Carlos Silva <r3pek@gentoo.org>
+ +files/smsclient-2.0.8y_client-makefile.patch,
+ +files/smsclient-2.0.8y_docs-makefile.patch,
+ +files/smsclient-2.0.8y_logfile-makefile.patch,
+ +files/smsclient-2.0.8y_sms-makefile.patch, +metadata.xml,
+ +smsclient-2.0.8y.ebuild:
+ Initial commit. Closes bug #109195
+
diff --git a/app-mobilephone/smsclient/files/digest-smsclient-2.0.8y b/app-mobilephone/smsclient/files/digest-smsclient-2.0.8y
new file mode 100644
index 000000000000..972a50d28151
--- /dev/null
+++ b/app-mobilephone/smsclient/files/digest-smsclient-2.0.8y
@@ -0,0 +1 @@
+MD5 721928a4c56e9909fb61b9bb966adda2 sms_client-2.0.8y.tar.gz 143063
diff --git a/app-mobilephone/smsclient/files/smsclient-2.0.8y_client-makefile.patch b/app-mobilephone/smsclient/files/smsclient-2.0.8y_client-makefile.patch
new file mode 100644
index 000000000000..9956c20121a2
--- /dev/null
+++ b/app-mobilephone/smsclient/files/smsclient-2.0.8y_client-makefile.patch
@@ -0,0 +1,15 @@
+--- src/client/Makefile.orig 2005-10-13 15:40:41.000000000 -0300
++++ src/client/Makefile 2005-10-13 15:41:26.000000000 -0300
+@@ -35,9 +35,9 @@
+ all: ../../bin/sms_client ../../bin/sms_address
+
+ install: ../../bin/sms_client ../../bin/sms_address
+- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(BINDIR)
+- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -s ../../bin/sms_client $(BINDIR)
+- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -s ../../bin/sms_address $(BINDIR)
++ $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(BINDIR)
++ $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -s ../../bin/sms_client $(DESTDIR)$(BINDIR)
++ $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -s ../../bin/sms_address $(DESTDIR)$(BINDIR)
+
+ uninstall:
+ $(RM) $(BINDIR)/sms_client
diff --git a/app-mobilephone/smsclient/files/smsclient-2.0.8y_docs-makefile.patch b/app-mobilephone/smsclient/files/smsclient-2.0.8y_docs-makefile.patch
new file mode 100644
index 000000000000..833f97330ebe
--- /dev/null
+++ b/app-mobilephone/smsclient/files/smsclient-2.0.8y_docs-makefile.patch
@@ -0,0 +1,13 @@
+--- docs/Makefile.orig 2005-10-13 16:01:38.000000000 -0300
++++ docs/Makefile 2005-10-13 16:02:13.000000000 -0300
+@@ -35,8 +35,8 @@
+ $(CP) sms_client.man sms_client.$(MANEXT)
+
+ install: sms_client.$(MANEXT)
+- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(MANDIR)/man$(MANEXT)
+- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 644 sms_client.$(MANEXT) $(MANDIR)/man$(MANEXT)
++ $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(MANDIR)/man$(MANEXT)
++ $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 644 sms_client.$(MANEXT) $(DESTDIR)$(MANDIR)/man$(MANEXT)
+
+ uninstall:
+ $(RM) $(MANDIR)/man$(MANEXT)/sms_client.$(MANEXT)
diff --git a/app-mobilephone/smsclient/files/smsclient-2.0.8y_logfile-makefile.patch b/app-mobilephone/smsclient/files/smsclient-2.0.8y_logfile-makefile.patch
new file mode 100644
index 000000000000..bde030a91c11
--- /dev/null
+++ b/app-mobilephone/smsclient/files/smsclient-2.0.8y_logfile-makefile.patch
@@ -0,0 +1,11 @@
+--- src/logfile/Makefile.orig 2005-10-13 15:42:09.000000000 -0300
++++ src/logfile/Makefile 2005-10-13 15:42:27.000000000 -0300
+@@ -34,7 +34,7 @@
+ all: logfile.o
+
+ install:
+- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(LOGDIR)
++ $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(LOGDIR)
+
+ clean:
+ $(RM) *.o
diff --git a/app-mobilephone/smsclient/files/smsclient-2.0.8y_sms-makefile.patch b/app-mobilephone/smsclient/files/smsclient-2.0.8y_sms-makefile.patch
new file mode 100644
index 000000000000..dc89eee428a7
--- /dev/null
+++ b/app-mobilephone/smsclient/files/smsclient-2.0.8y_sms-makefile.patch
@@ -0,0 +1,48 @@
+--- sms/Makefile.orig 2005-10-13 15:36:18.000000000 -0300
++++ sms/Makefile 2005-10-13 15:38:26.000000000 -0300
+@@ -34,28 +34,28 @@
+ all:
+
+ install:
+- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(MSERVICEDIR)/services
+- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(SPOOLDIR)/sms
+- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(SPOOLDIR)/sms/errors
+- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(SPOOLDIR)/sms/locks
+- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(SPOOLDIR)/sms/incoming
+- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(SPOOLDIR)/sms/named_pipes
+- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(SPOOLDIR)/sms/services
+- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(MSERVICEDIR)/scripts
++ $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(MSERVICEDIR)/services
++ $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/sms
++ $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/sms/errors
++ $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/sms/locks
++ $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/sms/incoming
++ $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/sms/named_pipes
++ $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/sms/services
++ $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(MSERVICEDIR)/scripts
+
+ ( cd services ;\
+ for service in * ; do \
+- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 644 $$service $(MSERVICEDIR)/services; \
+- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(SPOOLDIR)/sms/services/$$service ; \
+- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(SPOOLDIR)/sms/errors/$$service ; \
++ $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 644 $$service $(DESTDIR)$(MSERVICEDIR)/services; \
++ $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/sms/services/$$service ; \
++ $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/sms/errors/$$service ; \
+ done )
+
+- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 644 scripts/email $(MSERVICEDIR)/scripts
+- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 644 sms_config $(MSERVICEDIR)
+- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 644 sms_addressbook $(MSERVICEDIR)
+- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 644 sms_modem $(MSERVICEDIR)
+- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 644 sms_services $(MSERVICEDIR)
+- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 644 sms_daemons $(MSERVICEDIR)
++ $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 644 scripts/email $(DESTDIR)$(MSERVICEDIR)/scripts
++ $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 644 sms_config $(DESTDIR)$(MSERVICEDIR)
++ $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 644 sms_addressbook $(DESTDIR)$(MSERVICEDIR)
++ $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 644 sms_modem $(DESTDIR)$(MSERVICEDIR)
++ $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 644 sms_services $(DESTDIR)$(MSERVICEDIR)
++ $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 644 sms_daemons $(DESTDIR)$(MSERVICEDIR)
+
+ uninstall:
+ $(RM) $(MSERVICEDIR)/services/*
diff --git a/app-mobilephone/smsclient/metadata.xml b/app-mobilephone/smsclient/metadata.xml
new file mode 100644
index 000000000000..21dd94cb791f
--- /dev/null
+++ b/app-mobilephone/smsclient/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>mobile-phone</herd>
+</pkgmetadata>
diff --git a/app-mobilephone/smsclient/smsclient-2.0.8y.ebuild b/app-mobilephone/smsclient/smsclient-2.0.8y.ebuild
new file mode 100644
index 000000000000..b504a3aa1d19
--- /dev/null
+++ b/app-mobilephone/smsclient/smsclient-2.0.8y.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/smsclient/smsclient-2.0.8y.ebuild,v 1.1 2005/10/18 22:28:04 r3pek Exp $
+
+inherit eutils
+
+# Weird name scheme ...
+MY_PV=${PVR/y/}
+MY_P=${P/sms/sms_}
+
+DESCRIPTION="Utility to send sms messages to phones and pagers."
+HOMEPAGE="http://www.smsclient.org"
+SRC_URI="http://www.smsclient.org/download/${PN}-${MY_PV}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+ ./configure || die "Configure failed"
+ sed -i -e "s/-g -I. -Wall/${CFLAGS} -I./g" Makefile.config || \
+ die "sed failed"
+ make || die "Make failed"
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}_sms-makefile.patch
+ epatch ${FILESDIR}/${P}_client-makefile.patch
+ epatch ${FILESDIR}/${P}_logfile-makefile.patch
+ epatch ${FILESDIR}/${P}_docs-makefile.patch
+}
+
+
+src_install() {
+ make DESTDIR=${D} install || die "Install failed"
+ dodir /usr/bin
+ dosym /bin/sms_client /usr/bin/smsclient
+ dosym /bin/sms_address /usr/bin/smsaddress
+}