Skip to content

Version inconsistent #720

@diedpigs

Description

@diedpigs

Hi,

I recently tried to install rsync 3.4.1 from tarball rsync-3.4.1.tar.gz.
After installation was completed, I found the version print from command is confusing.

$ rsync --version
rsync  version 3.3.0-12-g5510255f  protocol version 32

It looks like version.h and git-version.h are generated with different versions:

$ cat git-version.h
#define RSYNC_GITVER "v3.3.0-12-g5510255f"

$ cat version.h
#define RSYNC_VERSION "3.4.1"
#define MAINTAINER_TZ_OFFSET -7.0

Steps I used to install rsync 3.4.1:

wget https://download.samba.org/pub/rsync/src/rsync-3.4.1.tar.gz
tar zxvf rsync-3.4.1.tar.gz
cd rsync-3.4.1
./prepare-source fetchgen
./configure --prefix=/share/apps/rsync/3.4.1 
make && make install

I have tried tarballs from the following two links:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions