diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2006-07-15 00:42:27 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2006-07-15 00:42:27 +0000 |
commit | a317b80ee5170318755df16de54e89d94430cab1 (patch) | |
tree | 2e1af6934ca210a7f0bcde52d0537dc8968028ec /net-misc | |
parent | Fix bug #140371. (diff) | |
download | gentoo-2-a317b80ee5170318755df16de54e89d94430cab1.tar.gz gentoo-2-a317b80ee5170318755df16de54e89d94430cab1.tar.bz2 gentoo-2-a317b80ee5170318755df16de54e89d94430cab1.zip |
Fixed pkg_config. Bug 135505.
(Portage version: 2.1-r1)
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/scponly/ChangeLog | 5 | ||||
-rw-r--r-- | net-misc/scponly/scponly-4.6-r1.ebuild | 18 |
2 files changed, 17 insertions, 6 deletions
diff --git a/net-misc/scponly/ChangeLog b/net-misc/scponly/ChangeLog index c85ba93910c3..fd4448229ea6 100644 --- a/net-misc/scponly/ChangeLog +++ b/net-misc/scponly/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-misc/scponly # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/scponly/ChangeLog,v 1.25 2006/05/20 05:37:27 matsuu Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/scponly/ChangeLog,v 1.26 2006/07/15 00:42:27 matsuu Exp $ + + 15 Jul 2006; MATSUU Takuto <matsuu@gentoo.org> scponly-4.6-r1.ebuild: + Fixed pkg_config. Bug 135505. *scponly-4.6-r1 (20 May 2006) diff --git a/net-misc/scponly/scponly-4.6-r1.ebuild b/net-misc/scponly/scponly-4.6-r1.ebuild index b29b82a1480d..722fda6e8c39 100644 --- a/net-misc/scponly/scponly-4.6-r1.ebuild +++ b/net-misc/scponly/scponly-4.6-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/scponly/scponly-4.6-r1.ebuild,v 1.1 2006/05/20 05:37:28 matsuu Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/scponly/scponly-4.6-r1.ebuild,v 1.2 2006/07/15 00:42:27 matsuu Exp $ inherit eutils @@ -65,18 +65,18 @@ pkg_config() { { grep -v "^/usr/bin/scponly$" /etc/shells; echo "/usr/bin/scponly" } > ${T}/shells - mv -f ${T}/shells /etc/shells + cp ${T}/shells /etc/shells { grep -v "^/usr/sbin/scponlyc$" /etc/shells; echo "/usr/sbin/scponlyc" } > ${T}/shells - mv -f ${T}/shells /etc/shells + cp ${T}/shells /etc/shells BINARIES="/usr/$(get_libdir)/misc/sftp-server /bin/ls /usr/bin/scp /bin/rm /bin/ln /bin/mv /bin/chmod /bin/chown /bin/chgrp /bin/mkdir /bin/rmdir /bin/pwd /bin/groups /usr/bin/ld /bin/echo /usr/bin/rsync" if built_with_use ${PN} subversion; then BINARIES="$BINARIES /usr/bin/svn /usr/bin/svnserve" fi - LIB_LIST=`/usr/bin/ldd $BINARIES 2> /dev/null | /bin/cut -f2 -d\> | /bin/cut -f1 -d\( | /bin/grep "^ " | /bin/sort -u` + LIB_LIST=`/usr/bin/ldd $BINARIES 2> /dev/null | /bin/cut -f2 -d\> | /bin/cut -f1 -d\( | /bin/grep "^[ ]" | /bin/sort -u` LDSO_LIST="/$(get_libdir)/ld.so /libexec/ld-elf.so /libexec/ld-elf.so.1 /usr/libexec/ld.so /$(get_libdir)/ld-linux.so.2 /usr/libexec/ld-elf.so.1" for lib in $LDSO_LIST; do if [ -f $lib ]; then @@ -135,7 +135,15 @@ pkg_config() { fi /bin/chown $myuser:$myuser ${myhome}/incoming - grep "^${myuser}" /etc/passwd > ${myhome}/etc/passwd + if [ ! -e ${myhome}/etc/passwd ]; then + grep "^${myuser}" /etc/passwd > ${myhome}/etc/passwd + fi + + # Bug 135505 + if [ ! -e ${myhome}/dev/null ]; then + /bin/install -c -d ${myhome}/dev + /bin/mknod -m 777 ${myhome}/dev/null c 1 3 + fi einfo "if you experience a warning with winscp regarding groups, please install" einfo "the provided hacked out fake groups program into your chroot, like so:" |