Compare commits

...
This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.

68 commits

Author SHA1 Message Date
Mark Reynolds
9e97aa7a6b Retiring 389-admin as its been replaced by Cockpit UI plugin 2019-07-24 10:52:58 -04:00
Fedora Release Engineering
6144336034 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 11:17:51 +00:00
Igor Gnatenko
eac721fb65 Remove obsolete Group tag
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-28 20:17:38 +01:00
Pete Walter
25db1bace1 Rebuild for ICU 63 2019-01-23 22:08:39 +00:00
Mark Reynolds
e0c4182d75 Bump version to 1.1.46-3
Mark package as deprecated
2018-12-20 12:05:05 -05:00
Mark Reynolds
e02340c9f3 Remove ldconfig is post scriptlets 2018-07-23 16:53:08 -04:00
Fedora Release Engineering
800f0eee3a - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-12 18:51:51 +00:00
Pete Walter
b5807299c9 Add missing BuildRequires: gcc-c++ 2018-07-10 23:58:27 +01:00
Pete Walter
7b32495219 Rebuild for ICU 62 2018-07-10 21:46:08 +01:00
Jason Tibbitts
d7dcc988d7 Remove needless use of %defattr 2018-07-10 00:04:54 -05:00
Pete Walter
6c0a55ebb4 Rebuild for ICU 61.1 2018-04-30 09:46:12 +01:00
Mark Reynolds
bbbdf63da6 Exclude I86(32 bit) platforms 2018-02-20 11:06:13 -05:00
Igor Gnatenko
9dca3a7114
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 09:53:36 +01:00
Igor Gnatenko
0ebcdba700 Remove BuildRoot definition
None of currently supported distributions need that.
It was needed last for EL5 which is EOL now

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-13 23:00:22 +01:00
Fedora Release Engineering
260419eaab - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 00:19:45 +00:00
Pete Walter
07836f3c7c Rebuild for ICU 60.1 2017-11-30 20:16:20 +00:00
Fedora Release Engineering
da510743c1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 16:45:02 +00:00
Fedora Release Engineering
a550d8ac15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 01:36:11 +00:00
Fedora Release Engineering
98c3bc35e6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 04:56:28 +00:00
Mark Reynolds
f53af7cd66 Bump verison to 1.1.46
- Ticket 49015 - regsiter-ds-amin.pl silent registration does not work with local instances
2016-11-01 10:33:32 -04:00
Mark Reynolds
0b2b4a264c Updated sources 2016-10-13 15:29:29 -04:00
Mark Reynolds
4af9300252 bump version to 1.1.45
Ticket 48988 - ds_removal and ds_unregister should support prompting for password
bump version to 1.1.44
Bug 1236635 - 389-admin TPS srpmtest failure
Ticket 48932 - stopping admin server stops all httpd processes
Ticket 47413 - 389-admin fails to build with latest httpd
Ticket 48931 - start-ds-admin should use systemctl
Ticket 48823 - Admin Server - Add IPv6 support
Ticket 48907 - register-ds-admin fails to find local config DS
Ticket 48306 - perl module conditional test is not conditional when checking SELinux policies
Ticket 48213 - Admin server registration requires anonymous binds
bump version to 1.1.43
Ticket 48429 - running remove-ds-admin.pl multiple times will make it so you cannot install DS
Ticket 48410 - 389-admin - Unable to remove / unregister a DS instance from admin server
Ticket 48409 - RHDS upgrade change Ownership of certificate files upon upgrade.
Ticket 47840 - Fix setup-ds-admin.pl to create adm.conf with sbin scripts
2016-10-12 12:02:35 -04:00
Mark Reynolds
af49ed8a1d Ticket 48762 - 389-admin uses HTTP to download content from git (should use HTTPS)
Description: Use https protocol for downloading content

https://fedorahosted.org/389/ticket/48762

Reviewed by: mreynolds (one line commit rule)
2016-07-06 11:33:47 -04:00
Mark Reynolds
27fe51ecf0 Ticket 48418 - 389-admin - remove USE_64 as its not needed
Description:  The USE_64 variable is no longer needed.

              Original patch provided by:
                Marcin Juszkiewicz <mjuszkiewicz@redhat.com> (Thanks!)

https://fedorahosted.org/389/ticket/48418

Reviewed by: mreynolds
2016-07-06 11:11:52 -04:00
Mark Reynolds
5dcf748934 Ticket 48230 - 389-admin - Please depend on policycoreutils-python-utils
Description: policycoreutils-python utilities have been moved to a new
             package: policycoreutils-python-utils.  The spec file
             needs the requirement updated.

             Original patch provided by Tomas Radej (Thanks!!)

https://fedorahosted.org/389/ticket/48230

Reviewed by: mreynolds
2016-07-06 10:58:46 -04:00
Petr Písař
0c92f513ed Mandatory Perl build-requires added <https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl> 2016-06-24 09:54:01 +02:00
David Tardon
cfbabdfdc0 rebuild for ICU 57.1 2016-04-15 20:10:52 +02:00
Dennis Gilmore
7869660eeb - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 15:16:37 +00:00
David Tardon
e98b7f85c3 rebuild for ICU 56.1 2015-10-28 14:07:39 +01:00
Dennis Gilmore
7c68e5787f - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-16 22:37:52 +00:00
Noriko Hosoi
fa4d4694cb bump version to 1.1.42
- Ticket 47548 - register-ds-admin - silent file incorrectly processed
- Ticket 47493 - Configuration Tab does not work with FIPS mode enabled
- Ticket 48186 - register-ds-admin.pl script prints clear text password in the terminal
- Ticket 47548 - register-ds-admin.pl fails to set local bind DN and password
- Ticket 47467 - Improve Add CRL/CKL dialog and errors
- Ticket 48171 - remove-ds-admin.pl removes files in the rpm
- Ticket 48153 - [adminserver] support NSS 3.18
2015-06-10 15:28:51 -07:00
Petr Machata
81805a7fad Bump for rebuild. 2015-02-04 14:04:36 +01:00
Noriko Hosoi
6ad760c92d bump version to 1.1.38
- Ticket 48024 - repl-monitor invoked from adminserver cgi fails
- Ticket 47995 - Admin Server: source code cleaning
- Ticket 47891 - Admin Server reconfig breaks SSL config
- Ticket 47929 - Admin Server - disable SSLv3 by default
- Ticket 201   - nCipher HSM cannot be configured via the console
- Ticket 47493 - Configuration Tab does not work with FIPS mode enabled
- Ticket 47697 - Resource leak in lib/libdsa/dsalib_updown.c
- Ticket 47860 - register-ds-admin.pl problem when following steps to replicate o=netscaperoot
- Ticket 47548 - register-ds-admin does not register into remote config ds
- Ticket 47893 - Admin Server should use Sys::Hostname instead Net::Domain
- Ticket 47891 - Admin Server reconfig breaks SSL config
- Ticket 47300 - Update man page for remove-ds-admin.pl
- Ticket 47850 - "nsslapd-allow-anonymous-access: rootdse" makes login as "admin" fail at the first time
- Ticket 47497 - Admin Express - remove "Security Level"
- Ticket 47495 - admin express: wrong instance creation time
- Ticket 47665 - Create new instance results in setting wrong ACI for the "cn=config" entry
- Ticket 47478 - No groups file? error restarting Admin server
- Ticket 47300 - [RFE] remove-ds-admin.pl: redesign the behaviour
- Ticket 434   - admin-serv logs filling with "admserv_host_ip_check: ap_get_remote_host could not resolve <ip address>"
- Ticket 47563 - cannot restart directory server from console
- Ticket 222   - Admin Express issues "Internal Server Error" when the Config DS is down.
- Ticket 418   - Error with register-ds-admin.pl
- Ticket 377   - Unchecked use of SELinux command Reviewed by: rmeggins
- Ticket 47498 - Error Message for Failed to create the configuration directory server
2015-02-03 14:49:30 -08:00
David Tardon
c755e08a6e rebuild for ICU 54.1 2015-01-26 16:44:12 +01:00
David Tardon
55a620e0f6 rebuild for ICU 53.1 2014-08-26 13:57:19 +02:00
Peter Robinson
f323780c86 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-15 18:01:58 +00:00
Dennis Gilmore
151aeae300 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-06 17:15:57 -05:00
Parag Nemade
39b23ce783 Rebuild for icu 52 2014-02-14 12:00:37 +05:30
Rich Megginson
3d8186b20d 0417dc7 add Eclipse and patch files
- f2004ea compiler warning - ldif_read_record lineno type depends on openldap version
- Ticket #47413 389-admin fails to build with latest httpd
- 2a67826 add more debugging for SSL connection problems
- Ticket #47465 problem with 389-adminutil detection in m4/adminutil.m4 in 389-admin and 389-dsgw
- Ticket #47486 compiler warnings in adminutil, admin, dsgw
- 14b1bf9 ignore files generated by Eclipse
- Ticket 47467 - Improve CRL import error messages
- Ticket 362 - Directory Console generates insufficient key strength
- Ticket 47466 - Importing CA cert with existing name crashes security CGI
- Ticket 47468 - Change security password validation error is out of order
- Ticket #47334 - Avoid quoting all settings in console.conf
- Ticket #47333 - Relabel lockfile when starting Admin Server
- Ticket #47298 - remove-ds-admin.pl does not stop the admin server
- Ticket #567 - Restart of Admin server from console fails on segfault
2013-08-20 13:24:47 -06:00
Dennis Gilmore
2b71066626 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-02 17:21:07 -05:00
Petr Písař
e4c99062ad Perl 5.18 rebuild 2013-07-17 18:44:52 +02:00
Mark Reynolds
50e0b732c3 Ticket 47332 389-admin should be built with PIE flags
https://fedorahosted.org/389/ticket/47332

