1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] package import policy
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20package%20import%20policy&In-Reply-To=%3C201101151356.11921.maarten.vanraes%40gmail.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="002159.html">
<LINK REL="Next" HREF="002157.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] package import policy</H1>
<B>Maarten Vanraes</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20package%20import%20policy&In-Reply-To=%3C201101151356.11921.maarten.vanraes%40gmail.com%3E"
TITLE="[Mageia-dev] package import policy">maarten.vanraes at gmail.com
</A><BR>
<I>Sat Jan 15 13:56:11 CET 2011</I>
<P><UL>
<LI>Previous message: <A HREF="002159.html">[Mageia-dev] package import policy
</A></li>
<LI>Next message: <A HREF="002157.html">[Mageia-dev] Trouble building rkhunter RPM
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#2163">[ date ]</a>
<a href="thread.html#2163">[ thread ]</a>
<a href="subject.html#2163">[ subject ]</a>
<a href="author.html#2163">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Op zaterdag 15 januari 2011 09:48:42 schreef Remy CLOUARD:
><i> On Sat, Jan 15, 2011 at 01:01:33AM +0100, Maarten Vanraes wrote:
</I>><i> > The wiki page lists method to import a package:
</I>><i> > ( <A HREF="http://www.mageia.org/wiki/doku.php?id=packaging">http://www.mageia.org/wiki/doku.php?id=packaging</A> )
</I>><i> >
</I>><i> > so, i followed every step, then contacted my mentor, only it seems the
</I>><i> > process is not used like that; it seems 2 ways are used; and the one
</I>><i> > used most (by people i know) is not the one that is on the wiki page.
</I>><i> >
</I>><i> > So, i would like to list both on the wiki page, so it is clearer.
</I>><i> >
</I>><i> > this is what i would put for in between step 4 and 5
</I>><i> >
</I>><i> > - a second possibility is:
</I>><i> > - Read the [[svn-faq|FAQ]] about the new SVN
</I>><i> > - Download the SRPM from a Mandriva Mirror. The rationale behind this
</I>><i> > is
</I>><i> >
</I>><i> > to keep history for past changes in the RPM (there is a pre-rpm5 mdv srpm
</I>><i> > mirror <A HREF="http://tmb.mine.nu/Mageia/Cauldron/mdv-SRPMS-pre-rpm5/">http://tmb.mine.nu/Mageia/Cauldron/mdv-SRPMS-pre-rpm5/</A> )
</I>><i> >
</I>><i> > - Check it does not have unlicensed Mandriva stuff: image (icons),
</I>><i> > video,
</I>><i> >
</I>><i> > audio files, other
</I>><i> >
</I>><i> > - Check it does have a clear, explicit license with it.
</I>><i> > - Check software license ( free or not, existence of license file)
</I>><i> > - Rebuild the SRPM (with bm -sl for instance)
</I>><i> > - Import the packages with **mgarepo** import package.src.rpm. Be
</I>><i> > sure to
</I>><i> >
</I>><i> > run this command under your ssh-agent, otherwise import will fail
</I>><i> >
</I>><i> > - Check out the imported version in a repository with mgarepo
</I>><i> > - Check it does not have "mandriva" / "mandrake" occurrences used as
</I>><i> > a
</I>><i> >
</I>><i> > brand/name in the software (history/changelog is ok, emails for
</I>><i> > references are ok)
</I>><i> >
</I>><i> > - Update software on last stable version
</I>><i> > - Send patches upstream if possible
</I>><i> > - Remove useless cruft ( like macro that no longer apply )
</I>><i> >
</I>><i> > - Buildroot is no longer necessary
</I>><i> > - %mdkversion
</I>><i> > - ldconfig in post (handled by filetriggers)
</I>><i> >
</I>><i> > - commit the update with a good commit message.
</I>><i> >
</I>><i> > any objections?
</I>><i>
</I>><i> So, that means performing the import first, and then commit your changes
</I>><i> inside SVN. Well, I’d say why not, it would help other people review the
</I>><i> changes, and we would also be sure that it’s well formatted too.
</I>><i>
</I>><i> If everyone agree, I’d say we just replace the content on the wiki with
</I>><i> your proposal
</I>
No this is not a proposal.
I'm saying that it seems to me that most people currently importing packages
at this moment seem to be using this method, instead of the method proposed on
the wiki.
That's why i feel that i should add this (along with the other method) to the
wiki, to avoid confusion. Pending disapproval of currently active package
importers.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="002159.html">[Mageia-dev] package import policy
</A></li>
<LI>Next message: <A HREF="002157.html">[Mageia-dev] Trouble building rkhunter RPM
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#2163">[ date ]</a>
<a href="thread.html#2163">[ thread ]</a>
<a href="subject.html#2163">[ subject ]</a>
<a href="author.html#2163">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>
|