[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Patch for anonftpsync to use lockfile-progs



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Martin,

recently I switched our local Debian mirror to rsync using anonftpsync. It work at an instant, except one thing that we have no procmail installed on that machine.

Attached patch adds the detection, whether lockfile is present, or the lockfile-progs are available. (If you install something like "lockfile" in Sarge, it will be that package as it is the nearest match, I guess).

When both are absent, it uses dump locking using test -e $LOCK and touch $LOCK.

I hope I didn't break lockfile.

The changes are, of course, GPL.

Regards,

- -- Steffen Kaiser
FB Informatik / C158
Telefon: 203
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFFbZSBqkPRRG/0bFIRAsGUAJ9DtLGbBA/RJMbxiQ4lM4ck5gUOHQCfWr92
aJls6w6tteKTmCA8eHS1qvk=
=r4oN
-----END PGP SIGNATURE-----

Attachment: anonftpsync.locafile-progs.diff.gz
Description: Binary data


Reply to: