summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-06-18db-cleanup: delete symlinks in one passLuke Shumaker
2014-06-18db-cleanup: clarify messageLuke Shumaker
2014-06-18db-cleanup: obey TMPDIRLuke Shumaker
2014-06-18more quoting fixesLuke Shumaker
2014-06-18db-functions:check_repo_permissions: ARCHES is an arrayLuke Shumaker
2014-06-18oopsLuke Shumaker
2014-06-18silly whitespace and similar fidlingLuke Shumaker
2014-06-18use mv_aclLuke Shumaker
2014-06-18create-repo: get rid of old staging logicLuke Shumaker
2014-06-18Use printf formatters instead of string interpolation.Luke Shumaker
I used this command to find them: egrep -r --exclude-dir={test,.git} '(plain|msg|msg2|warning|error|stat_busy|stat_done|abort|die)\s+"?[^"]*\$'
2014-06-18More quoting fixesLuke Shumaker
2014-06-18Clean up quoting.Luke Shumaker
2014-06-18use tab indentLuke Shumaker
2014-06-17remove more scripts that I know to be obsoleteLuke Shumaker
2014-06-17db-functions: add mv_aclLuke Shumaker
2014-06-17cron-jobs/ftpdir-cleanup: remove old /any/ cleanup codeLuke Shumaker
2014-06-17mv local_config db-sync.conf # now that its other uses are goneLuke Shumaker
2014-06-17rm -r yf/ yf-update # they aren't used anymoreLuke Shumaker
2014-06-17mkrepo: cleanupLuke Shumaker
- Use config:FTP_BASE instead of local_config:repodir - Don't mention get_repos script anymore - Remove redundant lines of code. - Better quoting.
2014-06-17rm get-repos (obsolete) and git-pbs (never used/testing)Luke Shumaker
2014-06-16abslibre: use tab indentproduction/repoLuke Shumaker
2014-06-16abslibre: also run git gcLuke Shumaker
2014-06-16config: don't have default STAGING be publicLuke Shumaker
2014-06-16config:remove java-uglyLuke Shumaker
2014-06-15put our packages in a separate poolParabola
2014-03-12oopsNicolás Reynolds
2014-03-12Hopefully fix a horrible bug that caused leaked packagesNicolás Reynolds
Also added a few checks
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