summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-01-16 16:06:55 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-01-16 16:06:55 +0000
commit2f2900a3d939f8c7bb4ef0a45e68eced6f67c4c8 (patch)
treef8b1a91cf72d72d74a49ca3320f08a245d598994 /net-p2p
parentStable on amd64; bug 204351 (diff)
downloadhistorical-2f2900a3d939f8c7bb4ef0a45e68eced6f67c4c8.tar.gz
historical-2f2900a3d939f8c7bb4ef0a45e68eced6f67c4c8.tar.bz2
historical-2f2900a3d939f8c7bb4ef0a45e68eced6f67c4c8.zip
Version bump wrt #196173, ebuild by Albert Zeyer <ich at az2000 dot de>
Package-Manager: portage-2.1.4
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/syrep/ChangeLog10
-rw-r--r--net-p2p/syrep/Manifest38
-rw-r--r--net-p2p/syrep/files/digest-syrep-0.63
-rw-r--r--net-p2p/syrep/files/digest-syrep-0.93
-rw-r--r--net-p2p/syrep/files/syrep-0.6-gentoo.diff172
-rw-r--r--net-p2p/syrep/syrep-0.9.ebuild (renamed from net-p2p/syrep/syrep-0.6.ebuild)20
6 files changed, 34 insertions, 212 deletions
diff --git a/net-p2p/syrep/ChangeLog b/net-p2p/syrep/ChangeLog
index 0580443157ab..b90bb0060efd 100644
--- a/net-p2p/syrep/ChangeLog
+++ b/net-p2p/syrep/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-p2p/syrep
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/syrep/ChangeLog,v 1.3 2007/02/09 05:01:00 flameeyes Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/syrep/ChangeLog,v 1.4 2008/01/16 16:06:54 armin76 Exp $
+
+*syrep-0.9 (16 Jan 2008)
+
+ 16 Jan 2008; Raúl Porcel <armin76@gentoo.org>
+ -files/syrep-0.6-gentoo.diff, -syrep-0.6.ebuild, +syrep-0.9.ebuild:
+ Version bump wrt #196173, ebuild by Albert Zeyer <ich at az2000 dot de>
09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
diff --git a/net-p2p/syrep/Manifest b/net-p2p/syrep/Manifest
index e6da9f4ef705..2ff6450c630b 100644
--- a/net-p2p/syrep/Manifest
+++ b/net-p2p/syrep/Manifest
@@ -1,30 +1,16 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX syrep-0.6-gentoo.diff 6243 RMD160 8c09af0d0edc4f19da540c45a06c92115503324b SHA1 3c026f01ddd4fc27ca9374cd8d4f027cb1521844 SHA256 bafbca5235f84e9c226059ea9dfb0f18f5e36ee40bdc7c1f0fa131df176d6df8
-MD5 77db216ecabf366edb645bc535a28321 files/syrep-0.6-gentoo.diff 6243
-RMD160 8c09af0d0edc4f19da540c45a06c92115503324b files/syrep-0.6-gentoo.diff 6243
-SHA256 bafbca5235f84e9c226059ea9dfb0f18f5e36ee40bdc7c1f0fa131df176d6df8 files/syrep-0.6-gentoo.diff 6243
-DIST syrep-0.6.tar.gz 143012 RMD160 7d3b6608ec44cbe210bd6ffdfd087dcb5f831759 SHA1 8b4ee89239083ba82f359fede0a609e7ced3cbbd SHA256 e24ab3cc2cdc4517d5b0df36918e0be9a165d35c35074f0589fb472c157106ed
-EBUILD syrep-0.6.ebuild 1032 RMD160 66b6ad9e4f7362089520332ba406539dd42851bb SHA1 767f39755c657166ff09b8f5328b6fdabcbf14eb SHA256 dcc1afde10a419a4f08f6ab0f1a972dd886ffedebd9352e9d9925d6dae4df5fc
-MD5 fd4f1cc63b4ef51688156e31f224723b syrep-0.6.ebuild 1032
-RMD160 66b6ad9e4f7362089520332ba406539dd42851bb syrep-0.6.ebuild 1032
-SHA256 dcc1afde10a419a4f08f6ab0f1a972dd886ffedebd9352e9d9925d6dae4df5fc syrep-0.6.ebuild 1032
-MISC ChangeLog 593 RMD160 7309dfc584d9db50bb59ac429afa5305ec51f0ab SHA1 e70b80faf3fdbd98d8e682f9275bd3c0dc70ca6a SHA256 f0986092f92f18c30e9818deb137b19b262300afdb039a99a0c1eb994c4cd597
-MD5 3b206c3b8b63d84b7223488f1cf54061 ChangeLog 593
-RMD160 7309dfc584d9db50bb59ac429afa5305ec51f0ab ChangeLog 593
-SHA256 f0986092f92f18c30e9818deb137b19b262300afdb039a99a0c1eb994c4cd597 ChangeLog 593
+DIST syrep-0.9.tar.gz 192317 RMD160 6f5666647688952d7b4eb8f71a94ba969ac4b77c SHA1 a3a45d26ddeb7ac5c28199c4a1eddf56420d0ad5 SHA256 b4072bdd0eef99fdd57a0758e99be8d15917d0ba90cd67e1ffa0832de2568ed2
+EBUILD syrep-0.9.ebuild 1112 RMD160 c2616a2c48a6be79886526d2d5cab8dd9680a708 SHA1 b0b918097ccabf9f383cf20341ce5cd1e7e42670 SHA256 de134785a115f1dde2269a81a8e1ab37863d7f333a32ffe3d99fd2ace815579d
+MD5 19665cfefbd10cb002e3143254b0fc3a syrep-0.9.ebuild 1112
+RMD160 c2616a2c48a6be79886526d2d5cab8dd9680a708 syrep-0.9.ebuild 1112
+SHA256 de134785a115f1dde2269a81a8e1ab37863d7f333a32ffe3d99fd2ace815579d syrep-0.9.ebuild 1112
+MISC ChangeLog 811 RMD160 59a16f8f619c2bcec25fed2ebf180ce9c2b76ac2 SHA1 e0c474b5df2ce4832c3706cd480a19ed55ac6d98 SHA256 812cfbe8e39cd89f1f4ff4134a28200c5e2fd875bd0f5acebc4ffe54bf9fe130
+MD5 cd4676a338a3d4e6d0b884aefbea75ea ChangeLog 811
+RMD160 59a16f8f619c2bcec25fed2ebf180ce9c2b76ac2 ChangeLog 811
+SHA256 812cfbe8e39cd89f1f4ff4134a28200c5e2fd875bd0f5acebc4ffe54bf9fe130 ChangeLog 811
MISC metadata.xml 161 RMD160 419e26d02ec2be8f627f0b1b25aeb1698a713ee9 SHA1 dd595b6a10af8706aa3470451dcae25df3c21522 SHA256 7319e52af87b7cdfc644d720749750d9b182db438b40d6dd0ebc60c4e6c51eba
MD5 7ccbeb22ff3b2ed925f6ec8c25c13fe4 metadata.xml 161
RMD160 419e26d02ec2be8f627f0b1b25aeb1698a713ee9 metadata.xml 161
SHA256 7319e52af87b7cdfc644d720749750d9b182db438b40d6dd0ebc60c4e6c51eba metadata.xml 161
-MD5 6f8767184f6be7272d78479529bd1ce1 files/digest-syrep-0.6 229
-RMD160 b6b22e2de8852cc8ec3ae32cddd2320ee979e8bd files/digest-syrep-0.6 229
-SHA256 aa442e6bba470e76e200da79c9e09488ba72916a44f145c3a08adc8fde729289 files/digest-syrep-0.6 229
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.2 (GNU/Linux)
-
-iD8DBQFFzAASAiZjviIA2XgRAuJgAKDLkYwc8yffVOoVdtdKeniiCjUAogCfbqw5
-Yv8vT7w52OiXdnexdvV50pI=
-=DvJi
------END PGP SIGNATURE-----
+MD5 2f36d2a1d039825fb98c44abbb7c3301 files/digest-syrep-0.9 229
+RMD160 d6591275696e017af8740eee10e0b3b0391847dc files/digest-syrep-0.9 229
+SHA256 811127c4ad1bd3ce5061fae82fc14690b214e2aca049ad1b28a5723aeda8ea64 files/digest-syrep-0.9 229
diff --git a/net-p2p/syrep/files/digest-syrep-0.6 b/net-p2p/syrep/files/digest-syrep-0.6
deleted file mode 100644
index 6e67c10e2524..000000000000
--- a/net-p2p/syrep/files/digest-syrep-0.6
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 02e1faedfdd7bb23b5dfa8858b1f02dc syrep-0.6.tar.gz 143012
-RMD160 7d3b6608ec44cbe210bd6ffdfd087dcb5f831759 syrep-0.6.tar.gz 143012
-SHA256 e24ab3cc2cdc4517d5b0df36918e0be9a165d35c35074f0589fb472c157106ed syrep-0.6.tar.gz 143012
diff --git a/net-p2p/syrep/files/digest-syrep-0.9 b/net-p2p/syrep/files/digest-syrep-0.9
new file mode 100644
index 000000000000..12142892310a
--- /dev/null
+++ b/net-p2p/syrep/files/digest-syrep-0.9
@@ -0,0 +1,3 @@
+MD5 b8f1f5c206ad1e455d79e286a0e299ab syrep-0.9.tar.gz 192317
+RMD160 6f5666647688952d7b4eb8f71a94ba969ac4b77c syrep-0.9.tar.gz 192317
+SHA256 b4072bdd0eef99fdd57a0758e99be8d15917d0ba90cd67e1ffa0832de2568ed2 syrep-0.9.tar.gz 192317
diff --git a/net-p2p/syrep/files/syrep-0.6-gentoo.diff b/net-p2p/syrep/files/syrep-0.6-gentoo.diff
deleted file mode 100644
index 4d81af0ddbf5..000000000000
--- a/net-p2p/syrep/files/syrep-0.6-gentoo.diff
+++ /dev/null
@@ -1,172 +0,0 @@
-diff -urN syrep-0.6.orig/configure syrep-0.6/configure
---- syrep-0.6.orig/configure 2004-12-22 22:46:14.000000000 -0500
-+++ syrep-0.6/configure 2004-12-22 23:59:50.000772536 -0500
-@@ -2830,7 +2830,7 @@
-
- # If using GCC specifiy some additional parameters
- if test "x$GCC" = "xyes" ; then
-- CFLAGS="$CFLAGS -pipe -Wall -W -Wno-unused-parameter"
-+ CFLAGS="$CFLAGS -Wall -W -Wno-unused-parameter"
- fi
-
- if type -p stow > /dev/null && test -d /usr/local/stow ; then
-diff -urN syrep-0.6.orig/src/forget.c syrep-0.6/src/forget.c
---- syrep-0.6.orig/src/forget.c 2004-12-22 22:46:14.000000000 -0500
-+++ syrep-0.6/src/forget.c 2004-12-22 23:59:06.277419496 -0500
-@@ -168,7 +168,7 @@
-
- t = args.remember_arg*24*60*60;
- time(&now);
-- limit = t > now ? 0 : now-t;
-+ limit = (time_t)t > now ? 0 : now-t;
-
- if (args.verbose_flag) {
- fprintf(stderr, "Current time is %s", ctime(&now));
-diff -urN syrep-0.6.orig/src/merge.c syrep-0.6/src/merge.c
---- syrep-0.6.orig/src/merge.c 2004-12-22 22:46:14.000000000 -0500
-+++ syrep-0.6/src/merge.c 2004-12-22 23:59:06.277419496 -0500
-@@ -153,7 +153,7 @@
- const char *p;
- char *d;
-
-- for (p = path, d = dst; *p && d-dst < l-1; p++) {
-+ for (p = path, d = dst; *p && d-dst < (signed)l-1; p++) {
- if (*p == '/') {
- *(d++) = '%';
- *(d++) = '2';
-diff -urN syrep-0.6.orig/src/package.c syrep-0.6/src/package.c
---- syrep-0.6.orig/src/package.c 2004-12-22 22:46:14.000000000 -0500
-+++ syrep-0.6/src/package.c 2004-12-22 23:59:06.277419496 -0500
-@@ -181,7 +181,7 @@
- goto finish;
- }
-
-- if (n != t) {
-+ if (n != (ssize_t)t) {
- if ((r = (void*) p->write_z.next_in - d) > 0)
- r --;
-
-@@ -212,7 +212,7 @@
- size_t t = MIN(l, CBUFSIZE);
- ssize_t n;
-
-- if ((n = loop_read(sfd, buf, t)) != t) {
-+ if ((n = loop_read(sfd, buf, t)) != (ssize_t)t) {
- fprintf(stderr, "read() : %s\n", n < 0 ? strerror(errno) : "EOF");
- goto finish;
- }
-@@ -245,10 +245,10 @@
- size_t t = MIN(l, CBUFSIZE);
- ssize_t n;
-
-- if (package_read(p, buf, t) != t)
-+ if (package_read(p, buf, t) != (ssize_t)t)
- goto finish;
-
-- if ((n = loop_write(dfd, buf, t)) != t) {
-+ if ((n = loop_write(dfd, buf, t)) != (ssize_t)t) {
- fprintf(stderr, "write() : %s\n", n < 0 ? strerror(errno) : "EOF");
- goto finish;
- }
-@@ -360,7 +360,7 @@
-
- t = (void*) p->write_z.next_out - p->write_zbuf;
- if (t) {
-- if ((n = loop_write(p->write_fd, p->write_zbuf, t)) != t) {
-+ if ((n = loop_write(p->write_fd, p->write_zbuf, t)) != (ssize_t)t) {
- fprintf(stderr, "loop_write(): %s\n", n < 0 ? strerror(errno) : "EOF");
- r = -1;
- break;
-diff -urN syrep-0.6.orig/src/syrep.c syrep-0.6/src/syrep.c
---- syrep-0.6.orig/src/syrep.c 2004-12-22 22:46:14.000000000 -0500
-+++ syrep-0.6/src/syrep.c 2004-12-22 23:59:06.276419648 -0500
-@@ -262,7 +262,7 @@
- if (args.inputs_num < 1)
- fprintf(stderr, "WARNING: No repository or snapshot to specified!\n");
-
-- for (i = 0; i < args.inputs_num; i++) {
-+ for (i = 0; (unsigned)i < args.inputs_num; i++) {
- static char saved_cwd[PATH_MAX];
-
- if (args.local_temp_flag && isdirectory(args.inputs[i]) >= 1) {
-@@ -281,7 +281,7 @@
- fprintf(stderr, "*** %s ***\n", path);
-
- if (m && args.output_directory_given) {
-- if (getcwd(saved_cwd, sizeof(saved_cwd)) < 0) {
-+ if (getcwd(saved_cwd, sizeof(saved_cwd)) == NULL) {
- fprintf(stderr, "getcwd(): %s\n", strerror(errno));
- return -1;
- }
-@@ -304,7 +304,7 @@
- }
- }
-
-- if (args.inputs_num > 1 && i < args.inputs_num-1)
-+ if (args.inputs_num > 1 && (unsigned)i < args.inputs_num-1)
- fprintf(stderr, "\n");
-
- db_context_free(c);
-@@ -340,7 +340,7 @@
- goto finish;
- }
-
-- for (i = 0; i < args.inputs_num; i++) {
-+ for (i = 0; (unsigned)i < args.inputs_num; i++) {
- static char saved_cwd[PATH_MAX];
-
- if (isdirectory(args.inputs[i]) <= 0) {
-@@ -372,7 +372,7 @@
- cache = md_cache_open(p, args.ro_cache_flag);
- }
-
-- if (getcwd(saved_cwd, sizeof(saved_cwd)) < 0) {
-+ if (getcwd(saved_cwd, sizeof(saved_cwd)) == NULL) {
- fprintf(stderr, "getcwd(): %s\n", strerror(errno));
- goto finish;
- }
-@@ -429,7 +429,7 @@
- if (args.inputs_num < 1)
- fprintf(stderr, "WARNING: No repository specified!\n");
-
-- for (i = 0; i < args.inputs_num; i++) {
-+ for (i = 0; (unsigned)i < args.inputs_num; i++) {
-
- if (isdirectory(args.inputs[i]) <= 0) {
- fprintf(stderr, "%s is not a directory\n", args.inputs[i]);
-@@ -442,7 +442,7 @@
- if (cleanup(args.inputs[i]) < 0)
- goto finish;
-
-- if (args.inputs_num > 1 && i < args.inputs_num-1)
-+ if (args.inputs_num > 1 && (unsigned)i < args.inputs_num-1)
- fprintf(stderr, "\n");
- }
-
-@@ -461,7 +461,7 @@
- if (args.inputs_num < 1)
- fprintf(stderr, "WARNING: No repository or snapshot to specified!\n");
-
-- for (i = 0; i < args.inputs_num; i++) {
-+ for (i = 0; (unsigned)i < args.inputs_num; i++) {
- if (args.local_temp_flag && isdirectory(args.inputs[i]) >= 1) {
- const char *p = get_attached_filename(args.inputs[i], SYREP_TEMPDIR);
- mkdir(p, 0777);
-@@ -483,7 +483,7 @@
- if (forget(c, target) < 0)
- goto finish;
-
-- if (args.inputs_num > 1 && i < args.inputs_num-1)
-+ if (args.inputs_num > 1 && (unsigned)i < args.inputs_num-1)
- fprintf(stderr, "\n");
-
- db_context_free(c);
-@@ -521,7 +521,7 @@
- static void free_args(void) {
- int i;
-
-- for (i = 0; i < args.inputs_num; i++)
-+ for (i = 0; (unsigned)i < args.inputs_num; i++)
- free(args.inputs[i]);
-
- free(args.inputs);
diff --git a/net-p2p/syrep/syrep-0.6.ebuild b/net-p2p/syrep/syrep-0.9.ebuild
index 7210598430ba..7424b3d1e93f 100644
--- a/net-p2p/syrep/syrep-0.6.ebuild
+++ b/net-p2p/syrep/syrep-0.9.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/syrep/syrep-0.6.ebuild,v 1.2 2005/03/15 14:23:07 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/syrep/syrep-0.9.ebuild,v 1.1 2008/01/16 16:06:54 armin76 Exp $
-inherit eutils
+inherit eutils autotools
DESCRIPTION="A p2p generic file repository synchronization tool that may be used to synchronize large file hierarchies bidirectionally by exchanging patch files."
HOMEPAGE="http://0pointer.de/lennart/projects/syrep/"
@@ -14,15 +14,17 @@ KEYWORDS="~x86"
IUSE="doc"
DEPEND="sys-libs/zlib
- >=sys-libs/db-4.2
+ >=sys-libs/db-4.3
doc? ( www-client/lynx )"
src_unpack() {
unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${P}-gentoo.diff
-}
+ cd "${S}"
+
+ sed -i -e "s/#if (DB_VERSION_MAJOR != 4).*/#if (DB_VERSION_MAJOR != 4)/" configure.ac
+ eautoreconf
+}
src_compile() {
econf \
$(use_enable doc lynx) \
@@ -34,8 +36,8 @@ src_compile() {
}
src_install() {
- make DESTDIR="${D}" install || die "make install failed"
- cd ${S}/doc
+ emake DESTDIR="${D}" install || die "emake install failed"
+ cd "${S}"/doc
dodoc README *.txt
use doc && dohtml *.html *.css
}