polkit: remove package 'polkit'

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-08-22 18:52:00 +02:00
parent 371455cd2d
commit 4a8451a64d
3 changed files with 0 additions and 102 deletions

View File

@ -1,56 +0,0 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
PKG_NAME="polkit"
PKG_VERSION="0.104"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="MIT"
PKG_SITE="http://gitweb.freedesktop.org/?p=PolicyKit.git;a=summary"
PKG_URL="http://hal.freedesktop.org/releases/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS="zlib glib expat"
PKG_BUILD_DEPENDS_TARGET="toolchain zlib sg3_utils glib expat"
PKG_PRIORITY="optional"
PKG_SECTION="security"
PKG_SHORTDESC="polkit: Authorization Toolkit"
PKG_LONGDESC="PolicyKit is a toolkit for defining and handling authorizations. It is used for allowing unprivileged processes to speak to privileged processes."
PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"
PKG_CONFIGURE_OPTS_TARGET="--libexecdir=/usr/lib/polkit-1 \
--disable-man-pages \
--disable-gtk-doc \
--disable-nls \
--disable-introspection \
--enable-systemd \
--with-authfw=shadow \
--with-os-type=redhat \
--with-expat=$SYSROOT_PREFIX/usr"
post_makeinstall_target() {
rm -rf $INSTALL/usr/bin/pk-example-frobnicate
rm -rf $INSTALL/usr/share/polkit-1/actions/org.freedesktop.policykit.examples.pkexec.policy
}
post_install() {
echo "chmod 4755 $INSTALL/usr/bin/pkexec" >> $FAKEROOT_SCRIPT
echo "chmod 4755 $INSTALL/usr/lib/polkit-1/polkit-agent-helper-1" >> $FAKEROOT_SCRIPT
}

View File

@ -1,20 +0,0 @@
diff -Naur polkit-0.104/configure.ac polkit-0.104.patch/configure.ac
--- polkit-0.104/configure.ac 2012-01-03 17:25:49.000000000 +0100
+++ polkit-0.104.patch/configure.ac 2013-01-12 09:45:00.437875775 +0100
@@ -3,7 +3,7 @@
AC_PREREQ(2.59c)
AC_INIT(polkit, 0.104, http://lists.freedesktop.org/mailman/listinfo/polkit-devel)
AM_INIT_AUTOMAKE(polkit, 0.104)
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS(config.h)
AM_MAINTAINER_MODE
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
@@ -24,7 +24,6 @@
AC_ISC_POSIX
AC_PROG_CC
-AM_PROG_CC_STDC
AC_HEADER_STDC
AM_PROG_LIBTOOL
AC_PROG_MAKE_SET

View File

@ -1,26 +0,0 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
d /var/lib/polkit-1 0700 root root - -
d /var/lib/polkit-1/localauthority/10-vendor.d 0755 root root - -
d /var/lib/polkit-1/localauthority/20-org.d 0755 root root - -
d /var/lib/polkit-1/localauthority/30-site.d 0755 root root - -
d /var/lib/polkit-1/localauthority/50-local.d 0755 root root - -
d /var/lib/polkit-1/localauthority/90-mandatory.d 0755 root root - -