summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-01-08db-functions: use ${array[*]} when appropriateLuke Shumaker
2014-01-08createrepos: fix quotingLuke Shumaker
2014-01-08config: fix typoLuke Shumaker
2014-01-08Merge branch 'master' into cleanupLuke Shumaker
Conflicts: db-remove db-update local_config
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
2014-01-01go ahead and track local_configLuke Shumaker
2014-01-01local_config.example: update to reflect what is on repoLuke Shumaker
2014-01-01rm 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-01use ${0##*/} instead of basename in "usage:" textLuke Shumaker
2014-01-01get-repos: clean up temp directory handlingLuke Shumaker
- rename $TMPDIR to $WORKDIR - respect environmental $TMPDIR - use a trap to clean up,instead of a command at the end
2014-01-01remove unnecessary loadings of local_configLuke Shumaker
2014-01-01local_config.example: remove unused variables, update commentsLuke Shumaker
2013-12-31use `readlink -e` on $0Luke Shumaker
2013-12-31db-sync: use mktemp/trapLuke Shumaker
2013-12-31db-sync: use tab indentLuke Shumaker
2013-12-31get rid of $ARCH_BASELuke Shumaker
2013-12-31clean upLuke Shumaker
2013-12-31Merge branch 'cleanup' into master-mergeLuke Shumaker
Conflicts: config cron-jobs/sourceballs db-functions db-move db-remove db-update
2013-12-31`readlink -e` all "$0"sLuke Shumaker
2013-12-31Merge branch 'arch' into cleanup3Luke Shumaker
2013-12-31clarify comment on bogus shebangsLuke Shumaker
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-11-02Add lastupdate fileFlorian Pritz
This allows for faster checking if an update might be needed and helps to let reporead run when something changed. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-11-02sourceballs: fix ACL issues on nymeriaJan Alexander Steffens (heftig)
ACLs from the WORKDIR were used, leading to problems as these weren't world-readable. Fix follows ftpdir-cleanup. Signed-off-by: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
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