OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-doc Date: 02-Jun-2003 16:04:16
Branch: HEAD Handle: 2003060215041500
Modified files:
openpkg-doc/handbook 00TODO
Log:
remember issues
Summary:
Revision Changes Path
1.27 +51 -0 openpkg-doc/handbook/00TODO
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-doc/handbook/00TODO
============================================================================
$ cvs diff -u -r1.26 -r1.27 00TODO
--- openpkg-doc/handbook/00TODO 9 May 2003 13:50:03 -0000 1.26
+++ openpkg-doc/handbook/00TODO 2 Jun 2003 14:04:15 -0000 1.27
@@ -251,3 +251,54 @@
-- Bill CAMPBELL, [EMAIL PROTECTED]
+Package Variants
+----------------
+
+o Naming Convention
+ - primary/intended package is named "foo"
+ - secondary/alternative/compatibility/etc packages are named "fooN"
+ where "N" is the compressed version string not longer than 2 or 3 digits.
+ - examples: perl/perl56, gcc/gcc2/gcc33, mysql/mysql4, tomcat/tomcat4
+
+o Alternative Packages
+ - for using automatically handled package alternatives
+ - packages conflict by default, because are true alternatives
+ - intention is that packages are fully equal and compatible, any can be used, any
is chosen
+ - multiple existing packages is final solution and will remain in near future
+ - multiple packages are of different products (only)
+
+ Original Package:
+ | Name: foo
+ | Provides: FOO
+
+ Alternative Packages:
+ | Name: fooN
+ | Provides: FOO
+ | %install
+ | ln -s $RPM_BUILD_ROOT%{l_prefix}/bin/fooN $RPM_BUILD_ROOT%{l_prefix}/bin/foo
+
+ Examples: MTA, JDK, JRE, MOTIF, KSH, X11
+
+o Faked Packages
+ - for using manually enforced package alternatives
+ - packages do not conflict by default, but on enforcement
+ - intention is that packages are not fully compatible, only one particular should
be used, others can be enfored
+ - multiple existing packages is temporary solution and will certainly change in
near future
+ - multiple packages are of different versions of same product (only)
+
+ Original Package:
+ | Name: foo
+
+ Faked Packages:
+ | Name: fooN
+ | %options with_foo no
+ | %if "%{with_foo}" == "yes"
+ | Provides: foo = %{version}-%{release}
+ | %endif
+ | %install
+ | %if "%{with_foo}" == "yes"
+ | ln -s $RPM_BUILD_ROOT%{l_prefix}/bin/fooN $RPM_BUILD_ROOT%{l_prefix}/bin/foo
+ | %endif
+
+ Examples: perl, gcc, mysql, gd, tomcat
+
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]