diff options
author | Carlos Silva <r3pek@gentoo.org> | 2005-10-18 22:28:04 +0000 |
---|---|---|
committer | Carlos Silva <r3pek@gentoo.org> | 2005-10-18 22:28:04 +0000 |
commit | a6388e559185119efdfb0a44884ed3d1c36a4067 (patch) | |
tree | b7d6fe3bc3714c2b235a5b53ae576f35e118553a /app-mobilephone | |
parent | fix the python with options (diff) | |
download | historical-a6388e559185119efdfb0a44884ed3d1c36a4067.tar.gz historical-a6388e559185119efdfb0a44884ed3d1c36a4067.tar.bz2 historical-a6388e559185119efdfb0a44884ed3d1c36a4067.zip |
Initial commit. Closes bug #109195
Package-Manager: portage-2.0.51.22-r3
Diffstat (limited to 'app-mobilephone')
9 files changed, 160 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/Manifest b/app-mobilephone/smsclient/Manifest new file mode 100644 index 000000000000..d647a462424e --- /dev/null +++ b/app-mobilephone/smsclient/Manifest @@ -0,0 +1,8 @@ +MD5 729c177d704c9f427a9face698513828 smsclient-2.0.8y.ebuild 1132 +MD5 a2db72465e8b1659bb4d843d4670414a ChangeLog 575 +MD5 f9d2ab50c2e5d16e9b019cdc1151bfb3 metadata.xml 166 +MD5 8642b22274e250f955534849dcb01467 files/digest-smsclient-2.0.8y 69 +MD5 36498c4750ff2d94c40a8f2e11b2216b files/smsclient-2.0.8y_docs-makefile.patch 631 +MD5 30fba6e816fa0ae50eadb7a89ae6b1df files/smsclient-2.0.8y_client-makefile.patch 779 +MD5 10261f164a1487188c7765d2f1dc88a1 files/smsclient-2.0.8y_logfile-makefile.patch 329 +MD5 07ba7eb2d630256ca93685c18fdc59d5 files/smsclient-2.0.8y_sms-makefile.patch 3121 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 +} |