hi,

i am rsyncing -current packages & taking advantage of rsync's pattern matching to avoid specifying the package versions, to make a local repository for upgrades.

there are several packages that i _don't_ want to retrieve flavours for, e.g. cyrus-sasl as an example. but i haven't been able to force just the base package, without specifying identically the filename - which defeats the purpose of what i was trying to achieve.

here's my current go, trimmed to show the specific problem:

$ cat snapshot.inc
# include file for rsync
cvsync-*
cyrus-sasl-*
- cyrus-sasl-*db*
- cyrus-sasl-*mysql*
- cyrus-sasl-*ldap*
db-4*
- *.tgz

$ rsync -thrivz --stats --del -n rsync://rsync.de.openbsd.org/OpenBSD/snapshots/packages/i386 /var/tmp/packages/ --include-from=snapshot.inc
[...]

>f+++++++ i386/cvsync-0.24.19.tgz
>f+++++++ i386/cyrus-sasl-2.1.21p2-db4.tgz
>f+++++++ i386/cyrus-sasl-2.1.21p2-ldap.tgz
>f+++++++ i386/cyrus-sasl-2.1.21p2-mysql.tgz
>f+++++++ i386/cyrus-sasl-2.1.21p2.tgz
>f+++++++ i386/db-4.2.52p11.tgz
>f+++++++ i386/index.txt

[...]

but I _don't_ want to retrieve all the{db4,ldap,mysql} flavors - just the base one. can anybody help?

a+
scorch
out of the frying pan & into the fire

Reply via email to