Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:deadpoint
opendj
opendj.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File opendj.spec of Package opendj
# # Copyright (c) 2010 Darin Perusich # Author: Darin Perusich <darin@darins.net> # # %define bname OpenDJ %define oldver 2.4.0 Summary: OpenDJ an open source directory server in Java Name: opendj Version: 2.6.0 Release: 3 License: CDDL Group: Productivity/Networking/LDAP/Clients URL: http://www.forgerock.com/opendj.html Source0: OpenDJ-2.6.0.zip #Source9: http://www.forgerock.org/downloads/opendj/2.4.5/OpenDJ-2.4.5.zip Source1: opendj.sysconfig Source2: opendj.init Source3: SuSEfirewall2-opendj-ldap Source4: SuSEfirewall2-opendj-ldap-ssl Source5: SuSEfirewall2-opendj-ldap-administration Source6: SuSEfirewall2-opendj-ldap-replication Source7: create-nis-indexes.sh Source8: opendj_patch4upgrade.sh BuildArch: noarch BuildRequires: unzip BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: java >= 1.6.0 PreReq: %fillup_prereq PreReq: %insserv_prereq %description OpenDJ is a new LDAPv3 compliant directory service, developed for the Java platform, providing a high performance, highly available and secure store for the identities managed by enterprises. Its easy installation process, combined with the power of the Java platform makes of OpenDJ the simplest and fastest directory server to deploy and manage. %prep %setup -q -n %{name} %install export NO_BRP_CHECK_BYTECODE_VERSION=true # create directories install -d -m 0755 %{buildroot}/opt/%{name} install -d -m 0755 %{buildroot}/%_sysconfdir/init.d install -d -m 0755 %{buildroot}/%_sbindir # init script install -m 0755 %{S:2} %{buildroot}/%_sysconfdir/init.d/opendj ln -s %_sysconfdir/init.d/opendj %{buildroot}/%_sbindir/rcopendj # sysconfig script install -D -m 0644 %{S:1} %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.%{name} # firewall rules install -d -m 0755 %{buildroot}/%_sysconfdir/sysconfig/SuSEfirewall2.d/services install -m 0755 %{S:3} %{buildroot}/%_sysconfdir/sysconfig/SuSEfirewall2.d/services/opendj-ldap install -m 0755 %{S:4} %{buildroot}/%_sysconfdir/sysconfig/SuSEfirewall2.d/services/opendj-ldap-ssl install -m 0755 %{S:5} %{buildroot}/%_sysconfdir/sysconfig/SuSEfirewall2.d/services/opendj-ldap-administration install -m 0755 %{S:6} %{buildroot}/%_sysconfdir/sysconfig/SuSEfirewall2.d/services/opendj-ldap-replication # remove macos stuff #rm -rf bin/ControlPanel.app QuickSetup.app Uninstall.app # remove .bat files #rm setup.bat uninstall.bat upgrade.bat cp -aRf bin instance.loc lib setup template uninstall upgrade \ %{buildroot}/opt/%{name}/ # create indexes, upgrade patch install -m 0755 %{S:7} %{buildroot}/opt/%{name}/bin/create-nis-indexes install -m 0755 %{S:8} %{buildroot}/opt/%{name}/bin/ # unpack upgrades #install -d -m 0755 %{buildroot}/opt/%{name}/upgrade_zip #install -m 0644 %{S:9} %{buildroot}/opt/%{name}/upgrade_zip %clean rm -rf %{buildroot} %preun %stop_on_removal opendj %post %{fillup_only -n opendj} %postun %restart_on_update opendj %insserv_cleanup %files %defattr(-,root,root) %doc README legal-notices opendj_logo.png example-plugin.zip /opt/%{name}/ %_sbindir/rcopendj %_sysconfdir/init.d/opendj %_sysconfdir/sysconfig/SuSEfirewall2.d/services/* %{_localstatedir}/adm/fillup-templates/sysconfig.%{name} %changelog * Thu Jul 18 2013 Darin Perusich <darin@darins.net> - removed %config dir - removed windows bat * Wed Jul 10 2013 Darin Perusich <darin@darins.net> - update to release 2.6.0 * Thu Apr 20 2012 Darin Perusich <darin@darins.net> - updated to release 2.4.5 + included OpenDJ-2.4.5.zip to perform manual upgrade - add upgrade script back to installation - included the 2.4.1 upgrade patch * Tue Jan 25 2011 Darin Perusich <darin@darins.net> - added create-nis-indexes script * Fri Jan 21 2011 Darin Perusich <darin@darins.net> - added SuSEfirewall2 rules * Tue Dec 28 2010 Darin Perusich <darin@darins.net> - added noreplace for config.ldif - updated Source0 * Tue Nov 30 2010 Darin Perusich <darin@darins.net> - Initial package creation - Wrote init script for openSUSE
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor