diff options
author | Florian Schmaus <flow@gentoo.org> | 2023-11-08 13:42:30 +0100 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2023-11-08 13:42:36 +0100 |
commit | 182508f74ecd56f2660691fd07acd61684ddb757 (patch) | |
tree | 2919d3edfa251be9cc262834cf966865fc743c13 /app-admin/qpage | |
parent | app-admin/longrun: treeclean (diff) | |
download | gentoo-182508f74ecd56f2660691fd07acd61684ddb757.tar.gz gentoo-182508f74ecd56f2660691fd07acd61684ddb757.tar.bz2 gentoo-182508f74ecd56f2660691fd07acd61684ddb757.zip |
app-admin/qpage: treeclean
Closes: https://bugs.gentoo.org/425872
Closes: https://bugs.gentoo.org/452982
Closes: https://bugs.gentoo.org/520968
Closes: https://bugs.gentoo.org/605450
Closes: https://bugs.gentoo.org/878621
Closes: https://bugs.gentoo.org/905945
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'app-admin/qpage')
-rw-r--r-- | app-admin/qpage/Manifest | 1 | ||||
-rw-r--r-- | app-admin/qpage/files/qpage | 28 | ||||
-rw-r--r-- | app-admin/qpage/files/qpage-3.3-fix-build-system.patch | 21 | ||||
-rw-r--r-- | app-admin/qpage/files/qpage-3.3-fix-warning.patch | 12 | ||||
-rw-r--r-- | app-admin/qpage/files/qpage-3.3-gentoo.patch | 72 | ||||
-rw-r--r-- | app-admin/qpage/metadata.xml | 15 | ||||
-rw-r--r-- | app-admin/qpage/qpage-3.3.ebuild | 67 |
7 files changed, 0 insertions, 216 deletions
diff --git a/app-admin/qpage/Manifest b/app-admin/qpage/Manifest deleted file mode 100644 index 1e77ba4c7e42..000000000000 --- a/app-admin/qpage/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST qpage-3.3.tar.Z 225689 BLAKE2B 25ac50bbe1e5a623a95f0ca8ad53255693647ca49763d80bb571ce36cf941618b6cbecc1681035d5d56d559a30e2da2a8d3621588925b00b9cac7ad278ec4a44 SHA512 d6062fb9e9cd6cfd60cadb923d29d36fd649c27adff2a36fd4e768798b90780153b78e7d0d1a13dcad94971ac98b32c1c5a3b415d5a1b4aa1cfbac564514a3e9 diff --git a/app-admin/qpage/files/qpage b/app-admin/qpage/files/qpage deleted file mode 100644 index 81ffe86d9950..000000000000 --- a/app-admin/qpage/files/qpage +++ /dev/null @@ -1,28 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - need net -} - -checkconfig() { - if [ ! -e /etc/qpage/qpage.cf ] ; then - eerror "You need a /etc/qpage/qpage.cf file first." - eerror "There is a sample file in /etc/qpage/." - return 1 - fi -} - -start() { - checkconfig || return 1 - ebegin "Starting qpage" - start-stop-daemon --start --quiet --exec /usr/bin/qpage -- -q 10 - eend $? -} - -stop() { - ebegin "Stopping qpage" - start-stop-daemon --stop --quiet --exec /usr/bin/qpage - eend $? -} diff --git a/app-admin/qpage/files/qpage-3.3-fix-build-system.patch b/app-admin/qpage/files/qpage-3.3-fix-build-system.patch deleted file mode 100644 index 0fd091df8e0e..000000000000 --- a/app-admin/qpage/files/qpage-3.3-fix-build-system.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- a/Makefile.in -+++ b/Makefile.in -@@ -65,12 +65,12 @@ - @exit 1 - - install: all -- $(RM) $(bindir)/$(PROG) -- $(MKDIR) -p $(bindir) -- $(CP) $(PROG) $(bindir) -- $(RM) $(mandir)/man1/$(PROG).1 -- $(MKDIR) -p $(mandir)/man1 -- $(CP) $(PROG).man $(mandir)/man1/$(PROG).1 -+ $(RM) $(DESTDIR)$(bindir)/$(PROG) -+ $(MKDIR) -p $(DESTDIR)$(bindir) -+ $(CP) $(PROG) $(DESTDIR)$(bindir) -+ $(RM) $(DESTDIR)$(mandir)/man1/$(PROG).1 -+ $(MKDIR) -p $(DESTDIR)$(mandir)/man1 -+ $(CP) $(PROG).man $(DESTDIR)$(mandir)/man1/$(PROG).1 - - # $(INSTALL) S99qpage /etc/rc3.d - # ln /etc/rc3.d/S99qpage /etc/init.d/qpage diff --git a/app-admin/qpage/files/qpage-3.3-fix-warning.patch b/app-admin/qpage/files/qpage-3.3-fix-warning.patch deleted file mode 100644 index 722677648250..000000000000 --- a/app-admin/qpage/files/qpage-3.3-fix-warning.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -urN qpage-3.3.orig/srvrsnpp.c qpage-3.3/srvrsnpp.c ---- qpage-3.3.orig/srvrsnpp.c 1998-10-25 14:55:05.000000000 -0500 -+++ qpage-3.3/srvrsnpp.c 2006-01-25 15:49:57.000000000 -0500 -@@ -1061,7 +1061,7 @@ - if (ptr && strcmp(ptr, STRING_UNKNOWN) != 0) - p->ident = strdup(ptr); - -- ptr = eval_hostinfo(&request.client); -+ ptr = eval_hostinfo(&request.client[0]); - - if (ptr && strcmp(ptr, STRING_UNKNOWN) != 0) - p->hostname = strdup(ptr); diff --git a/app-admin/qpage/files/qpage-3.3-gentoo.patch b/app-admin/qpage/files/qpage-3.3-gentoo.patch deleted file mode 100644 index 72baf899764e..000000000000 --- a/app-admin/qpage/files/qpage-3.3-gentoo.patch +++ /dev/null @@ -1,72 +0,0 @@ ---- a/config.input -+++ b/config.input -@@ -20,7 +20,7 @@ - # See the QuickPage documentation for complete details about - # the syntax of the configuration file. - # --QPAGE_CONFIG="/etc/qpage.cf" -+QPAGE_CONFIG="/etc/qpage/qpage.cf" - - - # -@@ -41,7 +41,7 @@ - # copies of the configuration file. Only one filename - # may be specified. - # --SNPP_SERVER_FILE="/etc/qpage.servers" -+SNPP_SERVER_FILE="/etc/qpage/qpage.servers" - - - # ---- a/qpage.man -+++ b/qpage.man -@@ -867,7 +867,7 @@ - must be able to detect when it's safe to send dial commands to the modem. - .LP - .SH FILES --/etc/qpage.cf -+/etc/qpage/qpage.cf - .SH SEE ALSO - .B RFC-1861 - .SH KNOWN BUGS ---- a/example.cf -+++ b/example.cf -@@ -21,7 +21,7 @@ - # - # modem=<modem name> - # text=<optional text, no whitespace allowed> --# device=<modem device e.g. /dev/ttya> -+# device=<modem device e.g. /dev/tts/0> - # initcmd=<modem initialization command> - # dialcmd=<modem dial command not including phone number> - # -@@ -64,14 +64,15 @@ - - queuedir=/var/spool/qpage - -+lockdir=/var/lock/subsys/qpage -+ - identtimeout=5 - snpptimeout=60 - --modem=ttya device=/dev/cua/a --modem=ttyb device=/dev/cua/b -+modem=ttyS0 device=/dev/tts/0 - - service=default -- device=ttya,ttyb -+ device=ttyS0 - baudrate=1200 - parity=even - allowpid=yes ---- a/ixo.c -+++ b/ixo.c -@@ -192,7 +192,7 @@ - if ((i = read_modem(fd, seconds)) < 0) - return(NULL); - -- if (i == '\r') { -+ if (i == '\r' || i == '\n') { - *ptr = '\0'; - got_full_packet++; - } diff --git a/app-admin/qpage/metadata.xml b/app-admin/qpage/metadata.xml deleted file mode 100644 index 827a55e8820e..000000000000 --- a/app-admin/qpage/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>chutzpah@gentoo.org</email> - <name>Patrick McLean</name> - </maintainer> - <longdescription lang="en"> - QuickPage is a client/server software package that enables you to send messages - to an alphanumeric pager. The client accepts a message from the user and - forwards it to a server using SNPP. The server uses a modem to transmit the - message to the recipient's paging service using the TAP protocol (also known as - the IXO protocol). - </longdescription> -</pkgmetadata> diff --git a/app-admin/qpage/qpage-3.3.ebuild b/app-admin/qpage/qpage-3.3.ebuild deleted file mode 100644 index 6438da0b64eb..000000000000 --- a/app-admin/qpage/qpage-3.3.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs - -DESCRIPTION="Sends messages to an alphanumeric pager via TAP protocol" -HOMEPAGE="http://www.qpage.org/" -SRC_URI="http://www.qpage.org/download/${P}.tar.Z" - -LICENSE="qpage" -SLOT="0" -KEYWORDS="~alpha amd64 x86" -IUSE="tcpd" - -DEPEND="tcpd? ( sys-apps/tcp-wrappers )" -RDEPEND="${DEPEND} - virtual/mta" - -PATCHES=( - "${FILESDIR}"/${P}-gentoo.patch - "${FILESDIR}"/${P}-fix-warning.patch - "${FILESDIR}"/${P}-fix-build-system.patch -) - -src_configure() { - tc-export CC - default - - # There doesn't seem to be a clean way to disable tcp wrappers in - # this package if you have it installed, but don't want to use it. - if ! use tcpd ; then - sed -i 's/-lwrap//g; s/-DTCP_WRAPPERS//g' Makefile || die - echo '#undef TCP_WRAPPERS' >> config.h || die - fi -} - -src_install() { - default - - dodir /var/spool/qpage - fowners daemon:daemon /var/spool/qpage - fperms 770 /var/spool/qpage - - dodir /var/lock/subsys/qpage - fowners daemon:daemon /var/lock/subsys/qpage - fperms 770 /var/lock/subsys/qpage - - insinto /etc/qpage - doins example.cf - - doinitd "${FILESDIR}"/qpage -} - -pkg_postinst() { - elog - elog "Post-installation tasks:" - elog - elog "1. Create /etc/qpage/qpage.cf (see example.cf in that dir)." - elog "2. Insure that the serial port selected in qpage.cf" - elog " is writable by user or group daemon." - elog "3. Set automatic startup with rc-update add qpage default" - elog "4. Send mail to tomiii@qpage.org telling him how" - elog " you like qpage! :-)" - elog -} |