<commit_before># Mirroring/synchronization over low bandwidth links
# http://samba.org/rsync/
# GPL

include ../../Library/Rules.mk

TITLE=		Rsync $(VERSION)
NAME=		rsync
VERSION=	3.0.7
REVISION=	0
URL=		http://samba.org/ftp/rsync/src/
SOURCE=		$(NAME)-$(VERSION).tar.gz

#DEPENDS=	/usr/local/lib/libpopt.la

prep: retrieve
	tar zxvf $(SOURCE)
	touch prep

build: prep $(DEPENDS)
	cd $(BUILDDIR) ; env CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \
	$(configure) --with-rsyncd-conf=/usr/local/etc ; $(make)
	touch build

install: build
	cd $(BUILDDIR) ; make DESTDIR=$(INSTALLDIR) install
	cd $(INSTALLDIR)/usr/local/bin ; ln -sf rsync rsync3
	cd $(INSTALLDIR)/usr/local/share/man/man1 ; ln -sf rsync.1 rsync3.1
	cd $(INSTALLDIR)/usr/local/share/man/man5 ; ln -sf rsyncd.conf.5 rsyncd3.conf.5
	install -d $(INSTALLDOCDIR)
	install -m 644 $(BUILDDIR)/{COPYING,NEWS,README,TODO} $(INSTALLDOCDIR)
	strip $(INSTALLDIR)/usr/local/bin/*
	touch install

test: install
	cd $(BUILDDIR) ; make check
	for x in $(wildcard $(INSTALLDIR)/usr/local/bin/*) ; do \
		lipo $$x -verify_arch i386 x86_64 ; done
	touch test<commit_msg>Force compilation with included popt.<commit_after># Mirroring/synchronization over low bandwidth links
# http://samba.org/rsync/
# GPL

include ../../Library/Rules.mk

TITLE=		Rsync $(VERSION)
NAME=		rsync
VERSION=	3.0.7
REVISION=	1
URL=		http://samba.org/ftp/rsync/src/
SOURCE=		$(NAME)-$(VERSION).tar.gz

#DEPENDS=	/usr/local/lib/libpopt.la

prep: retrieve
	tar zxvf $(SOURCE)
	touch prep

build: prep $(DEPENDS)
	cd $(BUILDDIR) ; env CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \
	$(configure) \
		--with-included-popt \
		--with-rsyncd-conf=/usr/local/etc ; $(make)
	touch build

install: build
	cd $(BUILDDIR) ; make DESTDIR=$(INSTALLDIR) install
	cd $(INSTALLDIR)/usr/local/bin ; ln -sf rsync rsync3
	cd $(INSTALLDIR)/usr/local/share/man/man1 ; ln -sf rsync.1 rsync3.1
	cd $(INSTALLDIR)/usr/local/share/man/man5 ; ln -sf rsyncd.conf.5 rsyncd3.conf.5
	install -d $(INSTALLDOCDIR)
	install -m 644 $(BUILDDIR)/{COPYING,NEWS,README,TODO} $(INSTALLDOCDIR)
	strip $(INSTALLDIR)/usr/local/bin/*
	touch install

test: install
	cd $(BUILDDIR) ; make check
	for x in $(wildcard $(INSTALLDIR)/usr/local/bin/*) ; do \
		lipo $$x -verify_arch i386 x86_64 ; done
	touch test
{'fraction_non_alphanumeric': 0.16673999120105587, 'fraction_numerical': 0.020237571491421028, 'mean_word_length': 4.0198675496688745, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3582977', 'n_tokens_mistral': 954, 'n_tokens_neox': 900, 'n_words': 208}