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
|
<!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=%3C201101150101.33948.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="002158.html">
<LINK REL="Next" HREF="002159.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=%3C201101150101.33948.maarten.vanraes%40gmail.com%3E"
TITLE="[Mageia-dev] package import policy">maarten.vanraes at gmail.com
</A><BR>
<I>Sat Jan 15 01:01:33 CET 2011</I>
<P><UL>
<LI>Previous message: <A HREF="002158.html">[Mageia-dev] Is libesd needed anymore?
</A></li>
<LI>Next message: <A HREF="002159.html">[Mageia-dev] package import policy
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#2156">[ date ]</a>
<a href="thread.html#2156">[ thread ]</a>
<a href="subject.html#2156">[ subject ]</a>
<a href="author.html#2156">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>The wiki page lists method to import a package:
( <A HREF="http://www.mageia.org/wiki/doku.php?id=packaging">http://www.mageia.org/wiki/doku.php?id=packaging</A> )
so, i followed every step, then contacted my mentor, only it seems the process
is not used like that; it seems 2 ways are used; and the one used most (by
people i know) is not the one that is on the wiki page.
So, i would like to list both on the wiki page, so it is clearer.
this is what i would put for in between step 4 and 5
- a second possibility is:
- Read the [[svn-faq|FAQ]] about the new SVN
- Download the SRPM from a Mandriva Mirror. The rationale behind this is
to keep history for past changes in the RPM (there is a pre-rpm5 mdv srpm
mirror <A HREF="http://tmb.mine.nu/Mageia/Cauldron/mdv-SRPMS-pre-rpm5/">http://tmb.mine.nu/Mageia/Cauldron/mdv-SRPMS-pre-rpm5/</A> )
- Check it does not have unlicensed Mandriva stuff: image (icons), video,
audio files, other
- Check it does have a clear, explicit license with it.
- Check software license ( free or not, existence of license file)
- Rebuild the SRPM (with bm -sl for instance)
- Import the packages with **mgarepo** import package.src.rpm. Be sure to
run this command under your ssh-agent, otherwise import will fail
- Check out the imported version in a repository with mgarepo
- Check it does not have "mandriva" / "mandrake" occurrences used as a
brand/name in the software (history/changelog is ok, emails for references are
ok)
- Update software on last stable version
- Send patches upstream if possible
- Remove useless cruft ( like macro that no longer apply )
- Buildroot is no longer necessary
- %mdkversion
- ldconfig in post (handled by filetriggers)
- commit the update with a good commit message.
any objections?
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="002158.html">[Mageia-dev] Is libesd needed anymore?
</A></li>
<LI>Next message: <A HREF="002159.html">[Mageia-dev] package import policy
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#2156">[ date ]</a>
<a href="thread.html#2156">[ thread ]</a>
<a href="subject.html#2156">[ subject ]</a>
<a href="author.html#2156">[ 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>
|