summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2006-01-09 22:36:07 +0000
committerAlin Năstac <mrness@gentoo.org>2006-01-09 22:36:07 +0000
commitb097d1f2ced79fc3a9769161a91c2a263f2a93a5 (patch)
treee943fbc9042394fcd6577e0562a7eeb9c8a95db3 /net-misc/taylor-uucp
parentStable on x86, alpha and ia64, bug 117835. (diff)
downloadgentoo-2-b097d1f2ced79fc3a9769161a91c2a263f2a93a5.tar.gz
gentoo-2-b097d1f2ced79fc3a9769161a91c2a263f2a93a5.tar.bz2
gentoo-2-b097d1f2ced79fc3a9769161a91c2a263f2a93a5.zip
Take maintainership of this package. Remove old version. Change lock directory to /var/lock (#96339). Install executables SUIDed and SGIDed, with uucp:uucp as owner:group (#115689).
(Portage version: 2.0.53)
Diffstat (limited to 'net-misc/taylor-uucp')
-rw-r--r--net-misc/taylor-uucp/ChangeLog14
-rw-r--r--net-misc/taylor-uucp/Manifest21
-rw-r--r--net-misc/taylor-uucp/files/digest-taylor-uucp-1.06.21
-rw-r--r--net-misc/taylor-uucp/files/digest-taylor-uucp-1.07-r11
-rw-r--r--net-misc/taylor-uucp/files/taylor-uucp-1.07-gentoo.patch (renamed from net-misc/taylor-uucp/files/gentoo-uucp.diff)86
-rw-r--r--net-misc/taylor-uucp/files/uucp-patch.diff50
-rw-r--r--net-misc/taylor-uucp/metadata.xml6
-rw-r--r--net-misc/taylor-uucp/taylor-uucp-1.06.2.ebuild48
-rw-r--r--net-misc/taylor-uucp/taylor-uucp-1.07-r1.ebuild60
9 files changed, 127 insertions, 160 deletions
diff --git a/net-misc/taylor-uucp/ChangeLog b/net-misc/taylor-uucp/ChangeLog
index 24aa5a057079..d2ad3f6f0c89 100644
--- a/net-misc/taylor-uucp/ChangeLog
+++ b/net-misc/taylor-uucp/ChangeLog
@@ -1,8 +1,18 @@
# ChangeLog for net-misc/taylor-uucp
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/taylor-uucp/ChangeLog,v 1.22 2006/01/09 17:09:10 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/taylor-uucp/ChangeLog,v 1.23 2006/01/09 22:36:07 mrness Exp $
- 09 Jan 2006; Bryan Østergaard <kloeri@gentoo.org metadata.xml:
+*taylor-uucp-1.07-r1 (09 Jan 2006)
+
+ 09 Jan 2006; Alin Nastac <mrness@gentoo.org>
+ +files/taylor-uucp-1.07-gentoo.patch, -files/gentoo-uucp.diff,
+ -files/uucp-patch.diff, metadata.xml, -taylor-uucp-1.06.2.ebuild,
+ +taylor-uucp-1.07-r1.ebuild:
+ Take maintainership of this package. Remove old version. Change lock
+ directory to /var/lock (#96339). Install executables SUIDed and SGIDed,
+ with uucp:uucp as owner:group (#115689).
+
+ 09 Jan 2006; Bryan Østergaard <kloeri@gentoo.org> metadata.xml:
Remove retired dev from metadata.xml
09 May 2005; Olivier Crête <tester@gentoo.org> taylor-uucp-1.07.ebuild:
diff --git a/net-misc/taylor-uucp/Manifest b/net-misc/taylor-uucp/Manifest
index 75f8e3474f15..84557977254f 100644
--- a/net-misc/taylor-uucp/Manifest
+++ b/net-misc/taylor-uucp/Manifest
@@ -1,19 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 79aeb3a4d3360c7a1e3dff8a4dd07b2a ChangeLog 2760
-MD5 3d5cc3426a7f1d61f90822a17a8fef03 files/digest-taylor-uucp-1.06.2 64
+MD5 0d3701852a4d7697c35d852c90934131 ChangeLog 3176
MD5 960bf47654d4d388fad012107bc1dbf4 files/digest-taylor-uucp-1.07 62
+MD5 960bf47654d4d388fad012107bc1dbf4 files/digest-taylor-uucp-1.07-r1 62
MD5 e0bcdeb5dc9bf6eaadbe44c39e65b42d files/gentoo-uucp-1.07.patch 4834
-MD5 0b3506193c11dfcee3c0db510974019a files/gentoo-uucp.diff 5284
-MD5 ece1220b2ccfc902946f5c929dc2f3c9 files/uucp-patch.diff 2107
-MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160
-MD5 135397d55e388ecf5c660b79329a173e taylor-uucp-1.06.2.ebuild 1128
+MD5 72ebf1859e6b971a82be69beb5663033 files/taylor-uucp-1.07-gentoo.patch 5141
+MD5 c7153dc8dc71a5a9a69a5d82b42a76d9 metadata.xml 402
+MD5 f64e130d4068d6b94194f9df1e4c6bec taylor-uucp-1.07-r1.ebuild 1513
MD5 8bfc2717f433d960b3bf7a697b28fae7 taylor-uucp-1.07.ebuild 1286
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDwpkDugEuf3OQ0akRApu9AKCBK/z0IOThnhiTD5HsLZVcG9U0KACdFGnD
-qNf1rurXLIJrWlutvI+1ml8=
-=bqZO
------END PGP SIGNATURE-----
diff --git a/net-misc/taylor-uucp/files/digest-taylor-uucp-1.06.2 b/net-misc/taylor-uucp/files/digest-taylor-uucp-1.06.2
deleted file mode 100644
index bb5a860f4c43..000000000000
--- a/net-misc/taylor-uucp/files/digest-taylor-uucp-1.06.2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 73af81dbd748292421a22141b25a5365 uucp-1.06.2.tar.gz 1492239
diff --git a/net-misc/taylor-uucp/files/digest-taylor-uucp-1.07-r1 b/net-misc/taylor-uucp/files/digest-taylor-uucp-1.07-r1
new file mode 100644
index 000000000000..123ed4fc88ac
--- /dev/null
+++ b/net-misc/taylor-uucp/files/digest-taylor-uucp-1.07-r1
@@ -0,0 +1 @@
+MD5 64c54d43787339a7cced48390eb3e1d0 uucp-1.07.tar.gz 1013234
diff --git a/net-misc/taylor-uucp/files/gentoo-uucp.diff b/net-misc/taylor-uucp/files/taylor-uucp-1.07-gentoo.patch
index bb5ef5a3c54b..11904362c51f 100644
--- a/net-misc/taylor-uucp/files/gentoo-uucp.diff
+++ b/net-misc/taylor-uucp/files/taylor-uucp-1.07-gentoo.patch
@@ -1,41 +1,43 @@
---- uucp-1.06.1/policy.h 1995-08-20 19:36:06.000000000 +0000
-+++ uucp-1.06.1.old/policy.h 2003-04-12 07:33:43.000000000 +0000
-@@ -295,13 +295,14 @@
- these lock files will be placed in the named directory; otherwise
- they will be placed in the default spool directory. On some HDB
- systems the lock files are placed in /etc/locks. On some they are
-- placed in /usr/spool/locks. On the NeXT they are placed in
-- /usr/spool/uucp/LCK. */
--/* #define LOCKDIR "/usr/spool/uucp" */
-+ placed in /var/spool/locks. On the NeXT they are placed in
-+ /var/spool/uucp/LCK. */
-+/* #define LOCKDIR "/var/spool/uucp" */
- /* #define LOCKDIR "/etc/locks" */
--/* #define LOCKDIR "/usr/spool/locks" */
--/* #define LOCKDIR "/usr/spool/uucp/LCK" */
-+/* #define LOCKDIR "/var/spool/locks" */
-+/* #define LOCKDIR "/var/spool/uucp/LCK" */
+diff -Nru uucp-1.07.orig/Makefile.in uucp-1.07/Makefile.in
+--- uucp-1.07.orig/Makefile.in 2003-05-30 04:31:40.000000000 +0300
++++ uucp-1.07/Makefile.in 2006-01-09 23:38:41.470224750 +0200
+@@ -1017,12 +1017,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
+ @HAVE_MKDIR_FALSE@ chown $(OWNER) $(DESTDIR)$(uudirdir)
+ @HAVE_MKDIR_FALSE@ chmod 100 $(DESTDIR)$(uudirdir)
+diff -Nru uucp-1.07.orig/policy.h uucp-1.07/policy.h
+--- uucp-1.07.orig/policy.h 2003-05-29 09:08:45.000000000 +0300
++++ uucp-1.07/policy.h 2006-01-09 23:42:14.667548750 +0200
+@@ -302,8 +302,7 @@
+ /* #define LOCKDIR "/usr/spool/locks" */
+ /* #define LOCKDIR "/usr/spool/uucp/LCK" */
/* #define LOCKDIR "/var/spool/lock" */
-+# define LOCKDIR "/var/lock/subsys"
-
+-/* #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
-@@ -522,7 +523,7 @@
-
- If you define HAVE_HDB_LOGGING, each program will by default use a
- separate log file. For uucico talking to uunet, for example, it
-- will be /usr/spool/uucp/.Log/uucico/uunet. Each line will look
-+ will be /var/spool/uucp/.Log/uucico/uunet. Each line will look
- something like this:
-
- uucp uunet (12/10-09:04:22,16390,1) Receiving uunet/D./D.uunetSwJ72
-@@ -571,16 +572,16 @@
+ 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"
+-/* #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
@@ -43,51 +45,49 @@
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"
+-/* #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
-@@ -643,20 +644,20 @@
+@@ -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"
+-/* #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"
+-/* #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" */
+#define DEBUGFILE "/var/log/uucp/Debug"
#endif /* HAVE_TAYLOR_LOGGING */
-@@ -665,17 +666,19 @@
+@@ -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" */
+#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" */
+#define STATFILE "/var/log/uucp/SYSLOG"
/* The default debugging file when using HAVE_V2_LOGGING. When using
@@ -98,7 +98,7 @@
#endif /* HAVE_V2_LOGGING */
-@@ -688,16 +691,16 @@
+@@ -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. */
diff --git a/net-misc/taylor-uucp/files/uucp-patch.diff b/net-misc/taylor-uucp/files/uucp-patch.diff
deleted file mode 100644
index 134163a65f48..000000000000
--- a/net-misc/taylor-uucp/files/uucp-patch.diff
+++ /dev/null
@@ -1,50 +0,0 @@
-*** uucp-1.06.AL/configure Sun Dec 22 21:38:24 2002
---- uucp-1.06.1/configure Mon Aug 21 07:32:04 1995
-***************
-*** 163,207 ****
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix="$ac_optarg" ;;
-
-- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
-- ac_prev=mandir ;;
-- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
-- mandir=$ac_optarg ;;
--
-- -infodir | --infodir | --infodi | --infod | --info | --inf)
-- ac_prev=infodir ;;
-- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
-- infodir=$ac_optarg ;;
--
-- -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
-- ac_prev=datadir ;;
-- -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
-- | --da=*)
-- datadir=$ac_optarg ;;
--
-- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
-- | --syscon | --sysco | --sysc | --sys | --sy)
-- ac_prev=sysconfdir ;;
-- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
-- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
-- sysconfdir=$ac_optarg ;;
--
-- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
-- | --libexe | --libex | --libe)
-- ac_prev=libexecdir ;;
-- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
-- | --libexe=* | --libex=* | --libe=*)
-- libexecdir=$ac_optarg ;;
--
-- -localstatedir | --localstatedir | --localstatedi | --localstated \
-- | --localstate | --localstat | --localsta | --localst \
-- | --locals | --local | --loca | --loc | --lo)
-- ac_prev=localstatedir ;;
-- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
-- | --localstate=* | --localstat=* | --localsta=* | --localst=* \
-- | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
-- localstatedir=$ac_optarg ;;
--
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
---- 163,168 ----
diff --git a/net-misc/taylor-uucp/metadata.xml b/net-misc/taylor-uucp/metadata.xml
index 20ce219711a2..d16faa4939da 100644
--- a/net-misc/taylor-uucp/metadata.xml
+++ b/net-misc/taylor-uucp/metadata.xml
@@ -2,4 +2,10 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>no-herd</herd>
+<maintainer>
+ <email>mrness@gentoo.org</email>
+ <name>Alin Nastac</name>
+</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.06.2.ebuild b/net-misc/taylor-uucp/taylor-uucp-1.06.2.ebuild
deleted file mode 100644
index 2e1f50315e8b..000000000000
--- a/net-misc/taylor-uucp/taylor-uucp-1.06.2.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/taylor-uucp/taylor-uucp-1.06.2.ebuild,v 1.15 2004/07/01 22:02:04 squinky86 Exp $
-
-inherit eutils
-
-S=${WORKDIR}/uucp-1.06.1 # This should be a .2 bug the package is messed
-IUSE=""
-DESCRIPTION="Taylor UUCP"
-SRC_URI="ftp://ftp.gnu.org/pub/gnu/uucp/uucp-${PV}.tar.gz"
-HOMEPAGE="http://www.airs.com/ian/uucp.html"
-
-KEYWORDS="x86 sparc "
-LICENSE="GPL-2"
-SLOT="0"
-
-DEPEND="virtual/libc"
-
-src_compile() {
- epatch ${FILESDIR}/gentoo-uucp.diff
-
- sh configure
- make || die
-}
-
-src_install() {
- dodir /usr/share/man/man1
- dodir /usr/share/man/man8
- dodir /usr/share/info
- dodir /etc/uucp
- dodir /usr/bin
- dodir /usr/sbin
- make \
- 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 || die
- cp sample/* ${D}/etc/uucp
- dodoc COPYING ChangeLog MANIFEST NEWS README TODO
-}
-
-pkg_preinst() {
- usermod -s /bin/bash uucp
-}
diff --git a/net-misc/taylor-uucp/taylor-uucp-1.07-r1.ebuild b/net-misc/taylor-uucp/taylor-uucp-1.07-r1.ebuild
new file mode 100644
index 000000000000..03eab418a865
--- /dev/null
+++ b/net-misc/taylor-uucp/taylor-uucp-1.07-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/taylor-uucp/taylor-uucp-1.07-r1.ebuild,v 1.1 2006/01/09 22:36:07 mrness Exp $
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="Taylor UUCP"
+HOMEPAGE="http://www.airs.com/ian/uucp.html"
+SRC_URI="ftp://ftp.gnu.org/pub/gnu/uucp/uucp-${PV}.tar.gz"
+
+IUSE=""
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
+
+DEPEND=">=sys-apps/sed-4"
+RDEPEND=""
+
+S="${WORKDIR}/uucp-1.07"
+
+src_unpack() {
+ unpack ${A}
+
+ epatch "${FILESDIR}/${P}-gentoo.patch"
+ #disable lazy bindings
+ sed -i -e "s:^LDFLAGS *=.*\$:& ${LDFLAGS} $(bindnow-flags):" "${S}/Makefile.in"
+}
+
+src_compile() {
+ econf --with-newconfigdir=/etc/uucp || die "configure failed"
+ make || die "make failed"
+}
+
+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
+
+ make \
+ "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 || die "make install failed"
+ sed -i -e 's:/usr/spool:/var/spool:g' sample/config
+ cp sample/* "${D}/etc/uucp"
+ dodoc ChangeLog NEWS README TODO
+}
+
+pkg_preinst() {
+ usermod -s /bin/bash uucp
+}