Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-01-08 | db-functions: use ${array[*]} when appropriate | Luke Shumaker | |
2014-01-08 | createrepos: fix quoting | Luke Shumaker | |
2014-01-08 | config: fix typo | Luke Shumaker | |
2014-01-08 | Merge branch 'master' into cleanup | Luke Shumaker | |
Conflicts: db-remove db-update local_config | |||
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 | |
2014-01-01 | go ahead and track local_config | Luke Shumaker | |
2014-01-01 | local_config.example: update to reflect what is on repo | Luke Shumaker | |
2014-01-01 | 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-01 | use ${0##*/} instead of basename in "usage:" text | Luke Shumaker | |
2014-01-01 | get-repos: clean up temp directory handling | Luke Shumaker | |
- rename $TMPDIR to $WORKDIR - respect environmental $TMPDIR - use a trap to clean up,instead of a command at the end | |||
2014-01-01 | remove unnecessary loadings of local_config | Luke Shumaker | |
2014-01-01 | local_config.example: remove unused variables, update comments | Luke Shumaker | |
2013-12-31 | use `readlink -e` on $0 | Luke Shumaker | |
2013-12-31 | db-sync: use mktemp/trap | Luke Shumaker | |
2013-12-31 | db-sync: use tab indent | Luke Shumaker | |
2013-12-31 | get rid of $ARCH_BASE | Luke Shumaker | |
2013-12-31 | clean up | Luke Shumaker | |
2013-12-31 | Merge branch 'cleanup' into master-merge | Luke Shumaker | |
Conflicts: config cron-jobs/sourceballs db-functions db-move db-remove db-update | |||
2013-12-31 | `readlink -e` all "$0"s | Luke Shumaker | |
2013-12-31 | Merge branch 'arch' into cleanup3 | Luke Shumaker | |
2013-12-31 | clarify comment on bogus shebangs | Luke Shumaker | |
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-11-02 | Add lastupdate file | Florian 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-02 | sourceballs: fix ACL issues on nymeria | Jan 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-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 | |