summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-11-22 13:24:42 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-11-22 13:24:42 +0000
commitce7da206f18b92cbf7c07a5db234532dfb919575 (patch)
tree954fd2f48935b97d04ffbccdb3d0c43211aeb200
parentStable on sparc wrt #155708 (diff)
downloadhistorical-ce7da206f18b92cbf7c07a5db234532dfb919575.tar.gz
historical-ce7da206f18b92cbf7c07a5db234532dfb919575.tar.bz2
historical-ce7da206f18b92cbf7c07a5db234532dfb919575.zip
Remove the old ypxfr patch, symlink /usr/include and be done with it.
Package-Manager: portage-2.1.2_rc2-r1
-rw-r--r--sys-freebsd/freebsd-libexec/ChangeLog6
-rw-r--r--sys-freebsd/freebsd-libexec/freebsd-libexec-6.2_rc1.ebuild28
2 files changed, 21 insertions, 13 deletions
diff --git a/sys-freebsd/freebsd-libexec/ChangeLog b/sys-freebsd/freebsd-libexec/ChangeLog
index 4a7946dcd284..66a677e81d37 100644
--- a/sys-freebsd/freebsd-libexec/ChangeLog
+++ b/sys-freebsd/freebsd-libexec/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-freebsd/freebsd-libexec
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-libexec/ChangeLog,v 1.20 2006/11/20 14:27:10 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-libexec/ChangeLog,v 1.21 2006/11/22 13:24:42 flameeyes Exp $
+
+ 22 Nov 2006; Diego Pettenò <flameeyes@gentoo.org>
+ -freebsd-libexec-6.2_beta3.ebuild, freebsd-libexec-6.2_rc1.ebuild:
+ Remove the old ypxfr patch, symlink /usr/include and be done with it.
20 Nov 2006; Diego Pettenò <flameeyes@gentoo.org> +files/bootpd.confd,
+files/bootpd.initd, freebsd-libexec-6.2_rc1.ebuild:
diff --git a/sys-freebsd/freebsd-libexec/freebsd-libexec-6.2_rc1.ebuild b/sys-freebsd/freebsd-libexec/freebsd-libexec-6.2_rc1.ebuild
index 0160e09d26c1..33524b77bf7a 100644
--- a/sys-freebsd/freebsd-libexec/freebsd-libexec-6.2_rc1.ebuild
+++ b/sys-freebsd/freebsd-libexec/freebsd-libexec-6.2_rc1.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/sys-freebsd/freebsd-libexec/freebsd-libexec-6.2_rc1.ebuild,v 1.2 2006/11/20 14:27:10 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-libexec/freebsd-libexec-6.2_rc1.ebuild,v 1.3 2006/11/22 13:24:42 flameeyes Exp $
inherit bsdmk freebsd pam
@@ -26,6 +26,14 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/libexec"
+PATCHES="${FILESDIR}/${PN}-setXid.patch
+ ${FILESDIR}/${PN}-nossp.patch
+ ${FILESDIR}/${PN}-6.1-libfallback.patch
+ ${FILESDIR}/${PN}-6.2-sparc64.patch"
+
+# Remove sendmail, tcp_wrapper and other useless stuff
+REMOVE_SUBDIRS="smrsh mail.local tcpd telnetd rshd rlogind lukemftpd ftpd"
+
pkg_setup() {
use pam || mymakeopts="${mymakeopts} NO_PAM= "
use ssl || mymakeopts="${mymakeopts} NO_OPENSSL= NO_CRYPT= "
@@ -36,21 +44,18 @@ pkg_setup() {
mymakeopts="${mymakeopts} NO_SENDMAIL= NO_PF= "
}
+src_unpack() {
+ freebsd_src_unpack
+
+ ln -s /usr/include "${WORKDIR}/include"
+}
+
src_compile() {
NOSSP_FLAGS="$(test-flags -fno-stack-protector -fno-stack-protector-all)"
export NOSSP_FLAGS
freebsd_src_compile
}
-PATCHES="${FILESDIR}/${PN}-setXid.patch
- ${FILESDIR}/${PN}-5.3_rc1-ypxfr-makefile.patch
- ${FILESDIR}/${PN}-nossp.patch
- ${FILESDIR}/${PN}-6.1-libfallback.patch
- ${FILESDIR}/${PN}-6.2-sparc64.patch"
-
-# Remove sendmail, tcp_wrapper and other useless stuff
-REMOVE_SUBDIRS="smrsh mail.local tcpd telnetd rshd rlogind lukemftpd ftpd"
-
src_install() {
freebsd_src_install
@@ -58,6 +63,5 @@ src_install() {
newconfd "${FILESDIR}/bootpd.confd"
insinto /etc
- cd "${WORKDIR}/etc"
- doins gettytab
+ doins "${WORKDIR}/etc/gettytab"
}