Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-01-08 | rm repo-remove -- in Oct 2012 fauno removed repo-add, but left this | Luke Shumaker | |
The customized repo-{add,remove} did license extraction for packages. They were based on the versions from pacman 3.5.0 Here is a diff between the stock versions from 3.5.0, and the modified version that we had: --- repo-add.sh.in 2013-12-31 18:02:13.546351038 -0500 +++ repo-remove.in 2013-12-31 18:13:19.957948677 -0500 @@ -20,6 +20,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +LICENSESDIR=/home/parabolavnx/licenses + # gettext initialization export TEXTDOMAIN='pacman' export TEXTDOMAINDIR='@localedir@' @@ -309,6 +311,22 @@ fi fi + # Extracts licenses to a common license dir + msg "Extracting license" + if bsdtar -xOf ${pkgfile} .PKGINFO | grep "license" | grep "custom" ; then + if [ -d ${LICENSESDIR}/${pkgname} ]; then + rm -r ${LICENSESDIR}/${pkgname} + fi + + # Change dir to licenses, and extract them stripping the first part of the path + bsdtar -C ${LICENSESDIR}/ --include="usr/share/licenses/" \ + --strip-components 3 -xf ${pkgfile} >/dev/null 2>&1 + + if [ $? -ne 0 ]; then + warning "This package doesn't contain a license dir" + fi + fi + return 0 } # end db_write_entry @@ -328,6 +346,12 @@ rm -rf $pkgentry pkgentry=$(find_pkgentry $pkgname) done + + msg "Removing license" + if [ -d ${LICENSESDIR}/${pkgname} ]; then + rm -r ${LICENSESDIR}/${pkgname} + fi + return $notfound } # end db_remove_entry | |||
2014-01-08 | db-update: remove 'other' from repo blacklist now that issue #460 is added | Luke Shumaker | |
2014-01-08 | Don't error about permissions on empty staging repos (feature #460) | Parabola | |
2014-01-06 | fix things | Parabola | |
2014-01-04 | Merge branch 'repo' | Luke Shumaker | |
2014-01-05 | go ahead and track local_config | Parabola | |
2014-01-05 | db-update: add hook for publishing generated sources | Parabola | |
2014-01-05 | fix use of $0 in db-cleanup | Parabola | |
2013-12-27 | Changed to /srv | Nicolás Reynolds | |
2013-12-27 | Adapt to the current setup | Nicolás Reynolds | |
2013-12-27 | Use the blacklist from git | Nicolás Reynolds | |
2013-12-27 | Remove abs dependency | Nicolás Reynolds | |
2013-12-27 | Original abslibre sync script used on the dead repo | Nicolás Reynolds | |
2013-12-17 | Removes the extra new line added by nano for unknown reasons. | Drtan Samos | |
2013-12-17 | Added a user repository for me in order to test packages before they come to ↵ | Drtan Samos | |
the offical repositories. | |||
2013-11-30 | Drop remote (connos) repo support | Luke Shumaker | |
2013-11-30 | Change the default WEB_DIR to reflect the new server | Luke Shumaker | |
2013-10-14 | oops | Luke Shumaker | |
2013-10-14 | db-sync: also generate ${repo}.files databases for imported repos | Luke Shumaker | |
2013-10-14 | Merge branch 'repo' | Luke Shumaker | |
2013-10-14 | Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/dbscripts | Luke Shumaker | |
2013-10-14 | config: only set staging if it is not set from the environment | Parabola | |
2013-08-28 | remove mtjm repo | André Fabian Silva Delgado | |
2013-08-26 | remove fauno repo | André Fabian Silva Delgado | |
2013-08-26 | Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/dbscripts | André Fabian Silva Delgado | |
2013-08-26 | remove deprecated repos | André Fabian Silva Delgado | |
2013-08-26 | removed unnecessary code | Icarious | |
2013-08-22 | remove coherence repo | André Fabian Silva Delgado | |
2013-08-21 | rename unfree to nonfree | Márcio Alexandre Silva Delgado | |
2013-08-20 | revert back db-move | Márcio Alexandre Silva Delgado | |
2013-08-20 | fixing db-move for any package architecture | Márcio Alexandre Silva Delgado | |
2013-08-20 | fixing PKGEXT variable | Márcio Alexandre Silva Delgado | |
2013-08-20 | adding nonprism repo | Márcio Alexandre Silva Delgado | |
2013-08-19 | Merge branch 'web' | Luke Shumaker | |
2013-08-19 | get-repos: parabolaweb wants *.files.tar.gz files, not *.db.tar.gz | Parabola | |
2013-08-16 | add coherence repo | André Fabian Silva Delgado | |
2013-08-15 | Verbose mode is optional | Nicolás Reynolds | |
Signed-off-by: Nicolás Reynolds <fauno@endefensadelsl.org> | |||
2013-04-30 | Removed svn, should work with regular abs | Nicolás Reynolds | |
2012-11-30 | Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/dbscripts | Luke Shumaker | |
2012-11-13 | get-repos: Don't stop after reporead fails. | Michał Masłowski | |
Issue #220 prevents it from working for some repos. | |||
2012-10-31 | Merge branch 'dbscripts-repo' | Luke Shumaker | |
2012-10-31 | sitting on the server | Parabola | |
2012-10-20 | Remove broken symlinks after cleanup | Nicolás Reynolds | |
2012-10-16 | db-list-unsigned-packages.py: Don't list signed packages. | Parabola | |
2012-10-16 | db-list-unsigned-packages: Ignore missing packages, pass the repo name. | Parabola | |
2012-10-16 | db-list-unsigned-packages: rewrite using a helper Python script. | Michał Masłowski | |
The previous implementation parsed each tarball multiple times having quadratic time complexity in the number of packages. It was too slow for a complete run. | |||
2012-10-13 | db-list-unsigned-packages: New script. | Michał Masłowski | |
2012-10-13 | Deprecating old python scripts | Nicolás Reynolds | |
2012-10-13 | Merge branch 'master' of https://projects.parabolagnulinux.org/dbscripts | Parabola | |
2012-10-13 | Deprecating repo-update | Nicolás Reynolds | |
Thanks to aurelien to make me find the misterious garbage packages under staging/! |