summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-01-29add [multilib-testing], [libre-multilib] and [libre-multilib-testing] reposAndré Fabian Silva Delgado
2014-01-16fix new db-syncParabola
2014-01-15db-update: add shopt -s nullglob and remove mail script to ↵André Fabian Silva Delgado
maintenance@lists.parabolagnulinux.org because it's unstable
2014-01-15revert to old db-sync until fix it, rename lastest db-sync to db-sync.origAndré Fabian Silva Delgado
2014-01-11modification on db-update for mailaurelien
2014-01-08remove unused variables from local_configLuke Shumaker
2014-01-08Avoid using $(basename $var) , use ${var##*/} insteadLuke Shumaker
2014-01-08db-sync: use tab indentLuke Shumaker
2014-01-08Fix some array quoting.Luke Shumaker
2014-01-08Normalize to load config then local_config then db-functionsLuke Shumaker
2014-01-08fix comments, indentationLuke Shumaker
2014-01-08Get rid of $ARCH_BASE; these days it is the same as $FTP_BASELuke Shumaker
2014-01-08Be very careful about using $0.Luke Shumaker
2014-01-08Remove extra local_config loads.Luke Shumaker
Some files were loading local_config even if they did not use any settings from it.
2014-01-08Fix quoting on arrays.Luke Shumaker
2014-01-08Use `mktemp -t` to respect $TMPDIRLuke Shumaker
2014-01-08misc touch upLuke Shumaker
- TODO: add trailing newline - config: add text editor hint - config.orig: remove - getrepos: quote, use -- - db-functions: hardcode some paths, remove needless nullglob
2014-01-08rm repo-remove -- in Oct 2012 fauno removed repo-add, but left thisLuke 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-08db-update: remove 'other' from repo blacklist now that issue #460 is addedLuke Shumaker
2014-01-08Don't error about permissions on empty staging repos (feature #460)Parabola
2014-01-06fix thingsParabola
2014-01-04Merge branch 'repo'Luke Shumaker
2014-01-05go ahead and track local_configParabola
2014-01-05db-update: add hook for publishing generated sourcesParabola
2014-01-05fix use of $0 in db-cleanupParabola
2013-12-27Changed to /srvNicolás Reynolds
2013-12-27Adapt to the current setupNicolás Reynolds
2013-12-27Use the blacklist from gitNicolás Reynolds
2013-12-27Remove abs dependencyNicolás Reynolds
2013-12-27Original abslibre sync script used on the dead repoNicolás Reynolds
2013-12-17Removes the extra new line added by nano for unknown reasons.Drtan Samos
2013-12-17Added a user repository for me in order to test packages before they come to ↵Drtan Samos
the offical repositories.
2013-11-30Drop remote (connos) repo supportLuke Shumaker
2013-11-30Change the default WEB_DIR to reflect the new serverLuke Shumaker
2013-10-14oopsLuke Shumaker
2013-10-14db-sync: also generate ${repo}.files databases for imported reposLuke Shumaker
2013-10-14Merge branch 'repo'Luke Shumaker
2013-10-14Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/dbscriptsLuke Shumaker
2013-10-14config: only set staging if it is not set from the environmentParabola
2013-08-28remove mtjm repoAndré Fabian Silva Delgado
2013-08-26remove fauno repoAndré Fabian Silva Delgado
2013-08-26Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/dbscriptsAndré Fabian Silva Delgado
2013-08-26remove deprecated reposAndré Fabian Silva Delgado
2013-08-26removed unnecessary codeIcarious
2013-08-22remove coherence repoAndré Fabian Silva Delgado
2013-08-21rename unfree to nonfreeMárcio Alexandre Silva Delgado
2013-08-20revert back db-moveMárcio Alexandre Silva Delgado
2013-08-20fixing db-move for any package architectureMárcio Alexandre Silva Delgado
2013-08-20fixing PKGEXT variableMárcio Alexandre Silva Delgado
2013-08-20adding nonprism repoMárcio Alexandre Silva Delgado