diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/taylor-uucp |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/taylor-uucp')
-rw-r--r-- | net-misc/taylor-uucp/Manifest | 8 | ||||
-rw-r--r-- | net-misc/taylor-uucp/files/taylor-uucp-1.07-fprintf.patch | 11 | ||||
-rw-r--r-- | net-misc/taylor-uucp/files/taylor-uucp-1.07-gentoo.patch | 120 | ||||
-rw-r--r-- | net-misc/taylor-uucp/metadata.xml | 7 | ||||
-rw-r--r-- | net-misc/taylor-uucp/taylor-uucp-1.07-r2.ebuild | 57 | ||||
-rw-r--r-- | net-misc/taylor-uucp/taylor-uucp-1.07-r3.ebuild | 57 |
6 files changed, 260 insertions, 0 deletions
diff --git a/net-misc/taylor-uucp/Manifest b/net-misc/taylor-uucp/Manifest new file mode 100644 index 000000000000..83f260af0564 --- /dev/null +++ b/net-misc/taylor-uucp/Manifest @@ -0,0 +1,8 @@ +AUX taylor-uucp-1.07-fprintf.patch 188 SHA256 91fead8a78ef31ac9dc7f473a29ab0cb3455d730d97aa432de06958e35cd1a81 SHA512 468870a9e64f0ace876bc1254e264e634fc07011b9ffa5ca0ccecb23c925e2a4a5c4463e6741b265bc8df17d0a578710cc8ea135461a1dfcd1c782e991bc7623 WHIRLPOOL 7511ae276409bed699de6d2cf378a82442bc501183eb9df3a025ba168ba9ebb18373a1ba91ea2f51ee4208af7ce429db4b4f9b2b09459bf4279967d524facfba +AUX taylor-uucp-1.07-gentoo.patch 5049 SHA256 9b36431077d349a0b9ca38a9f3d2bdec5f2bbc282ab690514f2bbdadab8cde6a SHA512 8d259ddf10c80ff6c349d3bec531f858d561f3f488fd6066d69ddb8d2242e9f22ff8781ce47dcdb10f3dbf4a073bc4bf3492f6fced30d8d129e6f81e860f971a WHIRLPOOL 7fbf4ab8a11c33d1641e888714a45c1481a2b4652e23691530820b4afb99a324fc0bf07c056a5f90ad7e3af3a4fcba71df17d0eafb61286c00f3ca098210cb22 +DIST uucp-1.07.tar.gz 1013234 SHA256 060c15bfba6cfd1171ad81f782789032113e199a5aded8f8e0c1c5bd1385b62c SHA512 13d215890234e638bed53dce7bab6eb78e0ce6b658f23ac1d7f8abc6e1d97963bef76aa4148ca644f450d5a1678fac940b73fbcd5845d7f5bea3afbd8055229b WHIRLPOOL d46615bfcef6a5348c71a90525d642edcd61c3aadb43737070b27cfc2e30660284dadff44499b09d17ce34855dda8c6dd9633d637f1e81f6f916eaef6aaed46e +EBUILD taylor-uucp-1.07-r2.ebuild 1335 SHA256 e96dbe1e0346b668344852fae2aa6a563e59b3b4db97eaa153d5e11bd986fe8e SHA512 9c9311da8d8771912a782bb53bb98863cef91f6bbbd8f3d6aefa6c46e28f8fa90a036c8e5befc58a71b26b6c1bba19a2b4b5a605388b7599a7c10a031d979e90 WHIRLPOOL cf6740c13f8b0cbf328bf5d679b5a350dbf991d61dc6923b354c55422172db7a3e6104ed8bc28d11be7ee80dd4f2afe3b14762304fafa737d51eaf4f8fdcb05f +EBUILD taylor-uucp-1.07-r3.ebuild 1374 SHA256 5b20716f88933d863b35fd0e9de4aa1b79c196a15e2628bf6174cc7d0ca65802 SHA512 6bf7d8975e06d43554d7d8f94279d455cb247db0c246f7d1fd1a71cd5b64eb34047dc3039fcf1a97daa2260f3ea29f159c7dd621b103c239113dbbe0d05fac82 WHIRLPOOL bbf6ab994a011be7f0ef104f8e220b2e4a187be5292828d8fcf301a94074268730f1a58eb6dcc499a23dc514e6b629e47f5ee0119699b180a254933d9a356e32 +MISC ChangeLog 2805 SHA256 c015671a5ffbc9c4126998cb94abe605d75e805551b833bf3bda5e05291ec676 SHA512 f5542daf2e3e7ceb3787180db23797074e6eed1e986c39b34a284b66828bcc4d629201eaf1e0a4fc36f68c063bf0c6faceeef311655b1f30d3d88b4d00a5d445 WHIRLPOOL a96759d9eb43e3c2926ff88d147d1fdd1adfa2c87ef3d0ff5d0468049fb86ad38046b2df9cd9bd39a7e6c11fc3d052b523101557dd89226d20c25a77e61c971b +MISC ChangeLog-2015 4637 SHA256 8f92ed5c0ddb78e20fe6c007ee2ba604f469b0d78212620339c3d6d977cc3efc SHA512 794994e892a027f9d909e45b6c8ecb38eab94b44767ed7dd955756527b3bcbabfdcf87d41f35d16accae70ead2fd9e7725118d56c591d08ce485cd5583dda865 WHIRLPOOL 79e7059966d9022ba7db5ecc588592439de164b1ec36cbe2b746d33f15b8d4839df44cc5f107c57a9d31c1a84ed988d920e6bda3fa2aa41d6ec31083d6fb67f5 +MISC metadata.xml 319 SHA256 86a63c383bfa854bb3e4de9f9dbcfa22c975e4ac280b52ab50e016da1a9f43cf SHA512 14fddbb3e6a6f0defe184c909d8ae29072782e3060dd5c91f852572039ca81be95f9cae98f6a4a011711cd991bcfa886638d725372463b3af4ee7f15654ad22d WHIRLPOOL 29099882f2bb80af396a115df8a15e0f30c46a5af905703b104acae8fddb2fa8af7b20004fcb2a087e2e9d703aeb99136ff094d107ca6af431411c2c01d9a422 diff --git a/net-misc/taylor-uucp/files/taylor-uucp-1.07-fprintf.patch b/net-misc/taylor-uucp/files/taylor-uucp-1.07-fprintf.patch new file mode 100644 index 000000000000..5ac0304bf20f --- /dev/null +++ b/net-misc/taylor-uucp/files/taylor-uucp-1.07-fprintf.patch @@ -0,0 +1,11 @@ +--- a/uuconv.c ++++ b/uuconv.c +@@ -676,7 +676,7 @@ + { + if ((*pz)[0] != '-' && pz != pzarg) + fprintf (e, " "); +- fprintf (e, *pz); ++ fprintf (e, "%s", *pz); + } + } + diff --git a/net-misc/taylor-uucp/files/taylor-uucp-1.07-gentoo.patch b/net-misc/taylor-uucp/files/taylor-uucp-1.07-gentoo.patch new file mode 100644 index 000000000000..42839bab300c --- /dev/null +++ b/net-misc/taylor-uucp/files/taylor-uucp-1.07-gentoo.patch @@ -0,0 +1,120 @@ +diff -Nru uucp-1.07.orig/Makefile.am uucp-1.07/Makefile.am +--- uucp-1.07.orig/Makefile.am 2003-05-30 00:10:23.000000000 +0000 ++++ uucp-1.07/Makefile.am 2009-03-06 18:41:48.000000000 +0000 +@@ -78,12 +78,12 @@ + + install-exec-hook: + for f in uucico uuxqt; do \ +- chown $(OWNER) $(DESTDIR)$(sbindir)/$${f}; \ +- chmod 4555 $(DESTDIR)$(sbindir)/$${f}; \ ++ chown $(OWNER):uucp $(DESTDIR)$(sbindir)/$${f}; \ ++ chmod 6555 $(DESTDIR)$(sbindir)/$${f}; \ + done + for f in uux uucp uustat uuname cu; do \ +- chown $(OWNER) $(DESTDIR)$(bindir)/$${f}; \ +- chmod 4555 $(DESTDIR)$(bindir)/$${f}; \ ++ chown $(OWNER):uucp $(DESTDIR)$(bindir)/$${f}; \ ++ chmod 6555 $(DESTDIR)$(bindir)/$${f}; \ + done + if HAVE_MKDIR + else +diff -Nru uucp-1.07.orig/policy.h uucp-1.07/policy.h +--- uucp-1.07.orig/policy.h 2003-05-29 06:08:45.000000000 +0000 ++++ uucp-1.07/policy.h 2009-03-06 18:41:48.000000000 +0000 +@@ -302,8 +302,7 @@ + /* #define LOCKDIR "/usr/spool/locks" */ + /* #define LOCKDIR "/usr/spool/uucp/LCK" */ + /* #define LOCKDIR "/var/spool/lock" */ +-/* #define LOCKDIR "/var/lock" */ +- ++#define LOCKDIR "/var/lock" + /* You must also specify the format of the lock files by setting + exactly one of the following macros to 1. Check an existing lock + file to decide which of these choices is more appropriate. +@@ -572,16 +571,14 @@ + /* The name of the default spool directory. If HAVE_TAYLOR_CONFIG is + set to 1, this may be overridden by the ``spool'' command in the + configuration file. */ +-#define SPOOLDIR "/usr/spool/uucp" +-/* #define SPOOLDIR "/var/spool/uucp" */ ++#define SPOOLDIR "/var/spool/uucp" + + /* The name of the default public directory. If HAVE_TAYLOR_CONFIG is + set to 1, this may be overridden by the ``pubdir'' command in the + configuration file. Also, a particular system may be given a + specific public directory by using the ``pubdir'' command in the + system file. */ +-#define PUBDIR "/usr/spool/uucppublic" +-/* #define PUBDIR "/var/spool/uucppublic" */ ++#define PUBDIR "/var/spool/uucppublic" + + /* The default command path. This is a space separated list of + directories. Remote command executions requested by uux are looked +@@ -644,23 +641,17 @@ + /* The default log file when using HAVE_TAYLOR_LOGGING. When using + HAVE_TAYLOR_CONFIG, this may be overridden by the ``logfile'' + command in the configuration file. */ +-#define LOGFILE "/usr/spool/uucp/Log" +-/* #define LOGFILE "/var/spool/uucp/Log" */ +-/* #define LOGFILE "/var/log/uucp/Log" */ ++#define LOGFILE "/var/log/uucp/Log" + + /* The default statistics file when using HAVE_TAYLOR_LOGGING. When + using HAVE_TAYLOR_CONFIG, this may be overridden by the + ``statfile'' command in the configuration file. */ +-#define STATFILE "/usr/spool/uucp/Stats" +-/* #define STATFILE "/var/spool/uucp/Stats" */ +-/* #define STATFILE "/var/log/uucp/Stats" */ ++#define STATFILE "/var/log/uucp/Stats" + + /* The default debugging file when using HAVE_TAYLOR_LOGGING. When + using HAVE_TAYLOR_CONFIG, this may be overridden by the + ``debugfile'' command in the configuration file. */ +-#define DEBUGFILE "/usr/spool/uucp/Debug" +-/* #define DEBUGFILE "/var/spool/uucp/Debug" */ +-/* #define DEBUGFILE "/var/log/uucp/Debug" */ ++#define DEBUGFILE "/var/log/uucp/Debug" + + #endif /* HAVE_TAYLOR_LOGGING */ + +@@ -669,17 +660,17 @@ + /* The default log file when using HAVE_V2_LOGGING. When using + HAVE_TAYLOR_CONFIG, this may be overridden by the ``logfile'' + command in the configuration file. */ +-#define LOGFILE "/usr/spool/uucp/LOGFILE" ++#define LOGFILE "/var/log/uucp/LOGFILE" + + /* The default statistics file when using HAVE_V2_LOGGING. When using + HAVE_TAYLOR_CONFIG, this may be overridden by the ``statfile'' + command in the configuration file. */ +-#define STATFILE "/usr/spool/uucp/SYSLOG" ++#define STATFILE "/var/log/uucp/SYSLOG" + + /* The default debugging file when using HAVE_V2_LOGGING. When using + HAVE_TAYLOR_CONFIG, this may be overridden by the ``debugfile'' + command in the configuration file. */ +-#define DEBUGFILE "/usr/spool/uucp/DEBUG" ++#define DEBUGFILE "/var/log/uucp/DEBUG" + + #endif /* HAVE_V2_LOGGING */ + +@@ -692,16 +683,16 @@ + be replaced by the system name (if there is no appropriate system, + "ANY" will be used). No other '%' character may appear in the + string. */ +-#define LOGFILE "/usr/spool/uucp/.Log/%s/%s" ++#define LOGFILE "/var/log/uucp/.Log/%s/%s" + + /* The default statistics file when using HAVE_HDB_LOGGING. When using + HAVE_TAYLOR_CONFIG, this may be overridden by the ``statfile'' + command in the configuration file. */ +-#define STATFILE "/usr/spool/uucp/.Admin/xferstats" ++#define STATFILE "/var/log/uucp/.Admin/xferstats" + + /* The default debugging file when using HAVE_HDB_LOGGING. When using + HAVE_TAYLOR_CONFIG, this may be overridden by the ``debugfile'' + command in the configuration file. */ +-#define DEBUGFILE "/usr/spool/uucp/.Admin/audit.local" ++#define DEBUGFILE "/var/log/uucp/.Admin/audit.local" + + #endif /* HAVE_HDB_LOGGING */ diff --git a/net-misc/taylor-uucp/metadata.xml b/net-misc/taylor-uucp/metadata.xml new file mode 100644 index 000000000000..d2ab50187578 --- /dev/null +++ b/net-misc/taylor-uucp/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +<longdescription>The standard UUCP package of the Free Software Foundation. +It provides everything you need to make a UUCP connection.</longdescription> +</pkgmetadata> diff --git a/net-misc/taylor-uucp/taylor-uucp-1.07-r2.ebuild b/net-misc/taylor-uucp/taylor-uucp-1.07-r2.ebuild new file mode 100644 index 000000000000..2bbdfa55ecd6 --- /dev/null +++ b/net-misc/taylor-uucp/taylor-uucp-1.07-r2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit eutils flag-o-matic autotools + +DESCRIPTION="Taylor UUCP" +HOMEPAGE="http://www.airs.com/ian/uucp.html" +SRC_URI="mirror://gnu/uucp/uucp-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ~arm ia64 ppc sparc x86" +IUSE="" + +S="${WORKDIR}/uucp-${PV}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch + mv configure.{in,ac} || die + sed -i 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die + eautoreconf +} + +src_configure() { + append-cppflags -D_GNU_SOURCE -fno-strict-aliasing + econf --with-newconfigdir=/etc/uucp +} + +src_install() { + dodir /usr/share/man/man{1,8} + dodir /usr/share/info + dodir /etc/uucp + dodir /usr/bin /usr/sbin + diropts -o uucp -g uucp -m 0750 + keepdir /var/log/uucp /var/spool/uucp + diropts -o uucp -g uucp -m 0775 + keepdir /var/spool/uucppublic + + emake \ + "prefix=${D}/usr" \ + "sbindir=${D}/usr/sbin" \ + "bindir=${D}/usr/bin" \ + "man1dir=${D}/usr/share/man/man1" \ + "man8dir=${D}/usr/share/man/man8" \ + "newconfigdir=${D}/etc/uucp" \ + "infodir=${D}/usr/share/info" \ + install install-info + sed -i -e 's:/usr/spool:/var/spool:g' sample/config + cp sample/* "${ED}/etc/uucp" || die + dodoc ChangeLog NEWS README TODO +} + +pkg_preinst() { + usermod -s /bin/bash uucp +} diff --git a/net-misc/taylor-uucp/taylor-uucp-1.07-r3.ebuild b/net-misc/taylor-uucp/taylor-uucp-1.07-r3.ebuild new file mode 100644 index 000000000000..2f85093cfb4a --- /dev/null +++ b/net-misc/taylor-uucp/taylor-uucp-1.07-r3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit eutils flag-o-matic autotools + +DESCRIPTION="Taylor UUCP" +HOMEPAGE="http://www.airs.com/ian/uucp.html" +SRC_URI="mirror://gnu/uucp/uucp-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~sparc ~x86" + +S="${WORKDIR}/uucp-${PV}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch + epatch "${FILESDIR}"/${P}-fprintf.patch + mv configure.{in,ac} || die + sed -i 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die + eautoreconf +} + +src_configure() { + append-cppflags -D_GNU_SOURCE -fno-strict-aliasing + econf --with-newconfigdir=/etc/uucp +} + +src_install() { + dodir /usr/share/man/man{1,8} + dodir /usr/share/info + dodir /etc/uucp + dodir /usr/bin /usr/sbin + diropts -o uucp -g uucp -m 0750 + keepdir /var/log/uucp /var/spool/uucp + diropts -o uucp -g uucp -m 0775 + keepdir /var/spool/uucppublic + + emake \ + "prefix=${D}/usr" \ + "sbindir=${D}/usr/sbin" \ + "bindir=${D}/usr/bin" \ + "man1dir=${D}/usr/share/man/man1" \ + "man8dir=${D}/usr/share/man/man8" \ + "newconfigdir=${D}/etc/uucp" \ + "infodir=${D}/usr/share/info" \ + install install-info + sed -i -e 's:/usr/spool:/var/spool:g' sample/config + cp sample/* "${ED}/etc/uucp" || die + dodoc ChangeLog NEWS README TODO +} + +pkg_preinst() { + usermod -s /bin/bash uucp +} |