source: trunk/server/fedora/specs/accountadm.spec @ 2145

Last change on this file since 2145 was 2145, checked in by andersk, 13 years ago
Kill signup-scripts-frontend We don’t need this setuid binary because we’re already running as the right user, and also WTF was it doing with snprintf.
File size: 1.9 KB
Line 
1Summary: scripts.mit.edu locker administration system
2Group: Applications/System
3Name: accountadm
4Version: 0.%{scriptsversion}
5Release: 0
6Vendor: The scripts.mit.edu Team (scripts@mit.edu)
7URL: http://scripts.mit.edu
8License: GPL
9Source: %{name}.tar.gz
10BuildRoot: %{_tmppath}/%(%{__id_u} -n)-%{name}-%{version}-root
11BuildRequires: scripts-openafs-devel, scripts-openafs-authlibs-devel
12BuildRequires: hesinfo
13BuildRequires: openldap-clients
14BuildRequires: krb5-devel
15BuildRequires: sudo
16Requires: hesinfo
17Requires: openldap-clients
18Requires: sudo
19%define debug_package %{nil}
20Prereq: /usr/bin/fs, /usr/bin/pts
21
22%description 
23
24scripts.mit.edu locker administration system
25Contains:
26 - Perl script for checking whether a user is a locker admin <admof>
27 - Perl script that handles signup requests <signup-scripts-backend>
28 - vhostadd,vhostedit: admin tools for adding and editing virtualhosts
29 - cronload: userspace tool for setting crontab from Athena
30See http://scripts.mit.edu/wiki for more information.
31
32%prep
33%setup -q -n %{name}
34
35%build
36./configure --with-fs=/usr/bin/fs --with-pts=/usr/bin/pts
37make
38
39%install
40[ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT
41make install DESTDIR=$RPM_BUILD_ROOT prefix=/usr/local
42
43%clean
44[ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT
45
46%files
47%defattr(0644, root, root)
48/usr/local/etc/mbashrc
49%defattr(0755, root, root)
50/usr/local/bin/mbash
51/usr/local/bin/admof
52/usr/local/bin/cronload
53/usr/local/sbin/ssh-admof
54/usr/local/sbin/signup-scripts-backend
55/usr/local/sbin/vhostadd
56/usr/local/sbin/vhostedit
57/usr/local/sbin/ldap-backup
58
59%pre
60groupadd -g 102 signup || [ $? -eq 9 ]
61useradd -u 102 -g signup -d /afs/athena.mit.edu/contrib/scripts/signup -M signup || [ $? -eq 9 ]
62
63%postun
64if [ "$1" = "0" ] ; then
65   userdel signup
66fi
67
68%changelog
69* Wed Dec 31 2008  Quentin Smith <quentin@mit.edu> - 0.917-0
70- don't delete signup user on upgrades
71
72* Sat Sep 30 2006  Jeff Arnold <jbarnold@MIT.EDU> 0.00
73- prerelease
Note: See TracBrowser for help on using the repository browser.