From 413ca4e6c2089d8b5e0844c26cf5671209226b93 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 8 Nov 2023 16:21:19 +0000 Subject: gentoo auto-resync : 08:11:2023 - 16:21:18 --- app-admin/Manifest.gz | Bin 31855 -> 31536 bytes app-admin/longrun/Manifest | 8 --- app-admin/longrun/files/0.9-makefile_cflags.patch | 13 ---- app-admin/longrun/files/0.9-replace-loff_t.patch | 35 ---------- app-admin/longrun/longrun-0.9-r4.ebuild | 70 -------------------- app-admin/longrun/longrun-0.9-r5.ebuild | 66 ------------------- app-admin/longrun/metadata.xml | 10 --- app-admin/qpage/Manifest | 7 -- app-admin/qpage/files/qpage | 28 -------- .../qpage/files/qpage-3.3-fix-build-system.patch | 21 ------ app-admin/qpage/files/qpage-3.3-fix-warning.patch | 12 ---- app-admin/qpage/files/qpage-3.3-gentoo.patch | 72 --------------------- app-admin/qpage/metadata.xml | 15 ----- app-admin/qpage/qpage-3.3.ebuild | 67 ------------------- 14 files changed, 424 deletions(-) delete mode 100644 app-admin/longrun/Manifest delete mode 100644 app-admin/longrun/files/0.9-makefile_cflags.patch delete mode 100644 app-admin/longrun/files/0.9-replace-loff_t.patch delete mode 100644 app-admin/longrun/longrun-0.9-r4.ebuild delete mode 100644 app-admin/longrun/longrun-0.9-r5.ebuild delete mode 100644 app-admin/longrun/metadata.xml delete mode 100644 app-admin/qpage/Manifest delete mode 100644 app-admin/qpage/files/qpage delete mode 100644 app-admin/qpage/files/qpage-3.3-fix-build-system.patch delete mode 100644 app-admin/qpage/files/qpage-3.3-fix-warning.patch delete mode 100644 app-admin/qpage/files/qpage-3.3-gentoo.patch delete mode 100644 app-admin/qpage/metadata.xml delete mode 100644 app-admin/qpage/qpage-3.3.ebuild (limited to 'app-admin') diff --git a/app-admin/Manifest.gz b/app-admin/Manifest.gz index 2285e97f691b..3e75375f45a2 100644 Binary files a/app-admin/Manifest.gz and b/app-admin/Manifest.gz differ diff --git a/app-admin/longrun/Manifest b/app-admin/longrun/Manifest deleted file mode 100644 index 7485e08f94fc..000000000000 --- a/app-admin/longrun/Manifest +++ /dev/null @@ -1,8 +0,0 @@ -AUX 0.9-makefile_cflags.patch 305 BLAKE2B 7b2c0df4162b44c723286b86f1cdff3de6761def2139d737c3dc7ac754b6e8b9f5674528a12334316fbc922f4b9d961d2e53e0e7c085f69a16952395feaef36e SHA512 3aaf8b9a21364264734de21505a5c2e5327bc443a25e26db55af87b49bec6b9a767bce9abdcf24ee0af2e43579460a36caaffa1d6d57b7420192685194f4979d -AUX 0.9-replace-loff_t.patch 992 BLAKE2B 81c94054ba9ab75cd6c9f71e10c78b6f921695e9b0273aa35a394bade52d1183e588a3a5c8b894c1c16cf5c3c620f1777ab56e591fdb68ed6e70927c4aa89f2c SHA512 6eb0e828afcd6265babd4cefd50191610095c8d6309b75089ecf3f34363231bf8a2b68c3db0d3938904951035232b9bafcb2029de832e9c7515922dad3ceac1b -DIST longrun-0.9.tar.bz2 11539 BLAKE2B a308dc7f350399da0bf593e2eee8109a90103b298d943976f0da143c52105362aa100763dcdd3cacd4c3244cdd5a7eb9a1b355aa803a69a2225ea18c6e5a60dd SHA512 6b38160f54d0cb9124c46c0e3ba22faf4ba4376ef58f7db40aabbab20836b1551dd839d28e5bf49540a5ce0e13312bd1d7332cc59ce45fa49f81d0b9746ef055 -DIST longrun_0.9-19.diff.gz 14697 BLAKE2B 98a7497679df5be0346a37b6119a9418c7fba80672eb2c345784628c3517c6f1fbc8d953abe2696a3b576310cd489e5c1d3595153bbfa9d82dfb44697c246116 SHA512 591519183017dd84d6f78554eea9f215be9346efc3f30889f5a25d01c6b68bd5a949507b9a0c871f9aca0b49e415c4fa261821d4158b24c93481394403b83e35 -DIST longrun_0.9-22.diff.gz 15714 BLAKE2B a132fcd5925b4868c767a43bc5e3428bc2731ffdc3678207442bd538db0bef79a1f50877679907dbd4a131aa807001d8bee602abc94ae086ec1ec458ec68a12d SHA512 6addb2a4070a4b105cbdd1ef96d3d99fbcbab5f6026fb2fcf8d6a702a60548e1ac9249c44e6359fcf46eab83da7529a6715a6ae77f8750f4be19d42ab83f51f8 -EBUILD longrun-0.9-r4.ebuild 1774 BLAKE2B e66169a3bbe8dbb1f870f70295100f527de6298e2903dae7249edc095c6f5d8d9fb332f1fde50db3d4efc8faea8dbdabe696a88e3d4c7e131dc28c30e6b46461 SHA512 c7a806889e17a5bfb28a2d34c87a6c3877d94b477ebe67bd2f5493b12a4aa4343f9632e6e578ee11fbd7c21daae7be8c997f73fb5520aee47f3603ff47a7a313 -EBUILD longrun-0.9-r5.ebuild 1753 BLAKE2B 95d21c21c8d3e9bdc4c4cd1c7b52836b6f30b46975a831342bae2b746675865c30b4b8d730d1f19d0b293f7b806ef8c174246bb9a7fea85a5d4aa6dfffa585e6 SHA512 fa0e297e0fecced44ff5ebb51111d54207645dd90cd4ccd9435857094dd44f1b92cf38f57933777a7dbf8206d5785ee40939bbf403e43e222e447988327602a6 -MISC metadata.xml 363 BLAKE2B 22d6e8b0a3932d9be0aacccbb3b4f7394afa7eac490d19bfbedc2bec07c8ca0592991d88d084794f1fa7e3860c20fe82f636c79a707f7a9cb2ecf6f5d949fad0 SHA512 083abdb385309dc323d2f1a9c129a99676f3183f9da59de55466cf077bca524e630caca21ffb98c7b7d95f754b38e447f0b7c008515c49597924fab396218f16 diff --git a/app-admin/longrun/files/0.9-makefile_cflags.patch b/app-admin/longrun/files/0.9-makefile_cflags.patch deleted file mode 100644 index 8848dc667866..000000000000 --- a/app-admin/longrun/files/0.9-makefile_cflags.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- a/Makefile -+++ b/Makefile -@@ -2,8 +2,8 @@ - - all: longrun README stamp-po - --longrun: longrun.c -- gcc -DLOCALEDIR=\"$(LOCALEDIR)\" -g -O2 -W -Wall -o longrun longrun.c -+CFLAGS += -W -Wall -+CPPFLAGS += -DLOCALEDIR=\"$(LOCALEDIR)\" - - README: longrun.1 - groff -Tascii -man longrun.1 | col -bx > README diff --git a/app-admin/longrun/files/0.9-replace-loff_t.patch b/app-admin/longrun/files/0.9-replace-loff_t.patch deleted file mode 100644 index 589c0947b155..000000000000 --- a/app-admin/longrun/files/0.9-replace-loff_t.patch +++ /dev/null @@ -1,35 +0,0 @@ -Use off_t instead of loff_t. Both pread() and pwrite() take -off_t not loff_t types. This breaks the build on musl. See - -https://bugs.gentoo.org/show_bug.cgi?id=541694 - -diff -Naur longrun.orig/longrun.c longrun/longrun.c ---- longrun.orig/longrun.c 2015-03-07 19:05:19.166652462 +0000 -+++ longrun/longrun.c 2015-03-07 19:06:05.419651899 +0000 -@@ -181,7 +181,7 @@ - } - - /* note: if an output is NULL, then don't set it */ --void read_msr(loff_t address, int *lower, int *upper) -+void read_msr(off_t address, int *lower, int *upper) - { - uint32_t data[2]; - -@@ -193,7 +193,7 @@ - if (upper) *upper = data[1]; - } - --void write_msr(loff_t address, int lower, int upper) -+void write_msr(off_t address, int lower, int upper) - { - uint32_t data[2]; - -@@ -206,7 +206,7 @@ - } - - /* note: if an output is NULL, then don't set it */ --void read_cpuid(loff_t address, int *eax, int *ebx, int *ecx, int *edx) -+void read_cpuid(off_t address, int *eax, int *ebx, int *ecx, int *edx) - { - uint32_t data[4]; - diff --git a/app-admin/longrun/longrun-0.9-r4.ebuild b/app-admin/longrun/longrun-0.9-r4.ebuild deleted file mode 100644 index 7992acb965bd..000000000000 --- a/app-admin/longrun/longrun-0.9-r4.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit linux-info toolchain-funcs - -DESCRIPTION="A utility to control Transmeta's Crusoe and Efficeon processors" -HOMEPAGE="http://freshmeat.net/projects/longrun/" - -DEBIAN_PATCH_VERSION="19" -DEBIAN_PATCH="${PN}_${PV}-${DEBIAN_PATCH_VERSION}.diff" -SRC_URI=" - https://www.kernel.org/pub/linux/utils/cpu/crusoe/${P}.tar.bz2 - mirror://debian/pool/main/l/${PN}/${DEBIAN_PATCH}.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-ppc x86" -IUSE="" - -DEPEND="sys-apps/groff" - -S=${WORKDIR}/${PN} - -CONFIG_CHECK="~X86_MSR ~X86_CPUID" -ERROR_X86_MSR=" -Longrun needs a MSR device to function. Please select -MSR under Processor type and features. It can be build -directly into the kernel or as a module." -ERROR_X86_CPUID=" -Longrun needs a CPUID device to function. Please select -CPUID under Processor type and features. It can be -build directly into the kernel or as a module." - -PATCHES=( - "${WORKDIR}"/${DEBIAN_PATCH} - "${FILESDIR}"/${PV}-makefile_cflags.patch - "${FILESDIR}"/${PV}-replace-loff_t.patch -) - -src_configure() { - tc-export CC -} - -src_install() { - default - dodoc MAKEDEV-cpuid-msr -} - -pkg_postinst() { - if linux_config_exists; then - if linux_chkconfig_module X86_MSR; then - elog "You have compiled MSR as a module." - elog "You need to load it before using Longrun." - elog "The module is called msr." - elog - fi - - if linux_chkconfig_module X86_CPUID; then - elog "You have compiled CPUID as a module." - elog "You need to load it before using Longrun." - elog "The module is called cpuid." - fi - else - elog "You have no kernel configuration available." - elog "Longrun needs both CPUID and MSR capabilites," - elog "in the kernel you intend to run it under." - fi -} diff --git a/app-admin/longrun/longrun-0.9-r5.ebuild b/app-admin/longrun/longrun-0.9-r5.ebuild deleted file mode 100644 index 1cbda722a3ef..000000000000 --- a/app-admin/longrun/longrun-0.9-r5.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit linux-info toolchain-funcs - -DESCRIPTION="A utility to control Transmeta's Crusoe and Efficeon processors" -HOMEPAGE="http://freshmeat.net/projects/longrun/" - -DEBIAN_PATCH_VERSION="22" -DEBIAN_PATCH="${PN}_${PV}-${DEBIAN_PATCH_VERSION}.diff" -SRC_URI=" - https://www.kernel.org/pub/linux/utils/cpu/crusoe/${P}.tar.bz2 - mirror://debian/pool/main/l/${PN}/${DEBIAN_PATCH}.gz" -S="${WORKDIR}/${PN}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-ppc ~x86" - -BDEPEND="sys-apps/groff" - -DOCS=( MAKEDEV-cpuid-msr ) - -CONFIG_CHECK="~X86_MSR ~X86_CPUID" -ERROR_X86_MSR=" -Longrun needs a MSR device to function. Please select -MSR under Processor type and features. It can be build -directly into the kernel or as a module." -ERROR_X86_CPUID=" -Longrun needs a CPUID device to function. Please select -CPUID under Processor type and features. It can be -build directly into the kernel or as a module." - -PATCHES=( - "${WORKDIR}"/${DEBIAN_PATCH} - "${FILESDIR}"/${PV}-makefile_cflags.patch - "${FILESDIR}"/${PV}-replace-loff_t.patch -) - -src_configure() { - tc-export CC - default -} - -pkg_postinst() { - if linux_config_exists; then - if linux_chkconfig_module X86_MSR; then - elog "You have compiled MSR as a module." - elog "You need to load it before using Longrun." - elog "The module is called msr." - elog - fi - - if linux_chkconfig_module X86_CPUID; then - elog "You have compiled CPUID as a module." - elog "You need to load it before using Longrun." - elog "The module is called cpuid." - fi - else - elog "You have no kernel configuration available." - elog "Longrun needs both CPUID and MSR capabilites," - elog "in the kernel you intend to run it under." - fi -} diff --git a/app-admin/longrun/metadata.xml b/app-admin/longrun/metadata.xml deleted file mode 100644 index 5e882ed16b13..000000000000 --- a/app-admin/longrun/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - Longrun is a user space utility program for controlling the Longrun - thermal and power save functionalities found in the processors made - by Transmeta. - - diff --git a/app-admin/qpage/Manifest b/app-admin/qpage/Manifest deleted file mode 100644 index b7f2c7c1c9de..000000000000 --- a/app-admin/qpage/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -AUX qpage 568 BLAKE2B a1e0e53332af86dd63339e3c8353f8e4c454ebe38ad9df0d3a9c141bca7db8fbfbb8773f58e8ae97efdbd9d6a56a1fda896d64f8d633de4fe9a81e3ff1f6cbfd SHA512 3153cab39730cf1173a1cdb3fa61dead6f767650427b03e7f69173969272eda683fb9aee79b69b1bb879f3c6a30266d6842ceb7f438c09806e35886d923832b4 -AUX qpage-3.3-fix-build-system.patch 603 BLAKE2B e6bde35536561397c6aba4cc7e5f2523beb74e59732ddbe6f8c5672bcefaf4781494d37b7aaecbbe3a81239093c0b0f58034577378313e1ccaaeb21da092b4c4 SHA512 efd9ef6ea9c9df9ce52c53cd962b55170a49a0e8cdeb82aca05e8cb70c79b8afc930b9678f718305fe28e4ef9b359c1d6bffb09f3a23758b1328d0a393a6516a -AUX qpage-3.3-fix-warning.patch 450 BLAKE2B 4947c7b7aa7bcb05f63f371a1a06211fd63582af4d492b8541828bd124ac71a458266e49fad21da34efc854d34ca5a3395d4b76bbac6a17f1678f43f9afd3b00 SHA512 c2b0ad552ff60471171693eca90e51470072c73961bf30406e59c7929f02f093d754d5f1e278a43e0aac8d1031dafcbd085b0b59a1d9634f6f631c2a84e7a7c1 -AUX qpage-3.3-gentoo.patch 1472 BLAKE2B 804be08ec654aab34d338cf1d3d1f69d7d2984b8b931e06d5117e449e19a6ee80cb1bedc71dffe070e2e44326881702b0aea2fd4fc2f67130c315a2fe3101294 SHA512 a9e0a1793a8af41340c5593420eecf54fdc405600f71704efd3cdb9f70d9bdfacdff636cea5839c5ca024be27f90c84a7a2c1c95e078af2fffdd7cbc6ae7e5f4 -DIST qpage-3.3.tar.Z 225689 BLAKE2B 25ac50bbe1e5a623a95f0ca8ad53255693647ca49763d80bb571ce36cf941618b6cbecc1681035d5d56d559a30e2da2a8d3621588925b00b9cac7ad278ec4a44 SHA512 d6062fb9e9cd6cfd60cadb923d29d36fd649c27adff2a36fd4e768798b90780153b78e7d0d1a13dcad94971ac98b32c1c5a3b415d5a1b4aa1cfbac564514a3e9 -EBUILD qpage-3.3.ebuild 1579 BLAKE2B 13093b5839b88d51a0c84d3ac799dfb46a3e231a94e6d5a8a3ac594601489773ef12b51f06bf7bdbd0e123a000c40aae68e73218355fe230018feebca14d76d0 SHA512 dddeec833047213c0af59663d6be74aea36a7e0a8306eb0186e6993d1b1f6c04c7b746ecc4b02408b9e154136b5dae0a9fe8e86f2f40b87b66572d81bee4b18f -MISC metadata.xml 637 BLAKE2B 666df9283d6b81362a21951a28249255696f4426944700b2d721b3d46bfe8734ac53f6c7d59ca63d61ee306838d32e92131a511f8bf9f15735dbdffbd56bb52b SHA512 6df14bd1be45d537fc1ec0f95098c6203a94d4b4607ae5fc0e87425a0d69e6311c3691df4d390d5937124f697bf0001958d2e877efc98d33375684abfe527a0b 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= - # text= --# device= -+# device= - # initcmd= - # dialcmd= - # -@@ -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 @@ - - - - - chutzpah@gentoo.org - Patrick McLean - - - 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). - - 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 -} -- cgit v1.2.3