Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=1adffc6dadf82e5fd42385e372dc9ee28ade8719

commit 1adffc6dadf82e5fd42385e372dc9ee28ade8719
Author: crazy <[email protected]>
Date:   Sat Feb 13 23:27:03 2016 +0100

portpkg
* removed , packages should not be 'ported by any tools'

diff --git a/Makefile b/Makefile
index e349032..9a0586d 100644
--- a/Makefile
+++ b/Makefile
@@ -39,7 +39,7 @@ DOCS = $(wildcard *.txt) $(wildcard syncpkgd/*.txt)
MANS = $(subst .txt,.1,$(DOCS))

PROGRAMS = bumppkg chkdep chkworld fblint fpmdiff fwcpan fwmirror \
-       mkpkghtml pear-makefb pootle-update portpkg repoman \
+       mkpkghtml pear-makefb pootle-update repoman \
revdep-rebuild rpm2fpm synclib32 wipcheck

compile: $(PROGRAMS) apidocs docs
diff --git a/portpkg b/portpkg
deleted file mode 100755
index ce237db..0000000
--- a/portpkg
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/bash
-
-die()
-{
-       echo "$@"
-       exit 1
-}
-
-uname_m=`uname -m`
-if [ "${uname_m:0:3}" == "arm" ]; then
-       uname_m="arm"
-fi
-
-if grep -q subarchs FrugalBuild && ! grep -q "subarchs.*$uname_m" FrugalBuild; 
then
-       die "please add $uname_m to subarchs() manually and restart"
-fi
-. /usr/lib/frugalware/fwmakepkg
-
-. ./FrugalBuild || die "error while parsing the buildscript"
-
-# update archs()
-if ! echo ${archs[@]} |grep -q $uname_m; then
-       if grep -q archs= FrugalBuild; then
-               sed -i "s/^\(archs=(.*\))/\1 '$uname_m')/" FrugalBuild
-       else
-               echo "archs=(\${archs[@]} '$uname_m')" >> FrugalBuild
-       fi
-       . ./FrugalBuild
-       echo ${archs[@]} |grep -q $uname_m || die "failed to add $uname_m to 
archs()"
-fi
-
-if ! ls *fpm &>/dev/null; then
-       makepkg -dgu || die "failed to download sources"
-       rm -rf src || die "failed to remove duplicated sources"
-       sudo makepkg -cu || die "build failed"
-fi
-
-if [ "$1" == "--push" -o "$1" == "--silentpush" ]; then
-       repoman rec "- added $uname_m to archs()" || die "failed to record the 
patch"
-       if [ "$1" == "--push" ]; then
-               repoman -k push
-       else
-               dg push -a
-       fi
-else
-       die "now run '$0 --push' to record and push your changes"
-fi
diff --git a/portpkg.txt b/portpkg.txt
deleted file mode 100644
index 23c1660..0000000
--- a/portpkg.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-= portpkg(1)
-
-== NAME
-
-portpkg - port a package to a new architecture
-
-== SYNOPSIS
-
-portpkg [options]
-
-== OPTIONS
-
---push::
-       Push the package after a successful build.
-
---silentpush::
-       Just modify the buildscript and let syncpkgd build the binary package.
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to