Gentoo Archives: gentoo-commits

From: "Peter Alfredsen (loki_val)" <loki_val@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-ftp/bareftp/files: bareftp-0.2.2-script.patch
Date: Tue, 21 Apr 2009 14:52:52
Message-Id: E1LwHL8-0000Im-F9@stork.gentoo.org
1 loki_val 09/04/21 14:52:50
2
3 Added: bareftp-0.2.2-script.patch
4 Log:
5 Initial commit. Ebuild by Sebastian Magrí <sebasmagri@×××××.com> . Bug 266932.
6 (Portage version: 2.2_rc28/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 net-ftp/bareftp/files/bareftp-0.2.2-script.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/bareftp/files/bareftp-0.2.2-script.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/bareftp/files/bareftp-0.2.2-script.patch?rev=1.1&content-type=text/plain
13
14 Index: bareftp-0.2.2-script.patch
15 ===================================================================
16 diff -NrU5 bareftp-0.2.2.orig/bareftp.in bareftp-0.2.2/bareftp.in
17 --- bareftp-0.2.2.orig/bareftp.in 1970-01-01 01:00:00.000000000 +0100
18 +++ bareftp-0.2.2/bareftp.in 2009-04-21 15:30:53.000000000 +0200
19 @@ -0,0 +1,2 @@
20 +#!/bin/sh
21 +exec @MONO@ @libdir@/bareftp/bareftp.exe $MONO_EXTRA_ARGS "$@"
22 diff -NrU5 bareftp-0.2.2.orig/configure.ac bareftp-0.2.2/configure.ac
23 --- bareftp-0.2.2.orig/configure.ac 2009-04-21 15:37:34.000000000 +0200
24 +++ bareftp-0.2.2/configure.ac 2009-04-21 16:01:52.000000000 +0200
25 @@ -61,10 +61,12 @@
26 AC_SUBST(LOCALE_DIR)
27
28 AC_OUTPUT([
29 Makefile
30
31 +bareftp
32 +
33 m4/Makefile
34
35 data/Makefile
36 data/icon-theme/Makefile
37 po/Makefile.in
38 diff -NrU5 bareftp-0.2.2.orig/Makefile.am bareftp-0.2.2/Makefile.am
39 --- bareftp-0.2.2.orig/Makefile.am 2009-04-21 15:37:34.000000000 +0200
40 +++ bareftp-0.2.2/Makefile.am 2009-04-21 16:02:18.000000000 +0200
41 @@ -1,5 +1,6 @@
42 +ACLOCAL_AMFLAGS = -I m4/shamrock -I m4/bareftp
43
44 bin_SCRIPTS = bareftp
45 EXTRA_DIST = \
46 script.in \
47 intltool-extract.in \
48 @@ -13,16 +14,10 @@
49 data \
50 src \
51 m4 \
52 po
53
54 -REWRITE = \
55 - sed -e "s|\@prefix\@|$(prefix)|g" \
56 - -e "s|\@pkglibdir\@|$(pkglibdir)|g" \
57 - -e "s|\@bindir\@|$(bindir)|g" \
58 - -e "s|\@MONO\@|$(MONO)|g"
59 -
60 DISTCLEANFILES = \
61 *.bak \
62 *~ \
63 *.pidb \
64 intltool-extract \
65 @@ -45,9 +40,5 @@
66 intltool-extract.in \
67 intltool-merge.in \
68 intltool-update.in \
69 mkinstalldirs \
70 $(bin_SCRIPTS)
71 -
72 -$(bin_SCRIPTS): $(srcdir)/script.in Makefile
73 - $(REWRITE) $(srcdir)/script.in > $@.tmp
74 - mv $@.tmp $@
75 diff -NrU5 bareftp-0.2.2.orig/script.in bareftp-0.2.2/script.in
76 --- bareftp-0.2.2.orig/script.in 2009-04-21 15:37:34.000000000 +0200
77 +++ bareftp-0.2.2/script.in 1970-01-01 01:00:00.000000000 +0100
78 @@ -1,2 +0,0 @@
79 -#!/bin/sh
80 -exec @MONO@ @prefix@/lib/bareftp/bareftp.exe $MONO_EXTRA_ARGS "$@"