diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-misc/taylor-uucp | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-misc/taylor-uucp')
-rw-r--r-- | net-misc/taylor-uucp/Manifest | 1 | ||||
-rw-r--r-- | net-misc/taylor-uucp/files/taylor-uucp-1.07-gentoo.patch | 120 | ||||
-rw-r--r-- | net-misc/taylor-uucp/metadata.xml | 9 | ||||
-rw-r--r-- | net-misc/taylor-uucp/taylor-uucp-1.07-r2.ebuild | 58 |
4 files changed, 188 insertions, 0 deletions
diff --git a/net-misc/taylor-uucp/Manifest b/net-misc/taylor-uucp/Manifest new file mode 100644 index 000000000000..08d04a4c0f59 --- /dev/null +++ b/net-misc/taylor-uucp/Manifest @@ -0,0 +1 @@ +DIST uucp-1.07.tar.gz 1013234 SHA256 060c15bfba6cfd1171ad81f782789032113e199a5aded8f8e0c1c5bd1385b62c SHA512 13d215890234e638bed53dce7bab6eb78e0ce6b658f23ac1d7f8abc6e1d97963bef76aa4148ca644f450d5a1678fac940b73fbcd5845d7f5bea3afbd8055229b WHIRLPOOL d46615bfcef6a5348c71a90525d642edcd61c3aadb43737070b27cfc2e30660284dadff44499b09d17ce34855dda8c6dd9633d637f1e81f6f916eaef6aaed46e 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..4e9d22dc3442 --- /dev/null +++ b/net-misc/taylor-uucp/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> + <email>maintainer-needed@gentoo.org</email> +</maintainer> +<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..3fb6d932e8ec --- /dev/null +++ b/net-misc/taylor-uucp/taylor-uucp-1.07-r2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 +} |