New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #13027 (closed submission: fixed)

Opened 4 years ago

Last modified 3 years ago

NEW: rsyncrypto 1.06

Reported by: macports@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ryandesign@…, ecronin@…, vincent@…
Port: rsyncrypto

Description

rsyncrypto encrypts files in a way that shouldn't mess up rsync's change detection.

It was a pretty easy portfile, though I've only tested it on my own computer.

Attachments

Portfile Download (1.0 KB) - added by macports@… 4 years ago.
Revised per recommendations
Portfile.2 Download (1.0 KB) - added by ecronin@… 4 years ago.
update of Portfile for version 1.06
Portfile.3 Download (1.1 KB) - added by macports@… 3 years ago.
rsyncrypto 1.12

Change History

  Changed 4 years ago by ryandesign@…

  • owner changed from macports-dev@… to ryandesign@…
  • cc ryandesign@… added

Thanks for contributing! There are some problems though:

$ sudo port lint
--->  Verifying Portfile for rsyncrypto
Warning: Line 4 should be a newline (after PortSystem)
Error: Missing required variable: homepage
Warning: Using full email address for no/open maintainer
--->  1 errors and 2 warnings found.
$

So please:

  • add a newline after the PortSystem line
  • add a line for the homepage, and
  • list yourself as the maintainer (or put just "nomaintainer" if you do not want to maintain the port)

In addition:

  • master_sites should not contain the archive name; just list the directory. In this case, you probably want "master_sites sourceforge" instead.
  • You probably want to use "configure.cppflags-append" instead of "configure.env CPPFLAGS="
  • Why are you fiddling with the compiler in the platform darwin 8 section? gcc4 is already the default compiler on Mac OS X 10.4 (and 10.5) so you shouldn't need to do this unless rsyncrypto is weird.

Can you please attach a revised portfile? Thanks.

Changed 4 years ago by macports@…

Revised per recommendations

  Changed 4 years ago by macports@…

I attempted to incorporate the recommendations. I started with an existing portfile, which may have required a less conventional configuration.

Not quite sure what I'm getting myself into with maintenance, but I'll give it go.

- Justin

follow-up: ↓ 7   Changed 4 years ago by ecronin@…

  • version 1.5.2 deleted
  • summary changed from NEW: rsyncrypto 1.04 to NEW: rsyncrypto 1.06

Hi, going through unclosed port submissions in trac and this one looks good now with one exception:

checking for gzip with "rsyncable" support... gzip: unrecognized option `--rsync
able'
Try `gzip --help' for more information.
no!
configure: WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
configure: WARNING: ! gzip must support the "--rsyncable" flag for proper rsyncrypto operation.         !
configure: WARNING: ! This does not affect compilation, but a proper gzip must be available at runtime. !
configure: WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

From the README:

Rsyncrypto requires gzip that supports the "rsyncable" flag. The gzip rsyncable
flag is a patch written by Rusty Russell. This patch is available in the
"contrib" directory, and nees to be applied against the *gzip* sources.

So it looks like either the build of rsyncrypto needs to fetch/build/install a gzip-rsyncable binary or add a +rsyncable variant to archivers/gzip which fetches the rsyncrypto port to grab and apply the patch in contrib.

I'm attaching an updated portfile which bumps it to the current 1.06 version

Changed 4 years ago by ecronin@…

update of Portfile for version 1.06

  Changed 4 years ago by ecronin@…

  • cc ecronin@… added

  Changed 4 years ago by jmpp@…

  • cc macports-dev@… removed

  Changed 4 years ago by ryandesign@…

  • cc vincent@… added
  • priority changed from Low to Normal

in reply to: ↑ 3   Changed 3 years ago by macports@…

Replying to ecronin@…:

configure: WARNING: ! gzip must support the "--rsyncable" flag for proper rsyncrypto operation. !

The gzip port supports variant +rsyncable with r39748. I've freshened rsyncrypto to 1.12 and updated the description to mention the required variant.

Changed 3 years ago by macports@…

rsyncrypto 1.12

  Changed 3 years ago by blb@…

  • status changed from new to closed
  • cc macports@… removed
  • resolution set to fixed
  • port set to rsyncrypto

Port added in r41561, thanks. Note I did make one change, obfuscating your email with the a@… -> b.c:a technique (port info knows how to de-obfuscate this).

  Changed 3 years ago by jmr@…

  • type changed from enhancement to submission

  Changed 3 years ago by anonymous

  • milestone Port Submissions deleted

Milestone Port Submissions deleted

Note: See TracTickets for help on using tickets.