From 9898c8b43c664a406e5ff930e16e894e29355941 Mon Sep 17 00:00:00 2001
From: Dylan Araps <dylan.araps@gmail.com>
Date: Wed, 11 Aug 2021 07:31:00 +0000
Subject: [PATCH] rsync: drop package

---
 extra/rsync/build             | 19 -----------------
 extra/rsync/checksums         |  2 --
 extra/rsync/depends           |  1 -
 extra/rsync/files/mkproto.awk | 39 -----------------------------------
 extra/rsync/sources           |  2 --
 extra/rsync/version           |  1 -
 6 files changed, 64 deletions(-)
 delete mode 100755 extra/rsync/build
 delete mode 100644 extra/rsync/checksums
 delete mode 100644 extra/rsync/depends
 delete mode 100644 extra/rsync/files/mkproto.awk
 delete mode 100644 extra/rsync/sources
 delete mode 100644 extra/rsync/version

diff --git a/extra/rsync/build b/extra/rsync/build
deleted file mode 100755
index beebc18d..00000000
--- a/extra/rsync/build
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh -e
-
-# Swap to awk script instead of perl script
-# for building rsync. See files/mkproto.awk.
-sed 's/perl/awk -f/;s/mkproto.pl/mkproto.awk/' Makefile.in > _
-mv -f _ Makefile.in
-
-export CFLAGS="-static $CFLAGS"
-
-./configure \
-    --prefix=/usr \
-    --with-included-popt \
-    --disable-xxhash \
-    --disable-zstd \
-    --disable-lz4 \
-    --without-included-zlib
-
-make
-make install
diff --git a/extra/rsync/checksums b/extra/rsync/checksums
deleted file mode 100644
index 4b823380..00000000
--- a/extra/rsync/checksums
+++ /dev/null
@@ -1,2 +0,0 @@
-becc3c504ceea499f4167a260040ccf4d9f2ef9499ad5683c179a697146ce50e
-301240aecba5b8fbda8310c841ef61e3c1f312a55378f6079f8d65ae1bd811f2
diff --git a/extra/rsync/depends b/extra/rsync/depends
deleted file mode 100644
index 17a6d43d..00000000
--- a/extra/rsync/depends
+++ /dev/null
@@ -1 +0,0 @@
-zlib make
diff --git a/extra/rsync/files/mkproto.awk b/extra/rsync/files/mkproto.awk
deleted file mode 100644
index d3802f95..00000000
--- a/extra/rsync/files/mkproto.awk
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/usr/bin/awk -f
-
-BEGIN {
-    while ((getline i < "proto.h") > 0) old_protos = old_protos ? old_protos "\n" i : i
-    protos = "/* This file is automatically generated with \"make proto\". DO NOT EDIT */\n"
-}
-
-inheader {
-    protos = protos "\n" ((inheader = /\)[ \t]*$/ ? 0 : 1) ? $0 : $0 ";")
-    next
-}
-
-/^FN_(LOCAL|GLOBAL)_[^(]+\([^,()]+/ {
-    local = /^FN_LOCAL/
-    gsub(/^FN_(LOC|GLOB)AL_|,.*$/, "")
-    sub(/^BOOL\(/, "BOOL ")
-    sub(/^CHAR\(/, "char ")
-    sub(/^INTEGER\(/, "int ")
-    sub(/^STRING\(/, "char *")
-    protos = protos "\n" $0 (local ? "(int module_id);" : "(void);")
-    next
-}
-
-/^static|^extern|;/||!/^[A-Za-z][A-Za-z0-9_]* / { next }
-
-/\(.*\)[ \t]*$/ {
-    protos = protos "\n" $0 ";"
-    next
-}
-
-/\(/ {
-    inheader = 1
-    protos = protos "\n" $0
-}
-
-END {
-    if (old_protos != protos) print protos > "proto.h"
-    print "" > "proto.h-tstamp"
-}
diff --git a/extra/rsync/sources b/extra/rsync/sources
deleted file mode 100644
index 5913385f..00000000
--- a/extra/rsync/sources
+++ /dev/null
@@ -1,2 +0,0 @@
-https://download.samba.org/pub/rsync/src/rsync-VERSION.tar.gz
-files/mkproto.awk
diff --git a/extra/rsync/version b/extra/rsync/version
deleted file mode 100644
index 088245e7..00000000
--- a/extra/rsync/version
+++ /dev/null
@@ -1 +0,0 @@
-3.2.3 1