forked from pool/debootstrap
Accepting request 116306 from home:flichtenheld
I would like to get this package into factory. devel:tools seemed like the best devel project for it. OBS-URL: https://build.opensuse.org/request/show/116306 OBS-URL: https://build.opensuse.org/package/show/devel:tools/debootstrap?expand=0&rev=1
This commit is contained in:
commit
d249b96a48
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
13
_service
Normal file
13
_service
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<services>
|
||||
<service name="download_url">
|
||||
<param name="protocol">http</param>
|
||||
<param name="host">ftp.de.debian.org</param>
|
||||
<param name="path">/debian/pool/main/d/debootstrap/debootstrap_1.0.40.tar.gz</param>
|
||||
</service>
|
||||
<service name="verify_file">
|
||||
<param name="file">_service:download_url:debootstrap_1.0.40.tar.gz</param>
|
||||
<param name="verifier">sha256</param>
|
||||
<param name="checksum">edc3c6c6d8c107d02064418b8205667e68cb4464a99c540421c4bbcfdb3bf3c6</param>
|
||||
</service>
|
||||
</services>
|
3
_service:download_url:debootstrap_1.0.40.tar.gz
Normal file
3
_service:download_url:debootstrap_1.0.40.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:edc3c6c6d8c107d02064418b8205667e68cb4464a99c540421c4bbcfdb3bf3c6
|
||||
size 55961
|
20
debootstrap-norootforbuild.patch
Normal file
20
debootstrap-norootforbuild.patch
Normal file
@ -0,0 +1,20 @@
|
||||
diff -ur debootstrap.orig/Makefile debootstrap/Makefile
|
||||
--- debootstrap.orig/Makefile 2011-08-10 13:59:34.000000000 +0200
|
||||
+++ debootstrap/Makefile 2011-08-12 21:57:41.329074862 +0200
|
||||
@@ -19,14 +19,13 @@
|
||||
mkdir -p $(DESTDIR)/usr/sbin
|
||||
|
||||
cp -a scripts/* $(DSDIR)/scripts/
|
||||
- install -o root -g root -m 0644 functions $(DSDIR)/
|
||||
+ install -m 0644 functions $(DSDIR)/
|
||||
|
||||
sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(DESTDIR)/usr/sbin/debootstrap
|
||||
- chown root:root $(DESTDIR)/usr/sbin/debootstrap
|
||||
chmod 0755 $(DESTDIR)/usr/sbin/debootstrap
|
||||
|
||||
ifeq ($(shell uname),Linux)
|
||||
- install -o root -g root -m 0644 devices.tar.gz $(DSDIR)/
|
||||
+ install -m 0644 devices.tar.gz $(DSDIR)/
|
||||
endif
|
||||
|
||||
devices.tar.gz:
|
61
debootstrap.changes
Normal file
61
debootstrap.changes
Normal file
@ -0,0 +1,61 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 28 17:07:00 UTC 2012 - frank.lichtenheld@sophos.com
|
||||
|
||||
- update to 1.0.40
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 13 21:21:09 UTC 2012 - frank.lichtenheld@sophos.com
|
||||
|
||||
- update to 1.0.39
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 25 21:46:23 UTC 2011 - frank.lichtenheld@sophos.com
|
||||
|
||||
- update to 1.0.38
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 24 21:20:04 UTC 2011 - frank.lichtenheld@sophos.com
|
||||
|
||||
- update to 1.0.37
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 20 12:53:03 UTC 2011 - frank.lichtenheld@sophos.com
|
||||
|
||||
- update to 1.0.36
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 19:52:00 UTC 2011 - flichtenheld@astaro.com
|
||||
|
||||
- update to 1.0.35
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 29 18:26:55 UTC 2011 - flichtenheld@astaro.com
|
||||
|
||||
- update to 1.0.34
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 2 10:56:08 UTC 2011 - flichtenheld@astaro.com
|
||||
|
||||
- update to 1.0.32
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 22 21:09:26 UTC 2011 - flichtenheld@astaro.com
|
||||
|
||||
- update to 1.0.29
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 22 18:57:34 UTC 2011 - flichtenheld@astaro.com
|
||||
|
||||
- update to 1.0.28
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 14 23:23:28 UTC 2011 - flichtenheld@astaro.com
|
||||
|
||||
- update to 1.0.27
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 15 00:00:00 UTC 2011 - flichtenheld@astaro.com
|
||||
|
||||
- initial packaging
|
||||
|
||||
|
51
debootstrap.spec
Normal file
51
debootstrap.spec
Normal file
@ -0,0 +1,51 @@
|
||||
#
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: debootstrap
|
||||
Version: 1.0.40
|
||||
Release: 1
|
||||
Summary: Bootstrap a basic Debian system
|
||||
Group: Development/Tools/Other
|
||||
Url: http://packages.debian.org/debootstrap
|
||||
License: MIT
|
||||
Source0: %{name}_%{version}.tar.gz
|
||||
Source1: devices.tar.gz
|
||||
Patch0: %{name}-norootforbuild.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
AutoReqProv: on
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
debootstrap is used to create a Debian base system from scratch, without requiring the availability of dpkg or apt. It does this by downloading .deb files from a mirror site, and carefully unpacking them into a directory which can eventually be chrooted into.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Anthony Towns
|
||||
|
||||
%prep
|
||||
%setup
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
cp %{SOURCE1} .
|
||||
|
||||
%install
|
||||
%{__make} install DESTDIR=%{?buildroot}
|
||||
gzip -9 debootstrap.8
|
||||
install -D -m644 debootstrap.8.gz %{buildroot}/%{_mandir}/man8/debootstrap.8.gz
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,0755)
|
||||
%doc README TODO debian/changelog debian/copyright
|
||||
%{_sbindir}/debootstrap
|
||||
%{_datadir}/debootstrap
|
||||
%{_mandir}/man8/debootstrap.8.gz
|
||||
|
||||
%changelog
|
3
devices.tar.gz
Normal file
3
devices.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dbb8d5752451ef7beaeaaaab4eb1f5b8dbb8d44378c4520d9c4fa03b915c8936
|
||||
size 775
|
Loading…
Reference in New Issue
Block a user