Reviewed by: nhosoi(Thanks Noriko!)
2013-04-24 13:49:46 -04:00
Kevin Fenzi
39a4c29ffd Rebuild for new icu 2013-01-27 09:14:05 -07:00
Noriko Hosoi
371ba7d35f Fixed the version number in changelog:
wrong: 1.1.30 --> correct: 1.1.31
2013-01-16 16:04:30 -08:00
Noriko Hosoi
3840499fec bump version to 1.1.30
- Ticket #476 - 389 ds do not start on F18 due to missing modules
- Ticket #293 - remove-ds-admin.pl does not remove everything
- Ticket 400 - BIND operation result not checked properly in admin server
- Ticket 401 - Console login fails with anonymous access disabled
2013-01-16 15:44:21 -08:00
Mark Reynolds
de5621c654 Ticket 432 - Introduce new systemd-rpm macros in 389-admin spec file
Description:  Added the new systemd macros where possible, but had to manually
              add the preset command in %post

https://fedorahosted.org/389/ticket/432

Reviewed by: richm(Thanks!)
(cherry picked from commit e1592f5cf7)
2012-10-19 17:32:16 -04:00
Dennis Gilmore
9d47633ebc - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-18 07:26:19 -05:00
Rich Megginson
c22477c78c support for apache 2.4 2012-06-20 14:00:40 -06:00
Rich Megginson
e455df1762 bump rel for rebuild 2012-06-19 13:20:39 -06:00
Rich Megginson
2076085457 If htmladmin fails to connect to the server, the cgi could crash. 2012-03-27 08:22:59 -06:00
Rich Megginson
7f4aa58fb9 htmladmin segfault - compilation warnings
Ticket #307 - htmladmin keeps segfaulting
Ticket #286 - compilation fixes for 'format-security'
2012-03-22 09:51:22 -06:00
Rich Megginson
28a0c1c5a7 TLS not working with latest openldap - Review and address latest Coverity issues
Ticket #281 - TLS not working with latest openldap
Ticket #161 - Review and address latest Coverity issues
2012-02-03 19:38:20 -07:00
Rich Megginson
c268b56f57 Bug 767823 - selinux: need to allow admin server to connect to ldap port 2012-01-25 08:48:45 -07:00
Dennis Gilmore
f9585390f3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-12 14:06:20 -06:00
Rich Megginson
fba065a5da Bug 740959 - 389-console put CA certificates into wrong database 2011-10-28 16:56:37 -06:00
Rich Megginson
363621b40a Bug 695741 - Providing native systemd file
389-admin now provides native systemd service files, and controls
389-ds-base with native systemd service files
2011-09-21 12:44:19 -06:00
Rich Megginson
a8b99a4fba Bug 730079 - Update SELinux policy during upgrades 2011-08-11 14:43:24 -06:00
Rich Megginson
fd82026527 Bug 724808 - startup CGIs write temp file to /
add man pages for ds_removal and ds_unregister
fixes for the makeUpgradeTar.sh script
2011-08-11 08:59:26 -06:00
Rich Megginson
6335168b47 Bug 476925 - Admin Server: Do not allow 8-bit passwords for the admin user
Bug 476925 - Admin Server: Do not allow 8-bit passwords for the admin user
2011-08-02 14:58:10 -06:00
Rich Megginson
84baba16fa 389-admin-1.1.20 - many migration + tls/ssl fixes
389-admin-1.1.20 - many migration + tls/ssl fixes
Bug 719056 - migrate-ds-admin.pl needs to update SELinux policy
Bug 718285 - AdminServer should use "service" command instead of start/stop/restart scripts
Bug 718079 - Perl errors when running migrate-ds-admin.pl
Bug 713000 - Migration stops if old admin server cannot be stopped
added tests for the security cgi
fix typo in NSS_Shutdown warning message
better NSS error handling - reduce memory leaks
Bug 710372 - Not able to open the Manage Certificate from DS-console
2011-07-05 11:21:53 -06:00
Rich Megginson
982560d4f8 look for separate openldap ldif library
look for separate openldap ldif library
2011-06-28 09:39:13 -06:00
Rich Megginson
4687d68e49 skip rebranding current brand - support for skins
skip rebranding current brand - support for skins
2011-06-21 15:39:33 -06:00
Rich Megginson
024b132480 389-admin-1.1.17
389-admin-1.1.17
support "in-place" upgrade and rebranding from Red Hat to 389
many fixes for coverity issues
2011-06-02 09:05:31 -06:00
Rich Megginson
0650e91920 release 389-admin-1.1.16
389-admin-1.1.16
Bug 476925 - Admin Server: Do not allow 8-bit passwords for the admin user
Bug 614690 - Don't use exec to call genrb
Bug 158926 - Unable to install CA certificate when using
hardware token ( LunaSA )
Bug 211296 - Clean up all HTML pages (Admin Express, Repl Monitor, etc)
2011-03-29 19:15:40 -06:00
Caolán McNamara
c9c7a897b3 rebuild for icu 4.6 2011-03-07 17:30:16 +00:00
Rich Megginson
0ab4a92078 389-admin-1.1.15 release - git tag 389-admin-1.1.15
- 1.1.15 release - git tag 389-admin-1.1.15
- Bug 493424 - remove unneeded modules for admin server apache config
- Bug 618897 - Wrong permissions when creating instance from Console
- Bug 672468 - Don't use empty path elements in LD_LIBRARY_PATH
- Bug 245278 - Changing to a password with a single quote does not work
- Bug 604881 - admin server log files have incorrect permissions/ownerships
- Bug 387981 - plain files can be chosen on the Restore Directory dialog
- Bug 668950 - Add posix group support to Console
- Bug 618858 - move start-ds-admin env file into main admin server config path
- Bug 616260 - libds-admin-serv linking fails due to unresolved link-time depe
ndencies
- start-ds-admin.in -- replaced "return 1" with "exit 1"
- Bug 151705 - Need to update Console Cipher Preferences with new ciphers
- Bug 470576 - Migration could do addition checks before commiting actions
2011-02-23 08:59:47 -07:00
Dennis Gilmore
833d2e6ff3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-07 16:51:16 -06:00
Rich Megginson
5b5647c309 1.1.14 release
1.1.14 release
- Bug 664671 - Admin server segfault when full SSL access (http+ldap+console)
required
- Bug 638511 - dirsrv-admin crashes at startup with SELinux enabled
(cherry picked from commit 4dd0d94d70897a48ad79e75f031b0e2ceb91403e)
2011-01-07 15:12:24 -07:00
7 changed files with 1 additions and 461 deletions

2
.gitignore vendored
View file

@ -1,2 +0,0 @@
*~
/389-admin-1.1.13.tar.bz2

View file

@ -1,17 +0,0 @@
#!/bin/bash
DATE=`date +%Y%m%d`
VERSION=1.1.13
PKGNAME=389-admin
TAG=${TAG:-$PKGNAME-$VERSION}
SRCNAME=${PKGNAME}-${VERSION}
echo you must be in the admin server git repo to use this
test -d .git || {
echo bye ; exit 1
}
if [ -z "$1" ] ; then
dir=.
else
dir="$1"
fi
git archive --prefix=$SRCNAME/ $TAG | bzip2 > $dir/$SRCNAME.tar.bz2

View file

@ -1,16 +0,0 @@
#!/bin/bash
DATE=`date +%Y%m%d`
VERSION=1.1.13
PKGNAME=389-admin
#SRCNAME=$PKGNAME-$VERSION-$DATE
SRCNAME=$PKGNAME-$VERSION
TAG=${PKGNAME}-${VERSION}
URL="http://git.fedorahosted.org/git/?p=389/admin.git;a=snapshot;h=$TAG;sf=tgz"
wget -O $SRCNAME.tar.gz "$URL"
echo convert tgz format to tar.bz2 format
gunzip $PKGNAME-$VERSION.tar.gz
bzip2 $PKGNAME-$VERSION.tar

View file

@ -1,410 +0,0 @@
%global pkgname dirsrv
# for a pre-release, define the prerel field - comment out for official release
# % global prerel .a2
# also need the relprefix 0. field for a pre-release - also comment out for official release
# % global relprefix 0.
Summary: 389 Administration Server (admin)
Name: 389-admin
Version: 1.1.13
Release: %{?relprefix}1%{?prerel}%{?dist}
License: GPLv2 and ASL 2.0
URL: http://port389.org/
Group: System Environment/Daemons
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Provides: fedora-ds-admin = %{version}-%{release}
Obsoletes: fedora-ds-admin < 1.1.8-1
Obsoletes: %{name}-selinux
Conflicts: selinux-policy-base < 3.9.8
BuildRequires: nspr-devel
BuildRequires: nss-devel
BuildRequires: openldap-devel
BuildRequires: cyrus-sasl-devel
BuildRequires: icu
BuildRequires: libicu-devel
BuildRequires: httpd-devel
BuildRequires: apr-devel
BuildRequires: mod_nss
BuildRequires: 389-adminutil-devel
Requires: 389-ds-base
Requires: mod_nss
# this is needed for using semanage from our setup scripts
Requires: policycoreutils-python
# this is needed to load and unload the policy module
Requires(post): policycoreutils
Requires(preun): policycoreutils
Requires(postun): policycoreutils
# the following are needed for some of our scripts
Requires: perl-Mozilla-LDAP
Requires: nss-tools
# for the init script
Requires(post): /sbin/chkconfig
Requires(preun): /sbin/chkconfig
Requires(preun): /sbin/service
Source0: http://port389.org/sources/%{name}-%{version}%{?prerel}.tar.bz2
# 389-admin-git.sh should be used to generate the source tarball from git
Source1: %{name}-git.sh
Patch1: f11-httpd.patch
%description
389 Administration Server is an HTTP agent that provides management features
for 389 Directory Server. It provides some management web apps that can
be used through a web browser. It provides the authentication, access control,
and CGI utilities used by the console.
%prep
%setup -q -n %{name}-%{version}%{?prerel}
%patch1
%build
%configure --disable-rpath --with-selinux --with-openldap
# Generate symbolic info for debuggers
export XCFLAGS=$RPM_OPT_FLAGS
%ifarch x86_64 ppc64 ia64 s390x sparc64
export USE_64=1
%endif
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR="$RPM_BUILD_ROOT" install
# make console jars directory
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/html/java
#remove libtool and static libs
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
rm -f $RPM_BUILD_ROOT%{_libdir}/*.so
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/%{pkgname}/modules/*.a
rm -f $RPM_BUILD_ROOT%{_libdir}/%{pkgname}/modules/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%pre -p <lua>
-- save ownership/permissions on the dirs/files that rpm changes
-- if these don't exist, the vars will be nil
%{pkgname}admin_adminserv = posix.stat('%{_sysconfdir}/%{pkgname}/admin-serv')
%{pkgname}admin_consoleconf = posix.stat('%{_sysconfdir}/%{pkgname}/admin-serv/console.conf')
-- save the run level configuration, if any
rc = os.execute('rpm --quiet -q fedora-ds-admin')
if rc == 0 then
%{pkgname}admin_exists = true
%{pkgname}admin_savelinks = {}
for dir in posix.files("%{_sysconfdir}/rc.d") do
if string.find(dir, "rc%d.d") then
-- print("looking in %{_sysconfdir}/rc.d/"..dir)
for link in posix.files("%{_sysconfdir}/rc.d/"..dir) do
if string.find(link, "[SK]%d%d%{pkgname}-admin") then
fullname = "%{_sysconfdir}/rc.d/"..dir.."/"..link
linked = posix.readlink(fullname)
-- print(fullname.." is linked to "..linked)
%{pkgname}_savelinks[fullname] = linked
end
end
end
end
end
%post -p <lua>
-- do the usual daemon post setup stuff
os.execute('/sbin/chkconfig --add %{pkgname}-admin')
os.execute('/sbin/ldconfig')
-- restore permissions if upgrading
if %{pkgname}admin_adminserv then
posix.chmod('%{_sysconfdir}/%{pkgname}/admin-serv', %{pkgname}admin_adminserv.mode)
posix.chown('%{_sysconfdir}/%{pkgname}/admin-serv', %{pkgname}admin_adminserv.uid, %{pkgname}admin_adminserv.gid)
end
if %{pkgname}admin_consoleconf then
posix.chmod('%{_sysconfdir}/%{pkgname}/admin-serv/console.conf', %{pkgname}admin_consoleconf.mode)
posix.chown('%{_sysconfdir}/%{pkgname}/admin-serv/console.conf', %{pkgname}admin_consoleconf.uid, %{pkgname}admin_consoleconf.gid)
end
%preun
if [ $1 = 0 ]; then
/sbin/service %{pkgname}-admin stop >/dev/null 2>&1 || :
/sbin/chkconfig --del %{pkgname}-admin
fi
%postun
/sbin/ldconfig
%posttrans -p <lua>
-- if we saved the run level configuration in %pre, restore it now
-- we can get rid of this code once Fedora 11 becomes obsolete
if %{pkgname}admin_savelinks then
for fullpath,link in pairs(%{pkgname}admin_savelinks) do
posix.symlink(link,fullpath)
-- print("posttrans - restored run level "..fullpath.." to "..link)
end
end
if %{pkgname}admin_exists then
os.execute('/sbin/service %{pkgname}-admin start >/dev/null 2>&1')
end
%files
%defattr(-,root,root,-)
%doc LICENSE
%dir %{_sysconfdir}/%{pkgname}/admin-serv
%config(noreplace)%{_sysconfdir}/%{pkgname}/admin-serv/*.conf
%{_datadir}/%{pkgname}
%{_sysconfdir}/rc.d/init.d/%{pkgname}-admin
%config(noreplace)%{_sysconfdir}/sysconfig/%{pkgname}-admin
%{_sbindir}/*
%{_libdir}/*.so.*
%{_libdir}/%{pkgname}
%{_mandir}/man8/*
%changelog
* Tue Nov 23 2010 Rich Megginson <rmeggins@redhat.com> - 1.1.13-1
- This is the final 1.1.13 release
- git tag 389-admin-1.1.13
- Bug 656441 - Missing library path entry causes LD_PRELOAD error
- setup-ds-admin.pl -u exits with ServerAdminID and as_uid related error
* Wed Nov 17 2010 Nathan Kinder <nkinder@redhat.com> - 1.1.1.12-2
- This is the final 1.1.12 release
- git tag 389-admin-1.1.12
* Fri Nov 12 2010 Nathan Kinder <nkinder@redhat.com> - 1.1.1.12-1
- This is the final 1.1.12 release
- git tag 389-admin-1.1.12
* Fri Nov 12 2010 Nathan Kinder <nkinder@redhat.com> - 1.1.1.12-1
- Bug 648949 - Merge dirsrv and dirsrv-admin policy modules into base policy
* Tue Oct 26 2010 Rich Megginson <rmeggins@redhat.com> - 1.1.12-0.2.a2
- fix mozldap build breakage
* Tue Sep 28 2010 Rich Megginson <rmeggins@redhat.com> - 1.1.12-0.1.a1
- This is the 1.1.12 alpha 1 release - with openldap support
* Thu Aug 26 2010 Rich Megginson <rmeggins@redhat.com> - 1.1.11-1
- This is the final 1.1.11 release
* Wed Aug 4 2010 Rich Megginson <rmeggins@redhat.com> - 1.1.11-0.7.rc2
- 1.1.11.rc2 release
- git tag 389-admin-1.1.11.rc2
- Bug 594745 - Get rid of dirsrv_lib_t label
* Wed Jun 9 2010 Rich Megginson <rmeggins@redhat.com> - 1.1.11-0.6.rc1
- 1.1.11.rc1 release
* Wed May 26 2010 Rich Megginson <rmeggins@redhat.com> - 1.1.11-0.5.a4
- 1.1.11.a4 release
* Tue Apr 7 2010 Nathan Kinder <nkinder@redhat.com> - 1.1.11-0.4.a3
- 1.1.11.a3 release
- Bug 570912 - dirsrv-admin SELinux module fails to install
- Change parsing of start-slapd for instance name
- Bug 574233 - Updated requirements for selinux policy
- Moved selinux subpackage into base package
* Fri Apr 02 2010 Caolán McNamara <caolanm@redhat.com> - 1.1.11.a2-0.3
- rebuild for icu 4.4
* Fri Feb 26 2010 Rich Megginson <rmeggins@redhat.com> - 1.1.11.a2-0.2
- the 1.1.11.a2 release
- Bug 460162 - FedoraDS "with-FHS" installs init.d StartupScript in wrong location
- Bug 460209 - Correct configure help message
- Bug 560827 - Admin Server: DistinguishName validation fails
- Make check for threaded httpd work with Apache 2.0
* Thu Jan 21 2010 Nathan Kinder <nkinder@redhat.com> - 1.1.11.a1-0.1
- the 1.1.11.a1 release
- added SELinux subpackage
* Wed Jan 20 2010 Rich Megginson <rmeggins@redhat.com> - 1.1.10-1
- the 1.1.10 release
- allow server to run unconfined if not built with selinux support
* Thu Jan 14 2010 Rich Megginson <rmeggins@redhat.com> - 1.1.10.a3-0.3
- the 1.1.10.a3 release
- make sure we can find ICU genrb on all platforms
* Fri Dec 18 2009 Rich Megginson <rmeggins@redhat.com> - 1.1.10.a2-0.2
- the 1.1.10.a2 release
- fix problem with genrb path on F-12 and later
* Thu Oct 8 2009 Rich Megginson <rmeggins@redhat.com> - 1.1.10.a1-1
- the 1.1.10.a1 release
* Mon Sep 14 2009 Rich Megginson <rmeggins@redhat.com> - 1.1.9-1
- the 1.1.9 release
* Tue Aug 25 2009 Rich Megginson <rmeggins@redhat.com> - 1.1.8-6
- rewrite perm/owner preservation code to use lua
* Wed Aug 12 2009 Rich Megginson <rmeggins@redhat.com> - 1.1.8-5
- final rebuild for 1.1.8 release
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.8-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Tue Jul 21 2009 Rich Megginson <rmeggins@redhat.com> - 1.1.8-3
- bump rev for final rebuild
* Tue Jul 21 2009 Rich Megginson <rmeggins@redhat.com> - 1.1.8-2
- change adminutil to 389-adminutil
* Thu Jun 18 2009 Rich Megginson <rmeggins@redhat.com> - 1.1.8-1
- bump version to 1.1.8
- change license to GPLv2 + ASL 2.0
- changed files that were incorrectly licensed as GPLv2+ to plain GPLv2
* Wed May 13 2009 Rich Megginson <rmeggins@redhat.com> - 1.1.7-5
- rename to 389
* Thu Apr 9 2009 Rich Megginson <rmeggins@redhat.com> - 1.1.7-4
- Resolves: bug 493424
- Description: dirsrv-admin initscript looks for nonexistent library
- Added patch to remove those modules from the httpd.conf
* Wed Apr 8 2009 Rich Megginson <rmeggins@redhat.com> - 1.1.7-3
- Resolves: bug 494980
- Description: setup-ds-admin.pl -u and silent setup complain about ServerIpAddress
- CVS tag FedoraDirSrvAdmin_1_1_7_RC3 FedoraDirSrvAdmin_1_1_7_RC3_20090408
* Fri Apr 3 2009 Rich Megginson <rmeggins@redhat.com> - 1.1.7-2
- Resolves: bug 493989
- Description: Admin Server: valgrind invalid read in security.c when installing CRL
* Tue Mar 31 2009 Rich Megginson <rmeggins@redhat.com> - 1.1.7-1
- this is the 1.1.7 release
- added man pages for setup, migration, remove commands
- better error handling for command line utilities
- fixed remove from console
- added remove-ds-admin.pl
- added pre and post sections in order to preserve the permissions and ownerships
- CVS tag FedoraDirSrvAdmin_1_1_7_RC1 FedoraDirSrvAdmin_1_1_7_RC1_20090331
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Mon Sep 15 2008 Rich Megginson <rmeggins@redhat.com> - 1.1.6-2
- patch for bug 451702 not required anymore - in upstream now
* Wed Jul 2 2008 Rich Megginson <rmeggins@redhat.com> - 1.1.6-1
- add patch for bug 451702
- The 1.1.6 release
* Fri Jun 6 2008 Rich Megginson <rmeggins@redhat.com> - 1.1.5-1
- Resolves: Bug 448366
- genrb no longer supports -p option
* Tue Apr 15 2008 Rich Megginson <rmeggins@redhat.com> - 1.1.4-1
- Resolves: Bug 437301
- Directory Server: shell command injection in CGI replication monitor
- Fix: rewrite the perl script to ignore all input parameters - replmon.conf
- file will have to be hard coded to be in the admin-serv directory
- Resolves: Bug 437320
- Directory Server: unrestricted access to CGI scripts
- Fix: remove script alias for /bin/admin/admin/bin/
* Wed Jan 9 2008 Rich Megginson <rmeggins@redhat.com> - 1.1.2-1
- Fix issues associated with Fedora pkg review bug 249548
* Tue Dec 11 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.1-1
- this is the final GA candidate
* Tue Nov 6 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-1.16
- fix several beta blocker issues
* Mon Oct 15 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-1.15
- fix bogus dist macro
- change mozldap6 to mozldap
* Thu Oct 11 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-1.14
- make admin server work with SELinux enabled
- fix wording errors in setup
* Mon Oct 8 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-1.13
- added /etc/sysconfig/dirsrv-admin the file that allows you to set
- the environment used to start up the admin server (e.g. keytab, ulimit, etc.)
- the initscript and admin start script use this file now
- This version also has a fix to print the correct error message if the admin
- server cannot be contacted during setup or migration.
* Thu Sep 27 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-1.12
- fix a couple of migration issues, including the rpath $libdir problem
- allow ds_remove from console to remove instances
* Wed Sep 19 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-1.11
- one line fix to fix of 295001 - console.conf clobbered
* Tue Sep 18 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-1.10
- fixed migration issue bugzilla 295001 - console.conf clobbered
* Fri Sep 14 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-1.9
- fix several more migration problems
* Fri Sep 14 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-1.8
- fix migration - servers are started as they are migrated now
* Tue Aug 21 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-1.7
- Fix the with-fhs-opt configure flag
* Fri Aug 17 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-1.6
- remove curses
- make mod_admserv link against sasl
- add the usual .m4 files to mod_admserv instead of having all of
- the component logic in configure.in
* Thu Aug 16 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-1.5
- incorporate Noriko's migration fix
* Wed Aug 15 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-1.4
- address several migration issues
* Mon Aug 13 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-1.3
- there is no devel package, so remove unused .so files
* Mon Aug 13 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-1.2
- forgot to tag the modules
* Fri Aug 10 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-1.1
- get rid of cvsdate
- use pkgname of dirsrv for filesystem path naming
- get rid of devel package
- simplify files section
* Fri Aug 10 2007 Noriko Hosoi <nhosoi@redhat.com> - 1.1.0-0.3.20070810
- updated to latest sources
- upgraded the mozldap6 version to 6.0.4
* Wed Aug 8 2007 Noriko Hosoi <nhosoi@redhat.com> - 1.1.0-0.2.20070808
- updated to latest sources -- bug fixes in the setup scripts
* Mon Aug 6 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-0.1.20070806
- updated to latest sources
* Thu Aug 2 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-0.4.20070802
- There are no files in bindir anymore
* Thu Aug 2 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-0.3.20070802
- forgot to prepend build root to java dir creation
* Thu Aug 2 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-0.2.20070802
- forgot to add mod_admserv and mod_restartd to source
* Thu Aug 2 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-0.1.20070802
- updated to latest sources - fix build breakage
- add console jars dir under html
* Mon Jul 23 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-0.1.20070725
- Initial version based on fedora-ds-base.spec

1
dead.package Normal file
View file

@ -0,0 +1 @@
Retiring 389-admin as its been replaced by Cockpit UI plugin

View file

@ -1,15 +0,0 @@
--- admserv/cfgstuff/httpd-2.2.conf.in 1 Aug 2007 18:14:53 -0000 1.6
+++ admserv/cfgstuff/httpd-2.2.conf.in 9 Apr 2009 16:07:53 -0000
@@ -137,12 +137,10 @@
LoadModule actions_module @moddir@/mod_actions.so
LoadModule alias_module @moddir@/mod_alias.so
LoadModule rewrite_module @moddir@/mod_rewrite.so
LoadModule cache_module @moddir@/mod_cache.so
LoadModule disk_cache_module @moddir@/mod_disk_cache.so
-LoadModule file_cache_module @moddir@/mod_file_cache.so
-LoadModule mem_cache_module @moddir@/mod_mem_cache.so
LoadModule cgi_module @moddir@/mod_cgi.so
LoadModule restartd_module @admmoddir@/mod_restartd.so
LoadModule nss_module @nssmoddir@/libmodnss.so
LoadModule admserv_module @admmoddir@/mod_admserv.so

View file

@ -1 +0,0 @@
0dd329ee4a20a86425e14e3f894e46ae 389-admin-1.1.13.tar.bz2