diff options
author | Alin Năstac <mrness@gentoo.org> | 2006-02-25 10:42:29 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2006-02-25 10:42:29 +0000 |
commit | b6348b39a8e660681f04e7d74f6c66149a3281e4 (patch) | |
tree | d2f6553131683cbbe6b8ead9e13c8aecaf5b0693 /app-mobilephone/smsclient | |
parent | Version bump. (diff) | |
download | historical-b6348b39a8e660681f04e7d74f6c66149a3281e4.tar.gz historical-b6348b39a8e660681f04e7d74f6c66149a3281e4.tar.bz2 historical-b6348b39a8e660681f04e7d74f6c66149a3281e4.zip |
Version bump. The new version could be used by dialout group members (#119566).
Package-Manager: portage-2.0.54
Diffstat (limited to 'app-mobilephone/smsclient')
-rw-r--r-- | app-mobilephone/smsclient/ChangeLog | 11 | ||||
-rw-r--r-- | app-mobilephone/smsclient/Manifest | 21 | ||||
-rw-r--r-- | app-mobilephone/smsclient/files/digest-smsclient-2.0.9a | 1 | ||||
-rw-r--r-- | app-mobilephone/smsclient/files/smsclient-2.0.9a-gentoo.patch | 113 | ||||
-rw-r--r-- | app-mobilephone/smsclient/metadata.xml | 1 | ||||
-rw-r--r-- | app-mobilephone/smsclient/smsclient-2.0.9a.ebuild | 47 |
6 files changed, 188 insertions, 6 deletions
diff --git a/app-mobilephone/smsclient/ChangeLog b/app-mobilephone/smsclient/ChangeLog index 03fbe4ee0c19..3355be98d293 100644 --- a/app-mobilephone/smsclient/ChangeLog +++ b/app-mobilephone/smsclient/ChangeLog @@ -1,6 +1,13 @@ # 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 $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/smsclient/ChangeLog,v 1.2 2006/02/25 10:42:29 mrness Exp $ + +*smsclient-2.0.9a (25 Feb 2006) + + 25 Feb 2006; Alin Nastac <mrness@gentoo.org> + +files/smsclient-2.0.9a-gentoo.patch, metadata.xml, + +smsclient-2.0.9a.ebuild: + Version bump. The new version could be used by dialout group members (#119566). *smsclient-2.0.8y (18 Oct 2005) diff --git a/app-mobilephone/smsclient/Manifest b/app-mobilephone/smsclient/Manifest index d647a462424e..0d89a97928d1 100644 --- a/app-mobilephone/smsclient/Manifest +++ b/app-mobilephone/smsclient/Manifest @@ -1,8 +1,21 @@ -MD5 729c177d704c9f427a9face698513828 smsclient-2.0.8y.ebuild 1132 -MD5 a2db72465e8b1659bb4d843d4670414a ChangeLog 575 -MD5 f9d2ab50c2e5d16e9b019cdc1151bfb3 metadata.xml 166 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 7b5389ff9416e47b31c9a07219864379 ChangeLog 821 MD5 8642b22274e250f955534849dcb01467 files/digest-smsclient-2.0.8y 69 -MD5 36498c4750ff2d94c40a8f2e11b2216b files/smsclient-2.0.8y_docs-makefile.patch 631 +MD5 e0fe7ea267d821fa69933bf04091060d files/digest-smsclient-2.0.9a 68 MD5 30fba6e816fa0ae50eadb7a89ae6b1df files/smsclient-2.0.8y_client-makefile.patch 779 +MD5 36498c4750ff2d94c40a8f2e11b2216b files/smsclient-2.0.8y_docs-makefile.patch 631 MD5 10261f164a1487188c7765d2f1dc88a1 files/smsclient-2.0.8y_logfile-makefile.patch 329 MD5 07ba7eb2d630256ca93685c18fdc59d5 files/smsclient-2.0.8y_sms-makefile.patch 3121 +MD5 1c1fa7f512b4580efe22747fd0948bbe files/smsclient-2.0.9a-gentoo.patch 5771 +MD5 58dc7e77c89c2dd53361a6a1d59b9f43 metadata.xml 317 +MD5 729c177d704c9f427a9face698513828 smsclient-2.0.8y.ebuild 1132 +MD5 2a84a4867b48751e3bd22a9ebad058bf smsclient-2.0.9a.ebuild 1241 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2.1 (GNU/Linux) + +iD8DBQFEADTJjG8pv1lIUX4RAiXxAJ0WljdxR9+Go9ld+IDfg/T8FiaXhwCgy0lV +3mEpKMoOUou4qiiuWrI5aOU= +=d3C+ +-----END PGP SIGNATURE----- diff --git a/app-mobilephone/smsclient/files/digest-smsclient-2.0.9a b/app-mobilephone/smsclient/files/digest-smsclient-2.0.9a new file mode 100644 index 000000000000..1bfb37ec251f --- /dev/null +++ b/app-mobilephone/smsclient/files/digest-smsclient-2.0.9a @@ -0,0 +1 @@ +MD5 516a12ca2f322fa09f47ef48d0adec68 smsclient-2.0.9a.tar.gz 151600 diff --git a/app-mobilephone/smsclient/files/smsclient-2.0.9a-gentoo.patch b/app-mobilephone/smsclient/files/smsclient-2.0.9a-gentoo.patch new file mode 100644 index 000000000000..3c46c65fca27 --- /dev/null +++ b/app-mobilephone/smsclient/files/smsclient-2.0.9a-gentoo.patch @@ -0,0 +1,113 @@ +diff -Nur smsclient-2.0.9a.orig/config/Makefile.config.linux smsclient-2.0.9a/config/Makefile.config.linux +--- smsclient-2.0.9a.orig/config/Makefile.config.linux 2006-02-25 12:17:25.865409250 +0200 ++++ smsclient-2.0.9a/config/Makefile.config.linux 2006-02-25 12:17:55.347251750 +0200 +@@ -39,7 +39,7 @@ + PLATFORM = -DLINUX + CC = gcc + MAKE = make +-CFLAGS = -O2 -g -I. -Wall -pedantic -fsigned-char $(PLATFORM) ++CFLAGS += -I. -Wall -pedantic -fsigned-char $(PLATFORM) + XTRALIBS = + + # -------------------------------------------------------------------- +@@ -80,10 +80,10 @@ + + # -------------------------------------------------------------------- + +-BINDIR = $(DESTDIR)/usr/bin +-ETCDIR = $(DESTDIR)/etc +-LIBDIR = $(DESTDIR)/usr/lib +-MANDIR = $(DESTDIR)/usr/share/man ++BINDIR = /usr/bin ++ETCDIR = /etc ++LIBDIR = /usr/lib ++MANDIR = /usr/share/man + MANEXT = 1 + INSTALL = /usr/bin/install + RM = /bin/rm -f +diff -Nur smsclient-2.0.9a.orig/sms/Makefile smsclient-2.0.9a/sms/Makefile +--- smsclient-2.0.9a.orig/sms/Makefile 2006-02-25 12:17:25.869409500 +0200 ++++ smsclient-2.0.9a/sms/Makefile 2006-02-25 12:17:04.612081000 +0200 +@@ -34,28 +34,26 @@ + all: + + install: +- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(MLIBDIR)/services +- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/smsclient +- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/smsclient/errors +- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/smsclient/locks +- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/smsclient/incoming +- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/smsclient/named_pipes +- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/smsclient/services +- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(MSERVICEDIR)/scripts ++ $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -m 755 -d $(DESTDIR)$(MLIBDIR)/services ++# $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/smsclient ++# $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/smsclient/errors ++# $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/smsclient/locks ++# $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/smsclient/incoming ++# $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/smsclient/named_pipes ++# $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/smsclient/services ++ $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -m 755 -d $(DESTDIR)$(MSERVICEDIR)/scripts + + ( cd services ;\ + for service in * ; do \ + $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 644 $$service $(DESTDIR)$(MLIBDIR)/services; \ +- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/smsclient/services/$$service ; \ +- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/smsclient/errors/$$service ; \ + done ) + +- $(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) ++ $(INSTALL) -m 644 scripts/email $(DESTDIR)$(MSERVICEDIR)/scripts ++ $(INSTALL) -m 644 sms_config $(DESTDIR)$(MSERVICEDIR) ++ $(INSTALL) -m 644 sms_addressbook $(DESTDIR)$(MSERVICEDIR) ++ $(INSTALL) -m 644 sms_modem $(DESTDIR)$(MSERVICEDIR) ++ $(INSTALL) -m 644 sms_services $(DESTDIR)$(MSERVICEDIR) ++ $(INSTALL) -m 644 sms_daemons $(DESTDIR)$(MSERVICEDIR) + + uninstall: + $(RM) $(DESTDIR)$(MLIBDIR)/services/* +diff -Nur smsclient-2.0.9a.orig/sms/sms_config smsclient-2.0.9a/sms/sms_config +--- smsclient-2.0.9a.orig/sms/sms_config 2006-02-25 12:17:25.869409500 +0200 ++++ smsclient-2.0.9a/sms/sms_config 2006-02-25 12:17:04.612081000 +0200 +@@ -9,7 +9,7 @@ + + SMS_lock_action = "BLOCK" + SMS_lock_retry_delay = 5000000 +- SMS_lockfile = "/var/lock/smslock" ++ SMS_lockfile = "/var/lock/sms/client.lock" + + # SMS_lockfile = "/var/opt/sms/smslock" # UNIXWARE + } +diff -Nur smsclient-2.0.9a.orig/src/client/Makefile smsclient-2.0.9a/src/client/Makefile +--- smsclient-2.0.9a.orig/src/client/Makefile 2006-02-25 12:17:25.869409500 +0200 ++++ smsclient-2.0.9a/src/client/Makefile 2006-02-25 12:17:04.612081000 +0200 +@@ -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 -Nur smsclient-2.0.9a.orig/src/logfile/Makefile smsclient-2.0.9a/src/logfile/Makefile +--- smsclient-2.0.9a.orig/src/logfile/Makefile 2006-02-25 12:17:25.869409500 +0200 ++++ smsclient-2.0.9a/src/logfile/Makefile 2006-02-25 12:17:04.612081000 +0200 +@@ -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 $(LOGDIR) + + clean: + $(RM) *.o diff --git a/app-mobilephone/smsclient/metadata.xml b/app-mobilephone/smsclient/metadata.xml index 21dd94cb791f..5a8ce14d9982 100644 --- a/app-mobilephone/smsclient/metadata.xml +++ b/app-mobilephone/smsclient/metadata.xml @@ -2,4 +2,5 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>mobile-phone</herd> + <longdescription>SMS Client is a UNIX command line based utility which allows you to send SMS messages to mobile phones and pagers.</longdescription> </pkgmetadata> diff --git a/app-mobilephone/smsclient/smsclient-2.0.9a.ebuild b/app-mobilephone/smsclient/smsclient-2.0.9a.ebuild new file mode 100644 index 000000000000..cbf04cf7265b --- /dev/null +++ b/app-mobilephone/smsclient/smsclient-2.0.9a.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/smsclient/smsclient-2.0.9a.ebuild,v 1.1 2006/02/25 10:42:29 mrness Exp $ + +inherit eutils + +DESCRIPTION="Utility to send SMS messages to mobile phones and pagers." +HOMEPAGE="http://www.smsclient.org" +SRC_URI="http://www.smsclient.org/download/${PN}-${PV%?}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +src_unpack() { + unpack ${A} + + epatch "${FILESDIR}/${P}-gentoo.patch" +} + +src_compile() { + rm .configured && ./configure || die "Configure failed" + make || die "Make failed" +} + +src_install() { + make DESTDIR="${D}" install || die "Install failed" + dosym /usr/bin/sms_client /usr/bin/smsclient + dosym /usr/bin/sms_address /usr/bin/smsaddress + + diropts -g dialout -m 0770 + keepdir /var/lock/sms + diropts + + doman docs/sms_client.1 + dodoc Authors Changelog* FAQ README* TODO docs/sms_protocol +} + +pkg_postinst() { + local MY_LOGFILE="${ROOT}/var/log/smsclient.log" + [ -f "${MY_LOGFILE}" ] || touch "${MY_LOGFILE}" + chgrp dialout "${MY_LOGFILE}" + chmod g+rwx,o-rwx "${MY_LOGFILE}" + + einfo "If you run sms_client as normal user, make sure you are member of dialout group." +} |