Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/sitecopy: sitecopy-0.16.6-r1.ebuild ChangeLog sitecopy-0.16.6_p3.ebuild
Date: Sat, 31 Jan 2015 00:21:32
Message-Id: 20150131002127.D546910B91@oystercatcher.gentoo.org
1 idella4 15/01/31 00:21:27
2
3 Modified: ChangeLog
4 Added: sitecopy-0.16.6-r1.ebuild
5 Removed: sitecopy-0.16.6_p3.ebuild
6 Log:
7 bump subsequent to bug #500070, new patches to match, bump EAPI, removed -0.16.6_p3, all wrt bug #500070
8
9 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
10
11 Revision Changes Path
12 1.57 net-misc/sitecopy/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/sitecopy/ChangeLog?rev=1.57&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/sitecopy/ChangeLog?rev=1.57&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/sitecopy/ChangeLog?r1=1.56&r2=1.57
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-misc/sitecopy/ChangeLog,v
21 retrieving revision 1.56
22 retrieving revision 1.57
23 diff -u -r1.56 -r1.57
24 --- ChangeLog 15 Jan 2013 21:22:22 -0000 1.56
25 +++ ChangeLog 31 Jan 2015 00:21:27 -0000 1.57
26 @@ -1,6 +1,20 @@
27 # ChangeLog for net-misc/sitecopy
28 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-misc/sitecopy/ChangeLog,v 1.56 2013/01/15 21:22:22 hwoarang Exp $
30 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/net-misc/sitecopy/ChangeLog,v 1.57 2015/01/31 00:21:27 idella4 Exp $
32 +
33 +*sitecopy-0.16.6-r1 (31 Jan 2015)
34 +
35 + 31 Jan 2015; Ian Delaney <idella4@g.o>
36 + +files/sitecopy-0.16.6-01-remote-dynamic-rc.patch,
37 + +files/sitecopy-0.16.6-02-french-po-fix.patch,
38 + +files/sitecopy-0.16.6-03-wrong-memory-397155.patch,
39 + +files/sitecopy-0.16.6-06-sftpdriver.c-fix-for-new-openssh.patch,
40 + +files/sitecopy-0.16.6-10-bts410703-preserve-storage-files-sigint.patch,
41 + +files/sitecopy-0.16.6-20-bts549721-add-compatibility-for-neon-0.29.0.patch,
42 + +files/sitecopy-0.16.6-30-bts320586-manpage-document-sftp.patch,
43 + +sitecopy-0.16.6-r1.ebuild, -sitecopy-0.16.6_p3.ebuild:
44 + bump subsequent to bug #500070, new patches to match, bump EAPI, removed
45 + -0.16.6_p3, all wrt bug #500070
46
47 15 Jan 2013; Markos Chandras <hwoarang@g.o> metadata.xml:
48 Remove myself from metadata
49
50
51
52 1.1 net-misc/sitecopy/sitecopy-0.16.6-r1.ebuild
53
54 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/sitecopy/sitecopy-0.16.6-r1.ebuild?rev=1.1&view=markup
55 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/sitecopy/sitecopy-0.16.6-r1.ebuild?rev=1.1&content-type=text/plain
56
57 Index: sitecopy-0.16.6-r1.ebuild
58 ===================================================================
59 # Copyright 1999-2015 Gentoo Foundation
60 # Distributed under the terms of the GNU General Public License v2
61 # $Header: /var/cvsroot/gentoo-x86/net-misc/sitecopy/sitecopy-0.16.6-r1.ebuild,v 1.1 2015/01/31 00:21:27 idella4 Exp $
62
63 EAPI=5
64 inherit autotools eutils
65
66 DESCRIPTION="Maintain remote web sites with ease"
67 SRC_URI="http://www.manyfish.co.uk/sitecopy/${P}.tar.gz
68 http://dev.gentoo.org/~idella4/sitecopy-0.16.6-04-manpages-addition-fixes.patch"
69 HOMEPAGE=" http://www.manyfish.co.uk/sitecopy/"
70 # Removed all Debian related stuff. If you want more patches, they can be ported from
71 # http://ftp.debian.org/debian/pool/main/s/sitecopy/
72 # The sitecopy_0.16.6-5.debian.tar.gz contains their build scripts and patches.
73 # This SiteCopy now builds using the original sources.
74 KEYWORDS="~amd64 ~x86"
75
76 LICENSE="GPL-2"
77 SLOT="0"
78 IUSE="expat nls rsh ssl webdav xml zlib"
79
80 # TODO: Depends copied over from old ebuild file, ensure they're still correct!
81 DEPEND="rsh? ( net-misc/netkit-rsh )
82 >=net-libs/neon-0.24.6[zlib?,ssl?,expat?]
83 <=net-libs/neon-0.30.9999[zlib?,ssl?,expat?]
84 xml? ( >=net-libs/neon-0.24.6[-expat] )"
85 RDEPEND="${DEPEND}"
86
87 src_prepare() {
88 # NOTE: Insert patches here.
89 # SiteCopy patches are being currently pulled & ported from
90 # http://ftp.debian.org/debian/pool/main/s/sitecopy/
91 # Consider SiteCopy to be more or less being actively maintained by
92 # Debian maintainers, but GPL patches ported into Gentoo.
93
94 # NOTE: epatch is provided by 'inherit eutils'
95 # Patch File Naming Format
96 # files/package_name - package_version - patch_order - patch_description
97
98 epatch "${FILESDIR}/sitecopy-0.16.6-01-remote-dynamic-rc.patch" \
99 "${FILESDIR}/sitecopy-0.16.6-02-french-po-fix.patch" \
100 "${FILESDIR}/sitecopy-0.16.6-03-wrong-memory-397155.patch" \
101 "${FILESDIR}/sitecopy-0.16.6-06-sftpdriver.c-fix-for-new-openssh.patch" \
102 "${FILESDIR}/sitecopy-0.16.6-10-bts410703-preserve-storage-files-sigint.patch" \
103 "${FILESDIR}/sitecopy-0.16.6-20-bts549721-add-compatibility-for-neon-0.29.0.patch" \
104 "${FILESDIR}/sitecopy-0.16.6-30-bts320586-manpage-document-sftp.patch" \
105 "${DISTDIR}/sitecopy-0.16.6-04-manpages-addition-fixes.patch"
106
107 # Source package uses incorrect '/usr/doc' for the doc folder. So use
108 # sed to correct this error.
109 sed -i -e "s:docdir \= .*:docdir \= \$\(prefix\)\/share/doc\/${PF}:" \
110 Makefile.in || die "Documentation directory patching failed"
111
112 # NOTE: eautoconf/eautomake is provided by 'inherit autotools'
113 # Need to recreate the source package provided configure script,
114 # because the package provided configure script only supports
115 # <neon-0.30.0 support. A patch above patches the configure.in
116 # providing neon-0.30.0 support, and we then recreate the configure
117 # script based upon configure.in using autotools.
118
119 # First move configure.in to configure.ac, required by newer >autoconf-2.13
120 # per Bug #426262 automake-1.14 compatibility
121 # Should check first, autoconf-2.13 is still in the tree requiring configure.in!
122 # mv configure.in configure.ac || die
123
124 eautoconf
125 eautomake
126 }
127
128 src_configure() {
129 # TODO: USE functions copied over from old ebuild file, ensure they're still correct!
130 econf $(use_with ssl ssl openssl) \
131 $(use_enable webdav) \
132 $(use_enable nls) \
133 $(use_enable rsh) \
134 $(use_with expat) \
135 $(use_with xml libxml2 ) \
136 --with-neon \
137 || die "econf failed"
138 }
139
140 src_compile() {
141 emake || die "emake failed"
142 }
143
144 src_install() {
145 emake DESTDIR="${D}" install || die "emake install failed"
146 }