Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename deb to apt-multi-iam-s3 from apt-transport-s3 #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ src/*.o
src/s3
debian/compat
debian/files
debian/apt-transport-s3
debian/apt-transport-s3.substvars
debian/apt-transport-s3.debhelper.log
*~
debian/apt-multi-iam-s3
debian/apt-multi-iam-s3.substvars
debian/apt-multi-iam-s3.debhelper.log
*~
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ all:

clean:
for d in $(DIRS); do (cd $$d; $(MAKE) clean); done;
rm -rf debian/apt-transport-s3*
rm -rf debian/apt-multi-iam-s3*

deb:
dpkg-buildpackage -us -uc
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# apt-s3
# apt-multi-iam-s3

Additional "s3" protocol for apt so you can host your giant apt repository in s3 on the cheap!

Expand Down Expand Up @@ -33,14 +33,14 @@ Simply upload all of your .deb packages and Packages.gz file into the s3 bucket
Before synchronization, you need a s3cmd tool installed and configured:

[sudo] apt-get install s3cmd

s3cmd --configure

To synchronize local repository to s3 as read-only, execute:

s3cmd sync /srv/apt-repo-dir/dists s3://bucket_name
s3cmd sync /srv/apt-repo-dir/pool s3://bucket_name

## Using GPG keys

If you're signing you repository with key, export it to server:
Expand All @@ -50,4 +50,4 @@ If you're signing you repository with key, export it to server:
then import it and install to apt:

gpg --recv-keys XXXXXXXX
gpg -a --export XXXXXXXX | [sudo] apt-key add -
gpg -a --export XXXXXXXX | [sudo] apt-key add -
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
apt-multi-iam-s3 (1.1.1ubuntu2) xenial; urgency=low

* Renamed to avoid collision with the apt-transport-s3 included in Xenial

-- Joe Block <joe.block@daqri.com> Mon Jun 6 11:38:17 PDT 2016

apt-transport-s3 (1.1.1ubuntu2) precise; urgency=low

* Modified for company needs
Expand Down
7 changes: 3 additions & 4 deletions debian/control
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
Source: apt-transport-s3
Source: apt-multi-iam-s3
Section: admin
Priority: optional
Maintainer: Jorge A Gallegos <kad@blegh.net>
Homepage: https://github.com/kyleshank/apt-s3
Standards-Version: 3.7.3
Build-Depends: debhelper (>= 5.0), libapt-pkg-dev (>= 0.7.23), cdbs, libcurl4-openssl-dev

Package: apt-transport-s3
Package: apt-multi-iam-s3
Architecture: any
Depends: ${shlibs:Depends}
Description: an APT transport for communicating with Amazon S3
This package contains the APT amazon s3 transport. It makes it possible to
use
This package contains an APT amazon s3 transport that supports different IAM credentials for each s3-backed repository. It makes it possible to use
'deb s3://AWS_ACCESS_ID:[AWS_SECRET_KEY]@s3.amazonaws.com/BUCKETNAME prod main'
type lines in your sources.list file.
8 changes: 4 additions & 4 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@

include /usr/share/cdbs/1/rules/debhelper.mk

DEB_DIR=$(CURDIR)/debian/apt-transport-s3
DEB_DIR=$(CURDIR)/debian/apt-multi-iam-s3

#configure/apt-transport-s3::
#configure/apt-multi-iam-s3::
# @echo "We don't really have a configure script"
#
build/apt-transport-s3::
build/apt-multi-iam-s3::
$(MAKE) -f $(CURDIR)/Makefile

install/apt-transport-s3::
install/apt-multi-iam-s3::
@cp $(CURDIR)/src/s3 $(DEB_DIR)/usr/lib/apt/methods/