Difference between revisions of "AUR Cleanup Day/2010"

From ArchWiki
Jump to: navigation, search
(Removed packages that already deleted)
(fix double redirect)
 
(206 intermediate revisions by 39 users not shown)
Line 1: Line 1:
'''TU's are currently working through the list'''. You can still add packages but please check the whole page first.'''The TUs will not delete any useful package.'''
+
#REDIRECT: [[DeveloperWiki:AUR Cleanup Day]]
 
 
 
 
The AUR has a large number of obsolete packages which could use cleaning up.  Examples of packages that may be cleaned up are:
 
*packages that have been renamed or replaced
 
*old and unmaintained developmental (cvs/svn/etc) packages
 
 
 
Post suggestions of packages on this pages.  Trusted Users will get together and go though the list in a couple of weeks and confirm which packages should be removed.
 
 
 
'''Please DO NOT REMOVE suggestions from the wiki page but add a comment on why it should be kept instead. Please list packages in alphabetical order!'''
 
 
 
==Package List==
 
'''Add new packages here'''  - check for the package in the sorted lists below before adding
 
* [http://aur.archlinux.org/packages.php?ID=22218 amazonmp3-amd64] - replaced by [http://aur.archlinux.org/packages.php?ID=28812 bin32-amazonmp3]
 
* [http://aur.archlinux.org/packages.php?ID=17521 autoproc] - replaced by [http://aur.archlinux.org/packages.php?ID=29290 haskell-autoproc]
 
* [http://aur.archlinux.org/packages.php?ID=22824 bin32-wink] - pkgbuild writes in the filesystem
 
* [http://aur.archlinux.org/packages.php?ID=25457 binaire] - not maintained, broken links, dead project
 
* [http://aur.archlinux.org/packages.php?ID=24644 bloopsaphone] - broken git link, replaced by [http://aur.archlinux.org/packages.php?ID=24645 bloopsaphone-git]
 
* [http://aur.archlinux.org/packages.php?ID=3113 bluez-hciemu] - doesnt work. no longer supported by upstream
 
* [http://aur.archlinux.org/packages.php?ID=1928 bmp-flac] - doesnt work anymore
 
* [http://aur.archlinux.org/packages.php?ID=3855 bmp-scrobbler] - doesnt work anymore
 
* [http://aur.archlinux.org/packages.php?ID=22600 ccmalloc] - not maintained, broken links, dead project
 
* [http://aur.archlinux.org/packages.php?ID=17526 change-monger] - obsoleted by [http://aur.archlinux.org/packages.php?ID=29291 haskell-change-monger]
 
* [http://aur.archlinux.org/packages.php?ID=5994 click] - not maintained, broken links, dead project
 
* [http://aur.archlinux.org/packages.php?ID=8042 eclipse-i18n-pack1] - not needed anymore (it's for old eclipse), broken source link
 
* [http://aur.archlinux.org/packages.php?ID=8041 eclipse-i18n-pack2] - not needed anymore (it's for old eclipse), broken source link
 
* [http://aur.archlinux.org/packages.php?ID=8044 eclipse-i18n-pack2a] - not needed anymore (it's for old eclipse), broken source link
 
* [http://aur.archlinux.org/packages.php?ID=8046 eclipse-i18n-packbidi] - not needed anymore (it's for old eclipse), broken source link
 
* [http://aur.archlinux.org/packages.php?ID=21505 exo-svn] - xfce now uses git repository, so this package is deprecated
 
* [http://aur.archlinux.org/packages.php?ID=17493 flow2dot] - replaced by [http://aur.archlinux.org/packages.php?ID=23561 haskell-flow2dot]
 
* [http://aur.archlinux.org/packages.php?ID=18175 gltail] - apparently, this is not needed anymore (see comment)
 
* [http://aur.archlinux.org/packages.php?ID=10722 gtktwitter] - broken source links, replaced by [http://aur.archlinux.org/packages.php?ID=26246 gtktwitter-git]
 
* [http://aur.archlinux.org/packages.php?ID=20670 haskell-cheatsheet] - obsoleted (see comment)
 
* [http://aur.archlinux.org/packages.php?ID=17738 haskell-derive] - obsoleted (see comment)
 
* [http://aur.archlinux.org/packages.php?ID=21294 haskell-gitit] - obsoleted (see comment)
 
* [http://aur.archlinux.org/packages.php?ID=18053 hunspell-de-de] - replaced by [http://aur.archlinux.org/packages.php?ID=27262 igerman98] (see [http://aur.archlinux.org/packages.php?ID=18053 comment] from nikel)
 
* [http://aur.archlinux.org/packages.php?ID=11742 jsoftware-image-addon] - replaced by [http://aur.archlinux.org/packages.php?ID=30019 jsoftware-image3-addon]
 
* [http://aur.archlinux.org/packages.php?ID=24998 lib32-nvidia-utils-173.14.18-1] - same as [http://aur.archlinux.org/packages.php?ID=29043 lib32-nvidia-utils-173xx]
 
* [http://aur.archlinux.org/packages.php?ID=29042 lib32-nvidia-utils-173.14.20-1] - same as [http://aur.archlinux.org/packages.php?ID=29043 lib32-nvidia-utils-173xx]
 
* [http://aur.archlinux.org/packages.php?ID=12035 lib32-openssl] - duplicate from community (x86_64), shouldn't be in AUR according to [http://bbs.archlinux.org/viewtopic.php?pid=471112#p471112 this].
 
* [http://aur.archlinux.org/packages.php?ID=13969 lib32-libxml2] - duplicate from community (x86_64), shouldn't be in AUR according to [http://bbs.archlinux.org/viewtopic.php?pid=471112#p471112 this].
 
* [http://aur.archlinux.org/packages.php?ID=13222 lib32-libxcomposite] - duplicate from community (x86_64), shouldn't be in AUR according to [http://bbs.archlinux.org/viewtopic.php?pid=471112#p471112 this].
 
* [http://aur.archlinux.org/packages.php?ID=6186 libsipphoneapi-oss] - very old, it seems not needed anymore
 
* [http://aur.archlinux.org/packages.php?ID=16117 libxfce4mcs-svn] - xfce now uses git repository, so this package is deprecated
 
* [http://aur.archlinux.org/packages.php?ID=21506 libxfce4menu-svn] - see comment for libxfce4mcs-svn
 
* [http://aur.archlinux.org/packages.php?ID=21507 libxfce4ui-svn] - see comment for libxfce4mcs-svn
 
* [http://aur.archlinux.org/packages.php?ID=16120 libxfce4util-svn] - see comment for libxfce4mcs-svn
 
* [http://aur.archlinux.org/packages.php?ID=16116 libxfcegui4-svn] - see comment for libxfce4mcs-svn
 
* [http://aur.archlinux.org/packages.php?ID=24136 mbp-lcd-fix] - not needed anymore (see comment)
 
* [http://aur.archlinux.org/packages.php?ID=25008 modsplit] - obsoleted (see comment)
 
* [http://aur.archlinux.org/packages.php?ID=17786 mohws] - obsoleted (see comment)
 
* [http://aur.archlinux.org/packages.php?ID=10795 ndn-beta] - it's old beta version, broken source link
 
 
 
* [http://aur.archlinux.org/packages.php?ID=6232 nspluginwrapper-flash] - not needed anymore
 
* [http://aur.archlinux.org/packages.php?ID=12051 netscape-navigator] - closed-sources, end of support by netscape -- Does it still work? If so, no need to delete.
 
* [http://aur.archlinux.org/packages.php?ID=12335 obtuner] - program isn't updated sice 2005, and it's "incompatible with the current openbox"
 
* [http://aur.archlinux.org/packages.php?ID=20585 openoffice-beta-ru] - language files for old beta
 
* [http://aur.archlinux.org/packages.php?ID=2782 openoffice-spell-cs] - apparently, this is not needed anymore (see comments from [http://aur.archlinux.org/packages.php?ID=10610 Dragonlord], [http://aur.archlinux.org/packages.php?ID=3409 julemand1-01-Nov-2008] and [http://aur.archlinux.org/packages.php?ID=6986 scarecrow])
 
* [http://aur.archlinux.org/packages.php?ID=3409 openoffice-spell-da] - see comment for openoffice-spell-cs
 
* [http://aur.archlinux.org/packages.php?ID=6986 openoffice-spell-el] - see comment for openoffice-spell-cs
 
* [http://aur.archlinux.org/packages.php?ID=11705 openoffice-spell-et] - see comment for openoffice-spell-cs
 
* [http://aur.archlinux.org/packages.php?ID=3811 openoffice-spell-fo] - see comment for openoffice-spell-cs
 
* [http://aur.archlinux.org/packages.php?ID=13332 openoffice-spell-id] - see comment for openoffice-spell-cs
 
* [http://aur.archlinux.org/packages.php?ID=11627 openoffice-spell-lv] - see comment for openoffice-spell-cs
 
* [http://aur.archlinux.org/packages.php?ID=10610 openoffice-spell-sl] - see comment for openoffice-spell-cs
 
* [http://aur.archlinux.org/packages.php?ID=28843 parole-media-player-svn] - xfce now uses git repository, so this package is deprecated
 
* [http://aur.archlinux.org/packages.php?ID=23040 perl-date-korean] - maintainer wrotes that it may be deleted
 
* [http://aur.archlinux.org/packages.php?ID=1340 pyevas] - dead project, broken links
 
* [http://aur.archlinux.org/packages.php?ID=4319 pynealpm] - use old libalpm
 
* [http://aur.archlinux.org/packages.php?ID=17812 qutim-svn] - was replace by qutim-core-svn; -- acvtively maintained, and qutim-core-svn was deleted, so this entry may be removed
 
* [http://aur.archlinux.org/packages.php?ID=26599 rubberband-include-fix] - not maintained, broken links
 
* [http://aur.archlinux.org/packages.php?ID=19242 sonata-disautocenter] - not needed anymore
 
* [http://aur.archlinux.org/packages.php?ID=12451 sqcam-cvs] - depend on kernel26 and was not update since 1 year...
 
* [http://aur.archlinux.org/packages.php?ID=4567 stepmania-cvs-extras] - broken source links, same as [http://aur.archlinux.org/packages.php?ID=2613 stepmania-extras]; -- oh, it's still alive :)
 
* [http://aur.archlinux.org/packages.php?ID=10592 systemc] - dead project, broken links
 
* [http://aur.archlinux.org/packages.php?ID=16126 thunar-svn] - xfce (and thunar) now uses git repository, so this package is deprecated
 
* [http://aur.archlinux.org/packages.php?ID=27403 thunar-actions-plugin-svn] - see comment for thunar-svn
 
* [http://aur.archlinux.org/packages.php?ID=21509 thunar-archive-plugin-svn] - see comment for thunar-svn
 
* [http://aur.archlinux.org/packages.php?ID=21510 thunar-media-tags-plugin-svn] - see comment for thunar-svn
 
* [http://aur.archlinux.org/packages.php?ID=27451 thunar-svn-gio] - see comment for thunar-svn
 
* [http://aur.archlinux.org/packages.php?ID=27404 thunar-svn-plugin-svn] - see comment for thunar-svn
 
* [http://aur.archlinux.org/packages.php?ID=23226 thunar-volman-svn] - see comment for thunar-svn
 
* [http://aur.archlinux.org/packages.php?ID=27959 vim-xoria] - replaced by [http://aur.archlinux.org/packages.php?ID=28458 vim-xoria256]
 
* [http://aur.archlinux.org/packages.php?ID=25651 web-gmui] - replaced by [http://aur.archlinux.org/packages.php?ID=29881 p2p-gui] (see the last [http://aur.archlinux.org/packages.php?ID=25651 comment] from said)
 
* [http://aur.archlinux.org/packages.php?ID=21066 wine-war] - obsolete, and not maintained
 
* [http://aur.archlinux.org/packages.php?ID=14786 wormulon] - dead project, broken links
 
* [http://aur.archlinux.org/packages.php?ID=3461 ww2d-extra] - broken links, and there is no sources in other place
 
* [http://aur.archlinux.org/packages.php?ID=21511 xfce-utils-svn] - xfce now uses git repository, so this package is deprecated
 
* [http://aur.archlinux.org/packages.php?ID=21518 xfce4-appfinder-svn] - see comment for xfce-utils-svn
 
* [http://aur.archlinux.org/packages.php?ID=21504 xfce4-dev-tools-svn] - see comment for xfce-utils-svn
 
* [http://aur.archlinux.org/packages.php?ID=14955 xfce4-genmon-plugin-svn] - see comment for xfce-utils-svn
 
* [http://aur.archlinux.org/packages.php?ID=21512 xfce4-mixer-svn] - see comment for xfce-utils-svn
 
* [http://aur.archlinux.org/packages.php?ID=27196 xfce4-notes-plugin-svn] - see comment for xfce-utils-svn
 
* [http://aur.archlinux.org/packages.php?ID=16123 xfce4-panel-svn] - see comment for xfce-utils-svn
 
* [http://aur.archlinux.org/packages.php?ID=24435 xfce4-perl-svn] - see comment for xfce-utils-svn
 
* [http://aur.archlinux.org/packages.php?ID=22061 xfce4-power-manager-svn] - see comment for xfce-utils-svn
 
* [http://aur.archlinux.org/packages.php?ID=28050 xfce4-sensors-plugin-svn] - see comment for xfce-utils-svn
 
* [http://aur.archlinux.org/packages.php?ID=21513 xfce4-session-svn] - see comment for xfce-utils-svn
 
* [http://aur.archlinux.org/packages.php?ID=21514 xfce4-settings-svn] - see comment for xfce-utils-svn
 
* [http://aur.archlinux.org/packages.php?ID=25077 xfce4-smartpm-plugin-svn] - see comment for xfce-utils-svn
 
* [http://aur.archlinux.org/packages.php?ID=27197 xfce4-taskmanager-svn] - see comment for xfce-utils-svn
 
* [http://aur.archlinux.org/packages.php?ID=27198 xfce4-weather-plugin-svn] - see comment for xfce-utils-svn
 
* [http://aur.archlinux.org/packages.php?ID=21515 xfconf-svn] - see comment for xfce-utils-svn
 
* [http://aur.archlinux.org/packages.php?ID=21516 xfdesktop-svn] - see comment for xfce-utils-svn
 
* [http://aur.archlinux.org/packages.php?ID=24553 xfprint-svn] - see comment for xfce-utils-svn
 
* [http://aur.archlinux.org/packages.php?ID=21517 xfwm4-svn] - see comment for xfce-utils-svn
 
* [http://aur.archlinux.org/packages.php?ID=24554 xfwm4-themes-svn] - see comment for xfce-utils-svn
 
* [http://aur.archlinux.org/packages.php?ID=6904 xulrunner-thai] - too old to be useful, broken source link
 
 
 
==TU Working Area==
 
 
 
'''For editing by TUs only!''' The wiki has a history so do not think you can get away with ignoring this... --[[User:Allan|Allan]]
 
 
 
===Packages to Remove===
 
* [http://aur.archlinux.org/packages.php?ID=11558 aldm] - not supported anymore
 
* [http://aur.archlinux.org/packages.php?ID=2944 al-mime] al-mime - doesnt work, not supported anymore -- maybe something for a wiki-page?
 
*  al-mime-data - doesnt work, not supported anymore -- maybe something for a wiki-page?
 
 
 
* [http://aur.archlinux.org/packages.php?ID=1926 fvwm-trans] last updated over 2 years ago and replaced with
 
* [http://aur.archlinux.org/packages.php?ID=7195 fvwm-patched] in AUR --[[User:pressh|pressh]] (I think one feature that is patched is in fvwm by default now, the other is in fvwm-patched too. If user does not want all the patched they can disable the ones they don't want from fvwm-patched)
 
 
 
* [http://aur.archlinux.org/packages.php?ID=16166 jacman] - Jacman doesn't work correctly with pacman3. --[[User:Partition|Partition]]
 
* [http://aur.archlinux.org/packages.php?ID=3157 kopete-dev] - terribly outdated. no longer needed  -- deleted (stefanhusmann)
 
* [http://aur.archlinux.org/packages.php?ID=10190 sharpmusique] - source is not available anymoreout this package -- [[User:angvp|angvp]] -- maybe it comes back again.
 
 
 
In community:
 
* [http://aur.archlinux.org/packages.php?ID=271 gambas] - no package depends on it and uptream development seems stopped, also exists gambas2 on community -- [[User:Ornitorrincos|Ornitorrincos]]
 
* [http://aur.archlinux.org/packages.php?ID=9102 lmctl] - replaced by lomoco --[[User:Allan|Allan]]
 
* [http://aur.archlinux.org/packages.php?ID=8958 wildfire] - Replaced by openfire. --[[User:pressh|pressh]]
 
* [http://aur.archlinux.org/packages.php?ID=9114 xchat-systray-integration] - Xchat is integrated with systray with
 
* [http://aur.archlinux.org/packages.php?ID=10190 sharpmusique] - source is not available anymoreout this package -- [[User:angvp|angvp]] -- maybe it comes back again.
 
 
 
===Packages to Keep===
 
* [http://aur.archlinux.org/packages.php?ID=3632 atmel-firmware] - no longer needed -- why?
 
* [http://aur.archlinux.org/packages.php?ID=7224 autoconf-compat] - too old to be useful -- it is for compiling old stuff, lets keep it, does not harm
 
* [http://aur.archlinux.org/packages.php?ID=7212 aur-install] - does this one still work and do we need it anyway? -- Seems to be actively maintained, no reason to delete.
 
* [http://aur.archlinux.org/packages.php?ID=3595 amsn-plugins-texim] - no longer exists -- it's here: [http://www.math.washington.edu/~kieroglu/] (StefanHusmann)
 
* [http://aur.archlinux.org/packages.php?ID=24851 bin32-flashplayer-standalone] - not needed anymore -- Still useful, because there is no native standalone flash player from Adobe on x86_64 systems. Mightyjaym (maintener)
 
* [http://aur.archlinux.org/packages.php?ID=12131 blastwave] - Dead projet, doesn't compile anymore. -- stefanhusmann: maybe only needs a maintainer.
 
* [http://aur.archlinux.org/packages.php?ID=15634 btrfs] - newer version (0.15) available, released May 29th, 2008. -- So this package should maybe be orphaned, no obvious reason to delete it. [Edit: orphaning should be requested in the aur-general mailing list. Dragonlord]
 
* [http://aur.archlinux.org/packages.php?ID=15635 btrfs-progs] - newer version (0.15) available, released May 29th, 2008. -- So this package should maybe be orphaned, no obvious reason to delete it.
 
* [http://aur.archlinux.org/packages.php?ID=13080 cairo-wglitz] - not needed anymore -- needed by cairo-dock
 
* [http://aur.archlinux.org/packages.php?ID=8117 chocolate-doom-svn] - package is broken. cause of AUR -- it is maintained.
 
* [http://aur.archlinux.org/packages.php?ID=19404 eclipse33] - not needed anymore -- No reason to delete, actively maintained StefanHusmann
 
* [http://aur.archlinux.org/packages.php?ID=14288 editobj2] - not needed anymore -- needed by songwrite2, I asked the maintainer to take it. (stefanhusmann)
 
* [http://aur.archlinux.org/packages.php?ID=19779 empathy] - empathy is in extra -- empathy is orpaned in [testing], no package in extra (stefanhusmann)
 
* [http://aur.archlinux.org/packages.php?ID=6042 fluxbox-styles-boxwhore] - boxwhore website is dead -- no, it seems to be down sometimes, but sometimes it works again. Package is maintained and has votes. (stefanhusmann)
 
* [http://aur.archlinux.org/packages.php?ID=3698 galeon] - doesn't compile (not even the latest version) -- seems to be actively maintained (stefanhusmann)
 
* [http://aur.archlinux.org/packages.php?ID=8976 gdal] Contributor seems to be inactive. Newer version available so this package should maybe be orphaned, no obvious reason to delete it. NOTE : updated on sept 24 2008. -- in [community]
 
* [http://aur.archlinux.org/packages.php?ID=6069 gnuserv] - Deprecated in emacs-22+ - Please do not delete : see [http://bbs.archlinux.org/viewtopic.php?pid=383591#p383591] The package never belonged to GNU emacs.(stefanhusmann)
 
* [http://aur.archlinux.org/packages.php?ID=5207 gshare] - The package didn't function for me with the latest gnome. Furthermore it looks like this project is dead (website is down, source is no longer available) -- it is in [community]
 
* [http://aur.archlinux.org/packages.php?ID=23171 gvfs-smbfix] - smb browse fix in gvfs 1.2 -- actively maintained
 
* [http://aur.archlinux.org/packages.php?ID=7037 kanola] - probably dead project, didn't went past the 0.0.1 release since 2006 -- PKGBUILD is maintained and maintainer is active.
 
* [http://aur.archlinux.org/packages.php?ID=13906 klibc-zen] - not needed anymore theres not even a kernel26zen. -- there is, but I orphand the package.
 
* [http://aur.archlinux.org/packages.php?ID=3689 ii-hg] - outdated, probably discontinued as the project website isn't available anymore (moved maybe?)
 
** The project website is available at http://www.suckless.org/wiki/tools/irc/irc_it, so it's not dead. It only needs some changes to work again. --[[User:CuleX|CuleX]] -- actively maintained
 
* [http://aur.archlinux.org/packages.php?ID=3429 lam 7.1.3-1] - Doesn't compile and is orphaned. The successor openmpi works. -- actively maintained
 
* [http://aur.archlinux.org/packages.php?ID=8926 lastfmsubmitd] - Way old. -- actively maintained in [community]
 
* [http://aur.archlinux.org/packages.php?ID=7264 mencode] - outdated, tells aur is its homepage
 
** The package is to install a perl script included in the AUR tarball so it doesn't really have a home page. So it could be kept if the script can still be useful or, at least, the script could be moved to the wiki if there is a page for scripts. --[[User:Snowman|Snowman]]
 
* [http://aur.archlinux.org/packages.php?ID=11498 mpd-pausemode] - "Website" is orig. contributor's email addr.; orphaned by this contributor, so presumably no longer developed. -- no obvious need to delete
 
* [http://aur.archlinux.org/packages.php?ID=5408 mlame] - just a small bash script, no project page, could be moved to the wiki maybe -- actively maintained
 
* [http://aur.archlinux.org/packages.php?ID=11581 mouseemu] - Project not updated since 2006; xautomation also allows mouse emulation. -- package builds with little tweaking.
 
* [http://aur.archlinux.org/packages.php?ID=14946 mplayer-w32codecs] - not duplicate package as has more codecs than the "codecs" package.
 
** Should rename to "codecs-extra" and not provide same files as codecs package --[[User:Allan|Allan]]
 
* [http://aur.archlinux.org/packages.php?ID=18601 netbeans-cpp_6.1-1] - not needed anymore -- seems to be maintained.
 
* [http://aur.archlinux.org/packages.php?ID=17913 netbeans-ruby_6.1-1] - not needed anymore -- seems to be maintained.
 
* [http://aur.archlinux.org/packages.php?ID=14291 ndiswrapper-zen] - not needed anymore. theres not even a kernel26zen.-- there is. Orphaned.
 
* [http://aur.archlinux.org/packages.php?ID=13901 nvidia-96xx-zen] - not needed anymore. theres not even a kernel26zen..-- there is. Orphaned.
 
* [http://aur.archlinux.org/packages.php?ID=13904 nvidia-beta-zen] - not needed anymore. theres not even a kernel26zen..-- there is. Orphaned.
 
* [http://aur.archlinux.org/packages.php?ID=13903 nvidia-zen] - http://aur.archlinux.org/packages.php?ID=13903 -- there isa zen kernel.
 
* [http://aur.archlinux.org/packages.php?ID=12067 pidgimpd-svn] - This package is orphaned and it doesn't build. There is mpd support in musictracker. -- actively maintained.
 
* [http://aur.archlinux.org/packages.php?ID=9338 qgis] contributor seems to be inactive. Newer version available so this package should maybe be orphaned, no obvious reason to delete it. -- package is in [community]
 
* [http://aur.archlinux.org/packages.php?ID=7022 qgnokii] - depend on qt3 but still use depend=(qt) -- builds fine with a little patch in pkgrel 6
 
* [http://aur.archlinux.org/packages.php?ID=13908 truecrypt-zen] - not needed anymore. theres not even a kernel26zen..-- there is. Orphaned.
 
* [http://aur.archlinux.org/packages.php?ID=2820 vim-colorschemes] - Mirror says 404, there is [http://www.vim.org/scripts/script.php?script_id=625 vim-colorsamplerpack] in [extra] -- It is actively maintained
 
* [http://aur.archlinux.org/packages.php?ID=15973 weather-wallpaper] - orphaned and references as dep non-existing pymetar -- It is actively maintained (by a TU)
 
* [http://aur.archlinux.org/packages.php?ID=1325 xmlwrapp] no obvious reason to delete.
 
* [http://aur.archlinux.org/packages.php?ID=25354 backintime-kde4] - made obsolete by other backintime version -- actively maintained
 
 
 
==Remove from Filesystem==
 
 
 
There are files on the AUR filesystem that have been created when poorly formed packages were uploaded. This is a secondary consideration.
 
 
 
There are also directories in /packages/ for which the package no longer exists. These probably need to be removed as well. Examples are 4c, 1394commander and 8kingdoms. Also, all the packages that moved to community ALSO still exist there.
 
 
 
List here files that are in directories of existing packages.
 
<pre>
 
 
 
</pre>
 
 
 
This script will take care of packages that no longer exist.
 
<pre>
 
#!/usr/bin/php
 
<?php
 
# Run this script by providing it with the top path of AUR.
 
# In that path you should see a file lib/aur.inc
 
#
 
# This will remove files which belong to deleted packages.
 
#
 
# ex: php cleanup dev/aur/web
 
#
 
$dir = $argv[1];
 
 
 
if (empty($dir)) {
 
        echo "Please specify AUR directory.\n";
 
        exit;
 
}
 
 
 
set_include_path(get_include_path() . PATH_SEPARATOR . "$dir/lib");
 
include("config.inc");
 
include("aur.inc");
 
include("pkgfuncs.inc");
 
 
 
exec('ls ' . INCOMING_DIR, $files);
 
 
 
$count = 0;
 
 
 
foreach ($files as $pkgname) {
 
        if (!package_exists($pkgname)) {
 
                echo 'Removing ' . INCOMING_DIR . "$pkgname\n";
 
                system('rm -r ' . INCOMING_DIR . $pkgname);
 
                $count++;
 
        }
 
}
 
 
 
echo "\nRemoved $count directories.\n";
 
 
 
</pre>
 

Latest revision as of 02:05, 22 February 2016