diff --git a/README.md b/README.md index ca86d80..c231360 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ SMEServer Koozali developed git repo for smeserver-devtools smeserver
https://wiki.koozali.org/ ## Bugzilla -Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=smeserver-devtools&product=SME%20Server%2010.X&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED)\ +Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?quicksearch=smeserver-devtools) And a list of outstanding Legacy bugs: (e-smith-devtools) [here](https://bugs.koozali.org/buglist.cgi?component=e-smith-devtools&product=SME%20Server%2010.X&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED) ## Description diff --git a/smeserver-devtools.spec.bak b/smeserver-devtools.spec.bak new file mode 100644 index 0000000..0958619 --- /dev/null +++ b/smeserver-devtools.spec.bak @@ -0,0 +1,503 @@ +# $Id: e-smith-devtools.spec,v 1.15 2022/07/30 04:30:09 jpp Exp $ + +Summary: smeserver tools for building RPMs +%define name smeserver-devtools +Name: %{name} +%define version 11.0.0 +%define release 1 +Version: %{version} +Release: %{release}%{?dist} +License: GPL +Group: Networking/Daemons +Source: %{name}-%{version}.tar.xz + +Provides: e-smith-devtools +BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot +BuildArchitectures: noarch +Requires: perl, perl(Test::Inline) >= 0.12, perl(XML::Parser) +Requires: perl(Pod::Tests) +AutoReqProv: no + +%changelog +* Sat Mar 23 2024 Brian Read 11.0.0-1.sme +- Update Release and Version to base version and 1st release for SME11 [SME: 12518] + +* Fri Mar 15 2024 Jean-Philippe Pialasse 2.6.0-20.sme +- do not add python compiled files by default, option to add them [SME: 11380] + ignore .py files in /etc/e-smith/templates + also added better usage output + +* Tue Mar 12 2024 Jean-Philippe Pialasse 2.6.0-19.sme +- add Provides: e-smith-devtools + +* Mon Mar 11 2024 Jean-Philippe Pialasse 2.6.0-17.sme +- fix missing deps for perl(Pod::Tests) [SME: 12501] + +* Mon Mar 11 2024 rename-e-smith-pkg.sh by Trevor Batley 2.6.0-16.sme +- Rename to smeserver-devtools [SME: 12359] + +* Wed Jul 12 2023 cvs2git.sh aka Brian Read 2.6.0-15.sme +- Roll up patches and move to git repo [SME: 12338] + +* Wed Jul 12 2023 BogusDateBot +- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, + by assuming the date is correct and changing the weekday. + Sat Apr 05 2002 --> Sat Mar 30 2002 or Fri Apr 05 2002 or Sat Apr 06 2002 or .... + +* Fri Jul 29 2022 Jean-Philippe Pialasse 2.6.0-14.sme +- remove duplication with Dar backup [SME: 11993] + +* Tue Jun 14 2022 Jean-Philippe Pialasse 2.6.0-12.sme +- ease backup include and exclude of contribs [SME: 11993] + +* Tue Apr 20 2021 Jean-Philippe Pialasse 2.6.0-10.sme +- netlogon.bat +x [SME: 11566] + +* Wed Jan 06 2021 Jean-Philipe Pialasse 2.6.0-9.sme +- add update event [SME: 11126] + +* Sat Mar 17 2018 Jean-Philipe Pialasse 2.6.0-7.sme +- ease update of e-smith-devtools on non SME builders [SME: 10536] + +* Thu May 25 2017 Jean-Philipe Pialasse 2.6.0-6.sme +- added grub2 directories to ignore list [SME: 10325] + +* Tue Aug 23 2016 Daniel Berteaud 2.6.0-5.sme +- Quote filenames in genfilelist so filenames containing spaces are correctly + handled [SME: 9750] + +* Wed May 11 2016 Daniel Berteaud 2.6.0-4.sme +- Panel links points on the manager's C wrapper, and original cgi are not + suid anymore. [SME: 9393] +- console is now also called through a C wrapper to replace perl-suid [SME: 9393] + +* Fri Mar 18 2016 Daniel Berteaud 2.6.0-3.sme +- Ignore more system directories [SME: 9347] + +* Sun Feb 7 2016 Daniel Berteaud 2.6.0-2.sme +- Don't add %dir and %attr in genfilelist for symlinks, code from + Charlie Brady [SME: 9232] + +* Thu Feb 4 2016 Daniel Berteaud 2.6.0-1.sme +- Roll new stream for sme10 + +* Mon Jun 22 2015 stephane de labrusse 2.4.0-4.sme +- Added new createlinks function [SME: 8951] +- event_templates event_actions event_services + +* Tue Sep 9 2014 Daniel Berteaud 2.4.0-3.sme +- Don't claim to own /sbin and /sbin/e-smith [SME: 8550] + +* Thu Jan 31 2013 Shad L. Lords 2.4.0-2.sme +- Put vendor_perl in share not lib, so works on both 32 and 64 bit + build systems. [SME: 7268] + +* Thu Jan 24 2013 Shad L. Lords 2.4.0-1.sme +- Change site_perl to vendor_perl + +* Tue Aug 17 2010 Shad L. Lords 2.2.0-4.sme +- Ignore .orig files create is prep stage [SME: 6173] + +* Mon Oct 26 2009 Shad L. Lords 2.2.0-3.sme +- Fix previous patch [SME: 5538] + +* Mon Oct 26 2009 Shad L. Lords 2.2.0-2.sme +- Add compiled python files to the packaged files list [SME: 5538] + +* Tue Oct 7 2008 Shad L. Lords 2.2.0-1.sme +- Roll new stream to separate sme7/sme8 trees [SME: 4633] + +* Sun Apr 29 2007 Shad L. Lords +- Clean up spec so package can be built by koji/plague + +* Thu Dec 07 2006 Shad L. Lords +- Update to new release naming. No functional changes. +- Make Packager generic + +* Thu Mar 16 2006 Gordon Rowell 1.14.0-01 +- Roll stable stream version. [SME: 1016] + +* Tue Jan 24 2006 Gordon Rowell 1.13.1-08 +- Remove % from changelog items - sigh it's a comment! + +* Tue Jan 24 2006 Charlie Brady 1.13.1-07 +- Remove /root/.vimrc [SME: 562] + +* Wed Nov 30 2005 Gordon Rowell 1.13.1-06 +- Bump release number only + +* Mon Jun 27 2005 Charlie Brady +- [1.13.1-05] +- Fix file permissions (properly) inside /etc/cron.d. [SF: 1226700] + +* Fri Jun 24 2005 Charlie Brady +- [1.13.1-04] +- Fix file permissions inside /etc/cron.d. [SF: 1226700] + +* Thu Jan 20 2005 Charlie Brady +- [1.13.1-03] +- Add safe_touch() and templates2events() functions to support use + of the generic_template_expand action. [MN00064130] + +* Tue Sep 28 2004 Michael Soulier +- [1.13.1-02] +- Updated requires with new perl dependencies. [msoulier MN00040240] + +* Thu Feb 5 2004 Michael Soulier +- [1.13.1-01] +- Rolling as-source. [msoulier] + +* Thu Feb 5 2004 Michael Soulier +- [1.13.0-03] +- Added esmith::Build::CreateLinks to this package. [msoulier 10992] + +* Mon Dec 22 2003 Michael Soulier +- [1.13.0-02] +- Updating .vimrc settings. [msoulier 5740] + +* Mon Dec 22 2003 Michael Soulier +- [1.13.0-01] +- rolling to dev - 1.13.0 + +* Mon Nov 17 2003 Michael Soulier +- [1.12.0-02] +- Updated file list to handle /etc/rc.d/init.d/supervise and it's files. + [msoulier 10648] + +* Thu Jun 26 2003 Charlie Brady +- [1.12.0-01] +- Changing version to stable stream number - 1.12.0 + +* Wed Jun 11 2003 Charlie Brady +- [1.11.0-12] +- Enhance genfilelist to take command line options to extend its internal + databases. Add /usr/lib/perl5/site_perl (and its components) to list + of ignored directories. Reformat ignoredirs list to make it easier to extend. + Strip trailing spaces from spec for dirs and files, and add it to the output + print statements (so that we don't need a trailing space for every extra spec. + [charlieb 7719] + +* Mon May 26 2003 Gordon Rowell +- [1.11.0-11] +- Add missing cd .. after processing a .po directory [gordonr 8828] + +* Thu Apr 10 2003 Michael Soulier +- [1.11.0-10] +- Updated the files list to pick up the .vimrc file. [msoulier 8044] + +* Thu Apr 10 2003 Michael Soulier +- [1.11.0-09] +- Added a standard .vimrc file for the root user. [msoulier 8044] + +* Wed Apr 2 2003 Michael Soulier +- [1.11.0-08] +- Added support for /sbin/e-smith/console-screens. [msoulier 7968] + +* Tue Apr 1 2003 Gordon Rowell +- [1.11.0-07] +- Added support for /home/e-smith/files/samba/netlogon [gordonr 5241] + +* Tue Mar 25 2003 Tony Clayton +- [1.11.0-06] +- small fix to update-po usage() function [tonyc 7794] + +* Tue Mar 25 2003 Tony Clayton +- [1.11.0-05] +- Add update-po to install/files sections [tonyc 7794] + +* Tue Mar 25 2003 Tony Clayton +- [1.11.0-04] +- Add update-po script [tonyc 7794] + +* Thu Mar 6 2003 Gordon Rowell +- [1.11.0-03] +- And add generate-lexicons to install and files [gordonr 7578] + +* Thu Mar 6 2003 Gordon Rowell +- [1.11.0-02] +- Added initial generate-lexicons [gordonr 7578] + +* Wed Nov 6 2002 Michael Soulier +- [1.11.0-01] +- need new dev version to 1.11.0 + +* Wed Nov 6 2002 Michael Soulier +- [1.10.1-02] +- Added /usr/lib/perl5/site_perl/esmith/FormMagick/Panel/ to the fileperms + hash to set the panel libs to 0644 permissions. [msoulier 5516] + +* Tue Oct 15 2002 Charlie Brady +- [1.10.1-01] +- Roll new version to fix tagging problem + +* Fri Oct 11 2002 Charlie Brady +- [1.10.0-01] +- Roll to maintained version number to 1.10.0 + +* Fri Oct 11 2002 Charlie Brady +- [1.10.0-01] +- Roll to maintained version number to 1.10.0 + +* Wed Jun 5 2002 Charlie Brady +- [1.9.0-01] +- Changing version to maintained stream number to 1.9.0 + +* Fri May 31 2002 Charlie Brady +- [1.8.0-01] +- Changing version to maintained stream number to 1.8.0 + +* Thu May 23 2002 Gordon Rowell +- [1.7.6-01] +- RPM rebuild forced by cvsroot2rpm + +* Fri May 3 2002 Gordon Rowell +- [1.7.5-01] +- Sigh. Hash-bang line brokenness. [gordonr 3155] + +* Fri May 3 2002 Gordon Rowell +- [1.7.4-01] +- Forced attributes on scripts so we don't rely on the repository + [gordonr 3155] + +* Fri May 3 2002 Gordon Rowell +- [1.7.3-01] +- Actually copy validate-lexicon to the correct place [gordonr 3155] + +* Fri May 3 2002 Gordon Rowell +- [1.7.2-01] +- Added validate-lexicon which exits non-zero if the lexicon + doesn't parse properly [gordonr 3155] + +* Fri Apr 05 2002 Gordon Rowell +- [1.7.1-01] +- New development stream. Added /sbin/e-smith/quicktest [gordonr] + +* Wed Apr 03 2002 Gordon Rowell +- [1.6.10-01] +- /var/run/named -> /home/dns/var/run/named for chroot() [gordonr #3019] + +* Wed Apr 03 2002 Gordon Rowell +- [1.6.9-01] +- Added /var/run/named [gordonr #3019] + +* Wed Feb 27 2002 Michael G Schwern +- [1.6.8-01] +- Botched the spec file. :( + +* Wed Feb 27 2002 Michael G Schwern +- [1.6.7-01] +- Adding smoketest's permissions from e-smith-test. + +* Fri Feb 22 2002 Charlie Brady +- [1.6.6-01] +- Fix permissions on /var/spool/fax/faxrunqd directory (sticky, not setgid). + +* Fri Feb 22 2002 Charlie Brady +- [1.6.5-01] +- Add specifications for directories and run scripts for mgetty's faxrunqd. + +* Thu Feb 21 2002 Kirrily Robert +- [1.6.4-01] +- Added buildtests to filelist so it actually installs. Bah. + +* Thu Feb 21 2002 Kirrily Robert +- [1.6.3-01] +- Added buildtests script for building a package's test suite + +* Mon Feb 18 2002 Kirrily Robert +- [1.6.2-01] +- Imported to CVS; testing that it worked. + +* Mon Feb 18 2002 Kirrily Robert +- [1.6.1-01] +- rollRPM: Rolled version number to 1.6.1-01. Includes patches up to 1.6.0-02. + +* Wed Jan 02 2002 Charlie Brady +- [1.6.0-02] +- Add execute permissions to files under /etc/cron.daily and /etc/cron.weekly. + +* Tue Dec 11 2001 Adrian Chung +- [1.6.0-01] +- rollRPM: Rolled version number to 1.6.0-01. Includes patches up to 1.5.0-07. + +* Thu Dec 06 2001 Charlie Brady +- [1.5.0-07] +- Add missing trailing / to /etc/diald/scripts, to make scripts there + executable. + +* Tue Dec 04 2001 Charlie Brady +- [1.5.0-06] +- Add specs for /var/lock/fetchmail and /etc/diald/scripts/*. +- Add execute permission for /etc/cron.d/* fragments +- Add spec for /home/e-smith/files/netlogon/netlogon.bat, for when we + need it. + +* Fri Nov 30 2001 Gordon Rowell +- [1.5.0-05] +- Made /home/e-smith/files/samba/profiles 02750,admin,shared to allow + users to search that directory when accessing their profile subdirectory + +* Tue Nov 20 2001 Gordon Rowell +- [1.5.0-04] +- Make /etc/e-smith/events/actions/create-machine-account 06554,root,root + to allow "admin" to create machine accounts through Samba + +* Mon Nov 19 2001 Gordon Rowell +- [1.5.0-03] +- Explicitly list printer driver and profiles directories +- Returned /home/e-smith/files/samba to default ownership by root + +* Mon Nov 19 2001 Gordon Rowell +- [1.5.0-02] +- Made /home/e-smith/files/samba 02755,admin,admin to allow admin write + access to the printer drivers share + +* Mon Nov 19 2001 Gordon Rowell +- [1.5.0-01] +- Rolled version number to 1.5.0-01. Includes patches up to 1.4.0-02. + +* Mon Sep 3 2001 Charlie Brady +- [1.4.0-02] +- Include /var/named, plus lots of other directories which are from the + filesystem RPM. + +* Thu Aug 23 2001 Gordon Rowell +- [1.4.0-01] +- Rolled version number to 1.4.0-01. Includes patches upto 1.3.0-02. + +* Thu Aug 16 2001 Charlie Brady +- [1.3.0-02] +- Configure a list of directories to omit from RPMs - e.g., RedHat supplied + directories.A +- Fix permissions/ownership of ~admin and ~admin/home +- Add space between %attr() and directory name + +* Thu Aug 16 2001 Charlie Brady +- [1.3.0-01] +- Rolled version number to 1.3.0-01. Includes patches upto 1.2.0-05. + +* Fri Jul 27 2001 Charlie Brady +- [1.2.0-05] +- Fix up misplaced defattr, so that files are root owned, unless stated + otherwise (rather than by the developer building the package). + +* Fri Jul 6 2001 Peter Samuel +- [1.2.0-04] +- Changed license to GPL + +* Sat May 05 2001 Paul Nesbit +- [1.2.0-03] +- Corrected permission in genfilelist. + +* Mon Jan 29 2001 Charlie Brady +- [1.2.0-02] +- Mark netlogon.bat as a noreplace config file. +- Add some horde config files rules, and rule for /root/.ssh + directory +- Add e-smith Maildir rules +- Give admin ownership of admin home directory + +* Fri Jan 26 2001 Peter Samuel +- [1.2.0-01] +- Rolled version number to 1.2.0-01. Includes patches upto 1.1.0-3. + +* Sat Jan 06 2001 Charlie Brady +- [1.1.0-3] +- Remove "other" execute permission for console and action scripts +- Add execute permission rule for /sbin/e-smith/dynamic-dns/*. +- Add permission rules for /etc/cron.d/* and /etc/profile.d/* files + +* Mon Dec 18 2000 Charlie Brady +- [1.1.0-2] +- Include ownership and permission for netlogon share + +* Wed Dec 13 2000 Gordon Rowell +- [1.1.0-1] +- Rolled version and tarball including patches to 0.1-11 + +* Mon Oct 30 2000 Charlie Brady +- Added settings for /home/dns/var/run and /home/dns/var/named + +* Mon Oct 30 2000 Charlie Brady +- Added default permissions setting for directories + +* Tue Sep 12 2000 Adrian Chung +- Changed /sbin/e-smith/web to /etc/e-smith/web. + +* Mon Sep 11 2000 Adrian Chung +- Changed permissions on functions dir to 4750. + +* Thu Aug 31 2000 Adrian Chung +- Added executable permissions to index.cgi. + +* Thu Aug 31 2000 Adrian Chung +- Modified all panel directories to root,admin. + +* Wed Aug 30 2000 Adrian Chung +- Modified web directories to (root,admin) permissions. + +* Wed Aug 30 2000 Adrian Chung +- Moved %defattr below to under files section. +- Changed genfilelist for new web permissions. +- Changed genfilelist for new permissions on some other + files. + +* Tue Aug 29 2000 Charlie Brady +- Fix another stupid ordering problem - can't get ordered searching of + hash. We only need to key by file and containing directory anyway. + +* Fri Aug 25 2000 Charlie Brady +- Fix ordering problem with using hash before defined. + +* Thu Aug 24 2000 Charlie Brady +- initial release + +%description +Tools for use in building RPMs for the smeserver serverand gateway. + +Use "genfilelist" to create a filelist file with correct ownerships and +permissions. + +%prep +%setup + +%build + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/sbin/e-smith +mkdir -p $RPM_BUILD_ROOT/root +mkdir -p $RPM_BUILD_ROOT/usr/share/perl5/vendor_perl/esmith/Build +mkdir -p $RPM_BUILD_ROOT/etc/yum.repos.d +mkdir -p $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update + +cp genfilelist $RPM_BUILD_ROOT/sbin/e-smith +cp buildtests $RPM_BUILD_ROOT/sbin/e-smith +cp validate-lexicon $RPM_BUILD_ROOT/sbin/e-smith +cp generate-lexicons $RPM_BUILD_ROOT/sbin/e-smith +cp update-po $RPM_BUILD_ROOT/sbin/e-smith +cp CreateLinks.pm $RPM_BUILD_ROOT/usr/share/perl5/vendor_perl/esmith/Build +cp Backup.pm $RPM_BUILD_ROOT/usr/share/perl5/vendor_perl/esmith/Build +cp e-smith-devtools.repo $RPM_BUILD_ROOT/etc/yum.repos.d/ + + +%clean +rm -rf $RPM_BUILD_ROOT + +%pre +%preun +%post +%postun + +%files +%defattr(-,root,root) +%attr(0755,root,root) /sbin/e-smith/genfilelist +%attr(0755,root,root) /sbin/e-smith/buildtests +%attr(0755,root,root) /sbin/e-smith/validate-lexicon +%attr(0755,root,root) /sbin/e-smith/generate-lexicons +%attr(0755,root,root) /sbin/e-smith/update-po +%attr(0644,root,root) /usr/share/perl5/vendor_perl/esmith/Build/CreateLinks.pm +%attr(0644,root,root) /usr/share/perl5/vendor_perl/esmith/Build/Backup.pm +%attr(0755,root,root) /etc/yum.repos.d/e-smith-devtools.repo +%attr(0755,root,root) /etc/e-smith/events/%{name}-update +%doc COPYING