-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop deprecated Group and BuildRoot tags Don't clean buildroot at start of %%install and drop %%clean section Re-order preamble and drop useless variables Use %%global instead of %%define Split long line in %%description Split long lines / simplify Don't change dirs ownership in %%post Drop default %%defattr Convert License tag to SPDX and distribute LICENSE file Distribute AUTHORS and README.md Move conf file to %%_sysconfdir Use macros instead of straigh paths Drop comments duplicating sections name Add blank lines between changelog entries for legibility Fix changelog entries format Use full URL for Source0 Add provides for bundled stuff Run checks (Fedora only) Specify all deps and provide a custom autoloader Specify min php version Install a minimal local config Re-order directories creation Preserve timestamps Update URL tag
- Loading branch information
Showing
3 changed files
with
139 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?php | ||
#============================================================================== | ||
# LTB Service Desk | ||
# | ||
# Copyright (C) 2016 Clement OUDOT | ||
# Copyright (C) 2016 LTB-project.org | ||
# | ||
# This program is free software; you can redistribute it and/or | ||
# modify it under the terms of the GNU General Public License | ||
# as published by the Free Software Foundation; either version 2 | ||
# of the License, or (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# GPL License: http://www.gnu.org/licenses/gpl.txt | ||
# | ||
#============================================================================== | ||
|
||
#============================================================================== | ||
# Overriding the ldap variables should be the bare minimum to get a working | ||
# config. All other defaults from config.inc.php can be overrided here too. | ||
#============================================================================== | ||
# LDAP | ||
#$ldap_url = "ldap://localhost"; | ||
#$ldap_starttls = false; | ||
#$ldap_binddn = "cn=manager,dc=example,dc=com"; | ||
#$ldap_bindpw = "secret"; | ||
#$ldap_base = "dc=example,dc=com"; | ||
#$ldap_user_base = "ou=users,".$ldap_base; | ||
#$ldap_user_filter = "(objectClass=inetOrgPerson)"; | ||
#$ldap_group_base = "ou=groups,".$ldap_base; | ||
#$ldap_group_filter = "(|(objectClass=groupOfNames)(objectClass=groupOfUniqueNames))"; | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
require_once "/usr/share/php/Smarty/Smarty.class.php"; | ||
#require_once "/usr/share/php/Smarty/Autoloader.php"; | ||
require_once "/usr/share/php/PHPMailer/PHPMailer6/autoload.php"; | ||
require_once "/usr/share/php/Ltb/LtbUtil.php"; | ||
require_once "/usr/share/php/Ltb/Ldap.php"; | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters