From 30ec4b5e67540f687111bfd0504603099c8c88cd Mon Sep 17 00:00:00 2001 From: cvsextras Date: Mon, 8 Nov 2004 05:18:23 +0000 Subject: [PATCH] auto-import changelog data from rpmlint-0.60-0.fdr.1.rh80.src.rpm 0.60-0.fdr.1 - Update to 0.60. 0.59-0.fdr.1 - Update to 0.59. 0.57.1-0.fdr.1 - Update to 0.57.1. 0.56-0.fdr.1 - Update to 0.56. 0.55-0.fdr.3 - Correctly %ghost %{_sysconfdir}/rpmlint/config? (bug 1251). 0.55-0.fdr.2 - Add back %ghost handling of not-installed compiled versions of *.py. 0.55-0.fdr.1 - Update to 0.55. - Spec cleanups. 0.53-0.fdr.1 - Update to 0.53. 0.52-0.fdr.2 - Add list of valid shells for post'n'friends scriptlets into default config. 0.52-0.fdr.1 - Update to 0.52. 0.51.1-0.fdr.4 - Filter more Mdk-specific warnings in default config. 0.51.1-0.fdr.3 - Upstream tarball reappeared, use it. 0.51.1-0.fdr.2 - Filter Mdk-specific python-related stuff in the default config. 0.51.1-0.fdr.1 - Update to 0.51.1. - Own %ghost'ed *.py{c,o}, and ditto for the config file. - Add list of valid licenses to default config. - Set "Fedora Linux" as suggested distribution in default config. - Clean up %doc list. 0.50-0.fdr.1 - Update to 0.50, all patches now applied upstream. 0.49-0.fdr.2 - %{buildroot} -> $RPM_BUILD_ROOT. - Filter out mdk-specific "no-dependancy perl-base" messages in config. 0.49-0.fdr.1 - Update to 0.49. 0.49-0.fdr.0.1.cvs20030420 - Add one more strict Epoch checking patch. - Slightly enhanced default config. 0.49-0.fdr.0.1.cvs20030411 - Patch to work with installed packages (including -a) and rpm 4.2. - Remove spurious rpm-devel BuildRequirement. 0.49-0.fdr.0.1.cvs20030408 - Patch to work with packages signed with an unknown key. - Save .spec in UTF-8. 0.49-0.fdr.0.1.cvs20030330 - First Fedora release, based on upstream spec. Fri Jan 17 2003 Gwenole Beauchesne 0.48-2mdk - BinariesCheck.py: Add lib64 paths - FilesCheck.py: Errour out about outside-libdir-files only if it concerns a library package. This is heuristically determined on the package name as '^(lib|.+-libs)'. added a way to load an alternative config file (using -f). o SpecCheck.py: * added lib-package-without-%mklibname added outside-libdir-files o I18NCheck.py: * Added 'en_US' as valid locale name Added "lug" (Luganda) language as a valid code for translations Added recognition of some more language codes (Gnome includes some translations in those languages now) o various exceptions added /usr/lib/bonobo to no binary in /usr/lib exceptions corrected wrong loop for /usr/lib check o Config.py: added handling of default values. o FHSCheck.py: Add lib64 as standard subdir in /usr (that's the /lib part of FHS) o FilesCheck.py: Add lib64 directories use default values from Config. o I18NCheck.py: Added 'zh_HK' recognition o InitScriptCheck.py: allow to add/del service with rpm-helper scripts. o MenuCheck.py: add default values from Config. o PostCheck.py: added perl to dangerous command check trigger scripts too check rpm-helper prereq. corrected prereq test o SpecCheck.py: Also check for \{?_prefix}?/lib references added no-binary and only-non-binary-in-usr-lib - Add configure-without-libdir-spec check - Add hardcoded-library-path check Wed May 29 2002 Frederic Lepied 0.44-1mdk o added non-ghost-file check o added non-root-user-log-file and non-root-group-log-file. Wed May 01 2002 Frederic Lepied 0.43-1mdk o added no-prereq-on check. o check that the package tags are coherent with the file name. o added a --policy option. o build only one regexp for all exception and correct the broken ones. Fri Mar 08 2002 Frederic Lepied 0.42-2mdk - corrected rpmdiff location allow perl and python dependencies to be on perl-base and python-base. Manage Mandrake perl versionning. o I18NCheck.py: Added 'mt' to recognized locales o various exceptions. report missing %clean section. o FilesCheck.py: check dependency on the right version of the interpreter for python and perl modules. o various exceptions. new check: invalid-menu-icon-type o TagsCheck.py: added libsafe.so as an invalid Requires. o sync with setup 2.2.0-18mdk (Chmouel). o various exceptions. o build the package in a way that rpm -V doesn't report warnings. search references to home or tmp in /usr/lib/pkgconfig/ files. o FilesCheck.py: .nosearch files are allowed to have a zero length. o Config.py: added some exceptions. Corrected regexp to check devel provides. Added the new check invalid-dependency. o InitScriptCheck.py: Added incoherent-init-script-name check. Expand shell variable in incoherent-subsys check. o FilesCheck.py: Use list imported from the setup package for users and groups (from setuplist.py). o PostCheck.py: Don't print error about percent if post-script has a %. (Chmouel) Check that RPM_BUILD_ROOT or RPM_BUILD_DIR isn't used. o SpecCheck.py: Check also /usr/src/rpm/SOURCES. Check that the BuildRoot tag doesn't contain a hardcoded path. o BinariesCheck.py: Check if .la files contain tmp or home references. check that major version is present in package name. o FilesCheck.py: check that regular files haven't a zero size. o I18NCheck.py: only check binary packages. o SpecCheck.py: don't allow space before tag name. o TagsCheck.py: * allow space after the release in a changelog entry. updated list of licenses from opensource.org and added non opensource ones. report a warning if no url tag is defined. o Config.py: various exceptions. o SourceCheck.py: correct boolean expression for strange-permission allow 0755 as a valid mode for source. o Config.py: various exceptions o TagsCheck.py: added invalid-word check in description and summary. added invalid-buildhost check. o FilesCheck.py: added .cvsignore to the list of cvs-internal-file. o BinariesCheck.py: check for new style of pic sections. o FilesCheck.py: Check if kernel modules are in the kernel package. (Chmouel) o PostCheck.py: track command with full path too. o FilesCheck.py: added squid group and user. o BinariesCheck.py: Warn for man pages without version in library packages. o DistributionCheck.py: More explicit path regexp check for info files. (Chmouel) Fri Sep 28 2001 Frederic Lepied 0.36-1mdk - MenuCheck.py: check if a menu file is executable. - rpmlint.py: added -n/--noexception option to display all the errors/warnings without exceptions from Config. - TagsCheck.py: added the bugzilla https address as a valid one. - PostCheck.py: o ghost-files-without-postun => ghost-files-without-postin o check if /tmp or /var/tmp is used. o check if update-menus is called without a menu file. - FilesCheck.py: added /etc/logrotate.d entry check. - Config.py: various exceptions Tue Aug 21 2001 Frederic Lepied 0.35-1mdk - BinariesCheck.py: o Make libraries not linked against libc errors and not warnings. (Bill Nottingham) o libc doesn't need to be linked against libc, and the dynamic linker doesn't need dependeny information. (Bill Nottingham) o Fix some of the library checks to be more correct. (Bill Nottingham) - TagsCheck.py: added a check on obsoleted packages not provided. - FilesCheck.py: check non readable files. - PostCheck.py: check ~/ instead of ~ to allow awk scripts not to give false reports. - MenuCheck.py: o added a check for / in menu titles. o Add missing menu entries. (FredC) - I18NCheck.py: Added 'bs' as a valid language code name. (Pablo) - Config.py: added a few exceptions. Sun Jul 15 2001 Frederic Lepied 0.34-1mdk - added missing descriptions. - added -a option to check all the installed packages. - TagsCheck.py: handle the libbzip2_1-devel case. Fri Jul 06 2001 Christian Belisle 0.33-2mdk - Added descriptions for the -i option. Mon Jul 02 2001 Frederic Lepied 0.33-1mdk - more descriptions from Christian Belisle. - BinariesCheck.py: new check for files which can cause upgrade problems in the library packages. - TagsCheck.py: try to check alpha/beta/pre version improper use. - Filter.py: print description only if they aren't empty. - SpecCheck.py: added a check for obsolete tags. - FilesCheck.py: added named user and group to the exception list. Mon Jun 18 2001 Christian Belisle 0.32-2mdk - Added descriptions for the -i option. Wed Jun 13 2001 Frederic Lepied 0.32-1mdk - rpmlint.py: o If the file given on the command line doesn't exist, try to use the name as an installed package to check. o new -i option to give explanation on the errors/warnings (not too much descriptions have been added ;-) - MenuCheck.py: added new Office sub menus. - FilesCheck.py: o added /usr/X11R6/man subdirs to the list of STANDARD_DIRS. o warn for .so file only if they are in a lib dir. o warn for source files in a non devel package only if they are not doc files. - TagsCheck.py: corrected description-line-too-long check. - FilesCheck.py: add the rpm user and group per request of Jeff Johnson for the future version of rpm. Fri May 18 2001 Frederic Lepied 0.31-1mdk - PostCheck.py: check that a script isn't only one command. check postin and prein instead of postun and preun for ghost files creation. - MenuCheck.py: don't check NO_XALF in menu command. - FilesCheck.py: Add rpcuser. - Config.py: Expections for ldconfig, initscripts, netkit-base and iputils. - TagsCheck.py: check length of summary and description lines. Fri Feb 16 2001 Frederic Lepied 0.30-1mdk - InitScriptCheck.py: check if runlevels are set - MenuCheck.py: added support to check launchers. - I18NCheck.py: check subdirs of /sur/share/man. - PostCheck.py: check that the postun creates the ghost files added install to dangerous commands - LSBCheck.py: first version - TagsCheck.py: changed Window Maker to WindowMaker Add https as valid url. Used list of licenses from www.opensource.org/licenses Check the full license before splitting in it multiple parts. Thu Dec 07 2000 Frederic Lepied 0.29-1mdk - PostCheck.py: Add /sbin/sash as VALID_SHELLS. - Config.py: added exceptions for dev. - FilesCheck.py: check dangling-symlink in the file index too to avoid missing special files that aren't created when extracted as a user. - FilesCheck.py: added a generic way to avoid dangling-symlink warnings. - TagsCheck.py: for devel packages, check dependency on lib package only when a .so file is present. - Config.py: add some execptions for pam (0750 dir for /etc/default is normal as weel to have gpasswd and chage as suid). - Config.py: Don't check info-file-with-install-info for bash since it's by default in the dir file. Fri Nov 24 2000 Frederic Lepied 0.28-1mdk - TagsCheck.py: o check -devel package naming scheme only on binary packages. o report a warning if a -devel package comes with no major in its name. o added python licence and public domain. o check syntax of url tag. - SourceCheck.py: only check compression on tar or diff files. - Config.py: various exceptions added. - BinariesCheck.py: o report the file location on objdump errors. o new error: executable in library package. - I18NCheck.py: fuzzy check on packages without dependency on locales - FilesCheck.py: check if a package provides sources. - PostCheck.py: force a separator before dangerous command. Mon Nov 13 2000 Frederic Lepied 0.27-1mdk - FilesCheck.py: don't warn if a games is setgid games. - README: RpmGamesGroup added to the list of available options. - Config.py: added exception for xman. - BinariesCheck.py: check ldconfig symlinks. - TagsCheck.py: don't check no-version-in-changelog for source rpm. Fri Nov 10 2000 Frederic Lepied 0.26-1mdk - Config.py: added various exceptions. - TagsCheck.py: o allow multiple licenses. o don't report anymore the package-provides-itself warning because it's the default in rpm 4. o try to not report incoherent-version-in-changelog for sub-packages. - MenuCheck.py: correct the non-transparent-xpm check. - FilesCheck.py: don't report buggy length-symlink anymore. Thu Oct 12 2000 Frederic Lepied 0.25-1mdk - Config.py: added exception for sympa, rpm and bcast. - TagsCheck.py: o check that devel package depends on the base package with the same version. o check that summary begins with a - PostCheck.py: o check dangerous commands. ocheck reference to ~ or $HOME. - MenuCheck.py: o check that titles and longtitles begin by a capital letter. o check that no version is included in title and longtitle. o /lib/cpp errors to /dev/null for new cpp. - FilesCheck.py: check package owning system dirs. - SpecCheck.py: o new check. o check name of spec file. o check use of $RPM_SOURCE_DIR. o warn if a patch is not applied. Mon Oct 02 2000 Frederic Lepied 0.24-1mdk - FilesCheck.py: added apache and postgres to standard groups. - TagsCheck.py: spell check a la Debian. Fri Sep 29 2000 Frederic Lepied 0.23-1mdk - MenuCheck.py: added Applications/Accessibility. check that menu files are readable by everyone. - Config.py: removed exception for /home. added exceptions for vixie-cron. - FilesCheck.py: check cvs internal files. Tue Sep 12 2000 Frederic Lepied 0.22-1mdk - PostCheck.py: print a warning on empty script. - FilesCheck.py: added postgres and apache to default users. - TagsCheck.py: added bugs@linux-mandrake.com as a valid packager address. - I18NCheck.py: check *.mo for file-not-in-%lang, not only in /usr/share/locale - TagsCheck.py, MenuCheck.py: replaced Networking/ICQ group with Networking/Instant messaging. Thu Aug 31 2000 Frederic Lepied 0.21-1mdk - TagsCheck.py: check packager field compliance to a regexp. - Config.py: imported default exceptions. - TagsCheck.py: added Apache License, PHP Licence and BSD-Style. - MenuCheck.py: check hardcoded path in icon field and large, mini, normal icon files. - PostCheck.py: Fix typo in check of /usr/bin/perl. - PostCheck.py: Check perl script like we do for bash script. - I18NCheck.py: updated locales list - FilesCheck.py: Only check perl_temp_file in a /perl/ directory. Fri Aug 25 2000 Frederic Lepied 0.20-1mdk - InitScriptCheck.py: new check for /etc/rc.d/init.d scripts. - PostCheck.py: check when a script is present that the shell is valid. - ConfigCheck.py: report warnings for app-defaults only in /usr/X11R6/lib/X11/app-defaults. - BinariesCheck.py: report the rpath warning if the directory isn't a sub-directory of /usr/lib/. Fri Aug 18 2000 Frederic Lepied 0.19-1mdk - BinariesCheck.py: check rpath only on system lib paths (ie /lib, /usr/lib and /usr/X11R6/lib). This can be configured with the SystemLibPaths option. - I18NCheck.py: warn if .mo is not registered in %lang. - MenuCheck.py: protected kdesu check. - FilesCheck.py: check perl temporary files. - rpmlint.py: added ExtractDir option usable in the config file. - PostCheck.py: check ] in if statement. report warning for a percent. Thu Aug 10 2000 Frederic Lepied 0.18-1mdk - TagsCheck: check licence file. - ConfigCheck: check files without no-replace flag. - MenuCheck: allow depency on kdesu to point directly to /usr/bin/kdesu. - FHSCheck: allow ftp and www in var (from upcoming FHS 2.2). Tue Aug 08 2000 Frederic Lepied 0.17-1mdk - PostCheck: check bourne shell syntax (Chmouel). - FileCheck: o check chkconfig calls for packages with a file in /etc/rc.d/init.d. o allow the call to install-info to be in %preun. - MenuCheck: o take care of kdesu (Chmouel). - various exceptions added. Wed Jul 19 2000 Frederic Lepied 0.16-1mdk - FHSCheck activated by default. - FileCheck: o check dangling symlinks. o check info/dir. Tue Jun 27 2000 Frederic Lepied 0.15-1mdk - 0.15: o check non transparent pixmaps in icon path o added a check for soname o added a warning for packages that provide themselves (for Pixel) o corrected check for needs in menu files. o various exceptions added. Mon Apr 17 2000 Frederic Lepied 0.14-1mdk - 0.14: o MenuCheck: check old entries from KDE and GNOME and allow entries for sections. o config: exceptions for urpmi, sash, octave, ghc, procmail, rsh. o extract temp files in /. Mon Apr 10 2000 Frederic Lepied 0.13-1mdk - 0.13: o MenuCheck: issue a warning if no icon specified (Chmouel). corrected list of correct sections (Chmouel). o FilesCheck: check ldconfig calls in %post and %postun if the package provide a library. o config: new exceptions added. o BinariesCheck: check non sparc32 binaries in sparc packages. Fri Mar 31 2000 Frederic Lepied 0.12-1mdk - 0.12: o MenuCheck: check binaries launched by menus and check update-menus %post and %postun. o BinariesCheck: check for non sparc32 binaries in sparc rpms. Mon Mar 27 2000 Frederic Lepied 0.11-1mdk - 0.11: o check menu files. Tue Mar 14 2000 Frederic Lepied 0.10-1mdk - 1.10: o check .h, .a and .so in non devel package. o check files in /home. o corrected lists of groups. Mon Feb 28 2000 Frederic Lepied 0.9.2-1mdk - added a dependency on rpm-python. - corrected rpm 3.0.4 support. Wed Feb 23 2000 Frederic Lepied 0.9.1-1mdk - updated to support the way rpm 3.0.4 stores file names. Thu Feb 10 2000 Frederic Lepied 0.9-1mdk - 0.9: * gpg support. check release extension. check non executable in bin directories. ValidGroups, ReleaseExtension and UseVersionInChangelog. Thu Dec 30 1999 Frederic Lepied 0.8-1mdk - 0.8: I18N checks, some exceptions added. Mon Nov 15 1999 Frederic Lepied - 0.7: more robust cleanup, filters are regexp now and added exception for /var/catman subirs beeing setgid. Sat Oct 23 1999 Frederic Lepied - 0.6.1: corrected compilation step. Sat Oct 23 1999 Frederic Lepied - 0.6: filter output, documentation checks. Fri Oct 15 1999 Frederic Lepied - 0.5: FHS check, configuration files. Fri Oct 08 1999 Chmouel Boudjnah - Add Doc. Thu Oct 07 1999 Frederic Lepied - version 0.4: pgp check and group name check. Wed Oct 06 1999 Frederic Lepied - version 0.3. Mon Oct 04 1999 Frederic Lepied - version 0.2. Fri Oct 01 1999 Frederic Lepied - First spec file for Mandrake distribution. --- .cvsignore | 1 + rpmlint-fedora-config | 82 ++++++ rpmlint.spec | 671 ++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 755 insertions(+) create mode 100644 rpmlint-fedora-config create mode 100644 rpmlint.spec diff --git a/.cvsignore b/.cvsignore index e69de29..0f1409a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +rpmlint-0.60.tar.bz2 diff --git a/rpmlint-fedora-config b/rpmlint-fedora-config new file mode 100644 index 0000000..eacc6c7 --- /dev/null +++ b/rpmlint-fedora-config @@ -0,0 +1,82 @@ +# -*- python -*- + +# Fedora rpmlint configuration + +from Config import * + +setOption("Vendor", "Fedora Linux") +setOption("Distribution", "Fedora Linux") +setOption("ReleaseExtension", "(\d+\.)+fdr\.\d+(\..*)?") +setOption("ValidBuildHost", ".*") +setOption("Packager", ".*") +setOption("UseVersionInChangeLog", 1) +setOption("UseBzip2", 0) +setOption("UseEpoch", 1) +setOption("ValidSrcPerms", (0644, )) +setOption("ValidGroups", ( + "Amusements/Games", + "Amusements/Graphics", + "Applications/Archiving", + "Applications/Communications", + "Applications/Databases", + "Applications/Editors", + "Applications/Emulators", + "Applications/Engineering", + "Applications/File", + "Applications/Internet", + "Applications/Multimedia", + "Applications/Productivity", + "Applications/Publishing", + "Applications/System", + "Applications/Text", + "Development/Debuggers", + "Development/Languages", + "Development/Libraries", + "Development/System", + "Development/Tools", + "Documentation", + "System Environment/Base", + "System Environment/Daemons", + "System Environment/Kernel", + "System Environment/Libraries", + "System Environment/Shells", + "User Interface/Desktops", + "User Interface/X", + "User Interface/X Hardware Support", +)) +setOption("ValidLicenses", ( + "Apache Software License", + "Artistic", + "BSD", + "Commercial", + "CPL", + "Distributable", + "FDL", + "Freeware", + "GPL", + "IBM Public License", + "LGPL", + "MIT", + "MPL", + "NetHack General Public License", + "Non-distributable", + "Public Domain", + "Python Software Foundation License", + "QPL", + "Sun Public License", + "W3C Software License", + "Zope Public License", +)) +setOption("ValidShells", ( + "/bin/sh", + "/bin/bash", + "/sbin/ldconfig", + "/usr/bin/perl", + "/usr/bin/python", +)) + +# Output filters +addFilter("W: .* source-or-patch-not-[bg]zipped .*") +addFilter("E: .* lib-package-without-%mklibname") +addFilter("E: .* no-dependancy (perl|python)-base.*") +addFilter("W: .* (python|perl5)-naming-policy-not-applied.*") diff --git a/rpmlint.spec b/rpmlint.spec new file mode 100644 index 0000000..3c2ffe6 --- /dev/null +++ b/rpmlint.spec @@ -0,0 +1,671 @@ +Name: rpmlint +Version: 0.60 +Release: 0.fdr.1.rh80 +Epoch: 0 +Summary: RPM correctness checker + +Group: Development/Tools +License: GPL +URL: http://people.mandrakesoft.com/~flepied/projects/rpmlint/ +Source0: http://people.mandrakesoft.com/~flepied/projects/rpmlint/dist/rpmlint-0.60.tar.bz2 +Source1: %{name}-fedora-config +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: python >= 0:1.5.2, rpm-python, make, perl +Requires: rpm-python, python >= 0:1.5.2 + +%description +rpmlint is a tool for checking common errors in RPM packages. Binary +and source packages can be checked. + + +%prep +%setup -q + + +%build +make + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + +# Install Fedora config as the default. +install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rpmlint/config + +# Take care of files that may be generated later. +touch $RPM_BUILD_ROOT%{_sysconfdir}/rpmlint/config{c,o} +echo '%ghost %{_sysconfdir}/rpmlint/config?' > %{name}-%{version}-files.list +for f in `find $RPM_BUILD_ROOT%{_datadir}/rpmlint -type f -name "*.py"` ; do + f=`echo "$f" | sed "s|^$RPM_BUILD_ROOT||"` + echo "$f" >> %{name}-%{version}-files.list + for t in c o ; do + pref= + if [ ! -e "$RPM_BUILD_ROOT$f$t" ] ; then + touch "$RPM_BUILD_ROOT$f$t" + pref='%ghost ' + fi + echo "$pref$f$t" >> %{name}-%{version}-files.list + done +done + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files -f %{name}-%{version}-files.list +%defattr(-,root,root,0755) +%doc AUTHORS COPYING ChangeLog README +%{_bindir}/rpm* +%dir %{_datadir}/rpmlint +%dir %{_sysconfdir}/rpmlint +%config(noreplace) %{_sysconfdir}/rpmlint/config + + +%changelog +* Mon Aug 16 2004 Ville Skyttä - 0:0.60-0.fdr.1 +- Update to 0.60. + +* Mon May 3 2004 Ville Skyttä - 0:0.59-0.fdr.1 +- Update to 0.59. + +* Sun Feb 22 2004 Ville Skyttä - 0:0.57.1-0.fdr.1 +- Update to 0.57.1. + +* Wed Feb 11 2004 Ville Skyttä - 0:0.56-0.fdr.1 +- Update to 0.56. + +* Mon Feb 2 2004 Ville Skyttä - 0:0.55-0.fdr.3 +- Correctly %%ghost %%{_sysconfdir}/rpmlint/config? (bug 1251). + +* Sun Feb 1 2004 Ville Skyttä - 0:0.55-0.fdr.2 +- Add back %%ghost handling of not-installed compiled versions of *.py. + +* Fri Jan 30 2004 Ville Skyttä - 0:0.55-0.fdr.1 +- Update to 0.55. +- Spec cleanups. + +* Tue Dec 23 2003 Ville Skyttä - 0:0.53-0.fdr.1 +- Update to 0.53. + +* Thu Oct 2 2003 Ville Skyttä - 0:0.52-0.fdr.2 +- Add list of valid shells for post'n'friends scriptlets into default config. + +* Sat Sep 13 2003 Ville Skyttä - 0:0.52-0.fdr.1 +- Update to 0.52. + +* Thu Sep 4 2003 Ville Skyttä - 0:0.51.1-0.fdr.4 +- Filter more Mdk-specific warnings in default config. + +* Wed Sep 3 2003 Ville Skyttä - 0:0.51.1-0.fdr.3 +- Upstream tarball reappeared, use it. + +* Sun Aug 24 2003 Ville Skyttä - 0:0.51.1-0.fdr.2 +- Filter Mdk-specific python-related stuff in the default config. + +* Fri Aug 15 2003 Ville Skyttä - 0:0.51.1-0.fdr.1 +- Update to 0.51.1. +- Own %%ghost'ed *.py{c,o}, and ditto for the config file. +- Add list of valid licenses to default config. +- Set "Fedora Linux" as suggested distribution in default config. +- Clean up %%doc list. + +* Fri May 9 2003 Ville Skyttä - 0:0.50-0.fdr.1 +- Update to 0.50, all patches now applied upstream. + +* Mon May 5 2003 Ville Skyttä - 0:0.49-0.fdr.2 +- %%{buildroot} -> $RPM_BUILD_ROOT. +- Filter out mdk-specific "no-dependancy perl-base" messages in config. + +* Thu May 1 2003 Ville Skyttä - 0:0.49-0.fdr.1 +- Update to 0.49. + +* Sun Apr 20 2003 Ville Skyttä - 0:0.49-0.fdr.0.1.cvs20030420 +- Add one more strict Epoch checking patch. +- Slightly enhanced default config. + +* Fri Apr 11 2003 Ville Skyttä - 0:0.49-0.fdr.0.1.cvs20030411 +- Patch to work with installed packages (including -a) and rpm 4.2. +- Remove spurious rpm-devel BuildRequirement. + +* Tue Apr 8 2003 Ville Skyttä - 0:0.49-0.fdr.0.1.cvs20030408 +- Patch to work with packages signed with an unknown key. +- Save .spec in UTF-8. + +* Sun Mar 30 2003 Ville Skyttä - 0:0.49-0.fdr.0.1.cvs20030330 +- First Fedora release, based on upstream spec. + +* Fri Jan 17 2003 Gwenole Beauchesne 0.48-2mdk +- BinariesCheck.py: Add lib64 paths +- FilesCheck.py: Errour out about outside-libdir-files only if it + concerns a library package. This is heuristically determined on the + package name as '^(lib|.+-libs)'. + +* Fri Jan 17 2003 Frederic Lepied 0.48-1mdk + o rpmlint.py: added a way to load an alternative config file (using -f). + o SpecCheck.py: * added lib-package-without-%%mklibname + * don't parse changelog section to find errors and + correct source_dir_regex. + o FilesCheck.py: added outside-libdir-files + o I18NCheck.py: * Added 'en_US' as valid locale name + * Added "lug" (Luganda) language as a valid code for + translations + * Added recognition of some more language codes + (Gnome includes some translations in those languages now) + o various exceptions + +* Thu Aug 8 2002 Frederic Lepied 0.47-1mdk + o BinariesCheck.py: added /usr/lib/bonobo to no binary in /usr/lib exceptions + corrected wrong loop for /usr/lib check + o Config.py: added handling of default values. + o FHSCheck.py: Add lib64 as standard subdir in /usr (that's the /lib part of FHS) + o FilesCheck.py: Add lib64 directories + use default values from Config. + o I18NCheck.py: Added 'zh_HK' recognition + o InitScriptCheck.py: allow to add/del service with rpm-helper scripts. + o MenuCheck.py: add default values from Config. + o PostCheck.py: added perl to dangerous command check trigger scripts too + check rpm-helper prereq. + corrected prereq test + o SpecCheck.py: Also check for \{?_prefix}?/lib references + +* Tue Jun 4 2002 Frederic Lepied 0.46-1mdk + o BinariesCheck.py: added no-binary and only-non-binary-in-usr-lib + +* Mon Jun 3 2002 Gwenole Beauchesne 0.45-1mdk + o SpecCheck.py: - Add configure-without-libdir-spec check + - Add hardcoded-library-path check + +* Wed May 29 2002 Frederic Lepied 0.44-1mdk + o added non-ghost-file check + o added non-root-user-log-file and non-root-group-log-file. + +* Wed May 1 2002 Frederic Lepied 0.43-1mdk + o added no-prereq-on check. + + o check that the package tags are coherent with the file name. + + o added a --policy option. + + o build only one regexp for all exception and correct the broken ones. + +* Fri Mar 8 2002 Frederic Lepied 0.42-2mdk +- corrected rpmdiff location + +* Sun Mar 3 2002 Frederic Lepied 0.42-1mdk + o FilesCheck.py: allow perl and python dependencies to be on +perl-base and python-base. Manage Mandrake perl versionning. + + o I18NCheck.py: Added 'mt' to recognized locales + + o various exceptions. + +* Sat Feb 9 2002 Frederic Lepied 0.41-1mdk + o SpecCheck.py: report missing %clean section. + + o FilesCheck.py: check dependency on the right version of the +interpreter for python and perl modules. + + o various exceptions. + +* Thu Jan 10 2002 Frederic Lepied 0.40-1mdk + + o MenuCheck.py: new check: invalid-menu-icon-type + + o TagsCheck.py: added libsafe.so as an invalid Requires. + + o sync with setup 2.2.0-18mdk (Chmouel). + + o various exceptions. + + o build the package in a way that rpm -V doesn't report warnings. + +* Fri Nov 30 2001 Frederic Lepied 0.39-2mdk + + o BinariesCheck.py: search references to home or tmp in /usr/lib/pkgconfig/ files. + + o FilesCheck.py: .nosearch files are allowed to have a zero length. + + o Config.py: added some exceptions. + +* Sun Nov 25 2001 Frederic Lepied 0.39-1mdk + + o TagsCheck.py: Corrected regexp to check devel provides. + Added the new check invalid-dependency. + + o InitScriptCheck.py: Added incoherent-init-script-name check. + Expand shell variable in incoherent-subsys check. + + o FilesCheck.py: Use list imported from the setup package for users + and groups (from setuplist.py). + + o PostCheck.py: Don't print error about percent if post-script has a + %%. (Chmouel) + Check that RPM_BUILD_ROOT or RPM_BUILD_DIR isn't + used. + + o SpecCheck.py: Check also %_sourcedir. + Check that the BuildRoot tag doesn't contain a + hardcoded path. + + o BinariesCheck.py: Check if .la files contain tmp or home + references. + +* Tue Oct 30 2001 Frederic Lepied 0.38-1mdk + + o BinariesCheck.py: check that major version is present in package +name. + + o FilesCheck.py: check that regular files haven't a zero size. + + o I18NCheck.py: only check binary packages. + + o SpecCheck.py: don't allow space before tag name. + + o TagsCheck.py: * allow space after the release in a changelog entry. + * updated list of licenses from opensource.org and added non + opensource ones. + * report a warning if no url tag is defined. + + o Config.py: various exceptions. + + o SourceCheck.py: correct boolean expression for strange-permission + + +* Tue Oct 16 2001 Frederic Lepied 0.37-1mdk + + o SourceCheck.py: allow 0755 as a valid mode for source. + + o Config.py: various exceptions + + o TagsCheck.py: added invalid-word check in description and summary. + added invalid-buildhost check. + + o FilesCheck.py: added .cvsignore to the list of cvs-internal-file. + + o BinariesCheck.py: check for new style of pic sections. + + o FilesCheck.py: Check if kernel modules are in the kernel package. (Chmouel) + + o PostCheck.py: track command with full path too. + + o FilesCheck.py: added squid group and user. + + o BinariesCheck.py: Warn for man pages without version in library packages. + + o DistributionCheck.py: More explicit path regexp check for info files. (Chmouel) + + +* Fri Sep 28 2001 Frederic Lepied 0.36-1mdk + +- MenuCheck.py: check if a menu file is executable. + +- rpmlint.py: added -n/--noexception option to display all the errors/warnings +without exceptions from Config. + +- TagsCheck.py: added the bugzilla https address as a valid one. + +- PostCheck.py: o ghost-files-without-postun => ghost-files-without-postin + o check if /tmp or /var/tmp is used. + o check if update-menus is called without a menu file. + +- FilesCheck.py: added /etc/logrotate.d entry check. + +- Config.py: various exceptions + +* Tue Aug 21 2001 Frederic Lepied 0.35-1mdk + +- BinariesCheck.py: o Make libraries not linked against libc errors + and not warnings. (Bill Nottingham) + + o libc doesn't need to be linked against libc, + and the dynamic linker doesn't need dependeny information. (Bill Nottingham) + + o Fix some of the library checks to be more correct. (Bill + Nottingham) + +- TagsCheck.py: added a check on obsoleted packages not provided. + +- FilesCheck.py: check non readable files. + +- PostCheck.py: check ~/ instead of ~ to allow awk scripts not to + give false reports. + +- MenuCheck.py: o added a check for / in menu titles. + + o Add missing menu entries. (FredC) + +- I18NCheck.py: Added 'bs' as a valid language code name. (Pablo) + +- Config.py: added a few exceptions. + +* Sun Jul 15 2001 Frederic Lepied 0.34-1mdk +- added missing descriptions. +- added -a option to check all the installed packages. +- TagsCheck.py: handle the libbzip2_1-devel case. + +* Fri Jul 6 2001 Christian Belisle 0.33-2mdk +- Added descriptions for the -i option. + +* Mon Jul 2 2001 Frederic Lepied 0.33-1mdk +- more descriptions from Christian Belisle. + +- BinariesCheck.py: new check for files which can cause upgrade + problems in the library packages. + +- TagsCheck.py: try to check alpha/beta/pre version improper use. + +- Filter.py: print description only if they aren't empty. + +- SpecCheck.py: added a check for obsolete tags. + +- FilesCheck.py: added named user and group to the exception list. + +* Mon Jun 18 2001 Christian Belisle 0.32-2mdk +- Added descriptions for the -i option. + +* Wed Jun 13 2001 Frederic Lepied 0.32-1mdk +- rpmlint.py: o If the file given on the command line doesn't exist, + try to use the name as an installed package to check. + o new -i option to give explanation on the errors/warnings (not too much + descriptions have been added ;-) + +- MenuCheck.py: added new Office sub menus. + +- FilesCheck.py: o added /usr/X11R6/man subdirs to the list of + STANDARD_DIRS. + o warn for .so file only if they are in a lib dir. + o warn for source files in a non devel package only if they are not + doc files. + +- TagsCheck.py: corrected description-line-too-long check. + +- FilesCheck.py: add the rpm user and group per request of Jeff + Johnson for the future version of rpm. + +* Fri May 18 2001 Frederic Lepied 0.31-1mdk +- PostCheck.py: check that a script isn't only one command. + check postin and prein instead of postun and preun + for ghost files creation. + +- MenuCheck.py: don't check NO_XALF in menu command. + +- FilesCheck.py: Add rpcuser. + +- Config.py: Expections for ldconfig, initscripts, netkit-base and iputils. + +- TagsCheck.py: check length of summary and description lines. + +* Fri Feb 16 2001 Frederic Lepied 0.30-1mdk + +- InitScriptCheck.py: check if runlevels are set + +- MenuCheck.py: added support to check launchers. + +- I18NCheck.py: check subdirs of /sur/share/man. + +- PostCheck.py: check that the postun creates the ghost files + added install to dangerous commands + +- LSBCheck.py: first version + +- TagsCheck.py: changed Window Maker to WindowMaker + Add https as valid url. + Used list of licenses from www.opensource.org/licenses + Check the full license before splitting in it + multiple parts. + + +* Thu Dec 7 2000 Frederic Lepied 0.29-1mdk + +- PostCheck.py: Add /sbin/sash as VALID_SHELLS. + +- Config.py: added exceptions for dev. + +- FilesCheck.py: check dangling-symlink in the file index too to +avoid missing special files that aren't created when extracted as a +user. + +- FilesCheck.py: added a generic way to avoid dangling-symlink +warnings. + +- TagsCheck.py: for devel packages, check dependency on lib package +only when a .so file is present. + +- Config.py: add some execptions for pam (0750 dir for /etc/default +is normal as weel to have gpasswd and chage as suid). + +- Config.py: Don't check info-file-with-install-info for bash since +it's by default in the dir file. + +* Fri Nov 24 2000 Frederic Lepied 0.28-1mdk +- TagsCheck.py: o check -devel package naming scheme only on binary + packages. + o report a warning if a -devel package comes with no + major in its name. + o added python licence and public domain. + o check syntax of url tag. + +- SourceCheck.py: only check compression on tar or diff files. + +- Config.py: various exceptions added. + +- BinariesCheck.py: o report the file location on objdump errors. + o new error: executable in library package. + +- I18NCheck.py: fuzzy check on packages without dependency on +locales + +- FilesCheck.py: check if a package provides sources. + +- PostCheck.py: force a separator before dangerous command. + + +* Mon Nov 13 2000 Frederic Lepied 0.27-1mdk +- FilesCheck.py: don't warn if a games is setgid games. +- README: RpmGamesGroup added to the list of available options. +- Config.py: added exception for xman. +- BinariesCheck.py: check ldconfig symlinks. +- TagsCheck.py: don't check no-version-in-changelog for source rpm. + +* Fri Nov 10 2000 Frederic Lepied 0.26-1mdk + +- Config.py: added various exceptions. + +- TagsCheck.py: o allow multiple licenses. + o don't report anymore the package-provides-itself warning because + it's the default in rpm 4. + o try to not report incoherent-version-in-changelog for sub-packages. + +- MenuCheck.py: correct the non-transparent-xpm check. + +- FilesCheck.py: don't report buggy length-symlink anymore. + +* Thu Oct 12 2000 Frederic Lepied 0.25-1mdk + +- Config.py: added exception for sympa, rpm and bcast. + +- TagsCheck.py: o check that devel package depends on the base + package with the same version. + o check that summary begins with a + +- PostCheck.py: o check dangerous commands. + ocheck reference to ~ or $HOME. + +- MenuCheck.py: o check that titles and longtitles begin by a capital + letter. + o check that no version is included in title and longtitle. + o /lib/cpp errors to /dev/null for new cpp. + +- FilesCheck.py: check package owning system dirs. + +- SpecCheck.py: o new check. + o check name of spec file. + o check use of $RPM_SOURCE_DIR. + o warn if a patch is not applied. + +* Mon Oct 2 2000 Frederic Lepied 0.24-1mdk +- FilesCheck.py: added apache and postgres to standard groups. +- TagsCheck.py: spell check a la Debian. + +* Fri Sep 29 2000 Frederic Lepied 0.23-1mdk +- MenuCheck.py: added Applications/Accessibility. + check that menu files are readable by everyone. +- Config.py: removed exception for /home. + added exceptions for vixie-cron. +- FilesCheck.py: check cvs internal files. + +* Tue Sep 12 2000 Frederic Lepied 0.22-1mdk +- PostCheck.py: print a warning on empty script. +- FilesCheck.py: added postgres and apache to default users. +- TagsCheck.py: added bugs@linux-mandrake.com as a valid packager address. +- I18NCheck.py: check *.mo for file-not-in-%lang, not only in /usr/share/locale +- TagsCheck.py, MenuCheck.py: replaced Networking/ICQ group with Networking/Instant messaging. + +* Thu Aug 31 2000 Frederic Lepied 0.21-1mdk +- TagsCheck.py: check packager field compliance to a regexp. +- Config.py: imported default exceptions. +- TagsCheck.py: added Apache License, PHP Licence and BSD-Style. +- MenuCheck.py: check hardcoded path in icon field and large, mini, + normal icon files. +- PostCheck.py: Fix typo in check of /usr/bin/perl. +- PostCheck.py: Check perl script like we do for bash script. +- I18NCheck.py: updated locales list +- FilesCheck.py: Only check perl_temp_file in a /perl/ directory. + +* Fri Aug 25 2000 Frederic Lepied 0.20-1mdk +- InitScriptCheck.py: new check for /etc/rc.d/init.d scripts. +- PostCheck.py: check when a script is present that the shell is valid. +- ConfigCheck.py: report warnings for app-defaults only +in /usr/X11R6/lib/X11/app-defaults. +- BinariesCheck.py: report the rpath warning if the directory isn't a +sub-directory of /usr/lib/. + +* Fri Aug 18 2000 Frederic Lepied 0.19-1mdk +- BinariesCheck.py: check rpath only on system lib paths (ie /lib, +/usr/lib and /usr/X11R6/lib). This can be configured with the +SystemLibPaths option. +- I18NCheck.py: warn if .mo is not registered in %%lang. +- MenuCheck.py: protected kdesu check. +- FilesCheck.py: check perl temporary files. +- rpmlint.py: added ExtractDir option usable in the config +file. +- PostCheck.py: check ] in if statement. report warning for a +percent. + +* Thu Aug 10 2000 Frederic Lepied 0.18-1mdk +- TagsCheck: check licence file. +- ConfigCheck: check files without no-replace flag. +- MenuCheck: allow depency on kdesu to point directly to /usr/bin/kdesu. +- FHSCheck: allow ftp and www in var (from upcoming FHS 2.2). + +* Tue Aug 8 2000 Frederic Lepied 0.17-1mdk +- PostCheck: check bourne shell syntax (Chmouel). +- FileCheck: o check chkconfig calls for packages with a file in + /etc/rc.d/init.d. + o allow the call to install-info to be in %%preun. +- MenuCheck: o take care of kdesu (Chmouel). +- various exceptions added. + +* Wed Jul 19 2000 Frederic Lepied 0.16-1mdk +- FHSCheck activated by default. +- FileCheck: o check dangling symlinks. + o check info/dir. + +* Tue Jun 27 2000 Frederic Lepied 0.15-1mdk +- 0.15: + o check non transparent pixmaps in icon path + o added a check for soname + o added a warning for packages that provide themselves (for Pixel) + o corrected check for needs in menu files. + o various exceptions added. + +* Mon Apr 17 2000 Frederic Lepied 0.14-1mdk +- 0.14: + o MenuCheck: check old entries from KDE and GNOME and allow entries +for sections. + o config: exceptions for urpmi, sash, octave, ghc, procmail, rsh. + o extract temp files in /. + +* Mon Apr 10 2000 Frederic Lepied 0.13-1mdk +- 0.13: + o MenuCheck: issue a warning if no icon specified (Chmouel). + corrected list of correct sections (Chmouel). + o FilesCheck: check ldconfig calls in %%post and %%postun if the package +provide a library. + o config: new exceptions added. + o BinariesCheck: check non sparc32 binaries in sparc packages. + +* Fri Mar 31 2000 Frederic Lepied 0.12-1mdk +- 0.12: + o MenuCheck: check binaries launched by menus and + check update-menus %%post and %%postun. + o BinariesCheck: check for non sparc32 binaries in sparc rpms. + +* Mon Mar 27 2000 Frederic Lepied 0.11-1mdk +- 0.11: + o check menu files. + +* Tue Mar 14 2000 Frederic Lepied 0.10-1mdk +- 1.10: + o check .h, .a and .so in non devel package. + o check files in /home. + o corrected lists of groups. + +* Mon Feb 28 2000 Frederic Lepied 0.9.2-1mdk +- added a dependency on rpm-python. +- corrected rpm 3.0.4 support. + +* Wed Feb 23 2000 Frederic Lepied 0.9.1-1mdk +- updated to support the way rpm 3.0.4 stores file names. + +* Thu Feb 10 2000 Frederic Lepied 0.9-1mdk + +- 0.9: * gpg support. + * check release extension. + * check non executable in bin directories. + * new options: ValidGroups, ReleaseExtension and + UseVersionInChangelog. + +* Thu Dec 30 1999 Frederic Lepied 0.8-1mdk + +- 0.8: I18N checks, some exceptions added. + +* Mon Nov 15 1999 Frederic Lepied + +- 0.7: more robust cleanup, filters are regexp now and added +exception for /var/catman subirs beeing setgid. + +* Sat Oct 23 1999 Frederic Lepied + +- 0.6.1: corrected compilation step. + +* Sat Oct 23 1999 Frederic Lepied + +- 0.6: filter output, documentation checks. + +* Fri Oct 15 1999 Frederic Lepied + +- 0.5: FHS check, configuration files. + +* Fri Oct 8 1999 Chmouel Boudjnah +- Add Doc. + +* Thu Oct 7 1999 Frederic Lepied + +- version 0.4: pgp check and group name check. + +* Wed Oct 6 1999 Frederic Lepied + +- version 0.3. + +* Mon Oct 4 1999 Frederic Lepied + +- version 0.2. + +* Fri Oct 1 1999 Frederic Lepied + +- First spec file for Mandrake distribution. diff --git a/sources b/sources index e69de29..0ce5683 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +88affb980b0f6ad744c8f8eb441bb3a4 rpmlint-0.60.tar.bz2