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.

21 commits

Author SHA1 Message Date
Rich Megginson
d85010ffbe look for separate openldap ldif library
look for separate openldap ldif library
(cherry picked from commit 982560d4f8)
(cherry picked from commit 1508a1a5b5)
(cherry picked from commit 6da9f2919d)
2011-06-28 09:40:11 -06:00
Rich Megginson
11ac61dc9f skip rebranding current brand - support for skins
skip rebranding current brand - support for skins
(cherry picked from commit 4687d68e49)
(cherry picked from commit 5fe2312f29)
(cherry picked from commit 55fa49d238)
2011-06-21 15:49:57 -06:00
Rich Megginson
69d6812fbb 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:12:10 -06:00
Rich Megginson
06f0e00709 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)
(cherry picked from commit f2108ffba8)
2011-03-29 19:21:11 -06:00
Rich Megginson
b208e848ff 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
(cherry picked from commit e520d3565a)
2011-02-23 09:05:11 -07:00
Rich Megginson
b60adcb636 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 20:15:19 -07:00
Rich Megginson
11e3805d9c This is the final 1.1.13 release
- 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
2010-11-23 18:59:04 -07:00
Nathan Kinder
17bd2e0b3b Updated sources for 1.1.12 final build 2010-11-17 11:14:31 -08:00
Nathan Kinder
221bfa9e3d Remove selinux policy
This removes the dirsrv selinux policy from 389-admin.  The same
policy is being implemented in the selinux-policy-base package now,
so we no longer need to build and carry it here.
2010-11-15 10:46:21 -08:00
Rich Megginson
9a50eb29de version 1.1.12.a2 to fix mozldap build breakage 2010-10-26 12:52:30 -06:00
Rich Megginson
78005abd06 version 1.1.12.a1 - openldap support
version 1.1.12.a1 - uses openldap instead of mozldap on those platforms
that use moznss for openldap crypto (F-14 and later)
2010-10-26 10:59:13 -06:00
Rich Megginson
b37a20ff60 Merge branch 'master' into f13
Conflicts:

	389-admin.spec
2010-08-26 15:43:23 -06:00
Rich Megginson
28ee6cd220 Merge branch 'master' into f13
Conflicts:

	.gitignore
	389-admin-git-local.sh
	389-admin-git.sh
	389-admin.spec
	sources
2010-08-04 11:19:01 -06:00
Fedora Release Engineering
7b3679c797 dist-git conversion 2010-07-28 08:43:30 +00:00
Richard Allen Megginson
f1fc4bd472 this is the 1.1.11.rc1 release 2010-06-09 15:03:25 +00:00
Richard Allen Megginson
257b40a5bd this is the 1.1.11.a4 release 2010-05-26 21:48:15 +00:00
Richard Allen Megginson
fab8eb9d1c sources for the 1.1.11.a3 release 2010-04-15 18:15:18 +00:00
Nathan Kinder
353946930a Moved selinux subpackage into base package. 2010-04-07 22:44:40 +00:00
Nathan Kinder
7d4a4686d2 Updated spec files for 1.1.11.a3 release. 2010-04-06 19:12:46 +00:00
Richard Allen Megginson
e7c15754ef 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
2010-02-27 02:08:56 +00:00
Jesse Keating
3390e66684 Initialize branch F-13 for 389-admin 2010-02-17 00:45:25 +00:00
6 changed files with 79 additions and 113 deletions

9
.gitignore vendored
View file

@ -1,2 +1,9 @@
*~
/389-admin-1.1.11.tar.bz2
389-admin-1.1.12.tar.bz2
/389-admin-1.1.13.tar.bz2
/389-admin-1.1.14.tar.bz2
/389-admin-1.1.15.tar.bz2
/389-admin-1.1.16.tar.bz2
/389-admin-1.1.17.tar.bz2
/389-admin-1.1.18.tar.bz2
/389-admin-1.1.19.tar.bz2

View file

@ -1,12 +1,14 @@
#!/bin/bash
DATE=`date +%Y%m%d`
VERSION=1.1.11
VERSION=1.1.19
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 }
test -d .git || {
echo bye ; exit 1
}
if [ -z "$1" ] ; then
dir=.
else

View file

@ -1,7 +1,7 @@
#!/bin/bash
DATE=`date +%Y%m%d`
VERSION=1.1.11
VERSION=1.1.19
PKGNAME=389-admin
#SRCNAME=$PKGNAME-$VERSION-$DATE
SRCNAME=$PKGNAME-$VERSION

View file

@ -1,22 +1,17 @@
%global pkgname dirsrv
# for a pre-release, define the prerel field - comment out for official release
# % global prerel .rc2
# % global prerel .a1
# also need the relprefix 0. field for a pre-release - also comment out for official release
# % global relprefix 0.
%global selinux_variants mls targeted
Summary: 389 Administration Server (admin)
Name: 389-admin
Version: 1.1.11
Version: 1.1.19
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
BuildRequires: nspr-devel
BuildRequires: nss-devel
@ -30,12 +25,6 @@ BuildRequires: apr-devel
BuildRequires: mod_nss
BuildRequires: 389-adminutil-devel
# The following are needed to build the SELinux policy
BuildRequires: checkpolicy
BuildRequires: selinux-policy-devel
BuildRequires: /usr/share/selinux/devel/Makefile
BuildRequires: 389-ds-base-selinux-devel
Requires: 389-ds-base
Requires: mod_nss
@ -59,7 +48,6 @@ 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
@ -69,7 +57,6 @@ and CGI utilities used by the console.
%prep
%setup -q -n %{name}-%{version}%{?prerel}
%patch1
%build
%configure --disable-rpath --with-selinux
@ -83,17 +70,6 @@ export USE_64=1
make %{?_smp_mflags}
# Build the SELinux policy module for each variant
cd selinux-built
cp %{_datadir}/%{pkgname}-selinux/%{pkgname}.if .
cp %{_datadir}/%{pkgname}-selinux/%{pkgname}.te .
for selinuxvariant in %{selinux_variants}
do
make NAME=${selinuxvariant} -f /usr/share/selinux/devel/Makefile
mv %{pkgname}-admin.pp %{pkgname}-admin.pp.${selinuxvariant}
make NAME=${selinuxvariant} -f /usr/share/selinux/devel/Makefile clean
done
cd -
%install
rm -rf $RPM_BUILD_ROOT
@ -110,15 +86,6 @@ 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
# Install the SELinux policy
cd selinux-built
for selinuxvariant in %{selinux_variants}
do
install -d %{buildroot}%{_datadir}/selinux/${selinuxvariant}
install -p -m 644 %{pkgname}-admin.pp.${selinuxvariant} \
%{buildroot}%{_datadir}/selinux/${selinuxvariant}/%{pkgname}-admin.pp
done
cd -
%clean
rm -rf $RPM_BUILD_ROOT
@ -128,25 +95,6 @@ rm -rf $RPM_BUILD_ROOT
-- 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
@ -161,46 +109,15 @@ 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
-- load the selinux policy module
variants = "%{selinux_variants}"
for selinuxvariant in string.gfind(variants, "%a+") do
os.execute('semodule -s '..selinuxvariant..' -i %{_datadir}/selinux/'..selinuxvariant..'/%{pkgname}-admin.pp > /dev/null 2>&1')
end
-- label the files installed by this package
os.execute('fixfiles -R %{name} restore > /dev/null 2>&1')
%preun
if [ $1 = 0 ]; then
/sbin/service %{pkgname}-admin stop >/dev/null 2>&1 || :
/sbin/chkconfig --del %{pkgname}-admin
for selinuxvariant in %{selinux_variants}
do
semodule -s ${selinuxvariant} -r %{pkgname}-admin 2>/dev/null || :
done
fi
%postun
/sbin/ldconfig
if [ "$1" -ge "1" ]; then # Upgrade
for selinuxvariant in %{selinux_variants}
do
semodule -s ${selinuxvariant} -i %{_datadir}/selinux/${selinuxvariant}/%{pkgname}-admin.pp 2>/dev/null || :
done
fi
%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,-)
@ -208,7 +125,6 @@ end
%dir %{_sysconfdir}/%{pkgname}/admin-serv
%config(noreplace)%{_sysconfdir}/%{pkgname}/admin-serv/*.conf
%{_datadir}/%{pkgname}
%{_datadir}/selinux/*/%{pkgname}-admin.pp
%{_sysconfdir}/rc.d/init.d/%{pkgname}-admin
%config(noreplace)%{_sysconfdir}/sysconfig/%{pkgname}-admin
%{_sbindir}/*
@ -217,30 +133,86 @@ end
%{_mandir}/man8/*
%changelog
* Tue Jun 28 2011 Rich Megginson <rmeggins@redhat.com> - 1.1.19-1
- look for separate openldap ldif library
* Tue Jun 21 2011 Rich Megginson <rmeggins@redhat.com> - 1.1.18-1
- skip rebranding current brand
- support for skins
* Fri May 13 2011 Rich Megginson <rmeggins@redhat.com> - 1.1.17-1
- 1.1.17
- support "in-place" upgrade and rebranding from Red Hat to 389
- many fixes for coverity issues
* Tue Mar 29 2011 Rich Megginson <rmeggins@redhat.com> - 1.1.16-1
- 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)
* Wed Feb 23 2011 Rich Megginson <rmeggins@redhat.com> - 1.1.15-1
- 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
* Wed Jan 5 2011 Rich Megginson <rmeggins@redhat.com> - 1.1.14-1
- 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
* 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
* 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
- 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
* Wed Aug 4 2010 Rich Megginson <rmeggins@redhat.com> - 1.1.11-0.6.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
* Wed Jun 9 2010 Rich Megginson <rmeggins@redhat.com> - 1.1.11-0.5.rc1
- 1.1.11.rc1 release
* Wed May 26 2010 Rich Megginson <rmeggins@redhat.com> - 1.1.11-0.5.a4
* Wed May 26 2010 Rich Megginson <rmeggins@redhat.com> - 1.1.11-0.4.a4
- 1.1.11.a4 release
* Tue Apr 7 2010 Nathan Kinder <nkinder@redhat.com> - 1.1.11-0.4.a3
* Tue Apr 7 2010 Nathan Kinder <nkinder@redhat.com> - 1.1.11-0.3.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

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 +1 @@
3301554c3cd9cb26216a43c037695559 389-admin-1.1.11.tar.bz2
30a3add5cd160c7ce5ee25fdd8b02a15 389-admin-1.1.19.tar.bz2