/[gentoo-x86]/net-misc/rsync/rsync-2.6.2-r1.ebuild
Gentoo

Diff of /net-misc/rsync/rsync-2.6.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.8 Revision 1.9
1# Copyright 1999-2004 Gentoo Technologies, Inc. 1# Copyright 1999-2004 Gentoo Technologies, Inc.
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/Attic/rsync-2.6.2-r1.ebuild,v 1.8 2004/05/02 22:45:02 mholzer Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/Attic/rsync-2.6.2-r1.ebuild,v 1.9 2004/05/02 22:51:54 mholzer Exp $
4 4
5inherit eutils flag-o-matic gcc 5inherit eutils flag-o-matic gcc
6 6
7DESCRIPTION="File transfer program to keep remote files into sync" 7DESCRIPTION="File transfer program to keep remote files into sync"
8HOMEPAGE="http://rsync.samba.org/" 8HOMEPAGE="http://rsync.samba.org/"
24 unpack "${P}.tar.gz" 24 unpack "${P}.tar.gz"
25 cd ${S} 25 cd ${S}
26 use acl && epatch ${DISTDIR}/${P}-acl.diff.bz2 26 use acl && epatch ${DISTDIR}/${P}-acl.diff.bz2
27 27
28 # change confdir to /etc/rsync rather than just /etc (the --sysconfdir 28 # change confdir to /etc/rsync rather than just /etc (the --sysconfdir
29 # configure option doesn't work
30 sed -i \
31 -e 's|/etc/rsyncd.conf|/etc/rsync/rsyncd.conf|g' \
32 rsync.h \
33 || die "sed rsync.h failed"
29 # yes, updating the man page is very important. 34 # yes, updating the man page is very important.
30 sed -i \ 35 sed -i \
31 -e 's|/etc/rsyncd|/etc/rsync/rsyncd|g' \ 36 -e 's|/etc/rsyncd|/etc/rsync/rsyncd|g' \
32 rsyncd.conf.5 \ 37 rsyncd.conf.5 \
33 || die "sed rsyncd.conf.5 failed" 38 || die "sed rsyncd.conf.5 failed"
38 use static && append-ldflags -static 43 use static && append-ldflags -static
39 export LDFLAGS 44 export LDFLAGS
40 econf \ 45 econf \
41 $(use_with build included-popt) \ 46 $(use_with build included-popt) \
42 $(use_with acl acl-support) \ 47 $(use_with acl acl-support) \
43 --with-rsyncd-conf=/etc/rsync/rsyncd.conf \
44 || die 48 || die
45 emake || die "emake failed" 49 emake || die "emake failed"
46} 50}
47 51
48src_install() { 52src_install() {

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.20