Date: Tue, 26 Nov 2013 19:07:05 +0100 From: Axel Rau <Axel.Rau@chaos1.de> To: freebsd-ports@freebsd.org Subject: Re: portmaster refuses to use pkgng with local packages Message-ID: <B58B7622-B58C-4676-9DF3-819F6CE85A2E@Chaos1.DE> In-Reply-To: <7AAE93C1-71EA-4185-876E-D3BFDD98624E@chaos1.de> References: <ED1AA9E6-0696-47F6-94F1-8CF6E6369F97@Chaos1.DE> <526D2FF9.5030301@egr.msu.edu> <6FBA83B6-DC8D-42D5-9B55-C90152E14F78@Chaos1.DE> <CAOjFWZ4j-EBkJhiUMT5ykj7dhv4Gy=sKE%2B9W4JM196qBrUDcJA@mail.gmail.com> <14CCEAEB-61E4-4BD3-8F2B-7EA809B1DC1B@chaos1.de> <CAOjFWZ660W7J7SN841JSYv9-nD5L3h0Fhb0jkj%2BpAVcqbUgSSQ@mail.gmail.com> <42213F76-5A13-4BAF-B93F-BBAB2298D5C2@chaos1.de> <526D736C.4030705@FreeBSD.org> <7AAE93C1-71EA-4185-876E-D3BFDD98624E@chaos1.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 24.11.2013 um 12:43 schrieb Axel Rau <Axel.Rau@chaos1.de>: >=20 > Am 27.10.2013 um 21:11 schrieb Matthew Seaman <matthew@FreeBSD.org>: >=20 >> On 27/10/2013 18:53, Axel Rau wrote: >>> I looked at poudriere earlier, but did not recognize that it plays = with pkg nicely and also did not like to set up a web server to just = serve local jails. >>> I will give it a try. >>=20 >> You don't need to set up a webserver, necessarily. If you're using >> poudriere to build packages on the same machine where you want to >> install them, then you can just use a file:// URL in your pkg.conf and >> pkg will dtrt. If you want to maintain a bunch of machines on a >> network, then using a webserver to distribute the packages is probably >> easiest overall, but you could NFS mount the repo and use a file:// = URL >> again, or you could use ssh:// to pull the packages down. > While trying ports-mgmt/poudriere in my ezjail/portmaster environment, = I learned: > poudriere can't run at secure level 1, because it loads linux.ko and = uses chflags. Because of the chflags issue, I moved my repo to another server, = installed a web server, configured firewalls and now trying to let pkg = use my own repo, which does not work. With the help of Olli, I checked the index provided by my web server and = I added a config file in /usr/local/etc/pkg/repos/ . I need a configuration, where pkg uses *ONLY* *my* repo. This is the current situation: # pkg info pkg pkg-1.1.4_8 # pkg update Updating repository catalogue pkg: ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/Lates= t//digests.txz: File unavailable (e.g., file not found, no access) pkg: No digest falling back on legacy catalog format pkg: ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/Lates= t//repo.txz: File unavailable (e.g., file not found, no access) # pkg -vv update Version: 1.1.4 PACKAGESITE: ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/pa= ckages-8-stable/Latest/ PKG_DBDIR: /var/db/pkg PKG_CACHEDIR: /tmp PORTSDIR: /usr/ports PUBKEY:=20 HANDLE_RC_SCRIPTS: no ASSUME_ALWAYS_YES: no REPOS_DIR: /usr/local/etc/pkg/repos/ PLIST_KEYWORDS_DIR:=20 SYSLOG: yes AUTODEPS: no ABI: freebsd:9:x86:64 DEVELOPER_MODE: no PORTAUDIT_SITE: http://portaudit.FreeBSD.org/auditfile.tbz VULNXML_SITE: http://www.vuxml.org/freebsd/vuln.xml.bz2 MIRROR_TYPE: SRV FETCH_RETRY: 3 PKG_PLUGINS_DIR: /usr/local/lib/pkg/ PKG_ENABLE_PLUGINS: yes PLUGINS: DEBUG_SCRIPTS: no PLUGINS_CONF_DIR: /usr/local/etc/pkg/ PERMISSIVE: no REPO_AUTOUPDATE: yes NAMESERVER:=20 EVENT_PIPE:=20 FETCH_TIMEOUT: 30 UNSET_TIMESTAMP: no SSH_RESTRICT_DIR:=20 PKG_ENV: DISABLE_MTREE: no Repositories: packagesite: url: ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8= -stable/Latest/ key:=20 enabled: yes mirror_type: SRV lrau-repo: url: http://db1.in.chaos1.de/92amd64-default key:=20 enabled: yes mirror_type: HTTP =2D-- # cat /usr/local/etc/pkg.conf=20 packagesite: http://db1.in.chaos1.de/92amd64-default PKG_CACHEDIR: /tmp # cat /usr/local/etc/pkg/repos/lrau-repo.conf=20 lrau-repo: { url: "http://db1.in.chaos1.de/92amd64-default" , mirror_type: "HTTP", enabled: yes, key: /usr/local/etc/ssl/certs/pkg.cert } Any help appreciated, Axel =2D-- PGP-Key:29E99DD6 =E2=98=80 +49 151 2300 9283 =E2=98=80 computing @ = chaos claudius
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B58B7622-B58C-4676-9DF3-819F6CE85A2E>