Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 28933 Details for
Bug 47316
sec-policy/grsecurity-base-policy calls pkglist; pkglist doesn't exist
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
duplicates functionality of pkglist within ebuild
grsecurity-base-policy.diff (text/plain), 1012 bytes, created by
Drake Wyrm
on 2004-04-09 01:52:43 UTC
(
hide
)
Description:
duplicates functionality of pkglist within ebuild
Filename:
MIME Type:
Creator:
Drake Wyrm
Created:
2004-04-09 01:52:43 UTC
Size:
1012 bytes
patch
obsolete
>--- grsecurity-base-policy-20030614.ebuild 2004-04-09 01:28:43.000000000 -0700 >+++ grsecurity-base-policy-20040408.ebuild 2004-04-09 01:42:07.000000000 -0700 >@@ -28,13 +28,16 @@ > echo "include <${GRACL_DIR}>" > ${D}/etc/grsec/acl > /bin/cp default.acl ${D}/${GRACL_DIR}/ > >- for pkg in `/usr/lib/portage/bin/pkglist | /bin/sed 's/-[0-9].*//g' | /usr/bin/sort | /usr/bin/uniq`; do >+ for pkg in /var/db/pkg/*/* ; do >+ pkg="$( sed -e 's#/var/db/pkg/##' -e 's#-[[:digit:]][^/]*##' <<< $pkg )" > if [ -d "${pkg}" ] ; then > for acl in `/bin/ls -1 ${pkg}/*.acl`; do >- count=$(($count + 1)) >- einfo "Installing $acl that you need for ${pkg}" >- /bin/mkdir -p ${D}/${GRACL_DIR}/`/usr/bin/dirname $acl` >- /bin/cp $acl ${D}/${GRACL_DIR}/$acl >+ if ! [ -f ${D}/${GRACL_DIR}/$acl ] ; then >+ count=$(($count + 1)) >+ einfo "Installing $acl that you need for ${pkg}" >+ /bin/mkdir -p ${D}/${GRACL_DIR}/`/usr/bin/dirname $acl` >+ /bin/cp $acl ${D}/${GRACL_DIR}/$acl >+ fi > done > fi > done
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 47316
: 28933