]>
Commit | Line | Data |
---|---|---|
0db4896e SS |
1 | ############################################################################### |
2 | # # | |
3 | # IPFire.org - A linux based firewall # | |
4 | # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt # | |
5 | # # | |
6 | # This program is free software: you can redistribute it and/or modify # | |
7 | # it under the terms of the GNU General Public License as published by # | |
8 | # the Free Software Foundation, either version 3 of the License, or # | |
9 | # (at your option) any later version. # | |
10 | # # | |
11 | # This program is distributed in the hope that it will be useful, # | |
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of # | |
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # | |
14 | # GNU General Public License for more details. # | |
15 | # # | |
16 | # You should have received a copy of the GNU General Public License # | |
17 | # along with this program. If not, see <http://www.gnu.org/licenses/>. # | |
18 | # # | |
19 | ############################################################################### | |
20 | ||
21 | ############################################################################### | |
22 | # Definitions | |
23 | ############################################################################### | |
24 | ||
25 | include $(PKGROOT)/Include | |
26 | ||
27 | PKG_NAME = authconfig | |
28 | PKG_VER = 6.1.14 | |
21a2d943 | 29 | PKG_REL = 2 |
0db4896e SS |
30 | |
31 | PKG_MAINTAINER = | |
32 | PKG_GROUPS = System/Base | |
33 | PKG_URL = https://fedorahosted.org/authconfig | |
34 | PKG_LICENSE = GPLv2+ | |
35 | PKG_SUMMARY = Command line tool for setting up authentication from network services. | |
36 | ||
37 | PKG_BUILD_DEPS+= intltool python-devel | |
21a2d943 | 38 | PKG_DEPS += newt-python |
0db4896e SS |
39 | |
40 | define PKG_DESCRIPTION | |
41 | Authconfig is a command line utility which can configure a workstation\ | |
42 | to use shadow (more secure) passwords. Authconfig can also configure a \ | |
43 | system to be a client for certain networked user information and \ | |
44 | authentication schemes. | |
45 | endef | |
46 | ||
47 | PKG_TARBALL = $(THISAPP).tar.bz2 | |
48 | ||
49 | PKG_PACKAGES += $(PKG_NAME)-devel | |
50 | ||
51 | CONFIGURE_OPTIONS += \ | |
52 | --sysconfdir=/etc \ | |
53 | --localstatedir=/var \ | |
54 | --disable-static | |
55 | ||
56 | # Hack to allow installation of the desktop file | |
57 | define STAGE_PREPARE_CMDS | |
58 | ln -s /bin/true /usr/bin/desktop-file-install | |
59 | endef | |
60 | ||
61 | define STAGE_INSTALL_CMDS | |
62 | # Remove useless symlinks in /usr/bin | |
63 | rm -rf $(BUILDROOT)/usr/bin | |
64 | ||
65 | # Replace absolute symlinks by relative ones | |
66 | cd $(BUILDROOT)/usr/sbin && ln -sf ../share/authconfig/authconfig.py authconfig | |
67 | cd $(BUILDROOT)/usr/sbin && ln -sf ../share/authconfig/authconfig-tui.py authconfig-tui | |
68 | ||
69 | # Remove symlinks for gtk | |
70 | rm -rf $(BUILDROOT)/usr/sbin/authconfig-gtk | |
71 | rm -rf $(BUILDROOT)/usr/sbin/system-config-authentication | |
72 | ||
73 | # Remove files for authconfig-gtk and system-config-authentication | |
74 | rm -rf $(BUILDROOT)/etc/pam.d/authconfig-gtk | |
75 | rm -rf $(BUILDROOT)/etc/pam.d/system-config-authentication | |
76 | rm -rf $(BUILDROOT)/etc/security/console.apps/authconfig-gtk | |
77 | rm -rf $(BUILDROOT)/etc/security/console.apps/system-config-authentication | |
78 | rm -rf $(BUILDROOT)/usr/share/authconfig/authconfig-gtk.* | |
79 | rm -rf $(BUILDROOT)/usr/share/man/man8/authconfig-gtk.8 | |
80 | rm -rf $(BUILDROOT)/usr/share/man/man8/system-config-authentication.8 | |
81 | ||
82 | # Remove app icons for authconfig | |
83 | rm -rf $(BUILDROOT)/usr/share/icons | |
84 | endef |