![]() |
dpkg-scansources(1) |
![]() |
dpkg−scanpackages − tworzy pliki indeksowe Sources
dpkg−scansources [opcje] katalog_binarny [plik_nadpisañ [prefiks_¶cie¿ki]] > Sources
dpkg−scansources skanuje podany katalog_binarny w poszukiwaniu plików .dsc, u¿ywanych do utworzenia indeksu ¼ród³owych pakietów Debiana, który nastêpnie jest wypisywany na standardowe wyj¶cie.
The override−file, if given, is used to set priorities in the resulting index records and to override the maintainer field given in the .dsc files. The file can be compressed. See deb−override(5) for the format of this file. NB: Since the override file is indexed by binary, not source, packages, there’s a bit of a problem here. The current implementation uses the highest priority of all the binary packages produced by a .dsc file for the priority of the source package, and the override entry for the first binary package listed in the .dsc file to modify maintainer information. This might change.
Prefiks_¶cie¿ki, je¶li podano, jest do³±czany na pocz±tek pola Directory w wygenerowanym indeksie ¼ród³owym. Ogólnie jest to u¿ywane, aby pola Directory zawiera³y ¶cie¿kê od najwy¿szego poziomu hierarchii archiwum Debiana.
Uwaga: Aby apt(8) mog³o u¿yæ wygenerowanego pliku Sources, nale¿y go skompresowaæ programem gzip(1) (tworz±c plik Sources.gz). apt ignoruje nieskompresowane pliki Sources z wyj±tkiem lokalnego dostêpu (tj. pochodz±cego z file://).
−n, −−no−sort
Nie sortuje rekordów indeksu. Normalnie s± one posortowane po nazwie pakietu ¼ród³owego.
−e, −−extra−override plik
Scan file to find supplementary overrides (the file can be compressed). See deb−extra−override(5) for more information on its format.
−s, −−source−override plik
Use file as the source override file (the file can be compressed). The default is the name of the override file you specified with .src appended.
Format plik nadpisañ ¼róde³ ró¿ni siê od formatu nadpisañ pakietów binarnych. Zawiera tylko dwa pola oddzielone od siebie bia³ymi znakami: pierwszym jest nazwa pakietu, a drugim − sekcja. Linie puste oraz linie komentarza s± ignorowane. Je¶li pakiet pojawia siê w obu plikach, to podczas ustawiania sekcji nadpisanie ¼róde³ ma wiêkszy priorytet.
−−debug
W³±cza tryb debugowania.
−−help
Wy¶wietla informacjê o u¿ytkowaniu i koñczy dzia³anie.
−−version
Wy¶wietla informacjê o wersji i pomy¶lnie koñczy dzia³anie.
deb−override(5), deb−extra−override(5), dpkg−scanpackages(1).
Roderick Schertler <roderick@argon.org>
Piotr
Roszatycki <dexter@debian.org>, 1999
Bartosz Feñski <fenio@debian.org>, 2004-2005
Robert Luberda <robert@debian.org>, 2006-2008
Wiktor Wandachowicz <siryes@gmail.com>, 2008
![]() |
dpkg-scansources(1) | ![]() |