summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2003-11-14 22:29:47 +0000
committerSeemant Kulleen <seemant@gentoo.org>2003-11-14 22:29:47 +0000
commit3744f59c27bcf55efa420ca15292f9f5c12efeda (patch)
tree0d138edf3b8a8524c05e1f483dc83566366d0c5f /app-arch/sharutils
parentgzip_x86 from sys-apps to app-arch (diff)
downloadhistorical-3744f59c27bcf55efa420ca15292f9f5c12efeda.tar.gz
historical-3744f59c27bcf55efa420ca15292f9f5c12efeda.tar.bz2
historical-3744f59c27bcf55efa420ca15292f9f5c12efeda.zip
move to app-arch
Diffstat (limited to 'app-arch/sharutils')
-rw-r--r--app-arch/sharutils/ChangeLog55
-rw-r--r--app-arch/sharutils/Manifest4
-rw-r--r--app-arch/sharutils/files/digest-sharutils-4.2.1-r61
-rw-r--r--app-arch/sharutils/files/sharutils-4.2.1-r6-gentoo.diff105
-rw-r--r--app-arch/sharutils/sharutils-4.2.1-r6.ebuild64
5 files changed, 229 insertions, 0 deletions
diff --git a/app-arch/sharutils/ChangeLog b/app-arch/sharutils/ChangeLog
new file mode 100644
index 000000000000..6a3599f0d1fd
--- /dev/null
+++ b/app-arch/sharutils/ChangeLog
@@ -0,0 +1,55 @@
+# ChangeLog for app-arch/sharutils
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/sharutils/ChangeLog,v 1.1 2003/11/14 22:29:43 seemant Exp $
+
+*sharutils-4.2.1-r6 (14 Nov 2003)
+
+ 14 Nov 2003; Seemant Kulleen <seemant@gentoo.org> sharutils-4.2.1-r6.ebuild,
+ files/sharutils-4.2.1-r6-gentoo.diff:
+ moved from sys-apps to app-arch
+
+ 01 Nov 2003; Seemant Kulleen <seemant@gentoo.org> sharutils-4.2.1-r6.ebuild:
+ point SRC_URI to gentoo mirrors first closing bug #32520 by Stony Yakovac
+ <stonyy@tek.com>
+
+*sharutils-4.2.1-r6 (10 Mar 2003)
+
+ 10 Mar 2003; Seemant Kulleen <seemant@gentoo.org> sharutils-4.2.1-r4.ebuild,
+ sharutils-4.2.1-r4.ebuild, sharutils-4.2.1-r5.ebuild,
+ sharutils-4.2.1-r5.ebuild, sharutils-4.2.1-r6.ebuild:
+ use epatch instead
+
+ 20 Feb 2003; Zach Welch <zwelch@gentoo.org> sharutuls-4.2.1-r6.ebuild :
+ Added arm to keywords.
+
+ 09 Feb 2003; Guy Martin <gmsoft@gentoo.org> sharutuls-4.2.1-r6.ebuild :
+ Added hppa to keywords.
+
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+
+*sharutuls-4.2.1-r6 (30 Oct 2002)
+
+ 30 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> :
+ uudecoe security update. Made mailshar.in use mktemp.
+
+*sharutils-4.2.1-r5 (17 Mar 2002)
+
+ 14 Jul 2002; phoen][x <phoenix@gentoo.org> sharutils-4.2.1-r5.ebuild :
+ Added LICENSE, KEYWORDS, SLOT.
+
+ 17 Mar 2002; Seemant Kulleen <seemant@gentoo.org> sharutils-4.2.1-r5 :
+
+ Added USE dependent nls compilation.
+
+*sharutils-4.2.1-r4 (1 Feb 2002)
+
+ 14 Jul 2002; phoen][x <phoenix@gentoo.org> sharutils-4.2.1-r4.ebuild :
+ Added LICENSE, KEYWORDS, SLOT.
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/app-arch/sharutils/Manifest b/app-arch/sharutils/Manifest
new file mode 100644
index 000000000000..54e1fb1a2a5d
--- /dev/null
+++ b/app-arch/sharutils/Manifest
@@ -0,0 +1,4 @@
+MD5 7c8f80423710ca54bbf74aac2a9ae76c sharutils-4.2.1-r6.ebuild 1395
+MD5 b1924d19cb8434b61d5f38bad51332db ChangeLog 2084
+MD5 a0ed4cfc65c5d37392c6b3816d3fbdbe files/digest-sharutils-4.2.1-r6 67
+MD5 7d4e2f6e03e950c25babc22219bee53d files/sharutils-4.2.1-r6-gentoo.diff 3253
diff --git a/app-arch/sharutils/files/digest-sharutils-4.2.1-r6 b/app-arch/sharutils/files/digest-sharutils-4.2.1-r6
new file mode 100644
index 000000000000..afb942300ec9
--- /dev/null
+++ b/app-arch/sharutils/files/digest-sharutils-4.2.1-r6
@@ -0,0 +1 @@
+MD5 b8ba1d409f07edcb335ff72a27bd9828 sharutils-4.2.1.tar.gz 306022
diff --git a/app-arch/sharutils/files/sharutils-4.2.1-r6-gentoo.diff b/app-arch/sharutils/files/sharutils-4.2.1-r6-gentoo.diff
new file mode 100644
index 000000000000..6f8ef97973b1
--- /dev/null
+++ b/app-arch/sharutils/files/sharutils-4.2.1-r6-gentoo.diff
@@ -0,0 +1,105 @@
+diff -r -C2 sharutils-4.2.1.orig/doc/remsync.texi sharutils-4.2.1/doc/remsync.texi
+*** sharutils-4.2.1.orig/doc/remsync.texi Thu Nov 30 18:15:37 1995
+--- sharutils-4.2.1/doc/remsync.texi Fri Aug 3 18:57:02 2001
+***************
+*** 8,11 ****
+--- 8,15 ----
+
+ @ifinfo
++
++ @direntry
++ * remsync: (remsync). Synchronize remote files (sharutils).
++ @end direntry
+ This file documents the @code{remsync} command and friends, which have
+ the purpose of synchronizing remote directory trees using email.
+diff -r -C2 sharutils-4.2.1.orig/doc/sharutils.texi sharutils-4.2.1/doc/sharutils.texi
+*** sharutils-4.2.1.orig/doc/sharutils.texi Fri Nov 24 21:42:52 1995
+--- sharutils-4.2.1/doc/sharutils.texi Fri Aug 3 18:29:43 2001
+***************
+*** 16,31 ****
+
+ @ifinfo
+! @format
+! START-INFO-DIR-ENTRY
+ * Shar utilities: (sharutils). GNU shar utilities.
+! * mail-files: (sharutils)mail-files invocation. Send files to remote site.
+! * mailshar: (sharutils)mailshar invocation. Make and send a shell archive.
+! * remsync: (sharutils)remsync invocation. Synchronize remote files.
+! * shar: (sharutils)shar invocation. Make a shell archive.
+! * unshar: (sharutils)unshar invocation. Explode a shell archive.
+! * uudecode: (sharutils)uudecode invocation. Restore file from 7-bits.
+! * uuencode: (sharutils)uuencode invocation. Force binary file to 7-bits.
+! END-INFO-DIR-ENTRY
+! @end format
+ @end ifinfo
+
+--- 16,22 ----
+
+ @ifinfo
+! @direntry
+ * Shar utilities: (sharutils). GNU shar utilities.
+! @end direntry
+ @end ifinfo
+
+--- sharutils-4.2.1/src/uudecode.c.orig Sat Apr 13 01:26:31 2002
++++ sharutils-4.2.1/src/uudecode.c Sat Apr 13 01:30:32 2002
+@@ -81,6 +81,9 @@
+ /* Single character decode. */
+ #define DEC(Char) (((Char) - ' ') & 077)
+
++#if !defined S_ISLNK && defined S_IFLNK
++# define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK)
++#endif
+
+ static int
+ read_stduu (inname)
+@@ -279,6 +282,7 @@
+ char buf[2 * BUFSIZ];
+ char *outname;
+ int do_base64 = 0;
++ struct stat attr;
+
+ /* Search for header line. */
+
+@@ -337,6 +341,23 @@
+ }
+ }
+
++ /* Check out file if it exists */
++ if (strcmp (outname, "/dev/stdout") != 0 && strcmp (outname, "-") != 0
++ && !access(outname, F_OK)) {
++ if (lstat(outname, &attr) == -1) {
++ error (0, errno, _("cannot access %s"), outname);
++ return 1;
++ }
++ if (S_ISFIFO(attr.st_mode)){
++ error (0, errno, _("denied writing FIFO (%s)"), outname);
++ return 1;
++ }
++ if (S_ISLNK(attr.st_mode)) {
++ error (0, errno, _("not following symlink (%s)"), outname);
++ return 1;
++ }
++ }
++
+ /* Create output file and set mode. */
+
+ if (strcmp (outname, "/dev/stdout") != 0 && strcmp (outname, "-") != 0
+
+
+
+--- sharutils-4.2.1/src/mailshar.in.orig Fri May 11 21:45:29 2001
++++ sharutils-4.2.1/src/mailshar.in Fri May 11 21:50:40 2001
+@@ -33,7 +33,11 @@
+ If none of -MTBzZ are given, -z is automatically selected if *none*
+ of the FILEs have an .arc, .exz, .gif, .z, .gz, .Z, .zip or .zoo suffix."
+
+-temp=/usr/tmp/$$.shar
++temp=`mktemp -q /tmp/$0.XXXXXX`
++if [ $? -ne 0 ]; then
++ echo "$0: Can't create temp file, exiting..."
++ exit 1
++fi
+
+ ### Decode the options.
+
diff --git a/app-arch/sharutils/sharutils-4.2.1-r6.ebuild b/app-arch/sharutils/sharutils-4.2.1-r6.ebuild
new file mode 100644
index 000000000000..2990ae0f9c1e
--- /dev/null
+++ b/app-arch/sharutils/sharutils-4.2.1-r6.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/sharutils/sharutils-4.2.1-r6.ebuild,v 1.1 2003/11/14 22:29:43 seemant Exp $
+
+inherit eutils
+
+IUSE="nls"
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Tools to deal with shar archives"
+HOMEPAGE="http://www.gnu.org/software/sharutils/"
+SRC_URI="mirror://gentoo/${P}.tar.gz
+ mirror://gnu/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 amd64 ppc sparc alpha hppa arm ia64"
+
+DEPEND="sys-apps/texinfo
+ nls? ( >=sys-devel/gettext-0.10.35 )"
+
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PF}-gentoo.diff
+
+ cd ${S}/po
+ mv nl.po nl.po.orig
+ sed -e 's/aangemaakt/aangemaakt\\n/' nl.po.orig > nl.po
+ mv pt.po pt.po.orig
+ sed -e 's/de %dk/de %dk\\n/' pt.po.orig > pt.po
+}
+
+src_compile() {
+ local myconf
+ use nls || myconf="${myconf} --disable-nls"
+
+ ./configure --host=${CHOST} --prefix=/usr ${myconf} || die
+ make ${MAKEOPTS} localedir=/usr/share/locale || die
+}
+
+src_install() {
+ make \
+ prefix=${D}/usr \
+ localedir=${D}/usr/share/locale \
+ infodir=${D}/usr/share/info \
+ install || die
+
+ doman doc/*.[15]
+ #Remove some strange locals
+ cd ${D}/usr/share/locale
+ for i in *.
+ do
+ rm -rf ${i}
+ done
+ rm -rf ${D}/usr/lib
+
+ cd ${S}
+ dodoc AUTHORS BACKLOG COPYING ChangeLog ChangeLog.OLD \
+ NEWS README README.OLD THANKS TODO
+}
+
+